From 8c64f266fd166b0d2f4a25aa7708311f7776c53e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 11 Dec 2024 00:20:05 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.453.10 --- .speakeasy/gen.lock | 8881 ++++++++++------- .speakeasy/workflow.lock | 23 +- .speakeasy/workflow.yaml | 4 + README.md | 473 +- RELEASES.md | 12 +- USAGE.md | 43 +- build.gradle | 22 +- docs/models/operations/CancelJobResponse.md | 4 +- .../operations/CreateConnectionResponse.md | 12 +- .../operations/CreateDestinationResponse.md | 12 +- docs/models/operations/CreateJobResponse.md | 4 +- ...rUpdateWorkspaceOAuthCredentialsRequest.md | 8 +- ...UpdateWorkspaceOAuthCredentialsResponse.md | 10 +- .../operations/CreatePermissionResponse.md | 12 +- .../models/operations/CreateSourceResponse.md | 12 +- .../operations/CreateWorkspaceResponse.md | 12 +- .../operations/DeleteConnectionResponse.md | 10 +- .../operations/DeleteDestinationResponse.md | 10 +- .../operations/DeletePermissionResponse.md | 10 +- .../models/operations/DeleteSourceResponse.md | 10 +- .../operations/DeleteWorkspaceResponse.md | 10 +- .../operations/GetConnectionResponse.md | 12 +- .../operations/GetDestinationResponse.md | 12 +- .../operations/GetHealthCheckResponse.md | 10 +- docs/models/operations/GetJobResponse.md | 4 +- .../operations/GetPermissionResponse.md | 12 +- docs/models/operations/GetSourceResponse.md | 12 +- .../operations/GetStreamPropertiesRequest.md | 4 +- .../operations/GetStreamPropertiesResponse.md | 12 +- .../models/operations/GetWorkspaceResponse.md | 12 +- .../operations/InitiateOAuthResponse.md | 10 +- .../operations/ListConnectionsRequest.md | 8 +- .../operations/ListConnectionsResponse.md | 4 +- .../operations/ListDestinationsRequest.md | 8 +- .../operations/ListDestinationsResponse.md | 4 +- docs/models/operations/ListJobsRequest.md | 14 +- docs/models/operations/ListJobsResponse.md | 4 +- .../ListOrganizationsForUserResponse.md | 12 +- .../operations/ListPermissionsRequest.md | 4 +- .../operations/ListPermissionsResponse.md | 12 +- docs/models/operations/ListSourcesRequest.md | 8 +- docs/models/operations/ListSourcesResponse.md | 4 +- .../ListUsersWithinAnOrganizationRequest.md | 4 +- .../ListUsersWithinAnOrganizationResponse.md | 12 +- .../operations/ListWorkspacesRequest.md | 8 +- .../operations/ListWorkspacesResponse.md | 4 +- .../operations/PatchConnectionRequest.md | 8 +- .../operations/PatchConnectionResponse.md | 12 +- .../operations/PatchDestinationRequest.md | 8 +- .../operations/PatchDestinationResponse.md | 12 +- docs/models/operations/PatchSourceRequest.md | 8 +- docs/models/operations/PatchSourceResponse.md | 12 +- .../operations/PutDestinationRequest.md | 8 +- .../operations/PutDestinationResponse.md | 12 +- docs/models/operations/PutSourceRequest.md | 8 +- docs/models/operations/PutSourceResponse.md | 12 +- .../operations/UpdatePermissionRequest.md | 8 +- .../operations/UpdatePermissionResponse.md | 12 +- .../operations/UpdateWorkspaceRequest.md | 8 +- .../operations/UpdateWorkspaceResponse.md | 12 +- docs/models/shared/APIAccessToken.md | 2 +- docs/models/shared/APIEndpointPrefix.md | 9 + docs/models/shared/APIKey.md | 2 +- docs/models/shared/APIPassword.md | 8 +- docs/models/shared/APIToken.md | 8 +- docs/models/shared/AccessToken.md | 8 +- docs/models/shared/AccountNames.md | 2 +- docs/models/shared/Activecampaign.md | 8 + .../shared/AdAnalyticsReportConfiguration.md | 4 +- ...{SourceRetentlyRetently.md => Agilecrm.md} | 4 +- .../shared/AirbyteApiConnectionSchedule.md | 8 +- docs/models/shared/Airtable.md | 6 +- .../{SourceSquareSquare.md => Akeneo.md} | 4 +- docs/models/shared/Algolia.md | 8 + docs/models/shared/Allow.md | 6 +- docs/models/shared/AmazonAds.md | 4 +- docs/models/shared/AmazonSellerPartner.md | 4 +- docs/models/shared/AndGroup.md | 8 +- docs/models/shared/ApiKeyAuth.md | 8 +- docs/models/shared/ApiKeySecret.md | 10 +- ...neZendeskSunshine.md => AppleSearchAds.md} | 4 +- docs/models/shared/Applications.md | 10 +- docs/models/shared/Apptivo.md | 8 + docs/models/shared/Asana.md | 6 +- docs/models/shared/AsanaCredentials.md | 8 +- docs/models/shared/Ashby.md | 8 + docs/models/shared/AuthenticateViaAPIKey.md | 2 +- .../shared/AuthenticateViaAccessKeys.md | 11 + .../shared/AuthenticateViaAsanaOauth.md | 12 +- .../AuthenticateViaFacebookMarketingOauth.md | 4 +- .../shared/AuthenticateViaGoogleOAuth.md | 12 + .../shared/AuthenticateViaHarvestOAuth.md | 12 + .../shared/AuthenticateViaLeverApiKey.md | 8 +- .../shared/AuthenticateViaLeverOAuth.md | 12 +- .../models/shared/AuthenticateViaMicrosoft.md | 2 +- .../shared/AuthenticateViaMicrosoftOAuth.md | 14 +- .../shared/AuthenticateViaMicrosoftOAuth20.md | 2 +- docs/models/shared/AuthenticateViaOAuth.md | 16 +- docs/models/shared/AuthenticateViaOAuth20.md | 11 + docs/models/shared/AuthenticateViaOauth2.md | 14 +- docs/models/shared/AuthenticateViaPassword.md | 8 +- .../shared/AuthenticateViaPrivateKey.md | 8 +- .../shared/AuthenticateViaRetentlyOAuth.md | 12 + .../AuthenticateViaStorageAccountKey.md | 8 +- .../models/shared/AuthenticateWithAPIToken.md | 10 + .../AuthenticateWithPersonalAccessToken.md | 8 +- docs/models/shared/Authorization.md | 4 +- docs/models/shared/Autogenerated.md | 6 +- docs/models/shared/AvroApacheAvro.md | 8 +- docs/models/shared/AvroFormat.md | 4 +- docs/models/shared/Awss3Staging.md | 10 +- docs/models/shared/AzBlobAzureBlobStorage.md | 6 +- docs/models/shared/AzureBlobStorage.md | 6 +- .../shared/AzureBlobStorageCredentials.md | 4 +- docs/models/shared/AzureOpenAI.md | 12 +- docs/models/shared/Basic.md | 4 +- docs/models/shared/BatchedStandardInserts.md | 6 +- docs/models/shared/Beamer.md | 8 + docs/models/shared/BetweenFilter.md | 10 +- docs/models/shared/Bigmailer.md | 8 + docs/models/shared/BingAds.md | 4 +- docs/models/shared/Blogger.md | 8 + docs/models/shared/Box.md | 8 + docs/models/shared/Brex.md | 8 + docs/models/shared/Bugsnag.md | 8 + docs/models/shared/BunnyInc.md | 8 + docs/models/shared/ByMarkdownHeader.md | 8 +- docs/models/shared/ByProgrammingLanguage.md | 8 +- docs/models/shared/BySeparator.md | 6 +- docs/models/shared/Bzip2.md | 6 +- docs/models/shared/CSVCommaSeparatedValues.md | 10 +- docs/models/shared/CSVFormat.md | 28 +- docs/models/shared/CalCom.md | 8 + docs/models/shared/Callrail.md | 8 + docs/models/shared/CampaignMonitor.md | 8 + docs/models/shared/Campayn.md | 8 + docs/models/shared/CapsuleCrm.md | 8 + docs/models/shared/CareQualityCommission.md | 8 + docs/models/shared/CastorEdc.md | 8 + docs/models/shared/CatalogType.md | 8 + docs/models/shared/Category.md | 16 + docs/models/shared/CentralAPIRouter.md | 2 +- docs/models/shared/Chargedesk.md | 8 + docs/models/shared/Chargify.md | 8 + docs/models/shared/Cin7.md | 8 + docs/models/shared/Circa.md | 8 + docs/models/shared/Circleci.md | 8 + docs/models/shared/ClarifAi.md | 8 + docs/models/shared/Clockodo.md | 8 + docs/models/shared/Cloudbeds.md | 8 + docs/models/shared/ClusterType.md | 4 + docs/models/shared/Coassemble.md | 8 + docs/models/shared/Codefresh.md | 8 + docs/models/shared/Cohere.md | 8 +- docs/models/shared/CohortReportSettings.md | 2 +- docs/models/shared/Cohorts.md | 6 +- docs/models/shared/CohortsRange.md | 10 +- docs/models/shared/Collection.md | 4 +- docs/models/shared/Concord.md | 8 + docs/models/shared/ConfiguredStreamMapper.md | 9 + docs/models/shared/ConnectionCreateRequest.md | 18 +- docs/models/shared/ConnectionPatchRequest.md | 18 +- docs/models/shared/ConnectionResponse.md | 31 +- .../shared/ConnectionScheduleResponse.md | 10 +- docs/models/shared/ConnectionsResponse.md | 10 +- docs/models/shared/Convertkit.md | 8 + docs/models/shared/Copper.md | 8 + docs/models/shared/CopyRawFiles.md | 10 + docs/models/shared/Countercyclical.md | 8 + docs/models/shared/Country.md | 46 +- docs/models/shared/Credentials.md | 4 +- docs/models/shared/CustomReportConfig.md | 6 +- docs/models/shared/DataCenter.md | 11 + docs/models/shared/DataCenterID.md | 11 + docs/models/shared/DataFreshness.md | 8 +- docs/models/shared/Deflate.md | 8 +- docs/models/shared/DeliveryMethod.md | 2 + docs/models/shared/DeliveryType.md | 8 + docs/models/shared/Deputy.md | 8 + docs/models/shared/DestinationAstra.md | 10 +- docs/models/shared/DestinationAwsDatalake.md | 22 +- .../shared/DestinationAzureBlobStorage.md | 12 +- ...lobStorageJSONLinesNewlineDelimitedJSON.md | 8 +- docs/models/shared/DestinationBigquery.md | 16 +- .../shared/DestinationBigqueryHMACKey.md | 2 +- docs/models/shared/DestinationClickhouse.md | 14 +- docs/models/shared/DestinationConvex.md | 10 +- .../models/shared/DestinationCreateRequest.md | 4 +- docs/models/shared/DestinationDatabricks.md | 14 +- docs/models/shared/DestinationDevNull.md | 9 + .../shared/DestinationDevNullLoggingType.md | 8 + .../DestinationDevNullSchemasLoggingType.md | 8 + ...hemasTestDestinationTestDestinationType.md | 8 + ...nationDevNullSchemasTestDestinationType.md | 8 + .../DestinationDevNullTestDestinationType.md | 8 + docs/models/shared/DestinationDuckdb.md | 6 +- docs/models/shared/DestinationDynamodb.md | 16 +- .../models/shared/DestinationElasticsearch.md | 10 +- .../DestinationElasticsearchNoTunnel.md | 6 +- ...tionElasticsearchPasswordAuthentication.md | 14 +- ...nationElasticsearchSSHKeyAuthentication.md | 14 +- docs/models/shared/DestinationFirebolt.md | 20 +- docs/models/shared/DestinationFirestore.md | 4 +- docs/models/shared/DestinationGcs.md | 8 +- .../DestinationGcsCSVCommaSeparatedValues.md | 6 +- docs/models/shared/DestinationGcsGZIP.md | 6 +- docs/models/shared/DestinationGcsGcs.md | 8 + ...inationGcsJSONLinesNewlineDelimitedJSON.md | 8 +- .../shared/DestinationGcsNoCompression.md | 6 +- .../DestinationGcsParquetColumnarStorage.md | 14 +- .../DestinationGcsSchemasNoCompression.md | 6 +- docs/models/shared/DestinationGoogleSheets.md | 4 +- docs/models/shared/DestinationIceberg.md | 11 + .../shared/DestinationIcebergCatalogType.md | 8 + docs/models/shared/DestinationIcebergS3.md | 16 + .../DestinationIcebergS3BucketRegion.md | 43 + ...nIcebergSchemasCatalogConfigCatalogType.md | 8 + ...ogConfigIcebergCatalogConfigCatalogType.md | 8 + .../DestinationIcebergSchemasCatalogType.md | 8 + .../shared/DestinationIcebergStorageType.md | 8 + docs/models/shared/DestinationMilvus.md | 10 +- .../shared/DestinationMilvusAPIToken.md | 8 +- .../shared/DestinationMilvusAzureOpenAI.md | 12 +- .../DestinationMilvusByMarkdownHeader.md | 8 +- .../DestinationMilvusByProgrammingLanguage.md | 8 +- .../shared/DestinationMilvusBySeparator.md | 6 +- docs/models/shared/DestinationMilvusCohere.md | 8 +- docs/models/shared/DestinationMilvusFake.md | 6 +- .../shared/DestinationMilvusIndexing.md | 16 +- docs/models/shared/DestinationMilvusOpenAI.md | 8 +- .../DestinationMilvusOpenAICompatible.md | 14 +- .../DestinationMilvusProcessingConfigModel.md | 10 +- .../DestinationMilvusUsernamePassword.md | 10 +- docs/models/shared/DestinationMongodb.md | 14 +- .../shared/DestinationMongodbNoTunnel.md | 6 +- docs/models/shared/DestinationMongodbNone.md | 6 +- ...estinationMongodbPasswordAuthentication.md | 14 +- .../DestinationMongodbSSHKeyAuthentication.md | 14 +- docs/models/shared/DestinationMotherduck.md | 11 + docs/models/shared/DestinationMssql.md | 16 +- .../models/shared/DestinationMssqlNoTunnel.md | 6 +- .../DestinationMssqlPasswordAuthentication.md | 14 +- .../DestinationMssqlSSHKeyAuthentication.md | 14 +- docs/models/shared/DestinationMysql.md | 16 +- .../models/shared/DestinationMysqlNoTunnel.md | 6 +- .../DestinationMysqlPasswordAuthentication.md | 14 +- .../DestinationMysqlSSHKeyAuthentication.md | 14 +- docs/models/shared/DestinationOracle.md | 16 +- .../shared/DestinationOracleNoTunnel.md | 6 +- ...DestinationOraclePasswordAuthentication.md | 14 +- .../DestinationOracleSSHKeyAuthentication.md | 14 +- .../shared/DestinationOracleUnencrypted.md | 6 +- docs/models/shared/DestinationPatchRequest.md | 8 +- docs/models/shared/DestinationPgvector.md | 10 +- .../shared/DestinationPgvectorAzureOpenAI.md | 12 +- .../DestinationPgvectorByMarkdownHeader.md | 8 +- ...estinationPgvectorByProgrammingLanguage.md | 8 +- .../shared/DestinationPgvectorBySeparator.md | 6 +- .../shared/DestinationPgvectorCohere.md | 8 +- docs/models/shared/DestinationPgvectorFake.md | 6 +- .../shared/DestinationPgvectorOpenAI.md | 8 +- .../DestinationPgvectorOpenAICompatible.md | 14 +- ...estinationPgvectorProcessingConfigModel.md | 10 +- docs/models/shared/DestinationPinecone.md | 10 +- .../shared/DestinationPineconeAzureOpenAI.md | 12 +- .../DestinationPineconeByMarkdownHeader.md | 8 +- ...estinationPineconeByProgrammingLanguage.md | 8 +- .../shared/DestinationPineconeBySeparator.md | 6 +- .../shared/DestinationPineconeCohere.md | 8 +- docs/models/shared/DestinationPineconeFake.md | 6 +- .../shared/DestinationPineconeOpenAI.md | 8 +- .../DestinationPineconeOpenAICompatible.md | 14 +- ...estinationPineconeProcessingConfigModel.md | 10 +- docs/models/shared/DestinationPostgres.md | 22 +- .../shared/DestinationPostgresNoTunnel.md | 6 +- ...stinationPostgresPasswordAuthentication.md | 14 +- ...DestinationPostgresSSHKeyAuthentication.md | 14 +- ...tionPostgresSchemasSSLModeSSLModes1Mode.md | 8 + docs/models/shared/DestinationPubsub.md | 12 +- docs/models/shared/DestinationPutRequest.md | 8 +- docs/models/shared/DestinationQdrant.md | 10 +- .../shared/DestinationQdrantAzureOpenAI.md | 12 +- .../DestinationQdrantByMarkdownHeader.md | 8 +- .../DestinationQdrantByProgrammingLanguage.md | 8 +- .../shared/DestinationQdrantBySeparator.md | 6 +- docs/models/shared/DestinationQdrantCohere.md | 8 +- docs/models/shared/DestinationQdrantFake.md | 6 +- .../shared/DestinationQdrantIndexing.md | 8 +- docs/models/shared/DestinationQdrantNoAuth.md | 6 +- docs/models/shared/DestinationQdrantOpenAI.md | 8 +- .../DestinationQdrantOpenAICompatible.md | 14 +- .../DestinationQdrantProcessingConfigModel.md | 10 +- docs/models/shared/DestinationRedis.md | 14 +- docs/models/shared/DestinationRedisDisable.md | 6 +- .../models/shared/DestinationRedisNoTunnel.md | 6 +- .../DestinationRedisPasswordAuthentication.md | 14 +- .../DestinationRedisSSHKeyAuthentication.md | 14 +- .../shared/DestinationRedisVerifyFull.md | 14 +- docs/models/shared/DestinationRedshift.md | 18 +- .../shared/DestinationRedshiftNoTunnel.md | 6 +- ...stinationRedshiftPasswordAuthentication.md | 14 +- ...DestinationRedshiftSSHKeyAuthentication.md | 14 +- docs/models/shared/DestinationResponse.md | 16 +- docs/models/shared/DestinationS3.md | 18 +- .../shared/DestinationS3AvroApacheAvro.md | 8 +- docs/models/shared/DestinationS3Bzip2.md | 6 +- .../DestinationS3CSVCommaSeparatedValues.md | 6 +- docs/models/shared/DestinationS3Deflate.md | 8 +- docs/models/shared/DestinationS3GZIP.md | 6 +- docs/models/shared/DestinationS3Glue.md | 18 +- docs/models/shared/DestinationS3GlueGZIP.md | 6 +- ...tionS3GlueJSONLinesNewlineDelimitedJSON.md | 6 +- .../shared/DestinationS3GlueNoCompression.md | 6 +- ...tinationS3JSONLinesNewlineDelimitedJSON.md | 6 +- .../shared/DestinationS3NoCompression.md | 6 +- .../DestinationS3ParquetColumnarStorage.md | 14 +- ...DestinationS3SchemasFormatNoCompression.md | 6 +- .../models/shared/DestinationS3SchemasGZIP.md | 6 +- .../DestinationS3SchemasNoCompression.md | 6 +- docs/models/shared/DestinationS3Snappy.md | 6 +- docs/models/shared/DestinationS3Xz.md | 4 +- docs/models/shared/DestinationS3Zstandard.md | 10 +- docs/models/shared/DestinationSftpJson.md | 16 +- docs/models/shared/DestinationSnowflake.md | 14 +- .../shared/DestinationSnowflakeCortex.md | 10 +- .../DestinationSnowflakeCortexAzureOpenAI.md | 12 +- ...tinationSnowflakeCortexByMarkdownHeader.md | 8 +- ...ionSnowflakeCortexByProgrammingLanguage.md | 8 +- .../DestinationSnowflakeCortexBySeparator.md | 6 +- .../DestinationSnowflakeCortexCohere.md | 8 +- .../shared/DestinationSnowflakeCortexFake.md | 6 +- .../DestinationSnowflakeCortexOpenAI.md | 8 +- ...tinationSnowflakeCortexOpenAICompatible.md | 14 +- ...ionSnowflakeCortexProcessingConfigModel.md | 10 +- .../shared/DestinationSnowflakeOAuth20.md | 14 +- docs/models/shared/DestinationTeradata.md | 12 +- .../models/shared/DestinationTeradataAllow.md | 6 +- .../shared/DestinationTeradataDisable.md | 6 +- .../shared/DestinationTeradataPrefer.md | 6 +- .../shared/DestinationTeradataRequire.md | 6 +- .../shared/DestinationTeradataVerifyCa.md | 2 +- .../shared/DestinationTeradataVerifyFull.md | 2 +- docs/models/shared/DestinationTimeplus.md | 10 +- docs/models/shared/DestinationTypesense.md | 10 +- docs/models/shared/DestinationVectara.md | 12 +- docs/models/shared/DestinationWeaviate.md | 10 +- .../shared/DestinationWeaviateAPIToken.md | 8 +- .../shared/DestinationWeaviateAzureOpenAI.md | 12 +- .../DestinationWeaviateByMarkdownHeader.md | 8 +- ...estinationWeaviateByProgrammingLanguage.md | 8 +- .../shared/DestinationWeaviateBySeparator.md | 6 +- .../shared/DestinationWeaviateCohere.md | 8 +- docs/models/shared/DestinationWeaviateFake.md | 6 +- .../shared/DestinationWeaviateIndexing.md | 18 +- .../shared/DestinationWeaviateOpenAI.md | 8 +- .../DestinationWeaviateOpenAICompatible.md | 14 +- ...estinationWeaviateProcessingConfigModel.md | 10 +- .../DestinationWeaviateUsernamePassword.md | 10 +- docs/models/shared/DestinationYellowbrick.md | 16 +- .../shared/DestinationYellowbrickAllow.md | 6 +- .../shared/DestinationYellowbrickDisable.md | 6 +- .../shared/DestinationYellowbrickNoTunnel.md | 6 +- ...nationYellowbrickPasswordAuthentication.md | 14 +- .../shared/DestinationYellowbrickPrefer.md | 6 +- .../shared/DestinationYellowbrickRequire.md | 6 +- ...tinationYellowbrickSSHKeyAuthentication.md | 14 +- .../shared/DestinationYellowbrickVerifyCa.md | 10 +- .../DestinationYellowbrickVerifyFull.md | 14 +- docs/models/shared/DestinationsResponse.md | 10 +- .../DetectChangesWithXminSystemColumn.md | 6 +- docs/models/shared/DevNull.md | 8 + docs/models/shared/Disable.md | 6 +- docs/models/shared/Disabled.md | 6 +- .../DocumentFileTypeFormatExperimental.md | 8 +- docs/models/shared/Domain.md | 17 + docs/models/shared/DoubleValue.md | 8 +- docs/models/shared/Drift.md | 8 + docs/models/shared/DriftCredentials.md | 9 + docs/models/shared/Drip.md | 8 + docs/models/shared/DropboxSign.md | 8 + docs/models/shared/EConomic.md | 8 + docs/models/shared/EUBasedAccount.md | 6 +- docs/models/shared/Easypost.md | 8 + docs/models/shared/Easypromos.md | 8 + docs/models/shared/Elasticemail.md | 8 + docs/models/shared/EmploymentHero.md | 8 + docs/models/shared/Enabled.md | 8 +- docs/models/shared/Encharge.md | 8 + .../shared/EncryptedTrustServerCertificate.md | 6 +- .../shared/EncryptedVerifyCertificate.md | 8 +- docs/models/shared/Enterprise.md | 8 +- docs/models/shared/Entity.md | 10 + docs/models/shared/Eventbrite.md | 8 + docs/models/shared/Eventee.md | 8 + docs/models/shared/Eventzilla.md | 8 + docs/models/shared/EveryNThEntry.md | 13 + docs/models/shared/ExcelFormat.md | 6 +- docs/models/shared/Expression.md | 8 +- docs/models/shared/ExternalTableViaS3.md | 14 +- docs/models/shared/FacebookMarketing.md | 6 +- .../shared/FacebookMarketingCredentials.md | 4 +- docs/models/shared/Factorial.md | 8 + docs/models/shared/Failing.md | 10 + docs/models/shared/Fake.md | 6 +- docs/models/shared/FileBasedStreamConfig.md | 12 +- docs/models/shared/FileFormat.md | 21 +- docs/models/shared/FileStorageFormat.md | 9 + docs/models/shared/Fillout.md | 8 + ...alueWhichWillBeAppendedOnTheRequestBody.md | 8 +- docs/models/shared/Finage.md | 8 + docs/models/shared/FinancialModelling.md | 8 + docs/models/shared/Finnhub.md | 8 + docs/models/shared/Finnworlds.md | 8 + docs/models/shared/Firehydrant.md | 8 + docs/models/shared/FirstNEntries.md | 12 + docs/models/shared/Flexmail.md | 8 + docs/models/shared/Flexport.md | 8 + docs/models/shared/Float.md | 8 + docs/models/shared/Flowlu.md | 8 + docs/models/shared/Formbricks.md | 8 + docs/models/shared/FreeAgentConnector.md | 8 + docs/models/shared/Freightview.md | 8 + docs/models/shared/Freshbooks.md | 8 + docs/models/shared/Freshchat.md | 8 + docs/models/shared/Freshservice.md | 8 + docs/models/shared/FromCSV.md | 6 +- docs/models/shared/FromField.md | 10 +- docs/models/shared/Fulcrum.md | 8 + docs/models/shared/GCSGoogleCloudStorage.md | 4 +- docs/models/shared/GCSStaging.md | 6 +- docs/models/shared/Gcs.md | 8 +- docs/models/shared/GcsCredentials.md | 9 + docs/models/shared/Getgist.md | 8 + docs/models/shared/Gitbook.md | 8 + docs/models/shared/Github.md | 6 +- docs/models/shared/GithubCredentials.md | 8 +- docs/models/shared/Gitlab.md | 6 +- docs/models/shared/GitlabCredentials.md | 4 +- docs/models/shared/GlobalAccount.md | 6 +- docs/models/shared/GlueCatalog.md | 11 + docs/models/shared/Gmail.md | 8 + .../models/shared/GoCardlessAPIEnvironment.md | 11 + docs/models/shared/Gocardless.md | 8 + docs/models/shared/Gong.md | 8 + docs/models/shared/GoogleAds.md | 6 +- docs/models/shared/GoogleAdsCredentials.md | 6 +- docs/models/shared/GoogleAnalyticsDataApi.md | 6 +- .../GoogleAnalyticsDataApiCredentials.md | 4 +- docs/models/shared/GoogleCalendar.md | 8 + docs/models/shared/GoogleClassroom.md | 8 + docs/models/shared/GoogleCredentials.md | 2 +- docs/models/shared/GoogleDrive.md | 6 +- docs/models/shared/GoogleDriveCredentials.md | 4 +- docs/models/shared/GoogleForms.md | 8 + docs/models/shared/GoogleSearchConsole.md | 6 +- docs/models/shared/GoogleSheets.md | 6 +- docs/models/shared/GoogleSheetsCredentials.md | 4 +- docs/models/shared/Gorgias.md | 8 + docs/models/shared/Gutendex.md | 8 + docs/models/shared/Gzip.md | 6 +- docs/models/shared/HMACKey.md | 2 +- docs/models/shared/HTTPSPublicWeb.md | 8 +- ...rchicalFileSystemsAsSameAsStorageConfig.md | 11 + .../HiveCatalogUseApacheHiveMetaStore.md | 10 + docs/models/shared/Hubspot.md | 6 +- docs/models/shared/HubspotCredentials.md | 4 +- docs/models/shared/Humanitix.md | 8 + docs/models/shared/IAMRole.md | 8 +- docs/models/shared/IAMUser.md | 10 +- docs/models/shared/Iceberg.md | 8 + docs/models/shared/IcebergCatalogConfig.md | 4 + docs/models/shared/IlluminaBasespace.md | 8 + docs/models/shared/InListFilter.md | 10 +- docs/models/shared/IncidentIo.md | 8 + docs/models/shared/Inflowinventory.md | 8 + docs/models/shared/InitiateOauthRequest.md | 4 +- docs/models/shared/InsightConfig.md | 16 +- docs/models/shared/Instagram.md | 4 +- docs/models/shared/Int64Value.md | 8 +- docs/models/shared/Intercom.md | 4 +- docs/models/shared/Interval.md | 20 + docs/models/shared/Invoiced.md | 8 + docs/models/shared/Invoiceninja.md | 8 + .../shared/JSONLinesNewlineDelimitedJSON.md | 8 +- .../JdbcCatalogUseRelationalDatabase.md | 16 + docs/models/shared/JobCreateRequest.md | 8 +- docs/models/shared/JobResponse.md | 22 +- docs/models/shared/Jobnimbus.md | 8 + docs/models/shared/JobsResponse.md | 10 +- docs/models/shared/JsonlFormat.md | 6 +- docs/models/shared/JustSift.md | 8 + docs/models/shared/Justcall.md | 8 + docs/models/shared/Katana.md | 8 + docs/models/shared/KeyPairAuthentication.md | 4 +- docs/models/shared/Kind.md | 11 + docs/models/shared/Kisi.md | 8 + docs/models/shared/Kissmetrics.md | 8 + docs/models/shared/KlausApi.md | 8 + docs/models/shared/LSNCommitBehaviour.md | 11 + docs/models/shared/Lang.md | 58 + docs/models/shared/Language.md | 24 +- docs/models/shared/LessAnnoyingCrm.md | 8 + docs/models/shared/LeverHiring.md | 6 +- docs/models/shared/LeverHiringCredentials.md | 4 +- docs/models/shared/LightspeedRetail.md | 8 + docs/models/shared/LinkedinAds.md | 6 +- docs/models/shared/LinkedinAdsCredentials.md | 4 +- docs/models/shared/Lob.md | 8 + docs/models/shared/Local.md | 6 +- docs/models/shared/LocalFilesystemLimited.md | 2 +- docs/models/shared/Logging.md | 10 + docs/models/shared/LoggingConfiguration.md | 4 + docs/models/shared/LoggingType.md | 8 + docs/models/shared/LoginPassword.md | 10 +- docs/models/shared/Mailchimp.md | 6 +- docs/models/shared/MailchimpCredentials.md | 4 +- docs/models/shared/Mailerlite.md | 8 + docs/models/shared/MailjetMail.md | 8 + docs/models/shared/Mailosaur.md | 8 + docs/models/shared/Mailtrap.md | 8 + docs/models/shared/MapperConfiguration.md | 9 + docs/models/shared/MarketNewsCategory.md | 13 + docs/models/shared/Marketstack.md | 8 + docs/models/shared/Mention.md | 8 + docs/models/shared/MicrosoftDataverse.md | 8 + docs/models/shared/MicrosoftEntraId.md | 8 + docs/models/shared/MicrosoftLists.md | 8 + docs/models/shared/MicrosoftOnedrive.md | 6 +- .../shared/MicrosoftOnedriveCredentials.md | 4 +- docs/models/shared/MicrosoftSharepoint.md | 6 +- .../shared/MicrosoftSharepointCredentials.md | 4 +- docs/models/shared/MicrosoftTeams.md | 6 +- .../shared/MicrosoftTeamsCredentials.md | 4 +- docs/models/shared/Miro.md | 8 + docs/models/shared/Missive.md | 8 + docs/models/shared/Mixmax.md | 8 + docs/models/shared/Mode.md | 6 +- docs/models/shared/Monday.md | 6 +- docs/models/shared/MondayCredentials.md | 4 +- docs/models/shared/MongoDBAtlas.md | 8 +- docs/models/shared/MongoDBAtlasReplicaSet.md | 17 + docs/models/shared/Motherduck.md | 8 + docs/models/shared/Mux.md | 8 + docs/models/shared/N8n.md | 8 + docs/models/shared/Nasa.md | 8 + .../shared/NativeNetworkEncryptionNNE.md | 8 +- docs/models/shared/NewsApi.md | 8 + docs/models/shared/NewsdataIo.md | 8 + docs/models/shared/NoAuth.md | 6 +- docs/models/shared/NoAuthentication.md | 6 +- docs/models/shared/NoCompression.md | 6 +- docs/models/shared/NoExternalEmbedding.md | 6 +- docs/models/shared/NoTunnel.md | 6 +- docs/models/shared/Nocrm.md | 8 + docs/models/shared/None.md | 6 +- docs/models/shared/NotExpression.md | 8 +- docs/models/shared/Notion.md | 6 +- docs/models/shared/NotionCredentials.md | 4 +- docs/models/shared/NumericFilter.md | 10 +- docs/models/shared/Nutshell.md | 8 + docs/models/shared/OAuth.md | 12 +- docs/models/shared/OAuth20.md | 12 +- docs/models/shared/OAuth20WithPrivateKey.md | 14 +- docs/models/shared/OAuth2AccessToken.md | 2 +- .../shared/OAuth2ConfidentialApplication.md | 2 +- docs/models/shared/OAuth2Recommended.md | 10 +- docs/models/shared/OAuthActorNames.md | 6 +- docs/models/shared/OauthAuthentication.md | 12 +- docs/models/shared/Oncehub.md | 8 + docs/models/shared/Onepagecrm.md | 8 + docs/models/shared/Onfleet.md | 8 + docs/models/shared/OpenAI.md | 8 +- docs/models/shared/OpenAICompatible.md | 14 +- docs/models/shared/OpenDataDc.md | 8 + docs/models/shared/Openaq.md | 8 + docs/models/shared/Openfda.md | 8 + docs/models/shared/Openweather.md | 8 + docs/models/shared/Operator.md | 2 +- docs/models/shared/OpinionStage.md | 8 + docs/models/shared/Opsgenie.md | 8 + docs/models/shared/OrGroup.md | 8 +- docs/models/shared/OrganizationsResponse.md | 6 +- docs/models/shared/Oura.md | 8 + docs/models/shared/Oveit.md | 8 + .../shared/PabblySubscriptionsBilling.md | 8 + docs/models/shared/Pandadoc.md | 8 + docs/models/shared/Paperform.md | 8 + docs/models/shared/Papersign.md | 8 + docs/models/shared/Pardot.md | 8 + docs/models/shared/ParquetColumnarStorage.md | 8 +- docs/models/shared/ParquetFormat.md | 8 +- docs/models/shared/PasswordAuthentication.md | 14 +- docs/models/shared/PermissionCreateRequest.md | 12 +- docs/models/shared/PermissionResponse.md | 14 +- docs/models/shared/PermissionResponseRead.md | 14 +- docs/models/shared/PermissionType.md | 2 + docs/models/shared/PermissionUpdateRequest.md | 6 +- docs/models/shared/PermissionsResponse.md | 6 +- docs/models/shared/Persona.md | 8 + docs/models/shared/PersonalAccessToken.md | 8 +- docs/models/shared/Pinterest.md | 6 +- docs/models/shared/PinterestCredentials.md | 4 +- docs/models/shared/Pipeliner.md | 8 + docs/models/shared/PivotalTracker.md | 8 + docs/models/shared/Plaid.md | 8 + docs/models/shared/PlaidEnvironment.md | 12 + docs/models/shared/Plausible.md | 8 + docs/models/shared/Plugin.md | 10 + docs/models/shared/PostgresConnection.md | 16 +- docs/models/shared/Prefer.md | 6 +- docs/models/shared/Preferred.md | 6 +- docs/models/shared/Pretix.md | 8 + docs/models/shared/Primetric.md | 8 + docs/models/shared/PrivateApp.md | 2 +- docs/models/shared/PrivateToken.md | 8 +- docs/models/shared/ProcessingConfigModel.md | 10 +- docs/models/shared/ProjectSecret.md | 2 +- docs/models/shared/PublicPermissionType.md | 2 + docs/models/shared/Queries.md | 10 +- docs/models/shared/Quickbooks.md | 8 + docs/models/shared/RESTCatalog.md | 13 + docs/models/shared/RandomSampling.md | 14 + docs/models/shared/Range.md | 20 + docs/models/shared/RdStationMarketing.md | 8 + .../shared/RdStationMarketingAuthorization.md | 9 + .../shared/ReadChangesUsingBinaryLogCDC.md | 10 +- .../ReadChangesUsingChangeDataCaptureCDC.md | 10 +- .../ReadChangesUsingWriteAheadLogCDC.md | 20 + docs/models/shared/Referralhero.md | 8 + docs/models/shared/Rentcast.md | 8 + docs/models/shared/Repairshopr.md | 8 + docs/models/shared/ReplicaSet.md | 10 +- docs/models/shared/ReplicateRecords.md | 10 + docs/models/shared/ReplyIo.md | 8 + docs/models/shared/ReportConfig.md | 16 +- docs/models/shared/ReportOptions.md | 10 +- ...RecordTypes.md => ReportRecordTypeEnum.md} | 4 +- docs/models/shared/Require.md | 6 +- docs/models/shared/Required.md | 6 +- docs/models/shared/Retently.md | 8 +- docs/models/shared/RetentlyCredentials.md | 9 - docs/models/shared/Revenuecat.md | 8 + docs/models/shared/RevolutMerchant.md | 8 + docs/models/shared/Rocketlane.md | 8 + docs/models/shared/RoleBasedAuthentication.md | 9 + docs/models/shared/Rollbar.md | 8 + docs/models/shared/Rootly.md | 8 + docs/models/shared/Ruddr.md | 8 + docs/models/shared/S3AmazonWebServices.md | 6 +- docs/models/shared/SCPSecureCopyProtocol.md | 14 +- .../shared/SFTPSecureFileTransferProtocol.md | 14 +- docs/models/shared/SQLInserts.md | 6 +- docs/models/shared/SSHKeyAuthentication.md | 14 +- docs/models/shared/SSHSecureShell.md | 14 +- docs/models/shared/Safetyculture.md | 8 + docs/models/shared/SageHr.md | 8 + docs/models/shared/Salesflare.md | 8 + docs/models/shared/Salesforce.md | 4 +- docs/models/shared/SandboxAccessToken.md | 10 +- .../ScanChangesWithUserDefinedCursor.md | 6 +- docs/models/shared/SchemeClientCredentials.md | 10 +- docs/models/shared/ScopeType.md | 9 + docs/models/shared/SearchIn.md | 10 + docs/models/shared/Security.md | 10 +- docs/models/shared/Segment.md | 8 + docs/models/shared/SelectedFieldInfo.md | 2 +- docs/models/shared/SelfManagedReplicaSet.md | 17 + docs/models/shared/Sendowl.md | 8 + docs/models/shared/Sendpulse.md | 8 + docs/models/shared/ServerManaged.md | 11 + docs/models/shared/ServiceAccount.md | 2 +- .../shared/ServiceAccountAuthentication.md | 9 + docs/models/shared/ServiceAccountKey.md | 2 +- .../shared/ServiceAccountKeyAuthentication.md | 2 +- .../models/shared/ServiceKeyAuthentication.md | 2 +- docs/models/shared/ServiceName.md | 8 +- docs/models/shared/Sharetribe.md | 8 + docs/models/shared/Shippo.md | 8 + docs/models/shared/Shopify.md | 6 +- docs/models/shared/ShopifyCredentials.md | 4 +- docs/models/shared/SigmaComputing.md | 8 + docs/models/shared/SignInViaGoogleOAuth.md | 12 +- docs/models/shared/SignInViaRDStationOAuth.md | 11 + docs/models/shared/SignInViaSlackOAuth.md | 2 +- docs/models/shared/Silent.md | 9 + docs/models/shared/Simfin.md | 8 + docs/models/shared/Simplecast.md | 8 + docs/models/shared/Simplesat.md | 8 + docs/models/shared/SingleStoreAccessToken.md | 2 +- docs/models/shared/Slack.md | 6 +- docs/models/shared/SlackCredentials.md | 4 +- docs/models/shared/Smartreach.md | 8 + docs/models/shared/Smartsheets.md | 6 +- docs/models/shared/SmartsheetsCredentials.md | 4 +- docs/models/shared/Smartwaiver.md | 8 + docs/models/shared/SnapchatMarketing.md | 4 +- docs/models/shared/Snappy.md | 6 +- docs/models/shared/Snowflake.md | 6 +- docs/models/shared/SnowflakeConnection.md | 18 +- docs/models/shared/SnowflakeCredentials.md | 4 +- docs/models/shared/SolarwindsServiceDesk.md | 8 + docs/models/shared/SortBy.md | 11 +- docs/models/shared/Source7shifts.md | 2 +- docs/models/shared/SourceActivecampaign.md | 10 + docs/models/shared/SourceAgilecrm.md | 11 + docs/models/shared/SourceAha.md | 10 +- docs/models/shared/SourceAirbyte.md | 2 +- docs/models/shared/SourceAircall.md | 2 +- docs/models/shared/SourceAirtable.md | 8 +- docs/models/shared/SourceAirtableOAuth20.md | 16 +- .../SourceAirtablePersonalAccessToken.md | 2 +- docs/models/shared/SourceAkeneo.md | 13 + docs/models/shared/SourceAlgolia.md | 13 + docs/models/shared/SourceAmazonAds.md | 16 +- .../shared/SourceAmazonSellerPartner.md | 16 +- docs/models/shared/SourceAmazonSqs.md | 18 +- docs/models/shared/SourceAmplitude.md | 17 +- docs/models/shared/SourceApifyDataset.md | 2 +- docs/models/shared/SourceAppcues.md | 4 +- docs/models/shared/SourceAppfigures.md | 14 +- docs/models/shared/SourceAppfollow.md | 8 +- docs/models/shared/SourceAppleSearchAds.md | 13 + docs/models/shared/SourceApptivo.md | 10 + docs/models/shared/SourceAsana.md | 10 +- docs/models/shared/SourceAshby.md | 10 + docs/models/shared/SourceAuth0.md | 6 +- docs/models/shared/SourceAwsCloudtrail.md | 16 +- docs/models/shared/SourceAzureBlobStorage.md | 8 +- docs/models/shared/SourceAzureTable.md | 4 +- docs/models/shared/SourceBambooHr.md | 6 +- docs/models/shared/SourceBasecamp.md | 2 +- docs/models/shared/SourceBeamer.md | 10 + docs/models/shared/SourceBigmailer.md | 9 + docs/models/shared/SourceBigquery.md | 4 +- docs/models/shared/SourceBingAds.md | 14 +- docs/models/shared/SourceBitly.md | 2 +- docs/models/shared/SourceBlogger.md | 11 + docs/models/shared/SourceBox.md | 11 + docs/models/shared/SourceBraintree.md | 4 +- docs/models/shared/SourceBraze.md | 2 +- docs/models/shared/SourceBreezyHr.md | 10 +- docs/models/shared/SourceBrevo.md | 2 +- docs/models/shared/SourceBrex.md | 10 + docs/models/shared/SourceBugsnag.md | 10 + docs/models/shared/SourceBuildkite.md | 2 +- docs/models/shared/SourceBunnyInc.md | 11 + docs/models/shared/SourceBuzzsprout.md | 2 +- docs/models/shared/SourceCalCom.md | 10 + docs/models/shared/SourceCalendly.md | 2 +- docs/models/shared/SourceCallrail.md | 11 + docs/models/shared/SourceCampaignMonitor.md | 11 + docs/models/shared/SourceCampayn.md | 10 + docs/models/shared/SourceCanny.md | 2 +- docs/models/shared/SourceCapsuleCrm.md | 11 + .../shared/SourceCareQualityCommission.md | 9 + docs/models/shared/SourceCart.md | 10 +- docs/models/shared/SourceCastorEdc.md | 12 + docs/models/shared/SourceChameleon.md | 8 +- docs/models/shared/SourceChargebee.md | 15 +- docs/models/shared/SourceChargedesk.md | 11 + docs/models/shared/SourceChargify.md | 12 + docs/models/shared/SourceChartmogul.md | 2 +- docs/models/shared/SourceCimis.md | 22 +- docs/models/shared/SourceCin7.md | 10 + docs/models/shared/SourceCirca.md | 10 + docs/models/shared/SourceCircleci.md | 16 + docs/models/shared/SourceClarifAi.md | 11 + docs/models/shared/SourceClazar.md | 10 +- docs/models/shared/SourceClickhouse.md | 12 +- .../models/shared/SourceClickhouseNoTunnel.md | 6 +- .../SourceClickhousePasswordAuthentication.md | 14 +- .../SourceClickhouseSSHKeyAuthentication.md | 14 +- docs/models/shared/SourceClickupApi.md | 4 +- docs/models/shared/SourceClockify.md | 4 +- docs/models/shared/SourceClockodo.md | 13 + docs/models/shared/SourceCloseCom.md | 2 +- docs/models/shared/SourceCloudbeds.md | 9 + docs/models/shared/SourceCoassemble.md | 10 + docs/models/shared/SourceCoda.md | 8 +- docs/models/shared/SourceCodefresh.md | 13 + docs/models/shared/SourceCoinApi.md | 8 +- docs/models/shared/SourceCoinmarketcap.md | 6 +- docs/models/shared/SourceConcord.md | 10 + .../models/shared/SourceConcordEnvironment.md | 11 + docs/models/shared/SourceConfigcat.md | 2 +- docs/models/shared/SourceConfluence.md | 2 +- docs/models/shared/SourceConvertkit.md | 9 + docs/models/shared/SourceConvex.md | 10 +- docs/models/shared/SourceCopper.md | 10 + docs/models/shared/SourceCountercyclical.md | 9 + docs/models/shared/SourceCreateRequest.md | 6 +- docs/models/shared/SourceCustomerIo.md | 8 +- docs/models/shared/SourceDatadog.md | 14 +- docs/models/shared/SourceDatascope.md | 10 +- docs/models/shared/SourceDbt.md | 10 +- docs/models/shared/SourceDelighted.md | 2 +- docs/models/shared/SourceDeputy.md | 10 + docs/models/shared/SourceDixa.md | 4 +- docs/models/shared/SourceDockerhub.md | 2 +- docs/models/shared/SourceDremio.md | 10 +- docs/models/shared/SourceDrift.md | 10 + .../shared/SourceDriftAuthorizationMethod.md | 2 + docs/models/shared/SourceDriftCredentials.md | 8 + docs/models/shared/SourceDriftDrift.md | 8 + docs/models/shared/SourceDriftOAuth20.md | 12 + .../shared/SourceDriftSchemasCredentials.md | 8 + docs/models/shared/SourceDrip.md | 9 + docs/models/shared/SourceDropboxSign.md | 10 + docs/models/shared/SourceDynamodb.md | 16 +- docs/models/shared/SourceDynamodbAuthType.md | 8 + .../shared/SourceDynamodbCredentials.md | 4 + .../shared/SourceDynamodbSchemasAuthType.md | 8 + docs/models/shared/SourceEConomic.md | 10 + docs/models/shared/SourceEasypost.md | 10 + docs/models/shared/SourceEasypromos.md | 9 + docs/models/shared/SourceElasticemail.md | 12 + docs/models/shared/SourceEmailoctopus.md | 2 +- docs/models/shared/SourceEmploymentHero.md | 11 + docs/models/shared/SourceEncharge.md | 9 + docs/models/shared/SourceEventbrite.md | 10 + docs/models/shared/SourceEventee.md | 9 + docs/models/shared/SourceEventzilla.md | 9 + docs/models/shared/SourceExchangeRates.md | 6 +- docs/models/shared/SourceEzofficeinventory.md | 2 +- docs/models/shared/SourceFacebookMarketing.md | 24 +- docs/models/shared/SourceFactorial.md | 11 + docs/models/shared/SourceFaker.md | 12 +- docs/models/shared/SourceFauna.md | 10 +- docs/models/shared/SourceFile.md | 8 +- docs/models/shared/SourceFileFileFormat.md | 18 + docs/models/shared/SourceFillout.md | 10 + docs/models/shared/SourceFinage.md | 16 + .../models/shared/SourceFinancialModelling.md | 14 + docs/models/shared/SourceFinnhub.md | 13 + docs/models/shared/SourceFinnworlds.md | 16 + docs/models/shared/SourceFirebolt.md | 18 +- docs/models/shared/SourceFirehydrant.md | 9 + docs/models/shared/SourceFleetio.md | 10 +- docs/models/shared/SourceFlexmail.md | 10 + docs/models/shared/SourceFlexport.md | 10 + docs/models/shared/SourceFloat.md | 10 + docs/models/shared/SourceFlowlu.md | 10 + docs/models/shared/SourceFormbricks.md | 9 + .../models/shared/SourceFreeAgentConnector.md | 13 + docs/models/shared/SourceFreightview.md | 10 + docs/models/shared/SourceFreshbooks.md | 16 + docs/models/shared/SourceFreshcaller.md | 6 +- docs/models/shared/SourceFreshchat.md | 11 + docs/models/shared/SourceFreshdesk.md | 6 +- docs/models/shared/SourceFreshsales.md | 2 +- docs/models/shared/SourceFreshservice.md | 11 + docs/models/shared/SourceFront.md | 4 +- docs/models/shared/SourceFulcrum.md | 9 + docs/models/shared/SourceGainsightPx.md | 2 +- docs/models/shared/SourceGcs.md | 6 +- docs/models/shared/SourceGcsAuthType.md | 8 + docs/models/shared/SourceGcsAuthentication.md | 4 + docs/models/shared/SourceGcsAutogenerated.md | 6 +- docs/models/shared/SourceGcsAvroFormat.md | 4 +- docs/models/shared/SourceGcsCSVFormat.md | 28 +- .../shared/SourceGcsFileBasedStreamConfig.md | 14 +- docs/models/shared/SourceGcsFromCSV.md | 6 +- docs/models/shared/SourceGcsJsonlFormat.md | 6 +- docs/models/shared/SourceGcsLocal.md | 6 +- docs/models/shared/SourceGcsParquetFormat.md | 8 +- .../models/shared/SourceGcsSchemasAuthType.md | 8 + docs/models/shared/SourceGcsUserProvided.md | 8 +- docs/models/shared/SourceGetgist.md | 9 + docs/models/shared/SourceGetlago.md | 4 +- docs/models/shared/SourceGitbook.md | 10 + docs/models/shared/SourceGithub.md | 12 +- .../shared/SourceGithubPersonalAccessToken.md | 2 +- docs/models/shared/SourceGitlab.md | 10 +- docs/models/shared/SourceGitlabOAuth20.md | 16 +- docs/models/shared/SourceGlassfrog.md | 8 +- docs/models/shared/SourceGmail.md | 12 + docs/models/shared/SourceGnews.md | 22 +- docs/models/shared/SourceGnewsCountry.md | 39 + docs/models/shared/SourceGnewsLanguage.md | 29 + docs/models/shared/SourceGnewsSortBy.md | 15 + docs/models/shared/SourceGocardless.md | 12 + docs/models/shared/SourceGoldcast.md | 2 +- docs/models/shared/SourceGong.md | 11 + docs/models/shared/SourceGoogleAds.md | 12 +- .../shared/SourceGoogleAnalyticsDataApi.md | 16 +- .../SourceGoogleAnalyticsDataApiAndGroup.md | 8 +- ...lyticsDataApiAuthenticateViaGoogleOauth.md | 12 + ...urceGoogleAnalyticsDataApiBetweenFilter.md | 10 +- ...oogleAnalyticsDataApiCustomReportConfig.md | 16 +- .../SourceGoogleAnalyticsDataApiDisabled.md | 6 +- ...SourceGoogleAnalyticsDataApiDoubleValue.md | 8 +- .../SourceGoogleAnalyticsDataApiExpression.md | 8 +- .../SourceGoogleAnalyticsDataApiFilter.md | 10 +- ...ourceGoogleAnalyticsDataApiInListFilter.md | 10 +- .../SourceGoogleAnalyticsDataApiInt64Value.md | 8 +- ...urceGoogleAnalyticsDataApiNotExpression.md | 8 +- ...urceGoogleAnalyticsDataApiNumericFilter.md | 10 +- .../SourceGoogleAnalyticsDataApiOrGroup.md | 8 +- ...gleAnalyticsDataApiSchemasBetweenFilter.md | 10 +- ...iSchemasCustomReportsArrayBetweenFilter.md | 10 +- ...eportsArrayDimensionFilterBetweenFilter.md | 10 +- ...nsionFilterDimensionsFilter1DoubleValue.md | 8 +- ...DimensionsFilter1ExpressionsDoubleValue.md | 8 +- ...ionsFilter1ExpressionsFilterDoubleValue.md | 8 +- ...sionsFilter1ExpressionsFilterInt64Value.md | 8 +- ...rDimensionsFilter1ExpressionsInt64Value.md | 8 +- ...ensionFilterDimensionsFilter1Int64Value.md | 8 +- ...nsionFilterDimensionsFilter2DoubleValue.md | 8 +- ...ensionFilterDimensionsFilter2Int64Value.md | 8 +- ...nsionFilterDimensionsFilter3DoubleValue.md | 8 +- ...rDimensionsFilter3ExpressionDoubleValue.md | 8 +- ...sionsFilter3ExpressionFilterDoubleValue.md | 8 +- ...nsionsFilter3ExpressionFilterInt64Value.md | 8 +- ...erDimensionsFilter3ExpressionInt64Value.md | 8 +- ...ensionFilterDimensionsFilter3Int64Value.md | 8 +- ...ensionFilterDimensionsFilterDoubleValue.md | 8 +- ...mensionFilterDimensionsFilterInt64Value.md | 8 +- ...mReportsArrayDimensionFilterDoubleValue.md | 8 +- ...ReportsArrayDimensionFilterInListFilter.md | 10 +- ...omReportsArrayDimensionFilterInt64Value.md | 8 +- ...eportsArrayDimensionFilterNumericFilter.md | 10 +- ...ReportsArrayDimensionFilterStringFilter.md | 12 +- ...ApiSchemasCustomReportsArrayDoubleValue.md | 8 +- ...aApiSchemasCustomReportsArrayExpression.md | 8 +- ...piSchemasCustomReportsArrayInListFilter.md | 10 +- ...aApiSchemasCustomReportsArrayInt64Value.md | 8 +- ...omReportsArrayMetricFilterBetweenFilter.md | 10 +- ...stomReportsArrayMetricFilterDoubleValue.md | 8 +- ...ustomReportsArrayMetricFilterExpression.md | 8 +- ...tomReportsArrayMetricFilterInListFilter.md | 10 +- ...ustomReportsArrayMetricFilterInt64Value.md | 8 +- ...ayMetricFilterMetricsFilter1DoubleValue.md | 8 +- ...terMetricsFilter1ExpressionsDoubleValue.md | 8 +- ...ricsFilter1ExpressionsFilterDoubleValue.md | 8 +- ...tricsFilter1ExpressionsFilterInt64Value.md | 8 +- ...lterMetricsFilter1ExpressionsInt64Value.md | 8 +- ...rayMetricFilterMetricsFilter1Int64Value.md | 8 +- ...ayMetricFilterMetricsFilter2DoubleValue.md | 8 +- ...terMetricsFilter2ExpressionsDoubleValue.md | 8 +- ...ricsFilter2ExpressionsFilterDoubleValue.md | 8 +- ...tricsFilter2ExpressionsFilterInt64Value.md | 8 +- ...lterMetricsFilter2ExpressionsInt64Value.md | 8 +- ...rayMetricFilterMetricsFilter2Int64Value.md | 8 +- ...MetricFilterMetricsFilter3BetweenFilter.md | 10 +- ...ayMetricFilterMetricsFilter3DoubleValue.md | 8 +- ...lterMetricsFilter3ExpressionDoubleValue.md | 8 +- ...tricsFilter3ExpressionFilterDoubleValue.md | 8 +- ...etricsFilter3ExpressionFilterInt64Value.md | 8 +- ...ilterMetricsFilter3ExpressionInt64Value.md | 8 +- ...yMetricFilterMetricsFilter3InListFilter.md | 10 +- ...rayMetricFilterMetricsFilter3Int64Value.md | 8 +- ...MetricFilterMetricsFilter3NumericFilter.md | 10 +- ...yMetricFilterMetricsFilter3StringFilter.md | 12 +- ...yMetricFilterMetricsFilterBetweenFilter.md | 10 +- ...rayMetricFilterMetricsFilterDoubleValue.md | 8 +- ...rrayMetricFilterMetricsFilterExpression.md | 8 +- ...ayMetricFilterMetricsFilterInListFilter.md | 10 +- ...rrayMetricFilterMetricsFilterInt64Value.md | 8 +- ...yMetricFilterMetricsFilterNumericFilter.md | 10 +- ...ayMetricFilterMetricsFilterStringFilter.md | 12 +- ...omReportsArrayMetricFilterNumericFilter.md | 10 +- ...tomReportsArrayMetricFilterStringFilter.md | 12 +- ...iSchemasCustomReportsArrayNumericFilter.md | 10 +- ...piSchemasCustomReportsArrayStringFilter.md | 12 +- ...oogleAnalyticsDataApiSchemasDoubleValue.md | 8 +- ...rceGoogleAnalyticsDataApiSchemasEnabled.md | 12 +- ...GoogleAnalyticsDataApiSchemasExpression.md | 8 +- ...urceGoogleAnalyticsDataApiSchemasFilter.md | 10 +- ...ogleAnalyticsDataApiSchemasInListFilter.md | 10 +- ...GoogleAnalyticsDataApiSchemasInt64Value.md | 8 +- ...gleAnalyticsDataApiSchemasNumericFilter.md | 10 +- ...ogleAnalyticsDataApiSchemasStringFilter.md | 12 +- ...sDataApiServiceAccountKeyAuthentication.md | 2 +- ...ourceGoogleAnalyticsDataApiStringFilter.md | 12 +- docs/models/shared/SourceGoogleCalendar.md | 12 + docs/models/shared/SourceGoogleClassroom.md | 11 + docs/models/shared/SourceGoogleDirectory.md | 4 +- docs/models/shared/SourceGoogleDrive.md | 6 +- ...ceGoogleDriveAuthenticateViaGoogleOAuth.md | 12 +- .../shared/SourceGoogleDriveAutogenerated.md | 6 +- .../shared/SourceGoogleDriveAvroFormat.md | 4 +- .../shared/SourceGoogleDriveCSVFormat.md | 28 +- ...DriveDocumentFileTypeFormatExperimental.md | 8 +- .../SourceGoogleDriveFileBasedStreamConfig.md | 12 +- .../models/shared/SourceGoogleDriveFromCSV.md | 6 +- .../shared/SourceGoogleDriveJsonlFormat.md | 6 +- docs/models/shared/SourceGoogleDriveLocal.md | 6 +- .../shared/SourceGoogleDriveParquetFormat.md | 8 +- ...gleDriveServiceAccountKeyAuthentication.md | 2 +- .../shared/SourceGoogleDriveUserProvided.md | 8 +- docs/models/shared/SourceGoogleForms.md | 12 + .../shared/SourceGooglePagespeedInsights.md | 10 +- .../shared/SourceGoogleSearchConsole.md | 10 +- ...ceGoogleSearchConsoleCustomReportConfig.md | 2 +- .../shared/SourceGoogleSearchConsoleOAuth.md | 4 +- ...hConsoleServiceAccountKeyAuthentication.md | 2 +- docs/models/shared/SourceGoogleSheets.md | 8 +- ...eGoogleSheetsAuthenticateViaGoogleOAuth.md | 2 +- ...leSheetsServiceAccountKeyAuthentication.md | 2 +- docs/models/shared/SourceGoogleTasks.md | 4 +- docs/models/shared/SourceGoogleWebfonts.md | 8 +- docs/models/shared/SourceGorgias.md | 12 + docs/models/shared/SourceGreenhouse.md | 2 +- docs/models/shared/SourceGridly.md | 10 +- docs/models/shared/SourceGuru.md | 8 +- docs/models/shared/SourceGutendex.md | 15 + docs/models/shared/SourceHardcodedRecords.md | 8 +- docs/models/shared/SourceHarvest.md | 12 +- docs/models/shared/SourceHarvestAuthType.md | 8 + ...vestAuthenticateWithPersonalAccessToken.md | 10 + .../SourceHarvestAuthenticationMechanism.md | 4 + .../shared/SourceHarvestSchemasAuthType.md | 8 + docs/models/shared/SourceHeight.md | 4 +- docs/models/shared/SourceHibob.md | 12 +- docs/models/shared/SourceHighLevel.md | 2 +- docs/models/shared/SourceHubplanner.md | 2 +- docs/models/shared/SourceHubspot.md | 6 +- docs/models/shared/SourceHubspotOAuth.md | 2 +- docs/models/shared/SourceHumanitix.md | 9 + docs/models/shared/SourceIlluminaBasespace.md | 11 + docs/models/shared/SourceIncidentIo.md | 9 + docs/models/shared/SourceInflowinventory.md | 10 + docs/models/shared/SourceInsightly.md | 4 +- docs/models/shared/SourceInstagram.md | 2 +- docs/models/shared/SourceInstatus.md | 8 +- docs/models/shared/SourceIntercom.md | 9 +- docs/models/shared/SourceInvoiced.md | 9 + docs/models/shared/SourceInvoiceninja.md | 9 + docs/models/shared/SourceIp2whois.md | 6 +- docs/models/shared/SourceIterable.md | 2 +- docs/models/shared/SourceJira.md | 9 +- docs/models/shared/SourceJobnimbus.md | 9 + docs/models/shared/SourceJotform.md | 4 +- docs/models/shared/SourceJustSift.md | 9 + docs/models/shared/SourceJustcall.md | 10 + docs/models/shared/SourceK6Cloud.md | 2 +- docs/models/shared/SourceKatana.md | 10 + docs/models/shared/SourceKisi.md | 9 + docs/models/shared/SourceKissmetrics.md | 10 + docs/models/shared/SourceKlarna.md | 6 +- docs/models/shared/SourceKlausApi.md | 12 + docs/models/shared/SourceKlaviyo.md | 5 +- docs/models/shared/SourceKyve.md | 4 +- docs/models/shared/SourceLaunchdarkly.md | 2 +- docs/models/shared/SourceLeadfeeder.md | 2 +- docs/models/shared/SourceLemlist.md | 8 +- docs/models/shared/SourceLessAnnoyingCrm.md | 10 + docs/models/shared/SourceLeverHiring.md | 6 +- docs/models/shared/SourceLightspeedRetail.md | 10 + docs/models/shared/SourceLinkedinAds.md | 10 +- .../shared/SourceLinkedinAdsAccessToken.md | 9 + .../models/shared/SourceLinkedinAdsOAuth20.md | 2 +- docs/models/shared/SourceLinkedinPages.md | 6 +- .../shared/SourceLinkedinPagesAccessToken.md | 2 +- .../shared/SourceLinkedinPagesOAuth20.md | 2 +- docs/models/shared/SourceLinnworks.md | 2 +- docs/models/shared/SourceLob.md | 11 + docs/models/shared/SourceLokalise.md | 2 +- docs/models/shared/SourceLooker.md | 4 +- docs/models/shared/SourceLuma.md | 8 +- docs/models/shared/SourceMailchimp.md | 4 +- docs/models/shared/SourceMailchimpOAuth20.md | 12 +- docs/models/shared/SourceMailerlite.md | 9 + docs/models/shared/SourceMailgun.md | 4 +- docs/models/shared/SourceMailjetMail.md | 10 + docs/models/shared/SourceMailjetSms.md | 6 +- docs/models/shared/SourceMailosaur.md | 10 + docs/models/shared/SourceMailtrap.md | 9 + docs/models/shared/SourceMarketo.md | 2 +- docs/models/shared/SourceMarketstack.md | 10 + docs/models/shared/SourceMention.md | 12 + docs/models/shared/SourceMetabase.md | 6 +- .../models/shared/SourceMicrosoftDataverse.md | 13 + docs/models/shared/SourceMicrosoftEntraId.md | 12 + docs/models/shared/SourceMicrosoftLists.md | 14 + docs/models/shared/SourceMicrosoftOnedrive.md | 12 +- .../SourceMicrosoftOnedriveAutogenerated.md | 6 +- .../SourceMicrosoftOnedriveAvroFormat.md | 4 +- .../SourceMicrosoftOnedriveCSVFormat.md | 28 +- ...eMicrosoftOnedriveFileBasedStreamConfig.md | 12 +- .../shared/SourceMicrosoftOnedriveFromCSV.md | 6 +- .../SourceMicrosoftOnedriveJsonlFormat.md | 6 +- .../shared/SourceMicrosoftOnedriveLocal.md | 6 +- .../SourceMicrosoftOnedriveParquetFormat.md | 8 +- ...osoftOnedriveUnstructuredDocumentFormat.md | 8 +- .../SourceMicrosoftOnedriveUserProvided.md | 8 +- .../shared/SourceMicrosoftSharepoint.md | 10 +- ...SharepointAuthenticateViaMicrosoftOAuth.md | 14 +- .../SourceMicrosoftSharepointAutogenerated.md | 6 +- .../SourceMicrosoftSharepointAvroFormat.md | 4 +- .../SourceMicrosoftSharepointCSVFormat.md | 28 +- .../SourceMicrosoftSharepointExcelFormat.md | 6 +- ...icrosoftSharepointFileBasedStreamConfig.md | 14 +- .../SourceMicrosoftSharepointFromCSV.md | 6 +- .../SourceMicrosoftSharepointJsonlFormat.md | 6 +- .../shared/SourceMicrosoftSharepointLocal.md | 6 +- .../SourceMicrosoftSharepointParquetFormat.md | 8 +- ...osoftSharepointServiceKeyAuthentication.md | 2 +- ...oftSharepointUnstructuredDocumentFormat.md | 8 +- .../SourceMicrosoftSharepointUserProvided.md | 8 +- docs/models/shared/SourceMicrosoftTeams.md | 10 +- docs/models/shared/SourceMiro.md | 9 + docs/models/shared/SourceMissive.md | 12 + docs/models/shared/SourceMixmax.md | 10 + docs/models/shared/SourceMixpanel.md | 16 +- docs/models/shared/SourceMode.md | 11 + docs/models/shared/SourceMonday.md | 8 +- docs/models/shared/SourceMondayOAuth20.md | 14 +- docs/models/shared/SourceMongodbV2.md | 16 +- .../shared/SourceMongodbV2ClusterType.md | 8 + .../SourceMongodbV2SchemasClusterType.md | 8 + docs/models/shared/SourceMssql.md | 12 +- ...rceMssqlEncryptedTrustServerCertificate.md | 6 +- .../SourceMssqlEncryptedVerifyCertificate.md | 10 +- docs/models/shared/SourceMssqlNoTunnel.md | 6 +- .../SourceMssqlPasswordAuthentication.md | 14 +- .../shared/SourceMssqlSSHKeyAuthentication.md | 14 +- docs/models/shared/SourceMssqlUnencrypted.md | 6 +- docs/models/shared/SourceMux.md | 12 + docs/models/shared/SourceMyHours.md | 14 +- docs/models/shared/SourceMysql.md | 16 +- docs/models/shared/SourceMysqlNoTunnel.md | 6 +- .../SourceMysqlPasswordAuthentication.md | 14 +- .../shared/SourceMysqlSSHKeyAuthentication.md | 14 +- ...ceMysqlScanChangesWithUserDefinedCursor.md | 6 +- docs/models/shared/SourceMysqlVerifyCA.md | 8 +- docs/models/shared/SourceN8n.md | 10 + docs/models/shared/SourceNasa.md | 14 + docs/models/shared/SourceNetsuite.md | 6 +- docs/models/shared/SourceNewsApi.md | 20 + docs/models/shared/SourceNewsdataIo.md | 16 + docs/models/shared/SourceNocrm.md | 10 + docs/models/shared/SourceNorthpassLms.md | 8 +- docs/models/shared/SourceNotion.md | 4 +- docs/models/shared/SourceNotionAccessToken.md | 2 +- docs/models/shared/SourceNotionOAuth20.md | 2 +- docs/models/shared/SourceNutshell.md | 10 + docs/models/shared/SourceNylas.md | 4 +- docs/models/shared/SourceNytimes.md | 16 +- docs/models/shared/SourceOkta.md | 12 +- docs/models/shared/SourceOktaAPIToken.md | 2 +- docs/models/shared/SourceOktaOAuth20.md | 12 +- docs/models/shared/SourceOmnisend.md | 8 +- docs/models/shared/SourceOncehub.md | 10 + docs/models/shared/SourceOnepagecrm.md | 10 + docs/models/shared/SourceOnesignal.md | 4 +- docs/models/shared/SourceOnfleet.md | 10 + docs/models/shared/SourceOpenDataDc.md | 11 + docs/models/shared/SourceOpenaq.md | 10 + docs/models/shared/SourceOpenfda.md | 8 + docs/models/shared/SourceOpenweather.md | 14 + docs/models/shared/SourceOpinionStage.md | 9 + docs/models/shared/SourceOpsgenie.md | 11 + docs/models/shared/SourceOracle.md | 16 +- .../SourceOracleNativeNetworkEncryptionNNE.md | 8 +- docs/models/shared/SourceOracleNoTunnel.md | 6 +- .../SourceOraclePasswordAuthentication.md | 14 +- .../SourceOracleSSHKeyAuthentication.md | 14 +- ...urceOracleTLSEncryptedVerifyCertificate.md | 8 +- docs/models/shared/SourceOracleUnencrypted.md | 6 +- docs/models/shared/SourceOrb.md | 14 +- docs/models/shared/SourceOrbit.md | 4 +- docs/models/shared/SourceOura.md | 11 + docs/models/shared/SourceOutbrainAmplify.md | 10 +- .../SourceOutbrainAmplifyAccessToken.md | 8 +- .../SourceOutbrainAmplifyUsernamePassword.md | 10 +- docs/models/shared/SourceOutreach.md | 2 +- docs/models/shared/SourceOveit.md | 10 + .../SourcePabblySubscriptionsBilling.md | 10 + docs/models/shared/SourcePandadoc.md | 10 + docs/models/shared/SourcePaperform.md | 9 + docs/models/shared/SourcePapersign.md | 9 + docs/models/shared/SourcePardot.md | 14 + docs/models/shared/SourcePatchRequest.md | 12 +- docs/models/shared/SourcePaypalTransaction.md | 8 +- docs/models/shared/SourcePaystack.md | 4 +- docs/models/shared/SourcePendo.md | 8 +- docs/models/shared/SourcePennylane.md | 2 +- docs/models/shared/SourcePersistiq.md | 2 +- docs/models/shared/SourcePersona.md | 9 + docs/models/shared/SourcePexelsApi.md | 10 +- docs/models/shared/SourcePicqer.md | 4 +- docs/models/shared/SourcePinterest.md | 8 +- docs/models/shared/SourcePipedrive.md | 2 +- docs/models/shared/SourcePipeliner.md | 12 + docs/models/shared/SourcePivotalTracker.md | 9 + docs/models/shared/SourcePiwik.md | 12 +- docs/models/shared/SourcePlaid.md | 13 + docs/models/shared/SourcePlanhat.md | 2 +- docs/models/shared/SourcePlausible.md | 12 + docs/models/shared/SourcePocket.md | 28 +- docs/models/shared/SourcePokeapi.md | 8 +- docs/models/shared/SourcePolygonStockApi.md | 8 +- docs/models/shared/SourcePostgres.md | 16 +- docs/models/shared/SourcePostgresAllow.md | 11 + docs/models/shared/SourcePostgresDisable.md | 11 + ...tgresInvalidCDCPositionBehaviorAdvanced.md | 11 + docs/models/shared/SourcePostgresMethod.md | 6 +- docs/models/shared/SourcePostgresMode.md | 8 + docs/models/shared/SourcePostgresNoTunnel.md | 6 +- .../SourcePostgresPasswordAuthentication.md | 14 +- docs/models/shared/SourcePostgresPrefer.md | 11 + docs/models/shared/SourcePostgresRequire.md | 11 + .../SourcePostgresSSHKeyAuthentication.md | 14 +- docs/models/shared/SourcePostgresSSLModes.md | 5 + ...ostgresScanChangesWithUserDefinedCursor.md | 6 +- .../shared/SourcePostgresSchemasMethod.md | 6 +- .../shared/SourcePostgresSchemasMode.md | 8 + ...ePostgresSchemasReplicationMethodMethod.md | 8 + ...urcePostgresSchemasSSLModeSSLModes5Mode.md | 8 + ...urcePostgresSchemasSSLModeSSLModes6Mode.md | 8 + ...ourcePostgresSchemasSSLModeSSLModesMode.md | 8 + .../SourcePostgresSchemasSslModeMode.md | 8 + docs/models/shared/SourcePostgresVerifyCa.md | 15 + .../models/shared/SourcePostgresVerifyFull.md | 15 + docs/models/shared/SourcePosthog.md | 6 +- docs/models/shared/SourcePostmarkapp.md | 10 +- docs/models/shared/SourcePrestashop.md | 2 +- docs/models/shared/SourcePretix.md | 9 + docs/models/shared/SourcePrimetric.md | 10 + docs/models/shared/SourceProductboard.md | 2 +- docs/models/shared/SourceProductive.md | 2 +- docs/models/shared/SourcePutRequest.md | 8 +- docs/models/shared/SourcePypi.md | 4 +- docs/models/shared/SourceQualaroo.md | 4 +- docs/models/shared/SourceQuickbooks.md | 11 + .../models/shared/SourceQuickbooksAuthType.md | 8 + .../SourceQuickbooksAuthorizationMethod.md | 2 + docs/models/shared/SourceQuickbooksOAuth20.md | 14 + docs/models/shared/SourceRailz.md | 12 +- .../models/shared/SourceRdStationMarketing.md | 10 + .../SourceRdStationMarketingAuthType.md | 8 + ...rceRdStationMarketingAuthenticationType.md | 4 + ...rceRdStationMarketingRdStationMarketing.md | 8 + docs/models/shared/SourceRecharge.md | 4 +- docs/models/shared/SourceRecreation.md | 10 +- docs/models/shared/SourceRecruitee.md | 2 +- docs/models/shared/SourceRecurly.md | 6 +- docs/models/shared/SourceReddit.md | 12 +- docs/models/shared/SourceRedshift.md | 8 +- docs/models/shared/SourceReferralhero.md | 9 + docs/models/shared/SourceRentcast.md | 23 + docs/models/shared/SourceRepairshopr.md | 10 + docs/models/shared/SourceReplyIo.md | 9 + docs/models/shared/SourceResponse.md | 16 +- docs/models/shared/SourceRetently.md | 8 +- docs/models/shared/SourceRetentlyAuthType.md | 8 + .../SourceRetentlyAuthenticationMechanism.md | 4 + .../shared/SourceRetentlySchemasAuthType.md | 8 + docs/models/shared/SourceRevenuecat.md | 10 + docs/models/shared/SourceRevolutMerchant.md | 12 + .../SourceRevolutMerchantEnvironment.md | 11 + docs/models/shared/SourceRkiCovid.md | 2 +- docs/models/shared/SourceRocketlane.md | 9 + docs/models/shared/SourceRollbar.md | 11 + docs/models/shared/SourceRootly.md | 10 + docs/models/shared/SourceRss.md | 8 +- docs/models/shared/SourceRuddr.md | 9 + docs/models/shared/SourceS3.md | 15 +- docs/models/shared/SourceS3Autogenerated.md | 6 +- docs/models/shared/SourceS3AvroFormat.md | 4 +- docs/models/shared/SourceS3CSVFormat.md | 28 +- docs/models/shared/SourceS3DeliveryType.md | 8 + docs/models/shared/SourceS3ExcelFormat.md | 8 + .../shared/SourceS3FileBasedStreamConfig.md | 14 +- docs/models/shared/SourceS3FromCSV.md | 6 +- docs/models/shared/SourceS3JsonlFormat.md | 6 +- docs/models/shared/SourceS3Local.md | 6 +- docs/models/shared/SourceS3ParquetFormat.md | 8 +- ...ceS3SchemasStreamsFormatFormat6Filetype.md | 8 + .../SourceS3UnstructuredDocumentFormat.md | 8 +- docs/models/shared/SourceS3UserProvided.md | 8 +- docs/models/shared/SourceSafetyculture.md | 9 + docs/models/shared/SourceSageHr.md | 10 + docs/models/shared/SourceSalesflare.md | 9 + docs/models/shared/SourceSalesforce.md | 12 +- docs/models/shared/SourceSalesloft.md | 4 +- docs/models/shared/SourceSapFieldglass.md | 8 +- docs/models/shared/SourceSavvycal.md | 2 +- docs/models/shared/SourceScryfall.md | 6 +- docs/models/shared/SourceSecoda.md | 2 +- docs/models/shared/SourceSegment.md | 11 + docs/models/shared/SourceSendgrid.md | 2 +- docs/models/shared/SourceSendinblue.md | 2 +- docs/models/shared/SourceSendowl.md | 11 + docs/models/shared/SourceSendpulse.md | 10 + docs/models/shared/SourceSenseforce.md | 2 +- docs/models/shared/SourceSentry.md | 6 +- docs/models/shared/SourceSftp.md | 20 +- docs/models/shared/SourceSftpBulk.md | 11 +- .../shared/SourceSftpBulkAutogenerated.md | 6 +- .../models/shared/SourceSftpBulkAvroFormat.md | 4 +- docs/models/shared/SourceSftpBulkCSVFormat.md | 28 +- .../shared/SourceSftpBulkCopyRawFiles.md | 10 + .../shared/SourceSftpBulkDeliveryMethod.md | 2 + .../shared/SourceSftpBulkDeliveryType.md | 8 + .../shared/SourceSftpBulkExcelFormat.md | 6 +- .../SourceSftpBulkFileBasedStreamConfig.md | 14 +- docs/models/shared/SourceSftpBulkFromCSV.md | 6 +- .../shared/SourceSftpBulkJsonlFormat.md | 6 +- docs/models/shared/SourceSftpBulkLocal.md | 6 +- .../shared/SourceSftpBulkParquetFormat.md | 8 +- .../shared/SourceSftpBulkReplicateRecords.md | 10 + .../SourceSftpBulkSchemasDeliveryType.md | 8 + ...ourceSftpBulkUnstructuredDocumentFormat.md | 8 +- .../shared/SourceSftpBulkUserProvided.md | 8 +- docs/models/shared/SourceSftpBulkViaAPI.md | 12 +- .../SourceSftpPasswordAuthentication.md | 8 +- .../shared/SourceSftpSSHKeyAuthentication.md | 2 +- docs/models/shared/SourceSharetribe.md | 13 + docs/models/shared/SourceShippo.md | 10 + docs/models/shared/SourceShopify.md | 14 +- docs/models/shared/SourceShopifyOAuth20.md | 12 +- docs/models/shared/SourceShortcut.md | 4 +- docs/models/shared/SourceShortio.md | 2 +- docs/models/shared/SourceSigmaComputing.md | 14 + docs/models/shared/SourceSimfin.md | 9 + docs/models/shared/SourceSimplecast.md | 9 + docs/models/shared/SourceSimplesat.md | 11 + docs/models/shared/SourceSlack.md | 12 +- docs/models/shared/SourceSlackAPIToken.md | 2 +- docs/models/shared/SourceSmaily.md | 2 +- docs/models/shared/SourceSmartengage.md | 8 +- docs/models/shared/SourceSmartreach.md | 10 + docs/models/shared/SourceSmartsheets.md | 12 +- .../models/shared/SourceSmartsheetsOAuth20.md | 16 +- docs/models/shared/SourceSmartwaiver.md | 11 + docs/models/shared/SourceSnapchatMarketing.md | 22 +- docs/models/shared/SourceSnowflake.md | 8 +- .../SourceSnowflakeKeyPairAuthentication.md | 4 +- docs/models/shared/SourceSnowflakeOAuth20.md | 14 +- .../SourceSnowflakeUsernameAndPassword.md | 10 +- ...auth.md => SourceSolarwindsServiceDesk.md} | 10 +- docs/models/shared/SourceSonarCloud.md | 4 +- docs/models/shared/SourceSpacexApi.md | 10 +- docs/models/shared/SourceSparkpost.md | 11 + docs/models/shared/SourceSplitIo.md | 10 + docs/models/shared/SourceSpotlercrm.md | 9 + docs/models/shared/SourceSquare.md | 14 +- docs/models/shared/SourceSquareAPIKey.md | 8 +- docs/models/shared/SourceSquarespace.md | 10 + docs/models/shared/SourceStatsig.md | 11 + docs/models/shared/SourceStatuspage.md | 9 + docs/models/shared/SourceStockdata.md | 13 + docs/models/shared/SourceStrava.md | 18 +- docs/models/shared/SourceStripe.md | 10 +- docs/models/shared/SourceSurveySparrow.md | 6 +- docs/models/shared/SourceSurveymonkey.md | 14 +- docs/models/shared/SourceSurvicate.md | 2 +- docs/models/shared/SourceSysteme.md | 9 + docs/models/shared/SourceTaboola.md | 11 + docs/models/shared/SourceTeamtailor.md | 10 + docs/models/shared/SourceTeamwork.md | 4 +- docs/models/shared/SourceTempo.md | 2 +- docs/models/shared/SourceTestrail.md | 12 + docs/models/shared/SourceTheGuardianApi.md | 10 +- docs/models/shared/SourceThinkific.md | 10 + docs/models/shared/SourceTicketmaster.md | 9 + docs/models/shared/SourceTickettailor.md | 9 + docs/models/shared/SourceTiktokMarketing.md | 8 +- .../shared/SourceTiktokMarketingOAuth20.md | 14 +- docs/models/shared/SourceTimely.md | 11 + docs/models/shared/SourceTinyemail.md | 9 + docs/models/shared/SourceTodoist.md | 9 + docs/models/shared/SourceTrackPms.md | 11 + docs/models/shared/SourceTrello.md | 4 +- docs/models/shared/SourceTremendous.md | 10 + .../shared/SourceTremendousEnvironment.md | 9 + docs/models/shared/SourceTrustpilot.md | 6 +- docs/models/shared/SourceTrustpilotAPIKey.md | 8 +- docs/models/shared/SourceTrustpilotOAuth20.md | 16 +- docs/models/shared/SourceTvmazeSchedule.md | 6 +- docs/models/shared/SourceTwelveData.md | 13 + docs/models/shared/SourceTwilio.md | 4 +- docs/models/shared/SourceTwilioTaskrouter.md | 10 +- docs/models/shared/SourceTwitter.md | 2 +- docs/models/shared/SourceTypeform.md | 6 +- docs/models/shared/SourceTypeformOAuth20.md | 16 +- .../shared/SourceTypeformPrivateToken.md | 8 +- docs/models/shared/SourceUbidots.md | 9 + docs/models/shared/SourceUnleash.md | 12 + docs/models/shared/SourceUppromote.md | 10 + docs/models/shared/SourceUsCensus.md | 4 +- docs/models/shared/SourceUservoice.md | 11 + docs/models/shared/SourceVantage.md | 2 +- docs/models/shared/SourceVeeqo.md | 10 + docs/models/shared/SourceVercel.md | 10 + docs/models/shared/SourceVismaEconomic.md | 10 + docs/models/shared/SourceVitally.md | 10 + docs/models/shared/SourceVitallyStatus.md | 12 + docs/models/shared/SourceVwo.md | 10 + docs/models/shared/SourceWaiteraid.md | 11 + docs/models/shared/SourceWasabiStatsApi.md | 10 + docs/models/shared/SourceWeatherstack.md | 11 + docs/models/shared/SourceWebScrapper.md | 9 + docs/models/shared/SourceWebflow.md | 4 +- docs/models/shared/SourceWhenIWork.md | 10 +- docs/models/shared/SourceWhiskyHunter.md | 6 +- .../models/shared/SourceWikipediaPageviews.md | 2 +- docs/models/shared/SourceWoocommerce.md | 2 +- docs/models/shared/SourceWordpress.md | 12 + docs/models/shared/SourceWorkable.md | 11 + docs/models/shared/SourceWorkflowmax.md | 11 + docs/models/shared/SourceWorkramp.md | 10 + docs/models/shared/SourceWrike.md | 11 + docs/models/shared/SourceWufoo.md | 10 + docs/models/shared/SourceXkcd.md | 4 +- docs/models/shared/SourceXsolla.md | 10 + docs/models/shared/SourceYahooFinancePrice.md | 11 + .../shared/SourceYahooFinancePriceInterval.md | 20 + docs/models/shared/SourceYandexMetrica.md | 2 +- docs/models/shared/SourceYotpo.md | 4 +- .../models/shared/SourceYouNeedABudgetYnab.md | 9 + docs/models/shared/SourceYoutubeAnalytics.md | 8 +- docs/models/shared/SourceYoutubeData.md | 10 + .../shared/SourceZapierSupportedStorage.md | 9 + docs/models/shared/SourceZendeskChat.md | 12 +- .../shared/SourceZendeskChatAccessToken.md | 8 +- .../models/shared/SourceZendeskChatOAuth20.md | 14 +- docs/models/shared/SourceZendeskSunshine.md | 12 +- .../shared/SourceZendeskSunshineAPIToken.md | 10 +- .../shared/SourceZendeskSunshineOAuth20.md | 12 +- docs/models/shared/SourceZendeskSupport.md | 13 +- .../shared/SourceZendeskSupportAPIToken.md | 11 + .../SourceZendeskSupportAuthentication.md | 4 + .../shared/SourceZendeskSupportCredentials.md | 8 + .../shared/SourceZendeskSupportOAuth20.md | 12 + .../SourceZendeskSupportSchemasCredentials.md | 8 + docs/models/shared/SourceZendeskTalk.md | 4 +- .../shared/SourceZendeskTalkAPIToken.md | 11 + .../shared/SourceZendeskTalkAuthType.md | 8 + .../shared/SourceZendeskTalkAuthentication.md | 4 + .../models/shared/SourceZendeskTalkOAuth20.md | 12 + .../SourceZendeskTalkSchemasAuthType.md | 8 + docs/models/shared/SourceZenefits.md | 9 + docs/models/shared/SourceZenloop.md | 8 +- .../shared/SourceZohoAnalyticsMetadataApi.md | 13 + ...ourceZohoAnalyticsMetadataApiDataCenter.md | 13 + docs/models/shared/SourceZohoBigin.md | 13 + .../shared/SourceZohoBiginDataCenter.md | 15 + docs/models/shared/SourceZohoBilling.md | 12 + docs/models/shared/SourceZohoBillingRegion.md | 15 + docs/models/shared/SourceZohoBooks.md | 13 + docs/models/shared/SourceZohoBooksRegion.md | 17 + docs/models/shared/SourceZohoCampaign.md | 12 + .../shared/SourceZohoCampaignDataCenter.md | 13 + docs/models/shared/SourceZohoCrm.md | 8 +- docs/models/shared/SourceZohoDesk.md | 13 + docs/models/shared/SourceZohoExpense.md | 12 + .../shared/SourceZohoExpenseDataCenter.md | 17 + docs/models/shared/SourceZohoInventory.md | 13 + docs/models/shared/SourceZohoInvoice.md | 13 + docs/models/shared/SourceZohoInvoiceRegion.md | 15 + docs/models/shared/SourceZonkaFeedback.md | 10 + docs/models/shared/SourceZoom.md | 4 +- docs/models/shared/SourcesResponse.md | 10 +- docs/models/shared/Sparkpost.md | 8 + docs/models/shared/SplitIo.md | 8 + docs/models/shared/Spotlercrm.md | 8 + docs/models/shared/Square.md | 8 +- docs/models/shared/SquareCredentials.md | 9 - docs/models/shared/Squarespace.md | 8 + .../shared/StandaloneMongoDbInstance.md | 6 +- .../{StateFilter.md => StateFilterEnum.md} | 4 +- docs/models/shared/StatisticsInterval.md | 12 + docs/models/shared/Statsig.md | 8 + docs/models/shared/Statuspage.md | 8 + docs/models/shared/Stockdata.md | 8 + docs/models/shared/StorageConfig.md | 4 + docs/models/shared/StorageType.md | 8 + docs/models/shared/StreamConfiguration.md | 9 +- docs/models/shared/StreamConfigurations.md | 6 +- docs/models/shared/StreamMapperType.md | 11 + docs/models/shared/StreamProperties.md | 16 +- docs/models/shared/StreamsCriteria.md | 8 +- docs/models/shared/StringFilter.md | 12 +- .../shared/SurveyMonkeyAuthorizationMethod.md | 6 +- docs/models/shared/Surveymonkey.md | 6 +- docs/models/shared/SurveymonkeyCredentials.md | 4 +- docs/models/shared/SystemIDSID.md | 8 +- docs/models/shared/Systeme.md | 8 + .../shared/TLSEncryptedVerifyCertificate.md | 8 +- docs/models/shared/Taboola.md | 8 + docs/models/shared/Teamtailor.md | 8 + docs/models/shared/TechnicalIndicatorType.md | 17 + docs/models/shared/TestDestination.md | 4 + docs/models/shared/TestDestinationType.md | 8 + docs/models/shared/Testrail.md | 8 + docs/models/shared/Thinkific.md | 8 + docs/models/shared/Throttled.md | 10 + docs/models/shared/Ticketmaster.md | 8 + docs/models/shared/Tickettailor.md | 8 + docs/models/shared/TiktokMarketing.md | 6 +- .../shared/TiktokMarketingCredentials.md | 4 +- docs/models/shared/TimeAggregates.md | 16 + docs/models/shared/TimeFrame.md | 15 + docs/models/shared/TimeInterval.md | 14 + docs/models/shared/TimePeriod.md | 11 + docs/models/shared/Timely.md | 8 + docs/models/shared/Tinyemail.md | 8 + docs/models/shared/Todoist.md | 8 + docs/models/shared/TrackPms.md | 8 + docs/models/shared/Tremendous.md | 8 + docs/models/shared/TwelveData.md | 8 + docs/models/shared/Typeform.md | 6 +- docs/models/shared/TypeformCredentials.md | 4 +- docs/models/shared/URLRegion.md | 12 + docs/models/shared/Ubidots.md | 8 + docs/models/shared/Unencrypted.md | 6 +- docs/models/shared/Units.md | 12 + docs/models/shared/Unleash.md | 8 + .../shared/UnstructuredDocumentFormat.md | 8 +- docs/models/shared/Uppromote.md | 8 + docs/models/shared/UserProvided.md | 8 +- docs/models/shared/UsernameAndPassword.md | 8 +- docs/models/shared/UsernamePassword.md | 10 +- docs/models/shared/UsersResponse.md | 6 +- docs/models/shared/Uservoice.md | 8 + docs/models/shared/Veeqo.md | 8 + docs/models/shared/Vercel.md | 8 + docs/models/shared/VerifyCa.md | 10 +- docs/models/shared/VerifyFull.md | 14 +- docs/models/shared/VerifyIdentity.md | 14 +- docs/models/shared/ViaAPI.md | 12 +- docs/models/shared/VismaEconomic.md | 8 + docs/models/shared/Vitally.md | 8 + docs/models/shared/Vwo.md | 8 + docs/models/shared/Waiteraid.md | 8 + docs/models/shared/WasabiStatsApi.md | 8 + docs/models/shared/Weatherstack.md | 8 + docs/models/shared/WebScrapper.md | 8 + docs/models/shared/Wordpress.md | 8 + docs/models/shared/Workable.md | 8 + docs/models/shared/Workflowmax.md | 8 + docs/models/shared/Workramp.md | 8 + docs/models/shared/WorkspaceCreateRequest.md | 2 +- .../WorkspaceOAuthCredentialsRequest.md | 10 +- docs/models/shared/WorkspaceResponse.md | 10 +- docs/models/shared/WorkspacesResponse.md | 10 +- docs/models/shared/Wrike.md | 8 + docs/models/shared/Wufoo.md | 8 + docs/models/shared/Xsolla.md | 8 + docs/models/shared/Xz.md | 4 +- docs/models/shared/YahooFinancePrice.md | 8 + docs/models/shared/YouNeedABudgetYnab.md | 8 + docs/models/shared/YoutubeAnalytics.md | 6 +- .../shared/YoutubeAnalyticsCredentials.md | 4 +- docs/models/shared/YoutubeData.md | 8 + docs/models/shared/ZapierSupportedStorage.md | 8 + docs/models/shared/ZendeskChat.md | 6 +- docs/models/shared/ZendeskChatCredentials.md | 4 +- docs/models/shared/ZendeskSunshine.md | 8 +- .../shared/ZendeskSunshineCredentials.md | 9 - docs/models/shared/ZendeskSupport.md | 6 +- .../shared/ZendeskSupportCredentials.md | 4 +- docs/models/shared/ZendeskTalk.md | 6 +- docs/models/shared/ZendeskTalkCredentials.md | 8 +- docs/models/shared/Zenefits.md | 8 + .../models/shared/ZohoAnalyticsMetadataApi.md | 8 + docs/models/shared/ZohoBigin.md | 8 + docs/models/shared/ZohoBilling.md | 8 + docs/models/shared/ZohoBooks.md | 8 + docs/models/shared/ZohoCampaign.md | 8 + docs/models/shared/ZohoDesk.md | 8 + docs/models/shared/ZohoExpense.md | 8 + docs/models/shared/ZohoInventory.md | 8 + docs/models/shared/ZohoInvoice.md | 8 + docs/models/shared/ZonkaFeedback.md | 8 + docs/models/shared/Zstandard.md | 10 +- docs/sdks/airbyte/README.md | 4 +- docs/sdks/connections/README.md | 266 +- docs/sdks/destinations/README.md | 382 +- docs/sdks/health/README.md | 41 +- docs/sdks/jobs/README.md | 210 +- docs/sdks/organizations/README.md | 44 +- docs/sdks/permissions/README.md | 267 +- docs/sdks/sources/README.md | 483 +- docs/sdks/streams/README.md | 53 +- docs/sdks/users/README.md | 53 +- docs/sdks/workspaces/README.md | 325 +- gen.yaml | 4 +- src/main/java/com/airbyte/api/Airbyte.java | 36 +- .../java/com/airbyte/api/Connections.java | 321 +- .../java/com/airbyte/api/Destinations.java | 393 +- src/main/java/com/airbyte/api/Health.java | 55 +- src/main/java/com/airbyte/api/Jobs.java | 260 +- .../java/com/airbyte/api/Organizations.java | 68 +- .../java/com/airbyte/api/Permissions.java | 321 +- .../com/airbyte/api/SDKConfiguration.java | 58 +- .../java/com/airbyte/api/SecuritySource.java | 2 +- src/main/java/com/airbyte/api/Sources.java | 452 +- src/main/java/com/airbyte/api/Streams.java | 74 +- src/main/java/com/airbyte/api/Users.java | 74 +- src/main/java/com/airbyte/api/Workspaces.java | 382 +- .../api/hooks/ClientCredentialsHook.java | 203 +- .../api/models/errors/AuthException.java | 2 +- .../airbyte/api/models/errors/SDKError.java | 2 +- .../models/operations/CancelJobRequest.java | 18 +- .../operations/CancelJobRequestBuilder.java | 13 +- .../models/operations/CancelJobResponse.java | 46 +- .../CreateConnectionRequestBuilder.java | 18 +- .../operations/CreateConnectionResponse.java | 46 +- .../CreateDestinationRequestBuilder.java | 19 +- .../operations/CreateDestinationResponse.java | 46 +- .../operations/CreateJobRequestBuilder.java | 18 +- .../models/operations/CreateJobResponse.java | 46 +- ...pdateWorkspaceOAuthCredentialsRequest.java | 32 +- ...rkspaceOAuthCredentialsRequestBuilder.java | 13 +- ...dateWorkspaceOAuthCredentialsResponse.java | 24 +- .../CreatePermissionRequestBuilder.java | 18 +- .../operations/CreatePermissionResponse.java | 46 +- .../CreateSourceRequestBuilder.java | 19 +- .../operations/CreateSourceResponse.java | 46 +- .../CreateWorkspaceRequestBuilder.java | 18 +- .../operations/CreateWorkspaceResponse.java | 46 +- .../operations/DeleteConnectionRequest.java | 17 +- .../DeleteConnectionRequestBuilder.java | 13 +- .../operations/DeleteConnectionResponse.java | 24 +- .../operations/DeleteDestinationRequest.java | 17 +- .../DeleteDestinationRequestBuilder.java | 13 +- .../operations/DeleteDestinationResponse.java | 24 +- .../operations/DeletePermissionRequest.java | 17 +- .../DeletePermissionRequestBuilder.java | 13 +- .../operations/DeletePermissionResponse.java | 24 +- .../operations/DeleteSourceRequest.java | 17 +- .../DeleteSourceRequestBuilder.java | 13 +- .../operations/DeleteSourceResponse.java | 24 +- .../operations/DeleteWorkspaceRequest.java | 17 +- .../DeleteWorkspaceRequestBuilder.java | 13 +- .../operations/DeleteWorkspaceResponse.java | 24 +- .../operations/GetConnectionRequest.java | 17 +- .../GetConnectionRequestBuilder.java | 13 +- .../operations/GetConnectionResponse.java | 46 +- .../operations/GetDestinationRequest.java | 17 +- .../GetDestinationRequestBuilder.java | 13 +- .../operations/GetDestinationResponse.java | 46 +- .../GetHealthCheckRequestBuilder.java | 14 +- .../operations/GetHealthCheckResponse.java | 24 +- .../api/models/operations/GetJobRequest.java | 18 +- .../operations/GetJobRequestBuilder.java | 13 +- .../api/models/operations/GetJobResponse.java | 46 +- .../operations/GetPermissionRequest.java | 17 +- .../GetPermissionRequestBuilder.java | 13 +- .../operations/GetPermissionResponse.java | 46 +- .../models/operations/GetSourceRequest.java | 17 +- .../operations/GetSourceRequestBuilder.java | 13 +- .../models/operations/GetSourceResponse.java | 46 +- .../GetStreamPropertiesRequest.java | 54 +- .../GetStreamPropertiesRequestBuilder.java | 13 +- .../GetStreamPropertiesResponse.java | 47 +- .../operations/GetWorkspaceRequest.java | 17 +- .../GetWorkspaceRequestBuilder.java | 13 +- .../operations/GetWorkspaceResponse.java | 46 +- .../InitiateOAuthRequestBuilder.java | 18 +- .../operations/InitiateOAuthResponse.java | 24 +- .../operations/ListConnectionsRequest.java | 98 +- .../ListConnectionsRequestBuilder.java | 13 +- .../operations/ListConnectionsResponse.java | 46 +- .../operations/ListDestinationsRequest.java | 98 +- .../ListDestinationsRequestBuilder.java | 13 +- .../operations/ListDestinationsResponse.java | 46 +- .../models/operations/ListJobsRequest.java | 210 +- .../operations/ListJobsRequestBuilder.java | 13 +- .../models/operations/ListJobsResponse.java | 46 +- ...istOrganizationsForUserRequestBuilder.java | 14 +- .../ListOrganizationsForUserResponse.java | 46 +- .../operations/ListPermissionsRequest.java | 45 +- .../ListPermissionsRequestBuilder.java | 13 +- .../operations/ListPermissionsResponse.java | 46 +- .../models/operations/ListSourcesRequest.java | 98 +- .../operations/ListSourcesRequestBuilder.java | 13 +- .../operations/ListSourcesResponse.java | 46 +- .../ListUsersWithinAnOrganizationRequest.java | 59 +- ...ersWithinAnOrganizationRequestBuilder.java | 13 +- ...ListUsersWithinAnOrganizationResponse.java | 46 +- .../operations/ListWorkspacesRequest.java | 98 +- .../ListWorkspacesRequestBuilder.java | 13 +- .../operations/ListWorkspacesResponse.java | 46 +- .../operations/PatchConnectionRequest.java | 32 +- .../PatchConnectionRequestBuilder.java | 13 +- .../operations/PatchConnectionResponse.java | 46 +- .../operations/PatchDestinationRequest.java | 39 +- .../PatchDestinationRequestBuilder.java | 13 +- .../operations/PatchDestinationResponse.java | 46 +- .../models/operations/PatchSourceRequest.java | 39 +- .../operations/PatchSourceRequestBuilder.java | 13 +- .../operations/PatchSourceResponse.java | 46 +- .../operations/PutDestinationRequest.java | 39 +- .../PutDestinationRequestBuilder.java | 13 +- .../operations/PutDestinationResponse.java | 46 +- .../models/operations/PutSourceRequest.java | 39 +- .../operations/PutSourceRequestBuilder.java | 13 +- .../models/operations/PutSourceResponse.java | 46 +- .../operations/SDKMethodInterfaces.java | 162 +- .../operations/UpdatePermissionRequest.java | 32 +- .../UpdatePermissionRequestBuilder.java | 13 +- .../operations/UpdatePermissionResponse.java | 46 +- .../operations/UpdateWorkspaceRequest.java | 32 +- .../UpdateWorkspaceRequestBuilder.java | 13 +- .../operations/UpdateWorkspaceResponse.java | 46 +- .../api/models/shared/APIAccessToken.java | 19 +- .../api/models/shared/APIEndpoint.java | 43 +- .../api/models/shared/APIEndpointPrefix.java | 24 + .../com/airbyte/api/models/shared/APIKey.java | 18 +- .../shared/APIParameterConfigModel.java | 19 +- .../api/models/shared/APIPassword.java | 18 +- .../airbyte/api/models/shared/APIServer.java | 12 +- .../airbyte/api/models/shared/APIToken.java | 18 +- .../api/models/shared/AWSEnvironment.java | 12 +- .../airbyte/api/models/shared/AWSRegion.java | 12 +- .../api/models/shared/AWSS3Staging.java | 78 +- .../shared/AWSSellerPartnerAccountType.java | 12 +- .../api/models/shared/AccessToken.java | 47 +- ...enIsRequiredForAuthenticationRequests.java | 12 +- .../api/models/shared/AccountNames.java | 19 +- .../api/models/shared/ActionReportTime.java | 12 +- .../api/models/shared/Activecampaign.java | 23 + .../api/models/shared/ActorTypeEnum.java | 12 +- .../AdAnalyticsReportConfiguration.java | 21 +- .../airbyte/api/models/shared/Agilecrm.java | 23 + .../com/airbyte/api/models/shared/Aha.java | 12 +- .../airbyte/api/models/shared/Airbyte.java | 12 +- .../shared/AirbyteApiConnectionSchedule.java | 32 +- .../airbyte/api/models/shared/Aircall.java | 12 +- .../airbyte/api/models/shared/Airtable.java | 18 +- .../com/airbyte/api/models/shared/Akeneo.java | 23 + .../airbyte/api/models/shared/Algolia.java | 23 + .../com/airbyte/api/models/shared/Allow.java | 17 +- .../airbyte/api/models/shared/AmazonAds.java | 45 +- .../models/shared/AmazonSellerPartner.java | 45 +- .../airbyte/api/models/shared/AmazonSqs.java | 12 +- .../airbyte/api/models/shared/Amplitude.java | 12 +- .../airbyte/api/models/shared/AndGroup.java | 31 +- .../airbyte/api/models/shared/ApiKeyAuth.java | 19 +- .../api/models/shared/ApiKeySecret.java | 20 +- .../api/models/shared/ApifyDataset.java | 12 +- .../airbyte/api/models/shared/Appcues.java | 12 +- .../airbyte/api/models/shared/Appfigures.java | 12 +- .../airbyte/api/models/shared/Appfollow.java | 12 +- .../api/models/shared/AppleSearchAds.java | 23 + .../api/models/shared/Applications.java | 34 +- .../airbyte/api/models/shared/Apptivo.java | 23 + .../com/airbyte/api/models/shared/Asana.java | 18 +- .../api/models/shared/AsanaCredentials.java | 45 +- .../com/airbyte/api/models/shared/Ashby.java | 23 + .../com/airbyte/api/models/shared/Astra.java | 12 +- .../com/airbyte/api/models/shared/Auth0.java | 12 +- .../airbyte/api/models/shared/AuthMethod.java | 12 +- .../airbyte/api/models/shared/AuthType.java | 12 +- .../models/shared/AuthenticateViaAPIKey.java | 18 +- .../shared/AuthenticateViaAccessKeys.java | 218 + .../shared/AuthenticateViaAsanaOauth.java | 23 +- ...AuthenticateViaFacebookMarketingOauth.java | 36 +- .../shared/AuthenticateViaGoogleOAuth.java | 250 + .../shared/AuthenticateViaHarvestOAuth.java | 259 + .../shared/AuthenticateViaLeverApiKey.java | 19 +- .../shared/AuthenticateViaLeverOAuth.java | 49 +- .../shared/AuthenticateViaMicrosoft.java | 23 +- .../shared/AuthenticateViaMicrosoftOAuth.java | 25 +- .../AuthenticateViaMicrosoftOAuth20.java | 25 +- .../models/shared/AuthenticateViaOAuth.java | 28 +- .../models/shared/AuthenticateViaOAuth20.java | 233 + .../models/shared/AuthenticateViaOauth2.java | 25 +- .../shared/AuthenticateViaPassword.java | 19 +- .../shared/AuthenticateViaPrivateKey.java | 19 +- .../shared/AuthenticateViaRetentlyOAuth.java | 259 + .../AuthenticateViaStorageAccountKey.java | 19 +- .../shared/AuthenticateWithAPIToken.java | 177 + .../AuthenticateWithPersonalAccessToken.java | 19 +- .../api/models/shared/Authentication.java | 43 +- .../shared/AuthenticationMechanism.java | 43 +- .../models/shared/AuthenticationMethod.java | 47 +- .../api/models/shared/AuthenticationMode.java | 43 +- .../api/models/shared/AuthenticationType.java | 43 +- .../shared/AuthenticationViaGoogleOAuth.java | 21 +- .../models/shared/AuthenticationWildcard.java | 43 +- .../api/models/shared/Authorization.java | 45 +- .../models/shared/AuthorizationMethod.java | 47 +- .../api/models/shared/AuthorizationType.java | 43 +- .../api/models/shared/Autogenerated.java | 17 +- .../api/models/shared/AvroApacheAvro.java | 22 +- .../airbyte/api/models/shared/AvroFormat.java | 40 +- .../api/models/shared/AwsCloudtrail.java | 12 +- .../api/models/shared/AwsDatalake.java | 12 +- .../models/shared/AzBlobAzureBlobStorage.java | 48 +- .../api/models/shared/AzureBlobStorage.java | 18 +- .../shared/AzureBlobStorageCredentials.java | 45 +- .../api/models/shared/AzureOpenAI.java | 23 +- .../airbyte/api/models/shared/AzureTable.java | 12 +- .../airbyte/api/models/shared/BambooHr.java | 12 +- .../airbyte/api/models/shared/BaseURL.java | 43 +- .../api/models/shared/BaseURLPrefix.java | 12 +- .../airbyte/api/models/shared/Basecamp.java | 12 +- .../com/airbyte/api/models/shared/Basic.java | 22 +- .../models/shared/BatchedStandardInserts.java | 16 +- .../com/airbyte/api/models/shared/Beamer.java | 23 + .../api/models/shared/BetweenFilter.java | 20 +- .../airbyte/api/models/shared/Bigmailer.java | 23 + .../airbyte/api/models/shared/Bigquery.java | 12 +- .../airbyte/api/models/shared/BingAds.java | 51 +- .../com/airbyte/api/models/shared/Bitly.java | 12 +- .../airbyte/api/models/shared/Blogger.java | 23 + ...ordIsRequiredForAuthenticationRequest.java | 12 +- .../com/airbyte/api/models/shared/Box.java | 23 + .../airbyte/api/models/shared/Braintree.java | 12 +- .../com/airbyte/api/models/shared/Braze.java | 12 +- .../airbyte/api/models/shared/BreezyHr.java | 12 +- .../com/airbyte/api/models/shared/Brevo.java | 12 +- .../com/airbyte/api/models/shared/Brex.java | 23 + .../airbyte/api/models/shared/Bugsnag.java | 23 + .../airbyte/api/models/shared/Buildkite.java | 12 +- .../airbyte/api/models/shared/BunnyInc.java | 23 + .../airbyte/api/models/shared/Buzzsprout.java | 12 +- .../api/models/shared/ByMarkdownHeader.java | 40 +- .../models/shared/ByProgrammingLanguage.java | 19 +- .../api/models/shared/BySeparator.java | 61 +- .../com/airbyte/api/models/shared/Bzip2.java | 20 +- .../shared/CSVCommaSeparatedValues.java | 42 +- .../airbyte/api/models/shared/CSVFormat.java | 252 +- .../models/shared/CSVHeaderDefinition.java | 47 +- .../airbyte/api/models/shared/CacheType.java | 12 +- .../com/airbyte/api/models/shared/CalCom.java | 23 + .../airbyte/api/models/shared/Calendly.java | 12 +- .../airbyte/api/models/shared/Callrail.java | 23 + .../api/models/shared/CampaignMonitor.java | 23 + .../airbyte/api/models/shared/Campayn.java | 23 + .../com/airbyte/api/models/shared/Canny.java | 12 +- .../airbyte/api/models/shared/CapsuleCrm.java | 23 + .../models/shared/CaptureModeAdvanced.java | 12 +- .../models/shared/CareQualityCommission.java | 23 + .../com/airbyte/api/models/shared/Cart.java | 12 +- .../airbyte/api/models/shared/CastorEdc.java | 23 + .../api/models/shared/CatalogType.java | 23 + .../airbyte/api/models/shared/Categories.java | 12 +- .../airbyte/api/models/shared/Category.java | 32 + .../api/models/shared/CentralAPIRouter.java | 22 +- .../airbyte/api/models/shared/Chameleon.java | 12 +- .../airbyte/api/models/shared/Chargebee.java | 12 +- .../airbyte/api/models/shared/Chargedesk.java | 23 + .../airbyte/api/models/shared/Chargify.java | 23 + .../airbyte/api/models/shared/Chartmogul.java | 12 +- .../shared/ChooseHowToPartitionData.java | 12 +- .../com/airbyte/api/models/shared/Cimis.java | 12 +- .../com/airbyte/api/models/shared/Cin7.java | 23 + .../com/airbyte/api/models/shared/Circa.java | 23 + .../airbyte/api/models/shared/Circleci.java | 23 + .../airbyte/api/models/shared/ClarifAi.java | 23 + .../com/airbyte/api/models/shared/Clazar.java | 12 +- .../api/models/shared/ClickWindowDays.java | 11 +- .../airbyte/api/models/shared/Clickhouse.java | 12 +- .../airbyte/api/models/shared/ClickupApi.java | 12 +- .../airbyte/api/models/shared/Clockify.java | 12 +- .../airbyte/api/models/shared/Clockodo.java | 23 + .../airbyte/api/models/shared/CloseCom.java | 12 +- .../airbyte/api/models/shared/Cloudbeds.java | 23 + .../api/models/shared/ClusterType.java | 100 + .../airbyte/api/models/shared/Coassemble.java | 23 + .../com/airbyte/api/models/shared/Coda.java | 12 +- .../com/airbyte/api/models/shared/Codec.java | 12 +- .../airbyte/api/models/shared/Codefresh.java | 23 + .../com/airbyte/api/models/shared/Cohere.java | 19 +- .../models/shared/CohortReportSettings.java | 31 +- .../api/models/shared/CohortReports.java | 43 +- .../airbyte/api/models/shared/Cohorts.java | 34 +- .../api/models/shared/CohortsRange.java | 35 +- .../airbyte/api/models/shared/CoinApi.java | 12 +- .../api/models/shared/Coinmarketcap.java | 12 +- .../airbyte/api/models/shared/Collection.java | 39 +- .../api/models/shared/Compression.java | 43 +- .../api/models/shared/CompressionCodec.java | 59 +- .../shared/CompressionCodecOptional.java | 12 +- .../api/models/shared/CompressionType.java | 12 +- .../airbyte/api/models/shared/Concord.java | 23 + .../airbyte/api/models/shared/Configcat.java | 12 +- .../models/shared/ConfiguredStreamMapper.java | 130 + .../airbyte/api/models/shared/Confluence.java | 12 +- .../airbyte/api/models/shared/ConnectBy.java | 43 +- .../shared/ConnectionCreateRequest.java | 83 +- .../models/shared/ConnectionPatchRequest.java | 79 +- .../api/models/shared/ConnectionResponse.java | 103 +- .../shared/ConnectionScheduleResponse.java | 47 +- .../models/shared/ConnectionStatusEnum.java | 12 +- .../models/shared/ConnectionSyncModeEnum.java | 12 +- .../api/models/shared/ConnectionType.java | 12 +- .../models/shared/ConnectionsResponse.java | 62 +- .../api/models/shared/ContentType.java | 12 +- .../models/shared/ConversionReportTime.java | 12 +- .../airbyte/api/models/shared/Convertkit.java | 23 + .../com/airbyte/api/models/shared/Convex.java | 12 +- .../com/airbyte/api/models/shared/Copper.java | 23 + .../api/models/shared/CopyRawFiles.java | 91 + .../api/models/shared/Countercyclical.java | 23 + .../airbyte/api/models/shared/Country.java | 58 +- .../airbyte/api/models/shared/Credential.java | 39 +- .../api/models/shared/CredentialType.java | 12 +- .../api/models/shared/Credentials.java | 45 +- .../api/models/shared/CredentialsTitle.java | 12 +- .../api/models/shared/CustomQueriesArray.java | 19 +- .../api/models/shared/CustomReportConfig.java | 57 +- .../airbyte/api/models/shared/CustomerIo.java | 12 +- .../api/models/shared/CustomerStatus.java | 12 +- .../airbyte/api/models/shared/DataCenter.java | 26 + .../api/models/shared/DataCenterID.java | 27 + .../api/models/shared/DataCenterLocation.java | 12 +- .../api/models/shared/DataFreshness.java | 14 +- .../airbyte/api/models/shared/DataRegion.java | 12 +- .../airbyte/api/models/shared/DataSource.java | 12 +- .../airbyte/api/models/shared/DataType.java | 12 +- .../airbyte/api/models/shared/Databricks.java | 12 +- .../airbyte/api/models/shared/Datadog.java | 12 +- .../airbyte/api/models/shared/Datascope.java | 12 +- .../api/models/shared/DatasetLocation.java | 12 +- .../airbyte/api/models/shared/DateRange.java | 19 +- .../com/airbyte/api/models/shared/Dbt.java | 12 +- .../api/models/shared/DefaultVectorizer.java | 12 +- .../airbyte/api/models/shared/Deflate.java | 40 +- .../api/models/shared/DeletionMode.java | 43 +- .../airbyte/api/models/shared/Delighted.java | 12 +- .../api/models/shared/DeliveryMethod.java | 97 + .../api/models/shared/DeliveryType.java | 23 + .../com/airbyte/api/models/shared/Deputy.java | 23 + .../api/models/shared/DestinationAstra.java | 45 +- .../shared/DestinationAstraLanguage.java | 12 +- .../models/shared/DestinationAstraMode.java | 12 +- ...onAstraSchemasEmbeddingEmbedding1Mode.java | 12 +- ...ionAstraSchemasEmbeddingEmbeddingMode.java | 12 +- .../DestinationAstraSchemasEmbeddingMode.java | 12 +- .../shared/DestinationAstraSchemasMode.java | 12 +- ...DestinationAstraSchemasProcessingMode.java | 12 +- ...straSchemasProcessingTextSplitterMode.java | 12 +- ...rocessingTextSplitterTextSplitterMode.java | 12 +- .../models/shared/DestinationAwsDatalake.java | 131 +- ...onAwsDatalakeCompressionCodecOptional.java | 12 +- ...estinationAwsDatalakeCredentialsTitle.java | 12 +- ...tinationAwsDatalakeFormatTypeWildcard.java | 12 +- .../shared/DestinationAzureBlobStorage.java | 98 +- ...ationAzureBlobStorageAzureBlobStorage.java | 12 +- ...DestinationAzureBlobStorageFormatType.java | 12 +- ...bStorageJSONLinesNewlineDelimitedJSON.java | 39 +- .../models/shared/DestinationBigquery.java | 100 +- .../DestinationBigqueryCredentialType.java | 12 +- .../shared/DestinationBigqueryHMACKey.java | 20 +- .../shared/DestinationBigqueryMethod.java | 12 +- .../models/shared/DestinationClickhouse.java | 113 +- ...tinationClickhouseSchemasTunnelMethod.java | 12 +- .../DestinationClickhouseTunnelMethod.java | 12 +- .../shared/DestinationConfiguration.java | 204 +- .../api/models/shared/DestinationConvex.java | 20 +- .../shared/DestinationCreateRequest.java | 36 +- .../models/shared/DestinationDatabricks.java | 123 +- .../shared/DestinationDatabricksAuthType.java | 12 +- .../DestinationDatabricksSchemasAuthType.java | 12 +- .../api/models/shared/DestinationDevNull.java | 121 + .../shared/DestinationDevNullLoggingType.java | 23 + .../DestinationDevNullSchemasLoggingType.java | 23 + ...masTestDestinationTestDestinationType.java | 23 + ...tionDevNullSchemasTestDestinationType.java | 23 + ...DestinationDevNullTestDestinationType.java | 23 + .../api/models/shared/DestinationDuckdb.java | 48 +- .../models/shared/DestinationDynamodb.java | 47 +- .../shared/DestinationElasticsearch.java | 61 +- .../DestinationElasticsearchMethod.java | 12 +- .../DestinationElasticsearchNoTunnel.java | 16 +- ...onElasticsearchPasswordAuthentication.java | 45 +- ...tionElasticsearchSSHKeyAuthentication.java | 45 +- ...stinationElasticsearchSSHTunnelMethod.java | 47 +- ...archSchemasAuthenticationMethodMethod.java | 12 +- ...DestinationElasticsearchSchemasMethod.java | 12 +- ...ationElasticsearchSchemasTunnelMethod.java | 12 +- ...searchSchemasTunnelMethodTunnelMethod.java | 12 +- .../DestinationElasticsearchTunnelMethod.java | 12 +- .../models/shared/DestinationFirebolt.java | 44 +- .../DestinationFireboltLoadingMethod.java | 43 +- .../shared/DestinationFireboltMethod.java | 12 +- .../DestinationFireboltSchemasMethod.java | 12 +- .../models/shared/DestinationFirestore.java | 33 +- .../api/models/shared/DestinationGcs.java | 38 +- .../shared/DestinationGcsAuthentication.java | 39 +- ...DestinationGcsCSVCommaSeparatedValues.java | 24 +- .../models/shared/DestinationGcsCodec.java | 12 +- .../shared/DestinationGcsCompression.java | 43 +- .../DestinationGcsCompressionCodec.java | 12 +- .../shared/DestinationGcsCompressionType.java | 12 +- .../shared/DestinationGcsFormatType.java | 12 +- .../api/models/shared/DestinationGcsGZIP.java | 20 +- .../api/models/shared/DestinationGcsGcs.java | 23 + ...ationGcsJSONLinesNewlineDelimitedJSON.java | 22 +- .../shared/DestinationGcsNoCompression.java | 20 +- .../shared/DestinationGcsOutputFormat.java | 51 +- .../DestinationGcsParquetColumnarStorage.java | 119 +- .../shared/DestinationGcsSchemasCodec.java | 12 +- .../DestinationGcsSchemasCompressionType.java | 12 +- .../DestinationGcsSchemasFormatCodec.java | 12 +- ...nationGcsSchemasFormatCompressionType.java | 12 +- ...DestinationGcsSchemasFormatFormatType.java | 12 +- ...ionGcsSchemasFormatOutputFormat1Codec.java | 12 +- ...tionGcsSchemasFormatOutputFormatCodec.java | 12 +- ...csSchemasFormatOutputFormatFormatType.java | 12 +- .../DestinationGcsSchemasFormatType.java | 12 +- .../DestinationGcsSchemasNoCompression.java | 20 +- .../shared/DestinationGoogleSheets.java | 20 +- .../DestinationGoogleSheetsGoogleSheets.java | 12 +- .../api/models/shared/DestinationIceberg.java | 203 + .../shared/DestinationIcebergCatalogType.java | 23 + .../models/shared/DestinationIcebergS3.java | 459 + .../DestinationIcebergS3BucketRegion.java | 59 + ...cebergSchemasCatalogConfigCatalogType.java | 23 + ...ConfigIcebergCatalogConfigCatalogType.java | 23 + .../DestinationIcebergSchemasCatalogType.java | 23 + .../shared/DestinationIcebergStorageType.java | 23 + .../api/models/shared/DestinationMilvus.java | 45 +- .../shared/DestinationMilvusAPIToken.java | 19 +- .../DestinationMilvusAuthentication.java | 47 +- .../shared/DestinationMilvusAzureOpenAI.java | 23 +- .../DestinationMilvusByMarkdownHeader.java | 40 +- ...estinationMilvusByProgrammingLanguage.java | 19 +- .../shared/DestinationMilvusBySeparator.java | 61 +- .../shared/DestinationMilvusCohere.java | 19 +- .../shared/DestinationMilvusEmbedding.java | 55 +- .../models/shared/DestinationMilvusFake.java | 17 +- ...tionMilvusFieldNameMappingConfigModel.java | 19 +- .../shared/DestinationMilvusIndexing.java | 80 +- .../shared/DestinationMilvusLanguage.java | 12 +- .../models/shared/DestinationMilvusMode.java | 12 +- .../shared/DestinationMilvusOpenAI.java | 19 +- .../DestinationMilvusOpenAICompatible.java | 63 +- ...estinationMilvusProcessingConfigModel.java | 103 +- ...nMilvusSchemasEmbeddingEmbedding5Mode.java | 12 +- ...onMilvusSchemasEmbeddingEmbeddingMode.java | 12 +- ...DestinationMilvusSchemasEmbeddingMode.java | 12 +- ...SchemasIndexingAuthAuthenticationMode.java | 12 +- ...tinationMilvusSchemasIndexingAuthMode.java | 12 +- .../DestinationMilvusSchemasIndexingMode.java | 12 +- .../shared/DestinationMilvusSchemasMode.java | 12 +- ...estinationMilvusSchemasProcessingMode.java | 12 +- ...lvusSchemasProcessingTextSplitterMode.java | 12 +- ...rocessingTextSplitterTextSplitterMode.java | 12 +- .../shared/DestinationMilvusTextSplitter.java | 47 +- .../DestinationMilvusUsernamePassword.java | 21 +- .../api/models/shared/DestinationMongodb.java | 25 +- .../DestinationMongodbAuthorization.java | 12 +- .../shared/DestinationMongodbInstance.java | 12 +- .../shared/DestinationMongodbNoTunnel.java | 16 +- .../models/shared/DestinationMongodbNone.java | 16 +- ...tinationMongodbPasswordAuthentication.java | 45 +- ...estinationMongodbSSHKeyAuthentication.java | 45 +- .../DestinationMongodbSSHTunnelMethod.java | 47 +- ...estinationMongodbSchemasAuthorization.java | 12 +- .../DestinationMongodbSchemasInstance.java | 12 +- ...DestinationMongodbSchemasTunnelMethod.java | 12 +- ...ongodbSchemasTunnelMethodTunnelMethod.java | 12 +- .../DestinationMongodbTunnelMethod.java | 12 +- .../models/shared/DestinationMotherduck.java | 257 + .../api/models/shared/DestinationMssql.java | 114 +- .../shared/DestinationMssqlNoTunnel.java | 16 +- ...estinationMssqlPasswordAuthentication.java | 45 +- .../DestinationMssqlSSHKeyAuthentication.java | 45 +- .../DestinationMssqlSSHTunnelMethod.java | 47 +- .../DestinationMssqlSchemasSslMethod.java | 12 +- ...inationMssqlSchemasSslMethodSslMethod.java | 12 +- .../DestinationMssqlSchemasTunnelMethod.java | 12 +- ...nMssqlSchemasTunnelMethodTunnelMethod.java | 12 +- .../shared/DestinationMssqlSslMethod.java | 12 +- .../shared/DestinationMssqlTunnelMethod.java | 12 +- .../api/models/shared/DestinationMysql.java | 132 +- .../shared/DestinationMysqlNoTunnel.java | 16 +- ...estinationMysqlPasswordAuthentication.java | 45 +- .../DestinationMysqlSSHKeyAuthentication.java | 45 +- .../DestinationMysqlSSHTunnelMethod.java | 47 +- .../DestinationMysqlSchemasTunnelMethod.java | 12 +- ...nMysqlSchemasTunnelMethodTunnelMethod.java | 12 +- .../shared/DestinationMysqlTunnelMethod.java | 12 +- .../api/models/shared/DestinationOracle.java | 114 +- .../DestinationOracleEncryptionMethod.java | 12 +- .../shared/DestinationOracleNoTunnel.java | 16 +- ...stinationOraclePasswordAuthentication.java | 45 +- ...DestinationOracleSSHKeyAuthentication.java | 45 +- .../DestinationOracleSSHTunnelMethod.java | 47 +- ...tinationOracleSchemasEncryptionMethod.java | 12 +- .../DestinationOracleSchemasTunnelMethod.java | 12 +- ...OracleSchemasTunnelMethodTunnelMethod.java | 12 +- .../shared/DestinationOracleTunnelMethod.java | 12 +- .../shared/DestinationOracleUnencrypted.java | 17 +- .../shared/DestinationPatchRequest.java | 33 +- .../models/shared/DestinationPgvector.java | 45 +- .../DestinationPgvectorAzureOpenAI.java | 23 +- .../DestinationPgvectorByMarkdownHeader.java | 40 +- ...tinationPgvectorByProgrammingLanguage.java | 19 +- .../DestinationPgvectorBySeparator.java | 61 +- .../shared/DestinationPgvectorCohere.java | 19 +- .../DestinationPgvectorCredentials.java | 17 +- .../shared/DestinationPgvectorEmbedding.java | 55 +- .../shared/DestinationPgvectorFake.java | 17 +- ...onPgvectorFieldNameMappingConfigModel.java | 19 +- .../shared/DestinationPgvectorLanguage.java | 12 +- .../shared/DestinationPgvectorMode.java | 12 +- .../shared/DestinationPgvectorOpenAI.java | 19 +- .../DestinationPgvectorOpenAICompatible.java | 63 +- ...tinationPgvectorProcessingConfigModel.java | 103 +- ...gvectorSchemasEmbeddingEmbedding5Mode.java | 12 +- ...PgvectorSchemasEmbeddingEmbeddingMode.java | 12 +- ...stinationPgvectorSchemasEmbeddingMode.java | 12 +- .../DestinationPgvectorSchemasMode.java | 12 +- ...tinationPgvectorSchemasProcessingMode.java | 12 +- ...ctorSchemasProcessingTextSplitterMode.java | 12 +- ...rocessingTextSplitterTextSplitterMode.java | 12 +- .../DestinationPgvectorTextSplitter.java | 47 +- .../models/shared/DestinationPinecone.java | 45 +- .../DestinationPineconeAzureOpenAI.java | 23 +- .../DestinationPineconeByMarkdownHeader.java | 40 +- ...tinationPineconeByProgrammingLanguage.java | 19 +- .../DestinationPineconeBySeparator.java | 61 +- .../shared/DestinationPineconeCohere.java | 19 +- .../shared/DestinationPineconeEmbedding.java | 55 +- .../shared/DestinationPineconeFake.java | 17 +- ...onPineconeFieldNameMappingConfigModel.java | 19 +- .../shared/DestinationPineconeIndexing.java | 21 +- .../shared/DestinationPineconeLanguage.java | 12 +- .../shared/DestinationPineconeMode.java | 12 +- .../shared/DestinationPineconeOpenAI.java | 19 +- .../DestinationPineconeOpenAICompatible.java | 63 +- ...tinationPineconeProcessingConfigModel.java | 103 +- ...ineconeSchemasEmbeddingEmbedding5Mode.java | 12 +- ...PineconeSchemasEmbeddingEmbeddingMode.java | 12 +- ...stinationPineconeSchemasEmbeddingMode.java | 12 +- .../DestinationPineconeSchemasMode.java | 12 +- ...tinationPineconeSchemasProcessingMode.java | 12 +- ...coneSchemasProcessingTextSplitterMode.java | 12 +- ...rocessingTextSplitterTextSplitterMode.java | 12 +- .../DestinationPineconeTextSplitter.java | 47 +- .../models/shared/DestinationPostgres.java | 172 +- .../shared/DestinationPostgresMode.java | 12 +- .../shared/DestinationPostgresNoTunnel.java | 16 +- ...inationPostgresPasswordAuthentication.java | 45 +- ...stinationPostgresSSHKeyAuthentication.java | 45 +- .../DestinationPostgresSSHTunnelMethod.java | 47 +- .../DestinationPostgresSchemasMode.java | 12 +- ...onPostgresSchemasSSLModeSSLModes1Mode.java | 23 + ...onPostgresSchemasSSLModeSSLModes6Mode.java | 12 +- ...ionPostgresSchemasSSLModeSSLModesMode.java | 12 +- ...DestinationPostgresSchemasSslModeMode.java | 12 +- ...estinationPostgresSchemasTunnelMethod.java | 12 +- ...stgresSchemasTunnelMethodTunnelMethod.java | 12 +- .../DestinationPostgresTunnelMethod.java | 12 +- .../api/models/shared/DestinationPubsub.java | 122 +- .../models/shared/DestinationPutRequest.java | 19 +- .../api/models/shared/DestinationQdrant.java | 45 +- ...DestinationQdrantAuthenticationMethod.java | 43 +- .../shared/DestinationQdrantAzureOpenAI.java | 23 +- .../DestinationQdrantByMarkdownHeader.java | 40 +- ...estinationQdrantByProgrammingLanguage.java | 19 +- .../shared/DestinationQdrantBySeparator.java | 61 +- .../shared/DestinationQdrantCohere.java | 19 +- .../shared/DestinationQdrantEmbedding.java | 55 +- .../models/shared/DestinationQdrantFake.java | 17 +- ...tionQdrantFieldNameMappingConfigModel.java | 19 +- .../shared/DestinationQdrantIndexing.java | 65 +- .../shared/DestinationQdrantLanguage.java | 12 +- .../models/shared/DestinationQdrantMode.java | 12 +- .../shared/DestinationQdrantNoAuth.java | 17 +- .../shared/DestinationQdrantOpenAI.java | 19 +- .../DestinationQdrantOpenAICompatible.java | 63 +- ...estinationQdrantProcessingConfigModel.java | 103 +- ...nQdrantSchemasEmbeddingEmbedding5Mode.java | 12 +- ...onQdrantSchemasEmbeddingEmbeddingMode.java | 12 +- ...DestinationQdrantSchemasEmbeddingMode.java | 12 +- ...onQdrantSchemasIndexingAuthMethodMode.java | 12 +- .../DestinationQdrantSchemasIndexingMode.java | 12 +- .../shared/DestinationQdrantSchemasMode.java | 12 +- ...estinationQdrantSchemasProcessingMode.java | 12 +- ...rantSchemasProcessingTextSplitterMode.java | 12 +- ...rocessingTextSplitterTextSplitterMode.java | 12 +- .../shared/DestinationQdrantTextSplitter.java | 47 +- .../api/models/shared/DestinationRedis.java | 85 +- .../shared/DestinationRedisDisable.java | 17 +- .../models/shared/DestinationRedisMode.java | 12 +- .../shared/DestinationRedisNoTunnel.java | 16 +- ...estinationRedisPasswordAuthentication.java | 45 +- .../DestinationRedisSSHKeyAuthentication.java | 45 +- .../DestinationRedisSSHTunnelMethod.java | 47 +- .../shared/DestinationRedisSSLModes.java | 43 +- .../shared/DestinationRedisSchemasMode.java | 12 +- .../DestinationRedisSchemasTunnelMethod.java | 12 +- ...nRedisSchemasTunnelMethodTunnelMethod.java | 12 +- .../shared/DestinationRedisTunnelMethod.java | 12 +- .../shared/DestinationRedisVerifyFull.java | 38 +- .../models/shared/DestinationRedshift.java | 140 +- .../shared/DestinationRedshiftMethod.java | 12 +- .../shared/DestinationRedshiftNoTunnel.java | 16 +- ...inationRedshiftPasswordAuthentication.java | 45 +- .../DestinationRedshiftS3BucketRegion.java | 12 +- ...stinationRedshiftSSHKeyAuthentication.java | 45 +- .../DestinationRedshiftSSHTunnelMethod.java | 47 +- ...estinationRedshiftSchemasTunnelMethod.java | 12 +- ...dshiftSchemasTunnelMethodTunnelMethod.java | 12 +- .../DestinationRedshiftTunnelMethod.java | 12 +- .../models/shared/DestinationResponse.java | 84 +- .../api/models/shared/DestinationS3.java | 122 +- .../shared/DestinationS3AvroApacheAvro.java | 22 +- .../api/models/shared/DestinationS3Bzip2.java | 20 +- .../DestinationS3CSVCommaSeparatedValues.java | 24 +- .../api/models/shared/DestinationS3Codec.java | 12 +- .../shared/DestinationS3Compression.java | 43 +- .../shared/DestinationS3CompressionCodec.java | 59 +- .../shared/DestinationS3CompressionType.java | 12 +- .../models/shared/DestinationS3Deflate.java | 40 +- .../shared/DestinationS3Flattening.java | 12 +- .../shared/DestinationS3FormatType.java | 12 +- .../api/models/shared/DestinationS3GZIP.java | 20 +- .../api/models/shared/DestinationS3Glue.java | 111 +- .../shared/DestinationS3GlueCompression.java | 43 +- .../DestinationS3GlueCompressionType.java | 12 +- .../shared/DestinationS3GlueFormatType.java | 12 +- .../models/shared/DestinationS3GlueGZIP.java | 20 +- ...onS3GlueJSONLinesNewlineDelimitedJSON.java | 24 +- .../DestinationS3GlueNoCompression.java | 20 +- .../shared/DestinationS3GlueOutputFormat.java | 39 +- .../DestinationS3GlueS3BucketRegion.java | 12 +- ...stinationS3GlueSchemasCompressionType.java | 12 +- ...nationS3JSONLinesNewlineDelimitedJSON.java | 24 +- .../shared/DestinationS3NoCompression.java | 20 +- .../shared/DestinationS3OutputFormat.java | 51 +- .../DestinationS3ParquetColumnarStorage.java | 119 +- .../shared/DestinationS3S3BucketRegion.java | 12 +- .../shared/DestinationS3SchemasCodec.java | 12 +- .../DestinationS3SchemasCompression.java | 43 +- .../DestinationS3SchemasCompressionCodec.java | 12 +- .../DestinationS3SchemasCompressionType.java | 12 +- .../DestinationS3SchemasFlattening.java | 12 +- .../DestinationS3SchemasFormatCodec.java | 12 +- ...inationS3SchemasFormatCompressionType.java | 12 +- .../DestinationS3SchemasFormatFormatType.java | 12 +- ...stinationS3SchemasFormatNoCompression.java | 20 +- ...tionS3SchemasFormatOutputFormat3Codec.java | 12 +- ...matOutputFormat3CompressionCodecCodec.java | 12 +- ...ationS3SchemasFormatOutputFormatCodec.java | 12 +- ...emasFormatOutputFormatCompressionType.java | 12 +- ...S3SchemasFormatOutputFormatFormatType.java | 12 +- .../DestinationS3SchemasFormatType.java | 12 +- .../shared/DestinationS3SchemasGZIP.java | 20 +- .../DestinationS3SchemasNoCompression.java | 20 +- .../models/shared/DestinationS3Snappy.java | 20 +- .../api/models/shared/DestinationS3Xz.java | 40 +- .../models/shared/DestinationS3Zstandard.java | 60 +- .../models/shared/DestinationSftpJson.java | 47 +- .../models/shared/DestinationSnowflake.java | 123 +- .../shared/DestinationSnowflakeAuthType.java | 12 +- .../shared/DestinationSnowflakeCortex.java | 45 +- ...DestinationSnowflakeCortexAzureOpenAI.java | 23 +- ...nationSnowflakeCortexByMarkdownHeader.java | 40 +- ...nSnowflakeCortexByProgrammingLanguage.java | 19 +- ...DestinationSnowflakeCortexBySeparator.java | 61 +- .../DestinationSnowflakeCortexCohere.java | 19 +- ...DestinationSnowflakeCortexCredentials.java | 17 +- .../DestinationSnowflakeCortexEmbedding.java | 55 +- .../DestinationSnowflakeCortexFake.java | 17 +- ...lakeCortexFieldNameMappingConfigModel.java | 19 +- .../DestinationSnowflakeCortexLanguage.java | 12 +- .../DestinationSnowflakeCortexMode.java | 12 +- .../DestinationSnowflakeCortexOpenAI.java | 19 +- ...nationSnowflakeCortexOpenAICompatible.java | 63 +- ...nSnowflakeCortexProcessingConfigModel.java | 103 +- ...eCortexSchemasEmbeddingEmbedding5Mode.java | 12 +- ...keCortexSchemasEmbeddingEmbeddingMode.java | 12 +- ...onSnowflakeCortexSchemasEmbeddingMode.java | 12 +- ...DestinationSnowflakeCortexSchemasMode.java | 12 +- ...nSnowflakeCortexSchemasProcessingMode.java | 12 +- ...rtexSchemasProcessingTextSplitterMode.java | 12 +- ...rocessingTextSplitterTextSplitterMode.java | 12 +- ...estinationSnowflakeCortexTextSplitter.java | 47 +- .../shared/DestinationSnowflakeOAuth20.java | 51 +- .../DestinationSnowflakeSchemasAuthType.java | 12 +- ...onSnowflakeSchemasCredentialsAuthType.java | 12 +- .../shared/DestinationSnowflakeSnowflake.java | 12 +- .../models/shared/DestinationTeradata.java | 95 +- .../shared/DestinationTeradataAllow.java | 17 +- .../shared/DestinationTeradataDisable.java | 17 +- .../shared/DestinationTeradataMode.java | 12 +- .../shared/DestinationTeradataPrefer.java | 17 +- .../shared/DestinationTeradataRequire.java | 17 +- .../shared/DestinationTeradataSSLModes.java | 59 +- .../DestinationTeradataSchemasMode.java | 12 +- ...onTeradataSchemasSSLModeSSLModes5Mode.java | 12 +- ...onTeradataSchemasSSLModeSSLModes6Mode.java | 12 +- ...ionTeradataSchemasSSLModeSSLModesMode.java | 12 +- ...DestinationTeradataSchemasSslModeMode.java | 12 +- .../shared/DestinationTeradataVerifyCa.java | 19 +- .../shared/DestinationTeradataVerifyFull.java | 19 +- .../models/shared/DestinationTimeplus.java | 40 +- .../models/shared/DestinationTypesense.java | 81 +- .../api/models/shared/DestinationVectara.java | 106 +- .../models/shared/DestinationWeaviate.java | 45 +- .../shared/DestinationWeaviateAPIToken.java | 19 +- .../DestinationWeaviateAuthentication.java | 47 +- .../DestinationWeaviateAzureOpenAI.java | 23 +- .../DestinationWeaviateByMarkdownHeader.java | 40 +- ...tinationWeaviateByProgrammingLanguage.java | 19 +- .../DestinationWeaviateBySeparator.java | 61 +- .../shared/DestinationWeaviateCohere.java | 19 +- .../shared/DestinationWeaviateEmbedding.java | 63 +- .../shared/DestinationWeaviateFake.java | 17 +- ...onWeaviateFieldNameMappingConfigModel.java | 19 +- .../shared/DestinationWeaviateIndexing.java | 103 +- .../shared/DestinationWeaviateLanguage.java | 12 +- .../shared/DestinationWeaviateMode.java | 12 +- .../shared/DestinationWeaviateOpenAI.java | 19 +- .../DestinationWeaviateOpenAICompatible.java | 63 +- ...tinationWeaviateProcessingConfigModel.java | 103 +- ...eaviateSchemasEmbeddingEmbedding5Mode.java | 12 +- ...eaviateSchemasEmbeddingEmbedding6Mode.java | 12 +- ...eaviateSchemasEmbeddingEmbedding7Mode.java | 12 +- ...WeaviateSchemasEmbeddingEmbeddingMode.java | 12 +- ...stinationWeaviateSchemasEmbeddingMode.java | 12 +- ...SchemasIndexingAuthAuthenticationMode.java | 12 +- ...nationWeaviateSchemasIndexingAuthMode.java | 12 +- ...estinationWeaviateSchemasIndexingMode.java | 12 +- .../DestinationWeaviateSchemasMode.java | 12 +- ...tinationWeaviateSchemasProcessingMode.java | 12 +- ...iateSchemasProcessingTextSplitterMode.java | 12 +- ...rocessingTextSplitterTextSplitterMode.java | 12 +- .../DestinationWeaviateTextSplitter.java | 47 +- .../DestinationWeaviateUsernamePassword.java | 21 +- .../models/shared/DestinationYellowbrick.java | 119 +- .../shared/DestinationYellowbrickAllow.java | 17 +- .../shared/DestinationYellowbrickDisable.java | 17 +- .../shared/DestinationYellowbrickMode.java | 12 +- .../DestinationYellowbrickNoTunnel.java | 16 +- ...tionYellowbrickPasswordAuthentication.java | 45 +- .../shared/DestinationYellowbrickPrefer.java | 17 +- .../shared/DestinationYellowbrickRequire.java | 17 +- ...nationYellowbrickSSHKeyAuthentication.java | 45 +- ...DestinationYellowbrickSSHTunnelMethod.java | 47 +- .../DestinationYellowbrickSSLModes.java | 59 +- .../DestinationYellowbrickSchemasMode.java | 12 +- ...ellowbrickSchemasSSLModeSSLModes5Mode.java | 12 +- ...ellowbrickSchemasSSLModeSSLModes6Mode.java | 12 +- ...YellowbrickSchemasSSLModeSSLModesMode.java | 12 +- ...tinationYellowbrickSchemasSslModeMode.java | 12 +- ...inationYellowbrickSchemasTunnelMethod.java | 12 +- ...wbrickSchemasTunnelMethodTunnelMethod.java | 12 +- .../DestinationYellowbrickTunnelMethod.java | 12 +- .../DestinationYellowbrickVerifyCa.java | 34 +- .../DestinationYellowbrickVerifyFull.java | 38 +- .../models/shared/DestinationsResponse.java | 62 +- .../airbyte/api/models/shared/DetailType.java | 12 +- .../DetectChangesWithXminSystemColumn.java | 24 +- .../airbyte/api/models/shared/DevNull.java | 23 + .../airbyte/api/models/shared/Dimension.java | 12 +- .../api/models/shared/DimensionsFilter.java | 51 +- .../airbyte/api/models/shared/Disable.java | 27 +- .../airbyte/api/models/shared/Disabled.java | 16 +- .../api/models/shared/DistanceMetric.java | 12 +- .../com/airbyte/api/models/shared/Dixa.java | 12 +- .../airbyte/api/models/shared/Dockerhub.java | 12 +- .../DocumentFileTypeFormatExperimental.java | 44 +- .../com/airbyte/api/models/shared/Domain.java | 33 + .../api/models/shared/DomainRegionCode.java | 12 +- .../api/models/shared/DoubleValue.java | 19 +- .../com/airbyte/api/models/shared/Dremio.java | 12 +- .../com/airbyte/api/models/shared/Drift.java | 111 + ...Credentials.java => DriftCredentials.java} | 87 +- .../com/airbyte/api/models/shared/Drip.java | 23 + .../api/models/shared/DropboxSign.java | 23 + .../com/airbyte/api/models/shared/Duckdb.java | 12 +- .../api/models/shared/DynamoDBRegion.java | 12 +- .../airbyte/api/models/shared/Dynamodb.java | 12 +- .../airbyte/api/models/shared/EConomic.java | 23 + .../api/models/shared/EUBasedAccount.java | 17 +- .../airbyte/api/models/shared/Easypost.java | 23 + .../airbyte/api/models/shared/Easypromos.java | 23 + .../api/models/shared/Elasticemail.java | 23 + .../api/models/shared/Elasticsearch.java | 12 +- .../api/models/shared/Emailoctopus.java | 12 +- .../airbyte/api/models/shared/Embedding.java | 55 +- .../api/models/shared/EmploymentHero.java | 23 + .../airbyte/api/models/shared/Enabled.java | 38 +- .../airbyte/api/models/shared/Encharge.java | 23 + .../EncryptedTrustServerCertificate.java | 17 +- .../shared/EncryptedVerifyCertificate.java | 32 +- .../airbyte/api/models/shared/Encryption.java | 47 +- .../models/shared/EncryptionAlgorithm.java | 12 +- .../api/models/shared/EncryptionMethod.java | 12 +- .../models/shared/EngagementWindowDays.java | 11 +- .../airbyte/api/models/shared/Enterprise.java | 19 +- .../com/airbyte/api/models/shared/Entity.java | 25 + .../api/models/shared/Environment.java | 12 +- .../airbyte/api/models/shared/Eventbrite.java | 23 + .../airbyte/api/models/shared/Eventee.java | 23 + .../airbyte/api/models/shared/Eventzilla.java | 23 + .../api/models/shared/EveryNThEntry.java | 287 + .../api/models/shared/ExcelFormat.java | 17 +- .../api/models/shared/ExchangeRates.java | 12 +- .../airbyte/api/models/shared/Expression.java | 19 +- .../api/models/shared/ExternalTableViaS3.java | 24 +- .../api/models/shared/Ezofficeinventory.java | 12 +- .../api/models/shared/FacebookMarketing.java | 18 +- .../shared/FacebookMarketingCredentials.java | 45 +- .../airbyte/api/models/shared/Factorial.java | 23 + .../airbyte/api/models/shared/Failing.java | 214 + .../com/airbyte/api/models/shared/Fake.java | 17 +- .../com/airbyte/api/models/shared/Faker.java | 12 +- .../com/airbyte/api/models/shared/Fauna.java | 12 +- .../shared/FieldNameMappingConfigModel.java | 19 +- .../com/airbyte/api/models/shared/File.java | 12 +- .../models/shared/FileBasedStreamConfig.java | 100 +- .../airbyte/api/models/shared/FileFormat.java | 343 +- .../api/models/shared/FileStorageFormat.java | 24 + .../airbyte/api/models/shared/Filetype.java | 12 +- .../airbyte/api/models/shared/Fillout.java | 23 + .../com/airbyte/api/models/shared/Filter.java | 12 +- ...ueWhichWillBeAppendedOnTheRequestBody.java | 55 +- .../airbyte/api/models/shared/FilterName.java | 12 +- .../airbyte/api/models/shared/FilterType.java | 12 +- .../com/airbyte/api/models/shared/Finage.java | 23 + .../api/models/shared/FinancialModelling.java | 23 + .../airbyte/api/models/shared/Finnhub.java | 23 + .../airbyte/api/models/shared/Finnworlds.java | 23 + .../airbyte/api/models/shared/Firebolt.java | 12 +- .../api/models/shared/Firehydrant.java | 23 + .../airbyte/api/models/shared/Firestore.java | 12 +- .../api/models/shared/FirstNEntries.java | 244 + .../airbyte/api/models/shared/Flattening.java | 12 +- .../airbyte/api/models/shared/Fleetio.java | 12 +- .../airbyte/api/models/shared/Flexmail.java | 23 + .../airbyte/api/models/shared/Flexport.java | 23 + .../com/airbyte/api/models/shared/Float.java | 23 + .../com/airbyte/api/models/shared/Flowlu.java | 23 + .../com/airbyte/api/models/shared/Format.java | 55 +- .../airbyte/api/models/shared/FormatType.java | 12 +- .../api/models/shared/FormatTypeWildcard.java | 12 +- .../airbyte/api/models/shared/Formbricks.java | 23 + .../api/models/shared/FreeAgentConnector.java | 23 + .../api/models/shared/Freightview.java | 23 + .../airbyte/api/models/shared/Freshbooks.java | 23 + .../api/models/shared/Freshcaller.java | 12 +- .../airbyte/api/models/shared/Freshchat.java | 23 + .../airbyte/api/models/shared/Freshdesk.java | 12 +- .../airbyte/api/models/shared/Freshsales.java | 12 +- .../api/models/shared/Freshservice.java | 23 + .../airbyte/api/models/shared/FromCSV.java | 17 +- .../airbyte/api/models/shared/FromField.java | 22 +- .../airbyte/api/models/shared/FromValue.java | 43 +- .../com/airbyte/api/models/shared/Front.java | 12 +- .../airbyte/api/models/shared/Fulcrum.java | 23 + .../api/models/shared/GCSBucketRegion.java | 12 +- .../models/shared/GCSGoogleCloudStorage.java | 31 +- .../airbyte/api/models/shared/GCSStaging.java | 28 +- .../GCSTmpFilesAfterwardProcessing.java | 12 +- .../api/models/shared/GainsightPx.java | 12 +- .../com/airbyte/api/models/shared/Gcs.java | 112 +- ...neCredentials.java => GcsCredentials.java} | 87 +- .../api/models/shared/GeographyEnum.java | 12 +- .../models/shared/GeographyEnumNoDefault.java | 12 +- .../airbyte/api/models/shared/Getgist.java | 23 + .../airbyte/api/models/shared/Getlago.java | 12 +- .../airbyte/api/models/shared/Gitbook.java | 23 + .../com/airbyte/api/models/shared/Github.java | 18 +- .../api/models/shared/GithubCredentials.java | 45 +- .../com/airbyte/api/models/shared/Gitlab.java | 18 +- .../api/models/shared/GitlabCredentials.java | 45 +- .../airbyte/api/models/shared/Glassfrog.java | 12 +- .../api/models/shared/GlobalAccount.java | 17 +- .../api/models/shared/GlueCatalog.java | 193 + .../com/airbyte/api/models/shared/Gmail.java | 23 + .../com/airbyte/api/models/shared/Gnews.java | 12 +- .../shared/GoCardlessAPIEnvironment.java | 27 + .../airbyte/api/models/shared/Gocardless.java | 23 + .../airbyte/api/models/shared/Goldcast.java | 12 +- .../com/airbyte/api/models/shared/Gong.java | 23 + .../airbyte/api/models/shared/GoogleAds.java | 18 +- .../models/shared/GoogleAdsCredentials.java | 60 +- .../models/shared/GoogleAnalyticsDataApi.java | 18 +- .../GoogleAnalyticsDataApiCredentials.java | 45 +- .../api/models/shared/GoogleCalendar.java | 23 + .../api/models/shared/GoogleClassroom.java | 23 + .../api/models/shared/GoogleCredentials.java | 38 +- .../api/models/shared/GoogleDirectory.java | 12 +- .../api/models/shared/GoogleDrive.java | 18 +- .../models/shared/GoogleDriveCredentials.java | 45 +- .../api/models/shared/GoogleForms.java | 23 + .../shared/GooglePagespeedInsights.java | 12 +- .../models/shared/GoogleSearchConsole.java | 18 +- .../api/models/shared/GoogleSheets.java | 18 +- .../shared/GoogleSheetsCredentials.java | 45 +- .../api/models/shared/GoogleTasks.java | 12 +- .../api/models/shared/GoogleWebfonts.java | 12 +- .../airbyte/api/models/shared/Gorgias.java | 23 + .../api/models/shared/Granularity.java | 12 +- .../GranularityForGeoLocationRegion.java | 12 +- .../shared/GranularityForPeriodicReports.java | 12 +- .../airbyte/api/models/shared/Greenhouse.java | 12 +- .../com/airbyte/api/models/shared/Gridly.java | 12 +- .../airbyte/api/models/shared/GroupBy.java | 12 +- .../com/airbyte/api/models/shared/Guru.java | 12 +- .../airbyte/api/models/shared/Gutendex.java | 23 + .../com/airbyte/api/models/shared/Gzip.java | 20 +- .../airbyte/api/models/shared/HMACKey.java | 24 +- .../api/models/shared/HTTPSPublicWeb.java | 39 +- ...hicalFileSystemsAsSameAsStorageConfig.java | 193 + .../api/models/shared/HardcodedRecords.java | 12 +- .../airbyte/api/models/shared/Harvest.java | 12 +- .../com/airbyte/api/models/shared/Header.java | 19 +- .../models/shared/HeaderDefinitionType.java | 12 +- .../com/airbyte/api/models/shared/Height.java | 12 +- .../com/airbyte/api/models/shared/Hibob.java | 12 +- .../airbyte/api/models/shared/HighLevel.java | 12 +- .../HiveCatalogUseApacheHiveMetaStore.java | 232 + .../airbyte/api/models/shared/Hubplanner.java | 12 +- .../airbyte/api/models/shared/Hubspot.java | 18 +- .../api/models/shared/HubspotCredentials.java | 45 +- .../airbyte/api/models/shared/Humanitix.java | 23 + .../airbyte/api/models/shared/IAMRole.java | 19 +- .../airbyte/api/models/shared/IAMUser.java | 21 +- .../airbyte/api/models/shared/Iceberg.java | 23 + .../models/shared/IcebergCatalogConfig.java | 121 + .../api/models/shared/IlluminaBasespace.java | 23 + .../com/airbyte/api/models/shared/In.java | 12 +- .../api/models/shared/InListFilter.java | 49 +- .../airbyte/api/models/shared/IncidentIo.java | 23 + .../airbyte/api/models/shared/Indexing.java | 23 +- .../api/models/shared/Inflowinventory.java | 23 + .../models/shared/InitiateOauthRequest.java | 43 +- .../api/models/shared/InsightConfig.java | 175 +- .../airbyte/api/models/shared/Insightly.java | 12 +- .../airbyte/api/models/shared/Instagram.java | 45 +- .../airbyte/api/models/shared/Instance.java | 12 +- .../airbyte/api/models/shared/Instatus.java | 12 +- .../airbyte/api/models/shared/Int64Value.java | 18 +- .../airbyte/api/models/shared/Intercom.java | 45 +- .../airbyte/api/models/shared/Interval.java | 36 + .../InvalidCDCPositionBehaviorAdvanced.java | 12 +- .../airbyte/api/models/shared/Invoiced.java | 23 + .../api/models/shared/Invoiceninja.java | 23 + .../airbyte/api/models/shared/Ip2whois.java | 12 +- .../airbyte/api/models/shared/Iterable.java | 12 +- .../shared/JSONLinesNewlineDelimitedJSON.java | 22 +- .../JdbcCatalogUseRelationalDatabase.java | 494 + .../com/airbyte/api/models/shared/Jira.java | 12 +- .../api/models/shared/JobCreateRequest.java | 19 +- .../api/models/shared/JobResponse.java | 86 +- .../api/models/shared/JobStatusEnum.java | 12 +- .../api/models/shared/JobTypeEnum.java | 12 +- .../airbyte/api/models/shared/Jobnimbus.java | 23 + .../api/models/shared/JobsResponse.java | 62 +- .../airbyte/api/models/shared/Jotform.java | 12 +- .../api/models/shared/JsonlFormat.java | 17 +- .../airbyte/api/models/shared/JustSift.java | 23 + .../airbyte/api/models/shared/Justcall.java | 23 + .../airbyte/api/models/shared/K6Cloud.java | 12 +- .../com/airbyte/api/models/shared/Katana.java | 23 + .../models/shared/KeyPairAuthentication.java | 34 +- .../com/airbyte/api/models/shared/Kind.java | 27 + .../com/airbyte/api/models/shared/Kisi.java | 23 + .../api/models/shared/Kissmetrics.java | 23 + .../com/airbyte/api/models/shared/Klarna.java | 12 +- .../airbyte/api/models/shared/KlausApi.java | 23 + .../airbyte/api/models/shared/Klaviyo.java | 12 +- .../com/airbyte/api/models/shared/Kyve.java | 12 +- .../api/models/shared/LSNCommitBehaviour.java | 27 + .../com/airbyte/api/models/shared/Lang.java | 74 + .../airbyte/api/models/shared/Language.java | 37 +- .../api/models/shared/Launchdarkly.java | 12 +- .../airbyte/api/models/shared/Leadfeeder.java | 12 +- .../airbyte/api/models/shared/Lemlist.java | 12 +- .../api/models/shared/LessAnnoyingCrm.java | 23 + .../com/airbyte/api/models/shared/Level.java | 12 +- .../api/models/shared/LeverHiring.java | 18 +- .../models/shared/LeverHiringCredentials.java | 45 +- .../api/models/shared/LightspeedRetail.java | 23 + .../api/models/shared/LinkedinAds.java | 18 +- .../models/shared/LinkedinAdsCredentials.java | 45 +- .../api/models/shared/LinkedinPages.java | 12 +- .../airbyte/api/models/shared/Linnworks.java | 12 +- .../api/models/shared/LoadingMethod.java | 43 +- .../com/airbyte/api/models/shared/Lob.java | 23 + .../com/airbyte/api/models/shared/Local.java | 17 +- .../models/shared/LocalFilesystemLimited.java | 16 +- .../airbyte/api/models/shared/Logging.java | 213 + .../models/shared/LoggingConfiguration.java | 107 + .../api/models/shared/LoggingType.java | 23 + .../api/models/shared/LoginPassword.java | 20 +- .../airbyte/api/models/shared/Lokalise.java | 12 +- .../com/airbyte/api/models/shared/Looker.java | 12 +- .../com/airbyte/api/models/shared/Luma.java | 12 +- .../airbyte/api/models/shared/Mailchimp.java | 18 +- .../models/shared/MailchimpCredentials.java | 45 +- .../airbyte/api/models/shared/Mailerlite.java | 23 + .../airbyte/api/models/shared/Mailgun.java | 12 +- .../api/models/shared/MailjetMail.java | 23 + .../airbyte/api/models/shared/MailjetSms.java | 12 +- .../airbyte/api/models/shared/Mailosaur.java | 23 + .../airbyte/api/models/shared/Mailtrap.java | 23 + .../models/shared/MapperConfiguration.java | 64 + .../api/models/shared/MarketNewsCategory.java | 29 + .../airbyte/api/models/shared/Marketo.java | 12 +- .../api/models/shared/Marketstack.java | 23 + .../airbyte/api/models/shared/Mention.java | 23 + .../airbyte/api/models/shared/Metabase.java | 12 +- .../com/airbyte/api/models/shared/Method.java | 12 +- .../api/models/shared/MetricsFilter.java | 51 +- .../api/models/shared/MicrosoftDataverse.java | 23 + .../api/models/shared/MicrosoftEntraId.java | 23 + .../api/models/shared/MicrosoftLists.java | 23 + .../api/models/shared/MicrosoftOnedrive.java | 18 +- .../shared/MicrosoftOnedriveCredentials.java | 45 +- .../models/shared/MicrosoftSharepoint.java | 18 +- .../MicrosoftSharepointCredentials.java | 45 +- .../api/models/shared/MicrosoftTeams.java | 18 +- .../shared/MicrosoftTeamsCredentials.java | 45 +- .../com/airbyte/api/models/shared/Milvus.java | 12 +- .../com/airbyte/api/models/shared/Miro.java | 23 + .../airbyte/api/models/shared/Missive.java | 23 + .../com/airbyte/api/models/shared/Mixmax.java | 23 + .../airbyte/api/models/shared/Mixpanel.java | 12 +- .../com/airbyte/api/models/shared/Mode.java | 14 +- .../com/airbyte/api/models/shared/Monday.java | 18 +- .../api/models/shared/MondayCredentials.java | 45 +- .../api/models/shared/MongoDBAtlas.java | 22 +- .../models/shared/MongoDBAtlasReplicaSet.java | 446 + .../models/shared/MongoDbInstanceType.java | 47 +- .../airbyte/api/models/shared/Mongodb.java | 12 +- .../airbyte/api/models/shared/MongodbV2.java | 12 +- .../airbyte/api/models/shared/Motherduck.java | 23 + .../com/airbyte/api/models/shared/Mssql.java | 12 +- .../com/airbyte/api/models/shared/Mux.java | 23 + .../airbyte/api/models/shared/MyHours.java | 12 +- .../com/airbyte/api/models/shared/Mysql.java | 12 +- .../com/airbyte/api/models/shared/N8n.java | 23 + .../shared/NamespaceDefinitionEnum.java | 12 +- .../NamespaceDefinitionEnumNoDefault.java | 12 +- .../com/airbyte/api/models/shared/Nasa.java | 23 + .../shared/NativeNetworkEncryptionNNE.java | 22 +- .../airbyte/api/models/shared/Netsuite.java | 12 +- .../airbyte/api/models/shared/NewsApi.java | 23 + .../airbyte/api/models/shared/NewsdataIo.java | 23 + .../com/airbyte/api/models/shared/NoAuth.java | 17 +- .../api/models/shared/NoAuthentication.java | 17 +- .../api/models/shared/NoCompression.java | 20 +- .../models/shared/NoExternalEmbedding.java | 17 +- .../airbyte/api/models/shared/NoTunnel.java | 16 +- .../com/airbyte/api/models/shared/Nocrm.java | 23 + .../NonBreakingSchemaUpdatesBehaviorEnum.java | 12 +- ...ingSchemaUpdatesBehaviorEnumNoDefault.java | 12 +- .../com/airbyte/api/models/shared/None.java | 16 +- .../api/models/shared/Normalization.java | 12 +- .../shared/NormalizationFlattening.java | 12 +- .../api/models/shared/NorthpassLms.java | 12 +- .../api/models/shared/NotExpression.java | 19 +- .../com/airbyte/api/models/shared/Notion.java | 18 +- .../api/models/shared/NotionCredentials.java | 45 +- .../airbyte/api/models/shared/Nullable.java | 12 +- .../api/models/shared/NumericFilter.java | 33 +- .../airbyte/api/models/shared/Nutshell.java | 23 + .../com/airbyte/api/models/shared/Nylas.java | 12 +- .../airbyte/api/models/shared/Nytimes.java | 12 +- .../com/airbyte/api/models/shared/OAuth.java | 49 +- .../airbyte/api/models/shared/OAuth20.java | 22 +- .../api/models/shared/OAuth20Credentials.java | 19 +- .../models/shared/OAuth20WithPrivateKey.java | 24 +- .../api/models/shared/OAuth2AccessToken.java | 18 +- .../shared/OAuth2ConfidentialApplication.java | 22 +- .../api/models/shared/OAuth2Recommended.java | 20 +- .../api/models/shared/OAuthActorNames.java | 18 +- .../shared/OAuthCredentialsConfiguration.java | 234 +- .../models/shared/OauthAuthentication.java | 22 +- .../com/airbyte/api/models/shared/Okta.java | 12 +- .../airbyte/api/models/shared/Omnisend.java | 12 +- .../airbyte/api/models/shared/Oncehub.java | 23 + .../airbyte/api/models/shared/Onepagecrm.java | 23 + .../airbyte/api/models/shared/Onesignal.java | 12 +- .../airbyte/api/models/shared/Onfleet.java | 23 + .../com/airbyte/api/models/shared/OpenAI.java | 19 +- .../api/models/shared/OpenAICompatible.java | 63 +- .../airbyte/api/models/shared/OpenDataDc.java | 23 + .../com/airbyte/api/models/shared/Openaq.java | 23 + .../airbyte/api/models/shared/Openfda.java | 23 + .../api/models/shared/Openweather.java | 23 + .../airbyte/api/models/shared/Operator.java | 14 +- .../api/models/shared/OpinionStage.java | 23 + .../airbyte/api/models/shared/Opsgenie.java | 23 + .../api/models/shared/OptionTitle.java | 12 +- .../api/models/shared/OptionsList.java | 19 +- .../airbyte/api/models/shared/OrGroup.java | 31 +- .../com/airbyte/api/models/shared/Oracle.java | 12 +- .../com/airbyte/api/models/shared/Orb.java | 12 +- .../com/airbyte/api/models/shared/Orbit.java | 12 +- .../models/shared/OrganizationResponse.java | 21 +- .../models/shared/OrganizationsResponse.java | 30 +- ...ginDatacenterOfTheSurveyMonkeyAccount.java | 12 +- .../com/airbyte/api/models/shared/Oura.java | 23 + .../api/models/shared/OutbrainAmplify.java | 12 +- .../api/models/shared/OutputFormat.java | 43 +- .../models/shared/OutputFormatWildcard.java | 43 +- .../airbyte/api/models/shared/Outreach.java | 12 +- .../com/airbyte/api/models/shared/Oveit.java | 23 + .../shared/PabblySubscriptionsBilling.java | 23 + .../airbyte/api/models/shared/Pandadoc.java | 23 + .../airbyte/api/models/shared/Paperform.java | 23 + .../airbyte/api/models/shared/Papersign.java | 23 + .../com/airbyte/api/models/shared/Pardot.java | 23 + .../models/shared/ParquetColumnarStorage.java | 22 +- .../api/models/shared/ParquetFormat.java | 40 +- .../api/models/shared/ParsingStrategy.java | 12 +- .../models/shared/PasswordAuthentication.java | 45 +- .../api/models/shared/PaypalTransaction.java | 12 +- .../airbyte/api/models/shared/Paystack.java | 12 +- .../com/airbyte/api/models/shared/Pendo.java | 12 +- .../airbyte/api/models/shared/Pennylane.java | 12 +- .../PeriodUsedForMostPopularStreams.java | 11 +- .../shared/PermissionCreateRequest.java | 49 +- .../api/models/shared/PermissionResponse.java | 51 +- .../models/shared/PermissionResponseRead.java | 25 +- .../api/models/shared/PermissionScope.java | 12 +- .../api/models/shared/PermissionType.java | 14 +- .../shared/PermissionUpdateRequest.java | 17 +- .../models/shared/PermissionsResponse.java | 30 +- .../airbyte/api/models/shared/Persistiq.java | 12 +- .../airbyte/api/models/shared/Persona.java | 23 + .../models/shared/PersonalAccessToken.java | 18 +- .../airbyte/api/models/shared/PexelsApi.java | 12 +- .../airbyte/api/models/shared/Pgvector.java | 12 +- .../com/airbyte/api/models/shared/Picqer.java | 12 +- .../airbyte/api/models/shared/Pinecone.java | 12 +- .../airbyte/api/models/shared/Pinterest.java | 18 +- .../models/shared/PinterestCredentials.java | 45 +- .../airbyte/api/models/shared/Pipedrive.java | 12 +- .../airbyte/api/models/shared/Pipeliner.java | 23 + .../api/models/shared/PivotCategory.java | 12 +- .../api/models/shared/PivotalTracker.java | 23 + .../com/airbyte/api/models/shared/Piwik.java | 12 +- .../com/airbyte/api/models/shared/Plaid.java | 23 + .../api/models/shared/PlaidEnvironment.java | 28 + .../airbyte/api/models/shared/Planhat.java | 12 +- .../airbyte/api/models/shared/Plausible.java | 23 + .../com/airbyte/api/models/shared/Plugin.java | 26 + .../com/airbyte/api/models/shared/Pocket.java | 12 +- .../airbyte/api/models/shared/Pokeapi.java | 12 +- .../api/models/shared/PokemonName.java | 12 +- .../api/models/shared/PolygonStockApi.java | 12 +- .../airbyte/api/models/shared/Postgres.java | 12 +- .../api/models/shared/PostgresConnection.java | 112 +- .../airbyte/api/models/shared/Posthog.java | 12 +- .../api/models/shared/Postmarkapp.java | 12 +- .../com/airbyte/api/models/shared/Prefer.java | 17 +- .../airbyte/api/models/shared/Preferred.java | 16 +- .../airbyte/api/models/shared/Prestashop.java | 12 +- .../com/airbyte/api/models/shared/Pretix.java | 23 + .../airbyte/api/models/shared/Primetric.java | 23 + .../airbyte/api/models/shared/PrivateApp.java | 18 +- .../api/models/shared/PrivateToken.java | 19 +- .../airbyte/api/models/shared/Processing.java | 39 +- .../models/shared/ProcessingConfigModel.java | 103 +- .../api/models/shared/ProductCatalog.java | 12 +- .../api/models/shared/Productboard.java | 12 +- .../airbyte/api/models/shared/Productive.java | 12 +- .../api/models/shared/ProjectSecret.java | 19 +- .../models/shared/PublicPermissionType.java | 14 +- .../com/airbyte/api/models/shared/Pubsub.java | 12 +- .../com/airbyte/api/models/shared/Pypi.java | 12 +- .../com/airbyte/api/models/shared/Qdrant.java | 12 +- .../airbyte/api/models/shared/Qualaroo.java | 12 +- .../airbyte/api/models/shared/Queries.java | 21 +- .../airbyte/api/models/shared/Quickbooks.java | 23 + .../api/models/shared/RESTCatalog.java | 238 + .../com/airbyte/api/models/shared/Railz.java | 12 +- .../api/models/shared/RandomSampling.java | 373 + .../com/airbyte/api/models/shared/Range.java | 36 + .../api/models/shared/RdStationMarketing.java | 111 + ...a => RdStationMarketingAuthorization.java} | 87 +- .../shared/ReadChangesUsingBinaryLogCDC.java | 76 +- .../ReadChangesUsingChangeDataCaptureCDC.java | 80 +- .../ReadChangesUsingWriteAheadLogCDC.java | 711 ++ .../airbyte/api/models/shared/Recharge.java | 12 +- .../airbyte/api/models/shared/Recreation.java | 12 +- .../airbyte/api/models/shared/Recruitee.java | 12 +- .../airbyte/api/models/shared/Recurly.java | 12 +- .../com/airbyte/api/models/shared/Reddit.java | 12 +- .../com/airbyte/api/models/shared/Redis.java | 12 +- .../airbyte/api/models/shared/Redshift.java | 12 +- .../api/models/shared/Referralhero.java | 23 + .../com/airbyte/api/models/shared/Region.java | 12 +- .../airbyte/api/models/shared/Rentcast.java | 23 + .../api/models/shared/Repairshopr.java | 23 + .../airbyte/api/models/shared/ReplicaSet.java | 37 +- .../api/models/shared/ReplicateRecords.java | 91 + .../airbyte/api/models/shared/ReplyIo.java | 23 + .../api/models/shared/ReportConfig.java | 84 +- .../airbyte/api/models/shared/ReportName.java | 12 +- .../api/models/shared/ReportOptions.java | 34 +- .../models/shared/ReportRecordTypeEnum.java | 33 + .../api/models/shared/ReportRecordTypes.java | 38 - .../models/shared/ReportingDataObject.java | 12 +- .../airbyte/api/models/shared/Require.java | 17 +- .../airbyte/api/models/shared/Required.java | 16 +- .../airbyte/api/models/shared/Retently.java | 110 +- .../airbyte/api/models/shared/Revenuecat.java | 23 + .../api/models/shared/RevolutMerchant.java | 23 + .../airbyte/api/models/shared/RkiCovid.java | 12 +- .../airbyte/api/models/shared/Rocketlane.java | 23 + .../shared/RoleBasedAuthentication.java | 138 + .../airbyte/api/models/shared/Rollbar.java | 23 + .../com/airbyte/api/models/shared/Rootly.java | 23 + .../com/airbyte/api/models/shared/Rss.java | 12 +- .../com/airbyte/api/models/shared/Ruddr.java | 23 + .../com/airbyte/api/models/shared/S3.java | 12 +- .../models/shared/S3AmazonWebServices.java | 46 +- .../api/models/shared/S3BucketRegion.java | 12 +- .../com/airbyte/api/models/shared/S3Glue.java | 12 +- .../models/shared/SCPSecureCopyProtocol.java | 57 +- .../SFTPSecureFileTransferProtocol.java | 57 +- .../airbyte/api/models/shared/SQLInserts.java | 16 +- .../models/shared/SSHKeyAuthentication.java | 45 +- .../api/models/shared/SSHSecureShell.java | 57 +- .../api/models/shared/SSHTunnelMethod.java | 47 +- .../airbyte/api/models/shared/SSLMethod.java | 47 +- .../airbyte/api/models/shared/SSLModes.java | 59 +- .../api/models/shared/Safetyculture.java | 23 + .../com/airbyte/api/models/shared/SageHr.java | 23 + .../airbyte/api/models/shared/Salesflare.java | 23 + .../airbyte/api/models/shared/Salesforce.java | 45 +- .../airbyte/api/models/shared/Salesloft.java | 12 +- .../api/models/shared/SandboxAccessToken.java | 21 +- .../api/models/shared/SapFieldglass.java | 12 +- .../airbyte/api/models/shared/Savvycal.java | 12 +- .../ScanChangesWithUserDefinedCursor.java | 16 +- .../api/models/shared/ScheduleTypeEnum.java | 12 +- .../shared/ScheduleTypeWithBasicEnum.java | 12 +- .../api/models/shared/SchemeBasicAuth.java | 20 +- .../shared/SchemeClientCredentials.java | 50 +- .../airbyte/api/models/shared/ScopeType.java | 24 + .../airbyte/api/models/shared/Scryfall.java | 12 +- .../api/models/shared/SearchCriteria.java | 12 +- .../airbyte/api/models/shared/SearchIn.java | 25 + .../api/models/shared/SearchScope.java | 12 +- .../com/airbyte/api/models/shared/Secoda.java | 12 +- .../airbyte/api/models/shared/Security.java | 35 +- .../airbyte/api/models/shared/Segment.java | 23 + .../api/models/shared/SelectedFieldInfo.java | 37 +- .../models/shared/SelfManagedReplicaSet.java | 482 + .../airbyte/api/models/shared/Sendgrid.java | 12 +- .../airbyte/api/models/shared/Sendinblue.java | 12 +- .../airbyte/api/models/shared/Sendowl.java | 23 + .../airbyte/api/models/shared/Sendpulse.java | 23 + .../airbyte/api/models/shared/Senseforce.java | 12 +- .../com/airbyte/api/models/shared/Sentry.java | 12 +- .../models/shared/SerializationLibrary.java | 12 +- .../api/models/shared/ServerManaged.java | 166 + .../api/models/shared/ServiceAccount.java | 24 +- .../shared/ServiceAccountAuthentication.java | 127 + .../api/models/shared/ServiceAccountKey.java | 21 +- .../ServiceAccountKeyAuthentication.java | 19 +- .../shared/ServiceKeyAuthentication.java | 25 +- .../api/models/shared/ServiceName.java | 19 +- .../api/models/shared/Sevenshifts.java | 12 +- .../com/airbyte/api/models/shared/Sftp.java | 12 +- .../airbyte/api/models/shared/SftpBulk.java | 12 +- .../airbyte/api/models/shared/SftpJson.java | 12 +- ...areTypeUsedForMostPopularSharedStream.java | 12 +- .../airbyte/api/models/shared/Sharetribe.java | 23 + .../com/airbyte/api/models/shared/Shippo.java | 23 + .../airbyte/api/models/shared/Shopify.java | 18 +- .../shared/ShopifyAuthorizationMethod.java | 43 +- .../api/models/shared/ShopifyCredentials.java | 45 +- .../airbyte/api/models/shared/Shortcut.java | 12 +- .../airbyte/api/models/shared/Shortio.java | 12 +- .../api/models/shared/SigmaComputing.java | 23 + .../models/shared/SignInViaGoogleOAuth.java | 23 +- .../shared/SignInViaRDStationOAuth.java | 267 + .../models/shared/SignInViaSlackOAuth.java | 22 +- .../com/airbyte/api/models/shared/Silent.java | 171 + .../com/airbyte/api/models/shared/Simfin.java | 23 + .../airbyte/api/models/shared/Simplecast.java | 23 + .../airbyte/api/models/shared/Simplesat.java | 23 + .../models/shared/SingleStoreAccessToken.java | 20 +- .../com/airbyte/api/models/shared/Site.java | 12 +- .../com/airbyte/api/models/shared/Slack.java | 18 +- .../api/models/shared/SlackCredentials.java | 45 +- .../com/airbyte/api/models/shared/Smaily.java | 12 +- .../api/models/shared/Smartengage.java | 12 +- .../airbyte/api/models/shared/Smartreach.java | 23 + .../api/models/shared/Smartsheets.java | 18 +- .../models/shared/SmartsheetsCredentials.java | 45 +- .../api/models/shared/Smartwaiver.java | 23 + .../api/models/shared/SnapchatMarketing.java | 45 +- .../com/airbyte/api/models/shared/Snappy.java | 20 +- .../airbyte/api/models/shared/Snowflake.java | 18 +- .../models/shared/SnowflakeConnection.java | 29 +- .../api/models/shared/SnowflakeCortex.java | 12 +- .../models/shared/SnowflakeCredentials.java | 45 +- .../models/shared/SolarwindsServiceDesk.java | 23 + .../airbyte/api/models/shared/SonarCloud.java | 12 +- .../com/airbyte/api/models/shared/SortBy.java | 23 +- .../api/models/shared/Source7shifts.java | 22 +- .../models/shared/SourceActivecampaign.java | 162 + .../api/models/shared/SourceAgilecrm.java | 203 + .../airbyte/api/models/shared/SourceAha.java | 20 +- .../api/models/shared/SourceAirbyte.java | 24 +- .../api/models/shared/SourceAircall.java | 24 +- .../api/models/shared/SourceAirtable.java | 19 +- .../models/shared/SourceAirtableAirtable.java | 12 +- .../shared/SourceAirtableAuthMethod.java | 12 +- .../shared/SourceAirtableAuthentication.java | 43 +- .../models/shared/SourceAirtableOAuth20.java | 55 +- .../SourceAirtablePersonalAccessToken.java | 19 +- .../SourceAirtableSchemasAuthMethod.java | 12 +- .../api/models/shared/SourceAkeneo.java | 261 + .../api/models/shared/SourceAlgolia.java | 327 + .../api/models/shared/SourceAmazonAds.java | 146 +- .../shared/SourceAmazonAdsAmazonAds.java | 12 +- .../shared/SourceAmazonAdsAuthType.java | 12 +- .../shared/SourceAmazonSellerPartner.java | 127 +- ...mazonSellerPartnerAmazonSellerPartner.java | 12 +- .../SourceAmazonSellerPartnerAuthType.java | 12 +- .../api/models/shared/SourceAmazonSqs.java | 134 +- .../shared/SourceAmazonSqsAWSRegion.java | 12 +- .../api/models/shared/SourceAmplitude.java | 122 +- .../api/models/shared/SourceApifyDataset.java | 20 +- .../api/models/shared/SourceAppcues.java | 39 +- .../api/models/shared/SourceAppfigures.java | 47 +- .../api/models/shared/SourceAppfollow.java | 31 +- .../models/shared/SourceAppleSearchAds.java | 316 + .../api/models/shared/SourceApptivo.java | 150 + .../api/models/shared/SourceAsana.java | 41 +- .../api/models/shared/SourceAsanaAsana.java | 12 +- .../shared/SourceAsanaCredentialsTitle.java | 12 +- .../SourceAsanaSchemasCredentialsTitle.java | 12 +- .../api/models/shared/SourceAshby.java | 162 + .../api/models/shared/SourceAuth0.java | 42 +- .../SourceAuth0AuthenticationMethod.java | 43 +- ...ourceAuth0SchemasAuthenticationMethod.java | 12 +- ...chemasCredentialsAuthenticationMethod.java | 12 +- .../models/shared/SourceAwsCloudtrail.java | 60 +- .../models/shared/SourceAzureBlobStorage.java | 71 +- .../SourceAzureBlobStorageAuthType.java | 12 +- .../SourceAzureBlobStorageAuthentication.java | 43 +- ...ourceAzureBlobStorageAzureBlobStorage.java | 12 +- .../SourceAzureBlobStorageFiletype.java | 12 +- ...eAzureBlobStorageHeaderDefinitionType.java | 12 +- .../shared/SourceAzureBlobStorageMode.java | 12 +- ...SourceAzureBlobStorageSchemasAuthType.java | 12 +- ...SourceAzureBlobStorageSchemasFiletype.java | 12 +- ...lobStorageSchemasHeaderDefinitionType.java | 12 +- ...zureBlobStorageSchemasStreamsFiletype.java | 12 +- ...obStorageSchemasStreamsFormatFiletype.java | 12 +- .../api/models/shared/SourceAzureTable.java | 42 +- .../api/models/shared/SourceBambooHr.java | 75 +- .../api/models/shared/SourceBasecamp.java | 29 +- .../api/models/shared/SourceBeamer.java | 139 + .../api/models/shared/SourceBigmailer.java | 121 + .../api/models/shared/SourceBigquery.java | 35 +- .../models/shared/SourceBigqueryBigquery.java | 12 +- .../api/models/shared/SourceBingAds.java | 142 +- .../models/shared/SourceBingAdsBingAds.java | 12 +- .../api/models/shared/SourceBitly.java | 24 +- .../api/models/shared/SourceBlogger.java | 167 + .../airbyte/api/models/shared/SourceBox.java | 168 + .../api/models/shared/SourceBraintree.java | 41 +- .../shared/SourceBraintreeEnvironment.java | 12 +- .../api/models/shared/SourceBraze.java | 22 +- .../api/models/shared/SourceBreezyHr.java | 20 +- .../api/models/shared/SourceBrevo.java | 22 +- .../airbyte/api/models/shared/SourceBrex.java | 151 + .../api/models/shared/SourceBugsnag.java | 151 + .../api/models/shared/SourceBuildkite.java | 22 +- .../api/models/shared/SourceBunnyInc.java | 202 + .../api/models/shared/SourceBuzzsprout.java | 24 +- .../api/models/shared/SourceCalCom.java | 150 + .../api/models/shared/SourceCalendly.java | 22 +- .../api/models/shared/SourceCallrail.java | 203 + .../models/shared/SourceCampaignMonitor.java | 219 + .../api/models/shared/SourceCampayn.java | 150 + .../api/models/shared/SourceCanny.java | 18 +- .../api/models/shared/SourceCapsuleCrm.java | 180 + .../shared/SourceCareQualityCommission.java | 121 + .../airbyte/api/models/shared/SourceCart.java | 21 +- .../api/models/shared/SourceCartAuthType.java | 12 +- .../shared/SourceCartAuthorizationMethod.java | 43 +- .../shared/SourceCartSchemasAuthType.java | 12 +- .../api/models/shared/SourceCastorEdc.java | 272 + .../api/models/shared/SourceChameleon.java | 91 +- .../api/models/shared/SourceChargebee.java | 102 +- .../api/models/shared/SourceChargedesk.java | 220 + .../api/models/shared/SourceChargify.java | 243 + .../api/models/shared/SourceChartmogul.java | 22 +- .../api/models/shared/SourceCimis.java | 87 +- .../airbyte/api/models/shared/SourceCin7.java | 162 + .../api/models/shared/SourceCirca.java | 151 + .../api/models/shared/SourceCircleci.java | 489 + .../api/models/shared/SourceClarifAi.java | 180 + .../api/models/shared/SourceClazar.java | 20 +- .../api/models/shared/SourceClickhouse.java | 98 +- .../shared/SourceClickhouseClickhouse.java | 12 +- .../shared/SourceClickhouseNoTunnel.java | 16 +- ...ourceClickhousePasswordAuthentication.java | 45 +- .../SourceClickhouseSSHKeyAuthentication.java | 45 +- .../SourceClickhouseSSHTunnelMethod.java | 47 +- .../SourceClickhouseSchemasTunnelMethod.java | 12 +- ...khouseSchemasTunnelMethodTunnelMethod.java | 12 +- .../shared/SourceClickhouseTunnelMethod.java | 12 +- .../api/models/shared/SourceClickupApi.java | 41 +- .../api/models/shared/SourceClockify.java | 42 +- .../api/models/shared/SourceClockodo.java | 314 + .../api/models/shared/SourceCloseCom.java | 40 +- .../api/models/shared/SourceCloudbeds.java | 109 + .../api/models/shared/SourceCoassemble.java | 138 + .../airbyte/api/models/shared/SourceCoda.java | 18 +- .../api/models/shared/SourceCodefresh.java | 266 + .../api/models/shared/SourceCoinApi.java | 65 +- .../models/shared/SourceCoinmarketcap.java | 42 +- .../api/models/shared/SourceConcord.java | 150 + .../shared/SourceConcordEnvironment.java | 27 + .../api/models/shared/SourceConfigcat.java | 20 +- .../models/shared/SourceConfiguration.java | 2498 ++++- .../api/models/shared/SourceConfluence.java | 22 +- .../api/models/shared/SourceConvertkit.java | 121 + .../api/models/shared/SourceConvex.java | 20 +- .../api/models/shared/SourceConvexConvex.java | 12 +- .../api/models/shared/SourceCopper.java | 162 + .../models/shared/SourceCountercyclical.java | 109 + .../models/shared/SourceCreateRequest.java | 51 +- .../api/models/shared/SourceCustomerIo.java | 18 +- .../api/models/shared/SourceDatadog.java | 120 +- .../api/models/shared/SourceDatascope.java | 20 +- .../airbyte/api/models/shared/SourceDbt.java | 20 +- .../api/models/shared/SourceDelighted.java | 22 +- .../api/models/shared/SourceDeputy.java | 150 + .../airbyte/api/models/shared/SourceDixa.java | 45 +- .../api/models/shared/SourceDockerhub.java | 18 +- .../api/models/shared/SourceDremio.java | 40 +- .../api/models/shared/SourceDrift.java | 199 + .../SourceDriftAuthorizationMethod.java | 97 + .../models/shared/SourceDriftCredentials.java | 23 + .../api/models/shared/SourceDriftDrift.java | 23 + .../api/models/shared/SourceDriftOAuth20.java | 250 + .../shared/SourceDriftSchemasCredentials.java | 23 + .../airbyte/api/models/shared/SourceDrip.java | 121 + .../api/models/shared/SourceDropboxSign.java | 151 + .../api/models/shared/SourceDynamodb.java | 96 +- .../models/shared/SourceDynamodbAuthType.java | 23 + .../shared/SourceDynamodbCredentials.java | 100 + .../models/shared/SourceDynamodbDynamodb.java | 12 +- .../shared/SourceDynamodbDynamodbRegion.java | 12 +- .../shared/SourceDynamodbSchemasAuthType.java | 23 + .../api/models/shared/SourceEConomic.java | 162 + .../api/models/shared/SourceEasypost.java | 151 + .../api/models/shared/SourceEasypromos.java | 109 + .../api/models/shared/SourceElasticemail.java | 234 + .../api/models/shared/SourceEmailoctopus.java | 18 +- .../models/shared/SourceEmploymentHero.java | 242 + .../api/models/shared/SourceEncharge.java | 121 + .../api/models/shared/SourceEventbrite.java | 151 + .../api/models/shared/SourceEventee.java | 121 + .../api/models/shared/SourceEventzilla.java | 121 + .../models/shared/SourceExchangeRates.java | 58 +- .../shared/SourceEzofficeinventory.java | 24 +- .../shared/SourceFacebookMarketing.java | 244 +- ...urceFacebookMarketingActionReportTime.java | 12 +- .../SourceFacebookMarketingAuthType.java | 12 +- ...SourceFacebookMarketingAuthentication.java | 43 +- ...rceFacebookMarketingFacebookMarketing.java | 12 +- ...ourceFacebookMarketingSchemasAuthType.java | 12 +- .../SourceFacebookMarketingValidEnums.java | 12 +- .../api/models/shared/SourceFactorial.java | 216 + .../api/models/shared/SourceFaker.java | 116 +- .../api/models/shared/SourceFauna.java | 82 +- .../shared/SourceFaunaDeletionMode.java | 12 +- .../SourceFaunaSchemasDeletionMode.java | 12 +- .../airbyte/api/models/shared/SourceFile.java | 65 +- .../models/shared/SourceFileFileFormat.java | 34 + .../SourceFileSchemasProviderStorage.java | 12 +- ...chemasProviderStorageProvider6Storage.java | 12 +- ...chemasProviderStorageProvider7Storage.java | 12 +- ...chemasProviderStorageProvider8Storage.java | 12 +- ...SchemasProviderStorageProviderStorage.java | 12 +- .../shared/SourceFileSchemasStorage.java | 12 +- .../api/models/shared/SourceFileStorage.java | 12 +- .../api/models/shared/SourceFillout.java | 151 + .../api/models/shared/SourceFinage.java | 505 + .../shared/SourceFinancialModelling.java | 407 + .../api/models/shared/SourceFinnhub.java | 331 + .../api/models/shared/SourceFinnworlds.java | 514 + .../api/models/shared/SourceFirebolt.java | 41 +- .../models/shared/SourceFireboltFirebolt.java | 12 +- .../api/models/shared/SourceFirehydrant.java | 121 + .../api/models/shared/SourceFleetio.java | 20 +- .../api/models/shared/SourceFlexmail.java | 162 + .../api/models/shared/SourceFlexport.java | 139 + .../api/models/shared/SourceFloat.java | 151 + .../api/models/shared/SourceFlowlu.java | 150 + .../api/models/shared/SourceFormbricks.java | 121 + .../shared/SourceFreeAgentConnector.java | 263 + .../api/models/shared/SourceFreightview.java | 138 + .../api/models/shared/SourceFreshbooks.java | 388 + .../api/models/shared/SourceFreshcaller.java | 68 +- .../api/models/shared/SourceFreshchat.java | 180 + .../api/models/shared/SourceFreshdesk.java | 75 +- .../api/models/shared/SourceFreshsales.java | 20 +- .../api/models/shared/SourceFreshservice.java | 204 + .../api/models/shared/SourceFront.java | 44 +- .../api/models/shared/SourceFulcrum.java | 121 + .../api/models/shared/SourceGainsightPx.java | 18 +- .../airbyte/api/models/shared/SourceGcs.java | 100 +- .../api/models/shared/SourceGcsAuthType.java | 23 + .../shared/SourceGcsAuthentication.java | 100 + .../models/shared/SourceGcsAutogenerated.java | 17 +- .../models/shared/SourceGcsAvroFormat.java | 40 +- .../api/models/shared/SourceGcsCSVFormat.java | 252 +- .../shared/SourceGcsCSVHeaderDefinition.java | 47 +- .../SourceGcsFileBasedStreamConfig.java | 115 +- .../api/models/shared/SourceGcsFiletype.java | 12 +- .../api/models/shared/SourceGcsFormat.java | 59 +- .../api/models/shared/SourceGcsFromCSV.java | 17 +- .../api/models/shared/SourceGcsGcs.java | 12 +- .../shared/SourceGcsHeaderDefinitionType.java | 12 +- .../models/shared/SourceGcsJsonlFormat.java | 17 +- .../api/models/shared/SourceGcsLocal.java | 17 +- .../api/models/shared/SourceGcsMode.java | 12 +- .../models/shared/SourceGcsParquetFormat.java | 40 +- .../shared/SourceGcsParsingStrategy.java | 12 +- .../models/shared/SourceGcsProcessing.java | 43 +- .../shared/SourceGcsSchemasAuthType.java | 23 + .../shared/SourceGcsSchemasFiletype.java | 12 +- .../SourceGcsSchemasHeaderDefinitionType.java | 12 +- .../models/shared/SourceGcsSchemasMode.java | 12 +- .../SourceGcsSchemasStreamsFiletype.java | 12 +- ...SourceGcsSchemasStreamsFormatFiletype.java | 12 +- ...csSchemasStreamsFormatFormat6Filetype.java | 12 +- ...GcsSchemasStreamsFormatFormatFiletype.java | 12 +- ...GcsSchemasStreamsHeaderDefinitionType.java | 12 +- .../models/shared/SourceGcsUserProvided.java | 32 +- .../shared/SourceGcsValidationPolicy.java | 12 +- .../api/models/shared/SourceGetgist.java | 121 + .../api/models/shared/SourceGetlago.java | 40 +- .../api/models/shared/SourceGitbook.java | 150 + .../api/models/shared/SourceGithub.java | 115 +- .../shared/SourceGithubAuthentication.java | 43 +- .../api/models/shared/SourceGithubGithub.java | 12 +- .../shared/SourceGithubOptionTitle.java | 12 +- .../SourceGithubPersonalAccessToken.java | 19 +- .../api/models/shared/SourceGitlab.java | 99 +- .../models/shared/SourceGitlabAuthType.java | 12 +- .../SourceGitlabAuthorizationMethod.java | 43 +- .../api/models/shared/SourceGitlabGitlab.java | 12 +- .../models/shared/SourceGitlabOAuth20.java | 29 +- .../shared/SourceGitlabSchemasAuthType.java | 12 +- .../api/models/shared/SourceGlassfrog.java | 18 +- .../api/models/shared/SourceGmail.java | 246 + .../api/models/shared/SourceGnews.java | 465 +- .../api/models/shared/SourceGnewsCountry.java | 55 + .../models/shared/SourceGnewsLanguage.java | 44 + .../api/models/shared/SourceGnewsSortBy.java | 31 + .../api/models/shared/SourceGocardless.java | 299 + .../api/models/shared/SourceGoldcast.java | 18 +- .../airbyte/api/models/shared/SourceGong.java | 231 + .../api/models/shared/SourceGoogleAds.java | 128 +- .../shared/SourceGoogleAdsGoogleAds.java | 12 +- .../shared/SourceGoogleAnalyticsDataApi.java | 152 +- .../SourceGoogleAnalyticsDataApiAndGroup.java | 31 +- .../SourceGoogleAnalyticsDataApiAuthType.java | 12 +- ...icsDataApiAuthenticateViaGoogleOauth.java} | 60 +- ...ceGoogleAnalyticsDataApiBetweenFilter.java | 20 +- ...urceGoogleAnalyticsDataApiCredentials.java | 47 +- ...gleAnalyticsDataApiCustomReportConfig.java | 57 +- .../SourceGoogleAnalyticsDataApiDisabled.java | 17 +- ...urceGoogleAnalyticsDataApiDoubleValue.java | 19 +- .../SourceGoogleAnalyticsDataApiEnabled.java | 12 +- ...ourceGoogleAnalyticsDataApiExpression.java | 19 +- .../SourceGoogleAnalyticsDataApiFilter.java | 21 +- ...ourceGoogleAnalyticsDataApiFilterName.java | 12 +- ...ourceGoogleAnalyticsDataApiFilterType.java | 12 +- ...SourceGoogleAnalyticsDataApiFromValue.java | 43 +- ...nalyticsDataApiGoogleAnalyticsDataApi.java | 12 +- ...urceGoogleAnalyticsDataApiGranularity.java | 12 +- ...rceGoogleAnalyticsDataApiInListFilter.java | 49 +- ...ourceGoogleAnalyticsDataApiInt64Value.java | 18 +- ...ceGoogleAnalyticsDataApiNotExpression.java | 19 +- ...ceGoogleAnalyticsDataApiNumericFilter.java | 33 +- .../SourceGoogleAnalyticsDataApiOrGroup.java | 31 +- ...GoogleAnalyticsDataApiSchemasAuthType.java | 12 +- ...eAnalyticsDataApiSchemasBetweenFilter.java | 20 +- ...chemasCustomReportsArrayBetweenFilter.java | 20 +- ...ortsArrayDimensionFilterBetweenFilter.java | 20 +- ...ionFilterDimensionsFilter1DoubleValue.java | 19 +- ...mensionsFilter1ExpressionsDoubleValue.java | 19 +- ...nsFilter1ExpressionsFilterDoubleValue.java | 19 +- ...ressionsFilterFilter4ToValueValueType.java | 12 +- ...ter1ExpressionsFilterFilter4ValueType.java | 12 +- ...ter1ExpressionsFilterFilterFilterName.java | 12 +- ...onsFilter1ExpressionsFilterFilterName.java | 12 +- ...lter1ExpressionsFilterFilterValueType.java | 12 +- ...onsFilter1ExpressionsFilterInt64Value.java | 18 +- ...imensionsFilter1ExpressionsFilterName.java | 12 +- ...ionsFilter1ExpressionsFilterValueType.java | 12 +- ...imensionsFilter1ExpressionsInt64Value.java | 18 +- ...imensionsFilter1ExpressionsValidEnums.java | 12 +- ...DimensionsFilter1ExpressionsValueType.java | 12 +- ...sionFilterDimensionsFilter1FilterName.java | 12 +- ...sionFilterDimensionsFilter1Int64Value.java | 18 +- ...sionFilterDimensionsFilter1ValidEnums.java | 12 +- ...nsionFilterDimensionsFilter1ValueType.java | 12 +- ...ionFilterDimensionsFilter2DoubleValue.java | 19 +- ...ressionsFilterFilter4ToValueValueType.java | 12 +- ...ter2ExpressionsFilterFilter4ValueType.java | 12 +- ...lter2ExpressionsFilterFilterValueType.java | 12 +- ...imensionsFilter2ExpressionsFilterName.java | 12 +- ...ionsFilter2ExpressionsFilterValueType.java | 12 +- ...DimensionsFilter2ExpressionsValueType.java | 12 +- ...sionFilterDimensionsFilter2FilterName.java | 12 +- ...sionFilterDimensionsFilter2Int64Value.java | 18 +- ...sionFilterDimensionsFilter2ValidEnums.java | 12 +- ...nsionFilterDimensionsFilter2ValueType.java | 12 +- ...ionFilterDimensionsFilter3DoubleValue.java | 19 +- ...imensionsFilter3ExpressionDoubleValue.java | 19 +- ...onsFilter3ExpressionFilterDoubleValue.java | 19 +- ...pressionFilterFilter4ToValueValueType.java | 12 +- ...lter3ExpressionFilterFilter4ValueType.java | 12 +- ...lter3ExpressionFilterFilterFilterName.java | 12 +- ...ionsFilter3ExpressionFilterFilterName.java | 12 +- ...ilter3ExpressionFilterFilterValueType.java | 12 +- ...ionsFilter3ExpressionFilterInt64Value.java | 18 +- ...DimensionsFilter3ExpressionFilterName.java | 12 +- ...sionsFilter3ExpressionFilterValueType.java | 12 +- ...DimensionsFilter3ExpressionInt64Value.java | 18 +- ...rDimensionsFilter3ExpressionValueType.java | 12 +- ...imensionFilterDimensionsFilter3Filter.java | 51 +- ...sionFilterDimensionsFilter3FilterName.java | 12 +- ...sionFilterDimensionsFilter3Int64Value.java | 18 +- ...sionFilterDimensionsFilter3ValidEnums.java | 12 +- ...nsionFilterDimensionsFilter3ValueType.java | 12 +- ...sionFilterDimensionsFilterDoubleValue.java | 19 +- ...DimensionFilterDimensionsFilterFilter.java | 51 +- ...nsionFilterDimensionsFilterFilterName.java | 12 +- ...nsionFilterDimensionsFilterInt64Value.java | 18 +- ...nsionFilterDimensionsFilterValidEnums.java | 12 +- ...ensionFilterDimensionsFilterValueType.java | 12 +- ...eportsArrayDimensionFilterDoubleValue.java | 19 +- ...stomReportsArrayDimensionFilterFilter.java | 51 +- ...ReportsArrayDimensionFilterFilterName.java | 12 +- ...mReportsArrayDimensionFilterFromValue.java | 43 +- ...portsArrayDimensionFilterInListFilter.java | 49 +- ...ReportsArrayDimensionFilterInt64Value.java | 18 +- ...ortsArrayDimensionFilterNumericFilter.java | 33 +- ...portsArrayDimensionFilterStringFilter.java | 56 +- ...tomReportsArrayDimensionFilterToValue.java | 43 +- ...ReportsArrayDimensionFilterValidEnums.java | 12 +- ...ustomReportsArrayDimensionFilterValue.java | 43 +- ...mReportsArrayDimensionFilterValueType.java | 12 +- ...iSchemasCustomReportsArrayDoubleValue.java | 19 +- ...taApiSchemasCustomReportsArrayEnabled.java | 12 +- ...piSchemasCustomReportsArrayExpression.java | 19 +- ...ataApiSchemasCustomReportsArrayFilter.java | 51 +- ...piSchemasCustomReportsArrayFilterName.java | 12 +- ...piSchemasCustomReportsArrayFilterType.java | 12 +- ...ApiSchemasCustomReportsArrayFromValue.java | 43 +- ...SchemasCustomReportsArrayInListFilter.java | 49 +- ...piSchemasCustomReportsArrayInt64Value.java | 18 +- ...ReportsArrayMetricFilterBetweenFilter.java | 20 +- ...omReportsArrayMetricFilterDoubleValue.java | 19 +- ...tomReportsArrayMetricFilterExpression.java | 19 +- ...sCustomReportsArrayMetricFilterFilter.java | 51 +- ...tomReportsArrayMetricFilterFilterName.java | 12 +- ...tomReportsArrayMetricFilterFilterType.java | 12 +- ...stomReportsArrayMetricFilterFromValue.java | 43 +- ...mReportsArrayMetricFilterInListFilter.java | 49 +- ...tomReportsArrayMetricFilterInt64Value.java | 18 +- ...MetricFilterMetricsFilter1DoubleValue.java | 19 +- ...rMetricsFilter1ExpressionsDoubleValue.java | 19 +- ...csFilter1ExpressionsFilterDoubleValue.java | 19 +- ...ter1ExpressionsFilterFilter3ValueType.java | 12 +- ...xpressionsFilterFilter3ValueValueType.java | 12 +- ...ter1ExpressionsFilterFilterFilterName.java | 12 +- ...icsFilter1ExpressionsFilterFilterName.java | 12 +- ...lter1ExpressionsFilterFilterValueType.java | 12 +- ...icsFilter1ExpressionsFilterInt64Value.java | 18 +- ...erMetricsFilter1ExpressionsFilterName.java | 12 +- ...ricsFilter1ExpressionsFilterValueType.java | 12 +- ...erMetricsFilter1ExpressionsInt64Value.java | 18 +- ...terMetricsFilter1ExpressionsValueType.java | 12 +- ...ArrayMetricFilterMetricsFilter1Filter.java | 51 +- ...yMetricFilterMetricsFilter1FilterName.java | 12 +- ...yMetricFilterMetricsFilter1Int64Value.java | 18 +- ...yMetricFilterMetricsFilter1ValidEnums.java | 12 +- ...ayMetricFilterMetricsFilter1ValueType.java | 12 +- ...MetricFilterMetricsFilter2DoubleValue.java | 19 +- ...rMetricsFilter2ExpressionsDoubleValue.java | 19 +- ...csFilter2ExpressionsFilterDoubleValue.java | 19 +- ...ressionsFilterFilter4ToValueValueType.java | 12 +- ...ter2ExpressionsFilterFilter4ValueType.java | 12 +- ...ter2ExpressionsFilterFilterFilterName.java | 12 +- ...icsFilter2ExpressionsFilterFilterName.java | 12 +- ...lter2ExpressionsFilterFilterValueType.java | 12 +- ...icsFilter2ExpressionsFilterInt64Value.java | 18 +- ...erMetricsFilter2ExpressionsFilterName.java | 12 +- ...ricsFilter2ExpressionsFilterValueType.java | 12 +- ...erMetricsFilter2ExpressionsInt64Value.java | 18 +- ...erMetricsFilter2ExpressionsValidEnums.java | 12 +- ...terMetricsFilter2ExpressionsValueType.java | 12 +- ...yMetricFilterMetricsFilter2FilterName.java | 12 +- ...yMetricFilterMetricsFilter2Int64Value.java | 18 +- ...yMetricFilterMetricsFilter2ValidEnums.java | 12 +- ...ayMetricFilterMetricsFilter2ValueType.java | 12 +- ...tricFilterMetricsFilter3BetweenFilter.java | 20 +- ...MetricFilterMetricsFilter3DoubleValue.java | 19 +- ...erMetricsFilter3ExpressionDoubleValue.java | 19 +- ...icsFilter3ExpressionFilterDoubleValue.java | 19 +- ...pressionFilterFilter4ToValueValueType.java | 12 +- ...lter3ExpressionFilterFilter4ValueType.java | 12 +- ...lter3ExpressionFilterFilterFilterName.java | 12 +- ...ricsFilter3ExpressionFilterFilterName.java | 12 +- ...ilter3ExpressionFilterFilterValueType.java | 12 +- ...ricsFilter3ExpressionFilterInt64Value.java | 18 +- ...terMetricsFilter3ExpressionFilterName.java | 12 +- ...tricsFilter3ExpressionFilterValueType.java | 12 +- ...terMetricsFilter3ExpressionInt64Value.java | 18 +- ...terMetricsFilter3ExpressionValidEnums.java | 12 +- ...lterMetricsFilter3ExpressionValueType.java | 12 +- ...ArrayMetricFilterMetricsFilter3Filter.java | 51 +- ...yMetricFilterMetricsFilter3FilterName.java | 12 +- ...yMetricFilterMetricsFilter3FilterType.java | 12 +- ...ayMetricFilterMetricsFilter3FromValue.java | 43 +- ...etricFilterMetricsFilter3InListFilter.java | 49 +- ...yMetricFilterMetricsFilter3Int64Value.java | 18 +- ...tricFilterMetricsFilter3NumericFilter.java | 33 +- ...etricFilterMetricsFilter3StringFilter.java | 56 +- ...rrayMetricFilterMetricsFilter3ToValue.java | 43 +- ...yMetricFilterMetricsFilter3ValidEnums.java | 12 +- ...sArrayMetricFilterMetricsFilter3Value.java | 43 +- ...ayMetricFilterMetricsFilter3ValueType.java | 12 +- ...rMetricsFilter4FilterFilter4ValueType.java | 12 +- ...cFilterMetricsFilter4FilterFilterName.java | 12 +- ...erMetricsFilter4FilterFilterValueType.java | 12 +- ...yMetricFilterMetricsFilter4FilterName.java | 12 +- ...yMetricFilterMetricsFilter4FilterType.java | 12 +- ...icFilterMetricsFilter4FilterValueType.java | 12 +- ...ayMetricFilterMetricsFilter4ValueType.java | 12 +- ...etricFilterMetricsFilterBetweenFilter.java | 20 +- ...yMetricFilterMetricsFilterDoubleValue.java | 19 +- ...ayMetricFilterMetricsFilterExpression.java | 19 +- ...sArrayMetricFilterMetricsFilterFilter.java | 51 +- ...ayMetricFilterMetricsFilterFilterName.java | 12 +- ...ayMetricFilterMetricsFilterFilterType.java | 12 +- ...rayMetricFilterMetricsFilterFromValue.java | 43 +- ...MetricFilterMetricsFilterInListFilter.java | 49 +- ...ayMetricFilterMetricsFilterInt64Value.java | 18 +- ...etricFilterMetricsFilterNumericFilter.java | 33 +- ...MetricFilterMetricsFilterStringFilter.java | 56 +- ...ArrayMetricFilterMetricsFilterToValue.java | 43 +- ...ayMetricFilterMetricsFilterValidEnums.java | 12 +- ...tsArrayMetricFilterMetricsFilterValue.java | 43 +- ...rayMetricFilterMetricsFilterValueType.java | 12 +- ...ReportsArrayMetricFilterNumericFilter.java | 33 +- ...mReportsArrayMetricFilterStringFilter.java | 56 +- ...CustomReportsArrayMetricFilterToValue.java | 43 +- ...tomReportsArrayMetricFilterValidEnums.java | 12 +- ...asCustomReportsArrayMetricFilterValue.java | 43 +- ...stomReportsArrayMetricFilterValueType.java | 12 +- ...chemasCustomReportsArrayNumericFilter.java | 33 +- ...SchemasCustomReportsArrayStringFilter.java | 56 +- ...taApiSchemasCustomReportsArrayToValue.java | 43 +- ...piSchemasCustomReportsArrayValidEnums.java | 12 +- ...DataApiSchemasCustomReportsArrayValue.java | 43 +- ...ApiSchemasCustomReportsArrayValueType.java | 12 +- ...gleAnalyticsDataApiSchemasDoubleValue.java | 19 +- ...eGoogleAnalyticsDataApiSchemasEnabled.java | 42 +- ...ogleAnalyticsDataApiSchemasExpression.java | 19 +- ...ceGoogleAnalyticsDataApiSchemasFilter.java | 21 +- ...ogleAnalyticsDataApiSchemasFilterName.java | 12 +- ...ogleAnalyticsDataApiSchemasFilterType.java | 12 +- ...oogleAnalyticsDataApiSchemasFromValue.java | 43 +- ...leAnalyticsDataApiSchemasInListFilter.java | 49 +- ...ogleAnalyticsDataApiSchemasInt64Value.java | 18 +- ...eAnalyticsDataApiSchemasNumericFilter.java | 33 +- ...leAnalyticsDataApiSchemasStringFilter.java | 56 +- ...eGoogleAnalyticsDataApiSchemasToValue.java | 43 +- ...ogleAnalyticsDataApiSchemasValidEnums.java | 12 +- ...rceGoogleAnalyticsDataApiSchemasValue.java | 43 +- ...oogleAnalyticsDataApiSchemasValueType.java | 12 +- ...ataApiServiceAccountKeyAuthentication.java | 19 +- ...rceGoogleAnalyticsDataApiStringFilter.java | 56 +- .../SourceGoogleAnalyticsDataApiToValue.java | 43 +- ...ourceGoogleAnalyticsDataApiValidEnums.java | 12 +- .../SourceGoogleAnalyticsDataApiValue.java | 43 +- ...SourceGoogleAnalyticsDataApiValueType.java | 12 +- .../models/shared/SourceGoogleCalendar.java | 196 + .../models/shared/SourceGoogleClassroom.java | 167 + .../models/shared/SourceGoogleDirectory.java | 19 +- ...SourceGoogleDirectoryCredentialsTitle.java | 12 +- ...ourceGoogleDirectoryGoogleCredentials.java | 43 +- ...oogleDirectorySchemasCredentialsTitle.java | 12 +- .../api/models/shared/SourceGoogleDrive.java | 54 +- .../shared/SourceGoogleDriveAuthType.java | 12 +- ...GoogleDriveAuthenticateViaGoogleOAuth.java | 23 +- .../SourceGoogleDriveAuthentication.java | 43 +- .../SourceGoogleDriveAutogenerated.java | 17 +- .../shared/SourceGoogleDriveAvroFormat.java | 40 +- .../shared/SourceGoogleDriveCSVFormat.java | 252 +- .../SourceGoogleDriveCSVHeaderDefinition.java | 47 +- ...iveDocumentFileTypeFormatExperimental.java | 44 +- ...ourceGoogleDriveFileBasedStreamConfig.java | 100 +- .../shared/SourceGoogleDriveFiletype.java | 12 +- .../shared/SourceGoogleDriveFormat.java | 55 +- .../shared/SourceGoogleDriveFromCSV.java | 17 +- .../shared/SourceGoogleDriveGoogleDrive.java | 12 +- ...SourceGoogleDriveHeaderDefinitionType.java | 12 +- .../shared/SourceGoogleDriveJsonlFormat.java | 17 +- .../models/shared/SourceGoogleDriveLocal.java | 17 +- .../models/shared/SourceGoogleDriveMode.java | 12 +- .../SourceGoogleDriveParquetFormat.java | 40 +- .../SourceGoogleDriveParsingStrategy.java | 12 +- .../shared/SourceGoogleDriveProcessing.java | 39 +- .../SourceGoogleDriveSchemasAuthType.java | 12 +- .../SourceGoogleDriveSchemasFiletype.java | 12 +- ...oogleDriveSchemasHeaderDefinitionType.java | 12 +- ...urceGoogleDriveSchemasStreamsFiletype.java | 12 +- ...ogleDriveSchemasStreamsFormatFiletype.java | 12 +- ...iveSchemasStreamsFormatFormatFiletype.java | 12 +- ...iveSchemasStreamsHeaderDefinitionType.java | 12 +- ...eDriveServiceAccountKeyAuthentication.java | 19 +- .../shared/SourceGoogleDriveUserProvided.java | 32 +- .../SourceGoogleDriveValidationPolicy.java | 12 +- .../api/models/shared/SourceGoogleForms.java | 198 + .../shared/SourceGooglePagespeedInsights.java | 80 +- .../shared/SourceGoogleSearchConsole.java | 95 +- .../SourceGoogleSearchConsoleAuthType.java | 12 +- ...GoogleSearchConsoleCustomReportConfig.java | 32 +- ...oogleSearchConsoleGoogleSearchConsole.java | 12 +- .../SourceGoogleSearchConsoleOAuth.java | 37 +- ...rceGoogleSearchConsoleSchemasAuthType.java | 12 +- ...onsoleServiceAccountKeyAuthentication.java | 20 +- .../SourceGoogleSearchConsoleValidEnums.java | 12 +- .../api/models/shared/SourceGoogleSheets.java | 63 +- .../shared/SourceGoogleSheetsAuthType.java | 12 +- ...oogleSheetsAuthenticateViaGoogleOAuth.java | 22 +- .../SourceGoogleSheetsAuthentication.java | 43 +- .../SourceGoogleSheetsGoogleSheets.java | 12 +- .../SourceGoogleSheetsSchemasAuthType.java | 12 +- ...SheetsServiceAccountKeyAuthentication.java | 18 +- .../api/models/shared/SourceGoogleTasks.java | 44 +- .../models/shared/SourceGoogleWebfonts.java | 63 +- .../api/models/shared/SourceGorgias.java | 232 + .../api/models/shared/SourceGreenhouse.java | 18 +- .../api/models/shared/SourceGridly.java | 20 +- .../airbyte/api/models/shared/SourceGuru.java | 67 +- .../api/models/shared/SourceGutendex.java | 507 + .../models/shared/SourceHardcodedRecords.java | 39 +- .../api/models/shared/SourceHarvest.java | 43 +- .../models/shared/SourceHarvestAuthType.java | 23 + ...stAuthenticateWithPersonalAccessToken.java | 177 + .../SourceHarvestAuthenticationMechanism.java | 100 + .../shared/SourceHarvestSchemasAuthType.java | 23 + .../api/models/shared/SourceHeight.java | 44 +- .../api/models/shared/SourceHibob.java | 36 +- .../api/models/shared/SourceHighLevel.java | 24 +- .../api/models/shared/SourceHubplanner.java | 18 +- .../api/models/shared/SourceHubspot.java | 58 +- .../models/shared/SourceHubspotAuthType.java | 12 +- .../shared/SourceHubspotAuthentication.java | 43 +- .../models/shared/SourceHubspotHubspot.java | 12 +- .../api/models/shared/SourceHubspotOAuth.java | 22 +- .../shared/SourceHubspotSchemasAuthType.java | 12 +- .../api/models/shared/SourceHumanitix.java | 109 + .../shared/SourceIlluminaBasespace.java | 239 + .../api/models/shared/SourceIncidentIo.java | 121 + .../models/shared/SourceInflowinventory.java | 138 + .../api/models/shared/SourceInsightly.java | 48 +- .../api/models/shared/SourceInstagram.java | 35 +- .../shared/SourceInstagramInstagram.java | 12 +- .../api/models/shared/SourceInstatus.java | 18 +- .../api/models/shared/SourceIntercom.java | 144 +- .../models/shared/SourceIntercomIntercom.java | 12 +- .../api/models/shared/SourceInvoiced.java | 121 + .../api/models/shared/SourceInvoiceninja.java | 109 + .../api/models/shared/SourceIp2whois.java | 46 +- .../api/models/shared/SourceIterable.java | 22 +- .../airbyte/api/models/shared/SourceJira.java | 173 +- .../api/models/shared/SourceJobnimbus.java | 121 + .../api/models/shared/SourceJotform.java | 26 +- .../shared/SourceJotformApiEndpoint.java | 12 +- .../SourceJotformSchemasApiEndpoint.java | 12 +- .../api/models/shared/SourceJustSift.java | 121 + .../api/models/shared/SourceJustcall.java | 139 + .../api/models/shared/SourceK6Cloud.java | 18 +- .../api/models/shared/SourceKatana.java | 151 + .../airbyte/api/models/shared/SourceKisi.java | 121 + .../api/models/shared/SourceKissmetrics.java | 159 + .../api/models/shared/SourceKlarna.java | 45 +- .../api/models/shared/SourceKlarnaRegion.java | 12 +- .../api/models/shared/SourceKlausApi.java | 275 + .../api/models/shared/SourceKlaviyo.java | 124 +- .../airbyte/api/models/shared/SourceKyve.java | 42 +- .../api/models/shared/SourceLaunchdarkly.java | 18 +- .../api/models/shared/SourceLeadfeeder.java | 22 +- .../api/models/shared/SourceLemlist.java | 18 +- .../models/shared/SourceLessAnnoyingCrm.java | 151 + .../api/models/shared/SourceLeverHiring.java | 26 +- .../shared/SourceLeverHiringAuthType.java | 12 +- ...rceLeverHiringAuthenticationMechanism.java | 43 +- .../shared/SourceLeverHiringEnvironment.java | 12 +- .../shared/SourceLeverHiringLeverHiring.java | 12 +- .../SourceLeverHiringSchemasAuthType.java | 12 +- .../models/shared/SourceLightspeedRetail.java | 162 + .../api/models/shared/SourceLinkedinAds.java | 85 +- .../shared/SourceLinkedinAdsAccessToken.java | 127 + .../shared/SourceLinkedinAdsAuthMethod.java | 12 +- .../SourceLinkedinAdsAuthentication.java | 47 +- .../shared/SourceLinkedinAdsLinkedinAds.java | 12 +- .../shared/SourceLinkedinAdsOAuth20.java | 23 +- .../SourceLinkedinAdsSchemasAuthMethod.java | 12 +- .../models/shared/SourceLinkedinPages.java | 59 +- .../SourceLinkedinPagesAccessToken.java | 19 +- .../shared/SourceLinkedinPagesAuthMethod.java | 12 +- .../SourceLinkedinPagesAuthentication.java | 43 +- .../shared/SourceLinkedinPagesOAuth20.java | 23 +- .../SourceLinkedinPagesSchemasAuthMethod.java | 12 +- .../api/models/shared/SourceLinnworks.java | 26 +- .../airbyte/api/models/shared/SourceLob.java | 228 + .../api/models/shared/SourceLokalise.java | 20 +- .../api/models/shared/SourceLooker.java | 44 +- .../airbyte/api/models/shared/SourceLuma.java | 18 +- .../api/models/shared/SourceMailchimp.java | 36 +- .../shared/SourceMailchimpAuthType.java | 12 +- .../shared/SourceMailchimpAuthentication.java | 43 +- .../shared/SourceMailchimpMailchimp.java | 12 +- .../models/shared/SourceMailchimpOAuth20.java | 48 +- .../SourceMailchimpSchemasAuthType.java | 12 +- .../api/models/shared/SourceMailerlite.java | 121 + .../api/models/shared/SourceMailgun.java | 41 +- .../api/models/shared/SourceMailjetMail.java | 162 + .../api/models/shared/SourceMailjetSms.java | 49 +- .../api/models/shared/SourceMailosaur.java | 189 + .../api/models/shared/SourceMailtrap.java | 121 + .../api/models/shared/SourceMarketo.java | 26 +- .../api/models/shared/SourceMarketstack.java | 139 + .../api/models/shared/SourceMention.java | 261 + .../api/models/shared/SourceMetabase.java | 50 +- .../shared/SourceMicrosoftDataverse.java | 324 + .../models/shared/SourceMicrosoftEntraId.java | 196 + .../models/shared/SourceMicrosoftLists.java | 254 + .../shared/SourceMicrosoftOnedrive.java | 96 +- .../SourceMicrosoftOnedriveAuthType.java | 12 +- ...SourceMicrosoftOnedriveAuthentication.java | 43 +- .../SourceMicrosoftOnedriveAutogenerated.java | 17 +- .../SourceMicrosoftOnedriveAvroFormat.java | 40 +- .../SourceMicrosoftOnedriveCSVFormat.java | 252 +- ...eMicrosoftOnedriveCSVHeaderDefinition.java | 47 +- ...icrosoftOnedriveFileBasedStreamConfig.java | 100 +- .../SourceMicrosoftOnedriveFiletype.java | 12 +- .../shared/SourceMicrosoftOnedriveFormat.java | 55 +- .../SourceMicrosoftOnedriveFromCSV.java | 17 +- ...MicrosoftOnedriveHeaderDefinitionType.java | 12 +- .../SourceMicrosoftOnedriveJsonlFormat.java | 17 +- .../shared/SourceMicrosoftOnedriveLocal.java | 17 +- ...rceMicrosoftOnedriveMicrosoftOnedrive.java | 12 +- .../shared/SourceMicrosoftOnedriveMode.java | 12 +- .../SourceMicrosoftOnedriveParquetFormat.java | 40 +- ...ourceMicrosoftOnedriveParsingStrategy.java | 12 +- .../SourceMicrosoftOnedriveProcessing.java | 39 +- ...ourceMicrosoftOnedriveSchemasAuthType.java | 12 +- ...ourceMicrosoftOnedriveSchemasFiletype.java | 12 +- ...ftOnedriveSchemasHeaderDefinitionType.java | 12 +- ...crosoftOnedriveSchemasStreamsFiletype.java | 12 +- ...tOnedriveSchemasStreamsFormatFiletype.java | 12 +- ...iveSchemasStreamsFormatFormatFiletype.java | 12 +- ...iveSchemasStreamsHeaderDefinitionType.java | 12 +- ...oftOnedriveUnstructuredDocumentFormat.java | 44 +- .../SourceMicrosoftOnedriveUserProvided.java | 32 +- ...urceMicrosoftOnedriveValidationPolicy.java | 12 +- .../shared/SourceMicrosoftSharepoint.java | 77 +- .../SourceMicrosoftSharepointAuthType.java | 12 +- ...arepointAuthenticateViaMicrosoftOAuth.java | 38 +- ...urceMicrosoftSharepointAuthentication.java | 43 +- ...ourceMicrosoftSharepointAutogenerated.java | 17 +- .../SourceMicrosoftSharepointAvroFormat.java | 40 +- .../SourceMicrosoftSharepointCSVFormat.java | 252 +- ...icrosoftSharepointCSVHeaderDefinition.java | 47 +- .../SourceMicrosoftSharepointExcelFormat.java | 17 +- ...rosoftSharepointFileBasedStreamConfig.java | 115 +- .../SourceMicrosoftSharepointFiletype.java | 12 +- .../SourceMicrosoftSharepointFormat.java | 59 +- .../SourceMicrosoftSharepointFromCSV.java | 17 +- ...crosoftSharepointHeaderDefinitionType.java | 12 +- .../SourceMicrosoftSharepointJsonlFormat.java | 17 +- .../SourceMicrosoftSharepointLocal.java | 17 +- ...icrosoftSharepointMicrosoftSharepoint.java | 12 +- .../shared/SourceMicrosoftSharepointMode.java | 12 +- ...ourceMicrosoftSharepointParquetFormat.java | 40 +- ...rceMicrosoftSharepointParsingStrategy.java | 12 +- .../SourceMicrosoftSharepointProcessing.java | 39 +- ...rceMicrosoftSharepointSchemasAuthType.java | 12 +- ...rceMicrosoftSharepointSchemasFiletype.java | 12 +- ...SharepointSchemasHeaderDefinitionType.java | 12 +- ...osoftSharepointSchemasStreamsFiletype.java | 12 +- ...harepointSchemasStreamsFormatFiletype.java | 12 +- ...ntSchemasStreamsFormatFormat6Filetype.java | 12 +- ...intSchemasStreamsFormatFormatFiletype.java | 12 +- ...intSchemasStreamsHeaderDefinitionType.java | 12 +- .../SourceMicrosoftSharepointSearchScope.java | 12 +- ...oftSharepointServiceKeyAuthentication.java | 25 +- ...tSharepointUnstructuredDocumentFormat.java | 44 +- ...SourceMicrosoftSharepointUserProvided.java | 32 +- ...ceMicrosoftSharepointValidationPolicy.java | 12 +- .../models/shared/SourceMicrosoftTeams.java | 21 +- .../shared/SourceMicrosoftTeamsAuthType.java | 12 +- ...MicrosoftTeamsAuthenticationMechanism.java | 43 +- .../SourceMicrosoftTeamsMicrosoftTeams.java | 12 +- .../SourceMicrosoftTeamsSchemasAuthType.java | 12 +- .../airbyte/api/models/shared/SourceMiro.java | 109 + .../api/models/shared/SourceMissive.java | 287 + .../api/models/shared/SourceMixmax.java | 139 + .../api/models/shared/SourceMixpanel.java | 153 +- .../shared/SourceMixpanelOptionTitle.java | 12 +- .../models/shared/SourceMixpanelRegion.java | 12 +- .../SourceMixpanelSchemasOptionTitle.java | 12 +- .../airbyte/api/models/shared/SourceMode.java | 191 + .../api/models/shared/SourceMonday.java | 19 +- .../models/shared/SourceMondayAuthType.java | 12 +- .../SourceMondayAuthorizationMethod.java | 43 +- .../api/models/shared/SourceMondayMonday.java | 12 +- .../models/shared/SourceMondayOAuth20.java | 44 +- .../shared/SourceMondaySchemasAuthType.java | 12 +- .../api/models/shared/SourceMongodbV2.java | 117 +- .../shared/SourceMongodbV2ClusterType.java | 23 + .../SourceMongodbV2SchemasClusterType.java | 23 + .../api/models/shared/SourceMssql.java | 70 +- ...eMssqlEncryptedTrustServerCertificate.java | 16 +- ...SourceMssqlEncryptedVerifyCertificate.java | 46 +- ...sqlInvalidCDCPositionBehaviorAdvanced.java | 12 +- .../api/models/shared/SourceMssqlMethod.java | 12 +- .../api/models/shared/SourceMssqlMssql.java | 12 +- .../models/shared/SourceMssqlNoTunnel.java | 16 +- .../SourceMssqlPasswordAuthentication.java | 45 +- .../SourceMssqlSSHKeyAuthentication.java | 45 +- .../shared/SourceMssqlSSHTunnelMethod.java | 47 +- .../models/shared/SourceMssqlSSLMethod.java | 47 +- .../shared/SourceMssqlSchemasMethod.java | 12 +- ...sqlSchemasSSLMethodSSLMethodSSLMethod.java | 12 +- .../shared/SourceMssqlSchemasSslMethod.java | 12 +- .../SourceMssqlSchemasSslMethodSslMethod.java | 12 +- .../SourceMssqlSchemasTunnelMethod.java | 12 +- ...eMssqlSchemasTunnelMethodTunnelMethod.java | 12 +- .../shared/SourceMssqlTunnelMethod.java | 12 +- .../models/shared/SourceMssqlUnencrypted.java | 16 +- .../airbyte/api/models/shared/SourceMux.java | 250 + .../api/models/shared/SourceMyHours.java | 45 +- .../api/models/shared/SourceMysql.java | 102 +- ...sqlInvalidCDCPositionBehaviorAdvanced.java | 12 +- .../api/models/shared/SourceMysqlMethod.java | 12 +- .../api/models/shared/SourceMysqlMode.java | 12 +- .../api/models/shared/SourceMysqlMysql.java | 12 +- .../models/shared/SourceMysqlNoTunnel.java | 16 +- .../SourceMysqlPasswordAuthentication.java | 45 +- .../SourceMysqlSSHKeyAuthentication.java | 45 +- .../shared/SourceMysqlSSHTunnelMethod.java | 47 +- .../models/shared/SourceMysqlSSLModes.java | 51 +- ...MysqlScanChangesWithUserDefinedCursor.java | 16 +- .../shared/SourceMysqlSchemasMethod.java | 12 +- .../models/shared/SourceMysqlSchemasMode.java | 12 +- ...SourceMysqlSchemasSSLModeSSLModesMode.java | 12 +- .../shared/SourceMysqlSchemasSslModeMode.java | 12 +- .../SourceMysqlSchemasTunnelMethod.java | 12 +- ...eMysqlSchemasTunnelMethodTunnelMethod.java | 12 +- .../shared/SourceMysqlTunnelMethod.java | 12 +- .../shared/SourceMysqlUpdateMethod.java | 43 +- .../models/shared/SourceMysqlVerifyCA.java | 63 +- .../airbyte/api/models/shared/SourceN8n.java | 162 + .../airbyte/api/models/shared/SourceNasa.java | 449 + .../api/models/shared/SourceNetsuite.java | 73 +- .../api/models/shared/SourceNewsApi.java | 957 ++ .../api/models/shared/SourceNewsdataIo.java | 516 + .../api/models/shared/SourceNocrm.java | 162 + .../api/models/shared/SourceNorthpassLms.java | 18 +- .../api/models/shared/SourceNotion.java | 36 +- .../shared/SourceNotionAccessToken.java | 18 +- .../models/shared/SourceNotionAuthType.java | 12 +- .../SourceNotionAuthenticationMethod.java | 43 +- .../api/models/shared/SourceNotionNotion.java | 12 +- .../models/shared/SourceNotionOAuth20.java | 22 +- .../shared/SourceNotionSchemasAuthType.java | 12 +- .../api/models/shared/SourceNutshell.java | 159 + .../api/models/shared/SourceNylas.java | 26 +- .../api/models/shared/SourceNytimes.java | 40 +- .../airbyte/api/models/shared/SourceOkta.java | 51 +- .../api/models/shared/SourceOktaAPIToken.java | 18 +- .../api/models/shared/SourceOktaAuthType.java | 12 +- .../shared/SourceOktaAuthorizationMethod.java | 47 +- .../api/models/shared/SourceOktaOAuth20.java | 22 +- .../shared/SourceOktaSchemasAuthType.java | 12 +- .../SourceOktaSchemasCredentialsAuthType.java | 12 +- .../api/models/shared/SourceOmnisend.java | 18 +- .../api/models/shared/SourceOncehub.java | 151 + .../api/models/shared/SourceOnepagecrm.java | 189 + .../api/models/shared/SourceOnesignal.java | 39 +- .../api/models/shared/SourceOnfleet.java | 197 + .../api/models/shared/SourceOpenDataDc.java | 237 + .../api/models/shared/SourceOpenaq.java | 152 + .../api/models/shared/SourceOpenfda.java | 82 + .../api/models/shared/SourceOpenweather.java | 397 + .../api/models/shared/SourceOpinionStage.java | 109 + .../api/models/shared/SourceOpsgenie.java | 257 + .../api/models/shared/SourceOracle.java | 101 +- .../shared/SourceOracleConnectionType.java | 12 +- .../models/shared/SourceOracleEncryption.java | 47 +- .../SourceOracleEncryptionAlgorithm.java | 12 +- .../shared/SourceOracleEncryptionMethod.java | 12 +- ...ourceOracleNativeNetworkEncryptionNNE.java | 22 +- .../models/shared/SourceOracleNoTunnel.java | 16 +- .../api/models/shared/SourceOracleOracle.java | 12 +- .../SourceOraclePasswordAuthentication.java | 45 +- .../SourceOracleSSHKeyAuthentication.java | 45 +- .../shared/SourceOracleSSHTunnelMethod.java | 47 +- ...acleSchemasEncryptionEncryptionMethod.java | 12 +- .../SourceOracleSchemasEncryptionMethod.java | 12 +- .../SourceOracleSchemasTunnelMethod.java | 12 +- ...OracleSchemasTunnelMethodTunnelMethod.java | 12 +- ...ceOracleTLSEncryptedVerifyCertificate.java | 18 +- .../shared/SourceOracleTunnelMethod.java | 12 +- .../shared/SourceOracleUnencrypted.java | 16 +- .../airbyte/api/models/shared/SourceOrb.java | 132 +- .../api/models/shared/SourceOrbit.java | 35 +- .../airbyte/api/models/shared/SourceOura.java | 262 + .../models/shared/SourceOutbrainAmplify.java | 40 +- .../SourceOutbrainAmplifyAccessToken.java | 18 +- ...ceOutbrainAmplifyAuthenticationMethod.java | 43 +- ...SourceOutbrainAmplifyUsernamePassword.java | 20 +- .../api/models/shared/SourceOutreach.java | 26 +- .../api/models/shared/SourceOveit.java | 162 + .../SourcePabblySubscriptionsBilling.java | 159 + .../api/models/shared/SourcePandadoc.java | 151 + .../api/models/shared/SourcePaperform.java | 121 + .../api/models/shared/SourcePapersign.java | 121 + .../api/models/shared/SourcePardot.java | 393 + .../api/models/shared/SourcePatchRequest.java | 63 +- .../shared/SourcePaypalTransaction.java | 112 +- .../api/models/shared/SourcePaystack.java | 45 +- .../api/models/shared/SourcePendo.java | 18 +- .../api/models/shared/SourcePennylane.java | 22 +- .../api/models/shared/SourcePersistiq.java | 18 +- .../api/models/shared/SourcePersona.java | 121 + .../api/models/shared/SourcePexelsApi.java | 80 +- .../api/models/shared/SourcePicqer.java | 39 +- .../api/models/shared/SourcePinterest.java | 75 +- .../shared/SourcePinterestAuthMethod.java | 12 +- .../models/shared/SourcePinterestLevel.java | 12 +- .../shared/SourcePinterestPinterest.java | 12 +- .../SourcePinterestSchemasValidEnums.java | 12 +- .../shared/SourcePinterestValidEnums.java | 12 +- .../api/models/shared/SourcePipedrive.java | 20 +- .../api/models/shared/SourcePipeliner.java | 219 + .../models/shared/SourcePivotalTracker.java | 121 + .../api/models/shared/SourcePiwik.java | 22 +- .../api/models/shared/SourcePlaid.java | 316 + .../api/models/shared/SourcePlanhat.java | 18 +- .../api/models/shared/SourcePlausible.java | 291 + .../api/models/shared/SourcePocket.java | 112 +- .../api/models/shared/SourcePocketSortBy.java | 12 +- .../api/models/shared/SourcePokeapi.java | 18 +- .../models/shared/SourcePolygonStockApi.java | 74 +- .../api/models/shared/SourcePostgres.java | 121 +- .../models/shared/SourcePostgresAllow.java | 135 + .../models/shared/SourcePostgresDisable.java | 135 + ...resInvalidCDCPositionBehaviorAdvanced.java | 27 + .../models/shared/SourcePostgresMethod.java | 14 +- .../api/models/shared/SourcePostgresMode.java | 23 + .../models/shared/SourcePostgresNoTunnel.java | 16 +- .../SourcePostgresPasswordAuthentication.java | 45 +- .../models/shared/SourcePostgresPostgres.java | 12 +- .../models/shared/SourcePostgresPrefer.java | 135 + .../models/shared/SourcePostgresRequire.java | 135 + .../SourcePostgresSSHKeyAuthentication.java | 45 +- .../shared/SourcePostgresSSHTunnelMethod.java | 47 +- .../models/shared/SourcePostgresSSLModes.java | 129 + ...tgresScanChangesWithUserDefinedCursor.java | 24 +- .../shared/SourcePostgresSchemasMethod.java | 14 +- .../shared/SourcePostgresSchemasMode.java | 23 + ...ostgresSchemasReplicationMethodMethod.java | 23 + ...cePostgresSchemasSSLModeSSLModes5Mode.java | 23 + ...cePostgresSchemasSSLModeSSLModes6Mode.java | 23 + ...rcePostgresSchemasSSLModeSSLModesMode.java | 23 + .../SourcePostgresSchemasSslModeMode.java | 23 + .../SourcePostgresSchemasTunnelMethod.java | 12 +- ...stgresSchemasTunnelMethodTunnelMethod.java | 12 +- .../shared/SourcePostgresTunnelMethod.java | 12 +- .../shared/SourcePostgresUpdateMethod.java | 51 +- .../models/shared/SourcePostgresVerifyCa.java | 362 + .../shared/SourcePostgresVerifyFull.java | 362 + .../api/models/shared/SourcePosthog.java | 64 +- .../api/models/shared/SourcePostmarkapp.java | 20 +- .../api/models/shared/SourcePrestashop.java | 22 +- .../api/models/shared/SourcePretix.java | 121 + .../api/models/shared/SourcePrimetric.java | 162 + .../api/models/shared/SourceProductboard.java | 22 +- .../api/models/shared/SourceProductive.java | 20 +- .../api/models/shared/SourcePutRequest.java | 19 +- .../airbyte/api/models/shared/SourcePypi.java | 33 +- .../api/models/shared/SourceQualaroo.java | 44 +- .../api/models/shared/SourceQuickbooks.java | 229 + .../shared/SourceQuickbooksAuthType.java | 23 + .../SourceQuickbooksAuthorizationMethod.java | 90 + .../shared/SourceQuickbooksOAuth20.java | 333 + .../api/models/shared/SourceRailz.java | 22 +- .../shared/SourceRdStationMarketing.java | 191 + .../SourceRdStationMarketingAuthType.java | 23 + ...eRdStationMarketingAuthenticationType.java | 93 + ...eRdStationMarketingRdStationMarketing.java | 23 + .../api/models/shared/SourceRecharge.java | 45 +- .../api/models/shared/SourceRecreation.java | 33 +- .../api/models/shared/SourceRecruitee.java | 21 +- .../api/models/shared/SourceRecurly.java | 48 +- .../api/models/shared/SourceReddit.java | 122 +- .../api/models/shared/SourceRedshift.java | 84 +- .../models/shared/SourceRedshiftRedshift.java | 12 +- .../api/models/shared/SourceReferralhero.java | 109 + .../api/models/shared/SourceRentcast.java | 959 ++ .../api/models/shared/SourceRepairshopr.java | 138 + .../api/models/shared/SourceReplyIo.java | 121 + .../api/models/shared/SourceResponse.java | 84 +- .../api/models/shared/SourceRetently.java | 49 +- .../models/shared/SourceRetentlyAuthType.java | 23 + ...SourceRetentlyAuthenticationMechanism.java | 100 + .../models/shared/SourceRetentlyRetently.java | 31 - .../shared/SourceRetentlySchemasAuthType.java | 23 + .../api/models/shared/SourceRevenuecat.java | 151 + .../models/shared/SourceRevolutMerchant.java | 233 + .../SourceRevolutMerchantEnvironment.java | 27 + .../api/models/shared/SourceRkiCovid.java | 18 +- .../api/models/shared/SourceRocketlane.java | 121 + .../api/models/shared/SourceRollbar.java | 168 + .../api/models/shared/SourceRootly.java | 139 + .../airbyte/api/models/shared/SourceRss.java | 18 +- .../api/models/shared/SourceRuddr.java | 121 + .../airbyte/api/models/shared/SourceS3.java | 180 +- .../models/shared/SourceS3Autogenerated.java | 17 +- .../api/models/shared/SourceS3AvroFormat.java | 40 +- .../api/models/shared/SourceS3CSVFormat.java | 252 +- .../shared/SourceS3CSVHeaderDefinition.java | 47 +- .../models/shared/SourceS3DeliveryType.java | 23 + .../models/shared/SourceS3ExcelFormat.java | 88 + .../shared/SourceS3FileBasedStreamConfig.java | 115 +- .../api/models/shared/SourceS3Filetype.java | 12 +- .../api/models/shared/SourceS3Format.java | 62 +- .../api/models/shared/SourceS3FromCSV.java | 17 +- .../shared/SourceS3HeaderDefinitionType.java | 12 +- .../models/shared/SourceS3JsonlFormat.java | 17 +- .../api/models/shared/SourceS3Local.java | 17 +- .../api/models/shared/SourceS3Mode.java | 12 +- .../models/shared/SourceS3ParquetFormat.java | 40 +- .../shared/SourceS3ParsingStrategy.java | 12 +- .../api/models/shared/SourceS3Processing.java | 39 +- .../airbyte/api/models/shared/SourceS3S3.java | 12 +- .../shared/SourceS3SchemasFiletype.java | 12 +- .../SourceS3SchemasHeaderDefinitionType.java | 12 +- .../SourceS3SchemasStreamsFiletype.java | 12 +- .../SourceS3SchemasStreamsFormatFiletype.java | 12 +- ...S3SchemasStreamsFormatFormat6Filetype.java | 23 + ...eS3SchemasStreamsFormatFormatFiletype.java | 12 +- ...eS3SchemasStreamsHeaderDefinitionType.java | 12 +- .../SourceS3UnstructuredDocumentFormat.java | 44 +- .../models/shared/SourceS3UserProvided.java | 32 +- .../shared/SourceS3ValidationPolicy.java | 12 +- .../models/shared/SourceSafetyculture.java | 109 + .../api/models/shared/SourceSageHr.java | 138 + .../api/models/shared/SourceSalesflare.java | 121 + .../api/models/shared/SourceSalesforce.java | 124 +- .../shared/SourceSalesforceSalesforce.java | 12 +- .../api/models/shared/SourceSalesloft.java | 22 +- .../shared/SourceSalesloftAuthType.java | 12 +- .../shared/SourceSalesloftCredentials.java | 43 +- .../SourceSalesloftSchemasAuthType.java | 12 +- .../models/shared/SourceSapFieldglass.java | 18 +- .../api/models/shared/SourceSavvycal.java | 18 +- .../api/models/shared/SourceScryfall.java | 16 +- .../api/models/shared/SourceSecoda.java | 18 +- .../api/models/shared/SourceSegment.java | 228 + .../api/models/shared/SourceSendgrid.java | 22 +- .../api/models/shared/SourceSendinblue.java | 18 +- .../api/models/shared/SourceSendowl.java | 220 + .../api/models/shared/SourceSendpulse.java | 138 + .../api/models/shared/SourceSenseforce.java | 24 +- .../api/models/shared/SourceSentry.java | 67 +- .../airbyte/api/models/shared/SourceSftp.java | 103 +- .../models/shared/SourceSftpAuthMethod.java | 12 +- .../shared/SourceSftpAuthentication.java | 43 +- .../api/models/shared/SourceSftpBulk.java | 144 +- ...SourceSftpBulkAPIParameterConfigModel.java | 19 +- .../models/shared/SourceSftpBulkAuthType.java | 12 +- .../shared/SourceSftpBulkAuthentication.java | 43 +- .../shared/SourceSftpBulkAutogenerated.java | 17 +- .../shared/SourceSftpBulkAvroFormat.java | 40 +- .../shared/SourceSftpBulkCSVFormat.java | 252 +- .../SourceSftpBulkCSVHeaderDefinition.java | 47 +- .../shared/SourceSftpBulkCopyRawFiles.java | 91 + .../shared/SourceSftpBulkDeliveryMethod.java | 97 + .../shared/SourceSftpBulkDeliveryType.java | 23 + .../shared/SourceSftpBulkExcelFormat.java | 17 +- .../SourceSftpBulkFileBasedStreamConfig.java | 115 +- .../models/shared/SourceSftpBulkFiletype.java | 12 +- .../models/shared/SourceSftpBulkFormat.java | 59 +- .../models/shared/SourceSftpBulkFromCSV.java | 17 +- .../SourceSftpBulkHeaderDefinitionType.java | 12 +- .../shared/SourceSftpBulkJsonlFormat.java | 17 +- .../models/shared/SourceSftpBulkLocal.java | 17 +- .../api/models/shared/SourceSftpBulkMode.java | 12 +- .../shared/SourceSftpBulkParquetFormat.java | 40 +- .../shared/SourceSftpBulkParsingStrategy.java | 12 +- .../shared/SourceSftpBulkProcessing.java | 43 +- .../SourceSftpBulkReplicateRecords.java | 91 + .../shared/SourceSftpBulkSchemasAuthType.java | 12 +- .../SourceSftpBulkSchemasDeliveryType.java | 23 + .../shared/SourceSftpBulkSchemasFiletype.java | 12 +- ...ceSftpBulkSchemasHeaderDefinitionType.java | 12 +- .../shared/SourceSftpBulkSchemasMode.java | 12 +- .../SourceSftpBulkSchemasStreamsFiletype.java | 12 +- ...eSftpBulkSchemasStreamsFormatFiletype.java | 12 +- ...lkSchemasStreamsFormatFormat6Filetype.java | 12 +- ...ulkSchemasStreamsFormatFormatFiletype.java | 12 +- ...ulkSchemasStreamsHeaderDefinitionType.java | 12 +- ...rceSftpBulkUnstructuredDocumentFormat.java | 44 +- .../shared/SourceSftpBulkUserProvided.java | 32 +- .../SourceSftpBulkValidationPolicy.java | 12 +- .../models/shared/SourceSftpBulkViaAPI.java | 79 +- .../SourceSftpPasswordAuthentication.java | 18 +- .../SourceSftpSSHKeyAuthentication.java | 18 +- .../shared/SourceSftpSchemasAuthMethod.java | 12 +- .../api/models/shared/SourceSharetribe.java | 298 + .../api/models/shared/SourceShippo.java | 151 + .../api/models/shared/SourceShopify.java | 140 +- .../shared/SourceShopifyAuthMethod.java | 12 +- .../models/shared/SourceShopifyOAuth20.java | 61 +- .../SourceShopifySchemasAuthMethod.java | 12 +- .../models/shared/SourceShopifyShopify.java | 12 +- .../api/models/shared/SourceShortcut.java | 44 +- .../api/models/shared/SourceShortio.java | 22 +- .../models/shared/SourceSigmaComputing.java | 340 + .../api/models/shared/SourceSimfin.java | 109 + .../api/models/shared/SourceSimplecast.java | 121 + .../api/models/shared/SourceSimplesat.java | 238 + .../api/models/shared/SourceSlack.java | 106 +- .../models/shared/SourceSlackAPIToken.java | 18 +- .../SourceSlackAuthenticationMechanism.java | 43 +- .../models/shared/SourceSlackOptionTitle.java | 12 +- .../shared/SourceSlackSchemasOptionTitle.java | 12 +- .../api/models/shared/SourceSlackSlack.java | 12 +- .../api/models/shared/SourceSmaily.java | 22 +- .../api/models/shared/SourceSmartengage.java | 18 +- .../api/models/shared/SourceSmartreach.java | 139 + .../api/models/shared/SourceSmartsheets.java | 42 +- .../shared/SourceSmartsheetsAuthType.java | 12 +- .../SourceSmartsheetsAuthorizationMethod.java | 43 +- .../shared/SourceSmartsheetsOAuth20.java | 29 +- .../SourceSmartsheetsSchemasAuthType.java | 12 +- .../shared/SourceSmartsheetsSmartsheets.java | 12 +- .../api/models/shared/SourceSmartwaiver.java | 210 + .../shared/SourceSnapchatMarketing.java | 66 +- ...rceSnapchatMarketingSnapchatMarketing.java | 12 +- .../api/models/shared/SourceSnowflake.java | 57 +- .../shared/SourceSnowflakeAuthType.java | 12 +- .../SourceSnowflakeAuthorizationMethod.java | 47 +- .../SourceSnowflakeKeyPairAuthentication.java | 36 +- .../models/shared/SourceSnowflakeOAuth20.java | 50 +- .../SourceSnowflakeSchemasAuthType.java | 12 +- ...ceSnowflakeSchemasCredentialsAuthType.java | 12 +- .../shared/SourceSnowflakeSnowflake.java | 12 +- .../SourceSnowflakeUsernameAndPassword.java | 20 +- .../shared/SourceSolarwindsServiceDesk.java | 151 + .../api/models/shared/SourceSonarCloud.java | 68 +- .../api/models/shared/SourceSpacexApi.java | 46 +- .../api/models/shared/SourceSparkpost.java | 200 + .../api/models/shared/SourceSplitIo.java | 139 + .../api/models/shared/SourceSpotlercrm.java | 121 + .../api/models/shared/SourceSquare.java | 88 +- .../api/models/shared/SourceSquareAPIKey.java | 18 +- .../models/shared/SourceSquareAuthType.java | 12 +- .../shared/SourceSquareAuthentication.java | 43 +- .../shared/SourceSquareSchemasAuthType.java | 12 +- .../api/models/shared/SourceSquareSquare.java | 31 - .../api/models/shared/SourceSquarespace.java | 163 + .../api/models/shared/SourceStatsig.java | 168 + .../api/models/shared/SourceStatuspage.java | 121 + .../api/models/shared/SourceStockdata.java | 306 + .../api/models/shared/SourceStrava.java | 32 +- .../models/shared/SourceStravaAuthType.java | 12 +- .../api/models/shared/SourceStripe.java | 117 +- .../models/shared/SourceSurveySparrow.java | 43 +- .../shared/SourceSurveySparrowUrlBase.java | 12 +- .../api/models/shared/SourceSurveymonkey.java | 49 +- .../shared/SourceSurveymonkeyAuthMethod.java | 12 +- .../SourceSurveymonkeySurveymonkey.java | 12 +- .../api/models/shared/SourceSurvicate.java | 22 +- .../api/models/shared/SourceSysteme.java | 109 + .../api/models/shared/SourceTaboola.java | 179 + .../api/models/shared/SourceTeamtailor.java | 150 + .../api/models/shared/SourceTeamwork.java | 39 +- .../api/models/shared/SourceTempo.java | 18 +- .../api/models/shared/SourceTestrail.java | 232 + .../models/shared/SourceTheGuardianApi.java | 80 +- .../api/models/shared/SourceThinkific.java | 162 + .../api/models/shared/SourceTicketmaster.java | 109 + .../api/models/shared/SourceTickettailor.java | 121 + .../models/shared/SourceTiktokMarketing.java | 96 +- .../shared/SourceTiktokMarketingAuthType.java | 12 +- ...ceTiktokMarketingAuthenticationMethod.java | 43 +- .../shared/SourceTiktokMarketingOAuth20.java | 38 +- .../SourceTiktokMarketingSchemasAuthType.java | 12 +- .../SourceTiktokMarketingTiktokMarketing.java | 12 +- .../api/models/shared/SourceTimely.java | 203 + .../api/models/shared/SourceTinyemail.java | 109 + .../api/models/shared/SourceTodoist.java | 121 + .../api/models/shared/SourceTrackPms.java | 189 + .../api/models/shared/SourceTrello.java | 46 +- .../api/models/shared/SourceTremendous.java | 150 + .../shared/SourceTremendousEnvironment.java | 24 + .../api/models/shared/SourceTrustpilot.java | 35 +- .../models/shared/SourceTrustpilotAPIKey.java | 19 +- .../shared/SourceTrustpilotAuthType.java | 12 +- .../SourceTrustpilotAuthorizationMethod.java | 43 +- .../shared/SourceTrustpilotOAuth20.java | 29 +- .../SourceTrustpilotSchemasAuthType.java | 12 +- .../models/shared/SourceTvmazeSchedule.java | 50 +- .../api/models/shared/SourceTwelveData.java | 367 + .../api/models/shared/SourceTwilio.java | 47 +- .../models/shared/SourceTwilioTaskrouter.java | 20 +- .../api/models/shared/SourceTwitter.java | 52 +- .../api/models/shared/SourceTypeform.java | 57 +- .../models/shared/SourceTypeformAuthType.java | 12 +- .../SourceTypeformAuthorizationMethod.java | 43 +- .../models/shared/SourceTypeformOAuth20.java | 29 +- .../shared/SourceTypeformPrivateToken.java | 19 +- .../shared/SourceTypeformSchemasAuthType.java | 12 +- .../models/shared/SourceTypeformTypeform.java | 12 +- .../api/models/shared/SourceUbidots.java | 121 + .../api/models/shared/SourceUnleash.java | 291 + .../api/models/shared/SourceUppromote.java | 163 + .../api/models/shared/SourceUsCensus.java | 35 +- .../api/models/shared/SourceUservoice.java | 168 + .../api/models/shared/SourceVantage.java | 18 +- .../api/models/shared/SourceVeeqo.java | 139 + .../api/models/shared/SourceVercel.java | 151 + .../models/shared/SourceVismaEconomic.java | 162 + .../api/models/shared/SourceVitally.java | 162 + .../models/shared/SourceVitallyStatus.java | 28 + .../airbyte/api/models/shared/SourceVwo.java | 139 + .../api/models/shared/SourceWaiteraid.java | 203 + .../models/shared/SourceWasabiStatsApi.java | 151 + .../api/models/shared/SourceWeatherstack.java | 203 + .../api/models/shared/SourceWebScrapper.java | 121 + .../api/models/shared/SourceWebflow.java | 35 +- .../api/models/shared/SourceWhenIWork.java | 20 +- .../api/models/shared/SourceWhiskyHunter.java | 16 +- .../shared/SourceWikipediaPageviews.java | 30 +- .../api/models/shared/SourceWoocommerce.java | 24 +- .../api/models/shared/SourceWordpress.java | 309 + .../api/models/shared/SourceWorkable.java | 203 + .../api/models/shared/SourceWorkflowmax.java | 180 + .../api/models/shared/SourceWorkramp.java | 162 + .../api/models/shared/SourceWrike.java | 257 + .../api/models/shared/SourceWufoo.java | 162 + .../airbyte/api/models/shared/SourceXkcd.java | 39 +- .../api/models/shared/SourceXsolla.java | 163 + .../shared/SourceYahooFinancePrice.java | 252 + .../SourceYahooFinancePriceInterval.java | 36 + .../models/shared/SourceYandexMetrica.java | 37 +- .../api/models/shared/SourceYotpo.java | 46 +- .../shared/SourceYouNeedABudgetYnab.java | 109 + .../models/shared/SourceYoutubeAnalytics.java | 32 +- ...ourceYoutubeAnalyticsYoutubeAnalytics.java | 12 +- .../api/models/shared/SourceYoutubeData.java | 140 + .../shared/SourceZapierSupportedStorage.java | 121 + .../api/models/shared/SourceZendeskChat.java | 57 +- .../shared/SourceZendeskChatAccessToken.java | 18 +- .../SourceZendeskChatAuthorizationMethod.java | 43 +- .../shared/SourceZendeskChatCredentials.java | 12 +- .../shared/SourceZendeskChatOAuth20.java | 76 +- .../SourceZendeskChatSchemasCredentials.java | 12 +- .../shared/SourceZendeskChatZendeskChat.java | 12 +- .../models/shared/SourceZendeskSunshine.java | 33 +- .../shared/SourceZendeskSunshineAPIToken.java | 21 +- .../SourceZendeskSunshineAuthMethod.java | 12 +- ...rceZendeskSunshineAuthorizationMethod.java | 43 +- .../shared/SourceZendeskSunshineOAuth20.java | 23 +- ...ourceZendeskSunshineSchemasAuthMethod.java | 12 +- .../SourceZendeskSunshineZendeskSunshine.java | 31 - .../models/shared/SourceZendeskSupport.java | 129 +- .../shared/SourceZendeskSupportAPIToken.java | 218 + .../SourceZendeskSupportAuthentication.java | 100 + .../SourceZendeskSupportCredentials.java | 23 + .../shared/SourceZendeskSupportOAuth20.java | 302 + ...ourceZendeskSupportSchemasCredentials.java | 23 + .../SourceZendeskSupportZendeskSupport.java | 12 +- .../api/models/shared/SourceZendeskTalk.java | 43 +- .../shared/SourceZendeskTalkAPIToken.java | 218 + .../shared/SourceZendeskTalkAuthType.java | 23 + .../SourceZendeskTalkAuthentication.java | 100 + .../shared/SourceZendeskTalkOAuth20.java | 302 + .../SourceZendeskTalkSchemasAuthType.java | 23 + .../shared/SourceZendeskTalkZendeskTalk.java | 12 +- .../api/models/shared/SourceZenefits.java | 121 + .../api/models/shared/SourceZenloop.java | 63 +- .../SourceZohoAnalyticsMetadataApi.java | 260 + ...rceZohoAnalyticsMetadataApiDataCenter.java | 28 + .../api/models/shared/SourceZohoBigin.java | 277 + .../shared/SourceZohoBiginDataCenter.java | 31 + .../api/models/shared/SourceZohoBilling.java | 196 + .../shared/SourceZohoBillingRegion.java | 30 + .../api/models/shared/SourceZohoBooks.java | 238 + .../models/shared/SourceZohoBooksRegion.java | 33 + .../api/models/shared/SourceZohoCampaign.java | 196 + .../shared/SourceZohoCampaignDataCenter.java | 28 + .../api/models/shared/SourceZohoCrm.java | 49 +- .../shared/SourceZohoCrmEnvironment.java | 12 +- .../api/models/shared/SourceZohoDesk.java | 250 + .../api/models/shared/SourceZohoExpense.java | 247 + .../shared/SourceZohoExpenseDataCenter.java | 33 + .../models/shared/SourceZohoInventory.java | 278 + .../api/models/shared/SourceZohoInvoice.java | 267 + .../shared/SourceZohoInvoiceRegion.java | 30 + .../models/shared/SourceZonkaFeedback.java | 162 + .../airbyte/api/models/shared/SourceZoom.java | 44 +- .../api/models/shared/SourcesResponse.java | 62 +- .../airbyte/api/models/shared/SpacexApi.java | 12 +- .../airbyte/api/models/shared/Sparkpost.java | 23 + .../airbyte/api/models/shared/SplitIo.java | 23 + .../airbyte/api/models/shared/Spotlercrm.java | 23 + .../com/airbyte/api/models/shared/Square.java | 110 +- .../api/models/shared/Squarespace.java | 23 + .../shared/StandaloneMongoDbInstance.java | 62 +- .../com/airbyte/api/models/shared/State.java | 12 +- .../api/models/shared/StateFilter.java | 33 - .../api/models/shared/StateFilterEnum.java | 28 + .../api/models/shared/StatisticsInterval.java | 28 + .../airbyte/api/models/shared/Statsig.java | 23 + .../com/airbyte/api/models/shared/Status.java | 12 +- .../airbyte/api/models/shared/Statuspage.java | 23 + .../airbyte/api/models/shared/Stockdata.java | 23 + .../airbyte/api/models/shared/Storage.java | 12 +- .../api/models/shared/StorageConfig.java | 100 + .../api/models/shared/StorageProvider.java | 67 +- .../api/models/shared/StorageType.java | 23 + .../airbyte/api/models/shared/Strategies.java | 12 +- .../com/airbyte/api/models/shared/Strava.java | 12 +- .../models/shared/StreamConfiguration.java | 144 +- .../models/shared/StreamConfigurations.java | 37 +- .../api/models/shared/StreamMapperType.java | 26 + .../api/models/shared/StreamProperties.java | 128 +- .../api/models/shared/StreamsCriteria.java | 22 +- .../api/models/shared/StringFilter.java | 56 +- .../com/airbyte/api/models/shared/Stripe.java | 12 +- .../SurveyMonkeyAuthorizationMethod.java | 48 +- .../api/models/shared/SurveySparrow.java | 12 +- .../api/models/shared/Surveymonkey.java | 18 +- .../shared/SurveymonkeyCredentials.java | 45 +- .../airbyte/api/models/shared/Survicate.java | 12 +- .../shared/SwipeUpAttributionWindow.java | 12 +- .../api/models/shared/SystemIDSID.java | 19 +- .../airbyte/api/models/shared/Systeme.java | 23 + .../shared/TLSEncryptedVerifyCertificate.java | 19 +- .../airbyte/api/models/shared/Taboola.java | 23 + .../api/models/shared/TargetsType.java | 12 +- .../airbyte/api/models/shared/Teamtailor.java | 23 + .../airbyte/api/models/shared/Teamwork.java | 12 +- .../models/shared/TechnicalIndicatorType.java | 33 + .../com/airbyte/api/models/shared/Tempo.java | 12 +- .../airbyte/api/models/shared/Teradata.java | 12 +- .../api/models/shared/TestDestination.java | 114 + .../models/shared/TestDestinationType.java | 23 + .../airbyte/api/models/shared/Testrail.java | 23 + .../api/models/shared/TextSplitter.java | 47 +- .../api/models/shared/TheGuardianApi.java | 12 +- .../airbyte/api/models/shared/Thinkific.java | 23 + .../airbyte/api/models/shared/Throttled.java | 214 + .../api/models/shared/Ticketmaster.java | 23 + .../api/models/shared/Tickettailor.java | 23 + .../api/models/shared/TiktokMarketing.java | 18 +- .../shared/TiktokMarketingCredentials.java | 45 +- .../api/models/shared/TimeAggregates.java | 32 + .../airbyte/api/models/shared/TimeFrame.java | 31 + .../api/models/shared/TimeGranularity.java | 12 +- .../models/shared/TimeGranularityType.java | 12 +- .../api/models/shared/TimeInterval.java | 29 + .../airbyte/api/models/shared/TimePeriod.java | 27 + .../com/airbyte/api/models/shared/Timely.java | 23 + .../airbyte/api/models/shared/Timeplus.java | 12 +- .../airbyte/api/models/shared/Tinyemail.java | 23 + .../airbyte/api/models/shared/ToValue.java | 43 +- .../airbyte/api/models/shared/Todoist.java | 23 + .../api/models/shared/TopHeadlinesTopic.java | 12 +- .../airbyte/api/models/shared/TrackPms.java | 23 + .../shared/TransformationQueryRunType.java | 12 +- .../com/airbyte/api/models/shared/Trello.java | 12 +- .../airbyte/api/models/shared/Tremendous.java | 23 + .../airbyte/api/models/shared/Trustpilot.java | 12 +- .../api/models/shared/TunnelMethod.java | 12 +- .../api/models/shared/TvmazeSchedule.java | 12 +- .../airbyte/api/models/shared/TwelveData.java | 23 + .../com/airbyte/api/models/shared/Twilio.java | 12 +- .../api/models/shared/TwilioTaskrouter.java | 12 +- .../airbyte/api/models/shared/Twitter.java | 12 +- .../airbyte/api/models/shared/Typeform.java | 18 +- .../models/shared/TypeformCredentials.java | 45 +- .../airbyte/api/models/shared/Typesense.java | 12 +- .../airbyte/api/models/shared/URLRegion.java | 28 + .../airbyte/api/models/shared/Ubidots.java | 23 + .../api/models/shared/Unencrypted.java | 17 +- .../api/models/shared/UnitOfMeasure.java | 12 +- .../com/airbyte/api/models/shared/Units.java | 28 + .../airbyte/api/models/shared/Unleash.java | 23 + .../shared/UnstructuredDocumentFormat.java | 44 +- .../api/models/shared/UpdateMethod.java | 43 +- .../api/models/shared/UploadingMethod.java | 39 +- .../airbyte/api/models/shared/Uppromote.java | 23 + .../airbyte/api/models/shared/UrlBase.java | 12 +- .../airbyte/api/models/shared/UsCensus.java | 12 +- .../api/models/shared/UserProvided.java | 32 +- .../api/models/shared/UserResponse.java | 21 +- .../models/shared/UsernameAndPassword.java | 19 +- .../api/models/shared/UsernamePassword.java | 20 +- .../api/models/shared/UsersResponse.java | 30 +- .../airbyte/api/models/shared/Uservoice.java | 23 + .../models/shared/ValidActionBreakdowns.java | 12 +- .../api/models/shared/ValidAdSetStatuses.java | 12 +- .../api/models/shared/ValidAdStatuses.java | 12 +- .../api/models/shared/ValidBreakdowns.java | 12 +- .../models/shared/ValidCampaignStatuses.java | 12 +- .../api/models/shared/ValidationPolicy.java | 12 +- .../airbyte/api/models/shared/Validenums.java | 12 +- .../com/airbyte/api/models/shared/Value.java | 43 +- .../airbyte/api/models/shared/ValueType.java | 12 +- .../airbyte/api/models/shared/Vantage.java | 12 +- .../airbyte/api/models/shared/Vectara.java | 12 +- .../com/airbyte/api/models/shared/Veeqo.java | 23 + .../com/airbyte/api/models/shared/Vercel.java | 23 + .../airbyte/api/models/shared/VerifyCa.java | 34 +- .../airbyte/api/models/shared/VerifyFull.java | 38 +- .../api/models/shared/VerifyIdentity.java | 63 +- .../com/airbyte/api/models/shared/ViaAPI.java | 79 +- .../models/shared/ViewAttributionWindow.java | 12 +- .../api/models/shared/ViewWindowDays.java | 11 +- .../api/models/shared/VismaEconomic.java | 23 + .../airbyte/api/models/shared/Vitally.java | 23 + .../com/airbyte/api/models/shared/Vwo.java | 23 + .../airbyte/api/models/shared/Waiteraid.java | 23 + .../api/models/shared/WasabiStatsApi.java | 23 + .../api/models/shared/Weatherstack.java | 23 + .../airbyte/api/models/shared/Weaviate.java | 12 +- .../api/models/shared/WebScrapper.java | 23 + .../airbyte/api/models/shared/Webflow.java | 12 +- .../airbyte/api/models/shared/WhenIWork.java | 12 +- .../api/models/shared/WhiskyHunter.java | 12 +- .../api/models/shared/WikipediaPageviews.java | 12 +- .../api/models/shared/Woocommerce.java | 12 +- .../airbyte/api/models/shared/Wordpress.java | 23 + .../airbyte/api/models/shared/Workable.java | 23 + .../api/models/shared/Workflowmax.java | 23 + .../airbyte/api/models/shared/Workramp.java | 23 + .../models/shared/WorkspaceCreateRequest.java | 32 +- .../WorkspaceOAuthCredentialsRequest.java | 21 +- .../api/models/shared/WorkspaceResponse.java | 24 +- .../models/shared/WorkspaceUpdateRequest.java | 17 +- .../api/models/shared/WorkspacesResponse.java | 62 +- .../com/airbyte/api/models/shared/Wrike.java | 23 + .../com/airbyte/api/models/shared/Wufoo.java | 23 + .../com/airbyte/api/models/shared/Xkcd.java | 12 +- .../com/airbyte/api/models/shared/Xsolla.java | 23 + .../com/airbyte/api/models/shared/Xz.java | 40 +- .../api/models/shared/YahooFinancePrice.java | 23 + .../api/models/shared/YandexMetrica.java | 12 +- .../api/models/shared/Yellowbrick.java | 12 +- .../com/airbyte/api/models/shared/Yotpo.java | 12 +- .../api/models/shared/YouNeedABudgetYnab.java | 23 + .../api/models/shared/YoutubeAnalytics.java | 18 +- .../shared/YoutubeAnalyticsCredentials.java | 45 +- .../api/models/shared/YoutubeData.java | 23 + .../models/shared/ZapierSupportedStorage.java | 23 + .../api/models/shared/ZendeskChat.java | 18 +- .../models/shared/ZendeskChatCredentials.java | 45 +- .../api/models/shared/ZendeskSunshine.java | 110 +- .../api/models/shared/ZendeskSupport.java | 18 +- .../shared/ZendeskSupportCredentials.java | 45 +- .../api/models/shared/ZendeskTalk.java | 18 +- .../models/shared/ZendeskTalkCredentials.java | 45 +- .../airbyte/api/models/shared/Zenefits.java | 23 + .../airbyte/api/models/shared/Zenloop.java | 12 +- .../shared/ZohoAnalyticsMetadataApi.java | 23 + .../airbyte/api/models/shared/ZohoBigin.java | 23 + .../api/models/shared/ZohoBilling.java | 23 + .../airbyte/api/models/shared/ZohoBooks.java | 23 + .../api/models/shared/ZohoCRMEdition.java | 12 +- .../api/models/shared/ZohoCampaign.java | 23 + .../airbyte/api/models/shared/ZohoCrm.java | 12 +- .../airbyte/api/models/shared/ZohoDesk.java | 23 + .../api/models/shared/ZohoExpense.java | 23 + .../api/models/shared/ZohoInventory.java | 23 + .../api/models/shared/ZohoInvoice.java | 23 + .../api/models/shared/ZonkaFeedback.java | 23 + .../com/airbyte/api/models/shared/Zoom.java | 12 +- .../airbyte/api/models/shared/Zstandard.java | 60 +- .../airbyte/api/utils/BackoffStrategy.java | 2 +- .../airbyte/api/utils/BigDecimalString.java | 2 +- .../airbyte/api/utils/BigIntegerString.java | 2 +- .../com/airbyte/api/utils/Deserializers.java | 2 +- .../com/airbyte/api/utils/EventStream.java | 8 +- .../api/utils/EventStreamLineReader.java | 2 +- .../airbyte/api/utils/EventStreamMessage.java | 2 +- .../airbyte/api/utils/EventStreamReader.java | 2 +- .../com/airbyte/api/utils/FormMetadata.java | 2 +- .../com/airbyte/api/utils/HTTPClient.java | 2 +- .../com/airbyte/api/utils/HTTPRequest.java | 70 +- .../com/airbyte/api/utils/HeaderMetadata.java | 2 +- .../java/com/airbyte/api/utils/Helpers.java | 2 +- src/main/java/com/airbyte/api/utils/Hook.java | 2 +- .../java/com/airbyte/api/utils/Hooks.java | 2 +- src/main/java/com/airbyte/api/utils/JSON.java | 2 +- .../airbyte/api/utils/LazySingletonValue.java | 2 +- .../java/com/airbyte/api/utils/Metadata.java | 2 +- .../api/utils/MultipartFormMetadata.java | 2 +- .../airbyte/api/utils/OneOfDeserializer.java | 38 +- .../java/com/airbyte/api/utils/Options.java | 16 +- .../airbyte/api/utils/PathParamsMetadata.java | 6 +- .../com/airbyte/api/utils/QueryParameter.java | 62 + .../airbyte/api/utils/QueryParameters.java | 71 +- .../api/utils/QueryParamsMetadata.java | 6 +- .../com/airbyte/api/utils/RequestBody.java | 3 +- .../airbyte/api/utils/RequestMetadata.java | 2 +- .../java/com/airbyte/api/utils/Response.java | 2 +- .../java/com/airbyte/api/utils/Retries.java | 5 +- .../com/airbyte/api/utils/RetryConfig.java | 4 +- .../java/com/airbyte/api/utils/Security.java | 77 +- .../airbyte/api/utils/SecurityMetadata.java | 2 +- .../com/airbyte/api/utils/SerializedBody.java | 2 +- .../com/airbyte/api/utils/SessionManager.java | 178 + .../api/utils/SpeakeasyHTTPClient.java | 2 +- .../airbyte/api/utils/SpeakeasyMetadata.java | 2 +- .../com/airbyte/api/utils/TypedObject.java | 9 +- .../java/com/airbyte/api/utils/Types.java | 2 +- .../com/airbyte/api/utils/Utf8UrlEncoder.java | 117 + .../java/com/airbyte/api/utils/Utils.java | 269 +- 4335 files changed, 111763 insertions(+), 46050 deletions(-) create mode 100644 docs/models/shared/APIEndpointPrefix.md create mode 100644 docs/models/shared/Activecampaign.md rename docs/models/shared/{SourceRetentlyRetently.md => Agilecrm.md} (57%) rename docs/models/shared/{SourceSquareSquare.md => Akeneo.md} (58%) create mode 100644 docs/models/shared/Algolia.md rename docs/models/shared/{SourceZendeskSunshineZendeskSunshine.md => AppleSearchAds.md} (55%) create mode 100644 docs/models/shared/Apptivo.md create mode 100644 docs/models/shared/Ashby.md create mode 100644 docs/models/shared/AuthenticateViaAccessKeys.md create mode 100644 docs/models/shared/AuthenticateViaGoogleOAuth.md create mode 100644 docs/models/shared/AuthenticateViaHarvestOAuth.md create mode 100644 docs/models/shared/AuthenticateViaOAuth20.md create mode 100644 docs/models/shared/AuthenticateViaRetentlyOAuth.md create mode 100644 docs/models/shared/AuthenticateWithAPIToken.md create mode 100644 docs/models/shared/Beamer.md create mode 100644 docs/models/shared/Bigmailer.md create mode 100644 docs/models/shared/Blogger.md create mode 100644 docs/models/shared/Box.md create mode 100644 docs/models/shared/Brex.md create mode 100644 docs/models/shared/Bugsnag.md create mode 100644 docs/models/shared/BunnyInc.md create mode 100644 docs/models/shared/CalCom.md create mode 100644 docs/models/shared/Callrail.md create mode 100644 docs/models/shared/CampaignMonitor.md create mode 100644 docs/models/shared/Campayn.md create mode 100644 docs/models/shared/CapsuleCrm.md create mode 100644 docs/models/shared/CareQualityCommission.md create mode 100644 docs/models/shared/CastorEdc.md create mode 100644 docs/models/shared/CatalogType.md create mode 100644 docs/models/shared/Category.md create mode 100644 docs/models/shared/Chargedesk.md create mode 100644 docs/models/shared/Chargify.md create mode 100644 docs/models/shared/Cin7.md create mode 100644 docs/models/shared/Circa.md create mode 100644 docs/models/shared/Circleci.md create mode 100644 docs/models/shared/ClarifAi.md create mode 100644 docs/models/shared/Clockodo.md create mode 100644 docs/models/shared/Cloudbeds.md create mode 100644 docs/models/shared/ClusterType.md create mode 100644 docs/models/shared/Coassemble.md create mode 100644 docs/models/shared/Codefresh.md create mode 100644 docs/models/shared/Concord.md create mode 100644 docs/models/shared/ConfiguredStreamMapper.md create mode 100644 docs/models/shared/Convertkit.md create mode 100644 docs/models/shared/Copper.md create mode 100644 docs/models/shared/CopyRawFiles.md create mode 100644 docs/models/shared/Countercyclical.md create mode 100644 docs/models/shared/DataCenter.md create mode 100644 docs/models/shared/DataCenterID.md create mode 100644 docs/models/shared/DeliveryMethod.md create mode 100644 docs/models/shared/DeliveryType.md create mode 100644 docs/models/shared/Deputy.md create mode 100644 docs/models/shared/DestinationDevNull.md create mode 100644 docs/models/shared/DestinationDevNullLoggingType.md create mode 100644 docs/models/shared/DestinationDevNullSchemasLoggingType.md create mode 100644 docs/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.md create mode 100644 docs/models/shared/DestinationDevNullSchemasTestDestinationType.md create mode 100644 docs/models/shared/DestinationDevNullTestDestinationType.md create mode 100644 docs/models/shared/DestinationGcsGcs.md create mode 100644 docs/models/shared/DestinationIceberg.md create mode 100644 docs/models/shared/DestinationIcebergCatalogType.md create mode 100644 docs/models/shared/DestinationIcebergS3.md create mode 100644 docs/models/shared/DestinationIcebergS3BucketRegion.md create mode 100644 docs/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.md create mode 100644 docs/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.md create mode 100644 docs/models/shared/DestinationIcebergSchemasCatalogType.md create mode 100644 docs/models/shared/DestinationIcebergStorageType.md create mode 100644 docs/models/shared/DestinationMotherduck.md create mode 100644 docs/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.md create mode 100644 docs/models/shared/DevNull.md create mode 100644 docs/models/shared/Domain.md create mode 100644 docs/models/shared/Drift.md create mode 100644 docs/models/shared/DriftCredentials.md create mode 100644 docs/models/shared/Drip.md create mode 100644 docs/models/shared/DropboxSign.md create mode 100644 docs/models/shared/EConomic.md create mode 100644 docs/models/shared/Easypost.md create mode 100644 docs/models/shared/Easypromos.md create mode 100644 docs/models/shared/Elasticemail.md create mode 100644 docs/models/shared/EmploymentHero.md create mode 100644 docs/models/shared/Encharge.md create mode 100644 docs/models/shared/Entity.md create mode 100644 docs/models/shared/Eventbrite.md create mode 100644 docs/models/shared/Eventee.md create mode 100644 docs/models/shared/Eventzilla.md create mode 100644 docs/models/shared/EveryNThEntry.md create mode 100644 docs/models/shared/Factorial.md create mode 100644 docs/models/shared/Failing.md create mode 100644 docs/models/shared/FileStorageFormat.md create mode 100644 docs/models/shared/Fillout.md create mode 100644 docs/models/shared/Finage.md create mode 100644 docs/models/shared/FinancialModelling.md create mode 100644 docs/models/shared/Finnhub.md create mode 100644 docs/models/shared/Finnworlds.md create mode 100644 docs/models/shared/Firehydrant.md create mode 100644 docs/models/shared/FirstNEntries.md create mode 100644 docs/models/shared/Flexmail.md create mode 100644 docs/models/shared/Flexport.md create mode 100644 docs/models/shared/Float.md create mode 100644 docs/models/shared/Flowlu.md create mode 100644 docs/models/shared/Formbricks.md create mode 100644 docs/models/shared/FreeAgentConnector.md create mode 100644 docs/models/shared/Freightview.md create mode 100644 docs/models/shared/Freshbooks.md create mode 100644 docs/models/shared/Freshchat.md create mode 100644 docs/models/shared/Freshservice.md create mode 100644 docs/models/shared/Fulcrum.md create mode 100644 docs/models/shared/GcsCredentials.md create mode 100644 docs/models/shared/Getgist.md create mode 100644 docs/models/shared/Gitbook.md create mode 100644 docs/models/shared/GlueCatalog.md create mode 100644 docs/models/shared/Gmail.md create mode 100644 docs/models/shared/GoCardlessAPIEnvironment.md create mode 100644 docs/models/shared/Gocardless.md create mode 100644 docs/models/shared/Gong.md create mode 100644 docs/models/shared/GoogleCalendar.md create mode 100644 docs/models/shared/GoogleClassroom.md create mode 100644 docs/models/shared/GoogleForms.md create mode 100644 docs/models/shared/Gorgias.md create mode 100644 docs/models/shared/Gutendex.md create mode 100644 docs/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.md create mode 100644 docs/models/shared/HiveCatalogUseApacheHiveMetaStore.md create mode 100644 docs/models/shared/Humanitix.md create mode 100644 docs/models/shared/Iceberg.md create mode 100644 docs/models/shared/IcebergCatalogConfig.md create mode 100644 docs/models/shared/IlluminaBasespace.md create mode 100644 docs/models/shared/IncidentIo.md create mode 100644 docs/models/shared/Inflowinventory.md create mode 100644 docs/models/shared/Interval.md create mode 100644 docs/models/shared/Invoiced.md create mode 100644 docs/models/shared/Invoiceninja.md create mode 100644 docs/models/shared/JdbcCatalogUseRelationalDatabase.md create mode 100644 docs/models/shared/Jobnimbus.md create mode 100644 docs/models/shared/JustSift.md create mode 100644 docs/models/shared/Justcall.md create mode 100644 docs/models/shared/Katana.md create mode 100644 docs/models/shared/Kind.md create mode 100644 docs/models/shared/Kisi.md create mode 100644 docs/models/shared/Kissmetrics.md create mode 100644 docs/models/shared/KlausApi.md create mode 100644 docs/models/shared/LSNCommitBehaviour.md create mode 100644 docs/models/shared/Lang.md create mode 100644 docs/models/shared/LessAnnoyingCrm.md create mode 100644 docs/models/shared/LightspeedRetail.md create mode 100644 docs/models/shared/Lob.md create mode 100644 docs/models/shared/Logging.md create mode 100644 docs/models/shared/LoggingConfiguration.md create mode 100644 docs/models/shared/LoggingType.md create mode 100644 docs/models/shared/Mailerlite.md create mode 100644 docs/models/shared/MailjetMail.md create mode 100644 docs/models/shared/Mailosaur.md create mode 100644 docs/models/shared/Mailtrap.md create mode 100644 docs/models/shared/MapperConfiguration.md create mode 100644 docs/models/shared/MarketNewsCategory.md create mode 100644 docs/models/shared/Marketstack.md create mode 100644 docs/models/shared/Mention.md create mode 100644 docs/models/shared/MicrosoftDataverse.md create mode 100644 docs/models/shared/MicrosoftEntraId.md create mode 100644 docs/models/shared/MicrosoftLists.md create mode 100644 docs/models/shared/Miro.md create mode 100644 docs/models/shared/Missive.md create mode 100644 docs/models/shared/Mixmax.md create mode 100644 docs/models/shared/MongoDBAtlasReplicaSet.md create mode 100644 docs/models/shared/Motherduck.md create mode 100644 docs/models/shared/Mux.md create mode 100644 docs/models/shared/N8n.md create mode 100644 docs/models/shared/Nasa.md create mode 100644 docs/models/shared/NewsApi.md create mode 100644 docs/models/shared/NewsdataIo.md create mode 100644 docs/models/shared/Nocrm.md create mode 100644 docs/models/shared/Nutshell.md create mode 100644 docs/models/shared/Oncehub.md create mode 100644 docs/models/shared/Onepagecrm.md create mode 100644 docs/models/shared/Onfleet.md create mode 100644 docs/models/shared/OpenDataDc.md create mode 100644 docs/models/shared/Openaq.md create mode 100644 docs/models/shared/Openfda.md create mode 100644 docs/models/shared/Openweather.md create mode 100644 docs/models/shared/OpinionStage.md create mode 100644 docs/models/shared/Opsgenie.md create mode 100644 docs/models/shared/Oura.md create mode 100644 docs/models/shared/Oveit.md create mode 100644 docs/models/shared/PabblySubscriptionsBilling.md create mode 100644 docs/models/shared/Pandadoc.md create mode 100644 docs/models/shared/Paperform.md create mode 100644 docs/models/shared/Papersign.md create mode 100644 docs/models/shared/Pardot.md create mode 100644 docs/models/shared/Persona.md create mode 100644 docs/models/shared/Pipeliner.md create mode 100644 docs/models/shared/PivotalTracker.md create mode 100644 docs/models/shared/Plaid.md create mode 100644 docs/models/shared/PlaidEnvironment.md create mode 100644 docs/models/shared/Plausible.md create mode 100644 docs/models/shared/Plugin.md create mode 100644 docs/models/shared/Pretix.md create mode 100644 docs/models/shared/Primetric.md create mode 100644 docs/models/shared/Quickbooks.md create mode 100644 docs/models/shared/RESTCatalog.md create mode 100644 docs/models/shared/RandomSampling.md create mode 100644 docs/models/shared/Range.md create mode 100644 docs/models/shared/RdStationMarketing.md create mode 100644 docs/models/shared/RdStationMarketingAuthorization.md create mode 100644 docs/models/shared/ReadChangesUsingWriteAheadLogCDC.md create mode 100644 docs/models/shared/Referralhero.md create mode 100644 docs/models/shared/Rentcast.md create mode 100644 docs/models/shared/Repairshopr.md create mode 100644 docs/models/shared/ReplicateRecords.md create mode 100644 docs/models/shared/ReplyIo.md rename docs/models/shared/{ReportRecordTypes.md => ReportRecordTypeEnum.md} (91%) delete mode 100644 docs/models/shared/RetentlyCredentials.md create mode 100644 docs/models/shared/Revenuecat.md create mode 100644 docs/models/shared/RevolutMerchant.md create mode 100644 docs/models/shared/Rocketlane.md create mode 100644 docs/models/shared/RoleBasedAuthentication.md create mode 100644 docs/models/shared/Rollbar.md create mode 100644 docs/models/shared/Rootly.md create mode 100644 docs/models/shared/Ruddr.md create mode 100644 docs/models/shared/Safetyculture.md create mode 100644 docs/models/shared/SageHr.md create mode 100644 docs/models/shared/Salesflare.md create mode 100644 docs/models/shared/ScopeType.md create mode 100644 docs/models/shared/SearchIn.md create mode 100644 docs/models/shared/Segment.md create mode 100644 docs/models/shared/SelfManagedReplicaSet.md create mode 100644 docs/models/shared/Sendowl.md create mode 100644 docs/models/shared/Sendpulse.md create mode 100644 docs/models/shared/ServerManaged.md create mode 100644 docs/models/shared/ServiceAccountAuthentication.md create mode 100644 docs/models/shared/Sharetribe.md create mode 100644 docs/models/shared/Shippo.md create mode 100644 docs/models/shared/SigmaComputing.md create mode 100644 docs/models/shared/SignInViaRDStationOAuth.md create mode 100644 docs/models/shared/Silent.md create mode 100644 docs/models/shared/Simfin.md create mode 100644 docs/models/shared/Simplecast.md create mode 100644 docs/models/shared/Simplesat.md create mode 100644 docs/models/shared/Smartreach.md create mode 100644 docs/models/shared/Smartwaiver.md create mode 100644 docs/models/shared/SolarwindsServiceDesk.md create mode 100644 docs/models/shared/SourceActivecampaign.md create mode 100644 docs/models/shared/SourceAgilecrm.md create mode 100644 docs/models/shared/SourceAkeneo.md create mode 100644 docs/models/shared/SourceAlgolia.md create mode 100644 docs/models/shared/SourceAppleSearchAds.md create mode 100644 docs/models/shared/SourceApptivo.md create mode 100644 docs/models/shared/SourceAshby.md create mode 100644 docs/models/shared/SourceBeamer.md create mode 100644 docs/models/shared/SourceBigmailer.md create mode 100644 docs/models/shared/SourceBlogger.md create mode 100644 docs/models/shared/SourceBox.md create mode 100644 docs/models/shared/SourceBrex.md create mode 100644 docs/models/shared/SourceBugsnag.md create mode 100644 docs/models/shared/SourceBunnyInc.md create mode 100644 docs/models/shared/SourceCalCom.md create mode 100644 docs/models/shared/SourceCallrail.md create mode 100644 docs/models/shared/SourceCampaignMonitor.md create mode 100644 docs/models/shared/SourceCampayn.md create mode 100644 docs/models/shared/SourceCapsuleCrm.md create mode 100644 docs/models/shared/SourceCareQualityCommission.md create mode 100644 docs/models/shared/SourceCastorEdc.md create mode 100644 docs/models/shared/SourceChargedesk.md create mode 100644 docs/models/shared/SourceChargify.md create mode 100644 docs/models/shared/SourceCin7.md create mode 100644 docs/models/shared/SourceCirca.md create mode 100644 docs/models/shared/SourceCircleci.md create mode 100644 docs/models/shared/SourceClarifAi.md create mode 100644 docs/models/shared/SourceClockodo.md create mode 100644 docs/models/shared/SourceCloudbeds.md create mode 100644 docs/models/shared/SourceCoassemble.md create mode 100644 docs/models/shared/SourceCodefresh.md create mode 100644 docs/models/shared/SourceConcord.md create mode 100644 docs/models/shared/SourceConcordEnvironment.md create mode 100644 docs/models/shared/SourceConvertkit.md create mode 100644 docs/models/shared/SourceCopper.md create mode 100644 docs/models/shared/SourceCountercyclical.md create mode 100644 docs/models/shared/SourceDeputy.md create mode 100644 docs/models/shared/SourceDrift.md create mode 100644 docs/models/shared/SourceDriftAuthorizationMethod.md create mode 100644 docs/models/shared/SourceDriftCredentials.md create mode 100644 docs/models/shared/SourceDriftDrift.md create mode 100644 docs/models/shared/SourceDriftOAuth20.md create mode 100644 docs/models/shared/SourceDriftSchemasCredentials.md create mode 100644 docs/models/shared/SourceDrip.md create mode 100644 docs/models/shared/SourceDropboxSign.md create mode 100644 docs/models/shared/SourceDynamodbAuthType.md create mode 100644 docs/models/shared/SourceDynamodbCredentials.md create mode 100644 docs/models/shared/SourceDynamodbSchemasAuthType.md create mode 100644 docs/models/shared/SourceEConomic.md create mode 100644 docs/models/shared/SourceEasypost.md create mode 100644 docs/models/shared/SourceEasypromos.md create mode 100644 docs/models/shared/SourceElasticemail.md create mode 100644 docs/models/shared/SourceEmploymentHero.md create mode 100644 docs/models/shared/SourceEncharge.md create mode 100644 docs/models/shared/SourceEventbrite.md create mode 100644 docs/models/shared/SourceEventee.md create mode 100644 docs/models/shared/SourceEventzilla.md create mode 100644 docs/models/shared/SourceFactorial.md create mode 100644 docs/models/shared/SourceFileFileFormat.md create mode 100644 docs/models/shared/SourceFillout.md create mode 100644 docs/models/shared/SourceFinage.md create mode 100644 docs/models/shared/SourceFinancialModelling.md create mode 100644 docs/models/shared/SourceFinnhub.md create mode 100644 docs/models/shared/SourceFinnworlds.md create mode 100644 docs/models/shared/SourceFirehydrant.md create mode 100644 docs/models/shared/SourceFlexmail.md create mode 100644 docs/models/shared/SourceFlexport.md create mode 100644 docs/models/shared/SourceFloat.md create mode 100644 docs/models/shared/SourceFlowlu.md create mode 100644 docs/models/shared/SourceFormbricks.md create mode 100644 docs/models/shared/SourceFreeAgentConnector.md create mode 100644 docs/models/shared/SourceFreightview.md create mode 100644 docs/models/shared/SourceFreshbooks.md create mode 100644 docs/models/shared/SourceFreshchat.md create mode 100644 docs/models/shared/SourceFreshservice.md create mode 100644 docs/models/shared/SourceFulcrum.md create mode 100644 docs/models/shared/SourceGcsAuthType.md create mode 100644 docs/models/shared/SourceGcsAuthentication.md create mode 100644 docs/models/shared/SourceGcsSchemasAuthType.md create mode 100644 docs/models/shared/SourceGetgist.md create mode 100644 docs/models/shared/SourceGitbook.md create mode 100644 docs/models/shared/SourceGmail.md create mode 100644 docs/models/shared/SourceGnewsCountry.md create mode 100644 docs/models/shared/SourceGnewsLanguage.md create mode 100644 docs/models/shared/SourceGnewsSortBy.md create mode 100644 docs/models/shared/SourceGocardless.md create mode 100644 docs/models/shared/SourceGong.md create mode 100644 docs/models/shared/SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.md create mode 100644 docs/models/shared/SourceGoogleCalendar.md create mode 100644 docs/models/shared/SourceGoogleClassroom.md create mode 100644 docs/models/shared/SourceGoogleForms.md create mode 100644 docs/models/shared/SourceGorgias.md create mode 100644 docs/models/shared/SourceGutendex.md create mode 100644 docs/models/shared/SourceHarvestAuthType.md create mode 100644 docs/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.md create mode 100644 docs/models/shared/SourceHarvestAuthenticationMechanism.md create mode 100644 docs/models/shared/SourceHarvestSchemasAuthType.md create mode 100644 docs/models/shared/SourceHumanitix.md create mode 100644 docs/models/shared/SourceIlluminaBasespace.md create mode 100644 docs/models/shared/SourceIncidentIo.md create mode 100644 docs/models/shared/SourceInflowinventory.md create mode 100644 docs/models/shared/SourceInvoiced.md create mode 100644 docs/models/shared/SourceInvoiceninja.md create mode 100644 docs/models/shared/SourceJobnimbus.md create mode 100644 docs/models/shared/SourceJustSift.md create mode 100644 docs/models/shared/SourceJustcall.md create mode 100644 docs/models/shared/SourceKatana.md create mode 100644 docs/models/shared/SourceKisi.md create mode 100644 docs/models/shared/SourceKissmetrics.md create mode 100644 docs/models/shared/SourceKlausApi.md create mode 100644 docs/models/shared/SourceLessAnnoyingCrm.md create mode 100644 docs/models/shared/SourceLightspeedRetail.md create mode 100644 docs/models/shared/SourceLinkedinAdsAccessToken.md create mode 100644 docs/models/shared/SourceLob.md create mode 100644 docs/models/shared/SourceMailerlite.md create mode 100644 docs/models/shared/SourceMailjetMail.md create mode 100644 docs/models/shared/SourceMailosaur.md create mode 100644 docs/models/shared/SourceMailtrap.md create mode 100644 docs/models/shared/SourceMarketstack.md create mode 100644 docs/models/shared/SourceMention.md create mode 100644 docs/models/shared/SourceMicrosoftDataverse.md create mode 100644 docs/models/shared/SourceMicrosoftEntraId.md create mode 100644 docs/models/shared/SourceMicrosoftLists.md create mode 100644 docs/models/shared/SourceMiro.md create mode 100644 docs/models/shared/SourceMissive.md create mode 100644 docs/models/shared/SourceMixmax.md create mode 100644 docs/models/shared/SourceMode.md create mode 100644 docs/models/shared/SourceMongodbV2ClusterType.md create mode 100644 docs/models/shared/SourceMongodbV2SchemasClusterType.md create mode 100644 docs/models/shared/SourceMux.md create mode 100644 docs/models/shared/SourceN8n.md create mode 100644 docs/models/shared/SourceNasa.md create mode 100644 docs/models/shared/SourceNewsApi.md create mode 100644 docs/models/shared/SourceNewsdataIo.md create mode 100644 docs/models/shared/SourceNocrm.md create mode 100644 docs/models/shared/SourceNutshell.md create mode 100644 docs/models/shared/SourceOncehub.md create mode 100644 docs/models/shared/SourceOnepagecrm.md create mode 100644 docs/models/shared/SourceOnfleet.md create mode 100644 docs/models/shared/SourceOpenDataDc.md create mode 100644 docs/models/shared/SourceOpenaq.md create mode 100644 docs/models/shared/SourceOpenfda.md create mode 100644 docs/models/shared/SourceOpenweather.md create mode 100644 docs/models/shared/SourceOpinionStage.md create mode 100644 docs/models/shared/SourceOpsgenie.md create mode 100644 docs/models/shared/SourceOura.md create mode 100644 docs/models/shared/SourceOveit.md create mode 100644 docs/models/shared/SourcePabblySubscriptionsBilling.md create mode 100644 docs/models/shared/SourcePandadoc.md create mode 100644 docs/models/shared/SourcePaperform.md create mode 100644 docs/models/shared/SourcePapersign.md create mode 100644 docs/models/shared/SourcePardot.md create mode 100644 docs/models/shared/SourcePersona.md create mode 100644 docs/models/shared/SourcePipeliner.md create mode 100644 docs/models/shared/SourcePivotalTracker.md create mode 100644 docs/models/shared/SourcePlaid.md create mode 100644 docs/models/shared/SourcePlausible.md create mode 100644 docs/models/shared/SourcePostgresAllow.md create mode 100644 docs/models/shared/SourcePostgresDisable.md create mode 100644 docs/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.md create mode 100644 docs/models/shared/SourcePostgresMode.md create mode 100644 docs/models/shared/SourcePostgresPrefer.md create mode 100644 docs/models/shared/SourcePostgresRequire.md create mode 100644 docs/models/shared/SourcePostgresSSLModes.md create mode 100644 docs/models/shared/SourcePostgresSchemasMode.md create mode 100644 docs/models/shared/SourcePostgresSchemasReplicationMethodMethod.md create mode 100644 docs/models/shared/SourcePostgresSchemasSSLModeSSLModes5Mode.md create mode 100644 docs/models/shared/SourcePostgresSchemasSSLModeSSLModes6Mode.md create mode 100644 docs/models/shared/SourcePostgresSchemasSSLModeSSLModesMode.md create mode 100644 docs/models/shared/SourcePostgresSchemasSslModeMode.md create mode 100644 docs/models/shared/SourcePostgresVerifyCa.md create mode 100644 docs/models/shared/SourcePostgresVerifyFull.md create mode 100644 docs/models/shared/SourcePretix.md create mode 100644 docs/models/shared/SourcePrimetric.md create mode 100644 docs/models/shared/SourceQuickbooks.md create mode 100644 docs/models/shared/SourceQuickbooksAuthType.md create mode 100644 docs/models/shared/SourceQuickbooksAuthorizationMethod.md create mode 100644 docs/models/shared/SourceQuickbooksOAuth20.md create mode 100644 docs/models/shared/SourceRdStationMarketing.md create mode 100644 docs/models/shared/SourceRdStationMarketingAuthType.md create mode 100644 docs/models/shared/SourceRdStationMarketingAuthenticationType.md create mode 100644 docs/models/shared/SourceRdStationMarketingRdStationMarketing.md create mode 100644 docs/models/shared/SourceReferralhero.md create mode 100644 docs/models/shared/SourceRentcast.md create mode 100644 docs/models/shared/SourceRepairshopr.md create mode 100644 docs/models/shared/SourceReplyIo.md create mode 100644 docs/models/shared/SourceRetentlyAuthType.md create mode 100644 docs/models/shared/SourceRetentlyAuthenticationMechanism.md create mode 100644 docs/models/shared/SourceRetentlySchemasAuthType.md create mode 100644 docs/models/shared/SourceRevenuecat.md create mode 100644 docs/models/shared/SourceRevolutMerchant.md create mode 100644 docs/models/shared/SourceRevolutMerchantEnvironment.md create mode 100644 docs/models/shared/SourceRocketlane.md create mode 100644 docs/models/shared/SourceRollbar.md create mode 100644 docs/models/shared/SourceRootly.md create mode 100644 docs/models/shared/SourceRuddr.md create mode 100644 docs/models/shared/SourceS3DeliveryType.md create mode 100644 docs/models/shared/SourceS3ExcelFormat.md create mode 100644 docs/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.md create mode 100644 docs/models/shared/SourceSafetyculture.md create mode 100644 docs/models/shared/SourceSageHr.md create mode 100644 docs/models/shared/SourceSalesflare.md create mode 100644 docs/models/shared/SourceSegment.md create mode 100644 docs/models/shared/SourceSendowl.md create mode 100644 docs/models/shared/SourceSendpulse.md create mode 100644 docs/models/shared/SourceSftpBulkCopyRawFiles.md create mode 100644 docs/models/shared/SourceSftpBulkDeliveryMethod.md create mode 100644 docs/models/shared/SourceSftpBulkDeliveryType.md create mode 100644 docs/models/shared/SourceSftpBulkReplicateRecords.md create mode 100644 docs/models/shared/SourceSftpBulkSchemasDeliveryType.md create mode 100644 docs/models/shared/SourceSharetribe.md create mode 100644 docs/models/shared/SourceShippo.md create mode 100644 docs/models/shared/SourceSigmaComputing.md create mode 100644 docs/models/shared/SourceSimfin.md create mode 100644 docs/models/shared/SourceSimplecast.md create mode 100644 docs/models/shared/SourceSimplesat.md create mode 100644 docs/models/shared/SourceSmartreach.md create mode 100644 docs/models/shared/SourceSmartwaiver.md rename docs/models/shared/{AuthenticateViaGoogleOauth.md => SourceSolarwindsServiceDesk.md} (55%) create mode 100644 docs/models/shared/SourceSparkpost.md create mode 100644 docs/models/shared/SourceSplitIo.md create mode 100644 docs/models/shared/SourceSpotlercrm.md create mode 100644 docs/models/shared/SourceSquarespace.md create mode 100644 docs/models/shared/SourceStatsig.md create mode 100644 docs/models/shared/SourceStatuspage.md create mode 100644 docs/models/shared/SourceStockdata.md create mode 100644 docs/models/shared/SourceSysteme.md create mode 100644 docs/models/shared/SourceTaboola.md create mode 100644 docs/models/shared/SourceTeamtailor.md create mode 100644 docs/models/shared/SourceTestrail.md create mode 100644 docs/models/shared/SourceThinkific.md create mode 100644 docs/models/shared/SourceTicketmaster.md create mode 100644 docs/models/shared/SourceTickettailor.md create mode 100644 docs/models/shared/SourceTimely.md create mode 100644 docs/models/shared/SourceTinyemail.md create mode 100644 docs/models/shared/SourceTodoist.md create mode 100644 docs/models/shared/SourceTrackPms.md create mode 100644 docs/models/shared/SourceTremendous.md create mode 100644 docs/models/shared/SourceTremendousEnvironment.md create mode 100644 docs/models/shared/SourceTwelveData.md create mode 100644 docs/models/shared/SourceUbidots.md create mode 100644 docs/models/shared/SourceUnleash.md create mode 100644 docs/models/shared/SourceUppromote.md create mode 100644 docs/models/shared/SourceUservoice.md create mode 100644 docs/models/shared/SourceVeeqo.md create mode 100644 docs/models/shared/SourceVercel.md create mode 100644 docs/models/shared/SourceVismaEconomic.md create mode 100644 docs/models/shared/SourceVitally.md create mode 100644 docs/models/shared/SourceVitallyStatus.md create mode 100644 docs/models/shared/SourceVwo.md create mode 100644 docs/models/shared/SourceWaiteraid.md create mode 100644 docs/models/shared/SourceWasabiStatsApi.md create mode 100644 docs/models/shared/SourceWeatherstack.md create mode 100644 docs/models/shared/SourceWebScrapper.md create mode 100644 docs/models/shared/SourceWordpress.md create mode 100644 docs/models/shared/SourceWorkable.md create mode 100644 docs/models/shared/SourceWorkflowmax.md create mode 100644 docs/models/shared/SourceWorkramp.md create mode 100644 docs/models/shared/SourceWrike.md create mode 100644 docs/models/shared/SourceWufoo.md create mode 100644 docs/models/shared/SourceXsolla.md create mode 100644 docs/models/shared/SourceYahooFinancePrice.md create mode 100644 docs/models/shared/SourceYahooFinancePriceInterval.md create mode 100644 docs/models/shared/SourceYouNeedABudgetYnab.md create mode 100644 docs/models/shared/SourceYoutubeData.md create mode 100644 docs/models/shared/SourceZapierSupportedStorage.md create mode 100644 docs/models/shared/SourceZendeskSupportAPIToken.md create mode 100644 docs/models/shared/SourceZendeskSupportAuthentication.md create mode 100644 docs/models/shared/SourceZendeskSupportCredentials.md create mode 100644 docs/models/shared/SourceZendeskSupportOAuth20.md create mode 100644 docs/models/shared/SourceZendeskSupportSchemasCredentials.md create mode 100644 docs/models/shared/SourceZendeskTalkAPIToken.md create mode 100644 docs/models/shared/SourceZendeskTalkAuthType.md create mode 100644 docs/models/shared/SourceZendeskTalkAuthentication.md create mode 100644 docs/models/shared/SourceZendeskTalkOAuth20.md create mode 100644 docs/models/shared/SourceZendeskTalkSchemasAuthType.md create mode 100644 docs/models/shared/SourceZenefits.md create mode 100644 docs/models/shared/SourceZohoAnalyticsMetadataApi.md create mode 100644 docs/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.md create mode 100644 docs/models/shared/SourceZohoBigin.md create mode 100644 docs/models/shared/SourceZohoBiginDataCenter.md create mode 100644 docs/models/shared/SourceZohoBilling.md create mode 100644 docs/models/shared/SourceZohoBillingRegion.md create mode 100644 docs/models/shared/SourceZohoBooks.md create mode 100644 docs/models/shared/SourceZohoBooksRegion.md create mode 100644 docs/models/shared/SourceZohoCampaign.md create mode 100644 docs/models/shared/SourceZohoCampaignDataCenter.md create mode 100644 docs/models/shared/SourceZohoDesk.md create mode 100644 docs/models/shared/SourceZohoExpense.md create mode 100644 docs/models/shared/SourceZohoExpenseDataCenter.md create mode 100644 docs/models/shared/SourceZohoInventory.md create mode 100644 docs/models/shared/SourceZohoInvoice.md create mode 100644 docs/models/shared/SourceZohoInvoiceRegion.md create mode 100644 docs/models/shared/SourceZonkaFeedback.md create mode 100644 docs/models/shared/Sparkpost.md create mode 100644 docs/models/shared/SplitIo.md create mode 100644 docs/models/shared/Spotlercrm.md delete mode 100644 docs/models/shared/SquareCredentials.md create mode 100644 docs/models/shared/Squarespace.md rename docs/models/shared/{StateFilter.md => StateFilterEnum.md} (81%) create mode 100644 docs/models/shared/StatisticsInterval.md create mode 100644 docs/models/shared/Statsig.md create mode 100644 docs/models/shared/Statuspage.md create mode 100644 docs/models/shared/Stockdata.md create mode 100644 docs/models/shared/StorageConfig.md create mode 100644 docs/models/shared/StorageType.md create mode 100644 docs/models/shared/StreamMapperType.md create mode 100644 docs/models/shared/Systeme.md create mode 100644 docs/models/shared/Taboola.md create mode 100644 docs/models/shared/Teamtailor.md create mode 100644 docs/models/shared/TechnicalIndicatorType.md create mode 100644 docs/models/shared/TestDestination.md create mode 100644 docs/models/shared/TestDestinationType.md create mode 100644 docs/models/shared/Testrail.md create mode 100644 docs/models/shared/Thinkific.md create mode 100644 docs/models/shared/Throttled.md create mode 100644 docs/models/shared/Ticketmaster.md create mode 100644 docs/models/shared/Tickettailor.md create mode 100644 docs/models/shared/TimeAggregates.md create mode 100644 docs/models/shared/TimeFrame.md create mode 100644 docs/models/shared/TimeInterval.md create mode 100644 docs/models/shared/TimePeriod.md create mode 100644 docs/models/shared/Timely.md create mode 100644 docs/models/shared/Tinyemail.md create mode 100644 docs/models/shared/Todoist.md create mode 100644 docs/models/shared/TrackPms.md create mode 100644 docs/models/shared/Tremendous.md create mode 100644 docs/models/shared/TwelveData.md create mode 100644 docs/models/shared/URLRegion.md create mode 100644 docs/models/shared/Ubidots.md create mode 100644 docs/models/shared/Units.md create mode 100644 docs/models/shared/Unleash.md create mode 100644 docs/models/shared/Uppromote.md create mode 100644 docs/models/shared/Uservoice.md create mode 100644 docs/models/shared/Veeqo.md create mode 100644 docs/models/shared/Vercel.md create mode 100644 docs/models/shared/VismaEconomic.md create mode 100644 docs/models/shared/Vitally.md create mode 100644 docs/models/shared/Vwo.md create mode 100644 docs/models/shared/Waiteraid.md create mode 100644 docs/models/shared/WasabiStatsApi.md create mode 100644 docs/models/shared/Weatherstack.md create mode 100644 docs/models/shared/WebScrapper.md create mode 100644 docs/models/shared/Wordpress.md create mode 100644 docs/models/shared/Workable.md create mode 100644 docs/models/shared/Workflowmax.md create mode 100644 docs/models/shared/Workramp.md create mode 100644 docs/models/shared/Wrike.md create mode 100644 docs/models/shared/Wufoo.md create mode 100644 docs/models/shared/Xsolla.md create mode 100644 docs/models/shared/YahooFinancePrice.md create mode 100644 docs/models/shared/YouNeedABudgetYnab.md create mode 100644 docs/models/shared/YoutubeData.md create mode 100644 docs/models/shared/ZapierSupportedStorage.md delete mode 100644 docs/models/shared/ZendeskSunshineCredentials.md create mode 100644 docs/models/shared/Zenefits.md create mode 100644 docs/models/shared/ZohoAnalyticsMetadataApi.md create mode 100644 docs/models/shared/ZohoBigin.md create mode 100644 docs/models/shared/ZohoBilling.md create mode 100644 docs/models/shared/ZohoBooks.md create mode 100644 docs/models/shared/ZohoCampaign.md create mode 100644 docs/models/shared/ZohoDesk.md create mode 100644 docs/models/shared/ZohoExpense.md create mode 100644 docs/models/shared/ZohoInventory.md create mode 100644 docs/models/shared/ZohoInvoice.md create mode 100644 docs/models/shared/ZonkaFeedback.md create mode 100644 src/main/java/com/airbyte/api/models/shared/APIEndpointPrefix.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Activecampaign.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Agilecrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Akeneo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Algolia.java create mode 100644 src/main/java/com/airbyte/api/models/shared/AppleSearchAds.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Apptivo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Ashby.java create mode 100644 src/main/java/com/airbyte/api/models/shared/AuthenticateViaAccessKeys.java create mode 100644 src/main/java/com/airbyte/api/models/shared/AuthenticateViaGoogleOAuth.java create mode 100644 src/main/java/com/airbyte/api/models/shared/AuthenticateViaHarvestOAuth.java create mode 100644 src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth20.java create mode 100644 src/main/java/com/airbyte/api/models/shared/AuthenticateViaRetentlyOAuth.java create mode 100644 src/main/java/com/airbyte/api/models/shared/AuthenticateWithAPIToken.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Beamer.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Bigmailer.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Blogger.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Box.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Brex.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Bugsnag.java create mode 100644 src/main/java/com/airbyte/api/models/shared/BunnyInc.java create mode 100644 src/main/java/com/airbyte/api/models/shared/CalCom.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Callrail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/CampaignMonitor.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Campayn.java create mode 100644 src/main/java/com/airbyte/api/models/shared/CapsuleCrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/CareQualityCommission.java create mode 100644 src/main/java/com/airbyte/api/models/shared/CastorEdc.java create mode 100644 src/main/java/com/airbyte/api/models/shared/CatalogType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Category.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Chargedesk.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Chargify.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Cin7.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Circa.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Circleci.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ClarifAi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Clockodo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Cloudbeds.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ClusterType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Coassemble.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Codefresh.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Concord.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ConfiguredStreamMapper.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Convertkit.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Copper.java create mode 100644 src/main/java/com/airbyte/api/models/shared/CopyRawFiles.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Countercyclical.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DataCenter.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DataCenterID.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DeliveryMethod.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DeliveryType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Deputy.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationDevNull.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationDevNullLoggingType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasLoggingType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationDevNullTestDestinationType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationGcsGcs.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationIceberg.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationIcebergCatalogType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3BucketRegion.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationIcebergStorageType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationMotherduck.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DevNull.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Domain.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Drift.java rename src/main/java/com/airbyte/api/models/shared/{SquareCredentials.java => DriftCredentials.java} (56%) create mode 100644 src/main/java/com/airbyte/api/models/shared/Drip.java create mode 100644 src/main/java/com/airbyte/api/models/shared/DropboxSign.java create mode 100644 src/main/java/com/airbyte/api/models/shared/EConomic.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Easypost.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Easypromos.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Elasticemail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/EmploymentHero.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Encharge.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Entity.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Eventbrite.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Eventee.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Eventzilla.java create mode 100644 src/main/java/com/airbyte/api/models/shared/EveryNThEntry.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Factorial.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Failing.java create mode 100644 src/main/java/com/airbyte/api/models/shared/FileStorageFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Fillout.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Finage.java create mode 100644 src/main/java/com/airbyte/api/models/shared/FinancialModelling.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Finnhub.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Finnworlds.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Firehydrant.java create mode 100644 src/main/java/com/airbyte/api/models/shared/FirstNEntries.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Flexmail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Flexport.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Float.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Flowlu.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Formbricks.java create mode 100644 src/main/java/com/airbyte/api/models/shared/FreeAgentConnector.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Freightview.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Freshbooks.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Freshchat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Freshservice.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Fulcrum.java rename src/main/java/com/airbyte/api/models/shared/{ZendeskSunshineCredentials.java => GcsCredentials.java} (55%) create mode 100644 src/main/java/com/airbyte/api/models/shared/Getgist.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Gitbook.java create mode 100644 src/main/java/com/airbyte/api/models/shared/GlueCatalog.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Gmail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/GoCardlessAPIEnvironment.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Gocardless.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Gong.java create mode 100644 src/main/java/com/airbyte/api/models/shared/GoogleCalendar.java create mode 100644 src/main/java/com/airbyte/api/models/shared/GoogleClassroom.java create mode 100644 src/main/java/com/airbyte/api/models/shared/GoogleForms.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Gorgias.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Gutendex.java create mode 100644 src/main/java/com/airbyte/api/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.java create mode 100644 src/main/java/com/airbyte/api/models/shared/HiveCatalogUseApacheHiveMetaStore.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Humanitix.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Iceberg.java create mode 100644 src/main/java/com/airbyte/api/models/shared/IcebergCatalogConfig.java create mode 100644 src/main/java/com/airbyte/api/models/shared/IlluminaBasespace.java create mode 100644 src/main/java/com/airbyte/api/models/shared/IncidentIo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Inflowinventory.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Interval.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Invoiced.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Invoiceninja.java create mode 100644 src/main/java/com/airbyte/api/models/shared/JdbcCatalogUseRelationalDatabase.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Jobnimbus.java create mode 100644 src/main/java/com/airbyte/api/models/shared/JustSift.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Justcall.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Katana.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Kind.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Kisi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Kissmetrics.java create mode 100644 src/main/java/com/airbyte/api/models/shared/KlausApi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/LSNCommitBehaviour.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Lang.java create mode 100644 src/main/java/com/airbyte/api/models/shared/LessAnnoyingCrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/LightspeedRetail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Lob.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Logging.java create mode 100644 src/main/java/com/airbyte/api/models/shared/LoggingConfiguration.java create mode 100644 src/main/java/com/airbyte/api/models/shared/LoggingType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Mailerlite.java create mode 100644 src/main/java/com/airbyte/api/models/shared/MailjetMail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Mailosaur.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Mailtrap.java create mode 100644 src/main/java/com/airbyte/api/models/shared/MapperConfiguration.java create mode 100644 src/main/java/com/airbyte/api/models/shared/MarketNewsCategory.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Marketstack.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Mention.java create mode 100644 src/main/java/com/airbyte/api/models/shared/MicrosoftDataverse.java create mode 100644 src/main/java/com/airbyte/api/models/shared/MicrosoftEntraId.java create mode 100644 src/main/java/com/airbyte/api/models/shared/MicrosoftLists.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Miro.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Missive.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Mixmax.java create mode 100644 src/main/java/com/airbyte/api/models/shared/MongoDBAtlasReplicaSet.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Motherduck.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Mux.java create mode 100644 src/main/java/com/airbyte/api/models/shared/N8n.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Nasa.java create mode 100644 src/main/java/com/airbyte/api/models/shared/NewsApi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/NewsdataIo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Nocrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Nutshell.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Oncehub.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Onepagecrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Onfleet.java create mode 100644 src/main/java/com/airbyte/api/models/shared/OpenDataDc.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Openaq.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Openfda.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Openweather.java create mode 100644 src/main/java/com/airbyte/api/models/shared/OpinionStage.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Opsgenie.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Oura.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Oveit.java create mode 100644 src/main/java/com/airbyte/api/models/shared/PabblySubscriptionsBilling.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Pandadoc.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Paperform.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Papersign.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Pardot.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Persona.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Pipeliner.java create mode 100644 src/main/java/com/airbyte/api/models/shared/PivotalTracker.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Plaid.java create mode 100644 src/main/java/com/airbyte/api/models/shared/PlaidEnvironment.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Plausible.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Plugin.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Pretix.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Primetric.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Quickbooks.java create mode 100644 src/main/java/com/airbyte/api/models/shared/RESTCatalog.java create mode 100644 src/main/java/com/airbyte/api/models/shared/RandomSampling.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Range.java create mode 100644 src/main/java/com/airbyte/api/models/shared/RdStationMarketing.java rename src/main/java/com/airbyte/api/models/shared/{RetentlyCredentials.java => RdStationMarketingAuthorization.java} (54%) create mode 100644 src/main/java/com/airbyte/api/models/shared/ReadChangesUsingWriteAheadLogCDC.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Referralhero.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Rentcast.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Repairshopr.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ReplicateRecords.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ReplyIo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ReportRecordTypeEnum.java delete mode 100644 src/main/java/com/airbyte/api/models/shared/ReportRecordTypes.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Revenuecat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/RevolutMerchant.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Rocketlane.java create mode 100644 src/main/java/com/airbyte/api/models/shared/RoleBasedAuthentication.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Rollbar.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Rootly.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Ruddr.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Safetyculture.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SageHr.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Salesflare.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ScopeType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SearchIn.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Segment.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SelfManagedReplicaSet.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Sendowl.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Sendpulse.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ServerManaged.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ServiceAccountAuthentication.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Sharetribe.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Shippo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SigmaComputing.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SignInViaRDStationOAuth.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Silent.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Simfin.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Simplecast.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Simplesat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Smartreach.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Smartwaiver.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SolarwindsServiceDesk.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceActivecampaign.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceAgilecrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceAkeneo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceAlgolia.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceAppleSearchAds.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceApptivo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceAshby.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceBeamer.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceBigmailer.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceBlogger.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceBox.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceBrex.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceBugsnag.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceBunnyInc.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCalCom.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCallrail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCampaignMonitor.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCampayn.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCapsuleCrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCareQualityCommission.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCastorEdc.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceChargedesk.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceChargify.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCin7.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCirca.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCircleci.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceClarifAi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceClockodo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCloudbeds.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCoassemble.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCodefresh.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceConcord.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceConcordEnvironment.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceConvertkit.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCopper.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceCountercyclical.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDeputy.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDrift.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDriftAuthorizationMethod.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDriftCredentials.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDriftDrift.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDriftOAuth20.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDriftSchemasCredentials.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDrip.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDropboxSign.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDynamodbAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDynamodbCredentials.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceDynamodbSchemasAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceEConomic.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceEasypost.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceEasypromos.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceElasticemail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceEmploymentHero.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceEncharge.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceEventbrite.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceEventee.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceEventzilla.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFactorial.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFileFileFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFillout.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFinage.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFinancialModelling.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFinnhub.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFinnworlds.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFirehydrant.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFlexmail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFlexport.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFloat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFlowlu.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFormbricks.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFreeAgentConnector.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFreightview.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFreshbooks.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFreshchat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFreshservice.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceFulcrum.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGcsAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGcsAuthentication.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGetgist.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGitbook.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGmail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGnewsCountry.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGnewsLanguage.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGnewsSortBy.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGocardless.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGong.java rename src/main/java/com/airbyte/api/models/shared/{AuthenticateViaGoogleOauth.java => SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.java} (77%) create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGoogleCalendar.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGoogleClassroom.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGoogleForms.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGorgias.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceGutendex.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticationMechanism.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceHarvestSchemasAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceHumanitix.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceIlluminaBasespace.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceIncidentIo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceInflowinventory.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceInvoiced.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceInvoiceninja.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceJobnimbus.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceJustSift.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceJustcall.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceKatana.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceKisi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceKissmetrics.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceKlausApi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceLessAnnoyingCrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceLightspeedRetail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAccessToken.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceLob.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMailerlite.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMailjetMail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMailosaur.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMailtrap.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMarketstack.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMention.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMicrosoftDataverse.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMicrosoftEntraId.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMicrosoftLists.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMiro.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMissive.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMixmax.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMode.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMongodbV2ClusterType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMongodbV2SchemasClusterType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceMux.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceN8n.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceNasa.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceNewsApi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceNewsdataIo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceNocrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceNutshell.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOncehub.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOnepagecrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOnfleet.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOpenDataDc.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOpenaq.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOpenfda.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOpenweather.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOpinionStage.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOpsgenie.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOura.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceOveit.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePabblySubscriptionsBilling.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePandadoc.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePaperform.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePapersign.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePardot.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePersona.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePipeliner.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePivotalTracker.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePlaid.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePlausible.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresAllow.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresDisable.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresMode.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresPrefer.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresRequire.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresSSLModes.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMode.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasReplicationMethodMethod.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes5Mode.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes6Mode.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModesMode.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSslModeMode.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyCa.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyFull.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePretix.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourcePrimetric.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceQuickbooks.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthorizationMethod.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceQuickbooksOAuth20.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketing.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthenticationType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingRdStationMarketing.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceReferralhero.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRentcast.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRepairshopr.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceReplyIo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthenticationMechanism.java delete mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRetentlyRetently.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRetentlySchemasAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRevenuecat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchant.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchantEnvironment.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRocketlane.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRollbar.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRootly.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceRuddr.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceS3DeliveryType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceS3ExcelFormat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSafetyculture.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSageHr.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSalesflare.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSegment.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSendowl.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSendpulse.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCopyRawFiles.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryMethod.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSftpBulkReplicateRecords.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasDeliveryType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSharetribe.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceShippo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSigmaComputing.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSimfin.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSimplecast.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSimplesat.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSmartreach.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSmartwaiver.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSolarwindsServiceDesk.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSparkpost.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSplitIo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSpotlercrm.java delete mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSquareSquare.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSquarespace.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceStatsig.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceStatuspage.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceStockdata.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceSysteme.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTaboola.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTeamtailor.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTestrail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceThinkific.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTicketmaster.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTickettailor.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTimely.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTinyemail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTodoist.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTrackPms.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTremendous.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTremendousEnvironment.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceTwelveData.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceUbidots.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceUnleash.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceUppromote.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceUservoice.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceVeeqo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceVercel.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceVismaEconomic.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceVitally.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceVitallyStatus.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceVwo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWaiteraid.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWasabiStatsApi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWeatherstack.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWebScrapper.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWordpress.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWorkable.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWorkflowmax.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWorkramp.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWrike.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceWufoo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceXsolla.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePrice.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePriceInterval.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceYouNeedABudgetYnab.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceYoutubeData.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZapierSupportedStorage.java delete mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineZendeskSunshine.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAPIToken.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAuthentication.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportCredentials.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportOAuth20.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportSchemasCredentials.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAPIToken.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthentication.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkOAuth20.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkSchemasAuthType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZenefits.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoBigin.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoBiginDataCenter.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoBilling.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoBillingRegion.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoBooks.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoBooksRegion.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoCampaign.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoCampaignDataCenter.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoDesk.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoExpense.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoExpenseDataCenter.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoInventory.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoInvoice.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZohoInvoiceRegion.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SourceZonkaFeedback.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Sparkpost.java create mode 100644 src/main/java/com/airbyte/api/models/shared/SplitIo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Spotlercrm.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Squarespace.java delete mode 100644 src/main/java/com/airbyte/api/models/shared/StateFilter.java create mode 100644 src/main/java/com/airbyte/api/models/shared/StateFilterEnum.java create mode 100644 src/main/java/com/airbyte/api/models/shared/StatisticsInterval.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Statsig.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Statuspage.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Stockdata.java create mode 100644 src/main/java/com/airbyte/api/models/shared/StorageConfig.java create mode 100644 src/main/java/com/airbyte/api/models/shared/StorageType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/StreamMapperType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Systeme.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Taboola.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Teamtailor.java create mode 100644 src/main/java/com/airbyte/api/models/shared/TechnicalIndicatorType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/TestDestination.java create mode 100644 src/main/java/com/airbyte/api/models/shared/TestDestinationType.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Testrail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Thinkific.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Throttled.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Ticketmaster.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Tickettailor.java create mode 100644 src/main/java/com/airbyte/api/models/shared/TimeAggregates.java create mode 100644 src/main/java/com/airbyte/api/models/shared/TimeFrame.java create mode 100644 src/main/java/com/airbyte/api/models/shared/TimeInterval.java create mode 100644 src/main/java/com/airbyte/api/models/shared/TimePeriod.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Timely.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Tinyemail.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Todoist.java create mode 100644 src/main/java/com/airbyte/api/models/shared/TrackPms.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Tremendous.java create mode 100644 src/main/java/com/airbyte/api/models/shared/TwelveData.java create mode 100644 src/main/java/com/airbyte/api/models/shared/URLRegion.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Ubidots.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Units.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Unleash.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Uppromote.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Uservoice.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Veeqo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Vercel.java create mode 100644 src/main/java/com/airbyte/api/models/shared/VismaEconomic.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Vitally.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Vwo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Waiteraid.java create mode 100644 src/main/java/com/airbyte/api/models/shared/WasabiStatsApi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Weatherstack.java create mode 100644 src/main/java/com/airbyte/api/models/shared/WebScrapper.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Wordpress.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Workable.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Workflowmax.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Workramp.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Wrike.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Wufoo.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Xsolla.java create mode 100644 src/main/java/com/airbyte/api/models/shared/YahooFinancePrice.java create mode 100644 src/main/java/com/airbyte/api/models/shared/YouNeedABudgetYnab.java create mode 100644 src/main/java/com/airbyte/api/models/shared/YoutubeData.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZapierSupportedStorage.java create mode 100644 src/main/java/com/airbyte/api/models/shared/Zenefits.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZohoAnalyticsMetadataApi.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZohoBigin.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZohoBilling.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZohoBooks.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZohoCampaign.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZohoDesk.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZohoExpense.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZohoInventory.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZohoInvoice.java create mode 100644 src/main/java/com/airbyte/api/models/shared/ZonkaFeedback.java create mode 100644 src/main/java/com/airbyte/api/utils/QueryParameter.java create mode 100644 src/main/java/com/airbyte/api/utils/SessionManager.java create mode 100644 src/main/java/com/airbyte/api/utils/Utf8UrlEncoder.java diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 1bb125054..193887651 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,4250 +1,2689 @@ lockVersion: 2.0.0 id: 5b16d152-46cd-4f0b-94e9-018ca2cfe7cd management: - docChecksum: 1308fa7ec8504c6d50430974d4647f3f + docChecksum: c154fc44f8133a378fdc9e766757a427 docVersion: 1.0.0 - speakeasyVersion: 1.337.1 - generationVersion: 2.373.2 - releaseVersion: 1.5.10 - configChecksum: 849346c40e6723c0675b0bacc97f7073 + speakeasyVersion: 1.453.10 + generationVersion: 2.474.15 + releaseVersion: 1.6.0 + configChecksum: d006360ef852d40cb8491ae4b4ea9373 repoURL: https://github.com/airbytehq/airbyte-api-java-sdk.git repoSubDirectory: . published: true features: java: additionalDependencies: 0.1.0 + additionalProperties: 0.0.1 constsAndDefaults: 0.1.1 - core: 3.26.3 - globalSecurity: 2.82.5 + core: 3.33.1 + globalSecurity: 2.82.7 globalSecurityCallbacks: 0.1.0 globalServerURLs: 2.82.1 groups: 2.81.2 nullables: 0.1.0 - oauth2ClientCredentials: 0.0.2 + oauth2ClientCredentials: 0.1.1 sdkHooks: 0.1.0 - unions: 0.0.4 + unions: 0.0.6 generatedFiles: - - src/main/java/com/airbyte/api/SecuritySource.java - - src/main/java/com/airbyte/api/SDKConfiguration.java - - src/main/java/com/airbyte/api/Connections.java - - src/main/java/com/airbyte/api/Destinations.java - - src/main/java/com/airbyte/api/Health.java - - src/main/java/com/airbyte/api/Jobs.java - - src/main/java/com/airbyte/api/Organizations.java - - src/main/java/com/airbyte/api/Permissions.java - - src/main/java/com/airbyte/api/Sources.java - - src/main/java/com/airbyte/api/Streams.java - - src/main/java/com/airbyte/api/Users.java - - src/main/java/com/airbyte/api/Workspaces.java - - src/main/java/com/airbyte/api/models/operations/CreateConnectionRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/GetConnectionRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/ListConnectionsRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/PatchConnectionRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/CreateDestinationRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/GetDestinationRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/ListDestinationsRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/PatchDestinationRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/PutDestinationRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/GetHealthCheckRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/CancelJobRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/CreateJobRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/GetJobRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/ListJobsRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/CreatePermissionRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/DeletePermissionRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/GetPermissionRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/ListPermissionsRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/CreateSourceRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/DeleteSourceRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/GetSourceRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/InitiateOAuthRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/ListSourcesRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/PatchSourceRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/PutSourceRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/CreateWorkspaceRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequestBuilder.java - - src/main/java/com/airbyte/api/models/operations/SDKMethodInterfaces.java - - src/main/java/com/airbyte/api/Airbyte.java - .gitattributes + - CONTRIBUTING.md + - USAGE.md - build.gradle - - gradle/wrapper/gradle-wrapper.jar - - gradle/wrapper/gradle-wrapper.properties - - gradlew - - gradlew.bat - - settings.gradle - - src/main/java/com/airbyte/api/utils/BackoffStrategy.java - - src/main/java/com/airbyte/api/utils/BigDecimalString.java - - src/main/java/com/airbyte/api/utils/BigIntegerString.java - - src/main/java/com/airbyte/api/utils/Deserializers.java - - src/main/java/com/airbyte/api/utils/EventStream.java - - src/main/java/com/airbyte/api/utils/EventStreamLineReader.java - - src/main/java/com/airbyte/api/utils/EventStreamMessage.java - - src/main/java/com/airbyte/api/utils/EventStreamReader.java - - src/main/java/com/airbyte/api/utils/FormMetadata.java - - src/main/java/com/airbyte/api/utils/HTTPClient.java - - src/main/java/com/airbyte/api/utils/HTTPRequest.java - - src/main/java/com/airbyte/api/utils/HeaderMetadata.java - - src/main/java/com/airbyte/api/utils/Helpers.java - - src/main/java/com/airbyte/api/utils/Hook.java - - src/main/java/com/airbyte/api/utils/Hooks.java - - src/main/java/com/airbyte/api/utils/JSON.java - - src/main/java/com/airbyte/api/utils/LazySingletonValue.java - - src/main/java/com/airbyte/api/utils/Metadata.java - - src/main/java/com/airbyte/api/utils/MultipartFormMetadata.java - - src/main/java/com/airbyte/api/utils/OneOfDeserializer.java - - src/main/java/com/airbyte/api/utils/Options.java - - src/main/java/com/airbyte/api/utils/PathParamsMetadata.java - - src/main/java/com/airbyte/api/utils/QueryParameters.java - - src/main/java/com/airbyte/api/utils/QueryParamsMetadata.java - - src/main/java/com/airbyte/api/utils/RequestBody.java - - src/main/java/com/airbyte/api/utils/RequestMetadata.java - - src/main/java/com/airbyte/api/utils/Response.java - - src/main/java/com/airbyte/api/utils/Retries.java - - src/main/java/com/airbyte/api/utils/RetryConfig.java - - src/main/java/com/airbyte/api/utils/Security.java - - src/main/java/com/airbyte/api/utils/SecurityMetadata.java - - src/main/java/com/airbyte/api/utils/SerializedBody.java - - src/main/java/com/airbyte/api/utils/SpeakeasyHTTPClient.java - - src/main/java/com/airbyte/api/utils/SpeakeasyMetadata.java - - src/main/java/com/airbyte/api/utils/TypedObject.java - - src/main/java/com/airbyte/api/utils/Types.java - - src/main/java/com/airbyte/api/utils/Utils.java - - src/main/java/com/airbyte/api/models/errors/AuthException.java - - src/main/java/com/airbyte/api/models/errors/SDKError.java - - src/main/java/com/airbyte/api/models/operations/CreateConnectionResponse.java - - src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequest.java - - src/main/java/com/airbyte/api/models/operations/DeleteConnectionResponse.java - - src/main/java/com/airbyte/api/models/operations/GetConnectionRequest.java - - src/main/java/com/airbyte/api/models/operations/GetConnectionResponse.java - - src/main/java/com/airbyte/api/models/operations/ListConnectionsRequest.java - - src/main/java/com/airbyte/api/models/operations/ListConnectionsResponse.java - - src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java - - src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java - - src/main/java/com/airbyte/api/models/operations/CreateDestinationResponse.java - - src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequest.java - - src/main/java/com/airbyte/api/models/operations/DeleteDestinationResponse.java - - src/main/java/com/airbyte/api/models/operations/GetDestinationRequest.java - - src/main/java/com/airbyte/api/models/operations/GetDestinationResponse.java - - src/main/java/com/airbyte/api/models/operations/ListDestinationsRequest.java - - src/main/java/com/airbyte/api/models/operations/ListDestinationsResponse.java - - src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java - - src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java - - src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java - - src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java - - src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java - - src/main/java/com/airbyte/api/models/operations/CancelJobRequest.java - - src/main/java/com/airbyte/api/models/operations/CancelJobResponse.java - - src/main/java/com/airbyte/api/models/operations/CreateJobResponse.java - - src/main/java/com/airbyte/api/models/operations/GetJobRequest.java - - src/main/java/com/airbyte/api/models/operations/GetJobResponse.java - - src/main/java/com/airbyte/api/models/operations/ListJobsRequest.java - - src/main/java/com/airbyte/api/models/operations/ListJobsResponse.java - - src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserResponse.java - - src/main/java/com/airbyte/api/models/operations/CreatePermissionResponse.java - - src/main/java/com/airbyte/api/models/operations/DeletePermissionRequest.java - - src/main/java/com/airbyte/api/models/operations/DeletePermissionResponse.java - - src/main/java/com/airbyte/api/models/operations/GetPermissionRequest.java - - src/main/java/com/airbyte/api/models/operations/GetPermissionResponse.java - - src/main/java/com/airbyte/api/models/operations/ListPermissionsRequest.java - - src/main/java/com/airbyte/api/models/operations/ListPermissionsResponse.java - - src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequest.java - - src/main/java/com/airbyte/api/models/operations/UpdatePermissionResponse.java - - src/main/java/com/airbyte/api/models/operations/CreateSourceResponse.java - - src/main/java/com/airbyte/api/models/operations/DeleteSourceRequest.java - - src/main/java/com/airbyte/api/models/operations/DeleteSourceResponse.java - - src/main/java/com/airbyte/api/models/operations/GetSourceRequest.java - - src/main/java/com/airbyte/api/models/operations/GetSourceResponse.java - - src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java - - src/main/java/com/airbyte/api/models/operations/ListSourcesRequest.java - - src/main/java/com/airbyte/api/models/operations/ListSourcesResponse.java - - src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java - - src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java - - src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java - - src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java - - src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequest.java - - src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java - - src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequest.java - - src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationResponse.java - - src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java - - src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java - - src/main/java/com/airbyte/api/models/operations/CreateWorkspaceResponse.java - - src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequest.java - - src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceResponse.java - - src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequest.java - - src/main/java/com/airbyte/api/models/operations/GetWorkspaceResponse.java - - src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequest.java - - src/main/java/com/airbyte/api/models/operations/ListWorkspacesResponse.java - - src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequest.java - - src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceResponse.java - - src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java - - src/main/java/com/airbyte/api/models/shared/ConnectionStatusEnum.java - - src/main/java/com/airbyte/api/models/shared/ConnectionScheduleResponse.java - - src/main/java/com/airbyte/api/models/shared/ScheduleTypeWithBasicEnum.java - - src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnum.java - - src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnum.java - - src/main/java/com/airbyte/api/models/shared/GeographyEnum.java - - src/main/java/com/airbyte/api/models/shared/StreamConfigurations.java - - src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java - - src/main/java/com/airbyte/api/models/shared/ConnectionSyncModeEnum.java - - src/main/java/com/airbyte/api/models/shared/SelectedFieldInfo.java - - src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java - - src/main/java/com/airbyte/api/models/shared/AirbyteApiConnectionSchedule.java - - src/main/java/com/airbyte/api/models/shared/ScheduleTypeEnum.java - - src/main/java/com/airbyte/api/models/shared/ConnectionsResponse.java - - src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java - - src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java - - src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java - - src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java - - src/main/java/com/airbyte/api/models/shared/DestinationResponse.java - - src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java - - src/main/java/com/airbyte/api/models/shared/AuthenticationViaGoogleOAuth.java - - src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsGoogleSheets.java - - src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheets.java - - src/main/java/com/airbyte/api/models/shared/Astra.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/OpenAICompatible.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/AzureOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/Fake.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstraMode.java - - src/main/java/com/airbyte/api/models/shared/Cohere.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.java - - src/main/java/com/airbyte/api/models/shared/OpenAI.java - - src/main/java/com/airbyte/api/models/shared/Embedding.java - - src/main/java/com/airbyte/api/models/shared/Indexing.java - - src/main/java/com/airbyte/api/models/shared/FieldNameMappingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstraLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/ByProgrammingLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/ByMarkdownHeader.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingMode.java - - src/main/java/com/airbyte/api/models/shared/BySeparator.java - - src/main/java/com/airbyte/api/models/shared/TextSplitter.java - - src/main/java/com/airbyte/api/models/shared/ProcessingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationAstra.java - - src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsTitle.java - - src/main/java/com/airbyte/api/models/shared/IAMUser.java - - src/main/java/com/airbyte/api/models/shared/CredentialsTitle.java - - src/main/java/com/airbyte/api/models/shared/IAMRole.java - - src/main/java/com/airbyte/api/models/shared/AuthenticationMode.java - - src/main/java/com/airbyte/api/models/shared/AwsDatalake.java - - src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCompressionCodecOptional.java - - src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatTypeWildcard.java - - src/main/java/com/airbyte/api/models/shared/ParquetColumnarStorage.java - - src/main/java/com/airbyte/api/models/shared/CompressionCodecOptional.java - - src/main/java/com/airbyte/api/models/shared/FormatTypeWildcard.java - - src/main/java/com/airbyte/api/models/shared/JSONLinesNewlineDelimitedJSON.java - - src/main/java/com/airbyte/api/models/shared/OutputFormatWildcard.java - - src/main/java/com/airbyte/api/models/shared/ChooseHowToPartitionData.java - - src/main/java/com/airbyte/api/models/shared/S3BucketRegion.java - - src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java - - src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorage.java - - src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatType.java - - src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.java - - src/main/java/com/airbyte/api/models/shared/NormalizationFlattening.java - - src/main/java/com/airbyte/api/models/shared/FormatType.java - - src/main/java/com/airbyte/api/models/shared/CSVCommaSeparatedValues.java - - src/main/java/com/airbyte/api/models/shared/OutputFormat.java - - src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java - - src/main/java/com/airbyte/api/models/shared/DatasetLocation.java - - src/main/java/com/airbyte/api/models/shared/Bigquery.java - - src/main/java/com/airbyte/api/models/shared/DestinationBigqueryCredentialType.java - - src/main/java/com/airbyte/api/models/shared/DestinationBigqueryHMACKey.java - - src/main/java/com/airbyte/api/models/shared/Credential.java - - src/main/java/com/airbyte/api/models/shared/GCSTmpFilesAfterwardProcessing.java - - src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java - - src/main/java/com/airbyte/api/models/shared/GCSStaging.java - - src/main/java/com/airbyte/api/models/shared/Method.java - - src/main/java/com/airbyte/api/models/shared/BatchedStandardInserts.java - - src/main/java/com/airbyte/api/models/shared/LoadingMethod.java - - src/main/java/com/airbyte/api/models/shared/TransformationQueryRunType.java - - src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java - - src/main/java/com/airbyte/api/models/shared/Clickhouse.java - - src/main/java/com/airbyte/api/models/shared/DestinationClickhouseSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/PasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/TunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/NoTunnel.java - - src/main/java/com/airbyte/api/models/shared/SSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java - - src/main/java/com/airbyte/api/models/shared/Convex.java - - src/main/java/com/airbyte/api/models/shared/DestinationConvex.java - - src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAuthType.java - - src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java - - src/main/java/com/airbyte/api/models/shared/DestinationDatabricksSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/OAuth2Recommended.java - - src/main/java/com/airbyte/api/models/shared/Authentication.java - - src/main/java/com/airbyte/api/models/shared/Databricks.java - - src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java - - src/main/java/com/airbyte/api/models/shared/Duckdb.java - - src/main/java/com/airbyte/api/models/shared/DestinationDuckdb.java - - src/main/java/com/airbyte/api/models/shared/Dynamodb.java - - src/main/java/com/airbyte/api/models/shared/DynamoDBRegion.java - - src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.java - - src/main/java/com/airbyte/api/models/shared/UsernamePassword.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasMethod.java - - src/main/java/com/airbyte/api/models/shared/ApiKeySecret.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchMethod.java - - src/main/java/com/airbyte/api/models/shared/None.java - - src/main/java/com/airbyte/api/models/shared/AuthenticationMethod.java - - src/main/java/com/airbyte/api/models/shared/Elasticsearch.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java - - src/main/java/com/airbyte/api/models/shared/Firebolt.java - - src/main/java/com/airbyte/api/models/shared/DestinationFireboltSchemasMethod.java - - src/main/java/com/airbyte/api/models/shared/ExternalTableViaS3.java - - src/main/java/com/airbyte/api/models/shared/DestinationFireboltMethod.java - - src/main/java/com/airbyte/api/models/shared/SQLInserts.java - - src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java - - src/main/java/com/airbyte/api/models/shared/Firestore.java - - src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java - - src/main/java/com/airbyte/api/models/shared/CredentialType.java - - src/main/java/com/airbyte/api/models/shared/HMACKey.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsAuthentication.java - - src/main/java/com/airbyte/api/models/shared/Gcs.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionCodec.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsParquetColumnarStorage.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCompressionType.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsGZIP.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCompressionType.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasNoCompression.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsCompression.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatFormatType.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsJSONLinesNewlineDelimitedJSON.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionType.java - - src/main/java/com/airbyte/api/models/shared/Gzip.java - - src/main/java/com/airbyte/api/models/shared/CompressionType.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsNoCompression.java - - src/main/java/com/airbyte/api/models/shared/Compression.java - - src/main/java/com/airbyte/api/models/shared/Normalization.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatType.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsCSVCommaSeparatedValues.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormat1Codec.java - - src/main/java/com/airbyte/api/models/shared/Snappy.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatCodec.java - - src/main/java/com/airbyte/api/models/shared/Zstandard.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCodec.java - - src/main/java/com/airbyte/api/models/shared/Xz.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCodec.java - - src/main/java/com/airbyte/api/models/shared/Bzip2.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsCodec.java - - src/main/java/com/airbyte/api/models/shared/Deflate.java - - src/main/java/com/airbyte/api/models/shared/Codec.java - - src/main/java/com/airbyte/api/models/shared/NoCompression.java - - src/main/java/com/airbyte/api/models/shared/CompressionCodec.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatType.java - - src/main/java/com/airbyte/api/models/shared/AvroApacheAvro.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcsOutputFormat.java - - src/main/java/com/airbyte/api/models/shared/GCSBucketRegion.java - - src/main/java/com/airbyte/api/models/shared/DestinationGcs.java - - src/main/java/com/airbyte/api/models/shared/Milvus.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAICompatible.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusAzureOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusFake.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusCohere.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusEmbedding.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthAuthenticationMode.java - - src/main/java/com/airbyte/api/models/shared/NoAuth.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusUsernamePassword.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusAPIToken.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusIndexing.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusFieldNameMappingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusByProgrammingLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusByMarkdownHeader.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusBySeparator.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusTextSplitter.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvusProcessingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationMilvus.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthorization.java - - src/main/java/com/airbyte/api/models/shared/LoginPassword.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasAuthorization.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbNone.java - - src/main/java/com/airbyte/api/models/shared/AuthorizationType.java - - src/main/java/com/airbyte/api/models/shared/Mongodb.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasInstance.java - - src/main/java/com/airbyte/api/models/shared/MongoDBAtlas.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstance.java - - src/main/java/com/airbyte/api/models/shared/ReplicaSet.java - - src/main/java/com/airbyte/api/models/shared/Instance.java - - src/main/java/com/airbyte/api/models/shared/StandaloneMongoDbInstance.java - - src/main/java/com/airbyte/api/models/shared/MongoDbInstanceType.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java - - src/main/java/com/airbyte/api/models/shared/Mssql.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethodSslMethod.java - - src/main/java/com/airbyte/api/models/shared/EncryptedVerifyCertificate.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethod.java - - src/main/java/com/airbyte/api/models/shared/EncryptedTrustServerCertificate.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethod.java - - src/main/java/com/airbyte/api/models/shared/Unencrypted.java - - src/main/java/com/airbyte/api/models/shared/SSLMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMssql.java - - src/main/java/com/airbyte/api/models/shared/Mysql.java - - src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMysqlPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMysqlNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationMysql.java - - src/main/java/com/airbyte/api/models/shared/Oracle.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasEncryptionMethod.java - - src/main/java/com/airbyte/api/models/shared/TLSEncryptedVerifyCertificate.java - - src/main/java/com/airbyte/api/models/shared/EncryptionAlgorithm.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracleEncryptionMethod.java - - src/main/java/com/airbyte/api/models/shared/NativeNetworkEncryptionNNE.java - - src/main/java/com/airbyte/api/models/shared/EncryptionMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracleUnencrypted.java - - src/main/java/com/airbyte/api/models/shared/Encryption.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationOraclePasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracleNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationOracle.java - - src/main/java/com/airbyte/api/models/shared/Pgvector.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAICompatible.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorAzureOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFake.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCohere.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorEmbedding.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCredentials.java - - src/main/java/com/airbyte/api/models/shared/PostgresConnection.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFieldNameMappingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByProgrammingLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByMarkdownHeader.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorBySeparator.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorTextSplitter.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorProcessingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationPgvector.java - - src/main/java/com/airbyte/api/models/shared/Pinecone.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAICompatible.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeAzureOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeFake.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeCohere.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeEmbedding.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeIndexing.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeFieldNameMappingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeByProgrammingLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeByMarkdownHeader.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeBySeparator.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeTextSplitter.java - - src/main/java/com/airbyte/api/models/shared/DestinationPineconeProcessingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationPinecone.java - - src/main/java/com/airbyte/api/models/shared/Postgres.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes6Mode.java - - src/main/java/com/airbyte/api/models/shared/VerifyFull.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModesMode.java - - src/main/java/com/airbyte/api/models/shared/VerifyCa.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSslModeMode.java - - src/main/java/com/airbyte/api/models/shared/Require.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/Prefer.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresMode.java - - src/main/java/com/airbyte/api/models/shared/Allow.java - - src/main/java/com/airbyte/api/models/shared/Mode.java - - src/main/java/com/airbyte/api/models/shared/Disable.java - - src/main/java/com/airbyte/api/models/shared/SSLModes.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java - - src/main/java/com/airbyte/api/models/shared/Pubsub.java - - src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java - - src/main/java/com/airbyte/api/models/shared/Qdrant.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAICompatible.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantAzureOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantFake.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantCohere.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantEmbedding.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingAuthMethodMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantNoAuth.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingMode.java - - src/main/java/com/airbyte/api/models/shared/ApiKeyAuth.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantAuthenticationMethod.java - - src/main/java/com/airbyte/api/models/shared/DistanceMetric.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantIndexing.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantFieldNameMappingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantByProgrammingLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantByMarkdownHeader.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantBySeparator.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantTextSplitter.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrantProcessingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationQdrant.java - - src/main/java/com/airbyte/api/models/shared/CacheType.java - - src/main/java/com/airbyte/api/models/shared/Redis.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisVerifyFull.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisDisable.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisSSLModes.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedis.java - - src/main/java/com/airbyte/api/models/shared/Redshift.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftS3BucketRegion.java - - src/main/java/com/airbyte/api/models/shared/AWSS3Staging.java - - src/main/java/com/airbyte/api/models/shared/UploadingMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java - - src/main/java/com/airbyte/api/models/shared/S3.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionCodec.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatFormatType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3ParquetColumnarStorage.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3Snappy.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3Codec.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3Zstandard.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCodec.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3Xz.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCodec.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3Bzip2.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCodec.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3Deflate.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3Codec.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatNoCompression.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionCodec.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatFormatType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3AvroApacheAvro.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasGZIP.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCompressionType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasNoCompression.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompression.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFlattening.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GZIP.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3NoCompression.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3Compression.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3Flattening.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3FormatType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3CSVCommaSeparatedValues.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3OutputFormat.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegion.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3.java - - src/main/java/com/airbyte/api/models/shared/S3Glue.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSchemasCompressionType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueGZIP.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompressionType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueNoCompression.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompression.java - - src/main/java/com/airbyte/api/models/shared/Flattening.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatType.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueJSONLinesNewlineDelimitedJSON.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueOutputFormat.java - - src/main/java/com/airbyte/api/models/shared/SerializationLibrary.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegion.java - - src/main/java/com/airbyte/api/models/shared/DestinationS3Glue.java - - src/main/java/com/airbyte/api/models/shared/SftpJson.java - - src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/UsernameAndPassword.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java - - src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java - - src/main/java/com/airbyte/api/models/shared/AuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflake.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java - - src/main/java/com/airbyte/api/models/shared/SnowflakeCortex.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAICompatible.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexAzureOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFake.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCohere.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexEmbedding.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCredentials.java - - src/main/java/com/airbyte/api/models/shared/SnowflakeConnection.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFieldNameMappingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByMarkdownHeader.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexBySeparator.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexTextSplitter.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexProcessingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortex.java - - src/main/java/com/airbyte/api/models/shared/Teradata.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyFull.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyCa.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataRequire.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSslModeMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataPrefer.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataAllow.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataDisable.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSSLModes.java - - src/main/java/com/airbyte/api/models/shared/DestinationTeradata.java - - src/main/java/com/airbyte/api/models/shared/Timeplus.java - - src/main/java/com/airbyte/api/models/shared/DestinationTimeplus.java - - src/main/java/com/airbyte/api/models/shared/Typesense.java - - src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java - - src/main/java/com/airbyte/api/models/shared/Vectara.java - - src/main/java/com/airbyte/api/models/shared/OAuth20Credentials.java - - src/main/java/com/airbyte/api/models/shared/DestinationVectara.java - - src/main/java/com/airbyte/api/models/shared/Weaviate.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAICompatible.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFake.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding5Mode.java - - src/main/java/com/airbyte/api/models/shared/FromField.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateCohere.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAzureOpenAI.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateMode.java - - src/main/java/com/airbyte/api/models/shared/NoExternalEmbedding.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateEmbedding.java - - src/main/java/com/airbyte/api/models/shared/Header.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthAuthenticationMode.java - - src/main/java/com/airbyte/api/models/shared/NoAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateUsernamePassword.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAPIToken.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DefaultVectorizer.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateIndexing.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFieldNameMappingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByProgrammingLanguage.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByMarkdownHeader.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateBySeparator.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateTextSplitter.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateProcessingConfigModel.java - - src/main/java/com/airbyte/api/models/shared/DestinationWeaviate.java - - src/main/java/com/airbyte/api/models/shared/Yellowbrick.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyFull.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyCa.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickRequire.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSslModeMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPrefer.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickAllow.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickMode.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickDisable.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSLModes.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrick.java - - src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java - - src/main/java/com/airbyte/api/models/shared/DestinationsResponse.java - - src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java - - src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java - - src/main/java/com/airbyte/api/models/shared/JobResponse.java - - src/main/java/com/airbyte/api/models/shared/JobStatusEnum.java - - src/main/java/com/airbyte/api/models/shared/JobTypeEnum.java - - src/main/java/com/airbyte/api/models/shared/JobCreateRequest.java - - src/main/java/com/airbyte/api/models/shared/JobsResponse.java - - src/main/java/com/airbyte/api/models/shared/OrganizationsResponse.java - - src/main/java/com/airbyte/api/models/shared/OrganizationResponse.java - - src/main/java/com/airbyte/api/models/shared/PermissionResponse.java - - src/main/java/com/airbyte/api/models/shared/PermissionType.java - - src/main/java/com/airbyte/api/models/shared/PermissionCreateRequest.java - - src/main/java/com/airbyte/api/models/shared/PublicPermissionType.java - - src/main/java/com/airbyte/api/models/shared/PermissionsResponse.java - - src/main/java/com/airbyte/api/models/shared/PermissionResponseRead.java - - src/main/java/com/airbyte/api/models/shared/PermissionScope.java - - src/main/java/com/airbyte/api/models/shared/PermissionUpdateRequest.java - - src/main/java/com/airbyte/api/models/shared/SourceResponse.java - - src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java - - src/main/java/com/airbyte/api/models/shared/Aha.java - - src/main/java/com/airbyte/api/models/shared/SourceAha.java - - src/main/java/com/airbyte/api/models/shared/Sevenshifts.java - - src/main/java/com/airbyte/api/models/shared/Source7shifts.java - - src/main/java/com/airbyte/api/models/shared/Airbyte.java - - src/main/java/com/airbyte/api/models/shared/SourceAirbyte.java - - src/main/java/com/airbyte/api/models/shared/Aircall.java - - src/main/java/com/airbyte/api/models/shared/SourceAircall.java - - src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceAirtablePersonalAccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceAirtableSchemasAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceAirtableOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtable.java - - src/main/java/com/airbyte/api/models/shared/SourceAirtable.java - - src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthType.java - - src/main/java/com/airbyte/api/models/shared/Region.java - - src/main/java/com/airbyte/api/models/shared/ReportRecordTypes.java - - src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAds.java - - src/main/java/com/airbyte/api/models/shared/StateFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java - - src/main/java/com/airbyte/api/models/shared/AWSSellerPartnerAccountType.java - - src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java - - src/main/java/com/airbyte/api/models/shared/AWSEnvironment.java - - src/main/java/com/airbyte/api/models/shared/AWSRegion.java - - src/main/java/com/airbyte/api/models/shared/OptionsList.java - - src/main/java/com/airbyte/api/models/shared/ReportName.java - - src/main/java/com/airbyte/api/models/shared/ReportOptions.java - - src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java - - src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java - - src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegion.java - - src/main/java/com/airbyte/api/models/shared/AmazonSqs.java - - src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java - - src/main/java/com/airbyte/api/models/shared/DataRegion.java - - src/main/java/com/airbyte/api/models/shared/Amplitude.java - - src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java - - src/main/java/com/airbyte/api/models/shared/ApifyDataset.java - - src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java - - src/main/java/com/airbyte/api/models/shared/Appcues.java - - src/main/java/com/airbyte/api/models/shared/SourceAppcues.java - - src/main/java/com/airbyte/api/models/shared/GroupBy.java - - src/main/java/com/airbyte/api/models/shared/Appfigures.java - - src/main/java/com/airbyte/api/models/shared/SourceAppfigures.java - - src/main/java/com/airbyte/api/models/shared/Appfollow.java - - src/main/java/com/airbyte/api/models/shared/SourceAppfollow.java - - src/main/java/com/airbyte/api/models/shared/SourceAsanaSchemasCredentialsTitle.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateWithPersonalAccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsTitle.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaAsanaOauth.java - - src/main/java/com/airbyte/api/models/shared/AuthenticationMechanism.java - - src/main/java/com/airbyte/api/models/shared/SourceAsanaAsana.java - - src/main/java/com/airbyte/api/models/shared/SourceAsana.java - - src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.java - - src/main/java/com/airbyte/api/models/shared/OAuth2AccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasAuthenticationMethod.java - - src/main/java/com/airbyte/api/models/shared/OAuth2ConfidentialApplication.java - - src/main/java/com/airbyte/api/models/shared/SourceAuth0AuthenticationMethod.java - - src/main/java/com/airbyte/api/models/shared/Auth0.java - - src/main/java/com/airbyte/api/models/shared/SourceAuth0.java - - src/main/java/com/airbyte/api/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.java - - src/main/java/com/airbyte/api/models/shared/AwsCloudtrail.java - - src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaStorageAccountKey.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaOauth2.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorage.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageMode.java - - src/main/java/com/airbyte/api/models/shared/Local.java - - src/main/java/com/airbyte/api/models/shared/Processing.java - - src/main/java/com/airbyte/api/models/shared/ParsingStrategy.java - - src/main/java/com/airbyte/api/models/shared/DocumentFileTypeFormatExperimental.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.java - - src/main/java/com/airbyte/api/models/shared/ParquetFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasFiletype.java - - src/main/java/com/airbyte/api/models/shared/JsonlFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/UserProvided.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/Autogenerated.java - - src/main/java/com/airbyte/api/models/shared/HeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/FromCSV.java - - src/main/java/com/airbyte/api/models/shared/CSVHeaderDefinition.java - - src/main/java/com/airbyte/api/models/shared/CSVFormat.java - - src/main/java/com/airbyte/api/models/shared/Filetype.java - - src/main/java/com/airbyte/api/models/shared/AvroFormat.java - - src/main/java/com/airbyte/api/models/shared/Format.java - - src/main/java/com/airbyte/api/models/shared/ValidationPolicy.java - - src/main/java/com/airbyte/api/models/shared/FileBasedStreamConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java - - src/main/java/com/airbyte/api/models/shared/AzureTable.java - - src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java - - src/main/java/com/airbyte/api/models/shared/BambooHr.java - - src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java - - src/main/java/com/airbyte/api/models/shared/Basecamp.java - - src/main/java/com/airbyte/api/models/shared/SourceBasecamp.java - - src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigquery.java - - src/main/java/com/airbyte/api/models/shared/SourceBigquery.java - - src/main/java/com/airbyte/api/models/shared/Operator.java - - src/main/java/com/airbyte/api/models/shared/AccountNames.java - - src/main/java/com/airbyte/api/models/shared/AuthMethod.java - - src/main/java/com/airbyte/api/models/shared/ReportingDataObject.java - - src/main/java/com/airbyte/api/models/shared/CustomReportConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAds.java - - src/main/java/com/airbyte/api/models/shared/SourceBingAds.java - - src/main/java/com/airbyte/api/models/shared/Bitly.java - - src/main/java/com/airbyte/api/models/shared/SourceBitly.java - - src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironment.java - - src/main/java/com/airbyte/api/models/shared/Braintree.java - - src/main/java/com/airbyte/api/models/shared/SourceBraintree.java - - src/main/java/com/airbyte/api/models/shared/Braze.java - - src/main/java/com/airbyte/api/models/shared/SourceBraze.java - - src/main/java/com/airbyte/api/models/shared/BreezyHr.java - - src/main/java/com/airbyte/api/models/shared/SourceBreezyHr.java - - src/main/java/com/airbyte/api/models/shared/Brevo.java - - src/main/java/com/airbyte/api/models/shared/SourceBrevo.java - - src/main/java/com/airbyte/api/models/shared/Buildkite.java - - src/main/java/com/airbyte/api/models/shared/SourceBuildkite.java - - src/main/java/com/airbyte/api/models/shared/Buzzsprout.java - - src/main/java/com/airbyte/api/models/shared/SourceBuzzsprout.java - - src/main/java/com/airbyte/api/models/shared/Calendly.java - - src/main/java/com/airbyte/api/models/shared/SourceCalendly.java - - src/main/java/com/airbyte/api/models/shared/Canny.java - - src/main/java/com/airbyte/api/models/shared/SourceCanny.java - - src/main/java/com/airbyte/api/models/shared/SourceCartSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SingleStoreAccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceCartAuthType.java - - src/main/java/com/airbyte/api/models/shared/CentralAPIRouter.java - - src/main/java/com/airbyte/api/models/shared/SourceCartAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/Cart.java - - src/main/java/com/airbyte/api/models/shared/SourceCart.java - - src/main/java/com/airbyte/api/models/shared/Filter.java - - src/main/java/com/airbyte/api/models/shared/Chameleon.java - - src/main/java/com/airbyte/api/models/shared/SourceChameleon.java - - src/main/java/com/airbyte/api/models/shared/ProductCatalog.java - - src/main/java/com/airbyte/api/models/shared/Chargebee.java - - src/main/java/com/airbyte/api/models/shared/SourceChargebee.java - - src/main/java/com/airbyte/api/models/shared/Chartmogul.java - - src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java - - src/main/java/com/airbyte/api/models/shared/Cimis.java - - src/main/java/com/airbyte/api/models/shared/TargetsType.java - - src/main/java/com/airbyte/api/models/shared/UnitOfMeasure.java - - src/main/java/com/airbyte/api/models/shared/SourceCimis.java - - src/main/java/com/airbyte/api/models/shared/Clazar.java - - src/main/java/com/airbyte/api/models/shared/SourceClazar.java - - src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouse.java - - src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceClickhousePasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceClickhouseNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java - - src/main/java/com/airbyte/api/models/shared/ClickupApi.java - - src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java - - src/main/java/com/airbyte/api/models/shared/Clockify.java - - src/main/java/com/airbyte/api/models/shared/SourceClockify.java - - src/main/java/com/airbyte/api/models/shared/CloseCom.java - - src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java - - src/main/java/com/airbyte/api/models/shared/Coda.java - - src/main/java/com/airbyte/api/models/shared/SourceCoda.java - - src/main/java/com/airbyte/api/models/shared/Environment.java - - src/main/java/com/airbyte/api/models/shared/CoinApi.java - - src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java - - src/main/java/com/airbyte/api/models/shared/DataType.java - - src/main/java/com/airbyte/api/models/shared/Coinmarketcap.java - - src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java - - src/main/java/com/airbyte/api/models/shared/Configcat.java - - src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java - - src/main/java/com/airbyte/api/models/shared/Confluence.java - - src/main/java/com/airbyte/api/models/shared/SourceConfluence.java - - src/main/java/com/airbyte/api/models/shared/SourceConvexConvex.java - - src/main/java/com/airbyte/api/models/shared/SourceConvex.java - - src/main/java/com/airbyte/api/models/shared/CustomerIo.java - - src/main/java/com/airbyte/api/models/shared/SourceCustomerIo.java - - src/main/java/com/airbyte/api/models/shared/DataSource.java - - src/main/java/com/airbyte/api/models/shared/Queries.java - - src/main/java/com/airbyte/api/models/shared/Site.java - - src/main/java/com/airbyte/api/models/shared/Datadog.java - - src/main/java/com/airbyte/api/models/shared/SourceDatadog.java - - src/main/java/com/airbyte/api/models/shared/Datascope.java - - src/main/java/com/airbyte/api/models/shared/SourceDatascope.java - - src/main/java/com/airbyte/api/models/shared/Dbt.java - - src/main/java/com/airbyte/api/models/shared/SourceDbt.java - - src/main/java/com/airbyte/api/models/shared/Delighted.java - - src/main/java/com/airbyte/api/models/shared/SourceDelighted.java - - src/main/java/com/airbyte/api/models/shared/Dixa.java - - src/main/java/com/airbyte/api/models/shared/SourceDixa.java - - src/main/java/com/airbyte/api/models/shared/Dockerhub.java - - src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java - - src/main/java/com/airbyte/api/models/shared/Dremio.java - - src/main/java/com/airbyte/api/models/shared/SourceDremio.java - - src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegion.java - - src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodb.java - - src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java - - src/main/java/com/airbyte/api/models/shared/Emailoctopus.java - - src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java - - src/main/java/com/airbyte/api/models/shared/ExchangeRates.java - - src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java - - src/main/java/com/airbyte/api/models/shared/Ezofficeinventory.java - - src/main/java/com/airbyte/api/models/shared/SourceEzofficeinventory.java - - src/main/java/com/airbyte/api/models/shared/ValidAdStatuses.java - - src/main/java/com/airbyte/api/models/shared/ValidAdSetStatuses.java - - src/main/java/com/airbyte/api/models/shared/ValidCampaignStatuses.java - - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/ServiceAccountKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaFacebookMarketingOauth.java - - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthentication.java - - src/main/java/com/airbyte/api/models/shared/ValidActionBreakdowns.java - - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingActionReportTime.java - - src/main/java/com/airbyte/api/models/shared/ValidBreakdowns.java - - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingValidEnums.java - - src/main/java/com/airbyte/api/models/shared/Level.java - - src/main/java/com/airbyte/api/models/shared/InsightConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketing.java - - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java - - src/main/java/com/airbyte/api/models/shared/Faker.java - - src/main/java/com/airbyte/api/models/shared/SourceFaker.java - - src/main/java/com/airbyte/api/models/shared/SourceFaunaSchemasDeletionMode.java - - src/main/java/com/airbyte/api/models/shared/Enabled.java - - src/main/java/com/airbyte/api/models/shared/SourceFaunaDeletionMode.java - - src/main/java/com/airbyte/api/models/shared/Disabled.java - - src/main/java/com/airbyte/api/models/shared/DeletionMode.java - - src/main/java/com/airbyte/api/models/shared/Collection.java - - src/main/java/com/airbyte/api/models/shared/Fauna.java - - src/main/java/com/airbyte/api/models/shared/SourceFauna.java - - src/main/java/com/airbyte/api/models/shared/FileFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider8Storage.java - - src/main/java/com/airbyte/api/models/shared/LocalFilesystemLimited.java - - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider7Storage.java - - src/main/java/com/airbyte/api/models/shared/SFTPSecureFileTransferProtocol.java - - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider6Storage.java - - src/main/java/com/airbyte/api/models/shared/SCPSecureCopyProtocol.java - - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProviderStorage.java - - src/main/java/com/airbyte/api/models/shared/SSHSecureShell.java - - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorage.java - - src/main/java/com/airbyte/api/models/shared/AzBlobAzureBlobStorage.java - - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasStorage.java - - src/main/java/com/airbyte/api/models/shared/S3AmazonWebServices.java - - src/main/java/com/airbyte/api/models/shared/SourceFileStorage.java - - src/main/java/com/airbyte/api/models/shared/GCSGoogleCloudStorage.java - - src/main/java/com/airbyte/api/models/shared/Storage.java - - src/main/java/com/airbyte/api/models/shared/HTTPSPublicWeb.java - - src/main/java/com/airbyte/api/models/shared/StorageProvider.java - - src/main/java/com/airbyte/api/models/shared/File.java - - src/main/java/com/airbyte/api/models/shared/SourceFile.java - - src/main/java/com/airbyte/api/models/shared/SourceFireboltFirebolt.java - - src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java - - src/main/java/com/airbyte/api/models/shared/Fleetio.java - - src/main/java/com/airbyte/api/models/shared/SourceFleetio.java - - src/main/java/com/airbyte/api/models/shared/Freshcaller.java - - src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java - - src/main/java/com/airbyte/api/models/shared/Freshdesk.java - - src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java - - src/main/java/com/airbyte/api/models/shared/Freshsales.java - - src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java - - src/main/java/com/airbyte/api/models/shared/Front.java - - src/main/java/com/airbyte/api/models/shared/SourceFront.java - - src/main/java/com/airbyte/api/models/shared/GainsightPx.java - - src/main/java/com/airbyte/api/models/shared/SourceGainsightPx.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsGcs.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.java - - src/main/java/com/airbyte/api/models/shared/ExcelFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/APIParameterConfigModel.java - - src/main/java/com/airbyte/api/models/shared/ViaAPI.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsMode.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsLocal.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsProcessing.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsParsingStrategy.java - - src/main/java/com/airbyte/api/models/shared/UnstructuredDocumentFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsParquetFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsJsonlFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsUserProvided.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsAutogenerated.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsFromCSV.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsCSVHeaderDefinition.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsCSVFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsAvroFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsValidationPolicy.java - - src/main/java/com/airbyte/api/models/shared/SourceGcsFileBasedStreamConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceGcs.java - - src/main/java/com/airbyte/api/models/shared/Getlago.java - - src/main/java/com/airbyte/api/models/shared/SourceGetlago.java - - src/main/java/com/airbyte/api/models/shared/SourceGithubOptionTitle.java - - src/main/java/com/airbyte/api/models/shared/SourceGithubPersonalAccessToken.java - - src/main/java/com/airbyte/api/models/shared/OptionTitle.java - - src/main/java/com/airbyte/api/models/shared/OAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceGithubAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceGithubGithub.java - - src/main/java/com/airbyte/api/models/shared/SourceGithub.java - - src/main/java/com/airbyte/api/models/shared/SourceGitlabSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/PrivateToken.java - - src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceGitlabOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlab.java - - src/main/java/com/airbyte/api/models/shared/SourceGitlab.java - - src/main/java/com/airbyte/api/models/shared/Glassfrog.java - - src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java - - src/main/java/com/airbyte/api/models/shared/Country.java - - src/main/java/com/airbyte/api/models/shared/In.java - - src/main/java/com/airbyte/api/models/shared/Language.java - - src/main/java/com/airbyte/api/models/shared/Nullable.java - - src/main/java/com/airbyte/api/models/shared/SortBy.java - - src/main/java/com/airbyte/api/models/shared/Gnews.java - - src/main/java/com/airbyte/api/models/shared/TopHeadlinesTopic.java - - src/main/java/com/airbyte/api/models/shared/SourceGnews.java - - src/main/java/com/airbyte/api/models/shared/Goldcast.java - - src/main/java/com/airbyte/api/models/shared/SourceGoldcast.java - - src/main/java/com/airbyte/api/models/shared/GoogleCredentials.java - - src/main/java/com/airbyte/api/models/shared/CustomQueriesArray.java - - src/main/java/com/airbyte/api/models/shared/CustomerStatus.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAds.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaGoogleOauth.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentials.java - - src/main/java/com/airbyte/api/models/shared/CohortReportSettings.java - - src/main/java/com/airbyte/api/models/shared/DateRange.java - - src/main/java/com/airbyte/api/models/shared/Dimension.java - - src/main/java/com/airbyte/api/models/shared/Cohorts.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGranularity.java - - src/main/java/com/airbyte/api/models/shared/CohortsRange.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiEnabled.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDisabled.java - - src/main/java/com/airbyte/api/models/shared/CohortReports.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInt64Value.java - - src/main/java/com/airbyte/api/models/shared/FromValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.java - - src/main/java/com/airbyte/api/models/shared/ToValue.java - - src/main/java/com/airbyte/api/models/shared/BetweenFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValueType.java - - src/main/java/com/airbyte/api/models/shared/DoubleValue.java - - src/main/java/com/airbyte/api/models/shared/ValueType.java - - src/main/java/com/airbyte/api/models/shared/Int64Value.java - - src/main/java/com/airbyte/api/models/shared/Value.java - - src/main/java/com/airbyte/api/models/shared/NumericFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterName.java - - src/main/java/com/airbyte/api/models/shared/InListFilter.java - - src/main/java/com/airbyte/api/models/shared/FilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValidEnums.java - - src/main/java/com/airbyte/api/models/shared/StringFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.java - - src/main/java/com/airbyte/api/models/shared/NotExpression.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiExpression.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterType.java - - src/main/java/com/airbyte/api/models/shared/OrGroup.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.java - - src/main/java/com/airbyte/api/models/shared/Expression.java - - src/main/java/com/airbyte/api/models/shared/FilterType.java - - src/main/java/com/airbyte/api/models/shared/AndGroup.java - - src/main/java/com/airbyte/api/models/shared/DimensionsFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFromValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiToValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInListFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiStringFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNotExpression.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiOrGroup.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAndGroup.java - - src/main/java/com/airbyte/api/models/shared/MetricsFilter.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectorySchemasCredentialsTitle.java - - src/main/java/com/airbyte/api/models/shared/ServiceAccountKey.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryCredentialsTitle.java - - src/main/java/com/airbyte/api/models/shared/SignInViaGoogleOAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleCredentials.java - - src/main/java/com/airbyte/api/models/shared/GoogleDirectory.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveGoogleDrive.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveMode.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveLocal.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveProcessing.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParsingStrategy.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParquetFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveJsonlFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveUserProvided.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAutogenerated.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFromCSV.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVHeaderDefinition.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAvroFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveValidationPolicy.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFileBasedStreamConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleDrive.java - - src/main/java/com/airbyte/api/models/shared/Categories.java - - src/main/java/com/airbyte/api/models/shared/GooglePagespeedInsights.java - - src/main/java/com/airbyte/api/models/shared/Strategies.java - - src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleOAuth.java - - src/main/java/com/airbyte/api/models/shared/AuthenticationType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleValidEnums.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleCustomReportConfig.java - - src/main/java/com/airbyte/api/models/shared/DataFreshness.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheets.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java - - src/main/java/com/airbyte/api/models/shared/GoogleTasks.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleTasks.java - - src/main/java/com/airbyte/api/models/shared/GoogleWebfonts.java - - src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java - - src/main/java/com/airbyte/api/models/shared/Greenhouse.java - - src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java - - src/main/java/com/airbyte/api/models/shared/Gridly.java - - src/main/java/com/airbyte/api/models/shared/SourceGridly.java - - src/main/java/com/airbyte/api/models/shared/Guru.java - - src/main/java/com/airbyte/api/models/shared/SourceGuru.java - - src/main/java/com/airbyte/api/models/shared/HardcodedRecords.java - - src/main/java/com/airbyte/api/models/shared/SourceHardcodedRecords.java - - src/main/java/com/airbyte/api/models/shared/Harvest.java - - src/main/java/com/airbyte/api/models/shared/SourceHarvest.java - - src/main/java/com/airbyte/api/models/shared/Height.java - - src/main/java/com/airbyte/api/models/shared/SourceHeight.java - - src/main/java/com/airbyte/api/models/shared/Hibob.java - - src/main/java/com/airbyte/api/models/shared/SourceHibob.java - - src/main/java/com/airbyte/api/models/shared/HighLevel.java - - src/main/java/com/airbyte/api/models/shared/SourceHighLevel.java - - src/main/java/com/airbyte/api/models/shared/Hubplanner.java - - src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java - - src/main/java/com/airbyte/api/models/shared/SourceHubspotSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/PrivateApp.java - - src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceHubspotOAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspot.java - - src/main/java/com/airbyte/api/models/shared/SourceHubspot.java - - src/main/java/com/airbyte/api/models/shared/Insightly.java - - src/main/java/com/airbyte/api/models/shared/SourceInsightly.java - - src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagram.java - - src/main/java/com/airbyte/api/models/shared/SourceInstagram.java - - src/main/java/com/airbyte/api/models/shared/Instatus.java - - src/main/java/com/airbyte/api/models/shared/SourceInstatus.java - - src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercom.java - - src/main/java/com/airbyte/api/models/shared/SourceIntercom.java - - src/main/java/com/airbyte/api/models/shared/Ip2whois.java - - src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java - - src/main/java/com/airbyte/api/models/shared/Iterable.java - - src/main/java/com/airbyte/api/models/shared/SourceIterable.java - - src/main/java/com/airbyte/api/models/shared/Jira.java - - src/main/java/com/airbyte/api/models/shared/SourceJira.java - - src/main/java/com/airbyte/api/models/shared/SourceJotformSchemasApiEndpoint.java - - src/main/java/com/airbyte/api/models/shared/Enterprise.java - - src/main/java/com/airbyte/api/models/shared/SourceJotformApiEndpoint.java - - src/main/java/com/airbyte/api/models/shared/BaseURLPrefix.java - - src/main/java/com/airbyte/api/models/shared/Basic.java - - src/main/java/com/airbyte/api/models/shared/APIEndpoint.java - - src/main/java/com/airbyte/api/models/shared/Jotform.java - - src/main/java/com/airbyte/api/models/shared/SourceJotform.java - - src/main/java/com/airbyte/api/models/shared/K6Cloud.java - - src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java - - src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegion.java - - src/main/java/com/airbyte/api/models/shared/Klarna.java - - src/main/java/com/airbyte/api/models/shared/SourceKlarna.java - - src/main/java/com/airbyte/api/models/shared/Klaviyo.java - - src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java - - src/main/java/com/airbyte/api/models/shared/Kyve.java - - src/main/java/com/airbyte/api/models/shared/SourceKyve.java - - src/main/java/com/airbyte/api/models/shared/Launchdarkly.java - - src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java - - src/main/java/com/airbyte/api/models/shared/Leadfeeder.java - - src/main/java/com/airbyte/api/models/shared/SourceLeadfeeder.java - - src/main/java/com/airbyte/api/models/shared/Lemlist.java - - src/main/java/com/airbyte/api/models/shared/SourceLemlist.java - - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverApiKey.java - - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverOAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthenticationMechanism.java - - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringEnvironment.java - - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringLeverHiring.java - - src/main/java/com/airbyte/api/models/shared/SourceLeverHiring.java - - src/main/java/com/airbyte/api/models/shared/PivotCategory.java - - src/main/java/com/airbyte/api/models/shared/TimeGranularity.java - - src/main/java/com/airbyte/api/models/shared/AdAnalyticsReportConfiguration.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsSchemasAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/AccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAds.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesSchemasAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthentication.java - - src/main/java/com/airbyte/api/models/shared/LinkedinPages.java - - src/main/java/com/airbyte/api/models/shared/TimeGranularityType.java - - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java - - src/main/java/com/airbyte/api/models/shared/Linnworks.java - - src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java - - src/main/java/com/airbyte/api/models/shared/Lokalise.java - - src/main/java/com/airbyte/api/models/shared/SourceLokalise.java - - src/main/java/com/airbyte/api/models/shared/Looker.java - - src/main/java/com/airbyte/api/models/shared/SourceLooker.java - - src/main/java/com/airbyte/api/models/shared/Luma.java - - src/main/java/com/airbyte/api/models/shared/SourceLuma.java - - src/main/java/com/airbyte/api/models/shared/SourceMailchimpSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/APIKey.java - - src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceMailchimpOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimp.java - - src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java - - src/main/java/com/airbyte/api/models/shared/DomainRegionCode.java - - src/main/java/com/airbyte/api/models/shared/Mailgun.java - - src/main/java/com/airbyte/api/models/shared/SourceMailgun.java - - src/main/java/com/airbyte/api/models/shared/MailjetSms.java - - src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java - - src/main/java/com/airbyte/api/models/shared/Marketo.java - - src/main/java/com/airbyte/api/models/shared/SourceMarketo.java - - src/main/java/com/airbyte/api/models/shared/Metabase.java - - src/main/java/com/airbyte/api/models/shared/SourceMetabase.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/ServiceKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SearchScope.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMicrosoftOnedrive.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMode.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveLocal.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveProcessing.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParsingStrategy.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParquetFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveJsonlFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUserProvided.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAutogenerated.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFromCSV.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAvroFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveValidationPolicy.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedrive.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSearchScope.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointExcelFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMode.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointLocal.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointProcessing.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParsingStrategy.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParquetFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointJsonlFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUserProvided.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAutogenerated.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFromCSV.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAvroFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointValidationPolicy.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepoint.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoft.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthenticationMechanism.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeams.java - - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java - - src/main/java/com/airbyte/api/models/shared/SourceMixpanelSchemasOptionTitle.java - - src/main/java/com/airbyte/api/models/shared/ProjectSecret.java - - src/main/java/com/airbyte/api/models/shared/SourceMixpanelOptionTitle.java - - src/main/java/com/airbyte/api/models/shared/ServiceAccount.java - - src/main/java/com/airbyte/api/models/shared/AuthenticationWildcard.java - - src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegion.java - - src/main/java/com/airbyte/api/models/shared/Mixpanel.java - - src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java - - src/main/java/com/airbyte/api/models/shared/SourceMondaySchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/APIToken.java - - src/main/java/com/airbyte/api/models/shared/SourceMondayAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceMondayOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceMondayAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMondayMonday.java - - src/main/java/com/airbyte/api/models/shared/SourceMonday.java - - src/main/java/com/airbyte/api/models/shared/InvalidCDCPositionBehaviorAdvanced.java - - src/main/java/com/airbyte/api/models/shared/MongodbV2.java - - src/main/java/com/airbyte/api/models/shared/CaptureModeAdvanced.java - - src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasMethod.java - - src/main/java/com/airbyte/api/models/shared/ScanChangesWithUserDefinedCursor.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlInvalidCDCPositionBehaviorAdvanced.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlMethod.java - - src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java - - src/main/java/com/airbyte/api/models/shared/UpdateMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlMssql.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSSLMethodSSLMethodSSLMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedVerifyCertificate.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethodSslMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedTrustServerCertificate.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlUnencrypted.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlSSLMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMssql.java - - src/main/java/com/airbyte/api/models/shared/MyHours.java - - src/main/java/com/airbyte/api/models/shared/SourceMyHours.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlInvalidCDCPositionBehaviorAdvanced.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlMethod.java - - src/main/java/com/airbyte/api/models/shared/ReadChangesUsingBinaryLogCDC.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlUpdateMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlMysql.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSSLModeSSLModesMode.java - - src/main/java/com/airbyte/api/models/shared/VerifyIdentity.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSslModeMode.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlVerifyCA.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/Required.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlMode.java - - src/main/java/com/airbyte/api/models/shared/Preferred.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlSSLModes.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceMysql.java - - src/main/java/com/airbyte/api/models/shared/Netsuite.java - - src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java - - src/main/java/com/airbyte/api/models/shared/NorthpassLms.java - - src/main/java/com/airbyte/api/models/shared/SourceNorthpassLms.java - - src/main/java/com/airbyte/api/models/shared/SourceNotionSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceNotionAccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceNotionAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceNotionOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceNotionAuthenticationMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceNotionNotion.java - - src/main/java/com/airbyte/api/models/shared/SourceNotion.java - - src/main/java/com/airbyte/api/models/shared/APIServer.java - - src/main/java/com/airbyte/api/models/shared/Nylas.java - - src/main/java/com/airbyte/api/models/shared/SourceNylas.java - - src/main/java/com/airbyte/api/models/shared/PeriodUsedForMostPopularStreams.java - - src/main/java/com/airbyte/api/models/shared/ShareTypeUsedForMostPopularSharedStream.java - - src/main/java/com/airbyte/api/models/shared/Nytimes.java - - src/main/java/com/airbyte/api/models/shared/SourceNytimes.java - - src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasCredentialsAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceOktaAPIToken.java - - src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/OAuth20WithPrivateKey.java - - src/main/java/com/airbyte/api/models/shared/SourceOktaAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceOktaOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceOktaAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/Okta.java - - src/main/java/com/airbyte/api/models/shared/SourceOkta.java - - src/main/java/com/airbyte/api/models/shared/Omnisend.java - - src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java - - src/main/java/com/airbyte/api/models/shared/Applications.java - - src/main/java/com/airbyte/api/models/shared/Onesignal.java - - src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionType.java - - src/main/java/com/airbyte/api/models/shared/SystemIDSID.java - - src/main/java/com/airbyte/api/models/shared/ConnectionType.java - - src/main/java/com/airbyte/api/models/shared/ServiceName.java - - src/main/java/com/airbyte/api/models/shared/ConnectBy.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionEncryptionMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleTLSEncryptedVerifyCertificate.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionAlgorithm.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleNativeNetworkEncryptionNNE.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleUnencrypted.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleEncryption.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleOracle.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceOraclePasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/SourceOracleSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceOracle.java - - src/main/java/com/airbyte/api/models/shared/Orb.java - - src/main/java/com/airbyte/api/models/shared/SourceOrb.java - - src/main/java/com/airbyte/api/models/shared/Orbit.java - - src/main/java/com/airbyte/api/models/shared/SourceOrbit.java - - src/main/java/com/airbyte/api/models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.java - - src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyUsernamePassword.java - - src/main/java/com/airbyte/api/models/shared/AccessTokenIsRequiredForAuthenticationRequests.java - - src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAuthenticationMethod.java - - src/main/java/com/airbyte/api/models/shared/GranularityForGeoLocationRegion.java - - src/main/java/com/airbyte/api/models/shared/GranularityForPeriodicReports.java - - src/main/java/com/airbyte/api/models/shared/OutbrainAmplify.java - - src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplify.java - - src/main/java/com/airbyte/api/models/shared/Outreach.java - - src/main/java/com/airbyte/api/models/shared/SourceOutreach.java - - src/main/java/com/airbyte/api/models/shared/PaypalTransaction.java - - src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java - - src/main/java/com/airbyte/api/models/shared/Paystack.java - - src/main/java/com/airbyte/api/models/shared/SourcePaystack.java - - src/main/java/com/airbyte/api/models/shared/Pendo.java - - src/main/java/com/airbyte/api/models/shared/SourcePendo.java - - src/main/java/com/airbyte/api/models/shared/Pennylane.java - - src/main/java/com/airbyte/api/models/shared/SourcePennylane.java - - src/main/java/com/airbyte/api/models/shared/Persistiq.java - - src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java - - src/main/java/com/airbyte/api/models/shared/PexelsApi.java - - src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java - - src/main/java/com/airbyte/api/models/shared/Picqer.java - - src/main/java/com/airbyte/api/models/shared/SourcePicqer.java - - src/main/java/com/airbyte/api/models/shared/SourcePinterestAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/OAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourcePinterestValidEnums.java - - src/main/java/com/airbyte/api/models/shared/ClickWindowDays.java - - src/main/java/com/airbyte/api/models/shared/SourcePinterestSchemasValidEnums.java - - src/main/java/com/airbyte/api/models/shared/ConversionReportTime.java - - src/main/java/com/airbyte/api/models/shared/EngagementWindowDays.java - - src/main/java/com/airbyte/api/models/shared/Granularity.java - - src/main/java/com/airbyte/api/models/shared/SourcePinterestLevel.java - - src/main/java/com/airbyte/api/models/shared/ViewWindowDays.java - - src/main/java/com/airbyte/api/models/shared/ReportConfig.java - - src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterest.java - - src/main/java/com/airbyte/api/models/shared/Status.java - - src/main/java/com/airbyte/api/models/shared/SourcePinterest.java - - src/main/java/com/airbyte/api/models/shared/Pipedrive.java - - src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java - - src/main/java/com/airbyte/api/models/shared/Piwik.java - - src/main/java/com/airbyte/api/models/shared/SourcePiwik.java - - src/main/java/com/airbyte/api/models/shared/Planhat.java - - src/main/java/com/airbyte/api/models/shared/SourcePlanhat.java - - src/main/java/com/airbyte/api/models/shared/ContentType.java - - src/main/java/com/airbyte/api/models/shared/DetailType.java - - src/main/java/com/airbyte/api/models/shared/SourcePocketSortBy.java - - src/main/java/com/airbyte/api/models/shared/Pocket.java - - src/main/java/com/airbyte/api/models/shared/State.java - - src/main/java/com/airbyte/api/models/shared/SourcePocket.java - - src/main/java/com/airbyte/api/models/shared/PokemonName.java - - src/main/java/com/airbyte/api/models/shared/Pokeapi.java - - src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java - - src/main/java/com/airbyte/api/models/shared/PolygonStockApi.java - - src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMethod.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresMethod.java - - src/main/java/com/airbyte/api/models/shared/DetectChangesWithXminSystemColumn.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresUpdateMethod.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgres.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresNoTunnel.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHTunnelMethod.java - - src/main/java/com/airbyte/api/models/shared/SourcePostgres.java - - src/main/java/com/airbyte/api/models/shared/Posthog.java - - src/main/java/com/airbyte/api/models/shared/SourcePosthog.java - - src/main/java/com/airbyte/api/models/shared/Postmarkapp.java - - src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java - - src/main/java/com/airbyte/api/models/shared/Prestashop.java - - src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java - - src/main/java/com/airbyte/api/models/shared/Productboard.java - - src/main/java/com/airbyte/api/models/shared/SourceProductboard.java - - src/main/java/com/airbyte/api/models/shared/Productive.java - - src/main/java/com/airbyte/api/models/shared/SourceProductive.java - - src/main/java/com/airbyte/api/models/shared/Pypi.java - - src/main/java/com/airbyte/api/models/shared/SourcePypi.java - - src/main/java/com/airbyte/api/models/shared/Qualaroo.java - - src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java - - src/main/java/com/airbyte/api/models/shared/Railz.java - - src/main/java/com/airbyte/api/models/shared/SourceRailz.java - - src/main/java/com/airbyte/api/models/shared/Recharge.java - - src/main/java/com/airbyte/api/models/shared/SourceRecharge.java - - src/main/java/com/airbyte/api/models/shared/Recreation.java - - src/main/java/com/airbyte/api/models/shared/SourceRecreation.java - - src/main/java/com/airbyte/api/models/shared/Recruitee.java - - src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java - - src/main/java/com/airbyte/api/models/shared/Recurly.java - - src/main/java/com/airbyte/api/models/shared/SourceRecurly.java - - src/main/java/com/airbyte/api/models/shared/Reddit.java - - src/main/java/com/airbyte/api/models/shared/SourceReddit.java - - src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshift.java - - src/main/java/com/airbyte/api/models/shared/SourceRedshift.java - - src/main/java/com/airbyte/api/models/shared/SourceRetentlyRetently.java - - src/main/java/com/airbyte/api/models/shared/SourceRetently.java - - src/main/java/com/airbyte/api/models/shared/RkiCovid.java - - src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java - - src/main/java/com/airbyte/api/models/shared/Rss.java - - src/main/java/com/airbyte/api/models/shared/SourceRss.java - - src/main/java/com/airbyte/api/models/shared/SourceS3S3.java - - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceS3Mode.java - - src/main/java/com/airbyte/api/models/shared/SourceS3Local.java - - src/main/java/com/airbyte/api/models/shared/SourceS3Processing.java - - src/main/java/com/airbyte/api/models/shared/SourceS3ParsingStrategy.java - - src/main/java/com/airbyte/api/models/shared/SourceS3UnstructuredDocumentFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceS3ParquetFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceS3JsonlFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceS3UserProvided.java - - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceS3Autogenerated.java - - src/main/java/com/airbyte/api/models/shared/SourceS3HeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceS3FromCSV.java - - src/main/java/com/airbyte/api/models/shared/SourceS3CSVHeaderDefinition.java - - src/main/java/com/airbyte/api/models/shared/SourceS3CSVFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceS3Filetype.java - - src/main/java/com/airbyte/api/models/shared/SourceS3AvroFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceS3Format.java - - src/main/java/com/airbyte/api/models/shared/SourceS3ValidationPolicy.java - - src/main/java/com/airbyte/api/models/shared/SourceS3FileBasedStreamConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceS3.java - - src/main/java/com/airbyte/api/models/shared/AuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforce.java - - src/main/java/com/airbyte/api/models/shared/SearchCriteria.java - - src/main/java/com/airbyte/api/models/shared/StreamsCriteria.java - - src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java - - src/main/java/com/airbyte/api/models/shared/SourceSalesloftSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaAPIKey.java - - src/main/java/com/airbyte/api/models/shared/SourceSalesloftAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentials.java - - src/main/java/com/airbyte/api/models/shared/Salesloft.java - - src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java - - src/main/java/com/airbyte/api/models/shared/SapFieldglass.java - - src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java - - src/main/java/com/airbyte/api/models/shared/Savvycal.java - - src/main/java/com/airbyte/api/models/shared/SourceSavvycal.java - - src/main/java/com/airbyte/api/models/shared/Scryfall.java - - src/main/java/com/airbyte/api/models/shared/SourceScryfall.java - - src/main/java/com/airbyte/api/models/shared/Secoda.java - - src/main/java/com/airbyte/api/models/shared/SourceSecoda.java - - src/main/java/com/airbyte/api/models/shared/Sendgrid.java - - src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java - - src/main/java/com/airbyte/api/models/shared/Sendinblue.java - - src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java - - src/main/java/com/airbyte/api/models/shared/Senseforce.java - - src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java - - src/main/java/com/airbyte/api/models/shared/Sentry.java - - src/main/java/com/airbyte/api/models/shared/SourceSentry.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpSchemasAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpSSHKeyAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpPasswordAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpAuthentication.java - - src/main/java/com/airbyte/api/models/shared/Sftp.java - - src/main/java/com/airbyte/api/models/shared/SourceSftp.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaPrivateKey.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthType.java - - src/main/java/com/airbyte/api/models/shared/AuthenticateViaPassword.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SftpBulk.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkExcelFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasMode.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAPIParameterConfigModel.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkViaAPI.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkMode.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkLocal.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkProcessing.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParsingStrategy.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUnstructuredDocumentFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParquetFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkJsonlFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUserProvided.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAutogenerated.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkHeaderDefinitionType.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFromCSV.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVHeaderDefinition.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFiletype.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAvroFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFormat.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkValidationPolicy.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileBasedStreamConfig.java - - src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java - - src/main/java/com/airbyte/api/models/shared/SourceShopifySchemasAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/APIPassword.java - - src/main/java/com/airbyte/api/models/shared/SourceShopifyAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceShopifyOAuth20.java - - src/main/java/com/airbyte/api/models/shared/ShopifyAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceShopifyShopify.java - - src/main/java/com/airbyte/api/models/shared/SourceShopify.java - - src/main/java/com/airbyte/api/models/shared/Shortcut.java - - src/main/java/com/airbyte/api/models/shared/SourceShortcut.java - - src/main/java/com/airbyte/api/models/shared/Shortio.java - - src/main/java/com/airbyte/api/models/shared/SourceShortio.java - - src/main/java/com/airbyte/api/models/shared/SourceSlackSchemasOptionTitle.java - - src/main/java/com/airbyte/api/models/shared/SourceSlackAPIToken.java - - src/main/java/com/airbyte/api/models/shared/SourceSlackOptionTitle.java - - src/main/java/com/airbyte/api/models/shared/SignInViaSlackOAuth.java - - src/main/java/com/airbyte/api/models/shared/SourceSlackAuthenticationMechanism.java - - src/main/java/com/airbyte/api/models/shared/SourceSlackSlack.java - - src/main/java/com/airbyte/api/models/shared/SourceSlack.java - - src/main/java/com/airbyte/api/models/shared/Smaily.java - - src/main/java/com/airbyte/api/models/shared/SourceSmaily.java - - src/main/java/com/airbyte/api/models/shared/Smartengage.java - - src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java - - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/APIAccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/Validenums.java - - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheets.java - - src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java - - src/main/java/com/airbyte/api/models/shared/ActionReportTime.java - - src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketing.java - - src/main/java/com/airbyte/api/models/shared/SwipeUpAttributionWindow.java - - src/main/java/com/airbyte/api/models/shared/ViewAttributionWindow.java - - src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java - - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasCredentialsAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeUsernameAndPassword.java - - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeKeyPairAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflake.java - - src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java - - src/main/java/com/airbyte/api/models/shared/SonarCloud.java - - src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java - - src/main/java/com/airbyte/api/models/shared/SpacexApi.java - - src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java - - src/main/java/com/airbyte/api/models/shared/SourceSquareSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceSquareAPIKey.java - - src/main/java/com/airbyte/api/models/shared/SourceSquareAuthType.java - - src/main/java/com/airbyte/api/models/shared/OauthAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceSquareAuthentication.java - - src/main/java/com/airbyte/api/models/shared/SourceSquareSquare.java - - src/main/java/com/airbyte/api/models/shared/SourceSquare.java - - src/main/java/com/airbyte/api/models/shared/SourceStravaAuthType.java - - src/main/java/com/airbyte/api/models/shared/Strava.java - - src/main/java/com/airbyte/api/models/shared/SourceStrava.java - - src/main/java/com/airbyte/api/models/shared/Stripe.java - - src/main/java/com/airbyte/api/models/shared/SourceStripe.java - - src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowUrlBase.java - - src/main/java/com/airbyte/api/models/shared/GlobalAccount.java - - src/main/java/com/airbyte/api/models/shared/UrlBase.java - - src/main/java/com/airbyte/api/models/shared/EUBasedAccount.java - - src/main/java/com/airbyte/api/models/shared/BaseURL.java - - src/main/java/com/airbyte/api/models/shared/SurveySparrow.java - - src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java - - src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SurveyMonkeyAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.java - - src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkey.java - - src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java - - src/main/java/com/airbyte/api/models/shared/Survicate.java - - src/main/java/com/airbyte/api/models/shared/SourceSurvicate.java - - src/main/java/com/airbyte/api/models/shared/Teamwork.java - - src/main/java/com/airbyte/api/models/shared/SourceTeamwork.java - - src/main/java/com/airbyte/api/models/shared/Tempo.java - - src/main/java/com/airbyte/api/models/shared/SourceTempo.java - - src/main/java/com/airbyte/api/models/shared/TheGuardianApi.java - - src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java - - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SandboxAccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthenticationMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketing.java - - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java - - src/main/java/com/airbyte/api/models/shared/Trello.java - - src/main/java/com/airbyte/api/models/shared/SourceTrello.java - - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAPIKey.java - - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/Trustpilot.java - - src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java - - src/main/java/com/airbyte/api/models/shared/TvmazeSchedule.java - - src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java - - src/main/java/com/airbyte/api/models/shared/Twilio.java - - src/main/java/com/airbyte/api/models/shared/SourceTwilio.java - - src/main/java/com/airbyte/api/models/shared/TwilioTaskrouter.java - - src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java - - src/main/java/com/airbyte/api/models/shared/Twitter.java - - src/main/java/com/airbyte/api/models/shared/SourceTwitter.java - - src/main/java/com/airbyte/api/models/shared/SourceTypeformSchemasAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceTypeformPrivateToken.java - - src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthType.java - - src/main/java/com/airbyte/api/models/shared/SourceTypeformOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeform.java - - src/main/java/com/airbyte/api/models/shared/SourceTypeform.java - - src/main/java/com/airbyte/api/models/shared/UsCensus.java - - src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java - - src/main/java/com/airbyte/api/models/shared/Vantage.java - - src/main/java/com/airbyte/api/models/shared/SourceVantage.java - - src/main/java/com/airbyte/api/models/shared/Webflow.java - - src/main/java/com/airbyte/api/models/shared/SourceWebflow.java - - src/main/java/com/airbyte/api/models/shared/WhenIWork.java - - src/main/java/com/airbyte/api/models/shared/SourceWhenIWork.java - - src/main/java/com/airbyte/api/models/shared/WhiskyHunter.java - - src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java - - src/main/java/com/airbyte/api/models/shared/WikipediaPageviews.java - - src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java - - src/main/java/com/airbyte/api/models/shared/Woocommerce.java - - src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java - - src/main/java/com/airbyte/api/models/shared/Xkcd.java - - src/main/java/com/airbyte/api/models/shared/SourceXkcd.java - - src/main/java/com/airbyte/api/models/shared/YandexMetrica.java - - src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java - - src/main/java/com/airbyte/api/models/shared/Yotpo.java - - src/main/java/com/airbyte/api/models/shared/SourceYotpo.java - - src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.java - - src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatSchemasCredentials.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAccessToken.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentials.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChat.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineSchemasAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAPIToken.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineOAuth20.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthorizationMethod.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineZendeskSunshine.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupport.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalk.java - - src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java - - src/main/java/com/airbyte/api/models/shared/Zenloop.java - - src/main/java/com/airbyte/api/models/shared/SourceZenloop.java - - src/main/java/com/airbyte/api/models/shared/DataCenterLocation.java - - src/main/java/com/airbyte/api/models/shared/ZohoCRMEdition.java - - src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironment.java - - src/main/java/com/airbyte/api/models/shared/ZohoCrm.java - - src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java - - src/main/java/com/airbyte/api/models/shared/Zoom.java - - src/main/java/com/airbyte/api/models/shared/SourceZoom.java - - src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java - - src/main/java/com/airbyte/api/models/shared/InitiateOauthRequest.java - - src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java - - src/main/java/com/airbyte/api/models/shared/SourcesResponse.java - - src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java - - src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java - - src/main/java/com/airbyte/api/models/shared/StreamProperties.java - - src/main/java/com/airbyte/api/models/shared/UsersResponse.java - - src/main/java/com/airbyte/api/models/shared/UserResponse.java - - src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java - - src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java - - src/main/java/com/airbyte/api/models/shared/Credentials.java - - src/main/java/com/airbyte/api/models/shared/Airtable.java - - src/main/java/com/airbyte/api/models/shared/AmazonAds.java - - src/main/java/com/airbyte/api/models/shared/AmazonSellerPartner.java - - src/main/java/com/airbyte/api/models/shared/AsanaCredentials.java - - src/main/java/com/airbyte/api/models/shared/Asana.java - - src/main/java/com/airbyte/api/models/shared/AzureBlobStorageCredentials.java - - src/main/java/com/airbyte/api/models/shared/AzureBlobStorage.java - - src/main/java/com/airbyte/api/models/shared/BingAds.java - - src/main/java/com/airbyte/api/models/shared/FacebookMarketingCredentials.java - - src/main/java/com/airbyte/api/models/shared/FacebookMarketing.java - - src/main/java/com/airbyte/api/models/shared/GithubCredentials.java - - src/main/java/com/airbyte/api/models/shared/Github.java - - src/main/java/com/airbyte/api/models/shared/GitlabCredentials.java - - src/main/java/com/airbyte/api/models/shared/Gitlab.java - - src/main/java/com/airbyte/api/models/shared/GoogleAdsCredentials.java - - src/main/java/com/airbyte/api/models/shared/GoogleAds.java - - src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApiCredentials.java - - src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApi.java - - src/main/java/com/airbyte/api/models/shared/GoogleDriveCredentials.java - - src/main/java/com/airbyte/api/models/shared/GoogleDrive.java - - src/main/java/com/airbyte/api/models/shared/Authorization.java - - src/main/java/com/airbyte/api/models/shared/GoogleSearchConsole.java - - src/main/java/com/airbyte/api/models/shared/GoogleSheetsCredentials.java - - src/main/java/com/airbyte/api/models/shared/GoogleSheets.java - - src/main/java/com/airbyte/api/models/shared/HubspotCredentials.java - - src/main/java/com/airbyte/api/models/shared/Hubspot.java - - src/main/java/com/airbyte/api/models/shared/Instagram.java - - src/main/java/com/airbyte/api/models/shared/Intercom.java - - src/main/java/com/airbyte/api/models/shared/LeverHiringCredentials.java - - src/main/java/com/airbyte/api/models/shared/LeverHiring.java - - src/main/java/com/airbyte/api/models/shared/LinkedinAdsCredentials.java - - src/main/java/com/airbyte/api/models/shared/LinkedinAds.java - - src/main/java/com/airbyte/api/models/shared/MailchimpCredentials.java - - src/main/java/com/airbyte/api/models/shared/Mailchimp.java - - src/main/java/com/airbyte/api/models/shared/MicrosoftOnedriveCredentials.java - - src/main/java/com/airbyte/api/models/shared/MicrosoftOnedrive.java - - src/main/java/com/airbyte/api/models/shared/MicrosoftSharepointCredentials.java - - src/main/java/com/airbyte/api/models/shared/MicrosoftSharepoint.java - - src/main/java/com/airbyte/api/models/shared/MicrosoftTeamsCredentials.java - - src/main/java/com/airbyte/api/models/shared/MicrosoftTeams.java - - src/main/java/com/airbyte/api/models/shared/MondayCredentials.java - - src/main/java/com/airbyte/api/models/shared/Monday.java - - src/main/java/com/airbyte/api/models/shared/NotionCredentials.java - - src/main/java/com/airbyte/api/models/shared/Notion.java - - src/main/java/com/airbyte/api/models/shared/PinterestCredentials.java - - src/main/java/com/airbyte/api/models/shared/Pinterest.java - - src/main/java/com/airbyte/api/models/shared/RetentlyCredentials.java - - src/main/java/com/airbyte/api/models/shared/Retently.java - - src/main/java/com/airbyte/api/models/shared/Salesforce.java - - src/main/java/com/airbyte/api/models/shared/ShopifyCredentials.java - - src/main/java/com/airbyte/api/models/shared/Shopify.java - - src/main/java/com/airbyte/api/models/shared/SlackCredentials.java - - src/main/java/com/airbyte/api/models/shared/Slack.java - - src/main/java/com/airbyte/api/models/shared/SmartsheetsCredentials.java - - src/main/java/com/airbyte/api/models/shared/Smartsheets.java - - src/main/java/com/airbyte/api/models/shared/SnapchatMarketing.java - - src/main/java/com/airbyte/api/models/shared/SnowflakeCredentials.java - - src/main/java/com/airbyte/api/models/shared/Snowflake.java - - src/main/java/com/airbyte/api/models/shared/SquareCredentials.java - - src/main/java/com/airbyte/api/models/shared/Square.java - - src/main/java/com/airbyte/api/models/shared/SurveymonkeyCredentials.java - - src/main/java/com/airbyte/api/models/shared/Surveymonkey.java - - src/main/java/com/airbyte/api/models/shared/TiktokMarketingCredentials.java - - src/main/java/com/airbyte/api/models/shared/TiktokMarketing.java - - src/main/java/com/airbyte/api/models/shared/TypeformCredentials.java - - src/main/java/com/airbyte/api/models/shared/Typeform.java - - src/main/java/com/airbyte/api/models/shared/YoutubeAnalyticsCredentials.java - - src/main/java/com/airbyte/api/models/shared/YoutubeAnalytics.java - - src/main/java/com/airbyte/api/models/shared/ZendeskChatCredentials.java - - src/main/java/com/airbyte/api/models/shared/ZendeskChat.java - - src/main/java/com/airbyte/api/models/shared/ZendeskSunshineCredentials.java - - src/main/java/com/airbyte/api/models/shared/ZendeskSunshine.java - - src/main/java/com/airbyte/api/models/shared/ZendeskSupportCredentials.java - - src/main/java/com/airbyte/api/models/shared/ZendeskSupport.java - - src/main/java/com/airbyte/api/models/shared/ZendeskTalkCredentials.java - - src/main/java/com/airbyte/api/models/shared/ZendeskTalk.java - - src/main/java/com/airbyte/api/models/shared/ActorTypeEnum.java - - src/main/java/com/airbyte/api/models/shared/WorkspaceResponse.java - - src/main/java/com/airbyte/api/models/shared/WorkspaceCreateRequest.java - - src/main/java/com/airbyte/api/models/shared/WorkspacesResponse.java - - src/main/java/com/airbyte/api/models/shared/WorkspaceUpdateRequest.java - - src/main/java/com/airbyte/api/models/shared/Security.java - - src/main/java/com/airbyte/api/models/shared/SchemeClientCredentials.java - - src/main/java/com/airbyte/api/models/shared/SchemeBasicAuth.java + - docs/models/operations/CancelJobRequest.md + - docs/models/operations/CancelJobResponse.md - docs/models/operations/CreateConnectionResponse.md + - docs/models/operations/CreateDestinationResponse.md + - docs/models/operations/CreateJobResponse.md + - docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.md + - docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.md + - docs/models/operations/CreatePermissionResponse.md + - docs/models/operations/CreateSourceResponse.md + - docs/models/operations/CreateWorkspaceResponse.md - docs/models/operations/DeleteConnectionRequest.md - docs/models/operations/DeleteConnectionResponse.md - - docs/models/operations/GetConnectionRequest.md - - docs/models/operations/GetConnectionResponse.md - - docs/models/operations/ListConnectionsRequest.md - - docs/models/operations/ListConnectionsResponse.md - - docs/models/operations/PatchConnectionRequest.md - - docs/models/operations/PatchConnectionResponse.md - - docs/models/operations/CreateDestinationResponse.md - docs/models/operations/DeleteDestinationRequest.md - docs/models/operations/DeleteDestinationResponse.md + - docs/models/operations/DeletePermissionRequest.md + - docs/models/operations/DeletePermissionResponse.md + - docs/models/operations/DeleteSourceRequest.md + - docs/models/operations/DeleteSourceResponse.md + - docs/models/operations/DeleteWorkspaceRequest.md + - docs/models/operations/DeleteWorkspaceResponse.md + - docs/models/operations/GetConnectionRequest.md + - docs/models/operations/GetConnectionResponse.md - docs/models/operations/GetDestinationRequest.md - docs/models/operations/GetDestinationResponse.md - - docs/models/operations/ListDestinationsRequest.md - - docs/models/operations/ListDestinationsResponse.md - - docs/models/operations/PatchDestinationRequest.md - - docs/models/operations/PatchDestinationResponse.md - - docs/models/operations/PutDestinationRequest.md - - docs/models/operations/PutDestinationResponse.md - docs/models/operations/GetHealthCheckResponse.md - - docs/models/operations/CancelJobRequest.md - - docs/models/operations/CancelJobResponse.md - - docs/models/operations/CreateJobResponse.md - docs/models/operations/GetJobRequest.md - docs/models/operations/GetJobResponse.md - - docs/models/operations/ListJobsRequest.md - - docs/models/operations/ListJobsResponse.md - - docs/models/operations/ListOrganizationsForUserResponse.md - - docs/models/operations/CreatePermissionResponse.md - - docs/models/operations/DeletePermissionRequest.md - - docs/models/operations/DeletePermissionResponse.md - docs/models/operations/GetPermissionRequest.md - docs/models/operations/GetPermissionResponse.md - - docs/models/operations/ListPermissionsRequest.md - - docs/models/operations/ListPermissionsResponse.md - - docs/models/operations/UpdatePermissionRequest.md - - docs/models/operations/UpdatePermissionResponse.md - - docs/models/operations/CreateSourceResponse.md - - docs/models/operations/DeleteSourceRequest.md - - docs/models/operations/DeleteSourceResponse.md - docs/models/operations/GetSourceRequest.md - docs/models/operations/GetSourceResponse.md + - docs/models/operations/GetStreamPropertiesRequest.md + - docs/models/operations/GetStreamPropertiesResponse.md + - docs/models/operations/GetWorkspaceRequest.md + - docs/models/operations/GetWorkspaceResponse.md - docs/models/operations/InitiateOAuthResponse.md + - docs/models/operations/ListConnectionsRequest.md + - docs/models/operations/ListConnectionsResponse.md + - docs/models/operations/ListDestinationsRequest.md + - docs/models/operations/ListDestinationsResponse.md + - docs/models/operations/ListJobsRequest.md + - docs/models/operations/ListJobsResponse.md + - docs/models/operations/ListOrganizationsForUserResponse.md + - docs/models/operations/ListPermissionsRequest.md + - docs/models/operations/ListPermissionsResponse.md - docs/models/operations/ListSourcesRequest.md - docs/models/operations/ListSourcesResponse.md - - docs/models/operations/PatchSourceRequest.md - - docs/models/operations/PatchSourceResponse.md - - docs/models/operations/PutSourceRequest.md - - docs/models/operations/PutSourceResponse.md - - docs/models/operations/GetStreamPropertiesRequest.md - - docs/models/operations/GetStreamPropertiesResponse.md - docs/models/operations/ListUsersWithinAnOrganizationRequest.md - docs/models/operations/ListUsersWithinAnOrganizationResponse.md - - docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.md - - docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.md - - docs/models/operations/CreateWorkspaceResponse.md - - docs/models/operations/DeleteWorkspaceRequest.md - - docs/models/operations/DeleteWorkspaceResponse.md - - docs/models/operations/GetWorkspaceRequest.md - - docs/models/operations/GetWorkspaceResponse.md - docs/models/operations/ListWorkspacesRequest.md - docs/models/operations/ListWorkspacesResponse.md + - docs/models/operations/PatchConnectionRequest.md + - docs/models/operations/PatchConnectionResponse.md + - docs/models/operations/PatchDestinationRequest.md + - docs/models/operations/PatchDestinationResponse.md + - docs/models/operations/PatchSourceRequest.md + - docs/models/operations/PatchSourceResponse.md + - docs/models/operations/PutDestinationRequest.md + - docs/models/operations/PutDestinationResponse.md + - docs/models/operations/PutSourceRequest.md + - docs/models/operations/PutSourceResponse.md + - docs/models/operations/UpdatePermissionRequest.md + - docs/models/operations/UpdatePermissionResponse.md - docs/models/operations/UpdateWorkspaceRequest.md - docs/models/operations/UpdateWorkspaceResponse.md + - docs/models/shared/APIAccessToken.md + - docs/models/shared/APIEndpoint.md + - docs/models/shared/APIEndpointPrefix.md + - docs/models/shared/APIKey.md + - docs/models/shared/APIParameterConfigModel.md + - docs/models/shared/APIPassword.md + - docs/models/shared/APIServer.md + - docs/models/shared/APIToken.md + - docs/models/shared/AWSEnvironment.md + - docs/models/shared/AWSRegion.md + - docs/models/shared/AWSSellerPartnerAccountType.md + - docs/models/shared/AccessToken.md + - docs/models/shared/AccessTokenIsRequiredForAuthenticationRequests.md + - docs/models/shared/AccountNames.md + - docs/models/shared/ActionReportTime.md + - docs/models/shared/Activecampaign.md + - docs/models/shared/ActorTypeEnum.md + - docs/models/shared/AdAnalyticsReportConfiguration.md + - docs/models/shared/Agilecrm.md + - docs/models/shared/Aha.md + - docs/models/shared/Airbyte.md + - docs/models/shared/AirbyteApiConnectionSchedule.md + - docs/models/shared/Aircall.md + - docs/models/shared/Airtable.md + - docs/models/shared/Akeneo.md + - docs/models/shared/Algolia.md + - docs/models/shared/Allow.md + - docs/models/shared/AmazonAds.md + - docs/models/shared/AmazonSellerPartner.md + - docs/models/shared/AmazonSqs.md + - docs/models/shared/Amplitude.md + - docs/models/shared/AndGroup.md + - docs/models/shared/ApiKeyAuth.md + - docs/models/shared/ApiKeySecret.md + - docs/models/shared/ApifyDataset.md + - docs/models/shared/Appcues.md + - docs/models/shared/Appfigures.md + - docs/models/shared/Appfollow.md + - docs/models/shared/AppleSearchAds.md + - docs/models/shared/Applications.md + - docs/models/shared/Apptivo.md + - docs/models/shared/Asana.md + - docs/models/shared/AsanaCredentials.md + - docs/models/shared/Ashby.md + - docs/models/shared/Astra.md + - docs/models/shared/Auth0.md + - docs/models/shared/AuthMethod.md + - docs/models/shared/AuthType.md + - docs/models/shared/AuthenticateViaAPIKey.md + - docs/models/shared/AuthenticateViaAccessKeys.md + - docs/models/shared/AuthenticateViaAsanaOauth.md + - docs/models/shared/AuthenticateViaFacebookMarketingOauth.md + - docs/models/shared/AuthenticateViaGoogleOAuth.md + - docs/models/shared/AuthenticateViaHarvestOAuth.md + - docs/models/shared/AuthenticateViaLeverApiKey.md + - docs/models/shared/AuthenticateViaLeverOAuth.md + - docs/models/shared/AuthenticateViaMicrosoft.md + - docs/models/shared/AuthenticateViaMicrosoftOAuth.md + - docs/models/shared/AuthenticateViaMicrosoftOAuth20.md + - docs/models/shared/AuthenticateViaOAuth.md + - docs/models/shared/AuthenticateViaOAuth20.md + - docs/models/shared/AuthenticateViaOauth2.md + - docs/models/shared/AuthenticateViaPassword.md + - docs/models/shared/AuthenticateViaPrivateKey.md + - docs/models/shared/AuthenticateViaRetentlyOAuth.md + - docs/models/shared/AuthenticateViaStorageAccountKey.md + - docs/models/shared/AuthenticateWithAPIToken.md + - docs/models/shared/AuthenticateWithPersonalAccessToken.md + - docs/models/shared/Authentication.md + - docs/models/shared/AuthenticationMechanism.md + - docs/models/shared/AuthenticationMethod.md + - docs/models/shared/AuthenticationMode.md + - docs/models/shared/AuthenticationType.md + - docs/models/shared/AuthenticationViaGoogleOAuth.md + - docs/models/shared/AuthenticationWildcard.md + - docs/models/shared/Authorization.md + - docs/models/shared/AuthorizationMethod.md + - docs/models/shared/AuthorizationType.md + - docs/models/shared/Autogenerated.md + - docs/models/shared/AvroApacheAvro.md + - docs/models/shared/AvroFormat.md + - docs/models/shared/AwsCloudtrail.md + - docs/models/shared/AwsDatalake.md + - docs/models/shared/Awss3Staging.md + - docs/models/shared/AzBlobAzureBlobStorage.md + - docs/models/shared/AzureBlobStorage.md + - docs/models/shared/AzureBlobStorageCredentials.md + - docs/models/shared/AzureOpenAI.md + - docs/models/shared/AzureTable.md + - docs/models/shared/BambooHr.md + - docs/models/shared/BaseURL.md + - docs/models/shared/BaseURLPrefix.md + - docs/models/shared/Basecamp.md + - docs/models/shared/Basic.md + - docs/models/shared/BatchedStandardInserts.md + - docs/models/shared/Beamer.md + - docs/models/shared/BetweenFilter.md + - docs/models/shared/Bigmailer.md + - docs/models/shared/Bigquery.md + - docs/models/shared/BingAds.md + - docs/models/shared/Bitly.md + - docs/models/shared/Blogger.md + - docs/models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.md + - docs/models/shared/Box.md + - docs/models/shared/Braintree.md + - docs/models/shared/Braze.md + - docs/models/shared/BreezyHr.md + - docs/models/shared/Brevo.md + - docs/models/shared/Brex.md + - docs/models/shared/Bugsnag.md + - docs/models/shared/Buildkite.md + - docs/models/shared/BunnyInc.md + - docs/models/shared/Buzzsprout.md + - docs/models/shared/ByMarkdownHeader.md + - docs/models/shared/ByProgrammingLanguage.md + - docs/models/shared/BySeparator.md + - docs/models/shared/Bzip2.md + - docs/models/shared/CSVCommaSeparatedValues.md + - docs/models/shared/CSVFormat.md + - docs/models/shared/CSVHeaderDefinition.md + - docs/models/shared/CacheType.md + - docs/models/shared/CalCom.md + - docs/models/shared/Calendly.md + - docs/models/shared/Callrail.md + - docs/models/shared/CampaignMonitor.md + - docs/models/shared/Campayn.md + - docs/models/shared/Canny.md + - docs/models/shared/CapsuleCrm.md + - docs/models/shared/CaptureModeAdvanced.md + - docs/models/shared/CareQualityCommission.md + - docs/models/shared/Cart.md + - docs/models/shared/CastorEdc.md + - docs/models/shared/CatalogType.md + - docs/models/shared/Categories.md + - docs/models/shared/Category.md + - docs/models/shared/CentralAPIRouter.md + - docs/models/shared/Chameleon.md + - docs/models/shared/Chargebee.md + - docs/models/shared/Chargedesk.md + - docs/models/shared/Chargify.md + - docs/models/shared/Chartmogul.md + - docs/models/shared/ChooseHowToPartitionData.md + - docs/models/shared/Cimis.md + - docs/models/shared/Cin7.md + - docs/models/shared/Circa.md + - docs/models/shared/Circleci.md + - docs/models/shared/ClarifAi.md + - docs/models/shared/Clazar.md + - docs/models/shared/ClickWindowDays.md + - docs/models/shared/Clickhouse.md + - docs/models/shared/ClickupApi.md + - docs/models/shared/Clockify.md + - docs/models/shared/Clockodo.md + - docs/models/shared/CloseCom.md + - docs/models/shared/Cloudbeds.md + - docs/models/shared/ClusterType.md + - docs/models/shared/Coassemble.md + - docs/models/shared/Coda.md + - docs/models/shared/Codec.md + - docs/models/shared/Codefresh.md + - docs/models/shared/Cohere.md + - docs/models/shared/CohortReportSettings.md + - docs/models/shared/CohortReports.md + - docs/models/shared/Cohorts.md + - docs/models/shared/CohortsRange.md + - docs/models/shared/CoinApi.md + - docs/models/shared/Coinmarketcap.md + - docs/models/shared/Collection.md + - docs/models/shared/Compression.md + - docs/models/shared/CompressionCodec.md + - docs/models/shared/CompressionCodecOptional.md + - docs/models/shared/CompressionType.md + - docs/models/shared/Concord.md + - docs/models/shared/Configcat.md + - docs/models/shared/ConfiguredStreamMapper.md + - docs/models/shared/Confluence.md + - docs/models/shared/ConnectBy.md + - docs/models/shared/ConnectionCreateRequest.md + - docs/models/shared/ConnectionPatchRequest.md - docs/models/shared/ConnectionResponse.md - - docs/models/shared/ConnectionStatusEnum.md - docs/models/shared/ConnectionScheduleResponse.md - - docs/models/shared/ScheduleTypeWithBasicEnum.md - - docs/models/shared/NonBreakingSchemaUpdatesBehaviorEnum.md - - docs/models/shared/NamespaceDefinitionEnum.md - - docs/models/shared/GeographyEnum.md - - docs/models/shared/StreamConfigurations.md - - docs/models/shared/StreamConfiguration.md + - docs/models/shared/ConnectionStatusEnum.md - docs/models/shared/ConnectionSyncModeEnum.md - - docs/models/shared/SelectedFieldInfo.md - - docs/models/shared/ConnectionCreateRequest.md - - docs/models/shared/AirbyteApiConnectionSchedule.md - - docs/models/shared/ScheduleTypeEnum.md + - docs/models/shared/ConnectionType.md - docs/models/shared/ConnectionsResponse.md - - docs/models/shared/ConnectionPatchRequest.md - - docs/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.md - - docs/models/shared/NamespaceDefinitionEnumNoDefault.md - - docs/models/shared/GeographyEnumNoDefault.md - - docs/models/shared/DestinationResponse.md - - docs/models/shared/DestinationConfiguration.md - - docs/models/shared/AuthenticationViaGoogleOAuth.md - - docs/models/shared/DestinationGoogleSheetsGoogleSheets.md - - docs/models/shared/DestinationGoogleSheets.md - - docs/models/shared/Astra.md + - docs/models/shared/ContentType.md + - docs/models/shared/ConversionReportTime.md + - docs/models/shared/Convertkit.md + - docs/models/shared/Convex.md + - docs/models/shared/Copper.md + - docs/models/shared/CopyRawFiles.md + - docs/models/shared/Countercyclical.md + - docs/models/shared/Country.md + - docs/models/shared/Credential.md + - docs/models/shared/CredentialType.md + - docs/models/shared/Credentials.md + - docs/models/shared/CredentialsTitle.md + - docs/models/shared/CustomQueriesArray.md + - docs/models/shared/CustomReportConfig.md + - docs/models/shared/CustomerIo.md + - docs/models/shared/CustomerStatus.md + - docs/models/shared/DataCenter.md + - docs/models/shared/DataCenterID.md + - docs/models/shared/DataCenterLocation.md + - docs/models/shared/DataFreshness.md + - docs/models/shared/DataRegion.md + - docs/models/shared/DataSource.md + - docs/models/shared/DataType.md + - docs/models/shared/Databricks.md + - docs/models/shared/Datadog.md + - docs/models/shared/Datascope.md + - docs/models/shared/DatasetLocation.md + - docs/models/shared/DateRange.md + - docs/models/shared/Dbt.md + - docs/models/shared/DefaultVectorizer.md + - docs/models/shared/Deflate.md + - docs/models/shared/DeletionMode.md + - docs/models/shared/Delighted.md + - docs/models/shared/DeliveryMethod.md + - docs/models/shared/DeliveryType.md + - docs/models/shared/Deputy.md + - docs/models/shared/DestinationAstra.md + - docs/models/shared/DestinationAstraLanguage.md + - docs/models/shared/DestinationAstraMode.md + - docs/models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.md - docs/models/shared/DestinationAstraSchemasEmbeddingEmbeddingMode.md - - docs/models/shared/OpenAICompatible.md - docs/models/shared/DestinationAstraSchemasEmbeddingMode.md - - docs/models/shared/AzureOpenAI.md - docs/models/shared/DestinationAstraSchemasMode.md - - docs/models/shared/Fake.md - - docs/models/shared/DestinationAstraMode.md - - docs/models/shared/Cohere.md - - docs/models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.md - - docs/models/shared/OpenAI.md - - docs/models/shared/Embedding.md - - docs/models/shared/Indexing.md - - docs/models/shared/FieldNameMappingConfigModel.md - - docs/models/shared/DestinationAstraLanguage.md - - docs/models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.md - - docs/models/shared/ByProgrammingLanguage.md - - docs/models/shared/DestinationAstraSchemasProcessingTextSplitterMode.md - - docs/models/shared/ByMarkdownHeader.md - docs/models/shared/DestinationAstraSchemasProcessingMode.md - - docs/models/shared/BySeparator.md - - docs/models/shared/TextSplitter.md - - docs/models/shared/ProcessingConfigModel.md - - docs/models/shared/DestinationAstra.md - - docs/models/shared/DestinationAwsDatalakeCredentialsTitle.md - - docs/models/shared/IAMUser.md - - docs/models/shared/CredentialsTitle.md - - docs/models/shared/IAMRole.md - - docs/models/shared/AuthenticationMode.md - - docs/models/shared/AwsDatalake.md + - docs/models/shared/DestinationAstraSchemasProcessingTextSplitterMode.md + - docs/models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.md + - docs/models/shared/DestinationAwsDatalake.md - docs/models/shared/DestinationAwsDatalakeCompressionCodecOptional.md + - docs/models/shared/DestinationAwsDatalakeCredentialsTitle.md - docs/models/shared/DestinationAwsDatalakeFormatTypeWildcard.md - - docs/models/shared/ParquetColumnarStorage.md - - docs/models/shared/CompressionCodecOptional.md - - docs/models/shared/FormatTypeWildcard.md - - docs/models/shared/JSONLinesNewlineDelimitedJSON.md - - docs/models/shared/OutputFormatWildcard.md - - docs/models/shared/ChooseHowToPartitionData.md - - docs/models/shared/S3BucketRegion.md - - docs/models/shared/DestinationAwsDatalake.md + - docs/models/shared/DestinationAzureBlobStorage.md - docs/models/shared/DestinationAzureBlobStorageAzureBlobStorage.md - docs/models/shared/DestinationAzureBlobStorageFormatType.md - docs/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.md - - docs/models/shared/NormalizationFlattening.md - - docs/models/shared/FormatType.md - - docs/models/shared/CSVCommaSeparatedValues.md - - docs/models/shared/OutputFormat.md - - docs/models/shared/DestinationAzureBlobStorage.md - - docs/models/shared/DatasetLocation.md - - docs/models/shared/Bigquery.md + - docs/models/shared/DestinationBigquery.md - docs/models/shared/DestinationBigqueryCredentialType.md - docs/models/shared/DestinationBigqueryHMACKey.md - - docs/models/shared/Credential.md - - docs/models/shared/GCSTmpFilesAfterwardProcessing.md - docs/models/shared/DestinationBigqueryMethod.md - - docs/models/shared/GCSStaging.md - - docs/models/shared/Method.md - - docs/models/shared/BatchedStandardInserts.md - - docs/models/shared/LoadingMethod.md - - docs/models/shared/TransformationQueryRunType.md - - docs/models/shared/DestinationBigquery.md - - docs/models/shared/Clickhouse.md + - docs/models/shared/DestinationClickhouse.md - docs/models/shared/DestinationClickhouseSchemasTunnelMethod.md - - docs/models/shared/PasswordAuthentication.md - docs/models/shared/DestinationClickhouseTunnelMethod.md - - docs/models/shared/SSHKeyAuthentication.md - - docs/models/shared/TunnelMethod.md - - docs/models/shared/NoTunnel.md - - docs/models/shared/SSHTunnelMethod.md - - docs/models/shared/DestinationClickhouse.md - - docs/models/shared/Convex.md + - docs/models/shared/DestinationConfiguration.md - docs/models/shared/DestinationConvex.md + - docs/models/shared/DestinationCreateRequest.md + - docs/models/shared/DestinationDatabricks.md - docs/models/shared/DestinationDatabricksAuthType.md - - docs/models/shared/PersonalAccessToken.md - docs/models/shared/DestinationDatabricksSchemasAuthType.md - - docs/models/shared/OAuth2Recommended.md - - docs/models/shared/Authentication.md - - docs/models/shared/Databricks.md - - docs/models/shared/DestinationDatabricks.md - - docs/models/shared/Duckdb.md + - docs/models/shared/DestinationDevNull.md + - docs/models/shared/DestinationDevNullLoggingType.md + - docs/models/shared/DestinationDevNullSchemasLoggingType.md + - docs/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.md + - docs/models/shared/DestinationDevNullSchemasTestDestinationType.md + - docs/models/shared/DestinationDevNullTestDestinationType.md - docs/models/shared/DestinationDuckdb.md - - docs/models/shared/Dynamodb.md - - docs/models/shared/DynamoDBRegion.md - docs/models/shared/DestinationDynamodb.md - - docs/models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.md - - docs/models/shared/UsernamePassword.md - - docs/models/shared/DestinationElasticsearchSchemasMethod.md - - docs/models/shared/ApiKeySecret.md + - docs/models/shared/DestinationElasticsearch.md - docs/models/shared/DestinationElasticsearchMethod.md - - docs/models/shared/None.md - - docs/models/shared/AuthenticationMethod.md - - docs/models/shared/Elasticsearch.md - - docs/models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationElasticsearchNoTunnel.md - docs/models/shared/DestinationElasticsearchPasswordAuthentication.md - - docs/models/shared/DestinationElasticsearchSchemasTunnelMethod.md - docs/models/shared/DestinationElasticsearchSSHKeyAuthentication.md - - docs/models/shared/DestinationElasticsearchTunnelMethod.md - - docs/models/shared/DestinationElasticsearchNoTunnel.md - docs/models/shared/DestinationElasticsearchSSHTunnelMethod.md - - docs/models/shared/DestinationElasticsearch.md - - docs/models/shared/Firebolt.md - - docs/models/shared/DestinationFireboltSchemasMethod.md - - docs/models/shared/ExternalTableViaS3.md - - docs/models/shared/DestinationFireboltMethod.md - - docs/models/shared/SQLInserts.md - - docs/models/shared/DestinationFireboltLoadingMethod.md + - docs/models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.md + - docs/models/shared/DestinationElasticsearchSchemasMethod.md + - docs/models/shared/DestinationElasticsearchSchemasTunnelMethod.md + - docs/models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationElasticsearchTunnelMethod.md - docs/models/shared/DestinationFirebolt.md - - docs/models/shared/Firestore.md + - docs/models/shared/DestinationFireboltLoadingMethod.md + - docs/models/shared/DestinationFireboltMethod.md + - docs/models/shared/DestinationFireboltSchemasMethod.md - docs/models/shared/DestinationFirestore.md - - docs/models/shared/CredentialType.md - - docs/models/shared/HMACKey.md + - docs/models/shared/DestinationGcs.md - docs/models/shared/DestinationGcsAuthentication.md - - docs/models/shared/Gcs.md + - docs/models/shared/DestinationGcsCSVCommaSeparatedValues.md + - docs/models/shared/DestinationGcsCodec.md + - docs/models/shared/DestinationGcsCompression.md - docs/models/shared/DestinationGcsCompressionCodec.md - - docs/models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.md - - docs/models/shared/DestinationGcsParquetColumnarStorage.md - - docs/models/shared/DestinationGcsSchemasFormatCompressionType.md + - docs/models/shared/DestinationGcsCompressionType.md + - docs/models/shared/DestinationGcsFormatType.md - docs/models/shared/DestinationGcsGZIP.md - - docs/models/shared/DestinationGcsSchemasCompressionType.md - - docs/models/shared/DestinationGcsSchemasNoCompression.md - - docs/models/shared/DestinationGcsCompression.md - - docs/models/shared/DestinationGcsSchemasFormatFormatType.md + - docs/models/shared/DestinationGcsGcs.md - docs/models/shared/DestinationGcsJSONLinesNewlineDelimitedJSON.md - - docs/models/shared/DestinationGcsCompressionType.md - - docs/models/shared/Gzip.md - - docs/models/shared/CompressionType.md - docs/models/shared/DestinationGcsNoCompression.md - - docs/models/shared/Compression.md - - docs/models/shared/Normalization.md - - docs/models/shared/DestinationGcsSchemasFormatType.md - - docs/models/shared/DestinationGcsCSVCommaSeparatedValues.md + - docs/models/shared/DestinationGcsOutputFormat.md + - docs/models/shared/DestinationGcsParquetColumnarStorage.md + - docs/models/shared/DestinationGcsSchemasCodec.md + - docs/models/shared/DestinationGcsSchemasCompressionType.md + - docs/models/shared/DestinationGcsSchemasFormatCodec.md + - docs/models/shared/DestinationGcsSchemasFormatCompressionType.md + - docs/models/shared/DestinationGcsSchemasFormatFormatType.md - docs/models/shared/DestinationGcsSchemasFormatOutputFormat1Codec.md - - docs/models/shared/Snappy.md - docs/models/shared/DestinationGcsSchemasFormatOutputFormatCodec.md - - docs/models/shared/Zstandard.md - - docs/models/shared/DestinationGcsSchemasFormatCodec.md - - docs/models/shared/Xz.md - - docs/models/shared/DestinationGcsSchemasCodec.md - - docs/models/shared/Bzip2.md - - docs/models/shared/DestinationGcsCodec.md - - docs/models/shared/Deflate.md - - docs/models/shared/Codec.md - - docs/models/shared/NoCompression.md - - docs/models/shared/CompressionCodec.md - - docs/models/shared/DestinationGcsFormatType.md - - docs/models/shared/AvroApacheAvro.md - - docs/models/shared/DestinationGcsOutputFormat.md - - docs/models/shared/GCSBucketRegion.md - - docs/models/shared/DestinationGcs.md - - docs/models/shared/Milvus.md - - docs/models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.md - - docs/models/shared/DestinationMilvusOpenAICompatible.md - - docs/models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.md + - docs/models/shared/DestinationGcsSchemasFormatType.md + - docs/models/shared/DestinationGcsSchemasNoCompression.md + - docs/models/shared/DestinationGoogleSheets.md + - docs/models/shared/DestinationGoogleSheetsGoogleSheets.md + - docs/models/shared/DestinationIceberg.md + - docs/models/shared/DestinationIcebergCatalogType.md + - docs/models/shared/DestinationIcebergS3.md + - docs/models/shared/DestinationIcebergS3BucketRegion.md + - docs/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.md + - docs/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.md + - docs/models/shared/DestinationIcebergSchemasCatalogType.md + - docs/models/shared/DestinationIcebergStorageType.md + - docs/models/shared/DestinationMilvus.md + - docs/models/shared/DestinationMilvusAPIToken.md + - docs/models/shared/DestinationMilvusAuthentication.md - docs/models/shared/DestinationMilvusAzureOpenAI.md - - docs/models/shared/DestinationMilvusSchemasEmbeddingMode.md - - docs/models/shared/DestinationMilvusFake.md - - docs/models/shared/DestinationMilvusSchemasMode.md + - docs/models/shared/DestinationMilvusByMarkdownHeader.md + - docs/models/shared/DestinationMilvusByProgrammingLanguage.md + - docs/models/shared/DestinationMilvusBySeparator.md - docs/models/shared/DestinationMilvusCohere.md + - docs/models/shared/DestinationMilvusEmbedding.md + - docs/models/shared/DestinationMilvusFake.md + - docs/models/shared/DestinationMilvusFieldNameMappingConfigModel.md + - docs/models/shared/DestinationMilvusIndexing.md + - docs/models/shared/DestinationMilvusLanguage.md - docs/models/shared/DestinationMilvusMode.md - docs/models/shared/DestinationMilvusOpenAI.md - - docs/models/shared/DestinationMilvusEmbedding.md + - docs/models/shared/DestinationMilvusOpenAICompatible.md + - docs/models/shared/DestinationMilvusProcessingConfigModel.md + - docs/models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.md + - docs/models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationMilvusSchemasEmbeddingMode.md - docs/models/shared/DestinationMilvusSchemasIndexingAuthAuthenticationMode.md - - docs/models/shared/NoAuth.md - docs/models/shared/DestinationMilvusSchemasIndexingAuthMode.md - - docs/models/shared/DestinationMilvusUsernamePassword.md - docs/models/shared/DestinationMilvusSchemasIndexingMode.md - - docs/models/shared/DestinationMilvusAPIToken.md - - docs/models/shared/DestinationMilvusAuthentication.md - - docs/models/shared/DestinationMilvusIndexing.md - - docs/models/shared/DestinationMilvusFieldNameMappingConfigModel.md - - docs/models/shared/DestinationMilvusLanguage.md - - docs/models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.md - - docs/models/shared/DestinationMilvusByProgrammingLanguage.md - - docs/models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.md - - docs/models/shared/DestinationMilvusByMarkdownHeader.md + - docs/models/shared/DestinationMilvusSchemasMode.md - docs/models/shared/DestinationMilvusSchemasProcessingMode.md - - docs/models/shared/DestinationMilvusBySeparator.md + - docs/models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.md + - docs/models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.md - docs/models/shared/DestinationMilvusTextSplitter.md - - docs/models/shared/DestinationMilvusProcessingConfigModel.md - - docs/models/shared/DestinationMilvus.md + - docs/models/shared/DestinationMilvusUsernamePassword.md + - docs/models/shared/DestinationMongodb.md - docs/models/shared/DestinationMongodbAuthorization.md - - docs/models/shared/LoginPassword.md - - docs/models/shared/DestinationMongodbSchemasAuthorization.md - - docs/models/shared/DestinationMongodbNone.md - - docs/models/shared/AuthorizationType.md - - docs/models/shared/Mongodb.md - - docs/models/shared/DestinationMongodbSchemasInstance.md - - docs/models/shared/MongoDBAtlas.md - docs/models/shared/DestinationMongodbInstance.md - - docs/models/shared/ReplicaSet.md - - docs/models/shared/Instance.md - - docs/models/shared/StandaloneMongoDbInstance.md - - docs/models/shared/MongoDbInstanceType.md - - docs/models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationMongodbNoTunnel.md + - docs/models/shared/DestinationMongodbNone.md - docs/models/shared/DestinationMongodbPasswordAuthentication.md - - docs/models/shared/DestinationMongodbSchemasTunnelMethod.md - docs/models/shared/DestinationMongodbSSHKeyAuthentication.md - - docs/models/shared/DestinationMongodbTunnelMethod.md - - docs/models/shared/DestinationMongodbNoTunnel.md - docs/models/shared/DestinationMongodbSSHTunnelMethod.md - - docs/models/shared/DestinationMongodb.md - - docs/models/shared/Mssql.md - - docs/models/shared/DestinationMssqlSchemasSslMethodSslMethod.md - - docs/models/shared/EncryptedVerifyCertificate.md - - docs/models/shared/DestinationMssqlSchemasSslMethod.md - - docs/models/shared/EncryptedTrustServerCertificate.md - - docs/models/shared/DestinationMssqlSslMethod.md - - docs/models/shared/Unencrypted.md - - docs/models/shared/SSLMethod.md - - docs/models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationMongodbSchemasAuthorization.md + - docs/models/shared/DestinationMongodbSchemasInstance.md + - docs/models/shared/DestinationMongodbSchemasTunnelMethod.md + - docs/models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationMongodbTunnelMethod.md + - docs/models/shared/DestinationMotherduck.md + - docs/models/shared/DestinationMssql.md + - docs/models/shared/DestinationMssqlNoTunnel.md - docs/models/shared/DestinationMssqlPasswordAuthentication.md - - docs/models/shared/DestinationMssqlSchemasTunnelMethod.md - docs/models/shared/DestinationMssqlSSHKeyAuthentication.md + - docs/models/shared/DestinationMssqlSSHTunnelMethod.md + - docs/models/shared/DestinationMssqlSchemasSslMethod.md + - docs/models/shared/DestinationMssqlSchemasSslMethodSslMethod.md + - docs/models/shared/DestinationMssqlSchemasTunnelMethod.md + - docs/models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationMssqlSslMethod.md - docs/models/shared/DestinationMssqlTunnelMethod.md - - docs/models/shared/DestinationMssqlNoTunnel.md - - docs/models/shared/DestinationMssqlSSHTunnelMethod.md - - docs/models/shared/DestinationMssql.md - - docs/models/shared/Mysql.md - - docs/models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationMysql.md + - docs/models/shared/DestinationMysqlNoTunnel.md - docs/models/shared/DestinationMysqlPasswordAuthentication.md - - docs/models/shared/DestinationMysqlSchemasTunnelMethod.md - docs/models/shared/DestinationMysqlSSHKeyAuthentication.md - - docs/models/shared/DestinationMysqlTunnelMethod.md - - docs/models/shared/DestinationMysqlNoTunnel.md - docs/models/shared/DestinationMysqlSSHTunnelMethod.md - - docs/models/shared/DestinationMysql.md - - docs/models/shared/Oracle.md - - docs/models/shared/DestinationOracleSchemasEncryptionMethod.md - - docs/models/shared/TLSEncryptedVerifyCertificate.md - - docs/models/shared/EncryptionAlgorithm.md + - docs/models/shared/DestinationMysqlSchemasTunnelMethod.md + - docs/models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationMysqlTunnelMethod.md + - docs/models/shared/DestinationOracle.md - docs/models/shared/DestinationOracleEncryptionMethod.md - - docs/models/shared/NativeNetworkEncryptionNNE.md - - docs/models/shared/EncryptionMethod.md - - docs/models/shared/DestinationOracleUnencrypted.md - - docs/models/shared/Encryption.md - - docs/models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationOracleNoTunnel.md - docs/models/shared/DestinationOraclePasswordAuthentication.md - - docs/models/shared/DestinationOracleSchemasTunnelMethod.md - docs/models/shared/DestinationOracleSSHKeyAuthentication.md - - docs/models/shared/DestinationOracleTunnelMethod.md - - docs/models/shared/DestinationOracleNoTunnel.md - docs/models/shared/DestinationOracleSSHTunnelMethod.md - - docs/models/shared/DestinationOracle.md - - docs/models/shared/Pgvector.md - - docs/models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.md - - docs/models/shared/DestinationPgvectorOpenAICompatible.md - - docs/models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationOracleSchemasEncryptionMethod.md + - docs/models/shared/DestinationOracleSchemasTunnelMethod.md + - docs/models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationOracleTunnelMethod.md + - docs/models/shared/DestinationOracleUnencrypted.md + - docs/models/shared/DestinationPatchRequest.md + - docs/models/shared/DestinationPgvector.md - docs/models/shared/DestinationPgvectorAzureOpenAI.md - - docs/models/shared/DestinationPgvectorSchemasEmbeddingMode.md - - docs/models/shared/DestinationPgvectorFake.md - - docs/models/shared/DestinationPgvectorSchemasMode.md + - docs/models/shared/DestinationPgvectorByMarkdownHeader.md + - docs/models/shared/DestinationPgvectorByProgrammingLanguage.md + - docs/models/shared/DestinationPgvectorBySeparator.md - docs/models/shared/DestinationPgvectorCohere.md - - docs/models/shared/DestinationPgvectorMode.md - - docs/models/shared/DestinationPgvectorOpenAI.md - - docs/models/shared/DestinationPgvectorEmbedding.md - docs/models/shared/DestinationPgvectorCredentials.md - - docs/models/shared/PostgresConnection.md + - docs/models/shared/DestinationPgvectorEmbedding.md + - docs/models/shared/DestinationPgvectorFake.md - docs/models/shared/DestinationPgvectorFieldNameMappingConfigModel.md - docs/models/shared/DestinationPgvectorLanguage.md - - docs/models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.md - - docs/models/shared/DestinationPgvectorByProgrammingLanguage.md - - docs/models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.md - - docs/models/shared/DestinationPgvectorByMarkdownHeader.md + - docs/models/shared/DestinationPgvectorMode.md + - docs/models/shared/DestinationPgvectorOpenAI.md + - docs/models/shared/DestinationPgvectorOpenAICompatible.md + - docs/models/shared/DestinationPgvectorProcessingConfigModel.md + - docs/models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.md + - docs/models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationPgvectorSchemasEmbeddingMode.md + - docs/models/shared/DestinationPgvectorSchemasMode.md - docs/models/shared/DestinationPgvectorSchemasProcessingMode.md - - docs/models/shared/DestinationPgvectorBySeparator.md + - docs/models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.md + - docs/models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.md - docs/models/shared/DestinationPgvectorTextSplitter.md - - docs/models/shared/DestinationPgvectorProcessingConfigModel.md - - docs/models/shared/DestinationPgvector.md - - docs/models/shared/Pinecone.md - - docs/models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.md - - docs/models/shared/DestinationPineconeOpenAICompatible.md - - docs/models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationPinecone.md - docs/models/shared/DestinationPineconeAzureOpenAI.md - - docs/models/shared/DestinationPineconeSchemasEmbeddingMode.md - - docs/models/shared/DestinationPineconeFake.md - - docs/models/shared/DestinationPineconeSchemasMode.md + - docs/models/shared/DestinationPineconeByMarkdownHeader.md + - docs/models/shared/DestinationPineconeByProgrammingLanguage.md + - docs/models/shared/DestinationPineconeBySeparator.md - docs/models/shared/DestinationPineconeCohere.md - - docs/models/shared/DestinationPineconeMode.md - - docs/models/shared/DestinationPineconeOpenAI.md - docs/models/shared/DestinationPineconeEmbedding.md - - docs/models/shared/DestinationPineconeIndexing.md + - docs/models/shared/DestinationPineconeFake.md - docs/models/shared/DestinationPineconeFieldNameMappingConfigModel.md + - docs/models/shared/DestinationPineconeIndexing.md - docs/models/shared/DestinationPineconeLanguage.md - - docs/models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.md - - docs/models/shared/DestinationPineconeByProgrammingLanguage.md - - docs/models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.md - - docs/models/shared/DestinationPineconeByMarkdownHeader.md + - docs/models/shared/DestinationPineconeMode.md + - docs/models/shared/DestinationPineconeOpenAI.md + - docs/models/shared/DestinationPineconeOpenAICompatible.md + - docs/models/shared/DestinationPineconeProcessingConfigModel.md + - docs/models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.md + - docs/models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationPineconeSchemasEmbeddingMode.md + - docs/models/shared/DestinationPineconeSchemasMode.md - docs/models/shared/DestinationPineconeSchemasProcessingMode.md - - docs/models/shared/DestinationPineconeBySeparator.md + - docs/models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.md + - docs/models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.md - docs/models/shared/DestinationPineconeTextSplitter.md - - docs/models/shared/DestinationPineconeProcessingConfigModel.md - - docs/models/shared/DestinationPinecone.md - - docs/models/shared/Postgres.md + - docs/models/shared/DestinationPostgres.md + - docs/models/shared/DestinationPostgresMode.md + - docs/models/shared/DestinationPostgresNoTunnel.md + - docs/models/shared/DestinationPostgresPasswordAuthentication.md + - docs/models/shared/DestinationPostgresSSHKeyAuthentication.md + - docs/models/shared/DestinationPostgresSSHTunnelMethod.md + - docs/models/shared/DestinationPostgresSchemasMode.md + - docs/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.md - docs/models/shared/DestinationPostgresSchemasSSLModeSSLModes6Mode.md - - docs/models/shared/VerifyFull.md - docs/models/shared/DestinationPostgresSchemasSSLModeSSLModesMode.md - - docs/models/shared/VerifyCa.md - docs/models/shared/DestinationPostgresSchemasSslModeMode.md - - docs/models/shared/Require.md - - docs/models/shared/DestinationPostgresSchemasMode.md - - docs/models/shared/Prefer.md - - docs/models/shared/DestinationPostgresMode.md - - docs/models/shared/Allow.md - - docs/models/shared/Mode.md - - docs/models/shared/Disable.md - - docs/models/shared/SSLModes.md - - docs/models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.md - - docs/models/shared/DestinationPostgresPasswordAuthentication.md - docs/models/shared/DestinationPostgresSchemasTunnelMethod.md - - docs/models/shared/DestinationPostgresSSHKeyAuthentication.md + - docs/models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.md - docs/models/shared/DestinationPostgresTunnelMethod.md - - docs/models/shared/DestinationPostgresNoTunnel.md - - docs/models/shared/DestinationPostgresSSHTunnelMethod.md - - docs/models/shared/DestinationPostgres.md - - docs/models/shared/Pubsub.md - docs/models/shared/DestinationPubsub.md - - docs/models/shared/Qdrant.md - - docs/models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.md - - docs/models/shared/DestinationQdrantOpenAICompatible.md - - docs/models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationPutRequest.md + - docs/models/shared/DestinationQdrant.md + - docs/models/shared/DestinationQdrantAuthenticationMethod.md - docs/models/shared/DestinationQdrantAzureOpenAI.md - - docs/models/shared/DestinationQdrantSchemasEmbeddingMode.md - - docs/models/shared/DestinationQdrantFake.md - - docs/models/shared/DestinationQdrantSchemasMode.md + - docs/models/shared/DestinationQdrantByMarkdownHeader.md + - docs/models/shared/DestinationQdrantByProgrammingLanguage.md + - docs/models/shared/DestinationQdrantBySeparator.md - docs/models/shared/DestinationQdrantCohere.md + - docs/models/shared/DestinationQdrantEmbedding.md + - docs/models/shared/DestinationQdrantFake.md + - docs/models/shared/DestinationQdrantFieldNameMappingConfigModel.md + - docs/models/shared/DestinationQdrantIndexing.md + - docs/models/shared/DestinationQdrantLanguage.md - docs/models/shared/DestinationQdrantMode.md + - docs/models/shared/DestinationQdrantNoAuth.md - docs/models/shared/DestinationQdrantOpenAI.md - - docs/models/shared/DestinationQdrantEmbedding.md + - docs/models/shared/DestinationQdrantOpenAICompatible.md + - docs/models/shared/DestinationQdrantProcessingConfigModel.md + - docs/models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.md + - docs/models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationQdrantSchemasEmbeddingMode.md - docs/models/shared/DestinationQdrantSchemasIndexingAuthMethodMode.md - - docs/models/shared/DestinationQdrantNoAuth.md - docs/models/shared/DestinationQdrantSchemasIndexingMode.md - - docs/models/shared/ApiKeyAuth.md - - docs/models/shared/DestinationQdrantAuthenticationMethod.md - - docs/models/shared/DistanceMetric.md - - docs/models/shared/DestinationQdrantIndexing.md - - docs/models/shared/DestinationQdrantFieldNameMappingConfigModel.md - - docs/models/shared/DestinationQdrantLanguage.md - - docs/models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.md - - docs/models/shared/DestinationQdrantByProgrammingLanguage.md - - docs/models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.md - - docs/models/shared/DestinationQdrantByMarkdownHeader.md + - docs/models/shared/DestinationQdrantSchemasMode.md - docs/models/shared/DestinationQdrantSchemasProcessingMode.md - - docs/models/shared/DestinationQdrantBySeparator.md + - docs/models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.md + - docs/models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.md - docs/models/shared/DestinationQdrantTextSplitter.md - - docs/models/shared/DestinationQdrantProcessingConfigModel.md - - docs/models/shared/DestinationQdrant.md - - docs/models/shared/CacheType.md - - docs/models/shared/Redis.md - - docs/models/shared/DestinationRedisSchemasMode.md - - docs/models/shared/DestinationRedisVerifyFull.md - - docs/models/shared/DestinationRedisMode.md + - docs/models/shared/DestinationRedis.md - docs/models/shared/DestinationRedisDisable.md - - docs/models/shared/DestinationRedisSSLModes.md - - docs/models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationRedisMode.md + - docs/models/shared/DestinationRedisNoTunnel.md - docs/models/shared/DestinationRedisPasswordAuthentication.md - - docs/models/shared/DestinationRedisSchemasTunnelMethod.md - docs/models/shared/DestinationRedisSSHKeyAuthentication.md - - docs/models/shared/DestinationRedisTunnelMethod.md - - docs/models/shared/DestinationRedisNoTunnel.md - docs/models/shared/DestinationRedisSSHTunnelMethod.md - - docs/models/shared/DestinationRedis.md - - docs/models/shared/Redshift.md - - docs/models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationRedisSSLModes.md + - docs/models/shared/DestinationRedisSchemasMode.md + - docs/models/shared/DestinationRedisSchemasTunnelMethod.md + - docs/models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationRedisTunnelMethod.md + - docs/models/shared/DestinationRedisVerifyFull.md + - docs/models/shared/DestinationRedshift.md + - docs/models/shared/DestinationRedshiftMethod.md + - docs/models/shared/DestinationRedshiftNoTunnel.md - docs/models/shared/DestinationRedshiftPasswordAuthentication.md - - docs/models/shared/DestinationRedshiftSchemasTunnelMethod.md + - docs/models/shared/DestinationRedshiftS3BucketRegion.md - docs/models/shared/DestinationRedshiftSSHKeyAuthentication.md - - docs/models/shared/DestinationRedshiftTunnelMethod.md - - docs/models/shared/DestinationRedshiftNoTunnel.md - docs/models/shared/DestinationRedshiftSSHTunnelMethod.md - - docs/models/shared/DestinationRedshiftMethod.md - - docs/models/shared/DestinationRedshiftS3BucketRegion.md - - docs/models/shared/Awss3Staging.md - - docs/models/shared/UploadingMethod.md - - docs/models/shared/DestinationRedshift.md - - docs/models/shared/S3.md - - docs/models/shared/DestinationS3SchemasCompressionCodec.md - - docs/models/shared/DestinationS3SchemasFormatOutputFormatFormatType.md - - docs/models/shared/DestinationS3ParquetColumnarStorage.md - - docs/models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.md - - docs/models/shared/DestinationS3Snappy.md - - docs/models/shared/DestinationS3SchemasFormatOutputFormat3Codec.md - - docs/models/shared/DestinationS3Zstandard.md - - docs/models/shared/DestinationS3SchemasFormatOutputFormatCodec.md - - docs/models/shared/DestinationS3Xz.md - - docs/models/shared/DestinationS3SchemasFormatCodec.md + - docs/models/shared/DestinationRedshiftSchemasTunnelMethod.md + - docs/models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationRedshiftTunnelMethod.md + - docs/models/shared/DestinationResponse.md + - docs/models/shared/DestinationS3.md + - docs/models/shared/DestinationS3AvroApacheAvro.md - docs/models/shared/DestinationS3Bzip2.md - - docs/models/shared/DestinationS3SchemasCodec.md - - docs/models/shared/DestinationS3Deflate.md + - docs/models/shared/DestinationS3CSVCommaSeparatedValues.md - docs/models/shared/DestinationS3Codec.md - - docs/models/shared/DestinationS3SchemasFormatNoCompression.md + - docs/models/shared/DestinationS3Compression.md - docs/models/shared/DestinationS3CompressionCodec.md - - docs/models/shared/DestinationS3SchemasFormatFormatType.md - - docs/models/shared/DestinationS3AvroApacheAvro.md - - docs/models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.md - - docs/models/shared/DestinationS3SchemasGZIP.md - - docs/models/shared/DestinationS3SchemasFormatCompressionType.md - - docs/models/shared/DestinationS3SchemasNoCompression.md - - docs/models/shared/DestinationS3SchemasCompression.md - - docs/models/shared/DestinationS3SchemasFlattening.md - - docs/models/shared/DestinationS3SchemasFormatType.md - - docs/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.md - - docs/models/shared/DestinationS3SchemasCompressionType.md - - docs/models/shared/DestinationS3GZIP.md - docs/models/shared/DestinationS3CompressionType.md - - docs/models/shared/DestinationS3NoCompression.md - - docs/models/shared/DestinationS3Compression.md + - docs/models/shared/DestinationS3Deflate.md - docs/models/shared/DestinationS3Flattening.md - docs/models/shared/DestinationS3FormatType.md - - docs/models/shared/DestinationS3CSVCommaSeparatedValues.md - - docs/models/shared/DestinationS3OutputFormat.md - - docs/models/shared/DestinationS3S3BucketRegion.md - - docs/models/shared/DestinationS3.md - - docs/models/shared/S3Glue.md - - docs/models/shared/DestinationS3GlueSchemasCompressionType.md - - docs/models/shared/DestinationS3GlueGZIP.md - - docs/models/shared/DestinationS3GlueCompressionType.md - - docs/models/shared/DestinationS3GlueNoCompression.md + - docs/models/shared/DestinationS3GZIP.md + - docs/models/shared/DestinationS3Glue.md - docs/models/shared/DestinationS3GlueCompression.md - - docs/models/shared/Flattening.md + - docs/models/shared/DestinationS3GlueCompressionType.md - docs/models/shared/DestinationS3GlueFormatType.md + - docs/models/shared/DestinationS3GlueGZIP.md - docs/models/shared/DestinationS3GlueJSONLinesNewlineDelimitedJSON.md + - docs/models/shared/DestinationS3GlueNoCompression.md - docs/models/shared/DestinationS3GlueOutputFormat.md - - docs/models/shared/SerializationLibrary.md - docs/models/shared/DestinationS3GlueS3BucketRegion.md - - docs/models/shared/DestinationS3Glue.md - - docs/models/shared/SftpJson.md + - docs/models/shared/DestinationS3GlueSchemasCompressionType.md + - docs/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.md + - docs/models/shared/DestinationS3NoCompression.md + - docs/models/shared/DestinationS3OutputFormat.md + - docs/models/shared/DestinationS3ParquetColumnarStorage.md + - docs/models/shared/DestinationS3S3BucketRegion.md + - docs/models/shared/DestinationS3SchemasCodec.md + - docs/models/shared/DestinationS3SchemasCompression.md + - docs/models/shared/DestinationS3SchemasCompressionCodec.md + - docs/models/shared/DestinationS3SchemasCompressionType.md + - docs/models/shared/DestinationS3SchemasFlattening.md + - docs/models/shared/DestinationS3SchemasFormatCodec.md + - docs/models/shared/DestinationS3SchemasFormatCompressionType.md + - docs/models/shared/DestinationS3SchemasFormatFormatType.md + - docs/models/shared/DestinationS3SchemasFormatNoCompression.md + - docs/models/shared/DestinationS3SchemasFormatOutputFormat3Codec.md + - docs/models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.md + - docs/models/shared/DestinationS3SchemasFormatOutputFormatCodec.md + - docs/models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.md + - docs/models/shared/DestinationS3SchemasFormatOutputFormatFormatType.md + - docs/models/shared/DestinationS3SchemasFormatType.md + - docs/models/shared/DestinationS3SchemasGZIP.md + - docs/models/shared/DestinationS3SchemasNoCompression.md + - docs/models/shared/DestinationS3Snappy.md + - docs/models/shared/DestinationS3Xz.md + - docs/models/shared/DestinationS3Zstandard.md - docs/models/shared/DestinationSftpJson.md - - docs/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.md - - docs/models/shared/DestinationSnowflakeOAuth20.md - - docs/models/shared/DestinationSnowflakeSchemasAuthType.md - - docs/models/shared/UsernameAndPassword.md - - docs/models/shared/DestinationSnowflakeAuthType.md - - docs/models/shared/KeyPairAuthentication.md - - docs/models/shared/AuthorizationMethod.md - - docs/models/shared/DestinationSnowflakeSnowflake.md - docs/models/shared/DestinationSnowflake.md - - docs/models/shared/SnowflakeCortex.md - - docs/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.md - - docs/models/shared/DestinationSnowflakeCortexOpenAICompatible.md - - docs/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationSnowflakeAuthType.md + - docs/models/shared/DestinationSnowflakeCortex.md - docs/models/shared/DestinationSnowflakeCortexAzureOpenAI.md - - docs/models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.md - - docs/models/shared/DestinationSnowflakeCortexFake.md - - docs/models/shared/DestinationSnowflakeCortexSchemasMode.md + - docs/models/shared/DestinationSnowflakeCortexByMarkdownHeader.md + - docs/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.md + - docs/models/shared/DestinationSnowflakeCortexBySeparator.md - docs/models/shared/DestinationSnowflakeCortexCohere.md - - docs/models/shared/DestinationSnowflakeCortexMode.md - - docs/models/shared/DestinationSnowflakeCortexOpenAI.md - - docs/models/shared/DestinationSnowflakeCortexEmbedding.md - docs/models/shared/DestinationSnowflakeCortexCredentials.md - - docs/models/shared/SnowflakeConnection.md + - docs/models/shared/DestinationSnowflakeCortexEmbedding.md + - docs/models/shared/DestinationSnowflakeCortexFake.md - docs/models/shared/DestinationSnowflakeCortexFieldNameMappingConfigModel.md - docs/models/shared/DestinationSnowflakeCortexLanguage.md - - docs/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.md - - docs/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.md - - docs/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.md - - docs/models/shared/DestinationSnowflakeCortexByMarkdownHeader.md + - docs/models/shared/DestinationSnowflakeCortexMode.md + - docs/models/shared/DestinationSnowflakeCortexOpenAI.md + - docs/models/shared/DestinationSnowflakeCortexOpenAICompatible.md + - docs/models/shared/DestinationSnowflakeCortexProcessingConfigModel.md + - docs/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.md + - docs/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.md + - docs/models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.md + - docs/models/shared/DestinationSnowflakeCortexSchemasMode.md - docs/models/shared/DestinationSnowflakeCortexSchemasProcessingMode.md - - docs/models/shared/DestinationSnowflakeCortexBySeparator.md + - docs/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.md + - docs/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.md - docs/models/shared/DestinationSnowflakeCortexTextSplitter.md - - docs/models/shared/DestinationSnowflakeCortexProcessingConfigModel.md - - docs/models/shared/DestinationSnowflakeCortex.md - - docs/models/shared/Teradata.md - - docs/models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.md - - docs/models/shared/DestinationTeradataVerifyFull.md - - docs/models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.md - - docs/models/shared/DestinationTeradataVerifyCa.md - - docs/models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.md - - docs/models/shared/DestinationTeradataRequire.md - - docs/models/shared/DestinationTeradataSchemasSslModeMode.md - - docs/models/shared/DestinationTeradataPrefer.md - - docs/models/shared/DestinationTeradataSchemasMode.md + - docs/models/shared/DestinationSnowflakeOAuth20.md + - docs/models/shared/DestinationSnowflakeSchemasAuthType.md + - docs/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.md + - docs/models/shared/DestinationSnowflakeSnowflake.md + - docs/models/shared/DestinationTeradata.md - docs/models/shared/DestinationTeradataAllow.md - - docs/models/shared/DestinationTeradataMode.md - docs/models/shared/DestinationTeradataDisable.md + - docs/models/shared/DestinationTeradataMode.md + - docs/models/shared/DestinationTeradataPrefer.md + - docs/models/shared/DestinationTeradataRequire.md - docs/models/shared/DestinationTeradataSSLModes.md - - docs/models/shared/DestinationTeradata.md - - docs/models/shared/Timeplus.md + - docs/models/shared/DestinationTeradataSchemasMode.md + - docs/models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.md + - docs/models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.md + - docs/models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.md + - docs/models/shared/DestinationTeradataSchemasSslModeMode.md + - docs/models/shared/DestinationTeradataVerifyCa.md + - docs/models/shared/DestinationTeradataVerifyFull.md - docs/models/shared/DestinationTimeplus.md - - docs/models/shared/Typesense.md - docs/models/shared/DestinationTypesense.md - - docs/models/shared/Vectara.md - - docs/models/shared/OAuth20Credentials.md - docs/models/shared/DestinationVectara.md - - docs/models/shared/Weaviate.md - - docs/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.md - - docs/models/shared/DestinationWeaviateOpenAICompatible.md - - docs/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.md + - docs/models/shared/DestinationWeaviate.md + - docs/models/shared/DestinationWeaviateAPIToken.md + - docs/models/shared/DestinationWeaviateAuthentication.md + - docs/models/shared/DestinationWeaviateAzureOpenAI.md + - docs/models/shared/DestinationWeaviateByMarkdownHeader.md + - docs/models/shared/DestinationWeaviateByProgrammingLanguage.md + - docs/models/shared/DestinationWeaviateBySeparator.md + - docs/models/shared/DestinationWeaviateCohere.md + - docs/models/shared/DestinationWeaviateEmbedding.md - docs/models/shared/DestinationWeaviateFake.md + - docs/models/shared/DestinationWeaviateFieldNameMappingConfigModel.md + - docs/models/shared/DestinationWeaviateIndexing.md + - docs/models/shared/DestinationWeaviateLanguage.md + - docs/models/shared/DestinationWeaviateMode.md + - docs/models/shared/DestinationWeaviateOpenAI.md + - docs/models/shared/DestinationWeaviateOpenAICompatible.md + - docs/models/shared/DestinationWeaviateProcessingConfigModel.md - docs/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding5Mode.md - - docs/models/shared/FromField.md + - docs/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.md + - docs/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.md - docs/models/shared/DestinationWeaviateSchemasEmbeddingEmbeddingMode.md - - docs/models/shared/DestinationWeaviateCohere.md - docs/models/shared/DestinationWeaviateSchemasEmbeddingMode.md - - docs/models/shared/DestinationWeaviateOpenAI.md - - docs/models/shared/DestinationWeaviateSchemasMode.md - - docs/models/shared/DestinationWeaviateAzureOpenAI.md - - docs/models/shared/DestinationWeaviateMode.md - - docs/models/shared/NoExternalEmbedding.md - - docs/models/shared/DestinationWeaviateEmbedding.md - - docs/models/shared/Header.md - docs/models/shared/DestinationWeaviateSchemasIndexingAuthAuthenticationMode.md - - docs/models/shared/NoAuthentication.md - docs/models/shared/DestinationWeaviateSchemasIndexingAuthMode.md - - docs/models/shared/DestinationWeaviateUsernamePassword.md - docs/models/shared/DestinationWeaviateSchemasIndexingMode.md - - docs/models/shared/DestinationWeaviateAPIToken.md - - docs/models/shared/DestinationWeaviateAuthentication.md - - docs/models/shared/DefaultVectorizer.md - - docs/models/shared/DestinationWeaviateIndexing.md - - docs/models/shared/DestinationWeaviateFieldNameMappingConfigModel.md - - docs/models/shared/DestinationWeaviateLanguage.md - - docs/models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.md - - docs/models/shared/DestinationWeaviateByProgrammingLanguage.md - - docs/models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.md - - docs/models/shared/DestinationWeaviateByMarkdownHeader.md + - docs/models/shared/DestinationWeaviateSchemasMode.md - docs/models/shared/DestinationWeaviateSchemasProcessingMode.md - - docs/models/shared/DestinationWeaviateBySeparator.md + - docs/models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.md + - docs/models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.md - docs/models/shared/DestinationWeaviateTextSplitter.md - - docs/models/shared/DestinationWeaviateProcessingConfigModel.md - - docs/models/shared/DestinationWeaviate.md - - docs/models/shared/Yellowbrick.md - - docs/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.md - - docs/models/shared/DestinationYellowbrickVerifyFull.md - - docs/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.md - - docs/models/shared/DestinationYellowbrickVerifyCa.md - - docs/models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.md - - docs/models/shared/DestinationYellowbrickRequire.md - - docs/models/shared/DestinationYellowbrickSchemasSslModeMode.md - - docs/models/shared/DestinationYellowbrickPrefer.md - - docs/models/shared/DestinationYellowbrickSchemasMode.md + - docs/models/shared/DestinationWeaviateUsernamePassword.md + - docs/models/shared/DestinationYellowbrick.md - docs/models/shared/DestinationYellowbrickAllow.md - - docs/models/shared/DestinationYellowbrickMode.md - docs/models/shared/DestinationYellowbrickDisable.md - - docs/models/shared/DestinationYellowbrickSSLModes.md - - docs/models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationYellowbrickMode.md + - docs/models/shared/DestinationYellowbrickNoTunnel.md - docs/models/shared/DestinationYellowbrickPasswordAuthentication.md - - docs/models/shared/DestinationYellowbrickSchemasTunnelMethod.md + - docs/models/shared/DestinationYellowbrickPrefer.md + - docs/models/shared/DestinationYellowbrickRequire.md - docs/models/shared/DestinationYellowbrickSSHKeyAuthentication.md - - docs/models/shared/DestinationYellowbrickTunnelMethod.md - - docs/models/shared/DestinationYellowbrickNoTunnel.md - docs/models/shared/DestinationYellowbrickSSHTunnelMethod.md - - docs/models/shared/DestinationYellowbrick.md - - docs/models/shared/DestinationCreateRequest.md + - docs/models/shared/DestinationYellowbrickSSLModes.md + - docs/models/shared/DestinationYellowbrickSchemasMode.md + - docs/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.md + - docs/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.md + - docs/models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.md + - docs/models/shared/DestinationYellowbrickSchemasSslModeMode.md + - docs/models/shared/DestinationYellowbrickSchemasTunnelMethod.md + - docs/models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/DestinationYellowbrickTunnelMethod.md + - docs/models/shared/DestinationYellowbrickVerifyCa.md + - docs/models/shared/DestinationYellowbrickVerifyFull.md - docs/models/shared/DestinationsResponse.md - - docs/models/shared/DestinationPatchRequest.md - - docs/models/shared/DestinationPutRequest.md + - docs/models/shared/DetailType.md + - docs/models/shared/DetectChangesWithXminSystemColumn.md + - docs/models/shared/DevNull.md + - docs/models/shared/Dimension.md + - docs/models/shared/DimensionsFilter.md + - docs/models/shared/Disable.md + - docs/models/shared/Disabled.md + - docs/models/shared/DistanceMetric.md + - docs/models/shared/Dixa.md + - docs/models/shared/Dockerhub.md + - docs/models/shared/DocumentFileTypeFormatExperimental.md + - docs/models/shared/Domain.md + - docs/models/shared/DomainRegionCode.md + - docs/models/shared/DoubleValue.md + - docs/models/shared/Dremio.md + - docs/models/shared/Drift.md + - docs/models/shared/DriftCredentials.md + - docs/models/shared/Drip.md + - docs/models/shared/DropboxSign.md + - docs/models/shared/Duckdb.md + - docs/models/shared/DynamoDBRegion.md + - docs/models/shared/Dynamodb.md + - docs/models/shared/EConomic.md + - docs/models/shared/EUBasedAccount.md + - docs/models/shared/Easypost.md + - docs/models/shared/Easypromos.md + - docs/models/shared/Elasticemail.md + - docs/models/shared/Elasticsearch.md + - docs/models/shared/Emailoctopus.md + - docs/models/shared/Embedding.md + - docs/models/shared/EmploymentHero.md + - docs/models/shared/Enabled.md + - docs/models/shared/Encharge.md + - docs/models/shared/EncryptedTrustServerCertificate.md + - docs/models/shared/EncryptedVerifyCertificate.md + - docs/models/shared/Encryption.md + - docs/models/shared/EncryptionAlgorithm.md + - docs/models/shared/EncryptionMethod.md + - docs/models/shared/EngagementWindowDays.md + - docs/models/shared/Enterprise.md + - docs/models/shared/Entity.md + - docs/models/shared/Environment.md + - docs/models/shared/Eventbrite.md + - docs/models/shared/Eventee.md + - docs/models/shared/Eventzilla.md + - docs/models/shared/EveryNThEntry.md + - docs/models/shared/ExcelFormat.md + - docs/models/shared/ExchangeRates.md + - docs/models/shared/Expression.md + - docs/models/shared/ExternalTableViaS3.md + - docs/models/shared/Ezofficeinventory.md + - docs/models/shared/FacebookMarketing.md + - docs/models/shared/FacebookMarketingCredentials.md + - docs/models/shared/Factorial.md + - docs/models/shared/Failing.md + - docs/models/shared/Fake.md + - docs/models/shared/Faker.md + - docs/models/shared/Fauna.md + - docs/models/shared/FieldNameMappingConfigModel.md + - docs/models/shared/File.md + - docs/models/shared/FileBasedStreamConfig.md + - docs/models/shared/FileFormat.md + - docs/models/shared/FileStorageFormat.md + - docs/models/shared/Filetype.md + - docs/models/shared/Fillout.md + - docs/models/shared/Filter.md + - docs/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.md + - docs/models/shared/FilterName.md + - docs/models/shared/FilterType.md + - docs/models/shared/Finage.md + - docs/models/shared/FinancialModelling.md + - docs/models/shared/Finnhub.md + - docs/models/shared/Finnworlds.md + - docs/models/shared/Firebolt.md + - docs/models/shared/Firehydrant.md + - docs/models/shared/Firestore.md + - docs/models/shared/FirstNEntries.md + - docs/models/shared/Flattening.md + - docs/models/shared/Fleetio.md + - docs/models/shared/Flexmail.md + - docs/models/shared/Flexport.md + - docs/models/shared/Float.md + - docs/models/shared/Flowlu.md + - docs/models/shared/Format.md + - docs/models/shared/FormatType.md + - docs/models/shared/FormatTypeWildcard.md + - docs/models/shared/Formbricks.md + - docs/models/shared/FreeAgentConnector.md + - docs/models/shared/Freightview.md + - docs/models/shared/Freshbooks.md + - docs/models/shared/Freshcaller.md + - docs/models/shared/Freshchat.md + - docs/models/shared/Freshdesk.md + - docs/models/shared/Freshsales.md + - docs/models/shared/Freshservice.md + - docs/models/shared/FromCSV.md + - docs/models/shared/FromField.md + - docs/models/shared/FromValue.md + - docs/models/shared/Front.md + - docs/models/shared/Fulcrum.md + - docs/models/shared/GCSBucketRegion.md + - docs/models/shared/GCSGoogleCloudStorage.md + - docs/models/shared/GCSStaging.md + - docs/models/shared/GCSTmpFilesAfterwardProcessing.md + - docs/models/shared/GainsightPx.md + - docs/models/shared/Gcs.md + - docs/models/shared/GcsCredentials.md + - docs/models/shared/GeographyEnum.md + - docs/models/shared/GeographyEnumNoDefault.md + - docs/models/shared/Getgist.md + - docs/models/shared/Getlago.md + - docs/models/shared/Gitbook.md + - docs/models/shared/Github.md + - docs/models/shared/GithubCredentials.md + - docs/models/shared/Gitlab.md + - docs/models/shared/GitlabCredentials.md + - docs/models/shared/Glassfrog.md + - docs/models/shared/GlobalAccount.md + - docs/models/shared/GlueCatalog.md + - docs/models/shared/Gmail.md + - docs/models/shared/Gnews.md + - docs/models/shared/GoCardlessAPIEnvironment.md + - docs/models/shared/Gocardless.md + - docs/models/shared/Goldcast.md + - docs/models/shared/Gong.md + - docs/models/shared/GoogleAds.md + - docs/models/shared/GoogleAdsCredentials.md + - docs/models/shared/GoogleAnalyticsDataApi.md + - docs/models/shared/GoogleAnalyticsDataApiCredentials.md + - docs/models/shared/GoogleCalendar.md + - docs/models/shared/GoogleClassroom.md + - docs/models/shared/GoogleCredentials.md + - docs/models/shared/GoogleDirectory.md + - docs/models/shared/GoogleDrive.md + - docs/models/shared/GoogleDriveCredentials.md + - docs/models/shared/GoogleForms.md + - docs/models/shared/GooglePagespeedInsights.md + - docs/models/shared/GoogleSearchConsole.md + - docs/models/shared/GoogleSheets.md + - docs/models/shared/GoogleSheetsCredentials.md + - docs/models/shared/GoogleTasks.md + - docs/models/shared/GoogleWebfonts.md + - docs/models/shared/Gorgias.md + - docs/models/shared/Granularity.md + - docs/models/shared/GranularityForGeoLocationRegion.md + - docs/models/shared/GranularityForPeriodicReports.md + - docs/models/shared/Greenhouse.md + - docs/models/shared/Gridly.md + - docs/models/shared/GroupBy.md + - docs/models/shared/Guru.md + - docs/models/shared/Gutendex.md + - docs/models/shared/Gzip.md + - docs/models/shared/HMACKey.md + - docs/models/shared/HTTPSPublicWeb.md + - docs/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.md + - docs/models/shared/HardcodedRecords.md + - docs/models/shared/Harvest.md + - docs/models/shared/Header.md + - docs/models/shared/HeaderDefinitionType.md + - docs/models/shared/Height.md + - docs/models/shared/Hibob.md + - docs/models/shared/HighLevel.md + - docs/models/shared/HiveCatalogUseApacheHiveMetaStore.md + - docs/models/shared/Hubplanner.md + - docs/models/shared/Hubspot.md + - docs/models/shared/HubspotCredentials.md + - docs/models/shared/Humanitix.md + - docs/models/shared/IAMRole.md + - docs/models/shared/IAMUser.md + - docs/models/shared/Iceberg.md + - docs/models/shared/IcebergCatalogConfig.md + - docs/models/shared/IlluminaBasespace.md + - docs/models/shared/In.md + - docs/models/shared/InListFilter.md + - docs/models/shared/IncidentIo.md + - docs/models/shared/Indexing.md + - docs/models/shared/Inflowinventory.md + - docs/models/shared/InitiateOauthRequest.md + - docs/models/shared/InsightConfig.md + - docs/models/shared/Insightly.md + - docs/models/shared/Instagram.md + - docs/models/shared/Instance.md + - docs/models/shared/Instatus.md + - docs/models/shared/Int64Value.md + - docs/models/shared/Intercom.md + - docs/models/shared/Interval.md + - docs/models/shared/InvalidCDCPositionBehaviorAdvanced.md + - docs/models/shared/Invoiced.md + - docs/models/shared/Invoiceninja.md + - docs/models/shared/Ip2whois.md + - docs/models/shared/Iterable.md + - docs/models/shared/JSONLinesNewlineDelimitedJSON.md + - docs/models/shared/JdbcCatalogUseRelationalDatabase.md + - docs/models/shared/Jira.md + - docs/models/shared/JobCreateRequest.md - docs/models/shared/JobResponse.md - docs/models/shared/JobStatusEnum.md - docs/models/shared/JobTypeEnum.md - - docs/models/shared/JobCreateRequest.md + - docs/models/shared/Jobnimbus.md - docs/models/shared/JobsResponse.md - - docs/models/shared/OrganizationsResponse.md + - docs/models/shared/Jotform.md + - docs/models/shared/JsonlFormat.md + - docs/models/shared/JustSift.md + - docs/models/shared/Justcall.md + - docs/models/shared/K6Cloud.md + - docs/models/shared/Katana.md + - docs/models/shared/KeyPairAuthentication.md + - docs/models/shared/Kind.md + - docs/models/shared/Kisi.md + - docs/models/shared/Kissmetrics.md + - docs/models/shared/Klarna.md + - docs/models/shared/KlausApi.md + - docs/models/shared/Klaviyo.md + - docs/models/shared/Kyve.md + - docs/models/shared/LSNCommitBehaviour.md + - docs/models/shared/Lang.md + - docs/models/shared/Language.md + - docs/models/shared/Launchdarkly.md + - docs/models/shared/Leadfeeder.md + - docs/models/shared/Lemlist.md + - docs/models/shared/LessAnnoyingCrm.md + - docs/models/shared/Level.md + - docs/models/shared/LeverHiring.md + - docs/models/shared/LeverHiringCredentials.md + - docs/models/shared/LightspeedRetail.md + - docs/models/shared/LinkedinAds.md + - docs/models/shared/LinkedinAdsCredentials.md + - docs/models/shared/LinkedinPages.md + - docs/models/shared/Linnworks.md + - docs/models/shared/LoadingMethod.md + - docs/models/shared/Lob.md + - docs/models/shared/Local.md + - docs/models/shared/LocalFilesystemLimited.md + - docs/models/shared/Logging.md + - docs/models/shared/LoggingConfiguration.md + - docs/models/shared/LoggingType.md + - docs/models/shared/LoginPassword.md + - docs/models/shared/Lokalise.md + - docs/models/shared/Looker.md + - docs/models/shared/Luma.md + - docs/models/shared/Mailchimp.md + - docs/models/shared/MailchimpCredentials.md + - docs/models/shared/Mailerlite.md + - docs/models/shared/Mailgun.md + - docs/models/shared/MailjetMail.md + - docs/models/shared/MailjetSms.md + - docs/models/shared/Mailosaur.md + - docs/models/shared/Mailtrap.md + - docs/models/shared/MapperConfiguration.md + - docs/models/shared/MarketNewsCategory.md + - docs/models/shared/Marketo.md + - docs/models/shared/Marketstack.md + - docs/models/shared/Mention.md + - docs/models/shared/Metabase.md + - docs/models/shared/Method.md + - docs/models/shared/MetricsFilter.md + - docs/models/shared/MicrosoftDataverse.md + - docs/models/shared/MicrosoftEntraId.md + - docs/models/shared/MicrosoftLists.md + - docs/models/shared/MicrosoftOnedrive.md + - docs/models/shared/MicrosoftOnedriveCredentials.md + - docs/models/shared/MicrosoftSharepoint.md + - docs/models/shared/MicrosoftSharepointCredentials.md + - docs/models/shared/MicrosoftTeams.md + - docs/models/shared/MicrosoftTeamsCredentials.md + - docs/models/shared/Milvus.md + - docs/models/shared/Miro.md + - docs/models/shared/Missive.md + - docs/models/shared/Mixmax.md + - docs/models/shared/Mixpanel.md + - docs/models/shared/Mode.md + - docs/models/shared/Monday.md + - docs/models/shared/MondayCredentials.md + - docs/models/shared/MongoDBAtlas.md + - docs/models/shared/MongoDBAtlasReplicaSet.md + - docs/models/shared/MongoDbInstanceType.md + - docs/models/shared/Mongodb.md + - docs/models/shared/MongodbV2.md + - docs/models/shared/Motherduck.md + - docs/models/shared/Mssql.md + - docs/models/shared/Mux.md + - docs/models/shared/MyHours.md + - docs/models/shared/Mysql.md + - docs/models/shared/N8n.md + - docs/models/shared/NamespaceDefinitionEnum.md + - docs/models/shared/NamespaceDefinitionEnumNoDefault.md + - docs/models/shared/Nasa.md + - docs/models/shared/NativeNetworkEncryptionNNE.md + - docs/models/shared/Netsuite.md + - docs/models/shared/NewsApi.md + - docs/models/shared/NewsdataIo.md + - docs/models/shared/NoAuth.md + - docs/models/shared/NoAuthentication.md + - docs/models/shared/NoCompression.md + - docs/models/shared/NoExternalEmbedding.md + - docs/models/shared/NoTunnel.md + - docs/models/shared/Nocrm.md + - docs/models/shared/NonBreakingSchemaUpdatesBehaviorEnum.md + - docs/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.md + - docs/models/shared/None.md + - docs/models/shared/Normalization.md + - docs/models/shared/NormalizationFlattening.md + - docs/models/shared/NorthpassLms.md + - docs/models/shared/NotExpression.md + - docs/models/shared/Notion.md + - docs/models/shared/NotionCredentials.md + - docs/models/shared/Nullable.md + - docs/models/shared/NumericFilter.md + - docs/models/shared/Nutshell.md + - docs/models/shared/Nylas.md + - docs/models/shared/Nytimes.md + - docs/models/shared/OAuth.md + - docs/models/shared/OAuth20.md + - docs/models/shared/OAuth20Credentials.md + - docs/models/shared/OAuth20WithPrivateKey.md + - docs/models/shared/OAuth2AccessToken.md + - docs/models/shared/OAuth2ConfidentialApplication.md + - docs/models/shared/OAuth2Recommended.md + - docs/models/shared/OAuthActorNames.md + - docs/models/shared/OAuthCredentialsConfiguration.md + - docs/models/shared/OauthAuthentication.md + - docs/models/shared/Okta.md + - docs/models/shared/Omnisend.md + - docs/models/shared/Oncehub.md + - docs/models/shared/Onepagecrm.md + - docs/models/shared/Onesignal.md + - docs/models/shared/Onfleet.md + - docs/models/shared/OpenAI.md + - docs/models/shared/OpenAICompatible.md + - docs/models/shared/OpenDataDc.md + - docs/models/shared/Openaq.md + - docs/models/shared/Openfda.md + - docs/models/shared/Openweather.md + - docs/models/shared/Operator.md + - docs/models/shared/OpinionStage.md + - docs/models/shared/Opsgenie.md + - docs/models/shared/OptionTitle.md + - docs/models/shared/OptionsList.md + - docs/models/shared/OrGroup.md + - docs/models/shared/Oracle.md + - docs/models/shared/Orb.md + - docs/models/shared/Orbit.md - docs/models/shared/OrganizationResponse.md - - docs/models/shared/PermissionResponse.md - - docs/models/shared/PermissionType.md + - docs/models/shared/OrganizationsResponse.md + - docs/models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.md + - docs/models/shared/Oura.md + - docs/models/shared/OutbrainAmplify.md + - docs/models/shared/OutputFormat.md + - docs/models/shared/OutputFormatWildcard.md + - docs/models/shared/Outreach.md + - docs/models/shared/Oveit.md + - docs/models/shared/PabblySubscriptionsBilling.md + - docs/models/shared/Pandadoc.md + - docs/models/shared/Paperform.md + - docs/models/shared/Papersign.md + - docs/models/shared/Pardot.md + - docs/models/shared/ParquetColumnarStorage.md + - docs/models/shared/ParquetFormat.md + - docs/models/shared/ParsingStrategy.md + - docs/models/shared/PasswordAuthentication.md + - docs/models/shared/PaypalTransaction.md + - docs/models/shared/Paystack.md + - docs/models/shared/Pendo.md + - docs/models/shared/Pennylane.md + - docs/models/shared/PeriodUsedForMostPopularStreams.md - docs/models/shared/PermissionCreateRequest.md - - docs/models/shared/PublicPermissionType.md - - docs/models/shared/PermissionsResponse.md + - docs/models/shared/PermissionResponse.md - docs/models/shared/PermissionResponseRead.md - docs/models/shared/PermissionScope.md + - docs/models/shared/PermissionType.md - docs/models/shared/PermissionUpdateRequest.md - - docs/models/shared/SourceResponse.md - - docs/models/shared/SourceConfiguration.md - - docs/models/shared/Aha.md - - docs/models/shared/SourceAha.md + - docs/models/shared/PermissionsResponse.md + - docs/models/shared/Persistiq.md + - docs/models/shared/Persona.md + - docs/models/shared/PersonalAccessToken.md + - docs/models/shared/PexelsApi.md + - docs/models/shared/Pgvector.md + - docs/models/shared/Picqer.md + - docs/models/shared/Pinecone.md + - docs/models/shared/Pinterest.md + - docs/models/shared/PinterestCredentials.md + - docs/models/shared/Pipedrive.md + - docs/models/shared/Pipeliner.md + - docs/models/shared/PivotCategory.md + - docs/models/shared/PivotalTracker.md + - docs/models/shared/Piwik.md + - docs/models/shared/Plaid.md + - docs/models/shared/PlaidEnvironment.md + - docs/models/shared/Planhat.md + - docs/models/shared/Plausible.md + - docs/models/shared/Plugin.md + - docs/models/shared/Pocket.md + - docs/models/shared/Pokeapi.md + - docs/models/shared/PokemonName.md + - docs/models/shared/PolygonStockApi.md + - docs/models/shared/Postgres.md + - docs/models/shared/PostgresConnection.md + - docs/models/shared/Posthog.md + - docs/models/shared/Postmarkapp.md + - docs/models/shared/Prefer.md + - docs/models/shared/Preferred.md + - docs/models/shared/Prestashop.md + - docs/models/shared/Pretix.md + - docs/models/shared/Primetric.md + - docs/models/shared/PrivateApp.md + - docs/models/shared/PrivateToken.md + - docs/models/shared/Processing.md + - docs/models/shared/ProcessingConfigModel.md + - docs/models/shared/ProductCatalog.md + - docs/models/shared/Productboard.md + - docs/models/shared/Productive.md + - docs/models/shared/ProjectSecret.md + - docs/models/shared/PublicPermissionType.md + - docs/models/shared/Pubsub.md + - docs/models/shared/Pypi.md + - docs/models/shared/Qdrant.md + - docs/models/shared/Qualaroo.md + - docs/models/shared/Queries.md + - docs/models/shared/Quickbooks.md + - docs/models/shared/RESTCatalog.md + - docs/models/shared/Railz.md + - docs/models/shared/RandomSampling.md + - docs/models/shared/Range.md + - docs/models/shared/RdStationMarketing.md + - docs/models/shared/RdStationMarketingAuthorization.md + - docs/models/shared/ReadChangesUsingBinaryLogCDC.md + - docs/models/shared/ReadChangesUsingChangeDataCaptureCDC.md + - docs/models/shared/ReadChangesUsingWriteAheadLogCDC.md + - docs/models/shared/Recharge.md + - docs/models/shared/Recreation.md + - docs/models/shared/Recruitee.md + - docs/models/shared/Recurly.md + - docs/models/shared/Reddit.md + - docs/models/shared/Redis.md + - docs/models/shared/Redshift.md + - docs/models/shared/Referralhero.md + - docs/models/shared/Region.md + - docs/models/shared/Rentcast.md + - docs/models/shared/Repairshopr.md + - docs/models/shared/ReplicaSet.md + - docs/models/shared/ReplicateRecords.md + - docs/models/shared/ReplyIo.md + - docs/models/shared/ReportConfig.md + - docs/models/shared/ReportName.md + - docs/models/shared/ReportOptions.md + - docs/models/shared/ReportRecordTypeEnum.md + - docs/models/shared/ReportingDataObject.md + - docs/models/shared/Require.md + - docs/models/shared/Required.md + - docs/models/shared/Retently.md + - docs/models/shared/Revenuecat.md + - docs/models/shared/RevolutMerchant.md + - docs/models/shared/RkiCovid.md + - docs/models/shared/Rocketlane.md + - docs/models/shared/RoleBasedAuthentication.md + - docs/models/shared/Rollbar.md + - docs/models/shared/Rootly.md + - docs/models/shared/Rss.md + - docs/models/shared/Ruddr.md + - docs/models/shared/S3.md + - docs/models/shared/S3AmazonWebServices.md + - docs/models/shared/S3BucketRegion.md + - docs/models/shared/S3Glue.md + - docs/models/shared/SCPSecureCopyProtocol.md + - docs/models/shared/SFTPSecureFileTransferProtocol.md + - docs/models/shared/SQLInserts.md + - docs/models/shared/SSHKeyAuthentication.md + - docs/models/shared/SSHSecureShell.md + - docs/models/shared/SSHTunnelMethod.md + - docs/models/shared/SSLMethod.md + - docs/models/shared/SSLModes.md + - docs/models/shared/Safetyculture.md + - docs/models/shared/SageHr.md + - docs/models/shared/Salesflare.md + - docs/models/shared/Salesforce.md + - docs/models/shared/Salesloft.md + - docs/models/shared/SandboxAccessToken.md + - docs/models/shared/SapFieldglass.md + - docs/models/shared/Savvycal.md + - docs/models/shared/ScanChangesWithUserDefinedCursor.md + - docs/models/shared/ScheduleTypeEnum.md + - docs/models/shared/ScheduleTypeWithBasicEnum.md + - docs/models/shared/SchemeBasicAuth.md + - docs/models/shared/SchemeClientCredentials.md + - docs/models/shared/ScopeType.md + - docs/models/shared/Scryfall.md + - docs/models/shared/SearchCriteria.md + - docs/models/shared/SearchIn.md + - docs/models/shared/SearchScope.md + - docs/models/shared/Secoda.md + - docs/models/shared/Security.md + - docs/models/shared/Segment.md + - docs/models/shared/SelectedFieldInfo.md + - docs/models/shared/SelfManagedReplicaSet.md + - docs/models/shared/Sendgrid.md + - docs/models/shared/Sendinblue.md + - docs/models/shared/Sendowl.md + - docs/models/shared/Sendpulse.md + - docs/models/shared/Senseforce.md + - docs/models/shared/Sentry.md + - docs/models/shared/SerializationLibrary.md + - docs/models/shared/ServerManaged.md + - docs/models/shared/ServiceAccount.md + - docs/models/shared/ServiceAccountAuthentication.md + - docs/models/shared/ServiceAccountKey.md + - docs/models/shared/ServiceAccountKeyAuthentication.md + - docs/models/shared/ServiceKeyAuthentication.md + - docs/models/shared/ServiceName.md - docs/models/shared/Sevenshifts.md + - docs/models/shared/Sftp.md + - docs/models/shared/SftpBulk.md + - docs/models/shared/SftpJson.md + - docs/models/shared/ShareTypeUsedForMostPopularSharedStream.md + - docs/models/shared/Sharetribe.md + - docs/models/shared/Shippo.md + - docs/models/shared/Shopify.md + - docs/models/shared/ShopifyAuthorizationMethod.md + - docs/models/shared/ShopifyCredentials.md + - docs/models/shared/Shortcut.md + - docs/models/shared/Shortio.md + - docs/models/shared/SigmaComputing.md + - docs/models/shared/SignInViaGoogleOAuth.md + - docs/models/shared/SignInViaRDStationOAuth.md + - docs/models/shared/SignInViaSlackOAuth.md + - docs/models/shared/Silent.md + - docs/models/shared/Simfin.md + - docs/models/shared/Simplecast.md + - docs/models/shared/Simplesat.md + - docs/models/shared/SingleStoreAccessToken.md + - docs/models/shared/Site.md + - docs/models/shared/Slack.md + - docs/models/shared/SlackCredentials.md + - docs/models/shared/Smaily.md + - docs/models/shared/Smartengage.md + - docs/models/shared/Smartreach.md + - docs/models/shared/Smartsheets.md + - docs/models/shared/SmartsheetsCredentials.md + - docs/models/shared/Smartwaiver.md + - docs/models/shared/SnapchatMarketing.md + - docs/models/shared/Snappy.md + - docs/models/shared/Snowflake.md + - docs/models/shared/SnowflakeConnection.md + - docs/models/shared/SnowflakeCortex.md + - docs/models/shared/SnowflakeCredentials.md + - docs/models/shared/SolarwindsServiceDesk.md + - docs/models/shared/SonarCloud.md + - docs/models/shared/SortBy.md - docs/models/shared/Source7shifts.md - - docs/models/shared/Airbyte.md + - docs/models/shared/SourceActivecampaign.md + - docs/models/shared/SourceAgilecrm.md + - docs/models/shared/SourceAha.md - docs/models/shared/SourceAirbyte.md - - docs/models/shared/Aircall.md - docs/models/shared/SourceAircall.md + - docs/models/shared/SourceAirtable.md + - docs/models/shared/SourceAirtableAirtable.md - docs/models/shared/SourceAirtableAuthMethod.md + - docs/models/shared/SourceAirtableAuthentication.md + - docs/models/shared/SourceAirtableOAuth20.md - docs/models/shared/SourceAirtablePersonalAccessToken.md - docs/models/shared/SourceAirtableSchemasAuthMethod.md - - docs/models/shared/SourceAirtableOAuth20.md - - docs/models/shared/SourceAirtableAuthentication.md - - docs/models/shared/SourceAirtableAirtable.md - - docs/models/shared/SourceAirtable.md - - docs/models/shared/SourceAmazonAdsAuthType.md - - docs/models/shared/Region.md - - docs/models/shared/ReportRecordTypes.md - - docs/models/shared/SourceAmazonAdsAmazonAds.md - - docs/models/shared/StateFilter.md + - docs/models/shared/SourceAkeneo.md + - docs/models/shared/SourceAlgolia.md - docs/models/shared/SourceAmazonAds.md - - docs/models/shared/AWSSellerPartnerAccountType.md - - docs/models/shared/SourceAmazonSellerPartnerAuthType.md - - docs/models/shared/AWSEnvironment.md - - docs/models/shared/AWSRegion.md - - docs/models/shared/OptionsList.md - - docs/models/shared/ReportName.md - - docs/models/shared/ReportOptions.md - - docs/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.md + - docs/models/shared/SourceAmazonAdsAmazonAds.md + - docs/models/shared/SourceAmazonAdsAuthType.md - docs/models/shared/SourceAmazonSellerPartner.md - - docs/models/shared/SourceAmazonSqsAWSRegion.md - - docs/models/shared/AmazonSqs.md + - docs/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.md + - docs/models/shared/SourceAmazonSellerPartnerAuthType.md - docs/models/shared/SourceAmazonSqs.md - - docs/models/shared/DataRegion.md - - docs/models/shared/Amplitude.md + - docs/models/shared/SourceAmazonSqsAWSRegion.md - docs/models/shared/SourceAmplitude.md - - docs/models/shared/ApifyDataset.md - docs/models/shared/SourceApifyDataset.md - - docs/models/shared/Appcues.md - docs/models/shared/SourceAppcues.md - - docs/models/shared/GroupBy.md - - docs/models/shared/Appfigures.md - docs/models/shared/SourceAppfigures.md - - docs/models/shared/Appfollow.md - docs/models/shared/SourceAppfollow.md - - docs/models/shared/SourceAsanaSchemasCredentialsTitle.md - - docs/models/shared/AuthenticateWithPersonalAccessToken.md - - docs/models/shared/SourceAsanaCredentialsTitle.md - - docs/models/shared/AuthenticateViaAsanaOauth.md - - docs/models/shared/AuthenticationMechanism.md - - docs/models/shared/SourceAsanaAsana.md + - docs/models/shared/SourceAppleSearchAds.md + - docs/models/shared/SourceApptivo.md - docs/models/shared/SourceAsana.md - - docs/models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.md - - docs/models/shared/OAuth2AccessToken.md - - docs/models/shared/SourceAuth0SchemasAuthenticationMethod.md - - docs/models/shared/OAuth2ConfidentialApplication.md - - docs/models/shared/SourceAuth0AuthenticationMethod.md - - docs/models/shared/Auth0.md + - docs/models/shared/SourceAsanaAsana.md + - docs/models/shared/SourceAsanaCredentialsTitle.md + - docs/models/shared/SourceAsanaSchemasCredentialsTitle.md + - docs/models/shared/SourceAshby.md - docs/models/shared/SourceAuth0.md - - docs/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.md - - docs/models/shared/AwsCloudtrail.md + - docs/models/shared/SourceAuth0AuthenticationMethod.md + - docs/models/shared/SourceAuth0SchemasAuthenticationMethod.md + - docs/models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.md - docs/models/shared/SourceAwsCloudtrail.md - - docs/models/shared/SourceAzureBlobStorageSchemasAuthType.md - - docs/models/shared/AuthenticateViaStorageAccountKey.md + - docs/models/shared/SourceAzureBlobStorage.md - docs/models/shared/SourceAzureBlobStorageAuthType.md - - docs/models/shared/AuthenticateViaOauth2.md - docs/models/shared/SourceAzureBlobStorageAuthentication.md - docs/models/shared/SourceAzureBlobStorageAzureBlobStorage.md - - docs/models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceAzureBlobStorageFiletype.md + - docs/models/shared/SourceAzureBlobStorageHeaderDefinitionType.md - docs/models/shared/SourceAzureBlobStorageMode.md - - docs/models/shared/Local.md - - docs/models/shared/Processing.md - - docs/models/shared/ParsingStrategy.md - - docs/models/shared/DocumentFileTypeFormatExperimental.md - - docs/models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.md - - docs/models/shared/ParquetFormat.md + - docs/models/shared/SourceAzureBlobStorageSchemasAuthType.md - docs/models/shared/SourceAzureBlobStorageSchemasFiletype.md - - docs/models/shared/JsonlFormat.md - - docs/models/shared/SourceAzureBlobStorageFiletype.md - docs/models/shared/SourceAzureBlobStorageSchemasHeaderDefinitionType.md - - docs/models/shared/UserProvided.md - - docs/models/shared/SourceAzureBlobStorageHeaderDefinitionType.md - - docs/models/shared/Autogenerated.md - - docs/models/shared/HeaderDefinitionType.md - - docs/models/shared/FromCSV.md - - docs/models/shared/CSVHeaderDefinition.md - - docs/models/shared/CSVFormat.md - - docs/models/shared/Filetype.md - - docs/models/shared/AvroFormat.md - - docs/models/shared/Format.md - - docs/models/shared/ValidationPolicy.md - - docs/models/shared/FileBasedStreamConfig.md - - docs/models/shared/SourceAzureBlobStorage.md - - docs/models/shared/AzureTable.md + - docs/models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.md + - docs/models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.md - docs/models/shared/SourceAzureTable.md - - docs/models/shared/BambooHr.md - docs/models/shared/SourceBambooHr.md - - docs/models/shared/Basecamp.md - docs/models/shared/SourceBasecamp.md - - docs/models/shared/SourceBigqueryBigquery.md + - docs/models/shared/SourceBeamer.md + - docs/models/shared/SourceBigmailer.md - docs/models/shared/SourceBigquery.md - - docs/models/shared/Operator.md - - docs/models/shared/AccountNames.md - - docs/models/shared/AuthMethod.md - - docs/models/shared/ReportingDataObject.md - - docs/models/shared/CustomReportConfig.md - - docs/models/shared/SourceBingAdsBingAds.md + - docs/models/shared/SourceBigqueryBigquery.md - docs/models/shared/SourceBingAds.md - - docs/models/shared/Bitly.md + - docs/models/shared/SourceBingAdsBingAds.md - docs/models/shared/SourceBitly.md - - docs/models/shared/SourceBraintreeEnvironment.md - - docs/models/shared/Braintree.md + - docs/models/shared/SourceBlogger.md + - docs/models/shared/SourceBox.md - docs/models/shared/SourceBraintree.md - - docs/models/shared/Braze.md + - docs/models/shared/SourceBraintreeEnvironment.md - docs/models/shared/SourceBraze.md - - docs/models/shared/BreezyHr.md - docs/models/shared/SourceBreezyHr.md - - docs/models/shared/Brevo.md - docs/models/shared/SourceBrevo.md - - docs/models/shared/Buildkite.md + - docs/models/shared/SourceBrex.md + - docs/models/shared/SourceBugsnag.md - docs/models/shared/SourceBuildkite.md - - docs/models/shared/Buzzsprout.md + - docs/models/shared/SourceBunnyInc.md - docs/models/shared/SourceBuzzsprout.md - - docs/models/shared/Calendly.md + - docs/models/shared/SourceCalCom.md - docs/models/shared/SourceCalendly.md - - docs/models/shared/Canny.md + - docs/models/shared/SourceCallrail.md + - docs/models/shared/SourceCampaignMonitor.md + - docs/models/shared/SourceCampayn.md - docs/models/shared/SourceCanny.md - - docs/models/shared/SourceCartSchemasAuthType.md - - docs/models/shared/SingleStoreAccessToken.md + - docs/models/shared/SourceCapsuleCrm.md + - docs/models/shared/SourceCareQualityCommission.md + - docs/models/shared/SourceCart.md - docs/models/shared/SourceCartAuthType.md - - docs/models/shared/CentralAPIRouter.md - docs/models/shared/SourceCartAuthorizationMethod.md - - docs/models/shared/Cart.md - - docs/models/shared/SourceCart.md - - docs/models/shared/Filter.md - - docs/models/shared/Chameleon.md + - docs/models/shared/SourceCartSchemasAuthType.md + - docs/models/shared/SourceCastorEdc.md - docs/models/shared/SourceChameleon.md - - docs/models/shared/ProductCatalog.md - - docs/models/shared/Chargebee.md - docs/models/shared/SourceChargebee.md - - docs/models/shared/Chartmogul.md + - docs/models/shared/SourceChargedesk.md + - docs/models/shared/SourceChargify.md - docs/models/shared/SourceChartmogul.md - - docs/models/shared/Cimis.md - - docs/models/shared/TargetsType.md - - docs/models/shared/UnitOfMeasure.md - docs/models/shared/SourceCimis.md - - docs/models/shared/Clazar.md + - docs/models/shared/SourceCin7.md + - docs/models/shared/SourceCirca.md + - docs/models/shared/SourceCircleci.md + - docs/models/shared/SourceClarifAi.md - docs/models/shared/SourceClazar.md + - docs/models/shared/SourceClickhouse.md - docs/models/shared/SourceClickhouseClickhouse.md - - docs/models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/SourceClickhouseNoTunnel.md - docs/models/shared/SourceClickhousePasswordAuthentication.md - - docs/models/shared/SourceClickhouseSchemasTunnelMethod.md - docs/models/shared/SourceClickhouseSSHKeyAuthentication.md - - docs/models/shared/SourceClickhouseTunnelMethod.md - - docs/models/shared/SourceClickhouseNoTunnel.md - docs/models/shared/SourceClickhouseSSHTunnelMethod.md - - docs/models/shared/SourceClickhouse.md - - docs/models/shared/ClickupApi.md + - docs/models/shared/SourceClickhouseSchemasTunnelMethod.md + - docs/models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/SourceClickhouseTunnelMethod.md - docs/models/shared/SourceClickupApi.md - - docs/models/shared/Clockify.md - docs/models/shared/SourceClockify.md - - docs/models/shared/CloseCom.md + - docs/models/shared/SourceClockodo.md - docs/models/shared/SourceCloseCom.md - - docs/models/shared/Coda.md + - docs/models/shared/SourceCloudbeds.md + - docs/models/shared/SourceCoassemble.md - docs/models/shared/SourceCoda.md - - docs/models/shared/Environment.md - - docs/models/shared/CoinApi.md + - docs/models/shared/SourceCodefresh.md - docs/models/shared/SourceCoinApi.md - - docs/models/shared/DataType.md - - docs/models/shared/Coinmarketcap.md - docs/models/shared/SourceCoinmarketcap.md - - docs/models/shared/Configcat.md + - docs/models/shared/SourceConcord.md + - docs/models/shared/SourceConcordEnvironment.md - docs/models/shared/SourceConfigcat.md - - docs/models/shared/Confluence.md + - docs/models/shared/SourceConfiguration.md - docs/models/shared/SourceConfluence.md - - docs/models/shared/SourceConvexConvex.md + - docs/models/shared/SourceConvertkit.md - docs/models/shared/SourceConvex.md - - docs/models/shared/CustomerIo.md + - docs/models/shared/SourceConvexConvex.md + - docs/models/shared/SourceCopper.md + - docs/models/shared/SourceCountercyclical.md + - docs/models/shared/SourceCreateRequest.md - docs/models/shared/SourceCustomerIo.md - - docs/models/shared/DataSource.md - - docs/models/shared/Queries.md - - docs/models/shared/Site.md - - docs/models/shared/Datadog.md - docs/models/shared/SourceDatadog.md - - docs/models/shared/Datascope.md - docs/models/shared/SourceDatascope.md - - docs/models/shared/Dbt.md - docs/models/shared/SourceDbt.md - - docs/models/shared/Delighted.md - docs/models/shared/SourceDelighted.md - - docs/models/shared/Dixa.md + - docs/models/shared/SourceDeputy.md - docs/models/shared/SourceDixa.md - - docs/models/shared/Dockerhub.md - docs/models/shared/SourceDockerhub.md - - docs/models/shared/Dremio.md - docs/models/shared/SourceDremio.md - - docs/models/shared/SourceDynamodbDynamodbRegion.md - - docs/models/shared/SourceDynamodbDynamodb.md + - docs/models/shared/SourceDrift.md + - docs/models/shared/SourceDriftAuthorizationMethod.md + - docs/models/shared/SourceDriftCredentials.md + - docs/models/shared/SourceDriftDrift.md + - docs/models/shared/SourceDriftOAuth20.md + - docs/models/shared/SourceDriftSchemasCredentials.md + - docs/models/shared/SourceDrip.md + - docs/models/shared/SourceDropboxSign.md - docs/models/shared/SourceDynamodb.md - - docs/models/shared/Emailoctopus.md + - docs/models/shared/SourceDynamodbAuthType.md + - docs/models/shared/SourceDynamodbCredentials.md + - docs/models/shared/SourceDynamodbDynamodb.md + - docs/models/shared/SourceDynamodbDynamodbRegion.md + - docs/models/shared/SourceDynamodbSchemasAuthType.md + - docs/models/shared/SourceEConomic.md + - docs/models/shared/SourceEasypost.md + - docs/models/shared/SourceEasypromos.md + - docs/models/shared/SourceElasticemail.md - docs/models/shared/SourceEmailoctopus.md - - docs/models/shared/ExchangeRates.md + - docs/models/shared/SourceEmploymentHero.md + - docs/models/shared/SourceEncharge.md + - docs/models/shared/SourceEventbrite.md + - docs/models/shared/SourceEventee.md + - docs/models/shared/SourceEventzilla.md - docs/models/shared/SourceExchangeRates.md - - docs/models/shared/Ezofficeinventory.md - docs/models/shared/SourceEzofficeinventory.md - - docs/models/shared/ValidAdStatuses.md - - docs/models/shared/ValidAdSetStatuses.md - - docs/models/shared/ValidCampaignStatuses.md - - docs/models/shared/SourceFacebookMarketingSchemasAuthType.md - - docs/models/shared/ServiceAccountKeyAuthentication.md + - docs/models/shared/SourceFacebookMarketing.md + - docs/models/shared/SourceFacebookMarketingActionReportTime.md - docs/models/shared/SourceFacebookMarketingAuthType.md - - docs/models/shared/AuthenticateViaFacebookMarketingOauth.md - docs/models/shared/SourceFacebookMarketingAuthentication.md - - docs/models/shared/ValidActionBreakdowns.md - - docs/models/shared/SourceFacebookMarketingActionReportTime.md - - docs/models/shared/ValidBreakdowns.md - - docs/models/shared/SourceFacebookMarketingValidEnums.md - - docs/models/shared/Level.md - - docs/models/shared/InsightConfig.md - docs/models/shared/SourceFacebookMarketingFacebookMarketing.md - - docs/models/shared/SourceFacebookMarketing.md - - docs/models/shared/Faker.md + - docs/models/shared/SourceFacebookMarketingSchemasAuthType.md + - docs/models/shared/SourceFacebookMarketingValidEnums.md + - docs/models/shared/SourceFactorial.md - docs/models/shared/SourceFaker.md - - docs/models/shared/SourceFaunaSchemasDeletionMode.md - - docs/models/shared/Enabled.md - - docs/models/shared/SourceFaunaDeletionMode.md - - docs/models/shared/Disabled.md - - docs/models/shared/DeletionMode.md - - docs/models/shared/Collection.md - - docs/models/shared/Fauna.md - docs/models/shared/SourceFauna.md - - docs/models/shared/FileFormat.md - - docs/models/shared/SourceFileSchemasProviderStorageProvider8Storage.md - - docs/models/shared/LocalFilesystemLimited.md - - docs/models/shared/SourceFileSchemasProviderStorageProvider7Storage.md - - docs/models/shared/SFTPSecureFileTransferProtocol.md + - docs/models/shared/SourceFaunaDeletionMode.md + - docs/models/shared/SourceFaunaSchemasDeletionMode.md + - docs/models/shared/SourceFile.md + - docs/models/shared/SourceFileFileFormat.md + - docs/models/shared/SourceFileSchemasProviderStorage.md - docs/models/shared/SourceFileSchemasProviderStorageProvider6Storage.md - - docs/models/shared/SCPSecureCopyProtocol.md + - docs/models/shared/SourceFileSchemasProviderStorageProvider7Storage.md + - docs/models/shared/SourceFileSchemasProviderStorageProvider8Storage.md - docs/models/shared/SourceFileSchemasProviderStorageProviderStorage.md - - docs/models/shared/SSHSecureShell.md - - docs/models/shared/SourceFileSchemasProviderStorage.md - - docs/models/shared/AzBlobAzureBlobStorage.md - docs/models/shared/SourceFileSchemasStorage.md - - docs/models/shared/S3AmazonWebServices.md - docs/models/shared/SourceFileStorage.md - - docs/models/shared/GCSGoogleCloudStorage.md - - docs/models/shared/Storage.md - - docs/models/shared/HTTPSPublicWeb.md - - docs/models/shared/StorageProvider.md - - docs/models/shared/File.md - - docs/models/shared/SourceFile.md - - docs/models/shared/SourceFireboltFirebolt.md + - docs/models/shared/SourceFillout.md + - docs/models/shared/SourceFinage.md + - docs/models/shared/SourceFinancialModelling.md + - docs/models/shared/SourceFinnhub.md + - docs/models/shared/SourceFinnworlds.md - docs/models/shared/SourceFirebolt.md - - docs/models/shared/Fleetio.md + - docs/models/shared/SourceFireboltFirebolt.md + - docs/models/shared/SourceFirehydrant.md - docs/models/shared/SourceFleetio.md - - docs/models/shared/Freshcaller.md + - docs/models/shared/SourceFlexmail.md + - docs/models/shared/SourceFlexport.md + - docs/models/shared/SourceFloat.md + - docs/models/shared/SourceFlowlu.md + - docs/models/shared/SourceFormbricks.md + - docs/models/shared/SourceFreeAgentConnector.md + - docs/models/shared/SourceFreightview.md + - docs/models/shared/SourceFreshbooks.md - docs/models/shared/SourceFreshcaller.md - - docs/models/shared/Freshdesk.md + - docs/models/shared/SourceFreshchat.md - docs/models/shared/SourceFreshdesk.md - - docs/models/shared/Freshsales.md - docs/models/shared/SourceFreshsales.md - - docs/models/shared/Front.md + - docs/models/shared/SourceFreshservice.md - docs/models/shared/SourceFront.md - - docs/models/shared/GainsightPx.md + - docs/models/shared/SourceFulcrum.md - docs/models/shared/SourceGainsightPx.md + - docs/models/shared/SourceGcs.md + - docs/models/shared/SourceGcsAuthType.md + - docs/models/shared/SourceGcsAuthentication.md + - docs/models/shared/SourceGcsAutogenerated.md + - docs/models/shared/SourceGcsAvroFormat.md + - docs/models/shared/SourceGcsCSVFormat.md + - docs/models/shared/SourceGcsCSVHeaderDefinition.md + - docs/models/shared/SourceGcsFileBasedStreamConfig.md + - docs/models/shared/SourceGcsFiletype.md + - docs/models/shared/SourceGcsFormat.md + - docs/models/shared/SourceGcsFromCSV.md - docs/models/shared/SourceGcsGcs.md - - docs/models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.md - - docs/models/shared/ExcelFormat.md - - docs/models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.md - - docs/models/shared/SourceGcsSchemasMode.md - - docs/models/shared/APIParameterConfigModel.md - - docs/models/shared/ViaAPI.md - - docs/models/shared/SourceGcsMode.md + - docs/models/shared/SourceGcsHeaderDefinitionType.md + - docs/models/shared/SourceGcsJsonlFormat.md - docs/models/shared/SourceGcsLocal.md - - docs/models/shared/SourceGcsProcessing.md - - docs/models/shared/SourceGcsParsingStrategy.md - - docs/models/shared/UnstructuredDocumentFormat.md - - docs/models/shared/SourceGcsSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceGcsMode.md - docs/models/shared/SourceGcsParquetFormat.md - - docs/models/shared/SourceGcsSchemasStreamsFiletype.md - - docs/models/shared/SourceGcsJsonlFormat.md + - docs/models/shared/SourceGcsParsingStrategy.md + - docs/models/shared/SourceGcsProcessing.md + - docs/models/shared/SourceGcsSchemasAuthType.md - docs/models/shared/SourceGcsSchemasFiletype.md + - docs/models/shared/SourceGcsSchemasHeaderDefinitionType.md + - docs/models/shared/SourceGcsSchemasMode.md + - docs/models/shared/SourceGcsSchemasStreamsFiletype.md + - docs/models/shared/SourceGcsSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.md + - docs/models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.md - docs/models/shared/SourceGcsSchemasStreamsHeaderDefinitionType.md - docs/models/shared/SourceGcsUserProvided.md - - docs/models/shared/SourceGcsSchemasHeaderDefinitionType.md - - docs/models/shared/SourceGcsAutogenerated.md - - docs/models/shared/SourceGcsHeaderDefinitionType.md - - docs/models/shared/SourceGcsFromCSV.md - - docs/models/shared/SourceGcsCSVHeaderDefinition.md - - docs/models/shared/SourceGcsCSVFormat.md - - docs/models/shared/SourceGcsFiletype.md - - docs/models/shared/SourceGcsAvroFormat.md - - docs/models/shared/SourceGcsFormat.md - docs/models/shared/SourceGcsValidationPolicy.md - - docs/models/shared/SourceGcsFileBasedStreamConfig.md - - docs/models/shared/SourceGcs.md - - docs/models/shared/Getlago.md + - docs/models/shared/SourceGetgist.md - docs/models/shared/SourceGetlago.md - - docs/models/shared/SourceGithubOptionTitle.md - - docs/models/shared/SourceGithubPersonalAccessToken.md - - docs/models/shared/OptionTitle.md - - docs/models/shared/OAuth.md + - docs/models/shared/SourceGitbook.md + - docs/models/shared/SourceGithub.md - docs/models/shared/SourceGithubAuthentication.md - docs/models/shared/SourceGithubGithub.md - - docs/models/shared/SourceGithub.md - - docs/models/shared/SourceGitlabSchemasAuthType.md - - docs/models/shared/PrivateToken.md + - docs/models/shared/SourceGithubOptionTitle.md + - docs/models/shared/SourceGithubPersonalAccessToken.md + - docs/models/shared/SourceGitlab.md - docs/models/shared/SourceGitlabAuthType.md - - docs/models/shared/SourceGitlabOAuth20.md - docs/models/shared/SourceGitlabAuthorizationMethod.md - docs/models/shared/SourceGitlabGitlab.md - - docs/models/shared/SourceGitlab.md - - docs/models/shared/Glassfrog.md + - docs/models/shared/SourceGitlabOAuth20.md + - docs/models/shared/SourceGitlabSchemasAuthType.md - docs/models/shared/SourceGlassfrog.md - - docs/models/shared/Country.md - - docs/models/shared/In.md - - docs/models/shared/Language.md - - docs/models/shared/Nullable.md - - docs/models/shared/SortBy.md - - docs/models/shared/Gnews.md - - docs/models/shared/TopHeadlinesTopic.md + - docs/models/shared/SourceGmail.md - docs/models/shared/SourceGnews.md - - docs/models/shared/Goldcast.md + - docs/models/shared/SourceGnewsCountry.md + - docs/models/shared/SourceGnewsLanguage.md + - docs/models/shared/SourceGnewsSortBy.md + - docs/models/shared/SourceGocardless.md - docs/models/shared/SourceGoldcast.md - - docs/models/shared/GoogleCredentials.md - - docs/models/shared/CustomQueriesArray.md - - docs/models/shared/CustomerStatus.md - - docs/models/shared/SourceGoogleAdsGoogleAds.md + - docs/models/shared/SourceGong.md - docs/models/shared/SourceGoogleAds.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.md + - docs/models/shared/SourceGoogleAdsGoogleAds.md + - docs/models/shared/SourceGoogleAnalyticsDataApi.md + - docs/models/shared/SourceGoogleAnalyticsDataApiAndGroup.md - docs/models/shared/SourceGoogleAnalyticsDataApiAuthType.md - - docs/models/shared/AuthenticateViaGoogleOauth.md + - docs/models/shared/SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.md + - docs/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.md - docs/models/shared/SourceGoogleAnalyticsDataApiCredentials.md - - docs/models/shared/CohortReportSettings.md - - docs/models/shared/DateRange.md - - docs/models/shared/Dimension.md - - docs/models/shared/Cohorts.md - - docs/models/shared/SourceGoogleAnalyticsDataApiGranularity.md - - docs/models/shared/CohortsRange.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.md - - docs/models/shared/SourceGoogleAnalyticsDataApiEnabled.md + - docs/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.md - docs/models/shared/SourceGoogleAnalyticsDataApiDisabled.md - - docs/models/shared/CohortReports.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.md - docs/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiInt64Value.md - - docs/models/shared/FromValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.md - - docs/models/shared/ToValue.md - - docs/models/shared/BetweenFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiValueType.md - - docs/models/shared/DoubleValue.md - - docs/models/shared/ValueType.md - - docs/models/shared/Int64Value.md - - docs/models/shared/Value.md - - docs/models/shared/NumericFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiFilterName.md - - docs/models/shared/InListFilter.md - - docs/models/shared/FilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiValidEnums.md - - docs/models/shared/StringFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiEnabled.md + - docs/models/shared/SourceGoogleAnalyticsDataApiExpression.md - docs/models/shared/SourceGoogleAnalyticsDataApiFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiFilterType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiFromValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.md + - docs/models/shared/SourceGoogleAnalyticsDataApiGranularity.md + - docs/models/shared/SourceGoogleAnalyticsDataApiInListFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiNotExpression.md + - docs/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiOrGroup.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.md - - docs/models/shared/NotExpression.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiExpression.md - - docs/models/shared/SourceGoogleAnalyticsDataApiFilterType.md - - docs/models/shared/OrGroup.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.md - - docs/models/shared/Expression.md - - docs/models/shared/FilterType.md - - docs/models/shared/AndGroup.md - - docs/models/shared/DimensionsFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiFromValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiToValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiInListFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiStringFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiNotExpression.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiOrGroup.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.md - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.md - - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.md - - docs/models/shared/SourceGoogleAnalyticsDataApiAndGroup.md - - docs/models/shared/MetricsFilter.md - - docs/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.md - - docs/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.md - - docs/models/shared/SourceGoogleAnalyticsDataApi.md - - docs/models/shared/SourceGoogleDirectorySchemasCredentialsTitle.md - - docs/models/shared/ServiceAccountKey.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.md + - docs/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.md + - docs/models/shared/SourceGoogleAnalyticsDataApiStringFilter.md + - docs/models/shared/SourceGoogleAnalyticsDataApiToValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiValidEnums.md + - docs/models/shared/SourceGoogleAnalyticsDataApiValue.md + - docs/models/shared/SourceGoogleAnalyticsDataApiValueType.md + - docs/models/shared/SourceGoogleCalendar.md + - docs/models/shared/SourceGoogleClassroom.md + - docs/models/shared/SourceGoogleDirectory.md - docs/models/shared/SourceGoogleDirectoryCredentialsTitle.md - - docs/models/shared/SignInViaGoogleOAuth.md - docs/models/shared/SourceGoogleDirectoryGoogleCredentials.md - - docs/models/shared/GoogleDirectory.md - - docs/models/shared/SourceGoogleDirectory.md - - docs/models/shared/SourceGoogleDriveSchemasAuthType.md - - docs/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.md + - docs/models/shared/SourceGoogleDirectorySchemasCredentialsTitle.md + - docs/models/shared/SourceGoogleDrive.md - docs/models/shared/SourceGoogleDriveAuthType.md - docs/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.md - docs/models/shared/SourceGoogleDriveAuthentication.md + - docs/models/shared/SourceGoogleDriveAutogenerated.md + - docs/models/shared/SourceGoogleDriveAvroFormat.md + - docs/models/shared/SourceGoogleDriveCSVFormat.md + - docs/models/shared/SourceGoogleDriveCSVHeaderDefinition.md + - docs/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.md + - docs/models/shared/SourceGoogleDriveFileBasedStreamConfig.md + - docs/models/shared/SourceGoogleDriveFiletype.md + - docs/models/shared/SourceGoogleDriveFormat.md + - docs/models/shared/SourceGoogleDriveFromCSV.md - docs/models/shared/SourceGoogleDriveGoogleDrive.md - - docs/models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.md - - docs/models/shared/SourceGoogleDriveMode.md + - docs/models/shared/SourceGoogleDriveHeaderDefinitionType.md + - docs/models/shared/SourceGoogleDriveJsonlFormat.md - docs/models/shared/SourceGoogleDriveLocal.md - - docs/models/shared/SourceGoogleDriveProcessing.md - - docs/models/shared/SourceGoogleDriveParsingStrategy.md - - docs/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.md - - docs/models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceGoogleDriveMode.md - docs/models/shared/SourceGoogleDriveParquetFormat.md - - docs/models/shared/SourceGoogleDriveSchemasStreamsFiletype.md - - docs/models/shared/SourceGoogleDriveJsonlFormat.md + - docs/models/shared/SourceGoogleDriveParsingStrategy.md + - docs/models/shared/SourceGoogleDriveProcessing.md + - docs/models/shared/SourceGoogleDriveSchemasAuthType.md - docs/models/shared/SourceGoogleDriveSchemasFiletype.md + - docs/models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.md + - docs/models/shared/SourceGoogleDriveSchemasStreamsFiletype.md + - docs/models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.md - docs/models/shared/SourceGoogleDriveSchemasStreamsHeaderDefinitionType.md + - docs/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.md - docs/models/shared/SourceGoogleDriveUserProvided.md - - docs/models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.md - - docs/models/shared/SourceGoogleDriveAutogenerated.md - - docs/models/shared/SourceGoogleDriveHeaderDefinitionType.md - - docs/models/shared/SourceGoogleDriveFromCSV.md - - docs/models/shared/SourceGoogleDriveCSVHeaderDefinition.md - - docs/models/shared/SourceGoogleDriveCSVFormat.md - - docs/models/shared/SourceGoogleDriveFiletype.md - - docs/models/shared/SourceGoogleDriveAvroFormat.md - - docs/models/shared/SourceGoogleDriveFormat.md - docs/models/shared/SourceGoogleDriveValidationPolicy.md - - docs/models/shared/SourceGoogleDriveFileBasedStreamConfig.md - - docs/models/shared/SourceGoogleDrive.md - - docs/models/shared/Categories.md - - docs/models/shared/GooglePagespeedInsights.md - - docs/models/shared/Strategies.md + - docs/models/shared/SourceGoogleForms.md - docs/models/shared/SourceGooglePagespeedInsights.md - - docs/models/shared/SourceGoogleSearchConsoleSchemasAuthType.md - - docs/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.md + - docs/models/shared/SourceGoogleSearchConsole.md - docs/models/shared/SourceGoogleSearchConsoleAuthType.md - - docs/models/shared/SourceGoogleSearchConsoleOAuth.md - - docs/models/shared/AuthenticationType.md - - docs/models/shared/SourceGoogleSearchConsoleValidEnums.md - docs/models/shared/SourceGoogleSearchConsoleCustomReportConfig.md - - docs/models/shared/DataFreshness.md - docs/models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.md - - docs/models/shared/SourceGoogleSearchConsole.md - - docs/models/shared/SourceGoogleSheetsSchemasAuthType.md - - docs/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.md + - docs/models/shared/SourceGoogleSearchConsoleOAuth.md + - docs/models/shared/SourceGoogleSearchConsoleSchemasAuthType.md + - docs/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.md + - docs/models/shared/SourceGoogleSearchConsoleValidEnums.md + - docs/models/shared/SourceGoogleSheets.md - docs/models/shared/SourceGoogleSheetsAuthType.md - docs/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.md - docs/models/shared/SourceGoogleSheetsAuthentication.md - docs/models/shared/SourceGoogleSheetsGoogleSheets.md - - docs/models/shared/SourceGoogleSheets.md - - docs/models/shared/GoogleTasks.md + - docs/models/shared/SourceGoogleSheetsSchemasAuthType.md + - docs/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.md - docs/models/shared/SourceGoogleTasks.md - - docs/models/shared/GoogleWebfonts.md - docs/models/shared/SourceGoogleWebfonts.md - - docs/models/shared/Greenhouse.md + - docs/models/shared/SourceGorgias.md - docs/models/shared/SourceGreenhouse.md - - docs/models/shared/Gridly.md - docs/models/shared/SourceGridly.md - - docs/models/shared/Guru.md - docs/models/shared/SourceGuru.md - - docs/models/shared/HardcodedRecords.md + - docs/models/shared/SourceGutendex.md - docs/models/shared/SourceHardcodedRecords.md - - docs/models/shared/Harvest.md - docs/models/shared/SourceHarvest.md - - docs/models/shared/Height.md + - docs/models/shared/SourceHarvestAuthType.md + - docs/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.md + - docs/models/shared/SourceHarvestAuthenticationMechanism.md + - docs/models/shared/SourceHarvestSchemasAuthType.md - docs/models/shared/SourceHeight.md - - docs/models/shared/Hibob.md - docs/models/shared/SourceHibob.md - - docs/models/shared/HighLevel.md - docs/models/shared/SourceHighLevel.md - - docs/models/shared/Hubplanner.md - docs/models/shared/SourceHubplanner.md - - docs/models/shared/SourceHubspotSchemasAuthType.md - - docs/models/shared/PrivateApp.md + - docs/models/shared/SourceHubspot.md - docs/models/shared/SourceHubspotAuthType.md - - docs/models/shared/SourceHubspotOAuth.md - docs/models/shared/SourceHubspotAuthentication.md - docs/models/shared/SourceHubspotHubspot.md - - docs/models/shared/SourceHubspot.md - - docs/models/shared/Insightly.md + - docs/models/shared/SourceHubspotOAuth.md + - docs/models/shared/SourceHubspotSchemasAuthType.md + - docs/models/shared/SourceHumanitix.md + - docs/models/shared/SourceIlluminaBasespace.md + - docs/models/shared/SourceIncidentIo.md + - docs/models/shared/SourceInflowinventory.md - docs/models/shared/SourceInsightly.md - - docs/models/shared/SourceInstagramInstagram.md - docs/models/shared/SourceInstagram.md - - docs/models/shared/Instatus.md + - docs/models/shared/SourceInstagramInstagram.md - docs/models/shared/SourceInstatus.md - - docs/models/shared/SourceIntercomIntercom.md - docs/models/shared/SourceIntercom.md - - docs/models/shared/Ip2whois.md + - docs/models/shared/SourceIntercomIntercom.md + - docs/models/shared/SourceInvoiced.md + - docs/models/shared/SourceInvoiceninja.md - docs/models/shared/SourceIp2whois.md - - docs/models/shared/Iterable.md - docs/models/shared/SourceIterable.md - - docs/models/shared/Jira.md - docs/models/shared/SourceJira.md - - docs/models/shared/SourceJotformSchemasApiEndpoint.md - - docs/models/shared/Enterprise.md - - docs/models/shared/SourceJotformApiEndpoint.md - - docs/models/shared/BaseURLPrefix.md - - docs/models/shared/Basic.md - - docs/models/shared/APIEndpoint.md - - docs/models/shared/Jotform.md + - docs/models/shared/SourceJobnimbus.md - docs/models/shared/SourceJotform.md - - docs/models/shared/K6Cloud.md + - docs/models/shared/SourceJotformApiEndpoint.md + - docs/models/shared/SourceJotformSchemasApiEndpoint.md + - docs/models/shared/SourceJustSift.md + - docs/models/shared/SourceJustcall.md - docs/models/shared/SourceK6Cloud.md - - docs/models/shared/SourceKlarnaRegion.md - - docs/models/shared/Klarna.md + - docs/models/shared/SourceKatana.md + - docs/models/shared/SourceKisi.md + - docs/models/shared/SourceKissmetrics.md - docs/models/shared/SourceKlarna.md - - docs/models/shared/Klaviyo.md + - docs/models/shared/SourceKlarnaRegion.md + - docs/models/shared/SourceKlausApi.md - docs/models/shared/SourceKlaviyo.md - - docs/models/shared/Kyve.md - docs/models/shared/SourceKyve.md - - docs/models/shared/Launchdarkly.md - docs/models/shared/SourceLaunchdarkly.md - - docs/models/shared/Leadfeeder.md - docs/models/shared/SourceLeadfeeder.md - - docs/models/shared/Lemlist.md - docs/models/shared/SourceLemlist.md - - docs/models/shared/SourceLeverHiringSchemasAuthType.md - - docs/models/shared/AuthenticateViaLeverApiKey.md + - docs/models/shared/SourceLessAnnoyingCrm.md + - docs/models/shared/SourceLeverHiring.md - docs/models/shared/SourceLeverHiringAuthType.md - - docs/models/shared/AuthenticateViaLeverOAuth.md - docs/models/shared/SourceLeverHiringAuthenticationMechanism.md - docs/models/shared/SourceLeverHiringEnvironment.md - docs/models/shared/SourceLeverHiringLeverHiring.md - - docs/models/shared/SourceLeverHiring.md - - docs/models/shared/PivotCategory.md - - docs/models/shared/TimeGranularity.md - - docs/models/shared/AdAnalyticsReportConfiguration.md - - docs/models/shared/SourceLinkedinAdsSchemasAuthMethod.md - - docs/models/shared/AccessToken.md + - docs/models/shared/SourceLeverHiringSchemasAuthType.md + - docs/models/shared/SourceLightspeedRetail.md + - docs/models/shared/SourceLinkedinAds.md + - docs/models/shared/SourceLinkedinAdsAccessToken.md - docs/models/shared/SourceLinkedinAdsAuthMethod.md - - docs/models/shared/SourceLinkedinAdsOAuth20.md - docs/models/shared/SourceLinkedinAdsAuthentication.md - docs/models/shared/SourceLinkedinAdsLinkedinAds.md - - docs/models/shared/SourceLinkedinAds.md - - docs/models/shared/SourceLinkedinPagesSchemasAuthMethod.md + - docs/models/shared/SourceLinkedinAdsOAuth20.md + - docs/models/shared/SourceLinkedinAdsSchemasAuthMethod.md + - docs/models/shared/SourceLinkedinPages.md - docs/models/shared/SourceLinkedinPagesAccessToken.md - docs/models/shared/SourceLinkedinPagesAuthMethod.md - - docs/models/shared/SourceLinkedinPagesOAuth20.md - docs/models/shared/SourceLinkedinPagesAuthentication.md - - docs/models/shared/LinkedinPages.md - - docs/models/shared/TimeGranularityType.md - - docs/models/shared/SourceLinkedinPages.md - - docs/models/shared/Linnworks.md + - docs/models/shared/SourceLinkedinPagesOAuth20.md + - docs/models/shared/SourceLinkedinPagesSchemasAuthMethod.md - docs/models/shared/SourceLinnworks.md - - docs/models/shared/Lokalise.md + - docs/models/shared/SourceLob.md - docs/models/shared/SourceLokalise.md - - docs/models/shared/Looker.md - docs/models/shared/SourceLooker.md - - docs/models/shared/Luma.md - docs/models/shared/SourceLuma.md - - docs/models/shared/SourceMailchimpSchemasAuthType.md - - docs/models/shared/APIKey.md + - docs/models/shared/SourceMailchimp.md - docs/models/shared/SourceMailchimpAuthType.md - - docs/models/shared/SourceMailchimpOAuth20.md - docs/models/shared/SourceMailchimpAuthentication.md - docs/models/shared/SourceMailchimpMailchimp.md - - docs/models/shared/SourceMailchimp.md - - docs/models/shared/DomainRegionCode.md - - docs/models/shared/Mailgun.md + - docs/models/shared/SourceMailchimpOAuth20.md + - docs/models/shared/SourceMailchimpSchemasAuthType.md + - docs/models/shared/SourceMailerlite.md - docs/models/shared/SourceMailgun.md - - docs/models/shared/MailjetSms.md + - docs/models/shared/SourceMailjetMail.md - docs/models/shared/SourceMailjetSms.md - - docs/models/shared/Marketo.md + - docs/models/shared/SourceMailosaur.md + - docs/models/shared/SourceMailtrap.md - docs/models/shared/SourceMarketo.md - - docs/models/shared/Metabase.md + - docs/models/shared/SourceMarketstack.md + - docs/models/shared/SourceMention.md - docs/models/shared/SourceMetabase.md - - docs/models/shared/SourceMicrosoftOnedriveSchemasAuthType.md - - docs/models/shared/ServiceKeyAuthentication.md + - docs/models/shared/SourceMicrosoftDataverse.md + - docs/models/shared/SourceMicrosoftEntraId.md + - docs/models/shared/SourceMicrosoftLists.md + - docs/models/shared/SourceMicrosoftOnedrive.md - docs/models/shared/SourceMicrosoftOnedriveAuthType.md - - docs/models/shared/AuthenticateViaMicrosoftOAuth.md - docs/models/shared/SourceMicrosoftOnedriveAuthentication.md - - docs/models/shared/SearchScope.md + - docs/models/shared/SourceMicrosoftOnedriveAutogenerated.md + - docs/models/shared/SourceMicrosoftOnedriveAvroFormat.md + - docs/models/shared/SourceMicrosoftOnedriveCSVFormat.md + - docs/models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.md + - docs/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.md + - docs/models/shared/SourceMicrosoftOnedriveFiletype.md + - docs/models/shared/SourceMicrosoftOnedriveFormat.md + - docs/models/shared/SourceMicrosoftOnedriveFromCSV.md + - docs/models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.md + - docs/models/shared/SourceMicrosoftOnedriveJsonlFormat.md + - docs/models/shared/SourceMicrosoftOnedriveLocal.md - docs/models/shared/SourceMicrosoftOnedriveMicrosoftOnedrive.md - - docs/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.md - docs/models/shared/SourceMicrosoftOnedriveMode.md - - docs/models/shared/SourceMicrosoftOnedriveLocal.md - - docs/models/shared/SourceMicrosoftOnedriveProcessing.md - - docs/models/shared/SourceMicrosoftOnedriveParsingStrategy.md - - docs/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.md - - docs/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.md - docs/models/shared/SourceMicrosoftOnedriveParquetFormat.md - - docs/models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.md - - docs/models/shared/SourceMicrosoftOnedriveJsonlFormat.md + - docs/models/shared/SourceMicrosoftOnedriveParsingStrategy.md + - docs/models/shared/SourceMicrosoftOnedriveProcessing.md + - docs/models/shared/SourceMicrosoftOnedriveSchemasAuthType.md - docs/models/shared/SourceMicrosoftOnedriveSchemasFiletype.md + - docs/models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.md + - docs/models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.md + - docs/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.md - docs/models/shared/SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType.md + - docs/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.md - docs/models/shared/SourceMicrosoftOnedriveUserProvided.md - - docs/models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.md - - docs/models/shared/SourceMicrosoftOnedriveAutogenerated.md - - docs/models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.md - - docs/models/shared/SourceMicrosoftOnedriveFromCSV.md - - docs/models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.md - - docs/models/shared/SourceMicrosoftOnedriveCSVFormat.md - - docs/models/shared/SourceMicrosoftOnedriveFiletype.md - - docs/models/shared/SourceMicrosoftOnedriveAvroFormat.md - - docs/models/shared/SourceMicrosoftOnedriveFormat.md - docs/models/shared/SourceMicrosoftOnedriveValidationPolicy.md - - docs/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.md - - docs/models/shared/SourceMicrosoftOnedrive.md - - docs/models/shared/SourceMicrosoftSharepointSchemasAuthType.md - - docs/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.md + - docs/models/shared/SourceMicrosoftSharepoint.md - docs/models/shared/SourceMicrosoftSharepointAuthType.md - docs/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.md - docs/models/shared/SourceMicrosoftSharepointAuthentication.md - - docs/models/shared/SourceMicrosoftSharepointSearchScope.md - - docs/models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.md - - docs/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.md + - docs/models/shared/SourceMicrosoftSharepointAutogenerated.md + - docs/models/shared/SourceMicrosoftSharepointAvroFormat.md + - docs/models/shared/SourceMicrosoftSharepointCSVFormat.md + - docs/models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.md - docs/models/shared/SourceMicrosoftSharepointExcelFormat.md - - docs/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.md - - docs/models/shared/SourceMicrosoftSharepointMode.md + - docs/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.md + - docs/models/shared/SourceMicrosoftSharepointFiletype.md + - docs/models/shared/SourceMicrosoftSharepointFormat.md + - docs/models/shared/SourceMicrosoftSharepointFromCSV.md + - docs/models/shared/SourceMicrosoftSharepointHeaderDefinitionType.md + - docs/models/shared/SourceMicrosoftSharepointJsonlFormat.md - docs/models/shared/SourceMicrosoftSharepointLocal.md - - docs/models/shared/SourceMicrosoftSharepointProcessing.md - - docs/models/shared/SourceMicrosoftSharepointParsingStrategy.md - - docs/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.md - - docs/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.md + - docs/models/shared/SourceMicrosoftSharepointMode.md - docs/models/shared/SourceMicrosoftSharepointParquetFormat.md - - docs/models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.md - - docs/models/shared/SourceMicrosoftSharepointJsonlFormat.md + - docs/models/shared/SourceMicrosoftSharepointParsingStrategy.md + - docs/models/shared/SourceMicrosoftSharepointProcessing.md + - docs/models/shared/SourceMicrosoftSharepointSchemasAuthType.md - docs/models/shared/SourceMicrosoftSharepointSchemasFiletype.md + - docs/models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.md + - docs/models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.md + - docs/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.md + - docs/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.md - docs/models/shared/SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType.md + - docs/models/shared/SourceMicrosoftSharepointSearchScope.md + - docs/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.md + - docs/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.md - docs/models/shared/SourceMicrosoftSharepointUserProvided.md - - docs/models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.md - - docs/models/shared/SourceMicrosoftSharepointAutogenerated.md - - docs/models/shared/SourceMicrosoftSharepointHeaderDefinitionType.md - - docs/models/shared/SourceMicrosoftSharepointFromCSV.md - - docs/models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.md - - docs/models/shared/SourceMicrosoftSharepointCSVFormat.md - - docs/models/shared/SourceMicrosoftSharepointFiletype.md - - docs/models/shared/SourceMicrosoftSharepointAvroFormat.md - - docs/models/shared/SourceMicrosoftSharepointFormat.md - docs/models/shared/SourceMicrosoftSharepointValidationPolicy.md - - docs/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.md - - docs/models/shared/SourceMicrosoftSharepoint.md - - docs/models/shared/SourceMicrosoftTeamsSchemasAuthType.md - - docs/models/shared/AuthenticateViaMicrosoft.md + - docs/models/shared/SourceMicrosoftTeams.md - docs/models/shared/SourceMicrosoftTeamsAuthType.md - - docs/models/shared/AuthenticateViaMicrosoftOAuth20.md - docs/models/shared/SourceMicrosoftTeamsAuthenticationMechanism.md - docs/models/shared/SourceMicrosoftTeamsMicrosoftTeams.md - - docs/models/shared/SourceMicrosoftTeams.md - - docs/models/shared/SourceMixpanelSchemasOptionTitle.md - - docs/models/shared/ProjectSecret.md + - docs/models/shared/SourceMicrosoftTeamsSchemasAuthType.md + - docs/models/shared/SourceMiro.md + - docs/models/shared/SourceMissive.md + - docs/models/shared/SourceMixmax.md + - docs/models/shared/SourceMixpanel.md - docs/models/shared/SourceMixpanelOptionTitle.md - - docs/models/shared/ServiceAccount.md - - docs/models/shared/AuthenticationWildcard.md - docs/models/shared/SourceMixpanelRegion.md - - docs/models/shared/Mixpanel.md - - docs/models/shared/SourceMixpanel.md - - docs/models/shared/SourceMondaySchemasAuthType.md - - docs/models/shared/APIToken.md + - docs/models/shared/SourceMixpanelSchemasOptionTitle.md + - docs/models/shared/SourceMode.md + - docs/models/shared/SourceMonday.md - docs/models/shared/SourceMondayAuthType.md - - docs/models/shared/SourceMondayOAuth20.md - docs/models/shared/SourceMondayAuthorizationMethod.md - docs/models/shared/SourceMondayMonday.md - - docs/models/shared/SourceMonday.md - - docs/models/shared/InvalidCDCPositionBehaviorAdvanced.md - - docs/models/shared/MongodbV2.md - - docs/models/shared/CaptureModeAdvanced.md + - docs/models/shared/SourceMondayOAuth20.md + - docs/models/shared/SourceMondaySchemasAuthType.md - docs/models/shared/SourceMongodbV2.md - - docs/models/shared/SourceMssqlSchemasMethod.md - - docs/models/shared/ScanChangesWithUserDefinedCursor.md + - docs/models/shared/SourceMongodbV2ClusterType.md + - docs/models/shared/SourceMongodbV2SchemasClusterType.md + - docs/models/shared/SourceMssql.md + - docs/models/shared/SourceMssqlEncryptedTrustServerCertificate.md + - docs/models/shared/SourceMssqlEncryptedVerifyCertificate.md - docs/models/shared/SourceMssqlInvalidCDCPositionBehaviorAdvanced.md - docs/models/shared/SourceMssqlMethod.md - - docs/models/shared/ReadChangesUsingChangeDataCaptureCDC.md - - docs/models/shared/UpdateMethod.md - docs/models/shared/SourceMssqlMssql.md + - docs/models/shared/SourceMssqlNoTunnel.md + - docs/models/shared/SourceMssqlPasswordAuthentication.md + - docs/models/shared/SourceMssqlSSHKeyAuthentication.md + - docs/models/shared/SourceMssqlSSHTunnelMethod.md + - docs/models/shared/SourceMssqlSSLMethod.md + - docs/models/shared/SourceMssqlSchemasMethod.md - docs/models/shared/SourceMssqlSchemasSSLMethodSSLMethodSSLMethod.md - - docs/models/shared/SourceMssqlEncryptedVerifyCertificate.md - - docs/models/shared/SourceMssqlSchemasSslMethodSslMethod.md - - docs/models/shared/SourceMssqlEncryptedTrustServerCertificate.md - docs/models/shared/SourceMssqlSchemasSslMethod.md - - docs/models/shared/SourceMssqlUnencrypted.md - - docs/models/shared/SourceMssqlSSLMethod.md - - docs/models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.md - - docs/models/shared/SourceMssqlPasswordAuthentication.md + - docs/models/shared/SourceMssqlSchemasSslMethodSslMethod.md - docs/models/shared/SourceMssqlSchemasTunnelMethod.md - - docs/models/shared/SourceMssqlSSHKeyAuthentication.md + - docs/models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.md - docs/models/shared/SourceMssqlTunnelMethod.md - - docs/models/shared/SourceMssqlNoTunnel.md - - docs/models/shared/SourceMssqlSSHTunnelMethod.md - - docs/models/shared/SourceMssql.md - - docs/models/shared/MyHours.md + - docs/models/shared/SourceMssqlUnencrypted.md + - docs/models/shared/SourceMux.md - docs/models/shared/SourceMyHours.md - - docs/models/shared/SourceMysqlSchemasMethod.md - - docs/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.md + - docs/models/shared/SourceMysql.md - docs/models/shared/SourceMysqlInvalidCDCPositionBehaviorAdvanced.md - docs/models/shared/SourceMysqlMethod.md - - docs/models/shared/ReadChangesUsingBinaryLogCDC.md - - docs/models/shared/SourceMysqlUpdateMethod.md + - docs/models/shared/SourceMysqlMode.md - docs/models/shared/SourceMysqlMysql.md + - docs/models/shared/SourceMysqlNoTunnel.md + - docs/models/shared/SourceMysqlPasswordAuthentication.md + - docs/models/shared/SourceMysqlSSHKeyAuthentication.md + - docs/models/shared/SourceMysqlSSHTunnelMethod.md + - docs/models/shared/SourceMysqlSSLModes.md + - docs/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.md + - docs/models/shared/SourceMysqlSchemasMethod.md + - docs/models/shared/SourceMysqlSchemasMode.md - docs/models/shared/SourceMysqlSchemasSSLModeSSLModesMode.md - - docs/models/shared/VerifyIdentity.md - docs/models/shared/SourceMysqlSchemasSslModeMode.md - - docs/models/shared/SourceMysqlVerifyCA.md - - docs/models/shared/SourceMysqlSchemasMode.md - - docs/models/shared/Required.md - - docs/models/shared/SourceMysqlMode.md - - docs/models/shared/Preferred.md - - docs/models/shared/SourceMysqlSSLModes.md - - docs/models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.md - - docs/models/shared/SourceMysqlPasswordAuthentication.md - docs/models/shared/SourceMysqlSchemasTunnelMethod.md - - docs/models/shared/SourceMysqlSSHKeyAuthentication.md + - docs/models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.md - docs/models/shared/SourceMysqlTunnelMethod.md - - docs/models/shared/SourceMysqlNoTunnel.md - - docs/models/shared/SourceMysqlSSHTunnelMethod.md - - docs/models/shared/SourceMysql.md - - docs/models/shared/Netsuite.md + - docs/models/shared/SourceMysqlUpdateMethod.md + - docs/models/shared/SourceMysqlVerifyCA.md + - docs/models/shared/SourceN8n.md + - docs/models/shared/SourceNasa.md - docs/models/shared/SourceNetsuite.md - - docs/models/shared/NorthpassLms.md + - docs/models/shared/SourceNewsApi.md + - docs/models/shared/SourceNewsdataIo.md + - docs/models/shared/SourceNocrm.md - docs/models/shared/SourceNorthpassLms.md - - docs/models/shared/SourceNotionSchemasAuthType.md + - docs/models/shared/SourceNotion.md - docs/models/shared/SourceNotionAccessToken.md - docs/models/shared/SourceNotionAuthType.md - - docs/models/shared/SourceNotionOAuth20.md - docs/models/shared/SourceNotionAuthenticationMethod.md - docs/models/shared/SourceNotionNotion.md - - docs/models/shared/SourceNotion.md - - docs/models/shared/APIServer.md - - docs/models/shared/Nylas.md + - docs/models/shared/SourceNotionOAuth20.md + - docs/models/shared/SourceNotionSchemasAuthType.md + - docs/models/shared/SourceNutshell.md - docs/models/shared/SourceNylas.md - - docs/models/shared/PeriodUsedForMostPopularStreams.md - - docs/models/shared/ShareTypeUsedForMostPopularSharedStream.md - - docs/models/shared/Nytimes.md - docs/models/shared/SourceNytimes.md - - docs/models/shared/SourceOktaSchemasCredentialsAuthType.md + - docs/models/shared/SourceOkta.md - docs/models/shared/SourceOktaAPIToken.md - - docs/models/shared/SourceOktaSchemasAuthType.md - - docs/models/shared/OAuth20WithPrivateKey.md - docs/models/shared/SourceOktaAuthType.md - - docs/models/shared/SourceOktaOAuth20.md - docs/models/shared/SourceOktaAuthorizationMethod.md - - docs/models/shared/Okta.md - - docs/models/shared/SourceOkta.md - - docs/models/shared/Omnisend.md + - docs/models/shared/SourceOktaOAuth20.md + - docs/models/shared/SourceOktaSchemasAuthType.md + - docs/models/shared/SourceOktaSchemasCredentialsAuthType.md - docs/models/shared/SourceOmnisend.md - - docs/models/shared/Applications.md - - docs/models/shared/Onesignal.md + - docs/models/shared/SourceOncehub.md + - docs/models/shared/SourceOnepagecrm.md - docs/models/shared/SourceOnesignal.md + - docs/models/shared/SourceOnfleet.md + - docs/models/shared/SourceOpenDataDc.md + - docs/models/shared/SourceOpenaq.md + - docs/models/shared/SourceOpenfda.md + - docs/models/shared/SourceOpenweather.md + - docs/models/shared/SourceOpinionStage.md + - docs/models/shared/SourceOpsgenie.md + - docs/models/shared/SourceOracle.md - docs/models/shared/SourceOracleConnectionType.md - - docs/models/shared/SystemIDSID.md - - docs/models/shared/ConnectionType.md - - docs/models/shared/ServiceName.md - - docs/models/shared/ConnectBy.md - - docs/models/shared/SourceOracleSchemasEncryptionEncryptionMethod.md - - docs/models/shared/SourceOracleTLSEncryptedVerifyCertificate.md + - docs/models/shared/SourceOracleEncryption.md - docs/models/shared/SourceOracleEncryptionAlgorithm.md - - docs/models/shared/SourceOracleSchemasEncryptionMethod.md - - docs/models/shared/SourceOracleNativeNetworkEncryptionNNE.md - docs/models/shared/SourceOracleEncryptionMethod.md - - docs/models/shared/SourceOracleUnencrypted.md - - docs/models/shared/SourceOracleEncryption.md + - docs/models/shared/SourceOracleNativeNetworkEncryptionNNE.md + - docs/models/shared/SourceOracleNoTunnel.md - docs/models/shared/SourceOracleOracle.md - - docs/models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.md - docs/models/shared/SourceOraclePasswordAuthentication.md - - docs/models/shared/SourceOracleSchemasTunnelMethod.md - docs/models/shared/SourceOracleSSHKeyAuthentication.md - - docs/models/shared/SourceOracleTunnelMethod.md - - docs/models/shared/SourceOracleNoTunnel.md - docs/models/shared/SourceOracleSSHTunnelMethod.md - - docs/models/shared/SourceOracle.md - - docs/models/shared/Orb.md + - docs/models/shared/SourceOracleSchemasEncryptionEncryptionMethod.md + - docs/models/shared/SourceOracleSchemasEncryptionMethod.md + - docs/models/shared/SourceOracleSchemasTunnelMethod.md + - docs/models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/SourceOracleTLSEncryptedVerifyCertificate.md + - docs/models/shared/SourceOracleTunnelMethod.md + - docs/models/shared/SourceOracleUnencrypted.md - docs/models/shared/SourceOrb.md - - docs/models/shared/Orbit.md - docs/models/shared/SourceOrbit.md - - docs/models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.md - - docs/models/shared/SourceOutbrainAmplifyUsernamePassword.md - - docs/models/shared/AccessTokenIsRequiredForAuthenticationRequests.md + - docs/models/shared/SourceOura.md + - docs/models/shared/SourceOutbrainAmplify.md - docs/models/shared/SourceOutbrainAmplifyAccessToken.md - docs/models/shared/SourceOutbrainAmplifyAuthenticationMethod.md - - docs/models/shared/GranularityForGeoLocationRegion.md - - docs/models/shared/GranularityForPeriodicReports.md - - docs/models/shared/OutbrainAmplify.md - - docs/models/shared/SourceOutbrainAmplify.md - - docs/models/shared/Outreach.md + - docs/models/shared/SourceOutbrainAmplifyUsernamePassword.md - docs/models/shared/SourceOutreach.md - - docs/models/shared/PaypalTransaction.md + - docs/models/shared/SourceOveit.md + - docs/models/shared/SourcePabblySubscriptionsBilling.md + - docs/models/shared/SourcePandadoc.md + - docs/models/shared/SourcePaperform.md + - docs/models/shared/SourcePapersign.md + - docs/models/shared/SourcePardot.md + - docs/models/shared/SourcePatchRequest.md - docs/models/shared/SourcePaypalTransaction.md - - docs/models/shared/Paystack.md - docs/models/shared/SourcePaystack.md - - docs/models/shared/Pendo.md - docs/models/shared/SourcePendo.md - - docs/models/shared/Pennylane.md - docs/models/shared/SourcePennylane.md - - docs/models/shared/Persistiq.md - docs/models/shared/SourcePersistiq.md - - docs/models/shared/PexelsApi.md + - docs/models/shared/SourcePersona.md - docs/models/shared/SourcePexelsApi.md - - docs/models/shared/Picqer.md - docs/models/shared/SourcePicqer.md + - docs/models/shared/SourcePinterest.md - docs/models/shared/SourcePinterestAuthMethod.md - - docs/models/shared/OAuth20.md - - docs/models/shared/SourcePinterestValidEnums.md - - docs/models/shared/ClickWindowDays.md - - docs/models/shared/SourcePinterestSchemasValidEnums.md - - docs/models/shared/ConversionReportTime.md - - docs/models/shared/EngagementWindowDays.md - - docs/models/shared/Granularity.md - docs/models/shared/SourcePinterestLevel.md - - docs/models/shared/ViewWindowDays.md - - docs/models/shared/ReportConfig.md - docs/models/shared/SourcePinterestPinterest.md - - docs/models/shared/Status.md - - docs/models/shared/SourcePinterest.md - - docs/models/shared/Pipedrive.md + - docs/models/shared/SourcePinterestSchemasValidEnums.md + - docs/models/shared/SourcePinterestValidEnums.md - docs/models/shared/SourcePipedrive.md - - docs/models/shared/Piwik.md + - docs/models/shared/SourcePipeliner.md + - docs/models/shared/SourcePivotalTracker.md - docs/models/shared/SourcePiwik.md - - docs/models/shared/Planhat.md + - docs/models/shared/SourcePlaid.md - docs/models/shared/SourcePlanhat.md - - docs/models/shared/ContentType.md - - docs/models/shared/DetailType.md - - docs/models/shared/SourcePocketSortBy.md - - docs/models/shared/Pocket.md - - docs/models/shared/State.md + - docs/models/shared/SourcePlausible.md - docs/models/shared/SourcePocket.md - - docs/models/shared/PokemonName.md - - docs/models/shared/Pokeapi.md + - docs/models/shared/SourcePocketSortBy.md - docs/models/shared/SourcePokeapi.md - - docs/models/shared/PolygonStockApi.md - docs/models/shared/SourcePolygonStockApi.md - - docs/models/shared/SourcePostgresSchemasMethod.md - - docs/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.md + - docs/models/shared/SourcePostgres.md + - docs/models/shared/SourcePostgresAllow.md + - docs/models/shared/SourcePostgresDisable.md + - docs/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.md - docs/models/shared/SourcePostgresMethod.md - - docs/models/shared/DetectChangesWithXminSystemColumn.md - - docs/models/shared/SourcePostgresUpdateMethod.md - - docs/models/shared/SourcePostgresPostgres.md - - docs/models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/SourcePostgresMode.md + - docs/models/shared/SourcePostgresNoTunnel.md - docs/models/shared/SourcePostgresPasswordAuthentication.md - - docs/models/shared/SourcePostgresSchemasTunnelMethod.md + - docs/models/shared/SourcePostgresPostgres.md + - docs/models/shared/SourcePostgresPrefer.md + - docs/models/shared/SourcePostgresRequire.md - docs/models/shared/SourcePostgresSSHKeyAuthentication.md - - docs/models/shared/SourcePostgresTunnelMethod.md - - docs/models/shared/SourcePostgresNoTunnel.md - docs/models/shared/SourcePostgresSSHTunnelMethod.md - - docs/models/shared/SourcePostgres.md - - docs/models/shared/Posthog.md + - docs/models/shared/SourcePostgresSSLModes.md + - docs/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.md + - docs/models/shared/SourcePostgresSchemasMethod.md + - docs/models/shared/SourcePostgresSchemasMode.md + - docs/models/shared/SourcePostgresSchemasReplicationMethodMethod.md + - docs/models/shared/SourcePostgresSchemasSSLModeSSLModes5Mode.md + - docs/models/shared/SourcePostgresSchemasSSLModeSSLModes6Mode.md + - docs/models/shared/SourcePostgresSchemasSSLModeSSLModesMode.md + - docs/models/shared/SourcePostgresSchemasSslModeMode.md + - docs/models/shared/SourcePostgresSchemasTunnelMethod.md + - docs/models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.md + - docs/models/shared/SourcePostgresTunnelMethod.md + - docs/models/shared/SourcePostgresUpdateMethod.md + - docs/models/shared/SourcePostgresVerifyCa.md + - docs/models/shared/SourcePostgresVerifyFull.md - docs/models/shared/SourcePosthog.md - - docs/models/shared/Postmarkapp.md - docs/models/shared/SourcePostmarkapp.md - - docs/models/shared/Prestashop.md - docs/models/shared/SourcePrestashop.md - - docs/models/shared/Productboard.md + - docs/models/shared/SourcePretix.md + - docs/models/shared/SourcePrimetric.md - docs/models/shared/SourceProductboard.md - - docs/models/shared/Productive.md - docs/models/shared/SourceProductive.md - - docs/models/shared/Pypi.md + - docs/models/shared/SourcePutRequest.md - docs/models/shared/SourcePypi.md - - docs/models/shared/Qualaroo.md - docs/models/shared/SourceQualaroo.md - - docs/models/shared/Railz.md + - docs/models/shared/SourceQuickbooks.md + - docs/models/shared/SourceQuickbooksAuthType.md + - docs/models/shared/SourceQuickbooksAuthorizationMethod.md + - docs/models/shared/SourceQuickbooksOAuth20.md - docs/models/shared/SourceRailz.md - - docs/models/shared/Recharge.md + - docs/models/shared/SourceRdStationMarketing.md + - docs/models/shared/SourceRdStationMarketingAuthType.md + - docs/models/shared/SourceRdStationMarketingAuthenticationType.md + - docs/models/shared/SourceRdStationMarketingRdStationMarketing.md - docs/models/shared/SourceRecharge.md - - docs/models/shared/Recreation.md - docs/models/shared/SourceRecreation.md - - docs/models/shared/Recruitee.md - docs/models/shared/SourceRecruitee.md - - docs/models/shared/Recurly.md - docs/models/shared/SourceRecurly.md - - docs/models/shared/Reddit.md - docs/models/shared/SourceReddit.md - - docs/models/shared/SourceRedshiftRedshift.md - docs/models/shared/SourceRedshift.md - - docs/models/shared/SourceRetentlyRetently.md + - docs/models/shared/SourceRedshiftRedshift.md + - docs/models/shared/SourceReferralhero.md + - docs/models/shared/SourceRentcast.md + - docs/models/shared/SourceRepairshopr.md + - docs/models/shared/SourceReplyIo.md + - docs/models/shared/SourceResponse.md - docs/models/shared/SourceRetently.md - - docs/models/shared/RkiCovid.md + - docs/models/shared/SourceRetentlyAuthType.md + - docs/models/shared/SourceRetentlyAuthenticationMechanism.md + - docs/models/shared/SourceRetentlySchemasAuthType.md + - docs/models/shared/SourceRevenuecat.md + - docs/models/shared/SourceRevolutMerchant.md + - docs/models/shared/SourceRevolutMerchantEnvironment.md - docs/models/shared/SourceRkiCovid.md - - docs/models/shared/Rss.md + - docs/models/shared/SourceRocketlane.md + - docs/models/shared/SourceRollbar.md + - docs/models/shared/SourceRootly.md - docs/models/shared/SourceRss.md - - docs/models/shared/SourceS3S3.md - - docs/models/shared/SourceS3SchemasStreamsFormatFormatFiletype.md - - docs/models/shared/SourceS3Mode.md + - docs/models/shared/SourceRuddr.md + - docs/models/shared/SourceS3.md + - docs/models/shared/SourceS3Autogenerated.md + - docs/models/shared/SourceS3AvroFormat.md + - docs/models/shared/SourceS3CSVFormat.md + - docs/models/shared/SourceS3CSVHeaderDefinition.md + - docs/models/shared/SourceS3DeliveryType.md + - docs/models/shared/SourceS3ExcelFormat.md + - docs/models/shared/SourceS3FileBasedStreamConfig.md + - docs/models/shared/SourceS3Filetype.md + - docs/models/shared/SourceS3Format.md + - docs/models/shared/SourceS3FromCSV.md + - docs/models/shared/SourceS3HeaderDefinitionType.md + - docs/models/shared/SourceS3JsonlFormat.md - docs/models/shared/SourceS3Local.md - - docs/models/shared/SourceS3Processing.md - - docs/models/shared/SourceS3ParsingStrategy.md - - docs/models/shared/SourceS3UnstructuredDocumentFormat.md - - docs/models/shared/SourceS3SchemasStreamsFormatFiletype.md + - docs/models/shared/SourceS3Mode.md - docs/models/shared/SourceS3ParquetFormat.md - - docs/models/shared/SourceS3SchemasStreamsFiletype.md - - docs/models/shared/SourceS3JsonlFormat.md + - docs/models/shared/SourceS3ParsingStrategy.md + - docs/models/shared/SourceS3Processing.md + - docs/models/shared/SourceS3S3.md - docs/models/shared/SourceS3SchemasFiletype.md + - docs/models/shared/SourceS3SchemasHeaderDefinitionType.md + - docs/models/shared/SourceS3SchemasStreamsFiletype.md + - docs/models/shared/SourceS3SchemasStreamsFormatFiletype.md + - docs/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.md + - docs/models/shared/SourceS3SchemasStreamsFormatFormatFiletype.md - docs/models/shared/SourceS3SchemasStreamsHeaderDefinitionType.md + - docs/models/shared/SourceS3UnstructuredDocumentFormat.md - docs/models/shared/SourceS3UserProvided.md - - docs/models/shared/SourceS3SchemasHeaderDefinitionType.md - - docs/models/shared/SourceS3Autogenerated.md - - docs/models/shared/SourceS3HeaderDefinitionType.md - - docs/models/shared/SourceS3FromCSV.md - - docs/models/shared/SourceS3CSVHeaderDefinition.md - - docs/models/shared/SourceS3CSVFormat.md - - docs/models/shared/SourceS3Filetype.md - - docs/models/shared/SourceS3AvroFormat.md - - docs/models/shared/SourceS3Format.md - docs/models/shared/SourceS3ValidationPolicy.md - - docs/models/shared/SourceS3FileBasedStreamConfig.md - - docs/models/shared/SourceS3.md - - docs/models/shared/AuthType.md - - docs/models/shared/SourceSalesforceSalesforce.md - - docs/models/shared/SearchCriteria.md - - docs/models/shared/StreamsCriteria.md + - docs/models/shared/SourceSafetyculture.md + - docs/models/shared/SourceSageHr.md + - docs/models/shared/SourceSalesflare.md - docs/models/shared/SourceSalesforce.md - - docs/models/shared/SourceSalesloftSchemasAuthType.md - - docs/models/shared/AuthenticateViaAPIKey.md + - docs/models/shared/SourceSalesforceSalesforce.md + - docs/models/shared/SourceSalesloft.md - docs/models/shared/SourceSalesloftAuthType.md - - docs/models/shared/AuthenticateViaOAuth.md - docs/models/shared/SourceSalesloftCredentials.md - - docs/models/shared/Salesloft.md - - docs/models/shared/SourceSalesloft.md - - docs/models/shared/SapFieldglass.md + - docs/models/shared/SourceSalesloftSchemasAuthType.md - docs/models/shared/SourceSapFieldglass.md - - docs/models/shared/Savvycal.md - docs/models/shared/SourceSavvycal.md - - docs/models/shared/Scryfall.md - docs/models/shared/SourceScryfall.md - - docs/models/shared/Secoda.md - docs/models/shared/SourceSecoda.md - - docs/models/shared/Sendgrid.md + - docs/models/shared/SourceSegment.md - docs/models/shared/SourceSendgrid.md - - docs/models/shared/Sendinblue.md - docs/models/shared/SourceSendinblue.md - - docs/models/shared/Senseforce.md + - docs/models/shared/SourceSendowl.md + - docs/models/shared/SourceSendpulse.md - docs/models/shared/SourceSenseforce.md - - docs/models/shared/Sentry.md - docs/models/shared/SourceSentry.md - - docs/models/shared/SourceSftpSchemasAuthMethod.md - - docs/models/shared/SourceSftpSSHKeyAuthentication.md + - docs/models/shared/SourceSftp.md - docs/models/shared/SourceSftpAuthMethod.md - - docs/models/shared/SourceSftpPasswordAuthentication.md - docs/models/shared/SourceSftpAuthentication.md - - docs/models/shared/Sftp.md - - docs/models/shared/SourceSftp.md - - docs/models/shared/SourceSftpBulkSchemasAuthType.md - - docs/models/shared/AuthenticateViaPrivateKey.md + - docs/models/shared/SourceSftpBulk.md + - docs/models/shared/SourceSftpBulkAPIParameterConfigModel.md - docs/models/shared/SourceSftpBulkAuthType.md - - docs/models/shared/AuthenticateViaPassword.md - docs/models/shared/SourceSftpBulkAuthentication.md - - docs/models/shared/SftpBulk.md - - docs/models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.md + - docs/models/shared/SourceSftpBulkAutogenerated.md + - docs/models/shared/SourceSftpBulkAvroFormat.md + - docs/models/shared/SourceSftpBulkCSVFormat.md + - docs/models/shared/SourceSftpBulkCSVHeaderDefinition.md + - docs/models/shared/SourceSftpBulkCopyRawFiles.md + - docs/models/shared/SourceSftpBulkDeliveryMethod.md + - docs/models/shared/SourceSftpBulkDeliveryType.md - docs/models/shared/SourceSftpBulkExcelFormat.md - - docs/models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.md - - docs/models/shared/SourceSftpBulkSchemasMode.md - - docs/models/shared/SourceSftpBulkAPIParameterConfigModel.md - - docs/models/shared/SourceSftpBulkViaAPI.md - - docs/models/shared/SourceSftpBulkMode.md + - docs/models/shared/SourceSftpBulkFileBasedStreamConfig.md + - docs/models/shared/SourceSftpBulkFiletype.md + - docs/models/shared/SourceSftpBulkFormat.md + - docs/models/shared/SourceSftpBulkFromCSV.md + - docs/models/shared/SourceSftpBulkHeaderDefinitionType.md + - docs/models/shared/SourceSftpBulkJsonlFormat.md - docs/models/shared/SourceSftpBulkLocal.md - - docs/models/shared/SourceSftpBulkProcessing.md - - docs/models/shared/SourceSftpBulkParsingStrategy.md - - docs/models/shared/SourceSftpBulkUnstructuredDocumentFormat.md - - docs/models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceSftpBulkMode.md - docs/models/shared/SourceSftpBulkParquetFormat.md - - docs/models/shared/SourceSftpBulkSchemasStreamsFiletype.md - - docs/models/shared/SourceSftpBulkJsonlFormat.md + - docs/models/shared/SourceSftpBulkParsingStrategy.md + - docs/models/shared/SourceSftpBulkProcessing.md + - docs/models/shared/SourceSftpBulkReplicateRecords.md + - docs/models/shared/SourceSftpBulkSchemasAuthType.md + - docs/models/shared/SourceSftpBulkSchemasDeliveryType.md - docs/models/shared/SourceSftpBulkSchemasFiletype.md + - docs/models/shared/SourceSftpBulkSchemasHeaderDefinitionType.md + - docs/models/shared/SourceSftpBulkSchemasMode.md + - docs/models/shared/SourceSftpBulkSchemasStreamsFiletype.md + - docs/models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.md + - docs/models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.md + - docs/models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.md - docs/models/shared/SourceSftpBulkSchemasStreamsHeaderDefinitionType.md + - docs/models/shared/SourceSftpBulkUnstructuredDocumentFormat.md - docs/models/shared/SourceSftpBulkUserProvided.md - - docs/models/shared/SourceSftpBulkSchemasHeaderDefinitionType.md - - docs/models/shared/SourceSftpBulkAutogenerated.md - - docs/models/shared/SourceSftpBulkHeaderDefinitionType.md - - docs/models/shared/SourceSftpBulkFromCSV.md - - docs/models/shared/SourceSftpBulkCSVHeaderDefinition.md - - docs/models/shared/SourceSftpBulkCSVFormat.md - - docs/models/shared/SourceSftpBulkFiletype.md - - docs/models/shared/SourceSftpBulkAvroFormat.md - - docs/models/shared/SourceSftpBulkFormat.md - docs/models/shared/SourceSftpBulkValidationPolicy.md - - docs/models/shared/SourceSftpBulkFileBasedStreamConfig.md - - docs/models/shared/SourceSftpBulk.md - - docs/models/shared/SourceShopifySchemasAuthMethod.md - - docs/models/shared/APIPassword.md + - docs/models/shared/SourceSftpBulkViaAPI.md + - docs/models/shared/SourceSftpPasswordAuthentication.md + - docs/models/shared/SourceSftpSSHKeyAuthentication.md + - docs/models/shared/SourceSftpSchemasAuthMethod.md + - docs/models/shared/SourceSharetribe.md + - docs/models/shared/SourceShippo.md + - docs/models/shared/SourceShopify.md - docs/models/shared/SourceShopifyAuthMethod.md - docs/models/shared/SourceShopifyOAuth20.md - - docs/models/shared/ShopifyAuthorizationMethod.md + - docs/models/shared/SourceShopifySchemasAuthMethod.md - docs/models/shared/SourceShopifyShopify.md - - docs/models/shared/SourceShopify.md - - docs/models/shared/Shortcut.md - docs/models/shared/SourceShortcut.md - - docs/models/shared/Shortio.md - docs/models/shared/SourceShortio.md - - docs/models/shared/SourceSlackSchemasOptionTitle.md + - docs/models/shared/SourceSigmaComputing.md + - docs/models/shared/SourceSimfin.md + - docs/models/shared/SourceSimplecast.md + - docs/models/shared/SourceSimplesat.md + - docs/models/shared/SourceSlack.md - docs/models/shared/SourceSlackAPIToken.md - - docs/models/shared/SourceSlackOptionTitle.md - - docs/models/shared/SignInViaSlackOAuth.md - docs/models/shared/SourceSlackAuthenticationMechanism.md + - docs/models/shared/SourceSlackOptionTitle.md + - docs/models/shared/SourceSlackSchemasOptionTitle.md - docs/models/shared/SourceSlackSlack.md - - docs/models/shared/SourceSlack.md - - docs/models/shared/Smaily.md - docs/models/shared/SourceSmaily.md - - docs/models/shared/Smartengage.md - docs/models/shared/SourceSmartengage.md - - docs/models/shared/SourceSmartsheetsSchemasAuthType.md - - docs/models/shared/APIAccessToken.md + - docs/models/shared/SourceSmartreach.md + - docs/models/shared/SourceSmartsheets.md - docs/models/shared/SourceSmartsheetsAuthType.md - - docs/models/shared/SourceSmartsheetsOAuth20.md - docs/models/shared/SourceSmartsheetsAuthorizationMethod.md - - docs/models/shared/Validenums.md + - docs/models/shared/SourceSmartsheetsOAuth20.md + - docs/models/shared/SourceSmartsheetsSchemasAuthType.md - docs/models/shared/SourceSmartsheetsSmartsheets.md - - docs/models/shared/SourceSmartsheets.md - - docs/models/shared/ActionReportTime.md - - docs/models/shared/SourceSnapchatMarketingSnapchatMarketing.md - - docs/models/shared/SwipeUpAttributionWindow.md - - docs/models/shared/ViewAttributionWindow.md + - docs/models/shared/SourceSmartwaiver.md - docs/models/shared/SourceSnapchatMarketing.md - - docs/models/shared/SourceSnowflakeSchemasCredentialsAuthType.md - - docs/models/shared/SourceSnowflakeUsernameAndPassword.md - - docs/models/shared/SourceSnowflakeSchemasAuthType.md - - docs/models/shared/SourceSnowflakeKeyPairAuthentication.md + - docs/models/shared/SourceSnapchatMarketingSnapchatMarketing.md + - docs/models/shared/SourceSnowflake.md - docs/models/shared/SourceSnowflakeAuthType.md - - docs/models/shared/SourceSnowflakeOAuth20.md - docs/models/shared/SourceSnowflakeAuthorizationMethod.md + - docs/models/shared/SourceSnowflakeKeyPairAuthentication.md + - docs/models/shared/SourceSnowflakeOAuth20.md + - docs/models/shared/SourceSnowflakeSchemasAuthType.md + - docs/models/shared/SourceSnowflakeSchemasCredentialsAuthType.md - docs/models/shared/SourceSnowflakeSnowflake.md - - docs/models/shared/SourceSnowflake.md - - docs/models/shared/SonarCloud.md + - docs/models/shared/SourceSnowflakeUsernameAndPassword.md + - docs/models/shared/SourceSolarwindsServiceDesk.md - docs/models/shared/SourceSonarCloud.md - - docs/models/shared/SpacexApi.md - docs/models/shared/SourceSpacexApi.md - - docs/models/shared/SourceSquareSchemasAuthType.md + - docs/models/shared/SourceSparkpost.md + - docs/models/shared/SourceSplitIo.md + - docs/models/shared/SourceSpotlercrm.md + - docs/models/shared/SourceSquare.md - docs/models/shared/SourceSquareAPIKey.md - docs/models/shared/SourceSquareAuthType.md - - docs/models/shared/OauthAuthentication.md - docs/models/shared/SourceSquareAuthentication.md - - docs/models/shared/SourceSquareSquare.md - - docs/models/shared/SourceSquare.md - - docs/models/shared/SourceStravaAuthType.md - - docs/models/shared/Strava.md + - docs/models/shared/SourceSquareSchemasAuthType.md + - docs/models/shared/SourceSquarespace.md + - docs/models/shared/SourceStatsig.md + - docs/models/shared/SourceStatuspage.md + - docs/models/shared/SourceStockdata.md - docs/models/shared/SourceStrava.md - - docs/models/shared/Stripe.md + - docs/models/shared/SourceStravaAuthType.md - docs/models/shared/SourceStripe.md - - docs/models/shared/SourceSurveySparrowUrlBase.md - - docs/models/shared/GlobalAccount.md - - docs/models/shared/UrlBase.md - - docs/models/shared/EUBasedAccount.md - - docs/models/shared/BaseURL.md - - docs/models/shared/SurveySparrow.md - docs/models/shared/SourceSurveySparrow.md + - docs/models/shared/SourceSurveySparrowUrlBase.md + - docs/models/shared/SourceSurveymonkey.md - docs/models/shared/SourceSurveymonkeyAuthMethod.md - - docs/models/shared/SurveyMonkeyAuthorizationMethod.md - - docs/models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.md - docs/models/shared/SourceSurveymonkeySurveymonkey.md - - docs/models/shared/SourceSurveymonkey.md - - docs/models/shared/Survicate.md - docs/models/shared/SourceSurvicate.md - - docs/models/shared/Teamwork.md + - docs/models/shared/SourceSysteme.md + - docs/models/shared/SourceTaboola.md + - docs/models/shared/SourceTeamtailor.md - docs/models/shared/SourceTeamwork.md - - docs/models/shared/Tempo.md - docs/models/shared/SourceTempo.md - - docs/models/shared/TheGuardianApi.md + - docs/models/shared/SourceTestrail.md - docs/models/shared/SourceTheGuardianApi.md - - docs/models/shared/SourceTiktokMarketingSchemasAuthType.md - - docs/models/shared/SandboxAccessToken.md + - docs/models/shared/SourceThinkific.md + - docs/models/shared/SourceTicketmaster.md + - docs/models/shared/SourceTickettailor.md + - docs/models/shared/SourceTiktokMarketing.md - docs/models/shared/SourceTiktokMarketingAuthType.md - - docs/models/shared/SourceTiktokMarketingOAuth20.md - docs/models/shared/SourceTiktokMarketingAuthenticationMethod.md + - docs/models/shared/SourceTiktokMarketingOAuth20.md + - docs/models/shared/SourceTiktokMarketingSchemasAuthType.md - docs/models/shared/SourceTiktokMarketingTiktokMarketing.md - - docs/models/shared/SourceTiktokMarketing.md - - docs/models/shared/Trello.md + - docs/models/shared/SourceTimely.md + - docs/models/shared/SourceTinyemail.md + - docs/models/shared/SourceTodoist.md + - docs/models/shared/SourceTrackPms.md - docs/models/shared/SourceTrello.md - - docs/models/shared/SourceTrustpilotSchemasAuthType.md + - docs/models/shared/SourceTremendous.md + - docs/models/shared/SourceTremendousEnvironment.md + - docs/models/shared/SourceTrustpilot.md - docs/models/shared/SourceTrustpilotAPIKey.md - docs/models/shared/SourceTrustpilotAuthType.md - - docs/models/shared/SourceTrustpilotOAuth20.md - docs/models/shared/SourceTrustpilotAuthorizationMethod.md - - docs/models/shared/Trustpilot.md - - docs/models/shared/SourceTrustpilot.md - - docs/models/shared/TvmazeSchedule.md + - docs/models/shared/SourceTrustpilotOAuth20.md + - docs/models/shared/SourceTrustpilotSchemasAuthType.md - docs/models/shared/SourceTvmazeSchedule.md - - docs/models/shared/Twilio.md + - docs/models/shared/SourceTwelveData.md - docs/models/shared/SourceTwilio.md - - docs/models/shared/TwilioTaskrouter.md - docs/models/shared/SourceTwilioTaskrouter.md - - docs/models/shared/Twitter.md - docs/models/shared/SourceTwitter.md - - docs/models/shared/SourceTypeformSchemasAuthType.md - - docs/models/shared/SourceTypeformPrivateToken.md + - docs/models/shared/SourceTypeform.md - docs/models/shared/SourceTypeformAuthType.md - - docs/models/shared/SourceTypeformOAuth20.md - docs/models/shared/SourceTypeformAuthorizationMethod.md + - docs/models/shared/SourceTypeformOAuth20.md + - docs/models/shared/SourceTypeformPrivateToken.md + - docs/models/shared/SourceTypeformSchemasAuthType.md - docs/models/shared/SourceTypeformTypeform.md - - docs/models/shared/SourceTypeform.md - - docs/models/shared/UsCensus.md + - docs/models/shared/SourceUbidots.md + - docs/models/shared/SourceUnleash.md + - docs/models/shared/SourceUppromote.md - docs/models/shared/SourceUsCensus.md + - docs/models/shared/SourceUservoice.md + - docs/models/shared/SourceVantage.md + - docs/models/shared/SourceVeeqo.md + - docs/models/shared/SourceVercel.md + - docs/models/shared/SourceVismaEconomic.md + - docs/models/shared/SourceVitally.md + - docs/models/shared/SourceVitallyStatus.md + - docs/models/shared/SourceVwo.md + - docs/models/shared/SourceWaiteraid.md + - docs/models/shared/SourceWasabiStatsApi.md + - docs/models/shared/SourceWeatherstack.md + - docs/models/shared/SourceWebScrapper.md + - docs/models/shared/SourceWebflow.md + - docs/models/shared/SourceWhenIWork.md + - docs/models/shared/SourceWhiskyHunter.md + - docs/models/shared/SourceWikipediaPageviews.md + - docs/models/shared/SourceWoocommerce.md + - docs/models/shared/SourceWordpress.md + - docs/models/shared/SourceWorkable.md + - docs/models/shared/SourceWorkflowmax.md + - docs/models/shared/SourceWorkramp.md + - docs/models/shared/SourceWrike.md + - docs/models/shared/SourceWufoo.md + - docs/models/shared/SourceXkcd.md + - docs/models/shared/SourceXsolla.md + - docs/models/shared/SourceYahooFinancePrice.md + - docs/models/shared/SourceYahooFinancePriceInterval.md + - docs/models/shared/SourceYandexMetrica.md + - docs/models/shared/SourceYotpo.md + - docs/models/shared/SourceYouNeedABudgetYnab.md + - docs/models/shared/SourceYoutubeAnalytics.md + - docs/models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.md + - docs/models/shared/SourceYoutubeData.md + - docs/models/shared/SourceZapierSupportedStorage.md + - docs/models/shared/SourceZendeskChat.md + - docs/models/shared/SourceZendeskChatAccessToken.md + - docs/models/shared/SourceZendeskChatAuthorizationMethod.md + - docs/models/shared/SourceZendeskChatCredentials.md + - docs/models/shared/SourceZendeskChatOAuth20.md + - docs/models/shared/SourceZendeskChatSchemasCredentials.md + - docs/models/shared/SourceZendeskChatZendeskChat.md + - docs/models/shared/SourceZendeskSunshine.md + - docs/models/shared/SourceZendeskSunshineAPIToken.md + - docs/models/shared/SourceZendeskSunshineAuthMethod.md + - docs/models/shared/SourceZendeskSunshineAuthorizationMethod.md + - docs/models/shared/SourceZendeskSunshineOAuth20.md + - docs/models/shared/SourceZendeskSunshineSchemasAuthMethod.md + - docs/models/shared/SourceZendeskSupport.md + - docs/models/shared/SourceZendeskSupportAPIToken.md + - docs/models/shared/SourceZendeskSupportAuthentication.md + - docs/models/shared/SourceZendeskSupportCredentials.md + - docs/models/shared/SourceZendeskSupportOAuth20.md + - docs/models/shared/SourceZendeskSupportSchemasCredentials.md + - docs/models/shared/SourceZendeskSupportZendeskSupport.md + - docs/models/shared/SourceZendeskTalk.md + - docs/models/shared/SourceZendeskTalkAPIToken.md + - docs/models/shared/SourceZendeskTalkAuthType.md + - docs/models/shared/SourceZendeskTalkAuthentication.md + - docs/models/shared/SourceZendeskTalkOAuth20.md + - docs/models/shared/SourceZendeskTalkSchemasAuthType.md + - docs/models/shared/SourceZendeskTalkZendeskTalk.md + - docs/models/shared/SourceZenefits.md + - docs/models/shared/SourceZenloop.md + - docs/models/shared/SourceZohoAnalyticsMetadataApi.md + - docs/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.md + - docs/models/shared/SourceZohoBigin.md + - docs/models/shared/SourceZohoBiginDataCenter.md + - docs/models/shared/SourceZohoBilling.md + - docs/models/shared/SourceZohoBillingRegion.md + - docs/models/shared/SourceZohoBooks.md + - docs/models/shared/SourceZohoBooksRegion.md + - docs/models/shared/SourceZohoCampaign.md + - docs/models/shared/SourceZohoCampaignDataCenter.md + - docs/models/shared/SourceZohoCrm.md + - docs/models/shared/SourceZohoCrmEnvironment.md + - docs/models/shared/SourceZohoDesk.md + - docs/models/shared/SourceZohoExpense.md + - docs/models/shared/SourceZohoExpenseDataCenter.md + - docs/models/shared/SourceZohoInventory.md + - docs/models/shared/SourceZohoInvoice.md + - docs/models/shared/SourceZohoInvoiceRegion.md + - docs/models/shared/SourceZonkaFeedback.md + - docs/models/shared/SourceZoom.md + - docs/models/shared/SourcesResponse.md + - docs/models/shared/SpacexApi.md + - docs/models/shared/Sparkpost.md + - docs/models/shared/SplitIo.md + - docs/models/shared/Spotlercrm.md + - docs/models/shared/Square.md + - docs/models/shared/Squarespace.md + - docs/models/shared/StandaloneMongoDbInstance.md + - docs/models/shared/State.md + - docs/models/shared/StateFilterEnum.md + - docs/models/shared/StatisticsInterval.md + - docs/models/shared/Statsig.md + - docs/models/shared/Status.md + - docs/models/shared/Statuspage.md + - docs/models/shared/Stockdata.md + - docs/models/shared/Storage.md + - docs/models/shared/StorageConfig.md + - docs/models/shared/StorageProvider.md + - docs/models/shared/StorageType.md + - docs/models/shared/Strategies.md + - docs/models/shared/Strava.md + - docs/models/shared/StreamConfiguration.md + - docs/models/shared/StreamConfigurations.md + - docs/models/shared/StreamMapperType.md + - docs/models/shared/StreamProperties.md + - docs/models/shared/StreamsCriteria.md + - docs/models/shared/StringFilter.md + - docs/models/shared/Stripe.md + - docs/models/shared/SurveyMonkeyAuthorizationMethod.md + - docs/models/shared/SurveySparrow.md + - docs/models/shared/Surveymonkey.md + - docs/models/shared/SurveymonkeyCredentials.md + - docs/models/shared/Survicate.md + - docs/models/shared/SwipeUpAttributionWindow.md + - docs/models/shared/SystemIDSID.md + - docs/models/shared/Systeme.md + - docs/models/shared/TLSEncryptedVerifyCertificate.md + - docs/models/shared/Taboola.md + - docs/models/shared/TargetsType.md + - docs/models/shared/Teamtailor.md + - docs/models/shared/Teamwork.md + - docs/models/shared/TechnicalIndicatorType.md + - docs/models/shared/Tempo.md + - docs/models/shared/Teradata.md + - docs/models/shared/TestDestination.md + - docs/models/shared/TestDestinationType.md + - docs/models/shared/Testrail.md + - docs/models/shared/TextSplitter.md + - docs/models/shared/TheGuardianApi.md + - docs/models/shared/Thinkific.md + - docs/models/shared/Throttled.md + - docs/models/shared/Ticketmaster.md + - docs/models/shared/Tickettailor.md + - docs/models/shared/TiktokMarketing.md + - docs/models/shared/TiktokMarketingCredentials.md + - docs/models/shared/TimeAggregates.md + - docs/models/shared/TimeFrame.md + - docs/models/shared/TimeGranularity.md + - docs/models/shared/TimeGranularityType.md + - docs/models/shared/TimeInterval.md + - docs/models/shared/TimePeriod.md + - docs/models/shared/Timely.md + - docs/models/shared/Timeplus.md + - docs/models/shared/Tinyemail.md + - docs/models/shared/ToValue.md + - docs/models/shared/Todoist.md + - docs/models/shared/TopHeadlinesTopic.md + - docs/models/shared/TrackPms.md + - docs/models/shared/TransformationQueryRunType.md + - docs/models/shared/Trello.md + - docs/models/shared/Tremendous.md + - docs/models/shared/Trustpilot.md + - docs/models/shared/TunnelMethod.md + - docs/models/shared/TvmazeSchedule.md + - docs/models/shared/TwelveData.md + - docs/models/shared/Twilio.md + - docs/models/shared/TwilioTaskrouter.md + - docs/models/shared/Twitter.md + - docs/models/shared/Typeform.md + - docs/models/shared/TypeformCredentials.md + - docs/models/shared/Typesense.md + - docs/models/shared/URLRegion.md + - docs/models/shared/Ubidots.md + - docs/models/shared/Unencrypted.md + - docs/models/shared/UnitOfMeasure.md + - docs/models/shared/Units.md + - docs/models/shared/Unleash.md + - docs/models/shared/UnstructuredDocumentFormat.md + - docs/models/shared/UpdateMethod.md + - docs/models/shared/UploadingMethod.md + - docs/models/shared/Uppromote.md + - docs/models/shared/UrlBase.md + - docs/models/shared/UsCensus.md + - docs/models/shared/UserProvided.md + - docs/models/shared/UserResponse.md + - docs/models/shared/UsernameAndPassword.md + - docs/models/shared/UsernamePassword.md + - docs/models/shared/UsersResponse.md + - docs/models/shared/Uservoice.md + - docs/models/shared/ValidActionBreakdowns.md + - docs/models/shared/ValidAdSetStatuses.md + - docs/models/shared/ValidAdStatuses.md + - docs/models/shared/ValidBreakdowns.md + - docs/models/shared/ValidCampaignStatuses.md + - docs/models/shared/ValidationPolicy.md + - docs/models/shared/Validenums.md + - docs/models/shared/Value.md + - docs/models/shared/ValueType.md - docs/models/shared/Vantage.md - - docs/models/shared/SourceVantage.md + - docs/models/shared/Vectara.md + - docs/models/shared/Veeqo.md + - docs/models/shared/Vercel.md + - docs/models/shared/VerifyCa.md + - docs/models/shared/VerifyFull.md + - docs/models/shared/VerifyIdentity.md + - docs/models/shared/ViaAPI.md + - docs/models/shared/ViewAttributionWindow.md + - docs/models/shared/ViewWindowDays.md + - docs/models/shared/VismaEconomic.md + - docs/models/shared/Vitally.md + - docs/models/shared/Vwo.md + - docs/models/shared/Waiteraid.md + - docs/models/shared/WasabiStatsApi.md + - docs/models/shared/Weatherstack.md + - docs/models/shared/Weaviate.md + - docs/models/shared/WebScrapper.md - docs/models/shared/Webflow.md - - docs/models/shared/SourceWebflow.md - docs/models/shared/WhenIWork.md - - docs/models/shared/SourceWhenIWork.md - docs/models/shared/WhiskyHunter.md - - docs/models/shared/SourceWhiskyHunter.md - docs/models/shared/WikipediaPageviews.md - - docs/models/shared/SourceWikipediaPageviews.md - docs/models/shared/Woocommerce.md - - docs/models/shared/SourceWoocommerce.md + - docs/models/shared/Wordpress.md + - docs/models/shared/Workable.md + - docs/models/shared/Workflowmax.md + - docs/models/shared/Workramp.md + - docs/models/shared/WorkspaceCreateRequest.md + - docs/models/shared/WorkspaceOAuthCredentialsRequest.md + - docs/models/shared/WorkspaceResponse.md + - docs/models/shared/WorkspaceUpdateRequest.md + - docs/models/shared/WorkspacesResponse.md + - docs/models/shared/Wrike.md + - docs/models/shared/Wufoo.md - docs/models/shared/Xkcd.md - - docs/models/shared/SourceXkcd.md + - docs/models/shared/Xsolla.md + - docs/models/shared/Xz.md + - docs/models/shared/YahooFinancePrice.md - docs/models/shared/YandexMetrica.md - - docs/models/shared/SourceYandexMetrica.md + - docs/models/shared/Yellowbrick.md - docs/models/shared/Yotpo.md - - docs/models/shared/SourceYotpo.md - - docs/models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.md - - docs/models/shared/SourceYoutubeAnalytics.md - - docs/models/shared/SourceZendeskChatSchemasCredentials.md - - docs/models/shared/SourceZendeskChatAccessToken.md - - docs/models/shared/SourceZendeskChatCredentials.md - - docs/models/shared/SourceZendeskChatOAuth20.md - - docs/models/shared/SourceZendeskChatAuthorizationMethod.md - - docs/models/shared/SourceZendeskChatZendeskChat.md - - docs/models/shared/SourceZendeskChat.md - - docs/models/shared/SourceZendeskSunshineSchemasAuthMethod.md - - docs/models/shared/SourceZendeskSunshineAPIToken.md - - docs/models/shared/SourceZendeskSunshineAuthMethod.md - - docs/models/shared/SourceZendeskSunshineOAuth20.md - - docs/models/shared/SourceZendeskSunshineAuthorizationMethod.md - - docs/models/shared/SourceZendeskSunshineZendeskSunshine.md - - docs/models/shared/SourceZendeskSunshine.md - - docs/models/shared/SourceZendeskSupportZendeskSupport.md - - docs/models/shared/SourceZendeskSupport.md - - docs/models/shared/SourceZendeskTalkZendeskTalk.md - - docs/models/shared/SourceZendeskTalk.md - - docs/models/shared/Zenloop.md - - docs/models/shared/SourceZenloop.md - - docs/models/shared/DataCenterLocation.md - - docs/models/shared/ZohoCRMEdition.md - - docs/models/shared/SourceZohoCrmEnvironment.md - - docs/models/shared/ZohoCrm.md - - docs/models/shared/SourceZohoCrm.md - - docs/models/shared/Zoom.md - - docs/models/shared/SourceZoom.md - - docs/models/shared/SourceCreateRequest.md - - docs/models/shared/InitiateOauthRequest.md - - docs/models/shared/OAuthActorNames.md - - docs/models/shared/SourcesResponse.md - - docs/models/shared/SourcePatchRequest.md - - docs/models/shared/SourcePutRequest.md - - docs/models/shared/StreamProperties.md - - docs/models/shared/UsersResponse.md - - docs/models/shared/UserResponse.md - - docs/models/shared/WorkspaceOAuthCredentialsRequest.md - - docs/models/shared/OAuthCredentialsConfiguration.md - - docs/models/shared/Credentials.md - - docs/models/shared/Airtable.md - - docs/models/shared/AmazonAds.md - - docs/models/shared/AmazonSellerPartner.md - - docs/models/shared/AsanaCredentials.md - - docs/models/shared/Asana.md - - docs/models/shared/AzureBlobStorageCredentials.md - - docs/models/shared/AzureBlobStorage.md - - docs/models/shared/BingAds.md - - docs/models/shared/FacebookMarketingCredentials.md - - docs/models/shared/FacebookMarketing.md - - docs/models/shared/GithubCredentials.md - - docs/models/shared/Github.md - - docs/models/shared/GitlabCredentials.md - - docs/models/shared/Gitlab.md - - docs/models/shared/GoogleAdsCredentials.md - - docs/models/shared/GoogleAds.md - - docs/models/shared/GoogleAnalyticsDataApiCredentials.md - - docs/models/shared/GoogleAnalyticsDataApi.md - - docs/models/shared/GoogleDriveCredentials.md - - docs/models/shared/GoogleDrive.md - - docs/models/shared/Authorization.md - - docs/models/shared/GoogleSearchConsole.md - - docs/models/shared/GoogleSheetsCredentials.md - - docs/models/shared/GoogleSheets.md - - docs/models/shared/HubspotCredentials.md - - docs/models/shared/Hubspot.md - - docs/models/shared/Instagram.md - - docs/models/shared/Intercom.md - - docs/models/shared/LeverHiringCredentials.md - - docs/models/shared/LeverHiring.md - - docs/models/shared/LinkedinAdsCredentials.md - - docs/models/shared/LinkedinAds.md - - docs/models/shared/MailchimpCredentials.md - - docs/models/shared/Mailchimp.md - - docs/models/shared/MicrosoftOnedriveCredentials.md - - docs/models/shared/MicrosoftOnedrive.md - - docs/models/shared/MicrosoftSharepointCredentials.md - - docs/models/shared/MicrosoftSharepoint.md - - docs/models/shared/MicrosoftTeamsCredentials.md - - docs/models/shared/MicrosoftTeams.md - - docs/models/shared/MondayCredentials.md - - docs/models/shared/Monday.md - - docs/models/shared/NotionCredentials.md - - docs/models/shared/Notion.md - - docs/models/shared/PinterestCredentials.md - - docs/models/shared/Pinterest.md - - docs/models/shared/RetentlyCredentials.md - - docs/models/shared/Retently.md - - docs/models/shared/Salesforce.md - - docs/models/shared/ShopifyCredentials.md - - docs/models/shared/Shopify.md - - docs/models/shared/SlackCredentials.md - - docs/models/shared/Slack.md - - docs/models/shared/SmartsheetsCredentials.md - - docs/models/shared/Smartsheets.md - - docs/models/shared/SnapchatMarketing.md - - docs/models/shared/SnowflakeCredentials.md - - docs/models/shared/Snowflake.md - - docs/models/shared/SquareCredentials.md - - docs/models/shared/Square.md - - docs/models/shared/SurveymonkeyCredentials.md - - docs/models/shared/Surveymonkey.md - - docs/models/shared/TiktokMarketingCredentials.md - - docs/models/shared/TiktokMarketing.md - - docs/models/shared/TypeformCredentials.md - - docs/models/shared/Typeform.md - - docs/models/shared/YoutubeAnalyticsCredentials.md + - docs/models/shared/YouNeedABudgetYnab.md - docs/models/shared/YoutubeAnalytics.md - - docs/models/shared/ZendeskChatCredentials.md + - docs/models/shared/YoutubeAnalyticsCredentials.md + - docs/models/shared/YoutubeData.md + - docs/models/shared/ZapierSupportedStorage.md - docs/models/shared/ZendeskChat.md - - docs/models/shared/ZendeskSunshineCredentials.md + - docs/models/shared/ZendeskChatCredentials.md - docs/models/shared/ZendeskSunshine.md - - docs/models/shared/ZendeskSupportCredentials.md - docs/models/shared/ZendeskSupport.md - - docs/models/shared/ZendeskTalkCredentials.md + - docs/models/shared/ZendeskSupportCredentials.md - docs/models/shared/ZendeskTalk.md - - docs/models/shared/ActorTypeEnum.md - - docs/models/shared/WorkspaceResponse.md - - docs/models/shared/WorkspaceCreateRequest.md - - docs/models/shared/WorkspacesResponse.md - - docs/models/shared/WorkspaceUpdateRequest.md - - docs/models/shared/Security.md - - docs/models/shared/SchemeClientCredentials.md - - docs/models/shared/SchemeBasicAuth.md + - docs/models/shared/ZendeskTalkCredentials.md + - docs/models/shared/Zenefits.md + - docs/models/shared/Zenloop.md + - docs/models/shared/ZohoAnalyticsMetadataApi.md + - docs/models/shared/ZohoBigin.md + - docs/models/shared/ZohoBilling.md + - docs/models/shared/ZohoBooks.md + - docs/models/shared/ZohoCRMEdition.md + - docs/models/shared/ZohoCampaign.md + - docs/models/shared/ZohoCrm.md + - docs/models/shared/ZohoDesk.md + - docs/models/shared/ZohoExpense.md + - docs/models/shared/ZohoInventory.md + - docs/models/shared/ZohoInvoice.md + - docs/models/shared/ZonkaFeedback.md + - docs/models/shared/Zoom.md + - docs/models/shared/Zstandard.md - docs/sdks/airbyte/README.md - docs/sdks/connections/README.md - docs/sdks/destinations/README.md @@ -4256,6 +2695,3126 @@ generatedFiles: - docs/sdks/streams/README.md - docs/sdks/users/README.md - docs/sdks/workspaces/README.md - - USAGE.md + - gradle/wrapper/gradle-wrapper.jar + - gradle/wrapper/gradle-wrapper.properties + - gradlew + - gradlew.bat + - settings.gradle + - src/main/java/com/airbyte/api/Airbyte.java + - src/main/java/com/airbyte/api/Connections.java + - src/main/java/com/airbyte/api/Destinations.java + - src/main/java/com/airbyte/api/Health.java + - src/main/java/com/airbyte/api/Jobs.java + - src/main/java/com/airbyte/api/Organizations.java + - src/main/java/com/airbyte/api/Permissions.java + - src/main/java/com/airbyte/api/SDKConfiguration.java + - src/main/java/com/airbyte/api/SecuritySource.java + - src/main/java/com/airbyte/api/Sources.java + - src/main/java/com/airbyte/api/Streams.java + - src/main/java/com/airbyte/api/Users.java + - src/main/java/com/airbyte/api/Workspaces.java - src/main/java/com/airbyte/api/hooks/ClientCredentialsHook.java - - CONTRIBUTING.md + - src/main/java/com/airbyte/api/models/errors/AuthException.java + - src/main/java/com/airbyte/api/models/errors/SDKError.java + - src/main/java/com/airbyte/api/models/operations/CancelJobRequest.java + - src/main/java/com/airbyte/api/models/operations/CancelJobRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/CancelJobResponse.java + - src/main/java/com/airbyte/api/models/operations/CreateConnectionRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/CreateConnectionResponse.java + - src/main/java/com/airbyte/api/models/operations/CreateDestinationRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/CreateDestinationResponse.java + - src/main/java/com/airbyte/api/models/operations/CreateJobRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/CreateJobResponse.java + - src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java + - src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java + - src/main/java/com/airbyte/api/models/operations/CreatePermissionRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/CreatePermissionResponse.java + - src/main/java/com/airbyte/api/models/operations/CreateSourceRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/CreateSourceResponse.java + - src/main/java/com/airbyte/api/models/operations/CreateWorkspaceRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/CreateWorkspaceResponse.java + - src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequest.java + - src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/DeleteConnectionResponse.java + - src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequest.java + - src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/DeleteDestinationResponse.java + - src/main/java/com/airbyte/api/models/operations/DeletePermissionRequest.java + - src/main/java/com/airbyte/api/models/operations/DeletePermissionRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/DeletePermissionResponse.java + - src/main/java/com/airbyte/api/models/operations/DeleteSourceRequest.java + - src/main/java/com/airbyte/api/models/operations/DeleteSourceRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/DeleteSourceResponse.java + - src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequest.java + - src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceResponse.java + - src/main/java/com/airbyte/api/models/operations/GetConnectionRequest.java + - src/main/java/com/airbyte/api/models/operations/GetConnectionRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/GetConnectionResponse.java + - src/main/java/com/airbyte/api/models/operations/GetDestinationRequest.java + - src/main/java/com/airbyte/api/models/operations/GetDestinationRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/GetDestinationResponse.java + - src/main/java/com/airbyte/api/models/operations/GetHealthCheckRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java + - src/main/java/com/airbyte/api/models/operations/GetJobRequest.java + - src/main/java/com/airbyte/api/models/operations/GetJobRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/GetJobResponse.java + - src/main/java/com/airbyte/api/models/operations/GetPermissionRequest.java + - src/main/java/com/airbyte/api/models/operations/GetPermissionRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/GetPermissionResponse.java + - src/main/java/com/airbyte/api/models/operations/GetSourceRequest.java + - src/main/java/com/airbyte/api/models/operations/GetSourceRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/GetSourceResponse.java + - src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequest.java + - src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java + - src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequest.java + - src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/GetWorkspaceResponse.java + - src/main/java/com/airbyte/api/models/operations/InitiateOAuthRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java + - src/main/java/com/airbyte/api/models/operations/ListConnectionsRequest.java + - src/main/java/com/airbyte/api/models/operations/ListConnectionsRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/ListConnectionsResponse.java + - src/main/java/com/airbyte/api/models/operations/ListDestinationsRequest.java + - src/main/java/com/airbyte/api/models/operations/ListDestinationsRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/ListDestinationsResponse.java + - src/main/java/com/airbyte/api/models/operations/ListJobsRequest.java + - src/main/java/com/airbyte/api/models/operations/ListJobsRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/ListJobsResponse.java + - src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserResponse.java + - src/main/java/com/airbyte/api/models/operations/ListPermissionsRequest.java + - src/main/java/com/airbyte/api/models/operations/ListPermissionsRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/ListPermissionsResponse.java + - src/main/java/com/airbyte/api/models/operations/ListSourcesRequest.java + - src/main/java/com/airbyte/api/models/operations/ListSourcesRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/ListSourcesResponse.java + - src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequest.java + - src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationResponse.java + - src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequest.java + - src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/ListWorkspacesResponse.java + - src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java + - src/main/java/com/airbyte/api/models/operations/PatchConnectionRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java + - src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java + - src/main/java/com/airbyte/api/models/operations/PatchDestinationRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java + - src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java + - src/main/java/com/airbyte/api/models/operations/PatchSourceRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java + - src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java + - src/main/java/com/airbyte/api/models/operations/PutDestinationRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java + - src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java + - src/main/java/com/airbyte/api/models/operations/PutSourceRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java + - src/main/java/com/airbyte/api/models/operations/SDKMethodInterfaces.java + - src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequest.java + - src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/UpdatePermissionResponse.java + - src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequest.java + - src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequestBuilder.java + - src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceResponse.java + - src/main/java/com/airbyte/api/models/shared/APIAccessToken.java + - src/main/java/com/airbyte/api/models/shared/APIEndpoint.java + - src/main/java/com/airbyte/api/models/shared/APIEndpointPrefix.java + - src/main/java/com/airbyte/api/models/shared/APIKey.java + - src/main/java/com/airbyte/api/models/shared/APIParameterConfigModel.java + - src/main/java/com/airbyte/api/models/shared/APIPassword.java + - src/main/java/com/airbyte/api/models/shared/APIServer.java + - src/main/java/com/airbyte/api/models/shared/APIToken.java + - src/main/java/com/airbyte/api/models/shared/AWSEnvironment.java + - src/main/java/com/airbyte/api/models/shared/AWSRegion.java + - src/main/java/com/airbyte/api/models/shared/AWSS3Staging.java + - src/main/java/com/airbyte/api/models/shared/AWSSellerPartnerAccountType.java + - src/main/java/com/airbyte/api/models/shared/AccessToken.java + - src/main/java/com/airbyte/api/models/shared/AccessTokenIsRequiredForAuthenticationRequests.java + - src/main/java/com/airbyte/api/models/shared/AccountNames.java + - src/main/java/com/airbyte/api/models/shared/ActionReportTime.java + - src/main/java/com/airbyte/api/models/shared/Activecampaign.java + - src/main/java/com/airbyte/api/models/shared/ActorTypeEnum.java + - src/main/java/com/airbyte/api/models/shared/AdAnalyticsReportConfiguration.java + - src/main/java/com/airbyte/api/models/shared/Agilecrm.java + - src/main/java/com/airbyte/api/models/shared/Aha.java + - src/main/java/com/airbyte/api/models/shared/Airbyte.java + - src/main/java/com/airbyte/api/models/shared/AirbyteApiConnectionSchedule.java + - src/main/java/com/airbyte/api/models/shared/Aircall.java + - src/main/java/com/airbyte/api/models/shared/Airtable.java + - src/main/java/com/airbyte/api/models/shared/Akeneo.java + - src/main/java/com/airbyte/api/models/shared/Algolia.java + - src/main/java/com/airbyte/api/models/shared/Allow.java + - src/main/java/com/airbyte/api/models/shared/AmazonAds.java + - src/main/java/com/airbyte/api/models/shared/AmazonSellerPartner.java + - src/main/java/com/airbyte/api/models/shared/AmazonSqs.java + - src/main/java/com/airbyte/api/models/shared/Amplitude.java + - src/main/java/com/airbyte/api/models/shared/AndGroup.java + - src/main/java/com/airbyte/api/models/shared/ApiKeyAuth.java + - src/main/java/com/airbyte/api/models/shared/ApiKeySecret.java + - src/main/java/com/airbyte/api/models/shared/ApifyDataset.java + - src/main/java/com/airbyte/api/models/shared/Appcues.java + - src/main/java/com/airbyte/api/models/shared/Appfigures.java + - src/main/java/com/airbyte/api/models/shared/Appfollow.java + - src/main/java/com/airbyte/api/models/shared/AppleSearchAds.java + - src/main/java/com/airbyte/api/models/shared/Applications.java + - src/main/java/com/airbyte/api/models/shared/Apptivo.java + - src/main/java/com/airbyte/api/models/shared/Asana.java + - src/main/java/com/airbyte/api/models/shared/AsanaCredentials.java + - src/main/java/com/airbyte/api/models/shared/Ashby.java + - src/main/java/com/airbyte/api/models/shared/Astra.java + - src/main/java/com/airbyte/api/models/shared/Auth0.java + - src/main/java/com/airbyte/api/models/shared/AuthMethod.java + - src/main/java/com/airbyte/api/models/shared/AuthType.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaAPIKey.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaAccessKeys.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaAsanaOauth.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaFacebookMarketingOauth.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaGoogleOAuth.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaHarvestOAuth.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverApiKey.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverOAuth.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoft.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth20.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth20.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaOauth2.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaPassword.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaPrivateKey.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaRetentlyOAuth.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateViaStorageAccountKey.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateWithAPIToken.java + - src/main/java/com/airbyte/api/models/shared/AuthenticateWithPersonalAccessToken.java + - src/main/java/com/airbyte/api/models/shared/Authentication.java + - src/main/java/com/airbyte/api/models/shared/AuthenticationMechanism.java + - src/main/java/com/airbyte/api/models/shared/AuthenticationMethod.java + - src/main/java/com/airbyte/api/models/shared/AuthenticationMode.java + - src/main/java/com/airbyte/api/models/shared/AuthenticationType.java + - src/main/java/com/airbyte/api/models/shared/AuthenticationViaGoogleOAuth.java + - src/main/java/com/airbyte/api/models/shared/AuthenticationWildcard.java + - src/main/java/com/airbyte/api/models/shared/Authorization.java + - src/main/java/com/airbyte/api/models/shared/AuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/AuthorizationType.java + - src/main/java/com/airbyte/api/models/shared/Autogenerated.java + - src/main/java/com/airbyte/api/models/shared/AvroApacheAvro.java + - src/main/java/com/airbyte/api/models/shared/AvroFormat.java + - src/main/java/com/airbyte/api/models/shared/AwsCloudtrail.java + - src/main/java/com/airbyte/api/models/shared/AwsDatalake.java + - src/main/java/com/airbyte/api/models/shared/AzBlobAzureBlobStorage.java + - src/main/java/com/airbyte/api/models/shared/AzureBlobStorage.java + - src/main/java/com/airbyte/api/models/shared/AzureBlobStorageCredentials.java + - src/main/java/com/airbyte/api/models/shared/AzureOpenAI.java + - src/main/java/com/airbyte/api/models/shared/AzureTable.java + - src/main/java/com/airbyte/api/models/shared/BambooHr.java + - src/main/java/com/airbyte/api/models/shared/BaseURL.java + - src/main/java/com/airbyte/api/models/shared/BaseURLPrefix.java + - src/main/java/com/airbyte/api/models/shared/Basecamp.java + - src/main/java/com/airbyte/api/models/shared/Basic.java + - src/main/java/com/airbyte/api/models/shared/BatchedStandardInserts.java + - src/main/java/com/airbyte/api/models/shared/Beamer.java + - src/main/java/com/airbyte/api/models/shared/BetweenFilter.java + - src/main/java/com/airbyte/api/models/shared/Bigmailer.java + - src/main/java/com/airbyte/api/models/shared/Bigquery.java + - src/main/java/com/airbyte/api/models/shared/BingAds.java + - src/main/java/com/airbyte/api/models/shared/Bitly.java + - src/main/java/com/airbyte/api/models/shared/Blogger.java + - src/main/java/com/airbyte/api/models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.java + - src/main/java/com/airbyte/api/models/shared/Box.java + - src/main/java/com/airbyte/api/models/shared/Braintree.java + - src/main/java/com/airbyte/api/models/shared/Braze.java + - src/main/java/com/airbyte/api/models/shared/BreezyHr.java + - src/main/java/com/airbyte/api/models/shared/Brevo.java + - src/main/java/com/airbyte/api/models/shared/Brex.java + - src/main/java/com/airbyte/api/models/shared/Bugsnag.java + - src/main/java/com/airbyte/api/models/shared/Buildkite.java + - src/main/java/com/airbyte/api/models/shared/BunnyInc.java + - src/main/java/com/airbyte/api/models/shared/Buzzsprout.java + - src/main/java/com/airbyte/api/models/shared/ByMarkdownHeader.java + - src/main/java/com/airbyte/api/models/shared/ByProgrammingLanguage.java + - src/main/java/com/airbyte/api/models/shared/BySeparator.java + - src/main/java/com/airbyte/api/models/shared/Bzip2.java + - src/main/java/com/airbyte/api/models/shared/CSVCommaSeparatedValues.java + - src/main/java/com/airbyte/api/models/shared/CSVFormat.java + - src/main/java/com/airbyte/api/models/shared/CSVHeaderDefinition.java + - src/main/java/com/airbyte/api/models/shared/CacheType.java + - src/main/java/com/airbyte/api/models/shared/CalCom.java + - src/main/java/com/airbyte/api/models/shared/Calendly.java + - src/main/java/com/airbyte/api/models/shared/Callrail.java + - src/main/java/com/airbyte/api/models/shared/CampaignMonitor.java + - src/main/java/com/airbyte/api/models/shared/Campayn.java + - src/main/java/com/airbyte/api/models/shared/Canny.java + - src/main/java/com/airbyte/api/models/shared/CapsuleCrm.java + - src/main/java/com/airbyte/api/models/shared/CaptureModeAdvanced.java + - src/main/java/com/airbyte/api/models/shared/CareQualityCommission.java + - src/main/java/com/airbyte/api/models/shared/Cart.java + - src/main/java/com/airbyte/api/models/shared/CastorEdc.java + - src/main/java/com/airbyte/api/models/shared/CatalogType.java + - src/main/java/com/airbyte/api/models/shared/Categories.java + - src/main/java/com/airbyte/api/models/shared/Category.java + - src/main/java/com/airbyte/api/models/shared/CentralAPIRouter.java + - src/main/java/com/airbyte/api/models/shared/Chameleon.java + - src/main/java/com/airbyte/api/models/shared/Chargebee.java + - src/main/java/com/airbyte/api/models/shared/Chargedesk.java + - src/main/java/com/airbyte/api/models/shared/Chargify.java + - src/main/java/com/airbyte/api/models/shared/Chartmogul.java + - src/main/java/com/airbyte/api/models/shared/ChooseHowToPartitionData.java + - src/main/java/com/airbyte/api/models/shared/Cimis.java + - src/main/java/com/airbyte/api/models/shared/Cin7.java + - src/main/java/com/airbyte/api/models/shared/Circa.java + - src/main/java/com/airbyte/api/models/shared/Circleci.java + - src/main/java/com/airbyte/api/models/shared/ClarifAi.java + - src/main/java/com/airbyte/api/models/shared/Clazar.java + - src/main/java/com/airbyte/api/models/shared/ClickWindowDays.java + - src/main/java/com/airbyte/api/models/shared/Clickhouse.java + - src/main/java/com/airbyte/api/models/shared/ClickupApi.java + - src/main/java/com/airbyte/api/models/shared/Clockify.java + - src/main/java/com/airbyte/api/models/shared/Clockodo.java + - src/main/java/com/airbyte/api/models/shared/CloseCom.java + - src/main/java/com/airbyte/api/models/shared/Cloudbeds.java + - src/main/java/com/airbyte/api/models/shared/ClusterType.java + - src/main/java/com/airbyte/api/models/shared/Coassemble.java + - src/main/java/com/airbyte/api/models/shared/Coda.java + - src/main/java/com/airbyte/api/models/shared/Codec.java + - src/main/java/com/airbyte/api/models/shared/Codefresh.java + - src/main/java/com/airbyte/api/models/shared/Cohere.java + - src/main/java/com/airbyte/api/models/shared/CohortReportSettings.java + - src/main/java/com/airbyte/api/models/shared/CohortReports.java + - src/main/java/com/airbyte/api/models/shared/Cohorts.java + - src/main/java/com/airbyte/api/models/shared/CohortsRange.java + - src/main/java/com/airbyte/api/models/shared/CoinApi.java + - src/main/java/com/airbyte/api/models/shared/Coinmarketcap.java + - src/main/java/com/airbyte/api/models/shared/Collection.java + - src/main/java/com/airbyte/api/models/shared/Compression.java + - src/main/java/com/airbyte/api/models/shared/CompressionCodec.java + - src/main/java/com/airbyte/api/models/shared/CompressionCodecOptional.java + - src/main/java/com/airbyte/api/models/shared/CompressionType.java + - src/main/java/com/airbyte/api/models/shared/Concord.java + - src/main/java/com/airbyte/api/models/shared/Configcat.java + - src/main/java/com/airbyte/api/models/shared/ConfiguredStreamMapper.java + - src/main/java/com/airbyte/api/models/shared/Confluence.java + - src/main/java/com/airbyte/api/models/shared/ConnectBy.java + - src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java + - src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java + - src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java + - src/main/java/com/airbyte/api/models/shared/ConnectionScheduleResponse.java + - src/main/java/com/airbyte/api/models/shared/ConnectionStatusEnum.java + - src/main/java/com/airbyte/api/models/shared/ConnectionSyncModeEnum.java + - src/main/java/com/airbyte/api/models/shared/ConnectionType.java + - src/main/java/com/airbyte/api/models/shared/ConnectionsResponse.java + - src/main/java/com/airbyte/api/models/shared/ContentType.java + - src/main/java/com/airbyte/api/models/shared/ConversionReportTime.java + - src/main/java/com/airbyte/api/models/shared/Convertkit.java + - src/main/java/com/airbyte/api/models/shared/Convex.java + - src/main/java/com/airbyte/api/models/shared/Copper.java + - src/main/java/com/airbyte/api/models/shared/CopyRawFiles.java + - src/main/java/com/airbyte/api/models/shared/Countercyclical.java + - src/main/java/com/airbyte/api/models/shared/Country.java + - src/main/java/com/airbyte/api/models/shared/Credential.java + - src/main/java/com/airbyte/api/models/shared/CredentialType.java + - src/main/java/com/airbyte/api/models/shared/Credentials.java + - src/main/java/com/airbyte/api/models/shared/CredentialsTitle.java + - src/main/java/com/airbyte/api/models/shared/CustomQueriesArray.java + - src/main/java/com/airbyte/api/models/shared/CustomReportConfig.java + - src/main/java/com/airbyte/api/models/shared/CustomerIo.java + - src/main/java/com/airbyte/api/models/shared/CustomerStatus.java + - src/main/java/com/airbyte/api/models/shared/DataCenter.java + - src/main/java/com/airbyte/api/models/shared/DataCenterID.java + - src/main/java/com/airbyte/api/models/shared/DataCenterLocation.java + - src/main/java/com/airbyte/api/models/shared/DataFreshness.java + - src/main/java/com/airbyte/api/models/shared/DataRegion.java + - src/main/java/com/airbyte/api/models/shared/DataSource.java + - src/main/java/com/airbyte/api/models/shared/DataType.java + - src/main/java/com/airbyte/api/models/shared/Databricks.java + - src/main/java/com/airbyte/api/models/shared/Datadog.java + - src/main/java/com/airbyte/api/models/shared/Datascope.java + - src/main/java/com/airbyte/api/models/shared/DatasetLocation.java + - src/main/java/com/airbyte/api/models/shared/DateRange.java + - src/main/java/com/airbyte/api/models/shared/Dbt.java + - src/main/java/com/airbyte/api/models/shared/DefaultVectorizer.java + - src/main/java/com/airbyte/api/models/shared/Deflate.java + - src/main/java/com/airbyte/api/models/shared/DeletionMode.java + - src/main/java/com/airbyte/api/models/shared/Delighted.java + - src/main/java/com/airbyte/api/models/shared/DeliveryMethod.java + - src/main/java/com/airbyte/api/models/shared/DeliveryType.java + - src/main/java/com/airbyte/api/models/shared/Deputy.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstra.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstraLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstraMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java + - src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCompressionCodecOptional.java + - src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsTitle.java + - src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatTypeWildcard.java + - src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java + - src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorage.java + - src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.java + - src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java + - src/main/java/com/airbyte/api/models/shared/DestinationBigqueryCredentialType.java + - src/main/java/com/airbyte/api/models/shared/DestinationBigqueryHMACKey.java + - src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java + - src/main/java/com/airbyte/api/models/shared/DestinationClickhouseSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java + - src/main/java/com/airbyte/api/models/shared/DestinationConvex.java + - src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java + - src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java + - src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAuthType.java + - src/main/java/com/airbyte/api/models/shared/DestinationDatabricksSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/DestinationDevNull.java + - src/main/java/com/airbyte/api/models/shared/DestinationDevNullLoggingType.java + - src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasLoggingType.java + - src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.java + - src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationType.java + - src/main/java/com/airbyte/api/models/shared/DestinationDevNullTestDestinationType.java + - src/main/java/com/airbyte/api/models/shared/DestinationDuckdb.java + - src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java + - src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationFireboltMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationFireboltSchemasMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcs.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsCSVCommaSeparatedValues.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsCompression.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionType.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsGZIP.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsGcs.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsJSONLinesNewlineDelimitedJSON.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsNoCompression.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsOutputFormat.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsParquetColumnarStorage.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCompressionType.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCompressionType.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatFormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormat1Codec.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasNoCompression.java + - src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheets.java + - src/main/java/com/airbyte/api/models/shared/DestinationGoogleSheetsGoogleSheets.java + - src/main/java/com/airbyte/api/models/shared/DestinationIceberg.java + - src/main/java/com/airbyte/api/models/shared/DestinationIcebergCatalogType.java + - src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3.java + - src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3BucketRegion.java + - src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.java + - src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.java + - src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogType.java + - src/main/java/com/airbyte/api/models/shared/DestinationIcebergStorageType.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvus.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusAPIToken.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusAzureOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusByMarkdownHeader.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusByProgrammingLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusBySeparator.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusCohere.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusEmbedding.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusFake.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusFieldNameMappingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusIndexing.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAICompatible.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusProcessingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthAuthenticationMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusTextSplitter.java + - src/main/java/com/airbyte/api/models/shared/DestinationMilvusUsernamePassword.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthorization.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstance.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbNone.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasAuthorization.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasInstance.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMotherduck.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssql.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethodSslMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMysql.java + - src/main/java/com/airbyte/api/models/shared/DestinationMysqlNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/DestinationMysqlPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracle.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracleEncryptionMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracleNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/DestinationOraclePasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasEncryptionMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationOracleUnencrypted.java + - src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvector.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorAzureOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByMarkdownHeader.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByProgrammingLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorBySeparator.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCohere.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCredentials.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorEmbedding.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFake.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFieldNameMappingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAICompatible.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorProcessingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPgvectorTextSplitter.java + - src/main/java/com/airbyte/api/models/shared/DestinationPinecone.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeAzureOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeByMarkdownHeader.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeByProgrammingLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeBySeparator.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeCohere.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeEmbedding.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeFake.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeFieldNameMappingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeIndexing.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAICompatible.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeProcessingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPineconeTextSplitter.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes6Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModesMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSslModeMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java + - src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrant.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantAuthenticationMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantAzureOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantByMarkdownHeader.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantByProgrammingLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantBySeparator.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantCohere.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantEmbedding.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantFake.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantFieldNameMappingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantIndexing.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantNoAuth.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAICompatible.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantProcessingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingAuthMethodMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationQdrantTextSplitter.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedis.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisDisable.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisSSLModes.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedisVerifyFull.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftS3BucketRegion.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationResponse.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3AvroApacheAvro.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3Bzip2.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3CSVCommaSeparatedValues.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3Codec.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3Compression.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3Deflate.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3Flattening.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3FormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GZIP.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3Glue.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompression.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompressionType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueGZIP.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueJSONLinesNewlineDelimitedJSON.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueNoCompression.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueOutputFormat.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegion.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSchemasCompressionType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3NoCompression.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3OutputFormat.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3ParquetColumnarStorage.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegion.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompression.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFlattening.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCompressionType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatFormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatNoCompression.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3Codec.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCodec.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatFormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatType.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasGZIP.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasNoCompression.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3Snappy.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3Xz.java + - src/main/java/com/airbyte/api/models/shared/DestinationS3Zstandard.java + - src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortex.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexAzureOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByMarkdownHeader.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexBySeparator.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCohere.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCredentials.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexEmbedding.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFake.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFieldNameMappingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAICompatible.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexProcessingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexTextSplitter.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java + - src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflake.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradata.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataAllow.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataDisable.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataPrefer.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataRequire.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSSLModes.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSslModeMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyCa.java + - src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyFull.java + - src/main/java/com/airbyte/api/models/shared/DestinationTimeplus.java + - src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java + - src/main/java/com/airbyte/api/models/shared/DestinationVectara.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviate.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAPIToken.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAzureOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByMarkdownHeader.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByProgrammingLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateBySeparator.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateCohere.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateEmbedding.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFake.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFieldNameMappingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateIndexing.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateLanguage.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAI.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAICompatible.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateProcessingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding5Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthAuthenticationMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateTextSplitter.java + - src/main/java/com/airbyte/api/models/shared/DestinationWeaviateUsernamePassword.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrick.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickAllow.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickDisable.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPrefer.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickRequire.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSLModes.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSslModeMode.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyCa.java + - src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyFull.java + - src/main/java/com/airbyte/api/models/shared/DestinationsResponse.java + - src/main/java/com/airbyte/api/models/shared/DetailType.java + - src/main/java/com/airbyte/api/models/shared/DetectChangesWithXminSystemColumn.java + - src/main/java/com/airbyte/api/models/shared/DevNull.java + - src/main/java/com/airbyte/api/models/shared/Dimension.java + - src/main/java/com/airbyte/api/models/shared/DimensionsFilter.java + - src/main/java/com/airbyte/api/models/shared/Disable.java + - src/main/java/com/airbyte/api/models/shared/Disabled.java + - src/main/java/com/airbyte/api/models/shared/DistanceMetric.java + - src/main/java/com/airbyte/api/models/shared/Dixa.java + - src/main/java/com/airbyte/api/models/shared/Dockerhub.java + - src/main/java/com/airbyte/api/models/shared/DocumentFileTypeFormatExperimental.java + - src/main/java/com/airbyte/api/models/shared/Domain.java + - src/main/java/com/airbyte/api/models/shared/DomainRegionCode.java + - src/main/java/com/airbyte/api/models/shared/DoubleValue.java + - src/main/java/com/airbyte/api/models/shared/Dremio.java + - src/main/java/com/airbyte/api/models/shared/Drift.java + - src/main/java/com/airbyte/api/models/shared/DriftCredentials.java + - src/main/java/com/airbyte/api/models/shared/Drip.java + - src/main/java/com/airbyte/api/models/shared/DropboxSign.java + - src/main/java/com/airbyte/api/models/shared/Duckdb.java + - src/main/java/com/airbyte/api/models/shared/DynamoDBRegion.java + - src/main/java/com/airbyte/api/models/shared/Dynamodb.java + - src/main/java/com/airbyte/api/models/shared/EConomic.java + - src/main/java/com/airbyte/api/models/shared/EUBasedAccount.java + - src/main/java/com/airbyte/api/models/shared/Easypost.java + - src/main/java/com/airbyte/api/models/shared/Easypromos.java + - src/main/java/com/airbyte/api/models/shared/Elasticemail.java + - src/main/java/com/airbyte/api/models/shared/Elasticsearch.java + - src/main/java/com/airbyte/api/models/shared/Emailoctopus.java + - src/main/java/com/airbyte/api/models/shared/Embedding.java + - src/main/java/com/airbyte/api/models/shared/EmploymentHero.java + - src/main/java/com/airbyte/api/models/shared/Enabled.java + - src/main/java/com/airbyte/api/models/shared/Encharge.java + - src/main/java/com/airbyte/api/models/shared/EncryptedTrustServerCertificate.java + - src/main/java/com/airbyte/api/models/shared/EncryptedVerifyCertificate.java + - src/main/java/com/airbyte/api/models/shared/Encryption.java + - src/main/java/com/airbyte/api/models/shared/EncryptionAlgorithm.java + - src/main/java/com/airbyte/api/models/shared/EncryptionMethod.java + - src/main/java/com/airbyte/api/models/shared/EngagementWindowDays.java + - src/main/java/com/airbyte/api/models/shared/Enterprise.java + - src/main/java/com/airbyte/api/models/shared/Entity.java + - src/main/java/com/airbyte/api/models/shared/Environment.java + - src/main/java/com/airbyte/api/models/shared/Eventbrite.java + - src/main/java/com/airbyte/api/models/shared/Eventee.java + - src/main/java/com/airbyte/api/models/shared/Eventzilla.java + - src/main/java/com/airbyte/api/models/shared/EveryNThEntry.java + - src/main/java/com/airbyte/api/models/shared/ExcelFormat.java + - src/main/java/com/airbyte/api/models/shared/ExchangeRates.java + - src/main/java/com/airbyte/api/models/shared/Expression.java + - src/main/java/com/airbyte/api/models/shared/ExternalTableViaS3.java + - src/main/java/com/airbyte/api/models/shared/Ezofficeinventory.java + - src/main/java/com/airbyte/api/models/shared/FacebookMarketing.java + - src/main/java/com/airbyte/api/models/shared/FacebookMarketingCredentials.java + - src/main/java/com/airbyte/api/models/shared/Factorial.java + - src/main/java/com/airbyte/api/models/shared/Failing.java + - src/main/java/com/airbyte/api/models/shared/Fake.java + - src/main/java/com/airbyte/api/models/shared/Faker.java + - src/main/java/com/airbyte/api/models/shared/Fauna.java + - src/main/java/com/airbyte/api/models/shared/FieldNameMappingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/File.java + - src/main/java/com/airbyte/api/models/shared/FileBasedStreamConfig.java + - src/main/java/com/airbyte/api/models/shared/FileFormat.java + - src/main/java/com/airbyte/api/models/shared/FileStorageFormat.java + - src/main/java/com/airbyte/api/models/shared/Filetype.java + - src/main/java/com/airbyte/api/models/shared/Fillout.java + - src/main/java/com/airbyte/api/models/shared/Filter.java + - src/main/java/com/airbyte/api/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.java + - src/main/java/com/airbyte/api/models/shared/FilterName.java + - src/main/java/com/airbyte/api/models/shared/FilterType.java + - src/main/java/com/airbyte/api/models/shared/Finage.java + - src/main/java/com/airbyte/api/models/shared/FinancialModelling.java + - src/main/java/com/airbyte/api/models/shared/Finnhub.java + - src/main/java/com/airbyte/api/models/shared/Finnworlds.java + - src/main/java/com/airbyte/api/models/shared/Firebolt.java + - src/main/java/com/airbyte/api/models/shared/Firehydrant.java + - src/main/java/com/airbyte/api/models/shared/Firestore.java + - src/main/java/com/airbyte/api/models/shared/FirstNEntries.java + - src/main/java/com/airbyte/api/models/shared/Flattening.java + - src/main/java/com/airbyte/api/models/shared/Fleetio.java + - src/main/java/com/airbyte/api/models/shared/Flexmail.java + - src/main/java/com/airbyte/api/models/shared/Flexport.java + - src/main/java/com/airbyte/api/models/shared/Float.java + - src/main/java/com/airbyte/api/models/shared/Flowlu.java + - src/main/java/com/airbyte/api/models/shared/Format.java + - src/main/java/com/airbyte/api/models/shared/FormatType.java + - src/main/java/com/airbyte/api/models/shared/FormatTypeWildcard.java + - src/main/java/com/airbyte/api/models/shared/Formbricks.java + - src/main/java/com/airbyte/api/models/shared/FreeAgentConnector.java + - src/main/java/com/airbyte/api/models/shared/Freightview.java + - src/main/java/com/airbyte/api/models/shared/Freshbooks.java + - src/main/java/com/airbyte/api/models/shared/Freshcaller.java + - src/main/java/com/airbyte/api/models/shared/Freshchat.java + - src/main/java/com/airbyte/api/models/shared/Freshdesk.java + - src/main/java/com/airbyte/api/models/shared/Freshsales.java + - src/main/java/com/airbyte/api/models/shared/Freshservice.java + - src/main/java/com/airbyte/api/models/shared/FromCSV.java + - src/main/java/com/airbyte/api/models/shared/FromField.java + - src/main/java/com/airbyte/api/models/shared/FromValue.java + - src/main/java/com/airbyte/api/models/shared/Front.java + - src/main/java/com/airbyte/api/models/shared/Fulcrum.java + - src/main/java/com/airbyte/api/models/shared/GCSBucketRegion.java + - src/main/java/com/airbyte/api/models/shared/GCSGoogleCloudStorage.java + - src/main/java/com/airbyte/api/models/shared/GCSStaging.java + - src/main/java/com/airbyte/api/models/shared/GCSTmpFilesAfterwardProcessing.java + - src/main/java/com/airbyte/api/models/shared/GainsightPx.java + - src/main/java/com/airbyte/api/models/shared/Gcs.java + - src/main/java/com/airbyte/api/models/shared/GcsCredentials.java + - src/main/java/com/airbyte/api/models/shared/GeographyEnum.java + - src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java + - src/main/java/com/airbyte/api/models/shared/Getgist.java + - src/main/java/com/airbyte/api/models/shared/Getlago.java + - src/main/java/com/airbyte/api/models/shared/Gitbook.java + - src/main/java/com/airbyte/api/models/shared/Github.java + - src/main/java/com/airbyte/api/models/shared/GithubCredentials.java + - src/main/java/com/airbyte/api/models/shared/Gitlab.java + - src/main/java/com/airbyte/api/models/shared/GitlabCredentials.java + - src/main/java/com/airbyte/api/models/shared/Glassfrog.java + - src/main/java/com/airbyte/api/models/shared/GlobalAccount.java + - src/main/java/com/airbyte/api/models/shared/GlueCatalog.java + - src/main/java/com/airbyte/api/models/shared/Gmail.java + - src/main/java/com/airbyte/api/models/shared/Gnews.java + - src/main/java/com/airbyte/api/models/shared/GoCardlessAPIEnvironment.java + - src/main/java/com/airbyte/api/models/shared/Gocardless.java + - src/main/java/com/airbyte/api/models/shared/Goldcast.java + - src/main/java/com/airbyte/api/models/shared/Gong.java + - src/main/java/com/airbyte/api/models/shared/GoogleAds.java + - src/main/java/com/airbyte/api/models/shared/GoogleAdsCredentials.java + - src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApi.java + - src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApiCredentials.java + - src/main/java/com/airbyte/api/models/shared/GoogleCalendar.java + - src/main/java/com/airbyte/api/models/shared/GoogleClassroom.java + - src/main/java/com/airbyte/api/models/shared/GoogleCredentials.java + - src/main/java/com/airbyte/api/models/shared/GoogleDirectory.java + - src/main/java/com/airbyte/api/models/shared/GoogleDrive.java + - src/main/java/com/airbyte/api/models/shared/GoogleDriveCredentials.java + - src/main/java/com/airbyte/api/models/shared/GoogleForms.java + - src/main/java/com/airbyte/api/models/shared/GooglePagespeedInsights.java + - src/main/java/com/airbyte/api/models/shared/GoogleSearchConsole.java + - src/main/java/com/airbyte/api/models/shared/GoogleSheets.java + - src/main/java/com/airbyte/api/models/shared/GoogleSheetsCredentials.java + - src/main/java/com/airbyte/api/models/shared/GoogleTasks.java + - src/main/java/com/airbyte/api/models/shared/GoogleWebfonts.java + - src/main/java/com/airbyte/api/models/shared/Gorgias.java + - src/main/java/com/airbyte/api/models/shared/Granularity.java + - src/main/java/com/airbyte/api/models/shared/GranularityForGeoLocationRegion.java + - src/main/java/com/airbyte/api/models/shared/GranularityForPeriodicReports.java + - src/main/java/com/airbyte/api/models/shared/Greenhouse.java + - src/main/java/com/airbyte/api/models/shared/Gridly.java + - src/main/java/com/airbyte/api/models/shared/GroupBy.java + - src/main/java/com/airbyte/api/models/shared/Guru.java + - src/main/java/com/airbyte/api/models/shared/Gutendex.java + - src/main/java/com/airbyte/api/models/shared/Gzip.java + - src/main/java/com/airbyte/api/models/shared/HMACKey.java + - src/main/java/com/airbyte/api/models/shared/HTTPSPublicWeb.java + - src/main/java/com/airbyte/api/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.java + - src/main/java/com/airbyte/api/models/shared/HardcodedRecords.java + - src/main/java/com/airbyte/api/models/shared/Harvest.java + - src/main/java/com/airbyte/api/models/shared/Header.java + - src/main/java/com/airbyte/api/models/shared/HeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/Height.java + - src/main/java/com/airbyte/api/models/shared/Hibob.java + - src/main/java/com/airbyte/api/models/shared/HighLevel.java + - src/main/java/com/airbyte/api/models/shared/HiveCatalogUseApacheHiveMetaStore.java + - src/main/java/com/airbyte/api/models/shared/Hubplanner.java + - src/main/java/com/airbyte/api/models/shared/Hubspot.java + - src/main/java/com/airbyte/api/models/shared/HubspotCredentials.java + - src/main/java/com/airbyte/api/models/shared/Humanitix.java + - src/main/java/com/airbyte/api/models/shared/IAMRole.java + - src/main/java/com/airbyte/api/models/shared/IAMUser.java + - src/main/java/com/airbyte/api/models/shared/Iceberg.java + - src/main/java/com/airbyte/api/models/shared/IcebergCatalogConfig.java + - src/main/java/com/airbyte/api/models/shared/IlluminaBasespace.java + - src/main/java/com/airbyte/api/models/shared/In.java + - src/main/java/com/airbyte/api/models/shared/InListFilter.java + - src/main/java/com/airbyte/api/models/shared/IncidentIo.java + - src/main/java/com/airbyte/api/models/shared/Indexing.java + - src/main/java/com/airbyte/api/models/shared/Inflowinventory.java + - src/main/java/com/airbyte/api/models/shared/InitiateOauthRequest.java + - src/main/java/com/airbyte/api/models/shared/InsightConfig.java + - src/main/java/com/airbyte/api/models/shared/Insightly.java + - src/main/java/com/airbyte/api/models/shared/Instagram.java + - src/main/java/com/airbyte/api/models/shared/Instance.java + - src/main/java/com/airbyte/api/models/shared/Instatus.java + - src/main/java/com/airbyte/api/models/shared/Int64Value.java + - src/main/java/com/airbyte/api/models/shared/Intercom.java + - src/main/java/com/airbyte/api/models/shared/Interval.java + - src/main/java/com/airbyte/api/models/shared/InvalidCDCPositionBehaviorAdvanced.java + - src/main/java/com/airbyte/api/models/shared/Invoiced.java + - src/main/java/com/airbyte/api/models/shared/Invoiceninja.java + - src/main/java/com/airbyte/api/models/shared/Ip2whois.java + - src/main/java/com/airbyte/api/models/shared/Iterable.java + - src/main/java/com/airbyte/api/models/shared/JSONLinesNewlineDelimitedJSON.java + - src/main/java/com/airbyte/api/models/shared/JdbcCatalogUseRelationalDatabase.java + - src/main/java/com/airbyte/api/models/shared/Jira.java + - src/main/java/com/airbyte/api/models/shared/JobCreateRequest.java + - src/main/java/com/airbyte/api/models/shared/JobResponse.java + - src/main/java/com/airbyte/api/models/shared/JobStatusEnum.java + - src/main/java/com/airbyte/api/models/shared/JobTypeEnum.java + - src/main/java/com/airbyte/api/models/shared/Jobnimbus.java + - src/main/java/com/airbyte/api/models/shared/JobsResponse.java + - src/main/java/com/airbyte/api/models/shared/Jotform.java + - src/main/java/com/airbyte/api/models/shared/JsonlFormat.java + - src/main/java/com/airbyte/api/models/shared/JustSift.java + - src/main/java/com/airbyte/api/models/shared/Justcall.java + - src/main/java/com/airbyte/api/models/shared/K6Cloud.java + - src/main/java/com/airbyte/api/models/shared/Katana.java + - src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java + - src/main/java/com/airbyte/api/models/shared/Kind.java + - src/main/java/com/airbyte/api/models/shared/Kisi.java + - src/main/java/com/airbyte/api/models/shared/Kissmetrics.java + - src/main/java/com/airbyte/api/models/shared/Klarna.java + - src/main/java/com/airbyte/api/models/shared/KlausApi.java + - src/main/java/com/airbyte/api/models/shared/Klaviyo.java + - src/main/java/com/airbyte/api/models/shared/Kyve.java + - src/main/java/com/airbyte/api/models/shared/LSNCommitBehaviour.java + - src/main/java/com/airbyte/api/models/shared/Lang.java + - src/main/java/com/airbyte/api/models/shared/Language.java + - src/main/java/com/airbyte/api/models/shared/Launchdarkly.java + - src/main/java/com/airbyte/api/models/shared/Leadfeeder.java + - src/main/java/com/airbyte/api/models/shared/Lemlist.java + - src/main/java/com/airbyte/api/models/shared/LessAnnoyingCrm.java + - src/main/java/com/airbyte/api/models/shared/Level.java + - src/main/java/com/airbyte/api/models/shared/LeverHiring.java + - src/main/java/com/airbyte/api/models/shared/LeverHiringCredentials.java + - src/main/java/com/airbyte/api/models/shared/LightspeedRetail.java + - src/main/java/com/airbyte/api/models/shared/LinkedinAds.java + - src/main/java/com/airbyte/api/models/shared/LinkedinAdsCredentials.java + - src/main/java/com/airbyte/api/models/shared/LinkedinPages.java + - src/main/java/com/airbyte/api/models/shared/Linnworks.java + - src/main/java/com/airbyte/api/models/shared/LoadingMethod.java + - src/main/java/com/airbyte/api/models/shared/Lob.java + - src/main/java/com/airbyte/api/models/shared/Local.java + - src/main/java/com/airbyte/api/models/shared/LocalFilesystemLimited.java + - src/main/java/com/airbyte/api/models/shared/Logging.java + - src/main/java/com/airbyte/api/models/shared/LoggingConfiguration.java + - src/main/java/com/airbyte/api/models/shared/LoggingType.java + - src/main/java/com/airbyte/api/models/shared/LoginPassword.java + - src/main/java/com/airbyte/api/models/shared/Lokalise.java + - src/main/java/com/airbyte/api/models/shared/Looker.java + - src/main/java/com/airbyte/api/models/shared/Luma.java + - src/main/java/com/airbyte/api/models/shared/Mailchimp.java + - src/main/java/com/airbyte/api/models/shared/MailchimpCredentials.java + - src/main/java/com/airbyte/api/models/shared/Mailerlite.java + - src/main/java/com/airbyte/api/models/shared/Mailgun.java + - src/main/java/com/airbyte/api/models/shared/MailjetMail.java + - src/main/java/com/airbyte/api/models/shared/MailjetSms.java + - src/main/java/com/airbyte/api/models/shared/Mailosaur.java + - src/main/java/com/airbyte/api/models/shared/Mailtrap.java + - src/main/java/com/airbyte/api/models/shared/MapperConfiguration.java + - src/main/java/com/airbyte/api/models/shared/MarketNewsCategory.java + - src/main/java/com/airbyte/api/models/shared/Marketo.java + - src/main/java/com/airbyte/api/models/shared/Marketstack.java + - src/main/java/com/airbyte/api/models/shared/Mention.java + - src/main/java/com/airbyte/api/models/shared/Metabase.java + - src/main/java/com/airbyte/api/models/shared/Method.java + - src/main/java/com/airbyte/api/models/shared/MetricsFilter.java + - src/main/java/com/airbyte/api/models/shared/MicrosoftDataverse.java + - src/main/java/com/airbyte/api/models/shared/MicrosoftEntraId.java + - src/main/java/com/airbyte/api/models/shared/MicrosoftLists.java + - src/main/java/com/airbyte/api/models/shared/MicrosoftOnedrive.java + - src/main/java/com/airbyte/api/models/shared/MicrosoftOnedriveCredentials.java + - src/main/java/com/airbyte/api/models/shared/MicrosoftSharepoint.java + - src/main/java/com/airbyte/api/models/shared/MicrosoftSharepointCredentials.java + - src/main/java/com/airbyte/api/models/shared/MicrosoftTeams.java + - src/main/java/com/airbyte/api/models/shared/MicrosoftTeamsCredentials.java + - src/main/java/com/airbyte/api/models/shared/Milvus.java + - src/main/java/com/airbyte/api/models/shared/Miro.java + - src/main/java/com/airbyte/api/models/shared/Missive.java + - src/main/java/com/airbyte/api/models/shared/Mixmax.java + - src/main/java/com/airbyte/api/models/shared/Mixpanel.java + - src/main/java/com/airbyte/api/models/shared/Mode.java + - src/main/java/com/airbyte/api/models/shared/Monday.java + - src/main/java/com/airbyte/api/models/shared/MondayCredentials.java + - src/main/java/com/airbyte/api/models/shared/MongoDBAtlas.java + - src/main/java/com/airbyte/api/models/shared/MongoDBAtlasReplicaSet.java + - src/main/java/com/airbyte/api/models/shared/MongoDbInstanceType.java + - src/main/java/com/airbyte/api/models/shared/Mongodb.java + - src/main/java/com/airbyte/api/models/shared/MongodbV2.java + - src/main/java/com/airbyte/api/models/shared/Motherduck.java + - src/main/java/com/airbyte/api/models/shared/Mssql.java + - src/main/java/com/airbyte/api/models/shared/Mux.java + - src/main/java/com/airbyte/api/models/shared/MyHours.java + - src/main/java/com/airbyte/api/models/shared/Mysql.java + - src/main/java/com/airbyte/api/models/shared/N8n.java + - src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnum.java + - src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java + - src/main/java/com/airbyte/api/models/shared/Nasa.java + - src/main/java/com/airbyte/api/models/shared/NativeNetworkEncryptionNNE.java + - src/main/java/com/airbyte/api/models/shared/Netsuite.java + - src/main/java/com/airbyte/api/models/shared/NewsApi.java + - src/main/java/com/airbyte/api/models/shared/NewsdataIo.java + - src/main/java/com/airbyte/api/models/shared/NoAuth.java + - src/main/java/com/airbyte/api/models/shared/NoAuthentication.java + - src/main/java/com/airbyte/api/models/shared/NoCompression.java + - src/main/java/com/airbyte/api/models/shared/NoExternalEmbedding.java + - src/main/java/com/airbyte/api/models/shared/NoTunnel.java + - src/main/java/com/airbyte/api/models/shared/Nocrm.java + - src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnum.java + - src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java + - src/main/java/com/airbyte/api/models/shared/None.java + - src/main/java/com/airbyte/api/models/shared/Normalization.java + - src/main/java/com/airbyte/api/models/shared/NormalizationFlattening.java + - src/main/java/com/airbyte/api/models/shared/NorthpassLms.java + - src/main/java/com/airbyte/api/models/shared/NotExpression.java + - src/main/java/com/airbyte/api/models/shared/Notion.java + - src/main/java/com/airbyte/api/models/shared/NotionCredentials.java + - src/main/java/com/airbyte/api/models/shared/Nullable.java + - src/main/java/com/airbyte/api/models/shared/NumericFilter.java + - src/main/java/com/airbyte/api/models/shared/Nutshell.java + - src/main/java/com/airbyte/api/models/shared/Nylas.java + - src/main/java/com/airbyte/api/models/shared/Nytimes.java + - src/main/java/com/airbyte/api/models/shared/OAuth.java + - src/main/java/com/airbyte/api/models/shared/OAuth20.java + - src/main/java/com/airbyte/api/models/shared/OAuth20Credentials.java + - src/main/java/com/airbyte/api/models/shared/OAuth20WithPrivateKey.java + - src/main/java/com/airbyte/api/models/shared/OAuth2AccessToken.java + - src/main/java/com/airbyte/api/models/shared/OAuth2ConfidentialApplication.java + - src/main/java/com/airbyte/api/models/shared/OAuth2Recommended.java + - src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java + - src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java + - src/main/java/com/airbyte/api/models/shared/OauthAuthentication.java + - src/main/java/com/airbyte/api/models/shared/Okta.java + - src/main/java/com/airbyte/api/models/shared/Omnisend.java + - src/main/java/com/airbyte/api/models/shared/Oncehub.java + - src/main/java/com/airbyte/api/models/shared/Onepagecrm.java + - src/main/java/com/airbyte/api/models/shared/Onesignal.java + - src/main/java/com/airbyte/api/models/shared/Onfleet.java + - src/main/java/com/airbyte/api/models/shared/OpenAI.java + - src/main/java/com/airbyte/api/models/shared/OpenAICompatible.java + - src/main/java/com/airbyte/api/models/shared/OpenDataDc.java + - src/main/java/com/airbyte/api/models/shared/Openaq.java + - src/main/java/com/airbyte/api/models/shared/Openfda.java + - src/main/java/com/airbyte/api/models/shared/Openweather.java + - src/main/java/com/airbyte/api/models/shared/Operator.java + - src/main/java/com/airbyte/api/models/shared/OpinionStage.java + - src/main/java/com/airbyte/api/models/shared/Opsgenie.java + - src/main/java/com/airbyte/api/models/shared/OptionTitle.java + - src/main/java/com/airbyte/api/models/shared/OptionsList.java + - src/main/java/com/airbyte/api/models/shared/OrGroup.java + - src/main/java/com/airbyte/api/models/shared/Oracle.java + - src/main/java/com/airbyte/api/models/shared/Orb.java + - src/main/java/com/airbyte/api/models/shared/Orbit.java + - src/main/java/com/airbyte/api/models/shared/OrganizationResponse.java + - src/main/java/com/airbyte/api/models/shared/OrganizationsResponse.java + - src/main/java/com/airbyte/api/models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.java + - src/main/java/com/airbyte/api/models/shared/Oura.java + - src/main/java/com/airbyte/api/models/shared/OutbrainAmplify.java + - src/main/java/com/airbyte/api/models/shared/OutputFormat.java + - src/main/java/com/airbyte/api/models/shared/OutputFormatWildcard.java + - src/main/java/com/airbyte/api/models/shared/Outreach.java + - src/main/java/com/airbyte/api/models/shared/Oveit.java + - src/main/java/com/airbyte/api/models/shared/PabblySubscriptionsBilling.java + - src/main/java/com/airbyte/api/models/shared/Pandadoc.java + - src/main/java/com/airbyte/api/models/shared/Paperform.java + - src/main/java/com/airbyte/api/models/shared/Papersign.java + - src/main/java/com/airbyte/api/models/shared/Pardot.java + - src/main/java/com/airbyte/api/models/shared/ParquetColumnarStorage.java + - src/main/java/com/airbyte/api/models/shared/ParquetFormat.java + - src/main/java/com/airbyte/api/models/shared/ParsingStrategy.java + - src/main/java/com/airbyte/api/models/shared/PasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/PaypalTransaction.java + - src/main/java/com/airbyte/api/models/shared/Paystack.java + - src/main/java/com/airbyte/api/models/shared/Pendo.java + - src/main/java/com/airbyte/api/models/shared/Pennylane.java + - src/main/java/com/airbyte/api/models/shared/PeriodUsedForMostPopularStreams.java + - src/main/java/com/airbyte/api/models/shared/PermissionCreateRequest.java + - src/main/java/com/airbyte/api/models/shared/PermissionResponse.java + - src/main/java/com/airbyte/api/models/shared/PermissionResponseRead.java + - src/main/java/com/airbyte/api/models/shared/PermissionScope.java + - src/main/java/com/airbyte/api/models/shared/PermissionType.java + - src/main/java/com/airbyte/api/models/shared/PermissionUpdateRequest.java + - src/main/java/com/airbyte/api/models/shared/PermissionsResponse.java + - src/main/java/com/airbyte/api/models/shared/Persistiq.java + - src/main/java/com/airbyte/api/models/shared/Persona.java + - src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java + - src/main/java/com/airbyte/api/models/shared/PexelsApi.java + - src/main/java/com/airbyte/api/models/shared/Pgvector.java + - src/main/java/com/airbyte/api/models/shared/Picqer.java + - src/main/java/com/airbyte/api/models/shared/Pinecone.java + - src/main/java/com/airbyte/api/models/shared/Pinterest.java + - src/main/java/com/airbyte/api/models/shared/PinterestCredentials.java + - src/main/java/com/airbyte/api/models/shared/Pipedrive.java + - src/main/java/com/airbyte/api/models/shared/Pipeliner.java + - src/main/java/com/airbyte/api/models/shared/PivotCategory.java + - src/main/java/com/airbyte/api/models/shared/PivotalTracker.java + - src/main/java/com/airbyte/api/models/shared/Piwik.java + - src/main/java/com/airbyte/api/models/shared/Plaid.java + - src/main/java/com/airbyte/api/models/shared/PlaidEnvironment.java + - src/main/java/com/airbyte/api/models/shared/Planhat.java + - src/main/java/com/airbyte/api/models/shared/Plausible.java + - src/main/java/com/airbyte/api/models/shared/Plugin.java + - src/main/java/com/airbyte/api/models/shared/Pocket.java + - src/main/java/com/airbyte/api/models/shared/Pokeapi.java + - src/main/java/com/airbyte/api/models/shared/PokemonName.java + - src/main/java/com/airbyte/api/models/shared/PolygonStockApi.java + - src/main/java/com/airbyte/api/models/shared/Postgres.java + - src/main/java/com/airbyte/api/models/shared/PostgresConnection.java + - src/main/java/com/airbyte/api/models/shared/Posthog.java + - src/main/java/com/airbyte/api/models/shared/Postmarkapp.java + - src/main/java/com/airbyte/api/models/shared/Prefer.java + - src/main/java/com/airbyte/api/models/shared/Preferred.java + - src/main/java/com/airbyte/api/models/shared/Prestashop.java + - src/main/java/com/airbyte/api/models/shared/Pretix.java + - src/main/java/com/airbyte/api/models/shared/Primetric.java + - src/main/java/com/airbyte/api/models/shared/PrivateApp.java + - src/main/java/com/airbyte/api/models/shared/PrivateToken.java + - src/main/java/com/airbyte/api/models/shared/Processing.java + - src/main/java/com/airbyte/api/models/shared/ProcessingConfigModel.java + - src/main/java/com/airbyte/api/models/shared/ProductCatalog.java + - src/main/java/com/airbyte/api/models/shared/Productboard.java + - src/main/java/com/airbyte/api/models/shared/Productive.java + - src/main/java/com/airbyte/api/models/shared/ProjectSecret.java + - src/main/java/com/airbyte/api/models/shared/PublicPermissionType.java + - src/main/java/com/airbyte/api/models/shared/Pubsub.java + - src/main/java/com/airbyte/api/models/shared/Pypi.java + - src/main/java/com/airbyte/api/models/shared/Qdrant.java + - src/main/java/com/airbyte/api/models/shared/Qualaroo.java + - src/main/java/com/airbyte/api/models/shared/Queries.java + - src/main/java/com/airbyte/api/models/shared/Quickbooks.java + - src/main/java/com/airbyte/api/models/shared/RESTCatalog.java + - src/main/java/com/airbyte/api/models/shared/Railz.java + - src/main/java/com/airbyte/api/models/shared/RandomSampling.java + - src/main/java/com/airbyte/api/models/shared/Range.java + - src/main/java/com/airbyte/api/models/shared/RdStationMarketing.java + - src/main/java/com/airbyte/api/models/shared/RdStationMarketingAuthorization.java + - src/main/java/com/airbyte/api/models/shared/ReadChangesUsingBinaryLogCDC.java + - src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java + - src/main/java/com/airbyte/api/models/shared/ReadChangesUsingWriteAheadLogCDC.java + - src/main/java/com/airbyte/api/models/shared/Recharge.java + - src/main/java/com/airbyte/api/models/shared/Recreation.java + - src/main/java/com/airbyte/api/models/shared/Recruitee.java + - src/main/java/com/airbyte/api/models/shared/Recurly.java + - src/main/java/com/airbyte/api/models/shared/Reddit.java + - src/main/java/com/airbyte/api/models/shared/Redis.java + - src/main/java/com/airbyte/api/models/shared/Redshift.java + - src/main/java/com/airbyte/api/models/shared/Referralhero.java + - src/main/java/com/airbyte/api/models/shared/Region.java + - src/main/java/com/airbyte/api/models/shared/Rentcast.java + - src/main/java/com/airbyte/api/models/shared/Repairshopr.java + - src/main/java/com/airbyte/api/models/shared/ReplicaSet.java + - src/main/java/com/airbyte/api/models/shared/ReplicateRecords.java + - src/main/java/com/airbyte/api/models/shared/ReplyIo.java + - src/main/java/com/airbyte/api/models/shared/ReportConfig.java + - src/main/java/com/airbyte/api/models/shared/ReportName.java + - src/main/java/com/airbyte/api/models/shared/ReportOptions.java + - src/main/java/com/airbyte/api/models/shared/ReportRecordTypeEnum.java + - src/main/java/com/airbyte/api/models/shared/ReportingDataObject.java + - src/main/java/com/airbyte/api/models/shared/Require.java + - src/main/java/com/airbyte/api/models/shared/Required.java + - src/main/java/com/airbyte/api/models/shared/Retently.java + - src/main/java/com/airbyte/api/models/shared/Revenuecat.java + - src/main/java/com/airbyte/api/models/shared/RevolutMerchant.java + - src/main/java/com/airbyte/api/models/shared/RkiCovid.java + - src/main/java/com/airbyte/api/models/shared/Rocketlane.java + - src/main/java/com/airbyte/api/models/shared/RoleBasedAuthentication.java + - src/main/java/com/airbyte/api/models/shared/Rollbar.java + - src/main/java/com/airbyte/api/models/shared/Rootly.java + - src/main/java/com/airbyte/api/models/shared/Rss.java + - src/main/java/com/airbyte/api/models/shared/Ruddr.java + - src/main/java/com/airbyte/api/models/shared/S3.java + - src/main/java/com/airbyte/api/models/shared/S3AmazonWebServices.java + - src/main/java/com/airbyte/api/models/shared/S3BucketRegion.java + - src/main/java/com/airbyte/api/models/shared/S3Glue.java + - src/main/java/com/airbyte/api/models/shared/SCPSecureCopyProtocol.java + - src/main/java/com/airbyte/api/models/shared/SFTPSecureFileTransferProtocol.java + - src/main/java/com/airbyte/api/models/shared/SQLInserts.java + - src/main/java/com/airbyte/api/models/shared/SSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SSHSecureShell.java + - src/main/java/com/airbyte/api/models/shared/SSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SSLMethod.java + - src/main/java/com/airbyte/api/models/shared/SSLModes.java + - src/main/java/com/airbyte/api/models/shared/Safetyculture.java + - src/main/java/com/airbyte/api/models/shared/SageHr.java + - src/main/java/com/airbyte/api/models/shared/Salesflare.java + - src/main/java/com/airbyte/api/models/shared/Salesforce.java + - src/main/java/com/airbyte/api/models/shared/Salesloft.java + - src/main/java/com/airbyte/api/models/shared/SandboxAccessToken.java + - src/main/java/com/airbyte/api/models/shared/SapFieldglass.java + - src/main/java/com/airbyte/api/models/shared/Savvycal.java + - src/main/java/com/airbyte/api/models/shared/ScanChangesWithUserDefinedCursor.java + - src/main/java/com/airbyte/api/models/shared/ScheduleTypeEnum.java + - src/main/java/com/airbyte/api/models/shared/ScheduleTypeWithBasicEnum.java + - src/main/java/com/airbyte/api/models/shared/SchemeBasicAuth.java + - src/main/java/com/airbyte/api/models/shared/SchemeClientCredentials.java + - src/main/java/com/airbyte/api/models/shared/ScopeType.java + - src/main/java/com/airbyte/api/models/shared/Scryfall.java + - src/main/java/com/airbyte/api/models/shared/SearchCriteria.java + - src/main/java/com/airbyte/api/models/shared/SearchIn.java + - src/main/java/com/airbyte/api/models/shared/SearchScope.java + - src/main/java/com/airbyte/api/models/shared/Secoda.java + - src/main/java/com/airbyte/api/models/shared/Security.java + - src/main/java/com/airbyte/api/models/shared/Segment.java + - src/main/java/com/airbyte/api/models/shared/SelectedFieldInfo.java + - src/main/java/com/airbyte/api/models/shared/SelfManagedReplicaSet.java + - src/main/java/com/airbyte/api/models/shared/Sendgrid.java + - src/main/java/com/airbyte/api/models/shared/Sendinblue.java + - src/main/java/com/airbyte/api/models/shared/Sendowl.java + - src/main/java/com/airbyte/api/models/shared/Sendpulse.java + - src/main/java/com/airbyte/api/models/shared/Senseforce.java + - src/main/java/com/airbyte/api/models/shared/Sentry.java + - src/main/java/com/airbyte/api/models/shared/SerializationLibrary.java + - src/main/java/com/airbyte/api/models/shared/ServerManaged.java + - src/main/java/com/airbyte/api/models/shared/ServiceAccount.java + - src/main/java/com/airbyte/api/models/shared/ServiceAccountAuthentication.java + - src/main/java/com/airbyte/api/models/shared/ServiceAccountKey.java + - src/main/java/com/airbyte/api/models/shared/ServiceAccountKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/ServiceKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/ServiceName.java + - src/main/java/com/airbyte/api/models/shared/Sevenshifts.java + - src/main/java/com/airbyte/api/models/shared/Sftp.java + - src/main/java/com/airbyte/api/models/shared/SftpBulk.java + - src/main/java/com/airbyte/api/models/shared/SftpJson.java + - src/main/java/com/airbyte/api/models/shared/ShareTypeUsedForMostPopularSharedStream.java + - src/main/java/com/airbyte/api/models/shared/Sharetribe.java + - src/main/java/com/airbyte/api/models/shared/Shippo.java + - src/main/java/com/airbyte/api/models/shared/Shopify.java + - src/main/java/com/airbyte/api/models/shared/ShopifyAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/ShopifyCredentials.java + - src/main/java/com/airbyte/api/models/shared/Shortcut.java + - src/main/java/com/airbyte/api/models/shared/Shortio.java + - src/main/java/com/airbyte/api/models/shared/SigmaComputing.java + - src/main/java/com/airbyte/api/models/shared/SignInViaGoogleOAuth.java + - src/main/java/com/airbyte/api/models/shared/SignInViaRDStationOAuth.java + - src/main/java/com/airbyte/api/models/shared/SignInViaSlackOAuth.java + - src/main/java/com/airbyte/api/models/shared/Silent.java + - src/main/java/com/airbyte/api/models/shared/Simfin.java + - src/main/java/com/airbyte/api/models/shared/Simplecast.java + - src/main/java/com/airbyte/api/models/shared/Simplesat.java + - src/main/java/com/airbyte/api/models/shared/SingleStoreAccessToken.java + - src/main/java/com/airbyte/api/models/shared/Site.java + - src/main/java/com/airbyte/api/models/shared/Slack.java + - src/main/java/com/airbyte/api/models/shared/SlackCredentials.java + - src/main/java/com/airbyte/api/models/shared/Smaily.java + - src/main/java/com/airbyte/api/models/shared/Smartengage.java + - src/main/java/com/airbyte/api/models/shared/Smartreach.java + - src/main/java/com/airbyte/api/models/shared/Smartsheets.java + - src/main/java/com/airbyte/api/models/shared/SmartsheetsCredentials.java + - src/main/java/com/airbyte/api/models/shared/Smartwaiver.java + - src/main/java/com/airbyte/api/models/shared/SnapchatMarketing.java + - src/main/java/com/airbyte/api/models/shared/Snappy.java + - src/main/java/com/airbyte/api/models/shared/Snowflake.java + - src/main/java/com/airbyte/api/models/shared/SnowflakeConnection.java + - src/main/java/com/airbyte/api/models/shared/SnowflakeCortex.java + - src/main/java/com/airbyte/api/models/shared/SnowflakeCredentials.java + - src/main/java/com/airbyte/api/models/shared/SolarwindsServiceDesk.java + - src/main/java/com/airbyte/api/models/shared/SonarCloud.java + - src/main/java/com/airbyte/api/models/shared/SortBy.java + - src/main/java/com/airbyte/api/models/shared/Source7shifts.java + - src/main/java/com/airbyte/api/models/shared/SourceActivecampaign.java + - src/main/java/com/airbyte/api/models/shared/SourceAgilecrm.java + - src/main/java/com/airbyte/api/models/shared/SourceAha.java + - src/main/java/com/airbyte/api/models/shared/SourceAirbyte.java + - src/main/java/com/airbyte/api/models/shared/SourceAircall.java + - src/main/java/com/airbyte/api/models/shared/SourceAirtable.java + - src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtable.java + - src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceAirtableOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceAirtablePersonalAccessToken.java + - src/main/java/com/airbyte/api/models/shared/SourceAirtableSchemasAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceAkeneo.java + - src/main/java/com/airbyte/api/models/shared/SourceAlgolia.java + - src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java + - src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAds.java + - src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java + - src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java + - src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java + - src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegion.java + - src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java + - src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java + - src/main/java/com/airbyte/api/models/shared/SourceAppcues.java + - src/main/java/com/airbyte/api/models/shared/SourceAppfigures.java + - src/main/java/com/airbyte/api/models/shared/SourceAppfollow.java + - src/main/java/com/airbyte/api/models/shared/SourceAppleSearchAds.java + - src/main/java/com/airbyte/api/models/shared/SourceApptivo.java + - src/main/java/com/airbyte/api/models/shared/SourceAsana.java + - src/main/java/com/airbyte/api/models/shared/SourceAsanaAsana.java + - src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsTitle.java + - src/main/java/com/airbyte/api/models/shared/SourceAsanaSchemasCredentialsTitle.java + - src/main/java/com/airbyte/api/models/shared/SourceAshby.java + - src/main/java/com/airbyte/api/models/shared/SourceAuth0.java + - src/main/java/com/airbyte/api/models/shared/SourceAuth0AuthenticationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasAuthenticationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorage.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageMode.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java + - src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java + - src/main/java/com/airbyte/api/models/shared/SourceBasecamp.java + - src/main/java/com/airbyte/api/models/shared/SourceBeamer.java + - src/main/java/com/airbyte/api/models/shared/SourceBigmailer.java + - src/main/java/com/airbyte/api/models/shared/SourceBigquery.java + - src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigquery.java + - src/main/java/com/airbyte/api/models/shared/SourceBingAds.java + - src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAds.java + - src/main/java/com/airbyte/api/models/shared/SourceBitly.java + - src/main/java/com/airbyte/api/models/shared/SourceBlogger.java + - src/main/java/com/airbyte/api/models/shared/SourceBox.java + - src/main/java/com/airbyte/api/models/shared/SourceBraintree.java + - src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironment.java + - src/main/java/com/airbyte/api/models/shared/SourceBraze.java + - src/main/java/com/airbyte/api/models/shared/SourceBreezyHr.java + - src/main/java/com/airbyte/api/models/shared/SourceBrevo.java + - src/main/java/com/airbyte/api/models/shared/SourceBrex.java + - src/main/java/com/airbyte/api/models/shared/SourceBugsnag.java + - src/main/java/com/airbyte/api/models/shared/SourceBuildkite.java + - src/main/java/com/airbyte/api/models/shared/SourceBunnyInc.java + - src/main/java/com/airbyte/api/models/shared/SourceBuzzsprout.java + - src/main/java/com/airbyte/api/models/shared/SourceCalCom.java + - src/main/java/com/airbyte/api/models/shared/SourceCalendly.java + - src/main/java/com/airbyte/api/models/shared/SourceCallrail.java + - src/main/java/com/airbyte/api/models/shared/SourceCampaignMonitor.java + - src/main/java/com/airbyte/api/models/shared/SourceCampayn.java + - src/main/java/com/airbyte/api/models/shared/SourceCanny.java + - src/main/java/com/airbyte/api/models/shared/SourceCapsuleCrm.java + - src/main/java/com/airbyte/api/models/shared/SourceCareQualityCommission.java + - src/main/java/com/airbyte/api/models/shared/SourceCart.java + - src/main/java/com/airbyte/api/models/shared/SourceCartAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceCartAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceCartSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceCastorEdc.java + - src/main/java/com/airbyte/api/models/shared/SourceChameleon.java + - src/main/java/com/airbyte/api/models/shared/SourceChargebee.java + - src/main/java/com/airbyte/api/models/shared/SourceChargedesk.java + - src/main/java/com/airbyte/api/models/shared/SourceChargify.java + - src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java + - src/main/java/com/airbyte/api/models/shared/SourceCimis.java + - src/main/java/com/airbyte/api/models/shared/SourceCin7.java + - src/main/java/com/airbyte/api/models/shared/SourceCirca.java + - src/main/java/com/airbyte/api/models/shared/SourceCircleci.java + - src/main/java/com/airbyte/api/models/shared/SourceClarifAi.java + - src/main/java/com/airbyte/api/models/shared/SourceClazar.java + - src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java + - src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouse.java + - src/main/java/com/airbyte/api/models/shared/SourceClickhouseNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/SourceClickhousePasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java + - src/main/java/com/airbyte/api/models/shared/SourceClockify.java + - src/main/java/com/airbyte/api/models/shared/SourceClockodo.java + - src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java + - src/main/java/com/airbyte/api/models/shared/SourceCloudbeds.java + - src/main/java/com/airbyte/api/models/shared/SourceCoassemble.java + - src/main/java/com/airbyte/api/models/shared/SourceCoda.java + - src/main/java/com/airbyte/api/models/shared/SourceCodefresh.java + - src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java + - src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java + - src/main/java/com/airbyte/api/models/shared/SourceConcord.java + - src/main/java/com/airbyte/api/models/shared/SourceConcordEnvironment.java + - src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java + - src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java + - src/main/java/com/airbyte/api/models/shared/SourceConfluence.java + - src/main/java/com/airbyte/api/models/shared/SourceConvertkit.java + - src/main/java/com/airbyte/api/models/shared/SourceConvex.java + - src/main/java/com/airbyte/api/models/shared/SourceConvexConvex.java + - src/main/java/com/airbyte/api/models/shared/SourceCopper.java + - src/main/java/com/airbyte/api/models/shared/SourceCountercyclical.java + - src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java + - src/main/java/com/airbyte/api/models/shared/SourceCustomerIo.java + - src/main/java/com/airbyte/api/models/shared/SourceDatadog.java + - src/main/java/com/airbyte/api/models/shared/SourceDatascope.java + - src/main/java/com/airbyte/api/models/shared/SourceDbt.java + - src/main/java/com/airbyte/api/models/shared/SourceDelighted.java + - src/main/java/com/airbyte/api/models/shared/SourceDeputy.java + - src/main/java/com/airbyte/api/models/shared/SourceDixa.java + - src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java + - src/main/java/com/airbyte/api/models/shared/SourceDremio.java + - src/main/java/com/airbyte/api/models/shared/SourceDrift.java + - src/main/java/com/airbyte/api/models/shared/SourceDriftAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceDriftCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceDriftDrift.java + - src/main/java/com/airbyte/api/models/shared/SourceDriftOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceDriftSchemasCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceDrip.java + - src/main/java/com/airbyte/api/models/shared/SourceDropboxSign.java + - src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java + - src/main/java/com/airbyte/api/models/shared/SourceDynamodbAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceDynamodbCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodb.java + - src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegion.java + - src/main/java/com/airbyte/api/models/shared/SourceDynamodbSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceEConomic.java + - src/main/java/com/airbyte/api/models/shared/SourceEasypost.java + - src/main/java/com/airbyte/api/models/shared/SourceEasypromos.java + - src/main/java/com/airbyte/api/models/shared/SourceElasticemail.java + - src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java + - src/main/java/com/airbyte/api/models/shared/SourceEmploymentHero.java + - src/main/java/com/airbyte/api/models/shared/SourceEncharge.java + - src/main/java/com/airbyte/api/models/shared/SourceEventbrite.java + - src/main/java/com/airbyte/api/models/shared/SourceEventee.java + - src/main/java/com/airbyte/api/models/shared/SourceEventzilla.java + - src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java + - src/main/java/com/airbyte/api/models/shared/SourceEzofficeinventory.java + - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java + - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingActionReportTime.java + - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketing.java + - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceFactorial.java + - src/main/java/com/airbyte/api/models/shared/SourceFaker.java + - src/main/java/com/airbyte/api/models/shared/SourceFauna.java + - src/main/java/com/airbyte/api/models/shared/SourceFaunaDeletionMode.java + - src/main/java/com/airbyte/api/models/shared/SourceFaunaSchemasDeletionMode.java + - src/main/java/com/airbyte/api/models/shared/SourceFile.java + - src/main/java/com/airbyte/api/models/shared/SourceFileFileFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorage.java + - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider6Storage.java + - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider7Storage.java + - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider8Storage.java + - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProviderStorage.java + - src/main/java/com/airbyte/api/models/shared/SourceFileSchemasStorage.java + - src/main/java/com/airbyte/api/models/shared/SourceFileStorage.java + - src/main/java/com/airbyte/api/models/shared/SourceFillout.java + - src/main/java/com/airbyte/api/models/shared/SourceFinage.java + - src/main/java/com/airbyte/api/models/shared/SourceFinancialModelling.java + - src/main/java/com/airbyte/api/models/shared/SourceFinnhub.java + - src/main/java/com/airbyte/api/models/shared/SourceFinnworlds.java + - src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java + - src/main/java/com/airbyte/api/models/shared/SourceFireboltFirebolt.java + - src/main/java/com/airbyte/api/models/shared/SourceFirehydrant.java + - src/main/java/com/airbyte/api/models/shared/SourceFleetio.java + - src/main/java/com/airbyte/api/models/shared/SourceFlexmail.java + - src/main/java/com/airbyte/api/models/shared/SourceFlexport.java + - src/main/java/com/airbyte/api/models/shared/SourceFloat.java + - src/main/java/com/airbyte/api/models/shared/SourceFlowlu.java + - src/main/java/com/airbyte/api/models/shared/SourceFormbricks.java + - src/main/java/com/airbyte/api/models/shared/SourceFreeAgentConnector.java + - src/main/java/com/airbyte/api/models/shared/SourceFreightview.java + - src/main/java/com/airbyte/api/models/shared/SourceFreshbooks.java + - src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java + - src/main/java/com/airbyte/api/models/shared/SourceFreshchat.java + - src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java + - src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java + - src/main/java/com/airbyte/api/models/shared/SourceFreshservice.java + - src/main/java/com/airbyte/api/models/shared/SourceFront.java + - src/main/java/com/airbyte/api/models/shared/SourceFulcrum.java + - src/main/java/com/airbyte/api/models/shared/SourceGainsightPx.java + - src/main/java/com/airbyte/api/models/shared/SourceGcs.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsAutogenerated.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsAvroFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsCSVFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsCSVHeaderDefinition.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsFileBasedStreamConfig.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsFromCSV.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsGcs.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsJsonlFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsLocal.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsMode.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsParquetFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsParsingStrategy.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsProcessing.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsUserProvided.java + - src/main/java/com/airbyte/api/models/shared/SourceGcsValidationPolicy.java + - src/main/java/com/airbyte/api/models/shared/SourceGetgist.java + - src/main/java/com/airbyte/api/models/shared/SourceGetlago.java + - src/main/java/com/airbyte/api/models/shared/SourceGitbook.java + - src/main/java/com/airbyte/api/models/shared/SourceGithub.java + - src/main/java/com/airbyte/api/models/shared/SourceGithubAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceGithubGithub.java + - src/main/java/com/airbyte/api/models/shared/SourceGithubOptionTitle.java + - src/main/java/com/airbyte/api/models/shared/SourceGithubPersonalAccessToken.java + - src/main/java/com/airbyte/api/models/shared/SourceGitlab.java + - src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlab.java + - src/main/java/com/airbyte/api/models/shared/SourceGitlabOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceGitlabSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java + - src/main/java/com/airbyte/api/models/shared/SourceGmail.java + - src/main/java/com/airbyte/api/models/shared/SourceGnews.java + - src/main/java/com/airbyte/api/models/shared/SourceGnewsCountry.java + - src/main/java/com/airbyte/api/models/shared/SourceGnewsLanguage.java + - src/main/java/com/airbyte/api/models/shared/SourceGnewsSortBy.java + - src/main/java/com/airbyte/api/models/shared/SourceGocardless.java + - src/main/java/com/airbyte/api/models/shared/SourceGoldcast.java + - src/main/java/com/airbyte/api/models/shared/SourceGong.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAds.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAndGroup.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDisabled.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiEnabled.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiExpression.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFromValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGranularity.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInListFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNotExpression.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiOrGroup.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiStringFilter.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiToValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValue.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValueType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleCalendar.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleClassroom.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryCredentialsTitle.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectorySchemasCredentialsTitle.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDrive.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAutogenerated.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAvroFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVHeaderDefinition.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFileBasedStreamConfig.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFromCSV.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveGoogleDrive.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveJsonlFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveLocal.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveMode.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParquetFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParsingStrategy.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveProcessing.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveUserProvided.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveValidationPolicy.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleForms.java + - src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleCustomReportConfig.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleOAuth.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheets.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleTasks.java + - src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java + - src/main/java/com/airbyte/api/models/shared/SourceGorgias.java + - src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java + - src/main/java/com/airbyte/api/models/shared/SourceGridly.java + - src/main/java/com/airbyte/api/models/shared/SourceGuru.java + - src/main/java/com/airbyte/api/models/shared/SourceGutendex.java + - src/main/java/com/airbyte/api/models/shared/SourceHardcodedRecords.java + - src/main/java/com/airbyte/api/models/shared/SourceHarvest.java + - src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.java + - src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticationMechanism.java + - src/main/java/com/airbyte/api/models/shared/SourceHarvestSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceHeight.java + - src/main/java/com/airbyte/api/models/shared/SourceHibob.java + - src/main/java/com/airbyte/api/models/shared/SourceHighLevel.java + - src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java + - src/main/java/com/airbyte/api/models/shared/SourceHubspot.java + - src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspot.java + - src/main/java/com/airbyte/api/models/shared/SourceHubspotOAuth.java + - src/main/java/com/airbyte/api/models/shared/SourceHubspotSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceHumanitix.java + - src/main/java/com/airbyte/api/models/shared/SourceIlluminaBasespace.java + - src/main/java/com/airbyte/api/models/shared/SourceIncidentIo.java + - src/main/java/com/airbyte/api/models/shared/SourceInflowinventory.java + - src/main/java/com/airbyte/api/models/shared/SourceInsightly.java + - src/main/java/com/airbyte/api/models/shared/SourceInstagram.java + - src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagram.java + - src/main/java/com/airbyte/api/models/shared/SourceInstatus.java + - src/main/java/com/airbyte/api/models/shared/SourceIntercom.java + - src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercom.java + - src/main/java/com/airbyte/api/models/shared/SourceInvoiced.java + - src/main/java/com/airbyte/api/models/shared/SourceInvoiceninja.java + - src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java + - src/main/java/com/airbyte/api/models/shared/SourceIterable.java + - src/main/java/com/airbyte/api/models/shared/SourceJira.java + - src/main/java/com/airbyte/api/models/shared/SourceJobnimbus.java + - src/main/java/com/airbyte/api/models/shared/SourceJotform.java + - src/main/java/com/airbyte/api/models/shared/SourceJotformApiEndpoint.java + - src/main/java/com/airbyte/api/models/shared/SourceJotformSchemasApiEndpoint.java + - src/main/java/com/airbyte/api/models/shared/SourceJustSift.java + - src/main/java/com/airbyte/api/models/shared/SourceJustcall.java + - src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java + - src/main/java/com/airbyte/api/models/shared/SourceKatana.java + - src/main/java/com/airbyte/api/models/shared/SourceKisi.java + - src/main/java/com/airbyte/api/models/shared/SourceKissmetrics.java + - src/main/java/com/airbyte/api/models/shared/SourceKlarna.java + - src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegion.java + - src/main/java/com/airbyte/api/models/shared/SourceKlausApi.java + - src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java + - src/main/java/com/airbyte/api/models/shared/SourceKyve.java + - src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java + - src/main/java/com/airbyte/api/models/shared/SourceLeadfeeder.java + - src/main/java/com/airbyte/api/models/shared/SourceLemlist.java + - src/main/java/com/airbyte/api/models/shared/SourceLessAnnoyingCrm.java + - src/main/java/com/airbyte/api/models/shared/SourceLeverHiring.java + - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthenticationMechanism.java + - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringEnvironment.java + - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringLeverHiring.java + - src/main/java/com/airbyte/api/models/shared/SourceLeverHiringSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceLightspeedRetail.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAccessToken.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAds.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsSchemasAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAccessToken.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesSchemasAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java + - src/main/java/com/airbyte/api/models/shared/SourceLob.java + - src/main/java/com/airbyte/api/models/shared/SourceLokalise.java + - src/main/java/com/airbyte/api/models/shared/SourceLooker.java + - src/main/java/com/airbyte/api/models/shared/SourceLuma.java + - src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java + - src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimp.java + - src/main/java/com/airbyte/api/models/shared/SourceMailchimpOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceMailchimpSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMailerlite.java + - src/main/java/com/airbyte/api/models/shared/SourceMailgun.java + - src/main/java/com/airbyte/api/models/shared/SourceMailjetMail.java + - src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java + - src/main/java/com/airbyte/api/models/shared/SourceMailosaur.java + - src/main/java/com/airbyte/api/models/shared/SourceMailtrap.java + - src/main/java/com/airbyte/api/models/shared/SourceMarketo.java + - src/main/java/com/airbyte/api/models/shared/SourceMarketstack.java + - src/main/java/com/airbyte/api/models/shared/SourceMention.java + - src/main/java/com/airbyte/api/models/shared/SourceMetabase.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftDataverse.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftEntraId.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftLists.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedrive.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAutogenerated.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAvroFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFromCSV.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveJsonlFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveLocal.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMicrosoftOnedrive.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMode.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParquetFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParsingStrategy.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveProcessing.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUserProvided.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveValidationPolicy.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepoint.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAutogenerated.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAvroFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointExcelFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFromCSV.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointJsonlFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointLocal.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMode.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParquetFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParsingStrategy.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointProcessing.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSearchScope.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUserProvided.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointValidationPolicy.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthenticationMechanism.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeams.java + - src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMiro.java + - src/main/java/com/airbyte/api/models/shared/SourceMissive.java + - src/main/java/com/airbyte/api/models/shared/SourceMixmax.java + - src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java + - src/main/java/com/airbyte/api/models/shared/SourceMixpanelOptionTitle.java + - src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegion.java + - src/main/java/com/airbyte/api/models/shared/SourceMixpanelSchemasOptionTitle.java + - src/main/java/com/airbyte/api/models/shared/SourceMode.java + - src/main/java/com/airbyte/api/models/shared/SourceMonday.java + - src/main/java/com/airbyte/api/models/shared/SourceMondayAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMondayAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMondayMonday.java + - src/main/java/com/airbyte/api/models/shared/SourceMondayOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceMondaySchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java + - src/main/java/com/airbyte/api/models/shared/SourceMongodbV2ClusterType.java + - src/main/java/com/airbyte/api/models/shared/SourceMongodbV2SchemasClusterType.java + - src/main/java/com/airbyte/api/models/shared/SourceMssql.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedTrustServerCertificate.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedVerifyCertificate.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlInvalidCDCPositionBehaviorAdvanced.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlMssql.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlSSLMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSSLMethodSSLMethodSSLMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethodSslMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMssqlUnencrypted.java + - src/main/java/com/airbyte/api/models/shared/SourceMux.java + - src/main/java/com/airbyte/api/models/shared/SourceMyHours.java + - src/main/java/com/airbyte/api/models/shared/SourceMysql.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlInvalidCDCPositionBehaviorAdvanced.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlMode.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlMysql.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlSSLModes.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSSLModeSSLModesMode.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSslModeMode.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlUpdateMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceMysqlVerifyCA.java + - src/main/java/com/airbyte/api/models/shared/SourceN8n.java + - src/main/java/com/airbyte/api/models/shared/SourceNasa.java + - src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java + - src/main/java/com/airbyte/api/models/shared/SourceNewsApi.java + - src/main/java/com/airbyte/api/models/shared/SourceNewsdataIo.java + - src/main/java/com/airbyte/api/models/shared/SourceNocrm.java + - src/main/java/com/airbyte/api/models/shared/SourceNorthpassLms.java + - src/main/java/com/airbyte/api/models/shared/SourceNotion.java + - src/main/java/com/airbyte/api/models/shared/SourceNotionAccessToken.java + - src/main/java/com/airbyte/api/models/shared/SourceNotionAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceNotionAuthenticationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceNotionNotion.java + - src/main/java/com/airbyte/api/models/shared/SourceNotionOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceNotionSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceNutshell.java + - src/main/java/com/airbyte/api/models/shared/SourceNylas.java + - src/main/java/com/airbyte/api/models/shared/SourceNytimes.java + - src/main/java/com/airbyte/api/models/shared/SourceOkta.java + - src/main/java/com/airbyte/api/models/shared/SourceOktaAPIToken.java + - src/main/java/com/airbyte/api/models/shared/SourceOktaAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceOktaAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceOktaOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasCredentialsAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java + - src/main/java/com/airbyte/api/models/shared/SourceOncehub.java + - src/main/java/com/airbyte/api/models/shared/SourceOnepagecrm.java + - src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java + - src/main/java/com/airbyte/api/models/shared/SourceOnfleet.java + - src/main/java/com/airbyte/api/models/shared/SourceOpenDataDc.java + - src/main/java/com/airbyte/api/models/shared/SourceOpenaq.java + - src/main/java/com/airbyte/api/models/shared/SourceOpenfda.java + - src/main/java/com/airbyte/api/models/shared/SourceOpenweather.java + - src/main/java/com/airbyte/api/models/shared/SourceOpinionStage.java + - src/main/java/com/airbyte/api/models/shared/SourceOpsgenie.java + - src/main/java/com/airbyte/api/models/shared/SourceOracle.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionType.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleEncryption.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionAlgorithm.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleNativeNetworkEncryptionNNE.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleOracle.java + - src/main/java/com/airbyte/api/models/shared/SourceOraclePasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionEncryptionMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleTLSEncryptedVerifyCertificate.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceOracleUnencrypted.java + - src/main/java/com/airbyte/api/models/shared/SourceOrb.java + - src/main/java/com/airbyte/api/models/shared/SourceOrbit.java + - src/main/java/com/airbyte/api/models/shared/SourceOura.java + - src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplify.java + - src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAccessToken.java + - src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAuthenticationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyUsernamePassword.java + - src/main/java/com/airbyte/api/models/shared/SourceOutreach.java + - src/main/java/com/airbyte/api/models/shared/SourceOveit.java + - src/main/java/com/airbyte/api/models/shared/SourcePabblySubscriptionsBilling.java + - src/main/java/com/airbyte/api/models/shared/SourcePandadoc.java + - src/main/java/com/airbyte/api/models/shared/SourcePaperform.java + - src/main/java/com/airbyte/api/models/shared/SourcePapersign.java + - src/main/java/com/airbyte/api/models/shared/SourcePardot.java + - src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java + - src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java + - src/main/java/com/airbyte/api/models/shared/SourcePaystack.java + - src/main/java/com/airbyte/api/models/shared/SourcePendo.java + - src/main/java/com/airbyte/api/models/shared/SourcePennylane.java + - src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java + - src/main/java/com/airbyte/api/models/shared/SourcePersona.java + - src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java + - src/main/java/com/airbyte/api/models/shared/SourcePicqer.java + - src/main/java/com/airbyte/api/models/shared/SourcePinterest.java + - src/main/java/com/airbyte/api/models/shared/SourcePinterestAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourcePinterestLevel.java + - src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterest.java + - src/main/java/com/airbyte/api/models/shared/SourcePinterestSchemasValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourcePinterestValidEnums.java + - src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java + - src/main/java/com/airbyte/api/models/shared/SourcePipeliner.java + - src/main/java/com/airbyte/api/models/shared/SourcePivotalTracker.java + - src/main/java/com/airbyte/api/models/shared/SourcePiwik.java + - src/main/java/com/airbyte/api/models/shared/SourcePlaid.java + - src/main/java/com/airbyte/api/models/shared/SourcePlanhat.java + - src/main/java/com/airbyte/api/models/shared/SourcePlausible.java + - src/main/java/com/airbyte/api/models/shared/SourcePocket.java + - src/main/java/com/airbyte/api/models/shared/SourcePocketSortBy.java + - src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java + - src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgres.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresAllow.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresDisable.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresMethod.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresMode.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresNoTunnel.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgres.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresPrefer.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresRequire.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSSLModes.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMethod.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasReplicationMethodMethod.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes5Mode.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes6Mode.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModesMode.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSslModeMode.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresUpdateMethod.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyCa.java + - src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyFull.java + - src/main/java/com/airbyte/api/models/shared/SourcePosthog.java + - src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java + - src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java + - src/main/java/com/airbyte/api/models/shared/SourcePretix.java + - src/main/java/com/airbyte/api/models/shared/SourcePrimetric.java + - src/main/java/com/airbyte/api/models/shared/SourceProductboard.java + - src/main/java/com/airbyte/api/models/shared/SourceProductive.java + - src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java + - src/main/java/com/airbyte/api/models/shared/SourcePypi.java + - src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java + - src/main/java/com/airbyte/api/models/shared/SourceQuickbooks.java + - src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceQuickbooksOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceRailz.java + - src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketing.java + - src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthenticationType.java + - src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingRdStationMarketing.java + - src/main/java/com/airbyte/api/models/shared/SourceRecharge.java + - src/main/java/com/airbyte/api/models/shared/SourceRecreation.java + - src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java + - src/main/java/com/airbyte/api/models/shared/SourceRecurly.java + - src/main/java/com/airbyte/api/models/shared/SourceReddit.java + - src/main/java/com/airbyte/api/models/shared/SourceRedshift.java + - src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshift.java + - src/main/java/com/airbyte/api/models/shared/SourceReferralhero.java + - src/main/java/com/airbyte/api/models/shared/SourceRentcast.java + - src/main/java/com/airbyte/api/models/shared/SourceRepairshopr.java + - src/main/java/com/airbyte/api/models/shared/SourceReplyIo.java + - src/main/java/com/airbyte/api/models/shared/SourceResponse.java + - src/main/java/com/airbyte/api/models/shared/SourceRetently.java + - src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthenticationMechanism.java + - src/main/java/com/airbyte/api/models/shared/SourceRetentlySchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceRevenuecat.java + - src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchant.java + - src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchantEnvironment.java + - src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java + - src/main/java/com/airbyte/api/models/shared/SourceRocketlane.java + - src/main/java/com/airbyte/api/models/shared/SourceRollbar.java + - src/main/java/com/airbyte/api/models/shared/SourceRootly.java + - src/main/java/com/airbyte/api/models/shared/SourceRss.java + - src/main/java/com/airbyte/api/models/shared/SourceRuddr.java + - src/main/java/com/airbyte/api/models/shared/SourceS3.java + - src/main/java/com/airbyte/api/models/shared/SourceS3Autogenerated.java + - src/main/java/com/airbyte/api/models/shared/SourceS3AvroFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceS3CSVFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceS3CSVHeaderDefinition.java + - src/main/java/com/airbyte/api/models/shared/SourceS3DeliveryType.java + - src/main/java/com/airbyte/api/models/shared/SourceS3ExcelFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceS3FileBasedStreamConfig.java + - src/main/java/com/airbyte/api/models/shared/SourceS3Filetype.java + - src/main/java/com/airbyte/api/models/shared/SourceS3Format.java + - src/main/java/com/airbyte/api/models/shared/SourceS3FromCSV.java + - src/main/java/com/airbyte/api/models/shared/SourceS3HeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceS3JsonlFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceS3Local.java + - src/main/java/com/airbyte/api/models/shared/SourceS3Mode.java + - src/main/java/com/airbyte/api/models/shared/SourceS3ParquetFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceS3ParsingStrategy.java + - src/main/java/com/airbyte/api/models/shared/SourceS3Processing.java + - src/main/java/com/airbyte/api/models/shared/SourceS3S3.java + - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.java + - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceS3UnstructuredDocumentFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceS3UserProvided.java + - src/main/java/com/airbyte/api/models/shared/SourceS3ValidationPolicy.java + - src/main/java/com/airbyte/api/models/shared/SourceSafetyculture.java + - src/main/java/com/airbyte/api/models/shared/SourceSageHr.java + - src/main/java/com/airbyte/api/models/shared/SourceSalesflare.java + - src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java + - src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforce.java + - src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java + - src/main/java/com/airbyte/api/models/shared/SourceSalesloftAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceSalesloftSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java + - src/main/java/com/airbyte/api/models/shared/SourceSavvycal.java + - src/main/java/com/airbyte/api/models/shared/SourceScryfall.java + - src/main/java/com/airbyte/api/models/shared/SourceSecoda.java + - src/main/java/com/airbyte/api/models/shared/SourceSegment.java + - src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java + - src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java + - src/main/java/com/airbyte/api/models/shared/SourceSendowl.java + - src/main/java/com/airbyte/api/models/shared/SourceSendpulse.java + - src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java + - src/main/java/com/airbyte/api/models/shared/SourceSentry.java + - src/main/java/com/airbyte/api/models/shared/SourceSftp.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAPIParameterConfigModel.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAutogenerated.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAvroFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVHeaderDefinition.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCopyRawFiles.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryType.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkExcelFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileBasedStreamConfig.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFromCSV.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkJsonlFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkLocal.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkMode.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParquetFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParsingStrategy.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkProcessing.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkReplicateRecords.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasDeliveryType.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasMode.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsHeaderDefinitionType.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUnstructuredDocumentFormat.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUserProvided.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkValidationPolicy.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpBulkViaAPI.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpPasswordAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpSSHKeyAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceSftpSchemasAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceSharetribe.java + - src/main/java/com/airbyte/api/models/shared/SourceShippo.java + - src/main/java/com/airbyte/api/models/shared/SourceShopify.java + - src/main/java/com/airbyte/api/models/shared/SourceShopifyAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceShopifyOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceShopifySchemasAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceShopifyShopify.java + - src/main/java/com/airbyte/api/models/shared/SourceShortcut.java + - src/main/java/com/airbyte/api/models/shared/SourceShortio.java + - src/main/java/com/airbyte/api/models/shared/SourceSigmaComputing.java + - src/main/java/com/airbyte/api/models/shared/SourceSimfin.java + - src/main/java/com/airbyte/api/models/shared/SourceSimplecast.java + - src/main/java/com/airbyte/api/models/shared/SourceSimplesat.java + - src/main/java/com/airbyte/api/models/shared/SourceSlack.java + - src/main/java/com/airbyte/api/models/shared/SourceSlackAPIToken.java + - src/main/java/com/airbyte/api/models/shared/SourceSlackAuthenticationMechanism.java + - src/main/java/com/airbyte/api/models/shared/SourceSlackOptionTitle.java + - src/main/java/com/airbyte/api/models/shared/SourceSlackSchemasOptionTitle.java + - src/main/java/com/airbyte/api/models/shared/SourceSlackSlack.java + - src/main/java/com/airbyte/api/models/shared/SourceSmaily.java + - src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java + - src/main/java/com/airbyte/api/models/shared/SourceSmartreach.java + - src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java + - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheets.java + - src/main/java/com/airbyte/api/models/shared/SourceSmartwaiver.java + - src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java + - src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketing.java + - src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java + - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeKeyPairAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasCredentialsAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflake.java + - src/main/java/com/airbyte/api/models/shared/SourceSnowflakeUsernameAndPassword.java + - src/main/java/com/airbyte/api/models/shared/SourceSolarwindsServiceDesk.java + - src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java + - src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java + - src/main/java/com/airbyte/api/models/shared/SourceSparkpost.java + - src/main/java/com/airbyte/api/models/shared/SourceSplitIo.java + - src/main/java/com/airbyte/api/models/shared/SourceSpotlercrm.java + - src/main/java/com/airbyte/api/models/shared/SourceSquare.java + - src/main/java/com/airbyte/api/models/shared/SourceSquareAPIKey.java + - src/main/java/com/airbyte/api/models/shared/SourceSquareAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSquareAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceSquareSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceSquarespace.java + - src/main/java/com/airbyte/api/models/shared/SourceStatsig.java + - src/main/java/com/airbyte/api/models/shared/SourceStatuspage.java + - src/main/java/com/airbyte/api/models/shared/SourceStockdata.java + - src/main/java/com/airbyte/api/models/shared/SourceStrava.java + - src/main/java/com/airbyte/api/models/shared/SourceStravaAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceStripe.java + - src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java + - src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowUrlBase.java + - src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java + - src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkey.java + - src/main/java/com/airbyte/api/models/shared/SourceSurvicate.java + - src/main/java/com/airbyte/api/models/shared/SourceSysteme.java + - src/main/java/com/airbyte/api/models/shared/SourceTaboola.java + - src/main/java/com/airbyte/api/models/shared/SourceTeamtailor.java + - src/main/java/com/airbyte/api/models/shared/SourceTeamwork.java + - src/main/java/com/airbyte/api/models/shared/SourceTempo.java + - src/main/java/com/airbyte/api/models/shared/SourceTestrail.java + - src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java + - src/main/java/com/airbyte/api/models/shared/SourceThinkific.java + - src/main/java/com/airbyte/api/models/shared/SourceTicketmaster.java + - src/main/java/com/airbyte/api/models/shared/SourceTickettailor.java + - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java + - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthenticationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketing.java + - src/main/java/com/airbyte/api/models/shared/SourceTimely.java + - src/main/java/com/airbyte/api/models/shared/SourceTinyemail.java + - src/main/java/com/airbyte/api/models/shared/SourceTodoist.java + - src/main/java/com/airbyte/api/models/shared/SourceTrackPms.java + - src/main/java/com/airbyte/api/models/shared/SourceTrello.java + - src/main/java/com/airbyte/api/models/shared/SourceTremendous.java + - src/main/java/com/airbyte/api/models/shared/SourceTremendousEnvironment.java + - src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java + - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAPIKey.java + - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceTrustpilotSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java + - src/main/java/com/airbyte/api/models/shared/SourceTwelveData.java + - src/main/java/com/airbyte/api/models/shared/SourceTwilio.java + - src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java + - src/main/java/com/airbyte/api/models/shared/SourceTwitter.java + - src/main/java/com/airbyte/api/models/shared/SourceTypeform.java + - src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceTypeformOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceTypeformPrivateToken.java + - src/main/java/com/airbyte/api/models/shared/SourceTypeformSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeform.java + - src/main/java/com/airbyte/api/models/shared/SourceUbidots.java + - src/main/java/com/airbyte/api/models/shared/SourceUnleash.java + - src/main/java/com/airbyte/api/models/shared/SourceUppromote.java + - src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java + - src/main/java/com/airbyte/api/models/shared/SourceUservoice.java + - src/main/java/com/airbyte/api/models/shared/SourceVantage.java + - src/main/java/com/airbyte/api/models/shared/SourceVeeqo.java + - src/main/java/com/airbyte/api/models/shared/SourceVercel.java + - src/main/java/com/airbyte/api/models/shared/SourceVismaEconomic.java + - src/main/java/com/airbyte/api/models/shared/SourceVitally.java + - src/main/java/com/airbyte/api/models/shared/SourceVitallyStatus.java + - src/main/java/com/airbyte/api/models/shared/SourceVwo.java + - src/main/java/com/airbyte/api/models/shared/SourceWaiteraid.java + - src/main/java/com/airbyte/api/models/shared/SourceWasabiStatsApi.java + - src/main/java/com/airbyte/api/models/shared/SourceWeatherstack.java + - src/main/java/com/airbyte/api/models/shared/SourceWebScrapper.java + - src/main/java/com/airbyte/api/models/shared/SourceWebflow.java + - src/main/java/com/airbyte/api/models/shared/SourceWhenIWork.java + - src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java + - src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java + - src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java + - src/main/java/com/airbyte/api/models/shared/SourceWordpress.java + - src/main/java/com/airbyte/api/models/shared/SourceWorkable.java + - src/main/java/com/airbyte/api/models/shared/SourceWorkflowmax.java + - src/main/java/com/airbyte/api/models/shared/SourceWorkramp.java + - src/main/java/com/airbyte/api/models/shared/SourceWrike.java + - src/main/java/com/airbyte/api/models/shared/SourceWufoo.java + - src/main/java/com/airbyte/api/models/shared/SourceXkcd.java + - src/main/java/com/airbyte/api/models/shared/SourceXsolla.java + - src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePrice.java + - src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePriceInterval.java + - src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java + - src/main/java/com/airbyte/api/models/shared/SourceYotpo.java + - src/main/java/com/airbyte/api/models/shared/SourceYouNeedABudgetYnab.java + - src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java + - src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.java + - src/main/java/com/airbyte/api/models/shared/SourceYoutubeData.java + - src/main/java/com/airbyte/api/models/shared/SourceZapierSupportedStorage.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAccessToken.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatSchemasCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChat.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAPIToken.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineSchemasAuthMethod.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAPIToken.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportSchemasCredentials.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupport.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAPIToken.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthentication.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkOAuth20.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkSchemasAuthType.java + - src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalk.java + - src/main/java/com/airbyte/api/models/shared/SourceZenefits.java + - src/main/java/com/airbyte/api/models/shared/SourceZenloop.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApi.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoBigin.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoBiginDataCenter.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoBilling.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoBillingRegion.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoBooks.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoBooksRegion.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoCampaign.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoCampaignDataCenter.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironment.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoDesk.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoExpense.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoExpenseDataCenter.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoInventory.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoInvoice.java + - src/main/java/com/airbyte/api/models/shared/SourceZohoInvoiceRegion.java + - src/main/java/com/airbyte/api/models/shared/SourceZonkaFeedback.java + - src/main/java/com/airbyte/api/models/shared/SourceZoom.java + - src/main/java/com/airbyte/api/models/shared/SourcesResponse.java + - src/main/java/com/airbyte/api/models/shared/SpacexApi.java + - src/main/java/com/airbyte/api/models/shared/Sparkpost.java + - src/main/java/com/airbyte/api/models/shared/SplitIo.java + - src/main/java/com/airbyte/api/models/shared/Spotlercrm.java + - src/main/java/com/airbyte/api/models/shared/Square.java + - src/main/java/com/airbyte/api/models/shared/Squarespace.java + - src/main/java/com/airbyte/api/models/shared/StandaloneMongoDbInstance.java + - src/main/java/com/airbyte/api/models/shared/State.java + - src/main/java/com/airbyte/api/models/shared/StateFilterEnum.java + - src/main/java/com/airbyte/api/models/shared/StatisticsInterval.java + - src/main/java/com/airbyte/api/models/shared/Statsig.java + - src/main/java/com/airbyte/api/models/shared/Status.java + - src/main/java/com/airbyte/api/models/shared/Statuspage.java + - src/main/java/com/airbyte/api/models/shared/Stockdata.java + - src/main/java/com/airbyte/api/models/shared/Storage.java + - src/main/java/com/airbyte/api/models/shared/StorageConfig.java + - src/main/java/com/airbyte/api/models/shared/StorageProvider.java + - src/main/java/com/airbyte/api/models/shared/StorageType.java + - src/main/java/com/airbyte/api/models/shared/Strategies.java + - src/main/java/com/airbyte/api/models/shared/Strava.java + - src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java + - src/main/java/com/airbyte/api/models/shared/StreamConfigurations.java + - src/main/java/com/airbyte/api/models/shared/StreamMapperType.java + - src/main/java/com/airbyte/api/models/shared/StreamProperties.java + - src/main/java/com/airbyte/api/models/shared/StreamsCriteria.java + - src/main/java/com/airbyte/api/models/shared/StringFilter.java + - src/main/java/com/airbyte/api/models/shared/Stripe.java + - src/main/java/com/airbyte/api/models/shared/SurveyMonkeyAuthorizationMethod.java + - src/main/java/com/airbyte/api/models/shared/SurveySparrow.java + - src/main/java/com/airbyte/api/models/shared/Surveymonkey.java + - src/main/java/com/airbyte/api/models/shared/SurveymonkeyCredentials.java + - src/main/java/com/airbyte/api/models/shared/Survicate.java + - src/main/java/com/airbyte/api/models/shared/SwipeUpAttributionWindow.java + - src/main/java/com/airbyte/api/models/shared/SystemIDSID.java + - src/main/java/com/airbyte/api/models/shared/Systeme.java + - src/main/java/com/airbyte/api/models/shared/TLSEncryptedVerifyCertificate.java + - src/main/java/com/airbyte/api/models/shared/Taboola.java + - src/main/java/com/airbyte/api/models/shared/TargetsType.java + - src/main/java/com/airbyte/api/models/shared/Teamtailor.java + - src/main/java/com/airbyte/api/models/shared/Teamwork.java + - src/main/java/com/airbyte/api/models/shared/TechnicalIndicatorType.java + - src/main/java/com/airbyte/api/models/shared/Tempo.java + - src/main/java/com/airbyte/api/models/shared/Teradata.java + - src/main/java/com/airbyte/api/models/shared/TestDestination.java + - src/main/java/com/airbyte/api/models/shared/TestDestinationType.java + - src/main/java/com/airbyte/api/models/shared/Testrail.java + - src/main/java/com/airbyte/api/models/shared/TextSplitter.java + - src/main/java/com/airbyte/api/models/shared/TheGuardianApi.java + - src/main/java/com/airbyte/api/models/shared/Thinkific.java + - src/main/java/com/airbyte/api/models/shared/Throttled.java + - src/main/java/com/airbyte/api/models/shared/Ticketmaster.java + - src/main/java/com/airbyte/api/models/shared/Tickettailor.java + - src/main/java/com/airbyte/api/models/shared/TiktokMarketing.java + - src/main/java/com/airbyte/api/models/shared/TiktokMarketingCredentials.java + - src/main/java/com/airbyte/api/models/shared/TimeAggregates.java + - src/main/java/com/airbyte/api/models/shared/TimeFrame.java + - src/main/java/com/airbyte/api/models/shared/TimeGranularity.java + - src/main/java/com/airbyte/api/models/shared/TimeGranularityType.java + - src/main/java/com/airbyte/api/models/shared/TimeInterval.java + - src/main/java/com/airbyte/api/models/shared/TimePeriod.java + - src/main/java/com/airbyte/api/models/shared/Timely.java + - src/main/java/com/airbyte/api/models/shared/Timeplus.java + - src/main/java/com/airbyte/api/models/shared/Tinyemail.java + - src/main/java/com/airbyte/api/models/shared/ToValue.java + - src/main/java/com/airbyte/api/models/shared/Todoist.java + - src/main/java/com/airbyte/api/models/shared/TopHeadlinesTopic.java + - src/main/java/com/airbyte/api/models/shared/TrackPms.java + - src/main/java/com/airbyte/api/models/shared/TransformationQueryRunType.java + - src/main/java/com/airbyte/api/models/shared/Trello.java + - src/main/java/com/airbyte/api/models/shared/Tremendous.java + - src/main/java/com/airbyte/api/models/shared/Trustpilot.java + - src/main/java/com/airbyte/api/models/shared/TunnelMethod.java + - src/main/java/com/airbyte/api/models/shared/TvmazeSchedule.java + - src/main/java/com/airbyte/api/models/shared/TwelveData.java + - src/main/java/com/airbyte/api/models/shared/Twilio.java + - src/main/java/com/airbyte/api/models/shared/TwilioTaskrouter.java + - src/main/java/com/airbyte/api/models/shared/Twitter.java + - src/main/java/com/airbyte/api/models/shared/Typeform.java + - src/main/java/com/airbyte/api/models/shared/TypeformCredentials.java + - src/main/java/com/airbyte/api/models/shared/Typesense.java + - src/main/java/com/airbyte/api/models/shared/URLRegion.java + - src/main/java/com/airbyte/api/models/shared/Ubidots.java + - src/main/java/com/airbyte/api/models/shared/Unencrypted.java + - src/main/java/com/airbyte/api/models/shared/UnitOfMeasure.java + - src/main/java/com/airbyte/api/models/shared/Units.java + - src/main/java/com/airbyte/api/models/shared/Unleash.java + - src/main/java/com/airbyte/api/models/shared/UnstructuredDocumentFormat.java + - src/main/java/com/airbyte/api/models/shared/UpdateMethod.java + - src/main/java/com/airbyte/api/models/shared/UploadingMethod.java + - src/main/java/com/airbyte/api/models/shared/Uppromote.java + - src/main/java/com/airbyte/api/models/shared/UrlBase.java + - src/main/java/com/airbyte/api/models/shared/UsCensus.java + - src/main/java/com/airbyte/api/models/shared/UserProvided.java + - src/main/java/com/airbyte/api/models/shared/UserResponse.java + - src/main/java/com/airbyte/api/models/shared/UsernameAndPassword.java + - src/main/java/com/airbyte/api/models/shared/UsernamePassword.java + - src/main/java/com/airbyte/api/models/shared/UsersResponse.java + - src/main/java/com/airbyte/api/models/shared/Uservoice.java + - src/main/java/com/airbyte/api/models/shared/ValidActionBreakdowns.java + - src/main/java/com/airbyte/api/models/shared/ValidAdSetStatuses.java + - src/main/java/com/airbyte/api/models/shared/ValidAdStatuses.java + - src/main/java/com/airbyte/api/models/shared/ValidBreakdowns.java + - src/main/java/com/airbyte/api/models/shared/ValidCampaignStatuses.java + - src/main/java/com/airbyte/api/models/shared/ValidationPolicy.java + - src/main/java/com/airbyte/api/models/shared/Validenums.java + - src/main/java/com/airbyte/api/models/shared/Value.java + - src/main/java/com/airbyte/api/models/shared/ValueType.java + - src/main/java/com/airbyte/api/models/shared/Vantage.java + - src/main/java/com/airbyte/api/models/shared/Vectara.java + - src/main/java/com/airbyte/api/models/shared/Veeqo.java + - src/main/java/com/airbyte/api/models/shared/Vercel.java + - src/main/java/com/airbyte/api/models/shared/VerifyCa.java + - src/main/java/com/airbyte/api/models/shared/VerifyFull.java + - src/main/java/com/airbyte/api/models/shared/VerifyIdentity.java + - src/main/java/com/airbyte/api/models/shared/ViaAPI.java + - src/main/java/com/airbyte/api/models/shared/ViewAttributionWindow.java + - src/main/java/com/airbyte/api/models/shared/ViewWindowDays.java + - src/main/java/com/airbyte/api/models/shared/VismaEconomic.java + - src/main/java/com/airbyte/api/models/shared/Vitally.java + - src/main/java/com/airbyte/api/models/shared/Vwo.java + - src/main/java/com/airbyte/api/models/shared/Waiteraid.java + - src/main/java/com/airbyte/api/models/shared/WasabiStatsApi.java + - src/main/java/com/airbyte/api/models/shared/Weatherstack.java + - src/main/java/com/airbyte/api/models/shared/Weaviate.java + - src/main/java/com/airbyte/api/models/shared/WebScrapper.java + - src/main/java/com/airbyte/api/models/shared/Webflow.java + - src/main/java/com/airbyte/api/models/shared/WhenIWork.java + - src/main/java/com/airbyte/api/models/shared/WhiskyHunter.java + - src/main/java/com/airbyte/api/models/shared/WikipediaPageviews.java + - src/main/java/com/airbyte/api/models/shared/Woocommerce.java + - src/main/java/com/airbyte/api/models/shared/Wordpress.java + - src/main/java/com/airbyte/api/models/shared/Workable.java + - src/main/java/com/airbyte/api/models/shared/Workflowmax.java + - src/main/java/com/airbyte/api/models/shared/Workramp.java + - src/main/java/com/airbyte/api/models/shared/WorkspaceCreateRequest.java + - src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java + - src/main/java/com/airbyte/api/models/shared/WorkspaceResponse.java + - src/main/java/com/airbyte/api/models/shared/WorkspaceUpdateRequest.java + - src/main/java/com/airbyte/api/models/shared/WorkspacesResponse.java + - src/main/java/com/airbyte/api/models/shared/Wrike.java + - src/main/java/com/airbyte/api/models/shared/Wufoo.java + - src/main/java/com/airbyte/api/models/shared/Xkcd.java + - src/main/java/com/airbyte/api/models/shared/Xsolla.java + - src/main/java/com/airbyte/api/models/shared/Xz.java + - src/main/java/com/airbyte/api/models/shared/YahooFinancePrice.java + - src/main/java/com/airbyte/api/models/shared/YandexMetrica.java + - src/main/java/com/airbyte/api/models/shared/Yellowbrick.java + - src/main/java/com/airbyte/api/models/shared/Yotpo.java + - src/main/java/com/airbyte/api/models/shared/YouNeedABudgetYnab.java + - src/main/java/com/airbyte/api/models/shared/YoutubeAnalytics.java + - src/main/java/com/airbyte/api/models/shared/YoutubeAnalyticsCredentials.java + - src/main/java/com/airbyte/api/models/shared/YoutubeData.java + - src/main/java/com/airbyte/api/models/shared/ZapierSupportedStorage.java + - src/main/java/com/airbyte/api/models/shared/ZendeskChat.java + - src/main/java/com/airbyte/api/models/shared/ZendeskChatCredentials.java + - src/main/java/com/airbyte/api/models/shared/ZendeskSunshine.java + - src/main/java/com/airbyte/api/models/shared/ZendeskSupport.java + - src/main/java/com/airbyte/api/models/shared/ZendeskSupportCredentials.java + - src/main/java/com/airbyte/api/models/shared/ZendeskTalk.java + - src/main/java/com/airbyte/api/models/shared/ZendeskTalkCredentials.java + - src/main/java/com/airbyte/api/models/shared/Zenefits.java + - src/main/java/com/airbyte/api/models/shared/Zenloop.java + - src/main/java/com/airbyte/api/models/shared/ZohoAnalyticsMetadataApi.java + - src/main/java/com/airbyte/api/models/shared/ZohoBigin.java + - src/main/java/com/airbyte/api/models/shared/ZohoBilling.java + - src/main/java/com/airbyte/api/models/shared/ZohoBooks.java + - src/main/java/com/airbyte/api/models/shared/ZohoCRMEdition.java + - src/main/java/com/airbyte/api/models/shared/ZohoCampaign.java + - src/main/java/com/airbyte/api/models/shared/ZohoCrm.java + - src/main/java/com/airbyte/api/models/shared/ZohoDesk.java + - src/main/java/com/airbyte/api/models/shared/ZohoExpense.java + - src/main/java/com/airbyte/api/models/shared/ZohoInventory.java + - src/main/java/com/airbyte/api/models/shared/ZohoInvoice.java + - src/main/java/com/airbyte/api/models/shared/ZonkaFeedback.java + - src/main/java/com/airbyte/api/models/shared/Zoom.java + - src/main/java/com/airbyte/api/models/shared/Zstandard.java + - src/main/java/com/airbyte/api/utils/BackoffStrategy.java + - src/main/java/com/airbyte/api/utils/BigDecimalString.java + - src/main/java/com/airbyte/api/utils/BigIntegerString.java + - src/main/java/com/airbyte/api/utils/Deserializers.java + - src/main/java/com/airbyte/api/utils/EventStream.java + - src/main/java/com/airbyte/api/utils/EventStreamLineReader.java + - src/main/java/com/airbyte/api/utils/EventStreamMessage.java + - src/main/java/com/airbyte/api/utils/EventStreamReader.java + - src/main/java/com/airbyte/api/utils/FormMetadata.java + - src/main/java/com/airbyte/api/utils/HTTPClient.java + - src/main/java/com/airbyte/api/utils/HTTPRequest.java + - src/main/java/com/airbyte/api/utils/HeaderMetadata.java + - src/main/java/com/airbyte/api/utils/Helpers.java + - src/main/java/com/airbyte/api/utils/Hook.java + - src/main/java/com/airbyte/api/utils/Hooks.java + - src/main/java/com/airbyte/api/utils/JSON.java + - src/main/java/com/airbyte/api/utils/LazySingletonValue.java + - src/main/java/com/airbyte/api/utils/Metadata.java + - src/main/java/com/airbyte/api/utils/MultipartFormMetadata.java + - src/main/java/com/airbyte/api/utils/OneOfDeserializer.java + - src/main/java/com/airbyte/api/utils/Options.java + - src/main/java/com/airbyte/api/utils/PathParamsMetadata.java + - src/main/java/com/airbyte/api/utils/QueryParameter.java + - src/main/java/com/airbyte/api/utils/QueryParameters.java + - src/main/java/com/airbyte/api/utils/QueryParamsMetadata.java + - src/main/java/com/airbyte/api/utils/RequestBody.java + - src/main/java/com/airbyte/api/utils/RequestMetadata.java + - src/main/java/com/airbyte/api/utils/Response.java + - src/main/java/com/airbyte/api/utils/Retries.java + - src/main/java/com/airbyte/api/utils/RetryConfig.java + - src/main/java/com/airbyte/api/utils/Security.java + - src/main/java/com/airbyte/api/utils/SecurityMetadata.java + - src/main/java/com/airbyte/api/utils/SerializedBody.java + - src/main/java/com/airbyte/api/utils/SessionManager.java + - src/main/java/com/airbyte/api/utils/SpeakeasyHTTPClient.java + - src/main/java/com/airbyte/api/utils/SpeakeasyMetadata.java + - src/main/java/com/airbyte/api/utils/TypedObject.java + - src/main/java/com/airbyte/api/utils/Types.java + - src/main/java/com/airbyte/api/utils/Utf8UrlEncoder.java + - src/main/java/com/airbyte/api/utils/Utils.java +examples: + createConnection: + Connection Creation Request Example: + requestBody: + application/json: {"destinationId": "e478de0d-a3a0-475c-b019-25f7dd29e281", "name": "Postgres-to-Bigquery", "sourceId": "95e66a59-8045-4307-9678-63bc3c9b8c93"} + responses: + "200": + application/json: {"connectionId": "", "createdAt": 781932, "destinationId": "", "name": "", "schedule": {"scheduleType": "cron"}, "sourceId": "", "status": "deprecated", "workspaceId": ""} + Connection Creation Response Example: + requestBody: + application/json: {"destinationId": "1328ef85-1ea7-4fd4-b78a-5873822bcbf2", "namespaceFormat": "${SOURCE_NAMESPACE}", "sourceId": "0d0b7adc-3b02-490e-a47c-6957e4827afd"} + responses: + "200": + application/json: {"connectionId": "9924bcd0-99be-453d-ba47-c2c9766f7da5", "createdAt": 633409, "destinationId": "", "name": "", "schedule": {"scheduleType": "cron"}, "sourceId": "", "status": "active", "workspaceId": ""} + deleteConnection: + speakeasy-default-delete-connection: + parameters: + path: + connectionId: "" + getConnection: + Connection Get Response Example: + parameters: + path: + connectionId: "" + responses: + "200": + application/json: {"connectionId": "", "createdAt": 934653, "destinationId": "744cc0ed-7f05-4949-9e60-2a814f90c035", "name": "Postgres To Snowflake", "schedule": {"scheduleType": "basic"}, "sourceId": "9924bcd0-99be-453d-ba47-c2c9766f7da5", "status": "deprecated", "workspaceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826"} + listConnections: + speakeasy-default-list-connections: + responses: + "200": + application/json: {"data": [{"connectionId": "", "createdAt": 726733, "destinationId": "", "name": "test-connection", "schedule": {"scheduleType": "basic"}, "sourceId": "", "status": "deprecated", "workspaceId": ""}, {"connectionId": "", "createdAt": 909205, "destinationId": "", "name": "", "schedule": {"scheduleType": "manual"}, "sourceId": "", "status": "inactive", "workspaceId": ""}, {"connectionId": "", "createdAt": 374233, "destinationId": "", "name": "", "schedule": {"scheduleType": "cron"}, "sourceId": "49237019-645d-47d4-b45b-5eddf97775ce", "status": "deprecated", "workspaceId": ""}, {"connectionId": "", "createdAt": 731924, "destinationId": "al312fs-0ab1-4f72-9ed7-0b8fc27c5826", "name": "", "schedule": {"scheduleType": "manual"}, "sourceId": "", "status": "inactive", "workspaceId": ""}, {"connectionId": "", "createdAt": 901846, "destinationId": "", "name": "", "schedule": {"scheduleType": "manual"}, "sourceId": "", "status": "deprecated", "workspaceId": ""}, {"connectionId": "", "createdAt": 475200, "destinationId": "", "name": "", "schedule": {"scheduleType": "cron"}, "sourceId": "", "status": "active", "workspaceId": ""}, {"connectionId": "", "createdAt": 143014, "dataResidency": "auto", "destinationId": "", "name": "", "schedule": {"scheduleType": "cron"}, "sourceId": "", "status": "active", "workspaceId": ""}], "next": "https://api.airbyte.com/v1/connections?limit=5&offset=10", "previous": "https://api.airbyte.com/v1/connections?limit=5&offset=0"} + patchConnection: + Connection Update Request Example: + parameters: + path: + connectionId: "" + requestBody: + application/json: {"name": "Postgres-to-Bigquery"} + responses: + "200": + application/json: {"connectionId": "", "createdAt": 106227, "destinationId": "", "name": "", "schedule": {"scheduleType": "basic"}, "sourceId": "", "status": "active", "workspaceId": ""} + Connection Get Response Example: + parameters: + path: + connectionId: "" + requestBody: + application/json: {"namespaceFormat": "${SOURCE_NAMESPACE}"} + responses: + "200": + application/json: {"connectionId": "", "createdAt": 184214, "destinationId": "744cc0ed-7f05-4949-9e60-2a814f90c035", "name": "Postgres To Snowflake", "schedule": {"scheduleType": "manual"}, "sourceId": "9924bcd0-99be-453d-ba47-c2c9766f7da5", "status": "active", "workspaceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826"} + createDestination: + Destination Creation Request Example: + requestBody: + application/json: {"configuration": {"indexing": {"credentials": {"password": "AIRBYTE_PASSWORD"}, "database": "AIRBYTE_DATABASE", "default_schema": "AIRBYTE_SCHEMA", "host": "AIRBYTE_ACCOUNT", "port": "5432", "username": "AIRBYTE_USER"}, "processing": {"chunk_size": 540943, "metadata_fields": ["age"], "text_fields": ["users.*.name"]}}, "name": "Postgres", "workspaceId": "2155ae5a-de39-4808-af6a-16fe7b8b4ed2"} + responses: + "200": + application/json: {"configuration": {"indexing": {"auth": {"password": "0SAaZ1kxEg7h49V", "username": "Sonny.Miller"}, "collection": "", "host": "tcp://my-local-milvus:19530"}, "processing": {"chunk_size": 727665, "metadata_fields": ["age"], "text_fields": ["text"]}}, "createdAt": 656314, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "postgres", "name": "Analytics Team Postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} + Destination Creation Response Example: + requestBody: + application/json: {"configuration": {"credential": {"hmac_key_access_id": "1234567890abcdefghij1234", "hmac_key_secret": "1234567890abcdefghij1234567890ABCDEFGHIJ"}, "gcs_bucket_name": "airbyte_sync", "gcs_bucket_path": "data_sync/test"}, "name": "", "workspaceId": "b4797bfc-7d8a-4652-9eb4-9a265e47b02e"} + responses: + "200": + application/json: {"configuration": {"bucket_name": "", "credentials": {"aws_access_key_id": "", "aws_secret_access_key": ""}, "lakeformation_database_name": ""}, "createdAt": 948482, "definitionId": "", "destinationId": "af0c3c67-aa61-419f-8922-95b0bf840e86", "destinationType": "", "name": "", "workspaceId": ""} + deleteDestination: + speakeasy-default-delete-destination: + parameters: + path: + destinationId: "" + getDestination: + Destination Get Response Example: + parameters: + path: + destinationId: "" + responses: + "200": + application/json: {"configuration": {"host": "cooperative-brochure.biz", "sid": "", "username": "Colt_Greenfelder"}, "createdAt": 243454, "definitionId": "", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "", "name": "My Destination", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + listDestinations: + speakeasy-default-list-destinations: + responses: + "200": + application/json: {"data": [{"configuration": {"glue_database": "airbyte_database", "s3_bucket_name": "airbyte_sync", "s3_bucket_path": "data_sync/test"}, "createdAt": 607289, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "postgres", "name": "Analytics Team Postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"}], "next": "https://api.airbyte.com/v1/destinations?limit=5&offset=10", "previous": "https://api.airbyte.com/v1/destinations?limit=5&offset=0"} + patchDestination: + Destination Update Request Example: + parameters: + path: + destinationId: "" + requestBody: + application/json: {"configuration": {"destination_path": "motherduck:"}, "name": "My Destination"} + responses: + "200": + application/json: {"configuration": {"database": "", "host": "disloyal-lox.net", "username": "Tania.Lehner-Yundt67"}, "createdAt": 195047, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "postgres", "name": "Analytics Team Postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} + Destination Update Response Example: + parameters: + path: + destinationId: "" + requestBody: + application/json: {"configuration": {"corpus_name": "", "customer_id": "", "oauth2": {"client_id": "", "client_secret": ""}}} + responses: + "200": + application/json: {"configuration": {"destination_path": "motherduck:"}, "createdAt": 663057, "definitionId": "", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "", "name": "running", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + putDestination: + Destination Update Request Example: + parameters: + path: + destinationId: "" + requestBody: + application/json: {"configuration": {"database": "", "host": "urban-receptor.org", "username": "Kaylie_Terry"}, "name": "My Destination"} + responses: + "200": + application/json: {"configuration": {"project_id": ""}, "createdAt": 946510, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "postgres", "name": "Analytics Team Postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} + Destination Update Response Example: + parameters: + path: + destinationId: "" + requestBody: + application/json: {"configuration": {"credential": {"hmac_key_access_id": "1234567890abcdefghij1234", "hmac_key_secret": "1234567890abcdefghij1234567890ABCDEFGHIJ"}, "gcs_bucket_name": "airbyte_sync", "gcs_bucket_path": "data_sync/test"}, "name": ""} + responses: + "200": + application/json: {"configuration": {"database": "", "host": "concerned-warming.biz", "username": "Helen.Lubowitz52"}, "createdAt": 490036, "definitionId": "", "destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "destinationType": "", "name": "running", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + getHealthCheck: {} + cancelJob: + speakeasy-default-cancel-job: + parameters: + path: + jobId: 801771 + responses: + "200": + application/json: {"connectionId": "", "duration": "PT8H6M12S", "jobId": 278686, "jobType": "sync", "startTime": "2023-03-25T01:30:50Z", "status": "running"} + createJob: + Job Creation Request Example: + requestBody: + application/json: {"connectionId": "e735894a-e773-4938-969f-45f53957b75b", "jobType": "sync"} + responses: + "200": + application/json: {"connectionId": "", "duration": "PT8H6M12S", "jobId": 300546, "jobType": "sync", "startTime": "2023-03-25T01:30:50Z", "status": "running"} + Job Creation Response Example: + requestBody: + application/json: {"connectionId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "jobType": "sync"} + responses: + "200": + application/json: {"connectionId": "", "jobId": 1234, "jobType": "sync", "startTime": "", "status": "running"} + getJob: + Job Get Response Example: + parameters: + path: + jobId: 131101 + responses: + "200": + application/json: {"connectionId": "", "jobId": 471405, "jobType": "sync", "startTime": "", "status": "running"} + listJobs: + "": + parameters: + query: + createdAtStart: 1687450500000 + createdAtEnd: 1687450500000 + updatedAtStart: 1687450500000 + updatedAtEnd: 1687450500000 + orderBy: "updatedAt|DESC" + responses: + "200": + application/json: {"data": [{"connectionId": "", "jobId": 808104, "jobType": "sync", "startTime": "2023-03-25T01:30:50Z", "status": "running"}], "next": "https://api.airbyte.com/v1/jobs?limit=5&offset=10", "previous": "https://api.airbyte.com/v1/jobs?limit=5&offset=0"} + Job List Response Example: + parameters: + query: + createdAtStart: 1687450500000 + createdAtEnd: 1687450500000 + updatedAtStart: 1687450500000 + updatedAtEnd: 1687450500000 + orderBy: "updatedAt|DESC" + responses: + "200": + application/json: {"data": [{"connectionId": "", "jobId": 4995, "jobType": "sync", "startTime": "", "status": "running"}], "next": "https://api.airbyte.com/v1/jobs?limit=5&offset=10", "previous": "https://api.airbyte.com/v1/jobs?limit=5&offset=0"} + listOrganizationsForUser: + speakeasy-default-list-organizations-for-user: + responses: + "200": + application/json: {"data": [{"email": "Crystal.Wilkinson@gmail.com", "organizationId": "bb2301b7-877b-4fde-af39-87e9479d84dd", "organizationName": ""}, {"email": "Jennie_Turcotte72@yahoo.com", "organizationId": "064bd610-3f4f-43a8-87c2-8b6239bace54", "organizationName": ""}]} + createPermission: + Permission Creation Request Example: + requestBody: + application/json: {"permissionType": "workspace_admin", "userId": "7d08fd6c-531e-4a00-937e-3d355f253e63", "workspaceId": "9924bcd0-99be-453d-ba47-c2c9766f7da5"} + responses: + "200": + application/json: {"permissionId": "29c6a69f-f5c0-4ea9-8676-7e72566e1cea", "permissionType": "organization_member", "userId": "216d117b-3179-47b1-b5ff-4586839a8ca5"} + Permission Creation Response Example: + requestBody: + application/json: {"permissionType": "workspace_runner", "userId": "6b986e5c-336a-40db-bbce-b07ab4b96d22"} + responses: + "200": + application/json: {"permissionId": "9924bcd0-99be-453d-ba47-c2c9766f7da5", "permissionType": "workspace_admin", "userId": "7d08fd6c-531e-4a00-937e-3d355f253e63"} + deletePermission: + speakeasy-default-delete-permission: + parameters: + path: + permissionId: "" + getPermission: + speakeasy-default-get-permission: + parameters: + path: + permissionId: "" + responses: + "200": + application/json: {"permissionId": "cabecfd2-37c6-4eb2-bcb8-e08391921e2d", "permissionType": "organization_member", "userId": "b50caf9c-9364-4c63-b7d0-206926e8ed64"} + listPermissions: + speakeasy-default-list-permissions: + responses: + "200": + application/json: {"data": [{"permissionId": "3ad9d46a-fbf6-4142-b512-abdbfa31043e", "permissionType": "organization_reader", "scope": "none", "scopeId": "4d0f846f-00ce-47c0-9a66-45253bd14031", "userId": "4957ad3e-d4c9-4d3d-bb33-5b83f3e63c41"}]} + updatePermission: + speakeasy-default-update-permission: + parameters: + path: + permissionId: "" + requestBody: + application/json: {"permissionType": "workspace_owner"} + responses: + "200": + application/json: {"permissionId": "5b7671c5-16bd-4691-a74f-ac5059e6570f", "permissionType": "workspace_editor", "userId": "046f3d8d-80c7-4cd4-acd4-c59bd4fdfc37"} + createSource: + Source Creation Request Example: + requestBody: + application/json: {"configuration": {"api_key": "", "start_date": "2021-01-01T00:00:00Z"}, "name": "My Source", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + responses: + "200": + application/json: {"configuration": {"api_key": ""}, "createdAt": 45355, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} + Source Creation Response Example: + requestBody: + application/json: {"configuration": {"api_key": ""}, "name": "", "workspaceId": "fdc883bf-195a-466e-bf9b-b403f120decf"} + responses: + "200": + application/json: {"configuration": {"token": ""}, "createdAt": 909345, "definitionId": "", "name": "", "sourceId": "0c31738c-0b2d-4887-b506-e2cd1c39cc35", "sourceType": "", "workspaceId": ""} + deleteSource: + speakeasy-default-delete-source: + parameters: + path: + sourceId: "" + getSource: + Source Get Response Example: + parameters: + path: + sourceId: "" + responses: + "200": + application/json: {"configuration": {"credentials": {"access_token": ""}}, "createdAt": 227873, "definitionId": "", "name": "running", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + initiateOAuth: + speakeasy-default-initiate-O-auth: + requestBody: + application/json: {"redirectUrl": "https://cloud.airbyte.io/v1/api/oauth/callback", "sourceType": "gcs", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} + listSources: + "": + parameters: + query: + workspaceIds: ["df08f6b0-b364-4cc1-9b3f-96f5d2fccfb2,b0796797-de23-4fc7-a5e2-7e131314718c"] + responses: + "200": + application/json: {"data": [{"configuration": {"api_key": "", "start_date": "2024-07-26T03:28:50.329Z"}, "createdAt": 736973, "definitionId": "", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"}], "next": "https://api.airbyte.com/v1/sources?limit=5&offset=10", "previous": "https://api.airbyte.com/v1/sources?limit=5&offset=0"} + patchSource: + Source Update Request Example: + parameters: + path: + sourceId: "" + requestBody: + application/json: {"configuration": {"x-api-key": ""}, "name": "My Source", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + responses: + "200": + application/json: {"configuration": {"secret": ""}, "createdAt": 183665, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} + Source Update Response Example: + parameters: + path: + sourceId: "" + requestBody: + application/json: {"configuration": {"api_key": ""}, "name": "My source"} + responses: + "200": + application/json: {"configuration": {"api_key": ""}, "createdAt": 291381, "definitionId": "", "name": "running", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + putSource: + Source Update Request Example: + parameters: + path: + sourceId: "" + requestBody: + application/json: {"configuration": {"api_key": "", "grid_id": ""}, "name": "My Source"} + responses: + "200": + application/json: {"configuration": {"api_key": "", "api_secret": "", "shop": "", "start_date": "2021-01-01"}, "createdAt": 27682, "definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e", "name": "Analytics Team Postgres", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"} + Source Update Response Example: + parameters: + path: + sourceId: "" + requestBody: + application/json: {"configuration": {"client_id": "", "developer_token": "", "refresh_token": ""}, "name": ""} + responses: + "200": + application/json: {"configuration": {"api_token": ""}, "createdAt": 959713, "definitionId": "", "name": "running", "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826", "sourceType": "postgres", "workspaceId": "744cc0ed-7f05-4949-9e60-2a814f90c035"} + getStreamProperties: + speakeasy-default-get-stream-properties: + parameters: + query: + sourceId: "" + responses: + "200": + application/json: [] + listUsersWithinAnOrganization: + speakeasy-default-list-users-within-an-organization: + parameters: + query: + organizationId: "" + responses: + "200": + application/json: {"data": [{"email": "Kira.McGlynn@yahoo.com", "id": "b6f8375a-116b-4e31-b20b-6d2c6e47e56a", "name": ""}]} + createOrUpdateWorkspaceOAuthCredentials: + speakeasy-default-create-or-update-workspace-O-auth-credentials: + parameters: + path: + workspaceId: "" + requestBody: + application/json: {"actorType": "destination", "configuration": {"user": "charles"}, "name": "airtable"} + createWorkspace: + Workspace Creation Request Example: + requestBody: + application/json: {"name": "Company Workspace Name"} + responses: + "200": + application/json: {"name": "", "workspaceId": ""} + Workspace Creation Response Example: + requestBody: + application/json: {"name": ""} + responses: + "200": + application/json: {"name": "", "workspaceId": "9924bcd0-99be-453d-ba47-c2c9766f7da5"} + deleteWorkspace: + speakeasy-default-delete-workspace: + parameters: + path: + workspaceId: "" + getWorkspace: + Workspace Get Response Example: + parameters: + path: + workspaceId: "" + responses: + "200": + application/json: {"dataResidency": "auto", "name": "Acme Company", "workspaceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826"} + listWorkspaces: + speakeasy-default-list-workspaces: + responses: + "200": + application/json: {"data": [{"dataResidency": "auto", "name": "Acme Company", "workspaceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826"}], "next": "https://api.airbyte.com/v1/workspaces?limit=5&offset=10", "previous": "https://api.airbyte.com/v1/workspaces?limit=5&offset=0"} + updateWorkspace: + Workspace Update Request Example: + parameters: + path: + workspaceId: "" + requestBody: + application/json: {"name": "Company Workspace Name"} + responses: + "200": + application/json: {"name": "", "workspaceId": ""} + Workspace Update Response Example: + parameters: + path: + workspaceId: "" + requestBody: + application/json: {"name": ""} + responses: + "200": + application/json: {"name": "", "workspaceId": "9924bcd0-99be-453d-ba47-c2c9766f7da5"} +generatedTests: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 9524f4d34..45ee62e74 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.337.1 +speakeasyVersion: 1.453.10 sources: my-source: sourceNamespace: my-source @@ -9,31 +9,32 @@ sources: - main sample-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:27e4375e203d81089b86b92c0bc91c23a882561d7e4e046850919adc9f3e1ba6 - sourceBlobDigest: sha256:1ce4f661fa0156427ebe8ef1f969f98fb1bf7385c584d42a38c11b494face66e + sourceRevisionDigest: sha256:aa3c5e64a0c5b50601e64821c42101dc6e22d9c63c67fc5b2c6df95683549fc3 + sourceBlobDigest: sha256:fa5143179ee978611fb032f3948584f4cbf071857ff2ff6611fbac17e1b67eb9 tags: - latest - - main + - speakeasy-sdk-regen-1733271463 + - 1.0.0 targets: airbyte-api: source: my-source sourceNamespace: my-source sourceRevisionDigest: sha256:5db6fea2e03621459da94766b8bf4b07a5eac21c621b8f5958c0fe5a8295a41d sourceBlobDigest: sha256:d035f3b407f273be49c1b0bfbc6b503f48974a8b2944883eab13ef56203a662d - outLocation: /github/workspace/repo testing: source: sample-source sourceNamespace: my-source - sourceRevisionDigest: sha256:27e4375e203d81089b86b92c0bc91c23a882561d7e4e046850919adc9f3e1ba6 - sourceBlobDigest: sha256:1ce4f661fa0156427ebe8ef1f969f98fb1bf7385c584d42a38c11b494face66e - outLocation: /github/workspace/repo + sourceRevisionDigest: sha256:aa3c5e64a0c5b50601e64821c42101dc6e22d9c63c67fc5b2c6df95683549fc3 + sourceBlobDigest: sha256:fa5143179ee978611fb032f3948584f4cbf071857ff2ff6611fbac17e1b67eb9 + codeSamplesNamespace: my-source-java-code-samples + codeSamplesRevisionDigest: sha256:4bcdc1c05c1002038c44996ff6e1425317394805a9bbc73842fbd2e75ccfab04 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest sources: sample-source: inputs: - - location: https://raw.githubusercontent.com/airbytehq/airbyte-api-python-sdk/main/airbyte-api.openapi.yaml + - location: https://raw.githubusercontent.com/airbytehq/airbyte-platform/refs/heads/main/airbyte-api/server-api/src/main/openapi/api_sdk.yaml registry: location: registry.speakeasyapi.dev/airbyte/airbyte-prod/my-source targets: @@ -46,3 +47,7 @@ workflow: ossrhPassword: $ossrh_password gpgSecretKey: $java_gpg_secret_key gpgPassPhrase: $java_gpg_passphrase + codeSamples: + registry: + location: registry.speakeasyapi.dev/airbyte/airbyte-prod/my-source-java-code-samples + blocking: false diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index b7329c34d..f372f0289 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -16,3 +16,7 @@ targets: ossrhPassword: $ossrh_password gpgSecretKey: $java_gpg_secret_key gpgPassPhrase: $java_gpg_passphrase + codeSamples: + registry: + location: registry.speakeasyapi.dev/airbyte/airbyte-prod/my-source-java-code-samples + blocking: false diff --git a/README.md b/README.md index 80422d664..66dc9051d 100755 --- a/README.md +++ b/README.md @@ -1,472 +1 @@ -
- - - -

Programatically control Airbyte Cloud through an API.

- - - - -
- -## Authentication - -Developers will need to create an API Key within your [Developer Portal](https://portal.airbyte.com/) to make API requests. You can use your existing Airbyte account to log in to the Developer Portal. Once you are in the Developer Portal, use the API Keys tab to create or remove API Keys. You can see a [walkthrough demo here](https://www.loom.com/share/7997a7c67cd642cc8d1c72ef0dfcc4bc)🎦 - -The Developer Portal UI can also be used to help build your integration by showing information about network requests in the Requests tab. API usage information is also available to you in the Usage tab. - - -## SDK Installation - -### Getting started - -JDK 11 or later is required. - -The samples below show how a published SDK artifact is used: - -Gradle: -```groovy -implementation 'com.airbyte:api:1.5.10' -``` - -Maven: -```xml - - com.airbyte - api - 1.5.10 - -``` - -### How to build -After cloning the git repository to your file system you can build the SDK artifact from source to the `build` directory by running `./gradlew build` on *nix systems or `gradlew.bat` on Windows systems. - -If you wish to build from source and publish the SDK artifact to your local Maven repository (on your filesystem) then use the following command (after cloning the git repo locally): - -On *nix: -```bash -./gradlew publishToMavenLocal -Pskip.signing -``` -On Windows: -```bash -gradlew.bat publishToMavenLocal -Pskip.signing -``` - - - -## SDK Example Usage - -### Example - -```java -package hello.world; - -import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; -import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; - -public class Application { - - public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() - .security(Security.builder() - .basicAuth(SchemeBasicAuth.builder() - .password("") - .username("") - .build()) - .build()) - .build(); - - ConnectionCreateRequest req = ConnectionCreateRequest.builder() - .destinationId("c669dd1e-3620-483e-afc8-55914e0a570f") - .sourceId("6dd427d8-3a55-4584-b835-842325b6c7b3") - .namespaceFormat("${SOURCE_NAMESPACE}") - .build(); - - CreateConnectionResponse res = sdk.connections().createConnection() - .request(req) - .call(); - - if (res.connectionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - - } -} -``` - - - -## Available Resources and Operations - -### [connections()](docs/sdks/connections/README.md) - -* [createConnection](docs/sdks/connections/README.md#createconnection) - Create a connection -* [deleteConnection](docs/sdks/connections/README.md#deleteconnection) - Delete a Connection -* [getConnection](docs/sdks/connections/README.md#getconnection) - Get Connection details -* [listConnections](docs/sdks/connections/README.md#listconnections) - List connections -* [patchConnection](docs/sdks/connections/README.md#patchconnection) - Update Connection details - -### [destinations()](docs/sdks/destinations/README.md) - -* [createDestination](docs/sdks/destinations/README.md#createdestination) - Create a destination -* [deleteDestination](docs/sdks/destinations/README.md#deletedestination) - Delete a Destination -* [getDestination](docs/sdks/destinations/README.md#getdestination) - Get Destination details -* [listDestinations](docs/sdks/destinations/README.md#listdestinations) - List destinations -* [patchDestination](docs/sdks/destinations/README.md#patchdestination) - Update a Destination -* [putDestination](docs/sdks/destinations/README.md#putdestination) - Update a Destination and fully overwrite it - -### [health()](docs/sdks/health/README.md) - -* [getHealthCheck](docs/sdks/health/README.md#gethealthcheck) - Health Check - -### [jobs()](docs/sdks/jobs/README.md) - -* [cancelJob](docs/sdks/jobs/README.md#canceljob) - Cancel a running Job -* [createJob](docs/sdks/jobs/README.md#createjob) - Trigger a sync or reset job of a connection -* [getJob](docs/sdks/jobs/README.md#getjob) - Get Job status and details -* [listJobs](docs/sdks/jobs/README.md#listjobs) - List Jobs by sync type - -### [organizations()](docs/sdks/organizations/README.md) - -* [listOrganizationsForUser](docs/sdks/organizations/README.md#listorganizationsforuser) - List all organizations for a user - -### [permissions()](docs/sdks/permissions/README.md) - -* [createPermission](docs/sdks/permissions/README.md#createpermission) - Create a permission -* [deletePermission](docs/sdks/permissions/README.md#deletepermission) - Delete a Permission -* [getPermission](docs/sdks/permissions/README.md#getpermission) - Get Permission details -* [listPermissions](docs/sdks/permissions/README.md#listpermissions) - List Permissions by user id -* [updatePermission](docs/sdks/permissions/README.md#updatepermission) - Update a permission - -### [sources()](docs/sdks/sources/README.md) - -* [createSource](docs/sdks/sources/README.md#createsource) - Create a source -* [deleteSource](docs/sdks/sources/README.md#deletesource) - Delete a Source -* [getSource](docs/sdks/sources/README.md#getsource) - Get Source details -* [initiateOAuth](docs/sdks/sources/README.md#initiateoauth) - Initiate OAuth for a source -* [listSources](docs/sdks/sources/README.md#listsources) - List sources -* [patchSource](docs/sdks/sources/README.md#patchsource) - Update a Source -* [putSource](docs/sdks/sources/README.md#putsource) - Update a Source and fully overwrite it - -### [streams()](docs/sdks/streams/README.md) - -* [getStreamProperties](docs/sdks/streams/README.md#getstreamproperties) - Get stream properties - -### [users()](docs/sdks/users/README.md) - -* [listUsersWithinAnOrganization](docs/sdks/users/README.md#listuserswithinanorganization) - List all users within an organization - -### [workspaces()](docs/sdks/workspaces/README.md) - -* [createOrUpdateWorkspaceOAuthCredentials](docs/sdks/workspaces/README.md#createorupdateworkspaceoauthcredentials) - Create OAuth override credentials for a workspace and source type. -* [createWorkspace](docs/sdks/workspaces/README.md#createworkspace) - Create a workspace -* [deleteWorkspace](docs/sdks/workspaces/README.md#deleteworkspace) - Delete a Workspace -* [getWorkspace](docs/sdks/workspaces/README.md#getworkspace) - Get Workspace details -* [listWorkspaces](docs/sdks/workspaces/README.md#listworkspaces) - List workspaces -* [updateWorkspace](docs/sdks/workspaces/README.md#updateworkspace) - Update a workspace - - - - - -## Server Selection - -### Select Server by Index - -You can override the default server globally by passing a server index to the `serverIndex` builder method when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers: - -| # | Server | Variables | -| - | ------ | --------- | -| 0 | `https://api.airbyte.com/v1` | None | - -#### Example - -```java -package hello.world; - -import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; -import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; - -public class Application { - - public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() - .serverIndex(0) - .security(Security.builder() - .basicAuth(SchemeBasicAuth.builder() - .password("") - .username("") - .build()) - .build()) - .build(); - - ConnectionCreateRequest req = ConnectionCreateRequest.builder() - .destinationId("c669dd1e-3620-483e-afc8-55914e0a570f") - .sourceId("6dd427d8-3a55-4584-b835-842325b6c7b3") - .namespaceFormat("${SOURCE_NAMESPACE}") - .build(); - - CreateConnectionResponse res = sdk.connections().createConnection() - .request(req) - .call(); - - if (res.connectionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - - } -} -``` - - -### Override Server URL Per-Client - -The default server can also be overridden globally by passing a URL to the `serverURL` builder method when initializing the SDK client instance. For example: -```java -package hello.world; - -import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; -import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; - -public class Application { - - public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() - .serverURL("https://api.airbyte.com/v1") - .security(Security.builder() - .basicAuth(SchemeBasicAuth.builder() - .password("") - .username("") - .build()) - .build()) - .build(); - - ConnectionCreateRequest req = ConnectionCreateRequest.builder() - .destinationId("c669dd1e-3620-483e-afc8-55914e0a570f") - .sourceId("6dd427d8-3a55-4584-b835-842325b6c7b3") - .namespaceFormat("${SOURCE_NAMESPACE}") - .build(); - - CreateConnectionResponse res = sdk.connections().createConnection() - .request(req) - .call(); - - if (res.connectionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - - } -} -``` - - - -## Error Handling - -Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Exception type. - -| Error Object | Status Code | Content Type | -| ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | - -### Example - -```java -package hello.world; - -import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; -import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; - -public class Application { - - public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() - .security(Security.builder() - .basicAuth(SchemeBasicAuth.builder() - .password("") - .username("") - .build()) - .build()) - .build(); - - ConnectionCreateRequest req = ConnectionCreateRequest.builder() - .destinationId("c669dd1e-3620-483e-afc8-55914e0a570f") - .sourceId("6dd427d8-3a55-4584-b835-842325b6c7b3") - .namespaceFormat("${SOURCE_NAMESPACE}") - .build(); - - CreateConnectionResponse res = sdk.connections().createConnection() - .request(req) - .call(); - - if (res.connectionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - - } -} -``` - - - -## Authentication - -### Per-Client Security Schemes - -This SDK supports the following security schemes globally: - -| Name | Type | Scheme | -| ------------------- | ------------------- | ------------------- | -| `basicAuth` | http | HTTP Basic | -| `bearerAuth` | http | HTTP Bearer | -| `clientCredentials` | oauth2 | OAuth2 token | - -You can set the security parameters through the `security` builder method when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example: -```java -package hello.world; - -import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; -import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; - -public class Application { - - public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() - .security(Security.builder() - .basicAuth(SchemeBasicAuth.builder() - .password("") - .username("") - .build()) - .build()) - .build(); - - ConnectionCreateRequest req = ConnectionCreateRequest.builder() - .destinationId("c669dd1e-3620-483e-afc8-55914e0a570f") - .sourceId("6dd427d8-3a55-4584-b835-842325b6c7b3") - .namespaceFormat("${SOURCE_NAMESPACE}") - .build(); - - CreateConnectionResponse res = sdk.connections().createConnection() - .request(req) - .call(); - - if (res.connectionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - - } -} -``` - - - - - - -### Maturity - -This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage -to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally -looking for the latest version. - -### Contributions - -While we value open-source contributions to this SDK, this library is generated programmatically. -Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release ! - -### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) +undefined \ No newline at end of file diff --git a/RELEASES.md b/RELEASES.md index e210209d9..52a5a2af8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1181,4 +1181,14 @@ Based on: ### Generated - [java v1.5.10] . ### Releases -- [Maven Central v1.5.10] https://central.sonatype.com/artifact/com.airbyte/api/1.5.10 - . \ No newline at end of file +- [Maven Central v1.5.10] https://central.sonatype.com/artifact/com.airbyte/api/1.5.10 - . + +## 2024-12-11 00:17:43 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.453.10 (2.474.15) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v1.6.0] . +### Releases +- [Maven Central v1.6.0] https://central.sonatype.com/artifact/com.airbyte/api/1.6.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index ef9bc017b..3657b9110 100644 --- a/USAGE.md +++ b/USAGE.md @@ -3,53 +3,38 @@ package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.CreateConnectionResponse; +import com.airbyte.api.models.shared.ConnectionCreateRequest; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ConnectionCreateRequest req = ConnectionCreateRequest.builder() - .destinationId("c669dd1e-3620-483e-afc8-55914e0a570f") - .sourceId("6dd427d8-3a55-4584-b835-842325b6c7b3") - .namespaceFormat("${SOURCE_NAMESPACE}") + ConnectionCreateRequest req = ConnectionCreateRequest.builder() + .destinationId("e478de0d-a3a0-475c-b019-25f7dd29e281") + .sourceId("95e66a59-8045-4307-9678-63bc3c9b8c93") + .name("Postgres-to-Bigquery") .build(); - CreateConnectionResponse res = sdk.connections().createConnection() + CreateConnectionResponse res = sdk.connections().createConnection() .request(req) .call(); - if (res.connectionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.connectionResponse().isPresent()) { + // handle response } - } } ``` diff --git a/build.gradle b/build.gradle index fbe15df4d..7b74434fc 100644 --- a/build.gradle +++ b/build.gradle @@ -8,12 +8,13 @@ // Additions to the plugins block can be made by setting the `additionalPlugins` property (an array // of string where each string value is an additional line in the block) in gen.yaml. //////////////////////////////////////////////////////////////////////////////////////////// + plugins { // Apply the java-library plugin for API and implementation separation. id 'java-library' id 'maven-publish' id 'signing' - id 'cl.franciscosolis.sonatype-central-upload' version '1.0.0' + id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3' } compileJava.options.encoding = "UTF-8" @@ -31,6 +32,7 @@ java { withSourcesJar() withJavadocJar() } + model { tasks.generatePomFileForMavenPublication { destination = file("$buildDir/pom.xml") @@ -55,13 +57,13 @@ javadoc { options.addStringOption('Xdoclint:none', '-quiet') } - tasks.withType(Javadoc) { failOnError false options.addStringOption('Xdoclint:none', '-quiet') } + group = "com.airbyte" -version = "1.5.10" +version = "1.6.0" sourcesJar { archiveBaseName = "api" @@ -70,7 +72,6 @@ sourcesJar { javadocJar { archiveBaseName = "api" } - sonatypeCentralUpload { // This is your Sonatype generated username username = System.getenv("SONATYPE_USERNAME") @@ -92,13 +93,15 @@ sonatypeCentralUpload { // This is your PGP private key passphrase to decrypt your private key signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE") } + + publishing { publications { maven(MavenPublication) { groupId = 'com.airbyte' artifactId = 'api' - version = '1.5.10' + version = '1.6.0' from components.java @@ -142,10 +145,11 @@ if (!project.hasProperty('skip.signing')) { } dependencies { - implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0' - implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0' - implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.0' - implementation 'org.openapitools:jackson-databind-nullable:0.2.6' + api 'com.fasterxml.jackson.core:jackson-annotations:2.17.2' + implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2' + implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2' + implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2' + api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'} implementation 'org.apache.httpcomponents:httpclient:4.5.14' implementation 'org.apache.httpcomponents:httpmime:4.5.14' implementation 'commons-io:commons-io:2.15.1' diff --git a/docs/models/operations/CancelJobResponse.md b/docs/models/operations/CancelJobResponse.md index b91e717df..ecfd0aa48 100644 --- a/docs/models/operations/CancelJobResponse.md +++ b/docs/models/operations/CancelJobResponse.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `jobResponse` | [Optional](../../models/shared/JobResponse.md) | :heavy_minus_sign: | Cancel a Job. | {
"id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"status": "running",
"jobType": "sync",
"startTime": "2023-03-25T01:30:50Z",
"duration": "PT8H6M12S"
} | +| `jobResponse` | [Optional\](../../models/shared/JobResponse.md) | :heavy_minus_sign: | Cancel a Job. | {
"id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"status": "running",
"jobType": "sync",
"startTime": "2023-03-25T01:30:50Z",
"duration": "PT8H6M12S"
} | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/CreateConnectionResponse.md b/docs/models/operations/CreateConnectionResponse.md index 47bebb152..73236a6f9 100644 --- a/docs/models/operations/CreateConnectionResponse.md +++ b/docs/models/operations/CreateConnectionResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `connectionResponse` | [Optional](../../models/shared/ConnectionResponse.md) | :heavy_minus_sign: | Successful operation | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `connectionResponse` | [Optional\](../../models/shared/ConnectionResponse.md) | :heavy_minus_sign: | Successful operation | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/CreateDestinationResponse.md b/docs/models/operations/CreateDestinationResponse.md index 9f1fdb63f..a32f544f6 100644 --- a/docs/models/operations/CreateDestinationResponse.md +++ b/docs/models/operations/CreateDestinationResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `destinationResponse` | [Optional](../../models/shared/DestinationResponse.md) | :heavy_minus_sign: | Successful operation | {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
} | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | +| `destinationResponse` | [Optional\](../../models/shared/DestinationResponse.md) | :heavy_minus_sign: | Successful operation | {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e",
"definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e"
} | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/CreateJobResponse.md b/docs/models/operations/CreateJobResponse.md index da41e7e79..ba4b4a57a 100644 --- a/docs/models/operations/CreateJobResponse.md +++ b/docs/models/operations/CreateJobResponse.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `jobResponse` | [Optional](../../models/shared/JobResponse.md) | :heavy_minus_sign: | Kicks off a new Job based on the JobType. The connectionId is the resource that Job will be run for. | {
"id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"status": "running",
"jobType": "sync",
"startTime": "2023-03-25T01:30:50Z",
"duration": "PT8H6M12S"
} | +| `jobResponse` | [Optional\](../../models/shared/JobResponse.md) | :heavy_minus_sign: | Kicks off a new Job based on the JobType. The connectionId is the resource that Job will be run for. | {
"id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"status": "running",
"jobType": "sync",
"startTime": "2023-03-25T01:30:50Z",
"duration": "PT8H6M12S"
} | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.md b/docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.md index c91cea5b5..26ee6a12b 100644 --- a/docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.md +++ b/docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `workspaceOAuthCredentialsRequest` | [com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest](../../models/shared/WorkspaceOAuthCredentialsRequest.md) | :heavy_check_mark: | N/A | -| `workspaceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `workspaceOAuthCredentialsRequest` | [WorkspaceOAuthCredentialsRequest](../../models/shared/WorkspaceOAuthCredentialsRequest.md) | :heavy_check_mark: | N/A | +| `workspaceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.md b/docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.md index 85828b2ac..c13a62203 100644 --- a/docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.md +++ b/docs/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/CreatePermissionResponse.md b/docs/models/operations/CreatePermissionResponse.md index b6c04a43f..afb7c7c23 100644 --- a/docs/models/operations/CreatePermissionResponse.md +++ b/docs/models/operations/CreatePermissionResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `permissionResponse` | [Optional](../../models/shared/PermissionResponse.md) | :heavy_minus_sign: | Successful operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `permissionResponse` | [Optional\](../../models/shared/PermissionResponse.md) | :heavy_minus_sign: | Successful operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/CreateSourceResponse.md b/docs/models/operations/CreateSourceResponse.md index 47bedff7b..d94c415b9 100644 --- a/docs/models/operations/CreateSourceResponse.md +++ b/docs/models/operations/CreateSourceResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `sourceResponse` | [Optional](../../models/shared/SourceResponse.md) | :heavy_minus_sign: | Successful operation | {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
} | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | +| `sourceResponse` | [Optional\](../../models/shared/SourceResponse.md) | :heavy_minus_sign: | Successful operation | {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e",
"definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e"
} | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/CreateWorkspaceResponse.md b/docs/models/operations/CreateWorkspaceResponse.md index 46e927a50..7c46711d6 100644 --- a/docs/models/operations/CreateWorkspaceResponse.md +++ b/docs/models/operations/CreateWorkspaceResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `workspaceResponse` | [Optional](../../models/shared/WorkspaceResponse.md) | :heavy_minus_sign: | Successful operation | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `workspaceResponse` | [Optional\](../../models/shared/WorkspaceResponse.md) | :heavy_minus_sign: | Successful operation | \ No newline at end of file diff --git a/docs/models/operations/DeleteConnectionResponse.md b/docs/models/operations/DeleteConnectionResponse.md index 1fc7d9a24..7ca58b59d 100644 --- a/docs/models/operations/DeleteConnectionResponse.md +++ b/docs/models/operations/DeleteConnectionResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/DeleteDestinationResponse.md b/docs/models/operations/DeleteDestinationResponse.md index a86a8750d..4ac46ce41 100644 --- a/docs/models/operations/DeleteDestinationResponse.md +++ b/docs/models/operations/DeleteDestinationResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/DeletePermissionResponse.md b/docs/models/operations/DeletePermissionResponse.md index 4fe7da7e3..262b2998f 100644 --- a/docs/models/operations/DeletePermissionResponse.md +++ b/docs/models/operations/DeletePermissionResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/DeleteSourceResponse.md b/docs/models/operations/DeleteSourceResponse.md index d7f0050d8..df4f2e49d 100644 --- a/docs/models/operations/DeleteSourceResponse.md +++ b/docs/models/operations/DeleteSourceResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/DeleteWorkspaceResponse.md b/docs/models/operations/DeleteWorkspaceResponse.md index c46877e5a..215fb1fbd 100644 --- a/docs/models/operations/DeleteWorkspaceResponse.md +++ b/docs/models/operations/DeleteWorkspaceResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/GetConnectionResponse.md b/docs/models/operations/GetConnectionResponse.md index e7e8a57e8..3ab61b5bd 100644 --- a/docs/models/operations/GetConnectionResponse.md +++ b/docs/models/operations/GetConnectionResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `connectionResponse` | [Optional](../../models/shared/ConnectionResponse.md) | :heavy_minus_sign: | Get a Connection by the id in the path. | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `connectionResponse` | [Optional\](../../models/shared/ConnectionResponse.md) | :heavy_minus_sign: | Get a Connection by the id in the path. | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/GetDestinationResponse.md b/docs/models/operations/GetDestinationResponse.md index 89e90ba10..62a9d232f 100644 --- a/docs/models/operations/GetDestinationResponse.md +++ b/docs/models/operations/GetDestinationResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `destinationResponse` | [Optional](../../models/shared/DestinationResponse.md) | :heavy_minus_sign: | Get a Destination by the id in the path. | {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
} | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | +| `destinationResponse` | [Optional\](../../models/shared/DestinationResponse.md) | :heavy_minus_sign: | Get a Destination by the id in the path. | {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e",
"definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e"
} | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/GetHealthCheckResponse.md b/docs/models/operations/GetHealthCheckResponse.md index 99d2c07f0..fc044a7f3 100644 --- a/docs/models/operations/GetHealthCheckResponse.md +++ b/docs/models/operations/GetHealthCheckResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/GetJobResponse.md b/docs/models/operations/GetJobResponse.md index 53dbe0a69..634e88387 100644 --- a/docs/models/operations/GetJobResponse.md +++ b/docs/models/operations/GetJobResponse.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `jobResponse` | [Optional](../../models/shared/JobResponse.md) | :heavy_minus_sign: | Get a Job by the id in the path. | {
"id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"status": "running",
"jobType": "sync",
"startTime": "2023-03-25T01:30:50Z",
"duration": "PT8H6M12S"
} | +| `jobResponse` | [Optional\](../../models/shared/JobResponse.md) | :heavy_minus_sign: | Get a Job by the id in the path. | {
"id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"status": "running",
"jobType": "sync",
"startTime": "2023-03-25T01:30:50Z",
"duration": "PT8H6M12S"
} | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/GetPermissionResponse.md b/docs/models/operations/GetPermissionResponse.md index 21be692bf..efe5985b6 100644 --- a/docs/models/operations/GetPermissionResponse.md +++ b/docs/models/operations/GetPermissionResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `permissionResponse` | [Optional](../../models/shared/PermissionResponse.md) | :heavy_minus_sign: | Get a Permission by the id in the path. | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `permissionResponse` | [Optional\](../../models/shared/PermissionResponse.md) | :heavy_minus_sign: | Get a Permission by the id in the path. | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/GetSourceResponse.md b/docs/models/operations/GetSourceResponse.md index 2436cb419..db4d94d49 100644 --- a/docs/models/operations/GetSourceResponse.md +++ b/docs/models/operations/GetSourceResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `sourceResponse` | [Optional](../../models/shared/SourceResponse.md) | :heavy_minus_sign: | Get a Source by the id in the path. | {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
} | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | +| `sourceResponse` | [Optional\](../../models/shared/SourceResponse.md) | :heavy_minus_sign: | Get a Source by the id in the path. | {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e",
"definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e"
} | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/GetStreamPropertiesRequest.md b/docs/models/operations/GetStreamPropertiesRequest.md index bb8363398..d83383dcf 100644 --- a/docs/models/operations/GetStreamPropertiesRequest.md +++ b/docs/models/operations/GetStreamPropertiesRequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `destinationId` | *Optional* | :heavy_minus_sign: | ID of the destination | -| `ignoreCache` | *Optional* | :heavy_minus_sign: | If true pull the latest schema from the source, else pull from cache (default false) | +| `destinationId` | *Optional\* | :heavy_minus_sign: | ID of the destination | +| `ignoreCache` | *Optional\* | :heavy_minus_sign: | If true pull the latest schema from the source, else pull from cache (default false) | | `sourceId` | *String* | :heavy_check_mark: | ID of the source | \ No newline at end of file diff --git a/docs/models/operations/GetStreamPropertiesResponse.md b/docs/models/operations/GetStreamPropertiesResponse.md index f18885a6b..beda00536 100644 --- a/docs/models/operations/GetStreamPropertiesResponse.md +++ b/docs/models/operations/GetStreamPropertiesResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `streamPropertiesResponse` | List<[com.airbyte.api.models.shared.StreamProperties](../../models/shared/StreamProperties.md)> | :heavy_minus_sign: | Get the available streams properties for a source/destination pair. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `streamPropertiesResponse` | List\<[StreamProperties](../../models/shared/StreamProperties.md)> | :heavy_minus_sign: | Get the available streams properties for a source/destination pair. | \ No newline at end of file diff --git a/docs/models/operations/GetWorkspaceResponse.md b/docs/models/operations/GetWorkspaceResponse.md index 390ea0730..b42778138 100644 --- a/docs/models/operations/GetWorkspaceResponse.md +++ b/docs/models/operations/GetWorkspaceResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `workspaceResponse` | [Optional](../../models/shared/WorkspaceResponse.md) | :heavy_minus_sign: | Get a Workspace by the id in the path. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `workspaceResponse` | [Optional\](../../models/shared/WorkspaceResponse.md) | :heavy_minus_sign: | Get a Workspace by the id in the path. | \ No newline at end of file diff --git a/docs/models/operations/InitiateOAuthResponse.md b/docs/models/operations/InitiateOAuthResponse.md index 9fb32d821..bf275a51f 100644 --- a/docs/models/operations/InitiateOAuthResponse.md +++ b/docs/models/operations/InitiateOAuthResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/ListConnectionsRequest.md b/docs/models/operations/ListConnectionsRequest.md index 8c2052585..623e703d1 100644 --- a/docs/models/operations/ListConnectionsRequest.md +++ b/docs/models/operations/ListConnectionsRequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `includeDeleted` | *Optional* | :heavy_minus_sign: | Include deleted connections in the returned results. | -| `limit` | *Optional* | :heavy_minus_sign: | Set the limit on the number of Connections returned. The default is 20. | -| `offset` | *Optional* | :heavy_minus_sign: | Set the offset to start at when returning Connections. The default is 0 | -| `workspaceIds` | List<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces. | \ No newline at end of file +| `includeDeleted` | *Optional\* | :heavy_minus_sign: | Include deleted connections in the returned results. | +| `limit` | *Optional\* | :heavy_minus_sign: | Set the limit on the number of Connections returned. The default is 20. | +| `offset` | *Optional\* | :heavy_minus_sign: | Set the offset to start at when returning Connections. The default is 0 | +| `workspaceIds` | List\<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces. | \ No newline at end of file diff --git a/docs/models/operations/ListConnectionsResponse.md b/docs/models/operations/ListConnectionsResponse.md index 00a6b8764..62221f77a 100644 --- a/docs/models/operations/ListConnectionsResponse.md +++ b/docs/models/operations/ListConnectionsResponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connectionsResponse` | [Optional](../../models/shared/ConnectionsResponse.md) | :heavy_minus_sign: | Successful operation | {
"next": "https://api.airbyte.com/v1/connections?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/connections?limit=5\u0026offset=0",
"data": [
{
"name": "test-connection"
},
{
"connection_id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826"
},
{
"sourceId": "49237019-645d-47d4-b45b-5eddf97775ce"
},
{
"destinationId": "al312fs-0ab1-4f72-9ed7-0b8fc27c5826"
},
{
"schedule": {
"scheduleType": "manual"
}
},
{
"status": "active"
},
{
"dataResidency": "auto"
}
]
} | +| `connectionsResponse` | [Optional\](../../models/shared/ConnectionsResponse.md) | :heavy_minus_sign: | Successful operation | {
"next": "https://api.airbyte.com/v1/connections?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/connections?limit=5\u0026offset=0",
"data": [
{
"name": "test-connection"
},
{
"connection_id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826"
},
{
"sourceId": "49237019-645d-47d4-b45b-5eddf97775ce"
},
{
"destinationId": "al312fs-0ab1-4f72-9ed7-0b8fc27c5826"
},
{
"schedule": {
"scheduleType": "manual"
}
},
{
"status": "active"
},
{
"dataResidency": "auto"
}
]
} | | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/ListDestinationsRequest.md b/docs/models/operations/ListDestinationsRequest.md index 4cdeb1a38..5536d271a 100644 --- a/docs/models/operations/ListDestinationsRequest.md +++ b/docs/models/operations/ListDestinationsRequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `includeDeleted` | *Optional* | :heavy_minus_sign: | Include deleted destinations in the returned results. | -| `limit` | *Optional* | :heavy_minus_sign: | Set the limit on the number of destinations returned. The default is 20. | -| `offset` | *Optional* | :heavy_minus_sign: | Set the offset to start at when returning destinations. The default is 0 | -| `workspaceIds` | List<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces. | \ No newline at end of file +| `includeDeleted` | *Optional\* | :heavy_minus_sign: | Include deleted destinations in the returned results. | +| `limit` | *Optional\* | :heavy_minus_sign: | Set the limit on the number of destinations returned. The default is 20. | +| `offset` | *Optional\* | :heavy_minus_sign: | Set the offset to start at when returning destinations. The default is 0 | +| `workspaceIds` | List\<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces. | \ No newline at end of file diff --git a/docs/models/operations/ListDestinationsResponse.md b/docs/models/operations/ListDestinationsResponse.md index d8e758b85..00ff48518 100644 --- a/docs/models/operations/ListDestinationsResponse.md +++ b/docs/models/operations/ListDestinationsResponse.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `destinationsResponse` | [Optional](../../models/shared/DestinationsResponse.md) | :heavy_minus_sign: | Successful operation | {
"next": "https://api.airbyte.com/v1/destinations?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/destinations?limit=5\u0026offset=0",
"data": {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
}
} | +| `destinationsResponse` | [Optional\](../../models/shared/DestinationsResponse.md) | :heavy_minus_sign: | Successful operation | {
"next": "https://api.airbyte.com/v1/destinations?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/destinations?limit=5\u0026offset=0",
"data": {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
}
} | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/ListJobsRequest.md b/docs/models/operations/ListJobsRequest.md index 101fc1aab..1bb24251b 100644 --- a/docs/models/operations/ListJobsRequest.md +++ b/docs/models/operations/ListJobsRequest.md @@ -5,14 +5,14 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `connectionId` | *Optional* | :heavy_minus_sign: | Filter the Jobs by connectionId. | | +| `connectionId` | *Optional\* | :heavy_minus_sign: | Filter the Jobs by connectionId. | | | `createdAtEnd` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The end date to filter by | 1687450500000 | | `createdAtStart` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The start date to filter by | 1687450500000 | -| `jobType` | [Optional](../../models/shared/JobTypeEnum.md) | :heavy_minus_sign: | Filter the Jobs by jobType. | | -| `limit` | *Optional* | :heavy_minus_sign: | Set the limit on the number of Jobs returned. The default is 20 Jobs. | | -| `offset` | *Optional* | :heavy_minus_sign: | Set the offset to start at when returning Jobs. The default is 0. | | -| `orderBy` | *Optional* | :heavy_minus_sign: | The field and method to use for ordering | updatedAt\|DESC | -| `status` | [Optional](../../models/shared/JobStatusEnum.md) | :heavy_minus_sign: | The Job status you want to filter by | | +| `jobType` | [Optional\](../../models/shared/JobTypeEnum.md) | :heavy_minus_sign: | Filter the Jobs by jobType. | | +| `limit` | *Optional\* | :heavy_minus_sign: | Set the limit on the number of Jobs returned. The default is 20 Jobs. | | +| `offset` | *Optional\* | :heavy_minus_sign: | Set the offset to start at when returning Jobs. The default is 0. | | +| `orderBy` | *Optional\* | :heavy_minus_sign: | The field and method to use for ordering | updatedAt\|DESC | +| `status` | [Optional\](../../models/shared/JobStatusEnum.md) | :heavy_minus_sign: | The Job status you want to filter by | | | `updatedAtEnd` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The end date to filter by | 1687450500000 | | `updatedAtStart` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The start date to filter by | 1687450500000 | -| `workspaceIds` | List<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. | | \ No newline at end of file +| `workspaceIds` | List\<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. | | \ No newline at end of file diff --git a/docs/models/operations/ListJobsResponse.md b/docs/models/operations/ListJobsResponse.md index 684e13e1f..76ebda777 100644 --- a/docs/models/operations/ListJobsResponse.md +++ b/docs/models/operations/ListJobsResponse.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `jobsResponse` | [Optional](../../models/shared/JobsResponse.md) | :heavy_minus_sign: | List all the Jobs by connectionId. | {
"next": "https://api.airbyte.com/v1/jobs?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/jobs?limit=5\u0026offset=0",
"data": [
{
"id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"status": "running",
"jobType": "sync",
"startTime": "2023-03-25T01:30:50Z"
}
]
} | +| `jobsResponse` | [Optional\](../../models/shared/JobsResponse.md) | :heavy_minus_sign: | List all the Jobs by connectionId. | {
"next": "https://api.airbyte.com/v1/jobs?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/jobs?limit=5\u0026offset=0",
"data": [
{
"id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"status": "running",
"jobType": "sync",
"startTime": "2023-03-25T01:30:50Z"
}
]
} | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/ListOrganizationsForUserResponse.md b/docs/models/operations/ListOrganizationsForUserResponse.md index 931917d42..691a23ee0 100644 --- a/docs/models/operations/ListOrganizationsForUserResponse.md +++ b/docs/models/operations/ListOrganizationsForUserResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `organizationsResponse` | [Optional](../../models/shared/OrganizationsResponse.md) | :heavy_minus_sign: | List user's organizations. | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `organizationsResponse` | [Optional\](../../models/shared/OrganizationsResponse.md) | :heavy_minus_sign: | List user's organizations. | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/ListPermissionsRequest.md b/docs/models/operations/ListPermissionsRequest.md index 556094405..e31ca9508 100644 --- a/docs/models/operations/ListPermissionsRequest.md +++ b/docs/models/operations/ListPermissionsRequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `organizationId` | *Optional* | :heavy_minus_sign: | This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. | -| `userId` | *Optional* | :heavy_minus_sign: | User Id in permission. | \ No newline at end of file +| `organizationId` | *Optional\* | :heavy_minus_sign: | This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. | +| `userId` | *Optional\* | :heavy_minus_sign: | User Id in permission. | \ No newline at end of file diff --git a/docs/models/operations/ListPermissionsResponse.md b/docs/models/operations/ListPermissionsResponse.md index 6733e8066..ae021b9ae 100644 --- a/docs/models/operations/ListPermissionsResponse.md +++ b/docs/models/operations/ListPermissionsResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `permissionsResponse` | [Optional](../../models/shared/PermissionsResponse.md) | :heavy_minus_sign: | List Permissions. | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `permissionsResponse` | [Optional\](../../models/shared/PermissionsResponse.md) | :heavy_minus_sign: | List Permissions. | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/ListSourcesRequest.md b/docs/models/operations/ListSourcesRequest.md index b94d14bec..89211e133 100644 --- a/docs/models/operations/ListSourcesRequest.md +++ b/docs/models/operations/ListSourcesRequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `includeDeleted` | *Optional* | :heavy_minus_sign: | Include deleted sources in the returned results. | | -| `limit` | *Optional* | :heavy_minus_sign: | Set the limit on the number of sources returned. The default is 20. | | -| `offset` | *Optional* | :heavy_minus_sign: | Set the offset to start at when returning sources. The default is 0 | | -| `workspaceIds` | List<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. | df08f6b0-b364-4cc1-9b3f-96f5d2fccfb2,b0796797-de23-4fc7-a5e2-7e131314718c | \ No newline at end of file +| `includeDeleted` | *Optional\* | :heavy_minus_sign: | Include deleted sources in the returned results. | | +| `limit` | *Optional\* | :heavy_minus_sign: | Set the limit on the number of sources returned. The default is 20. | | +| `offset` | *Optional\* | :heavy_minus_sign: | Set the offset to start at when returning sources. The default is 0 | | +| `workspaceIds` | List\<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. | df08f6b0-b364-4cc1-9b3f-96f5d2fccfb2,b0796797-de23-4fc7-a5e2-7e131314718c | \ No newline at end of file diff --git a/docs/models/operations/ListSourcesResponse.md b/docs/models/operations/ListSourcesResponse.md index a165b25a5..f426b0167 100644 --- a/docs/models/operations/ListSourcesResponse.md +++ b/docs/models/operations/ListSourcesResponse.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `sourcesResponse` | [Optional](../../models/shared/SourcesResponse.md) | :heavy_minus_sign: | Successful operation | {
"next": "https://api.airbyte.com/v1/sources?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/sources?limit=5\u0026offset=0",
"data": {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
}
} | +| `sourcesResponse` | [Optional\](../../models/shared/SourcesResponse.md) | :heavy_minus_sign: | Successful operation | {
"next": "https://api.airbyte.com/v1/sources?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/sources?limit=5\u0026offset=0",
"data": {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
}
} | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/ListUsersWithinAnOrganizationRequest.md b/docs/models/operations/ListUsersWithinAnOrganizationRequest.md index 2b8904663..51bb03c4a 100644 --- a/docs/models/operations/ListUsersWithinAnOrganizationRequest.md +++ b/docs/models/operations/ListUsersWithinAnOrganizationRequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `emails` | List<*String*> | :heavy_minus_sign: | List of user emails to filter by | -| `ids` | List<*String*> | :heavy_minus_sign: | List of user IDs to filter by | +| `emails` | List\<*String*> | :heavy_minus_sign: | List of user emails to filter by | +| `ids` | List\<*String*> | :heavy_minus_sign: | List of user IDs to filter by | | `organizationId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/ListUsersWithinAnOrganizationResponse.md b/docs/models/operations/ListUsersWithinAnOrganizationResponse.md index 22c5aec60..aa1b45d74 100644 --- a/docs/models/operations/ListUsersWithinAnOrganizationResponse.md +++ b/docs/models/operations/ListUsersWithinAnOrganizationResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `usersResponse` | [Optional](../../models/shared/UsersResponse.md) | :heavy_minus_sign: | List Users. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `usersResponse` | [Optional\](../../models/shared/UsersResponse.md) | :heavy_minus_sign: | List Users. | \ No newline at end of file diff --git a/docs/models/operations/ListWorkspacesRequest.md b/docs/models/operations/ListWorkspacesRequest.md index 312936233..7acffc67e 100644 --- a/docs/models/operations/ListWorkspacesRequest.md +++ b/docs/models/operations/ListWorkspacesRequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `includeDeleted` | *Optional* | :heavy_minus_sign: | Include deleted workspaces in the returned results. | -| `limit` | *Optional* | :heavy_minus_sign: | Set the limit on the number of workspaces returned. The default is 20. | -| `offset` | *Optional* | :heavy_minus_sign: | Set the offset to start at when returning workspaces. The default is 0 | -| `workspaceIds` | List<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces. | \ No newline at end of file +| `includeDeleted` | *Optional\* | :heavy_minus_sign: | Include deleted workspaces in the returned results. | +| `limit` | *Optional\* | :heavy_minus_sign: | Set the limit on the number of workspaces returned. The default is 20. | +| `offset` | *Optional\* | :heavy_minus_sign: | Set the offset to start at when returning workspaces. The default is 0 | +| `workspaceIds` | List\<*String*> | :heavy_minus_sign: | The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces. | \ No newline at end of file diff --git a/docs/models/operations/ListWorkspacesResponse.md b/docs/models/operations/ListWorkspacesResponse.md index 91621440e..70254a2de 100644 --- a/docs/models/operations/ListWorkspacesResponse.md +++ b/docs/models/operations/ListWorkspacesResponse.md @@ -7,5 +7,5 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | -| `workspacesResponse` | [Optional](../../models/shared/WorkspacesResponse.md) | :heavy_minus_sign: | Successful operation | {
"next": "https://api.airbyte.com/v1/workspaces?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/workspaces?limit=5\u0026offset=0",
"data": {
"workspaceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Acme Company",
"dataResidency": "auto"
}
} | \ No newline at end of file +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | +| `workspacesResponse` | [Optional\](../../models/shared/WorkspacesResponse.md) | :heavy_minus_sign: | Successful operation | {
"next": "https://api.airbyte.com/v1/workspaces?limit=5\u0026offset=10",
"previous": "https://api.airbyte.com/v1/workspaces?limit=5\u0026offset=0",
"data": {
"workspaceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Acme Company",
"dataResidency": "auto"
}
} | \ No newline at end of file diff --git a/docs/models/operations/PatchConnectionRequest.md b/docs/models/operations/PatchConnectionRequest.md index f50e948b3..95dc387c6 100644 --- a/docs/models/operations/PatchConnectionRequest.md +++ b/docs/models/operations/PatchConnectionRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `connectionPatchRequest` | [com.airbyte.api.models.shared.ConnectionPatchRequest](../../models/shared/ConnectionPatchRequest.md) | :heavy_check_mark: | N/A | -| `connectionId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `connectionPatchRequest` | [ConnectionPatchRequest](../../models/shared/ConnectionPatchRequest.md) | :heavy_check_mark: | N/A | +| `connectionId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/PatchConnectionResponse.md b/docs/models/operations/PatchConnectionResponse.md index 668424edd..f21a8e9a4 100644 --- a/docs/models/operations/PatchConnectionResponse.md +++ b/docs/models/operations/PatchConnectionResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `connectionResponse` | [Optional](../../models/shared/ConnectionResponse.md) | :heavy_minus_sign: | Update a Connection by the id in the path. | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `connectionResponse` | [Optional\](../../models/shared/ConnectionResponse.md) | :heavy_minus_sign: | Update a Connection by the id in the path. | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/PatchDestinationRequest.md b/docs/models/operations/PatchDestinationRequest.md index c8aba7e8a..730b05b53 100644 --- a/docs/models/operations/PatchDestinationRequest.md +++ b/docs/models/operations/PatchDestinationRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `destinationPatchRequest` | [Optional](../../models/shared/DestinationPatchRequest.md) | :heavy_minus_sign: | N/A | -| `destinationId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `destinationPatchRequest` | [Optional\](../../models/shared/DestinationPatchRequest.md) | :heavy_minus_sign: | N/A | +| `destinationId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/PatchDestinationResponse.md b/docs/models/operations/PatchDestinationResponse.md index 06002c6ca..306979caf 100644 --- a/docs/models/operations/PatchDestinationResponse.md +++ b/docs/models/operations/PatchDestinationResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `destinationResponse` | [Optional](../../models/shared/DestinationResponse.md) | :heavy_minus_sign: | Update a Destination | {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
} | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | +| `destinationResponse` | [Optional\](../../models/shared/DestinationResponse.md) | :heavy_minus_sign: | Update a Destination | {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e",
"definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e"
} | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/PatchSourceRequest.md b/docs/models/operations/PatchSourceRequest.md index 835e5c12d..bc7b71ac9 100644 --- a/docs/models/operations/PatchSourceRequest.md +++ b/docs/models/operations/PatchSourceRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `sourcePatchRequest` | [Optional](../../models/shared/SourcePatchRequest.md) | :heavy_minus_sign: | N/A | -| `sourceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `sourcePatchRequest` | [Optional\](../../models/shared/SourcePatchRequest.md) | :heavy_minus_sign: | N/A | +| `sourceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/PatchSourceResponse.md b/docs/models/operations/PatchSourceResponse.md index eda5fd104..8232d1026 100644 --- a/docs/models/operations/PatchSourceResponse.md +++ b/docs/models/operations/PatchSourceResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `sourceResponse` | [Optional](../../models/shared/SourceResponse.md) | :heavy_minus_sign: | Update a Source | {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
} | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | +| `sourceResponse` | [Optional\](../../models/shared/SourceResponse.md) | :heavy_minus_sign: | Update a Source | {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e",
"definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e"
} | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/PutDestinationRequest.md b/docs/models/operations/PutDestinationRequest.md index efda2f742..ebf2aa049 100644 --- a/docs/models/operations/PutDestinationRequest.md +++ b/docs/models/operations/PutDestinationRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `destinationPutRequest` | [Optional](../../models/shared/DestinationPutRequest.md) | :heavy_minus_sign: | N/A | -| `destinationId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `destinationPutRequest` | [Optional\](../../models/shared/DestinationPutRequest.md) | :heavy_minus_sign: | N/A | +| `destinationId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/PutDestinationResponse.md b/docs/models/operations/PutDestinationResponse.md index c827a8293..ca30be861 100644 --- a/docs/models/operations/PutDestinationResponse.md +++ b/docs/models/operations/PutDestinationResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `destinationResponse` | [Optional](../../models/shared/DestinationResponse.md) | :heavy_minus_sign: | Update a Destination and fully overwrite it | {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
} | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | +| `destinationResponse` | [Optional\](../../models/shared/DestinationResponse.md) | :heavy_minus_sign: | Update a Destination and fully overwrite it | {
"destinationId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"destinationType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e",
"definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e"
} | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/PutSourceRequest.md b/docs/models/operations/PutSourceRequest.md index 229739ea1..4c6625e1c 100644 --- a/docs/models/operations/PutSourceRequest.md +++ b/docs/models/operations/PutSourceRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `sourcePutRequest` | [Optional](../../models/shared/SourcePutRequest.md) | :heavy_minus_sign: | N/A | -| `sourceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `sourcePutRequest` | [Optional\](../../models/shared/SourcePutRequest.md) | :heavy_minus_sign: | N/A | +| `sourceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/PutSourceResponse.md b/docs/models/operations/PutSourceResponse.md index 57705dfd2..19778b0af 100644 --- a/docs/models/operations/PutSourceResponse.md +++ b/docs/models/operations/PutSourceResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | -| `sourceResponse` | [Optional](../../models/shared/SourceResponse.md) | :heavy_minus_sign: | Update a source and fully overwrite it | {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"
} | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | +| `sourceResponse` | [Optional\](../../models/shared/SourceResponse.md) | :heavy_minus_sign: | Update a source and fully overwrite it | {
"sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
"name": "Analytics Team Postgres",
"sourceType": "postgres",
"workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e",
"definitionId": "321d9b60-11d1-44cb-8c92-c246d53bf98e"
} | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/docs/models/operations/UpdatePermissionRequest.md b/docs/models/operations/UpdatePermissionRequest.md index 5f1e0ed92..fb59a71d8 100644 --- a/docs/models/operations/UpdatePermissionRequest.md +++ b/docs/models/operations/UpdatePermissionRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `permissionUpdateRequest` | [com.airbyte.api.models.shared.PermissionUpdateRequest](../../models/shared/PermissionUpdateRequest.md) | :heavy_check_mark: | N/A | -| `permissionId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `permissionUpdateRequest` | [PermissionUpdateRequest](../../models/shared/PermissionUpdateRequest.md) | :heavy_check_mark: | N/A | +| `permissionId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/UpdatePermissionResponse.md b/docs/models/operations/UpdatePermissionResponse.md index c7f0b0123..daac3dc75 100644 --- a/docs/models/operations/UpdatePermissionResponse.md +++ b/docs/models/operations/UpdatePermissionResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `permissionResponse` | [Optional](../../models/shared/PermissionResponse.md) | :heavy_minus_sign: | Successful updated | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `permissionResponse` | [Optional\](../../models/shared/PermissionResponse.md) | :heavy_minus_sign: | Successful updated | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/UpdateWorkspaceRequest.md b/docs/models/operations/UpdateWorkspaceRequest.md index 73400755d..946ce1387 100644 --- a/docs/models/operations/UpdateWorkspaceRequest.md +++ b/docs/models/operations/UpdateWorkspaceRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `workspaceUpdateRequest` | [com.airbyte.api.models.shared.WorkspaceUpdateRequest](../../models/shared/WorkspaceUpdateRequest.md) | :heavy_check_mark: | N/A | -| `workspaceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `workspaceUpdateRequest` | [WorkspaceUpdateRequest](../../models/shared/WorkspaceUpdateRequest.md) | :heavy_check_mark: | N/A | +| `workspaceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/UpdateWorkspaceResponse.md b/docs/models/operations/UpdateWorkspaceResponse.md index 6de78c9a4..a68b4c767 100644 --- a/docs/models/operations/UpdateWorkspaceResponse.md +++ b/docs/models/operations/UpdateWorkspaceResponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [HttpResponse](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `workspaceResponse` | [Optional](../../models/shared/WorkspaceResponse.md) | :heavy_minus_sign: | Successful operation | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `workspaceResponse` | [Optional\](../../models/shared/WorkspaceResponse.md) | :heavy_minus_sign: | Successful operation | \ No newline at end of file diff --git a/docs/models/shared/APIAccessToken.md b/docs/models/shared/APIAccessToken.md index 29c12c35f..402803a9e 100644 --- a/docs/models/shared/APIAccessToken.md +++ b/docs/models/shared/APIAccessToken.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | The access token to use for accessing your data from Smartsheets. This access token must be generated by a user with at least read access to the data you'd like to replicate. Generate an access token in the Smartsheets main menu by clicking Account > Apps & Integrations > API Access. See the setup guide for information on how to obtain this token. | -| `authType` | [Optional](../../models/shared/SourceSmartsheetsSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `authType` | [Optional\](../../models/shared/SourceSmartsheetsSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/APIEndpointPrefix.md b/docs/models/shared/APIEndpointPrefix.md new file mode 100644 index 000000000..8e7d8c2d6 --- /dev/null +++ b/docs/models/shared/APIEndpointPrefix.md @@ -0,0 +1,9 @@ +# APIEndpointPrefix + + +## Values + +| Name | Value | +| -------- | -------- | +| `API` | api | +| `API_EU` | api.eu | \ No newline at end of file diff --git a/docs/models/shared/APIKey.md b/docs/models/shared/APIKey.md index 89a4f765c..6b77d2dfd 100644 --- a/docs/models/shared/APIKey.md +++ b/docs/models/shared/APIKey.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | | `apikey` | *String* | :heavy_check_mark: | Mailchimp API Key. See the docs for information on how to generate this key. | -| `authType` | [com.airbyte.api.models.shared.SourceMailchimpSchemasAuthType](../../models/shared/SourceMailchimpSchemasAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `authType` | [SourceMailchimpSchemasAuthType](../../models/shared/SourceMailchimpSchemasAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/APIPassword.md b/docs/models/shared/APIPassword.md index 165d0a4f4..fbbed4f05 100644 --- a/docs/models/shared/APIPassword.md +++ b/docs/models/shared/APIPassword.md @@ -5,7 +5,7 @@ API Password Auth ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `apiPassword` | *String* | :heavy_check_mark: | The API Password for your private application in the `Shopify` store. | -| `authMethod` | [com.airbyte.api.models.shared.SourceShopifySchemasAuthMethod](../../models/shared/SourceShopifySchemasAuthMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `apiPassword` | *String* | :heavy_check_mark: | The API Password for your private application in the `Shopify` store. | +| `authMethod` | [SourceShopifySchemasAuthMethod](../../models/shared/SourceShopifySchemasAuthMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/APIToken.md b/docs/models/shared/APIToken.md index 48dd70b28..ee8f28b20 100644 --- a/docs/models/shared/APIToken.md +++ b/docs/models/shared/APIToken.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `apiToken` | *String* | :heavy_check_mark: | API Token for making authenticated requests. | -| `authType` | [com.airbyte.api.models.shared.SourceMondaySchemasAuthType](../../models/shared/SourceMondaySchemasAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API Token for making authenticated requests. | +| `authType` | [SourceMondaySchemasAuthType](../../models/shared/SourceMondaySchemasAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AccessToken.md b/docs/models/shared/AccessToken.md index 0fd1f6195..6addc4981 100644 --- a/docs/models/shared/AccessToken.md +++ b/docs/models/shared/AccessToken.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `accessToken` | *String* | :heavy_check_mark: | The access token generated for your developer application. Refer to our documentation for more information. | -| `authMethod` | [Optional](../../models/shared/SourceLinkedinAdsSchemasAuthMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Drift Access Token. See the docs for more information on how to generate this key. | +| `credentials` | [Optional\](../../models/shared/SourceDriftSchemasCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AccountNames.md b/docs/models/shared/AccountNames.md index 10d320508..bed02c976 100644 --- a/docs/models/shared/AccountNames.md +++ b/docs/models/shared/AccountNames.md @@ -8,4 +8,4 @@ Account Names Predicates Config. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `name` | *String* | :heavy_check_mark: | Account Name is a string value for comparing with the specified predicate. | -| `operator` | [com.airbyte.api.models.shared.Operator](../../models/shared/Operator.md) | :heavy_check_mark: | An Operator that will be used to filter accounts. The Contains predicate has features for matching words, matching inflectional forms of words, searching using wildcard characters, and searching using proximity. The Equals is used to return all rows where account name is equal(=) to the string that you provided | \ No newline at end of file +| `operator` | [Operator](../../models/shared/Operator.md) | :heavy_check_mark: | An Operator that will be used to filter accounts. The Contains predicate has features for matching words, matching inflectional forms of words, searching using wildcard characters, and searching using proximity. The Equals is used to return all rows where account name is equal(=) to the string that you provided | \ No newline at end of file diff --git a/docs/models/shared/Activecampaign.md b/docs/models/shared/Activecampaign.md new file mode 100644 index 000000000..c0e3f3c36 --- /dev/null +++ b/docs/models/shared/Activecampaign.md @@ -0,0 +1,8 @@ +# Activecampaign + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `ACTIVECAMPAIGN` | activecampaign | \ No newline at end of file diff --git a/docs/models/shared/AdAnalyticsReportConfiguration.md b/docs/models/shared/AdAnalyticsReportConfiguration.md index 0661e96ad..ce03f9790 100644 --- a/docs/models/shared/AdAnalyticsReportConfiguration.md +++ b/docs/models/shared/AdAnalyticsReportConfiguration.md @@ -8,5 +8,5 @@ Config for custom ad Analytics Report | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `name` | *String* | :heavy_check_mark: | The name for the custom report. | -| `pivotBy` | [com.airbyte.api.models.shared.PivotCategory](../../models/shared/PivotCategory.md) | :heavy_check_mark: | Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. | -| `timeGranularity` | [com.airbyte.api.models.shared.TimeGranularity](../../models/shared/TimeGranularity.md) | :heavy_check_mark: | Choose how to group the data in your report by time. The options are:
- 'ALL': A single result summarizing the entire time range.
- 'DAILY': Group results by each day.
- 'MONTHLY': Group results by each month.
- 'YEARLY': Group results by each year.
Selecting a time grouping helps you analyze trends and patterns over different time periods. | \ No newline at end of file +| `pivotBy` | [PivotCategory](../../models/shared/PivotCategory.md) | :heavy_check_mark: | Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. | +| `timeGranularity` | [TimeGranularity](../../models/shared/TimeGranularity.md) | :heavy_check_mark: | Choose how to group the data in your report by time. The options are:
- 'ALL': A single result summarizing the entire time range.
- 'DAILY': Group results by each day.
- 'MONTHLY': Group results by each month.
- 'YEARLY': Group results by each year.
Selecting a time grouping helps you analyze trends and patterns over different time periods. | \ No newline at end of file diff --git a/docs/models/shared/SourceRetentlyRetently.md b/docs/models/shared/Agilecrm.md similarity index 57% rename from docs/models/shared/SourceRetentlyRetently.md rename to docs/models/shared/Agilecrm.md index dfb1e19c5..c8f369d3e 100644 --- a/docs/models/shared/SourceRetentlyRetently.md +++ b/docs/models/shared/Agilecrm.md @@ -1,8 +1,8 @@ -# SourceRetentlyRetently +# Agilecrm ## Values | Name | Value | | ---------- | ---------- | -| `RETENTLY` | retently | \ No newline at end of file +| `AGILECRM` | agilecrm | \ No newline at end of file diff --git a/docs/models/shared/AirbyteApiConnectionSchedule.md b/docs/models/shared/AirbyteApiConnectionSchedule.md index 6923e030a..ef47c4750 100644 --- a/docs/models/shared/AirbyteApiConnectionSchedule.md +++ b/docs/models/shared/AirbyteApiConnectionSchedule.md @@ -5,7 +5,7 @@ schedule for when the the connection should run, per the schedule type ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `cronExpression` | *Optional* | :heavy_minus_sign: | N/A | -| `scheduleType` | [com.airbyte.api.models.shared.ScheduleTypeEnum](../../models/shared/ScheduleTypeEnum.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `cronExpression` | *Optional\* | :heavy_minus_sign: | N/A | +| `scheduleType` | [ScheduleTypeEnum](../../models/shared/ScheduleTypeEnum.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Airtable.md b/docs/models/shared/Airtable.md index 30bbbd2bc..39c7ab969 100644 --- a/docs/models/shared/Airtable.md +++ b/docs/models/shared/Airtable.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/Credentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/Credentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSquareSquare.md b/docs/models/shared/Akeneo.md similarity index 58% rename from docs/models/shared/SourceSquareSquare.md rename to docs/models/shared/Akeneo.md index 715c6be7d..6ae183f92 100644 --- a/docs/models/shared/SourceSquareSquare.md +++ b/docs/models/shared/Akeneo.md @@ -1,8 +1,8 @@ -# SourceSquareSquare +# Akeneo ## Values | Name | Value | | -------- | -------- | -| `SQUARE` | square | \ No newline at end of file +| `AKENEO` | akeneo | \ No newline at end of file diff --git a/docs/models/shared/Algolia.md b/docs/models/shared/Algolia.md new file mode 100644 index 000000000..b414d3787 --- /dev/null +++ b/docs/models/shared/Algolia.md @@ -0,0 +1,8 @@ +# Algolia + + +## Values + +| Name | Value | +| --------- | --------- | +| `ALGOLIA` | algolia | \ No newline at end of file diff --git a/docs/models/shared/Allow.md b/docs/models/shared/Allow.md index 2a3b53fff..d1e7906be 100644 --- a/docs/models/shared/Allow.md +++ b/docs/models/shared/Allow.md @@ -5,6 +5,6 @@ Allow SSL mode. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationPostgresMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationPostgresMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AmazonAds.md b/docs/models/shared/AmazonAds.md index 4e345c620..fd555c68f 100644 --- a/docs/models/shared/AmazonAds.md +++ b/docs/models/shared/AmazonAds.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `clientId` | *Optional* | :heavy_minus_sign: | The client ID of your Amazon Ads developer application. See the docs for more information. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The client secret of your Amazon Ads developer application. See the docs for more information. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The client ID of your Amazon Ads developer application. See the docs for more information. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The client secret of your Amazon Ads developer application. See the docs for more information. | \ No newline at end of file diff --git a/docs/models/shared/AmazonSellerPartner.md b/docs/models/shared/AmazonSellerPartner.md index 7b71e166e..298b34194 100644 --- a/docs/models/shared/AmazonSellerPartner.md +++ b/docs/models/shared/AmazonSellerPartner.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | -| `lwaAppId` | *Optional* | :heavy_minus_sign: | Your Login with Amazon Client ID. | -| `lwaClientSecret` | *Optional* | :heavy_minus_sign: | Your Login with Amazon Client Secret. | \ No newline at end of file +| `lwaAppId` | *Optional\* | :heavy_minus_sign: | Your Login with Amazon Client ID. | +| `lwaClientSecret` | *Optional\* | :heavy_minus_sign: | Your Login with Amazon Client Secret. | \ No newline at end of file diff --git a/docs/models/shared/AndGroup.md b/docs/models/shared/AndGroup.md index 32d55f9e7..fba634a10 100644 --- a/docs/models/shared/AndGroup.md +++ b/docs/models/shared/AndGroup.md @@ -5,7 +5,7 @@ The FilterExpressions in andGroup have an AND relationship. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `expressions` | List<[com.airbyte.api.models.shared.Expression](../../models/shared/Expression.md)> | :heavy_check_mark: | N/A | -| `filterType` | [com.airbyte.api.models.shared.FilterType](../../models/shared/FilterType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `expressions` | List\<[Expression](../../models/shared/Expression.md)> | :heavy_check_mark: | N/A | +| `filterType` | [FilterType](../../models/shared/FilterType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ApiKeyAuth.md b/docs/models/shared/ApiKeyAuth.md index 855c2696e..311559f04 100644 --- a/docs/models/shared/ApiKeyAuth.md +++ b/docs/models/shared/ApiKeyAuth.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | API Key for the Qdrant instance | -| `mode` | [Optional](../../models/shared/DestinationQdrantSchemasIndexingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key for the Qdrant instance | +| `mode` | [Optional\](../../models/shared/DestinationQdrantSchemasIndexingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ApiKeySecret.md b/docs/models/shared/ApiKeySecret.md index 676cc20b2..e1d19eb6b 100644 --- a/docs/models/shared/ApiKeySecret.md +++ b/docs/models/shared/ApiKeySecret.md @@ -5,8 +5,8 @@ Use a api key and secret combination to authenticate ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `apiKeyId` | *String* | :heavy_check_mark: | The Key ID to used when accessing an enterprise Elasticsearch instance. | -| `apiKeySecret` | *String* | :heavy_check_mark: | The secret associated with the API Key ID. | -| `method` | [com.airbyte.api.models.shared.DestinationElasticsearchSchemasMethod](../../models/shared/DestinationElasticsearchSchemasMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `apiKeyId` | *String* | :heavy_check_mark: | The Key ID to used when accessing an enterprise Elasticsearch instance. | +| `apiKeySecret` | *String* | :heavy_check_mark: | The secret associated with the API Key ID. | +| `method` | [DestinationElasticsearchSchemasMethod](../../models/shared/DestinationElasticsearchSchemasMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskSunshineZendeskSunshine.md b/docs/models/shared/AppleSearchAds.md similarity index 55% rename from docs/models/shared/SourceZendeskSunshineZendeskSunshine.md rename to docs/models/shared/AppleSearchAds.md index 963bb60b1..1bbc20133 100644 --- a/docs/models/shared/SourceZendeskSunshineZendeskSunshine.md +++ b/docs/models/shared/AppleSearchAds.md @@ -1,8 +1,8 @@ -# SourceZendeskSunshineZendeskSunshine +# AppleSearchAds ## Values | Name | Value | | ------------------ | ------------------ | -| `ZENDESK_SUNSHINE` | zendesk-sunshine | \ No newline at end of file +| `APPLE_SEARCH_ADS` | apple-search-ads | \ No newline at end of file diff --git a/docs/models/shared/Applications.md b/docs/models/shared/Applications.md index 84e040d43..ffdc4b60b 100644 --- a/docs/models/shared/Applications.md +++ b/docs/models/shared/Applications.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `appApiKey` | *String* | :heavy_check_mark: | N/A | -| `appId` | *String* | :heavy_check_mark: | N/A | -| `appName` | *Optional* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `appApiKey` | *String* | :heavy_check_mark: | N/A | +| `appId` | *String* | :heavy_check_mark: | N/A | +| `appName` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Apptivo.md b/docs/models/shared/Apptivo.md new file mode 100644 index 000000000..bdf7782db --- /dev/null +++ b/docs/models/shared/Apptivo.md @@ -0,0 +1,8 @@ +# Apptivo + + +## Values + +| Name | Value | +| --------- | --------- | +| `APPTIVO` | apptivo | \ No newline at end of file diff --git a/docs/models/shared/Asana.md b/docs/models/shared/Asana.md index 95c5b637a..3498f41ed 100644 --- a/docs/models/shared/Asana.md +++ b/docs/models/shared/Asana.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/AsanaCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/AsanaCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AsanaCredentials.md b/docs/models/shared/AsanaCredentials.md index eeaa5b5b0..a2084cc9c 100644 --- a/docs/models/shared/AsanaCredentials.md +++ b/docs/models/shared/AsanaCredentials.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | N/A | -| `clientSecret` | *Optional* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `clientId` | *Optional\* | :heavy_minus_sign: | N/A | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Ashby.md b/docs/models/shared/Ashby.md new file mode 100644 index 000000000..7de1b6549 --- /dev/null +++ b/docs/models/shared/Ashby.md @@ -0,0 +1,8 @@ +# Ashby + + +## Values + +| Name | Value | +| ------- | ------- | +| `ASHBY` | ashby | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaAPIKey.md b/docs/models/shared/AuthenticateViaAPIKey.md index 60ece2fa4..6a71e5430 100644 --- a/docs/models/shared/AuthenticateViaAPIKey.md +++ b/docs/models/shared/AuthenticateViaAPIKey.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | API Key for making authenticated requests. More instruction on how to find this value in our docs | -| `authType` | [com.airbyte.api.models.shared.SourceSalesloftSchemasAuthType](../../models/shared/SourceSalesloftSchemasAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `authType` | [SourceSalesloftSchemasAuthType](../../models/shared/SourceSalesloftSchemasAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaAccessKeys.md b/docs/models/shared/AuthenticateViaAccessKeys.md new file mode 100644 index 000000000..c2a37cc0d --- /dev/null +++ b/docs/models/shared/AuthenticateViaAccessKeys.md @@ -0,0 +1,11 @@ +# AuthenticateViaAccessKeys + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | | +| `accessKeyId` | *String* | :heavy_check_mark: | The access key id to access Dynamodb. Airbyte requires read permissions to the database | A012345678910EXAMPLE | +| `authType` | [Optional\](../../models/shared/SourceDynamodbAuthType.md) | :heavy_minus_sign: | N/A | | +| `secretAccessKey` | *String* | :heavy_check_mark: | The corresponding secret to the access key id. | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaAsanaOauth.md b/docs/models/shared/AuthenticateViaAsanaOauth.md index e4a7ee3f4..51769ce3c 100644 --- a/docs/models/shared/AuthenticateViaAsanaOauth.md +++ b/docs/models/shared/AuthenticateViaAsanaOauth.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *String* | :heavy_check_mark: | N/A | -| `clientSecret` | *String* | :heavy_check_mark: | N/A | -| `optionTitle` | [Optional](../../models/shared/SourceAsanaCredentialsTitle.md) | :heavy_minus_sign: | OAuth Credentials | -| `refreshToken` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `optionTitle` | [Optional\](../../models/shared/SourceAsanaCredentialsTitle.md) | :heavy_minus_sign: | OAuth Credentials | +| `refreshToken` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaFacebookMarketingOauth.md b/docs/models/shared/AuthenticateViaFacebookMarketingOauth.md index 0635ad43c..08cc0512d 100644 --- a/docs/models/shared/AuthenticateViaFacebookMarketingOauth.md +++ b/docs/models/shared/AuthenticateViaFacebookMarketingOauth.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *Optional* | :heavy_minus_sign: | The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions ads_management, ads_read, read_insights, business_management. Then click on "Get token". See the docs for more information. | -| `authType` | [Optional](../../models/shared/SourceFacebookMarketingAuthType.md) | :heavy_minus_sign: | N/A | +| `accessToken` | *Optional\* | :heavy_minus_sign: | The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions ads_management, ads_read, read_insights, business_management. Then click on "Get token". See the docs for more information. | +| `authType` | [Optional\](../../models/shared/SourceFacebookMarketingAuthType.md) | :heavy_minus_sign: | N/A | | `clientId` | *String* | :heavy_check_mark: | Client ID for the Facebook Marketing API | | `clientSecret` | *String* | :heavy_check_mark: | Client Secret for the Facebook Marketing API | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaGoogleOAuth.md b/docs/models/shared/AuthenticateViaGoogleOAuth.md new file mode 100644 index 000000000..32e4aed83 --- /dev/null +++ b/docs/models/shared/AuthenticateViaGoogleOAuth.md @@ -0,0 +1,12 @@ +# AuthenticateViaGoogleOAuth + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `accessToken` | *String* | :heavy_check_mark: | Access Token | +| `authType` | [Optional\](../../models/shared/SourceGcsAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | Client ID | +| `clientSecret` | *String* | :heavy_check_mark: | Client Secret | +| `refreshToken` | *String* | :heavy_check_mark: | Access Token | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaHarvestOAuth.md b/docs/models/shared/AuthenticateViaHarvestOAuth.md new file mode 100644 index 000000000..c0d567030 --- /dev/null +++ b/docs/models/shared/AuthenticateViaHarvestOAuth.md @@ -0,0 +1,12 @@ +# AuthenticateViaHarvestOAuth + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `authType` | [Optional\](../../models/shared/SourceHarvestAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Harvest developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Harvest developer application. | +| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token to renew the expired Access Token. | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaLeverApiKey.md b/docs/models/shared/AuthenticateViaLeverApiKey.md index 37f91731c..54df4bc67 100644 --- a/docs/models/shared/AuthenticateViaLeverApiKey.md +++ b/docs/models/shared/AuthenticateViaLeverApiKey.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | The Api Key of your Lever Hiring account. | -| `authType` | [Optional](../../models/shared/SourceLeverHiringSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | The Api Key of your Lever Hiring account. | +| `authType` | [Optional\](../../models/shared/SourceLeverHiringSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaLeverOAuth.md b/docs/models/shared/AuthenticateViaLeverOAuth.md index 814930abc..67a79a4fb 100644 --- a/docs/models/shared/AuthenticateViaLeverOAuth.md +++ b/docs/models/shared/AuthenticateViaLeverOAuth.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceLeverHiringAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Lever Hiring developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Lever Hiring developer application. | -| `refreshToken` | *String* | :heavy_check_mark: | The token for obtaining new access token. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceLeverHiringAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Lever Hiring developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Lever Hiring developer application. | +| `refreshToken` | *String* | :heavy_check_mark: | The token for obtaining new access token. | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaMicrosoft.md b/docs/models/shared/AuthenticateViaMicrosoft.md index c57529d29..33faf05c2 100644 --- a/docs/models/shared/AuthenticateViaMicrosoft.md +++ b/docs/models/shared/AuthenticateViaMicrosoft.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceMicrosoftTeamsSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `authType` | [Optional\](../../models/shared/SourceMicrosoftTeamsSchemasAuthType.md) | :heavy_minus_sign: | N/A | | `clientId` | *String* | :heavy_check_mark: | The Client ID of your Microsoft Teams developer application. | | `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Microsoft Teams developer application. | | `tenantId` | *String* | :heavy_check_mark: | A globally unique identifier (GUID) that is different than your organization name or domain. Follow these steps to obtain: open one of the Teams where you belong inside the Teams Application -> Click on the … next to the Team title -> Click on Get link to team -> Copy the link to the team and grab the tenant ID form the URL | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaMicrosoftOAuth.md b/docs/models/shared/AuthenticateViaMicrosoftOAuth.md index 912309199..b2c4fdfe9 100644 --- a/docs/models/shared/AuthenticateViaMicrosoftOAuth.md +++ b/docs/models/shared/AuthenticateViaMicrosoftOAuth.md @@ -6,10 +6,10 @@ This class uses pydantic for data validation and settings management. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceMicrosoftOnedriveAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | -| `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | -| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token of your Microsoft developer application | -| `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft OneDrive user | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceMicrosoftOnedriveAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | +| `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | +| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token of your Microsoft developer application | +| `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft OneDrive user | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaMicrosoftOAuth20.md b/docs/models/shared/AuthenticateViaMicrosoftOAuth20.md index c9761a9bd..582c31a95 100644 --- a/docs/models/shared/AuthenticateViaMicrosoftOAuth20.md +++ b/docs/models/shared/AuthenticateViaMicrosoftOAuth20.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceMicrosoftTeamsAuthType.md) | :heavy_minus_sign: | N/A | +| `authType` | [Optional\](../../models/shared/SourceMicrosoftTeamsAuthType.md) | :heavy_minus_sign: | N/A | | `clientId` | *String* | :heavy_check_mark: | The Client ID of your Microsoft Teams developer application. | | `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Microsoft Teams developer application. | | `refreshToken` | *String* | :heavy_check_mark: | A Refresh Token to renew the expired Access Token. | diff --git a/docs/models/shared/AuthenticateViaOAuth.md b/docs/models/shared/AuthenticateViaOAuth.md index d0519cded..237880765 100644 --- a/docs/models/shared/AuthenticateViaOAuth.md +++ b/docs/models/shared/AuthenticateViaOAuth.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | -| `authType` | [com.airbyte.api.models.shared.SourceSalesloftAuthType](../../models/shared/SourceSalesloftAuthType.md) | :heavy_check_mark: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Salesloft developer application. | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Salesloft developer application. | -| `refreshToken` | *String* | :heavy_check_mark: | The token for obtaining a new access token. | -| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | +| `authType` | [SourceSalesloftAuthType](../../models/shared/SourceSalesloftAuthType.md) | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Salesloft developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Salesloft developer application. | +| `refreshToken` | *String* | :heavy_check_mark: | The token for obtaining a new access token. | +| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaOAuth20.md b/docs/models/shared/AuthenticateViaOAuth20.md new file mode 100644 index 000000000..0b8577d1e --- /dev/null +++ b/docs/models/shared/AuthenticateViaOAuth20.md @@ -0,0 +1,11 @@ +# AuthenticateViaOAuth20 + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your developer application | +| `clientSecret` | *String* | :heavy_check_mark: | The client secret of your developer application | +| `refreshToken` | *String* | :heavy_check_mark: | A refresh token generated using the above client ID and secret | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaOauth2.md b/docs/models/shared/AuthenticateViaOauth2.md index a93ee7938..d91e98150 100644 --- a/docs/models/shared/AuthenticateViaOauth2.md +++ b/docs/models/shared/AuthenticateViaOauth2.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceAzureBlobStorageAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | -| `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | -| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token of your Microsoft developer application | -| `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft Azure Application user | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceAzureBlobStorageAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | +| `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | +| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token of your Microsoft developer application | +| `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft Azure Application user | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaPassword.md b/docs/models/shared/AuthenticateViaPassword.md index e4d03014c..4feca828e 100644 --- a/docs/models/shared/AuthenticateViaPassword.md +++ b/docs/models/shared/AuthenticateViaPassword.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceSftpBulkAuthType.md) | :heavy_minus_sign: | N/A | -| `password` | *String* | :heavy_check_mark: | Password | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceSftpBulkAuthType.md) | :heavy_minus_sign: | N/A | +| `password` | *String* | :heavy_check_mark: | Password | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaPrivateKey.md b/docs/models/shared/AuthenticateViaPrivateKey.md index 9df6757be..b4b76fb0b 100644 --- a/docs/models/shared/AuthenticateViaPrivateKey.md +++ b/docs/models/shared/AuthenticateViaPrivateKey.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceSftpBulkSchemasAuthType.md) | :heavy_minus_sign: | N/A | -| `privateKey` | *String* | :heavy_check_mark: | The Private key | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `authType` | [Optional\](../../models/shared/SourceSftpBulkSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `privateKey` | *String* | :heavy_check_mark: | The Private key | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaRetentlyOAuth.md b/docs/models/shared/AuthenticateViaRetentlyOAuth.md new file mode 100644 index 000000000..ea3a36207 --- /dev/null +++ b/docs/models/shared/AuthenticateViaRetentlyOAuth.md @@ -0,0 +1,12 @@ +# AuthenticateViaRetentlyOAuth + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `authType` | [Optional\](../../models/shared/SourceRetentlyAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Retently developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Retently developer application. | +| `refreshToken` | *String* | :heavy_check_mark: | Retently Refresh Token which can be used to fetch new Bearer Tokens when the current one expires. | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaStorageAccountKey.md b/docs/models/shared/AuthenticateViaStorageAccountKey.md index 0d8b5108a..6efdb181e 100644 --- a/docs/models/shared/AuthenticateViaStorageAccountKey.md +++ b/docs/models/shared/AuthenticateViaStorageAccountKey.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceAzureBlobStorageSchemasAuthType.md) | :heavy_minus_sign: | N/A | | -| `azureBlobStorageAccountKey` | *String* | :heavy_check_mark: | The Azure blob storage account key. | Z8ZkZpteggFx394vm+PJHnGTvdRncaYS+JhLKdj789YNmD+iyGTnG+PV+POiuYNhBg/ACS+LKjd%4FG3FHGN12Nd== | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceAzureBlobStorageSchemasAuthType.md) | :heavy_minus_sign: | N/A | | +| `azureBlobStorageAccountKey` | *String* | :heavy_check_mark: | The Azure blob storage account key. | Z8ZkZpteggFx394vm+PJHnGTvdRncaYS+JhLKdj789YNmD+iyGTnG+PV+POiuYNhBg/ACS+LKjd%4FG3FHGN12Nd== | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateWithAPIToken.md b/docs/models/shared/AuthenticateWithAPIToken.md new file mode 100644 index 000000000..c572021a1 --- /dev/null +++ b/docs/models/shared/AuthenticateWithAPIToken.md @@ -0,0 +1,10 @@ +# AuthenticateWithAPIToken + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `apiKey` | *String* | :heavy_check_mark: | Retently API Token. See the docs for more information on how to obtain this key. | +| `authType` | [Optional\](../../models/shared/SourceRetentlySchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateWithPersonalAccessToken.md b/docs/models/shared/AuthenticateWithPersonalAccessToken.md index 4c33861c0..ef270d82f 100644 --- a/docs/models/shared/AuthenticateWithPersonalAccessToken.md +++ b/docs/models/shared/AuthenticateWithPersonalAccessToken.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -| `optionTitle` | [Optional](../../models/shared/SourceAsanaSchemasCredentialsTitle.md) | :heavy_minus_sign: | PAT Credentials | -| `personalAccessToken` | *String* | :heavy_check_mark: | Asana Personal Access Token (generate yours here). | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `optionTitle` | [Optional\](../../models/shared/SourceAsanaSchemasCredentialsTitle.md) | :heavy_minus_sign: | PAT Credentials | +| `personalAccessToken` | *String* | :heavy_check_mark: | Asana Personal Access Token (generate yours here). | \ No newline at end of file diff --git a/docs/models/shared/Authorization.md b/docs/models/shared/Authorization.md index 4ff5a1fb1..73efa89ba 100644 --- a/docs/models/shared/Authorization.md +++ b/docs/models/shared/Authorization.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The client ID of your Google Search Console developer application. Read more here. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The client secret of your Google Search Console developer application. Read more here. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The client ID of your Google Search Console developer application. Read more here. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The client secret of your Google Search Console developer application. Read more here. | \ No newline at end of file diff --git a/docs/models/shared/Autogenerated.md b/docs/models/shared/Autogenerated.md index 34f2bb008..50e982800 100644 --- a/docs/models/shared/Autogenerated.md +++ b/docs/models/shared/Autogenerated.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceAzureBlobStorageHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceAzureBlobStorageHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AvroApacheAvro.md b/docs/models/shared/AvroApacheAvro.md index c5865c58b..781be98e2 100644 --- a/docs/models/shared/AvroApacheAvro.md +++ b/docs/models/shared/AvroApacheAvro.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `compressionCodec` | [com.airbyte.api.models.shared.CompressionCodec](../../models/shared/CompressionCodec.md) | :heavy_check_mark: | The compression algorithm used to compress data. Default to no compression. | -| `formatType` | [Optional](../../models/shared/DestinationGcsFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `compressionCodec` | [CompressionCodec](../../models/shared/CompressionCodec.md) | :heavy_check_mark: | The compression algorithm used to compress data. Default to no compression. | +| `formatType` | [Optional\](../../models/shared/DestinationGcsFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AvroFormat.md b/docs/models/shared/AvroFormat.md index 312e3113e..72edcb20c 100644 --- a/docs/models/shared/AvroFormat.md +++ b/docs/models/shared/AvroFormat.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `doubleAsString` | *Optional* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | -| `filetype` | [Optional](../../models/shared/Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `doubleAsString` | *Optional\* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | +| `filetype` | [Optional\](../../models/shared/Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Awss3Staging.md b/docs/models/shared/Awss3Staging.md index fe7091235..174cabf2d 100644 --- a/docs/models/shared/Awss3Staging.md +++ b/docs/models/shared/Awss3Staging.md @@ -8,10 +8,10 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `accessKeyId` | *String* | :heavy_check_mark: | This ID grants access to the above S3 staging bucket. Airbyte requires Read and Write permissions to the given bucket. See AWS docs on how to generate an access key ID and secret access key. | | -| `fileNamePattern` | *Optional* | :heavy_minus_sign: | The pattern allows you to set the file-name format for the S3 staging file(s) | {date} | -| `method` | [com.airbyte.api.models.shared.DestinationRedshiftMethod](../../models/shared/DestinationRedshiftMethod.md) | :heavy_check_mark: | N/A | | -| `purgeStagingData` | *Optional* | :heavy_minus_sign: | Whether to delete the staging files from S3 after completing the sync. See docs for details. | | +| `fileNamePattern` | *Optional\* | :heavy_minus_sign: | The pattern allows you to set the file-name format for the S3 staging file(s) | {date} | +| `method` | [DestinationRedshiftMethod](../../models/shared/DestinationRedshiftMethod.md) | :heavy_check_mark: | N/A | | +| `purgeStagingData` | *Optional\* | :heavy_minus_sign: | Whether to delete the staging files from S3 after completing the sync. See docs for details. | | | `s3BucketName` | *String* | :heavy_check_mark: | The name of the staging S3 bucket. | airbyte.staging | -| `s3BucketPath` | *Optional* | :heavy_minus_sign: | The directory under the S3 bucket where data will be written. If not provided, then defaults to the root directory. See path's name recommendations for more details. | data_sync/test | -| `s3BucketRegion` | [Optional](../../models/shared/DestinationRedshiftS3BucketRegion.md) | :heavy_minus_sign: | The region of the S3 staging bucket. | | +| `s3BucketPath` | *Optional\* | :heavy_minus_sign: | The directory under the S3 bucket where data will be written. If not provided, then defaults to the root directory. See path's name recommendations for more details. | data_sync/test | +| `s3BucketRegion` | [Optional\](../../models/shared/DestinationRedshiftS3BucketRegion.md) | :heavy_minus_sign: | The region of the S3 staging bucket. | | | `secretAccessKey` | *String* | :heavy_check_mark: | The corresponding secret to the above access key id. See AWS docs on how to generate an access key ID and secret access key. | | \ No newline at end of file diff --git a/docs/models/shared/AzBlobAzureBlobStorage.md b/docs/models/shared/AzBlobAzureBlobStorage.md index a08a46bf6..76c7b4549 100644 --- a/docs/models/shared/AzBlobAzureBlobStorage.md +++ b/docs/models/shared/AzBlobAzureBlobStorage.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `sasToken` | *Optional* | :heavy_minus_sign: | To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a SAS (Shared Access Signature) token. If accessing publicly available data, this field is not necessary. | -| `sharedKey` | *Optional* | :heavy_minus_sign: | To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a storage account shared key (aka account key or access key). If accessing publicly available data, this field is not necessary. | -| `storage` | [com.airbyte.api.models.shared.SourceFileSchemasProviderStorage](../../models/shared/SourceFileSchemasProviderStorage.md) | :heavy_check_mark: | N/A | +| `sasToken` | *Optional\* | :heavy_minus_sign: | To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a SAS (Shared Access Signature) token. If accessing publicly available data, this field is not necessary. | +| `sharedKey` | *Optional\* | :heavy_minus_sign: | To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a storage account shared key (aka account key or access key). If accessing publicly available data, this field is not necessary. | +| `storage` | [SourceFileSchemasProviderStorage](../../models/shared/SourceFileSchemasProviderStorage.md) | :heavy_check_mark: | N/A | | `storageAccount` | *String* | :heavy_check_mark: | The globally unique name of the storage account that the desired blob sits within. See here for more details. | \ No newline at end of file diff --git a/docs/models/shared/AzureBlobStorage.md b/docs/models/shared/AzureBlobStorage.md index d1f7f2a3a..c7679f0ac 100644 --- a/docs/models/shared/AzureBlobStorage.md +++ b/docs/models/shared/AzureBlobStorage.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/AzureBlobStorageCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/AzureBlobStorageCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/AzureBlobStorageCredentials.md b/docs/models/shared/AzureBlobStorageCredentials.md index b791388d4..f353d2dfd 100644 --- a/docs/models/shared/AzureBlobStorageCredentials.md +++ b/docs/models/shared/AzureBlobStorageCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | Client ID of your Microsoft developer application | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Client Secret of your Microsoft developer application | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | Client ID of your Microsoft developer application | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret of your Microsoft developer application | \ No newline at end of file diff --git a/docs/models/shared/AzureOpenAI.md b/docs/models/shared/AzureOpenAI.md index f1ef0f134..1f0c5be74 100644 --- a/docs/models/shared/AzureOpenAI.md +++ b/docs/models/shared/AzureOpenAI.md @@ -5,9 +5,9 @@ Use the Azure-hosted OpenAI API to embed text. This option is using the text-emb ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | -| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | -| `mode` | [Optional](../../models/shared/DestinationAstraSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | | -| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | +| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | +| `mode` | [Optional\](../../models/shared/DestinationAstraSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | | +| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file diff --git a/docs/models/shared/Basic.md b/docs/models/shared/Basic.md index f8ff3a699..faea3eb57 100644 --- a/docs/models/shared/Basic.md +++ b/docs/models/shared/Basic.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiEndpoint` | [Optional](../../models/shared/SourceJotformApiEndpoint.md) | :heavy_minus_sign: | N/A | -| `urlPrefix` | [Optional](../../models/shared/BaseURLPrefix.md) | :heavy_minus_sign: | You can access our API through the following URLs - Standard API Usage (Use the default API URL - https://api.jotform.com), For EU (Use the EU API URL - https://eu-api.jotform.com), For HIPAA (Use the HIPAA API URL - https://hipaa-api.jotform.com) | \ No newline at end of file +| `apiEndpoint` | [Optional\](../../models/shared/SourceJotformApiEndpoint.md) | :heavy_minus_sign: | N/A | +| `urlPrefix` | [Optional\](../../models/shared/BaseURLPrefix.md) | :heavy_minus_sign: | You can access our API through the following URLs - Standard API Usage (Use the default API URL - https://api.jotform.com), For EU (Use the EU API URL - https://eu-api.jotform.com), For HIPAA (Use the HIPAA API URL - https://hipaa-api.jotform.com) | \ No newline at end of file diff --git a/docs/models/shared/BatchedStandardInserts.md b/docs/models/shared/BatchedStandardInserts.md index 9a3262196..5dc79899d 100644 --- a/docs/models/shared/BatchedStandardInserts.md +++ b/docs/models/shared/BatchedStandardInserts.md @@ -5,6 +5,6 @@ Direct loading using batched SQL INSERT statements. This method uses the BigQuer ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `method` | [com.airbyte.api.models.shared.Method](../../models/shared/Method.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `method` | [Method](../../models/shared/Method.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Beamer.md b/docs/models/shared/Beamer.md new file mode 100644 index 000000000..0a46101a4 --- /dev/null +++ b/docs/models/shared/Beamer.md @@ -0,0 +1,8 @@ +# Beamer + + +## Values + +| Name | Value | +| -------- | -------- | +| `BEAMER` | beamer | \ No newline at end of file diff --git a/docs/models/shared/BetweenFilter.md b/docs/models/shared/BetweenFilter.md index 95b7b90e0..1415141cd 100644 --- a/docs/models/shared/BetweenFilter.md +++ b/docs/models/shared/BetweenFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.md) | :heavy_check_mark: | N/A | -| `fromValue` | [com.airbyte.api.models.shared.FromValue](../../models/shared/FromValue.md) | :heavy_check_mark: | N/A | -| `toValue` | [com.airbyte.api.models.shared.ToValue](../../models/shared/ToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.md) | :heavy_check_mark: | N/A | +| `fromValue` | [FromValue](../../models/shared/FromValue.md) | :heavy_check_mark: | N/A | +| `toValue` | [ToValue](../../models/shared/ToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Bigmailer.md b/docs/models/shared/Bigmailer.md new file mode 100644 index 000000000..66ab39ea1 --- /dev/null +++ b/docs/models/shared/Bigmailer.md @@ -0,0 +1,8 @@ +# Bigmailer + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `BIGMAILER` | bigmailer | \ No newline at end of file diff --git a/docs/models/shared/BingAds.md b/docs/models/shared/BingAds.md index 327876f5f..6e7d2958e 100644 --- a/docs/models/shared/BingAds.md +++ b/docs/models/shared/BingAds.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Microsoft Advertising developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Microsoft Advertising developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Microsoft Advertising developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Microsoft Advertising developer application. | \ No newline at end of file diff --git a/docs/models/shared/Blogger.md b/docs/models/shared/Blogger.md new file mode 100644 index 000000000..b2b22e80c --- /dev/null +++ b/docs/models/shared/Blogger.md @@ -0,0 +1,8 @@ +# Blogger + + +## Values + +| Name | Value | +| --------- | --------- | +| `BLOGGER` | blogger | \ No newline at end of file diff --git a/docs/models/shared/Box.md b/docs/models/shared/Box.md new file mode 100644 index 000000000..51aa3e6c8 --- /dev/null +++ b/docs/models/shared/Box.md @@ -0,0 +1,8 @@ +# Box + + +## Values + +| Name | Value | +| ----- | ----- | +| `BOX` | box | \ No newline at end of file diff --git a/docs/models/shared/Brex.md b/docs/models/shared/Brex.md new file mode 100644 index 000000000..13b19d8cd --- /dev/null +++ b/docs/models/shared/Brex.md @@ -0,0 +1,8 @@ +# Brex + + +## Values + +| Name | Value | +| ------ | ------ | +| `BREX` | brex | \ No newline at end of file diff --git a/docs/models/shared/Bugsnag.md b/docs/models/shared/Bugsnag.md new file mode 100644 index 000000000..087013570 --- /dev/null +++ b/docs/models/shared/Bugsnag.md @@ -0,0 +1,8 @@ +# Bugsnag + + +## Values + +| Name | Value | +| --------- | --------- | +| `BUGSNAG` | bugsnag | \ No newline at end of file diff --git a/docs/models/shared/BunnyInc.md b/docs/models/shared/BunnyInc.md new file mode 100644 index 000000000..56b2f2800 --- /dev/null +++ b/docs/models/shared/BunnyInc.md @@ -0,0 +1,8 @@ +# BunnyInc + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `BUNNY_INC` | bunny-inc | \ No newline at end of file diff --git a/docs/models/shared/ByMarkdownHeader.md b/docs/models/shared/ByMarkdownHeader.md index 8508c2ef2..035827596 100644 --- a/docs/models/shared/ByMarkdownHeader.md +++ b/docs/models/shared/ByMarkdownHeader.md @@ -5,7 +5,7 @@ Split the text by Markdown headers down to the specified header level. If the ch ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationAstraSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | -| `splitLevel` | *Optional* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationAstraSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | +| `splitLevel` | *Optional\* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file diff --git a/docs/models/shared/ByProgrammingLanguage.md b/docs/models/shared/ByProgrammingLanguage.md index 4afa9c01f..c6905ec7a 100644 --- a/docs/models/shared/ByProgrammingLanguage.md +++ b/docs/models/shared/ByProgrammingLanguage.md @@ -5,7 +5,7 @@ Split the text by suitable delimiters based on the programming language. This is ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `language` | [com.airbyte.api.models.shared.DestinationAstraLanguage](../../models/shared/DestinationAstraLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | -| `mode` | [Optional](../../models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `language` | [DestinationAstraLanguage](../../models/shared/DestinationAstraLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | +| `mode` | [Optional\](../../models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/BySeparator.md b/docs/models/shared/BySeparator.md index e5afdd6df..fbd4114ba 100644 --- a/docs/models/shared/BySeparator.md +++ b/docs/models/shared/BySeparator.md @@ -7,6 +7,6 @@ Split the text by the list of separators until the chunk size is reached, using | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `keepSeparator` | *Optional* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | -| `mode` | [Optional](../../models/shared/DestinationAstraSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | -| `separators` | List<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file +| `keepSeparator` | *Optional\* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | +| `mode` | [Optional\](../../models/shared/DestinationAstraSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | +| `separators` | List\<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file diff --git a/docs/models/shared/Bzip2.md b/docs/models/shared/Bzip2.md index 7150b712f..ac86c8452 100644 --- a/docs/models/shared/Bzip2.md +++ b/docs/models/shared/Bzip2.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationGcsSchemasCodec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `codec` | [Optional\](../../models/shared/DestinationGcsSchemasCodec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/CSVCommaSeparatedValues.md b/docs/models/shared/CSVCommaSeparatedValues.md index eb460f534..2fb4d9af3 100644 --- a/docs/models/shared/CSVCommaSeparatedValues.md +++ b/docs/models/shared/CSVCommaSeparatedValues.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `fileExtension` | *Optional* | :heavy_minus_sign: | Add file extensions to the output file. | -| `flattening` | [Optional](../../models/shared/NormalizationFlattening.md) | :heavy_minus_sign: | Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. | -| `formatType` | [com.airbyte.api.models.shared.FormatType](../../models/shared/FormatType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `fileExtension` | *Optional\* | :heavy_minus_sign: | Add file extensions to the output file. | +| `flattening` | [Optional\](../../models/shared/NormalizationFlattening.md) | :heavy_minus_sign: | Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. | +| `formatType` | [FormatType](../../models/shared/FormatType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/CSVFormat.md b/docs/models/shared/CSVFormat.md index 0dd59b693..65d2ea3ed 100644 --- a/docs/models/shared/CSVFormat.md +++ b/docs/models/shared/CSVFormat.md @@ -5,17 +5,17 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `delimiter` | *Optional* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | -| `doubleQuote` | *Optional* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | -| `encoding` | *Optional* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | -| `escapeChar` | *Optional* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | -| `falseValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | -| `filetype` | [Optional](../../models/shared/SourceAzureBlobStorageFiletype.md) | :heavy_minus_sign: | N/A | -| `headerDefinition` | [Optional](../../models/shared/CSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | -| `ignoreErrorsOnFieldsMismatch` | *Optional* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | -| `nullValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | -| `quoteChar` | *Optional* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | -| `skipRowsAfterHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip after the header row. | -| `skipRowsBeforeHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | -| `stringsCanBeNull` | *Optional* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | -| `trueValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file +| `delimiter` | *Optional\* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | +| `doubleQuote` | *Optional\* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | +| `encoding` | *Optional\* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | +| `escapeChar` | *Optional\* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | +| `falseValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | +| `filetype` | [Optional\](../../models/shared/SourceAzureBlobStorageFiletype.md) | :heavy_minus_sign: | N/A | +| `headerDefinition` | [Optional\](../../models/shared/CSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignoreErrorsOnFieldsMismatch` | *Optional\* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | +| `nullValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | +| `quoteChar` | *Optional\* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | +| `skipRowsAfterHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip after the header row. | +| `skipRowsBeforeHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | +| `stringsCanBeNull` | *Optional\* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | +| `trueValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file diff --git a/docs/models/shared/CalCom.md b/docs/models/shared/CalCom.md new file mode 100644 index 000000000..baf90b770 --- /dev/null +++ b/docs/models/shared/CalCom.md @@ -0,0 +1,8 @@ +# CalCom + + +## Values + +| Name | Value | +| --------- | --------- | +| `CAL_COM` | cal-com | \ No newline at end of file diff --git a/docs/models/shared/Callrail.md b/docs/models/shared/Callrail.md new file mode 100644 index 000000000..528599d92 --- /dev/null +++ b/docs/models/shared/Callrail.md @@ -0,0 +1,8 @@ +# Callrail + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `CALLRAIL` | callrail | \ No newline at end of file diff --git a/docs/models/shared/CampaignMonitor.md b/docs/models/shared/CampaignMonitor.md new file mode 100644 index 000000000..c330cd139 --- /dev/null +++ b/docs/models/shared/CampaignMonitor.md @@ -0,0 +1,8 @@ +# CampaignMonitor + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `CAMPAIGN_MONITOR` | campaign-monitor | \ No newline at end of file diff --git a/docs/models/shared/Campayn.md b/docs/models/shared/Campayn.md new file mode 100644 index 000000000..b6366d671 --- /dev/null +++ b/docs/models/shared/Campayn.md @@ -0,0 +1,8 @@ +# Campayn + + +## Values + +| Name | Value | +| --------- | --------- | +| `CAMPAYN` | campayn | \ No newline at end of file diff --git a/docs/models/shared/CapsuleCrm.md b/docs/models/shared/CapsuleCrm.md new file mode 100644 index 000000000..5d4095b87 --- /dev/null +++ b/docs/models/shared/CapsuleCrm.md @@ -0,0 +1,8 @@ +# CapsuleCrm + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `CAPSULE_CRM` | capsule-crm | \ No newline at end of file diff --git a/docs/models/shared/CareQualityCommission.md b/docs/models/shared/CareQualityCommission.md new file mode 100644 index 000000000..6d979134e --- /dev/null +++ b/docs/models/shared/CareQualityCommission.md @@ -0,0 +1,8 @@ +# CareQualityCommission + + +## Values + +| Name | Value | +| ------------------------- | ------------------------- | +| `CARE_QUALITY_COMMISSION` | care-quality-commission | \ No newline at end of file diff --git a/docs/models/shared/CastorEdc.md b/docs/models/shared/CastorEdc.md new file mode 100644 index 000000000..f7070d486 --- /dev/null +++ b/docs/models/shared/CastorEdc.md @@ -0,0 +1,8 @@ +# CastorEdc + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `CASTOR_EDC` | castor-edc | \ No newline at end of file diff --git a/docs/models/shared/CatalogType.md b/docs/models/shared/CatalogType.md new file mode 100644 index 000000000..0b4ef3e65 --- /dev/null +++ b/docs/models/shared/CatalogType.md @@ -0,0 +1,8 @@ +# CatalogType + + +## Values + +| Name | Value | +| ------ | ------ | +| `HIVE` | Hive | \ No newline at end of file diff --git a/docs/models/shared/Category.md b/docs/models/shared/Category.md new file mode 100644 index 000000000..7baf2c218 --- /dev/null +++ b/docs/models/shared/Category.md @@ -0,0 +1,16 @@ +# Category + +The category you want to get top headlines for. + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `BUSINESS` | business | +| `ENTERTAINMENT` | entertainment | +| `GENERAL` | general | +| `HEALTH` | health | +| `SCIENCE` | science | +| `SPORTS` | sports | +| `TECHNOLOGY` | technology | \ No newline at end of file diff --git a/docs/models/shared/CentralAPIRouter.md b/docs/models/shared/CentralAPIRouter.md index 36ce1b568..5ef5da64a 100644 --- a/docs/models/shared/CentralAPIRouter.md +++ b/docs/models/shared/CentralAPIRouter.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `authType` | [com.airbyte.api.models.shared.SourceCartAuthType](../../models/shared/SourceCartAuthType.md) | :heavy_check_mark: | N/A | +| `authType` | [SourceCartAuthType](../../models/shared/SourceCartAuthType.md) | :heavy_check_mark: | N/A | | `siteId` | *String* | :heavy_check_mark: | You can determine a site provisioning site Id by hitting https://site.com/store/sitemonitor.aspx and reading the response param PSID | | `userName` | *String* | :heavy_check_mark: | Enter your application's User Name | | `userSecret` | *String* | :heavy_check_mark: | Enter your application's User Secret | \ No newline at end of file diff --git a/docs/models/shared/Chargedesk.md b/docs/models/shared/Chargedesk.md new file mode 100644 index 000000000..d2d65ce76 --- /dev/null +++ b/docs/models/shared/Chargedesk.md @@ -0,0 +1,8 @@ +# Chargedesk + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `CHARGEDESK` | chargedesk | \ No newline at end of file diff --git a/docs/models/shared/Chargify.md b/docs/models/shared/Chargify.md new file mode 100644 index 000000000..20aef7ee0 --- /dev/null +++ b/docs/models/shared/Chargify.md @@ -0,0 +1,8 @@ +# Chargify + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `CHARGIFY` | chargify | \ No newline at end of file diff --git a/docs/models/shared/Cin7.md b/docs/models/shared/Cin7.md new file mode 100644 index 000000000..3c2364e2e --- /dev/null +++ b/docs/models/shared/Cin7.md @@ -0,0 +1,8 @@ +# Cin7 + + +## Values + +| Name | Value | +| ------ | ------ | +| `CIN7` | cin7 | \ No newline at end of file diff --git a/docs/models/shared/Circa.md b/docs/models/shared/Circa.md new file mode 100644 index 000000000..103b6edcd --- /dev/null +++ b/docs/models/shared/Circa.md @@ -0,0 +1,8 @@ +# Circa + + +## Values + +| Name | Value | +| ------- | ------- | +| `CIRCA` | circa | \ No newline at end of file diff --git a/docs/models/shared/Circleci.md b/docs/models/shared/Circleci.md new file mode 100644 index 000000000..0da552d8e --- /dev/null +++ b/docs/models/shared/Circleci.md @@ -0,0 +1,8 @@ +# Circleci + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `CIRCLECI` | circleci | \ No newline at end of file diff --git a/docs/models/shared/ClarifAi.md b/docs/models/shared/ClarifAi.md new file mode 100644 index 000000000..ad611ea2c --- /dev/null +++ b/docs/models/shared/ClarifAi.md @@ -0,0 +1,8 @@ +# ClarifAi + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `CLARIF_AI` | clarif-ai | \ No newline at end of file diff --git a/docs/models/shared/Clockodo.md b/docs/models/shared/Clockodo.md new file mode 100644 index 000000000..de7e8e14c --- /dev/null +++ b/docs/models/shared/Clockodo.md @@ -0,0 +1,8 @@ +# Clockodo + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `CLOCKODO` | clockodo | \ No newline at end of file diff --git a/docs/models/shared/Cloudbeds.md b/docs/models/shared/Cloudbeds.md new file mode 100644 index 000000000..801bc6b63 --- /dev/null +++ b/docs/models/shared/Cloudbeds.md @@ -0,0 +1,8 @@ +# Cloudbeds + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `CLOUDBEDS` | cloudbeds | \ No newline at end of file diff --git a/docs/models/shared/ClusterType.md b/docs/models/shared/ClusterType.md new file mode 100644 index 000000000..91c3a19e5 --- /dev/null +++ b/docs/models/shared/ClusterType.md @@ -0,0 +1,4 @@ +# ClusterType + +Configures the MongoDB cluster type. + diff --git a/docs/models/shared/Coassemble.md b/docs/models/shared/Coassemble.md new file mode 100644 index 000000000..3f4626da9 --- /dev/null +++ b/docs/models/shared/Coassemble.md @@ -0,0 +1,8 @@ +# Coassemble + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `COASSEMBLE` | coassemble | \ No newline at end of file diff --git a/docs/models/shared/Codefresh.md b/docs/models/shared/Codefresh.md new file mode 100644 index 000000000..cdd4c3c0d --- /dev/null +++ b/docs/models/shared/Codefresh.md @@ -0,0 +1,8 @@ +# Codefresh + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `CODEFRESH` | codefresh | \ No newline at end of file diff --git a/docs/models/shared/Cohere.md b/docs/models/shared/Cohere.md index dfff5678c..6d7a18175 100644 --- a/docs/models/shared/Cohere.md +++ b/docs/models/shared/Cohere.md @@ -5,7 +5,7 @@ Use the Cohere API to embed text. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `cohereKey` | *String* | :heavy_check_mark: | N/A | -| `mode` | [Optional](../../models/shared/DestinationAstraMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `cohereKey` | *String* | :heavy_check_mark: | N/A | +| `mode` | [Optional\](../../models/shared/DestinationAstraMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/CohortReportSettings.md b/docs/models/shared/CohortReportSettings.md index 5eb7a0226..050b275a6 100644 --- a/docs/models/shared/CohortReportSettings.md +++ b/docs/models/shared/CohortReportSettings.md @@ -7,4 +7,4 @@ Optional settings for a cohort report. | Field | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `accumulate` | *Optional* | :heavy_minus_sign: | If true, accumulates the result from first touch day to the end day | \ No newline at end of file +| `accumulate` | *Optional\* | :heavy_minus_sign: | If true, accumulates the result from first touch day to the end day | \ No newline at end of file diff --git a/docs/models/shared/Cohorts.md b/docs/models/shared/Cohorts.md index 5c6f1fd9c..9f933a870 100644 --- a/docs/models/shared/Cohorts.md +++ b/docs/models/shared/Cohorts.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `dateRange` | [com.airbyte.api.models.shared.DateRange](../../models/shared/DateRange.md) | :heavy_check_mark: | N/A | -| `dimension` | [com.airbyte.api.models.shared.Dimension](../../models/shared/Dimension.md) | :heavy_check_mark: | Dimension used by the cohort. Required and only supports `firstSessionDate` | -| `name` | *Optional* | :heavy_minus_sign: | Assigns a name to this cohort. If not set, cohorts are named by their zero based index cohort_0, cohort_1, etc. | \ No newline at end of file +| `dateRange` | [DateRange](../../models/shared/DateRange.md) | :heavy_check_mark: | N/A | +| `dimension` | [Dimension](../../models/shared/Dimension.md) | :heavy_check_mark: | Dimension used by the cohort. Required and only supports `firstSessionDate` | +| `name` | *Optional\* | :heavy_minus_sign: | Assigns a name to this cohort. If not set, cohorts are named by their zero based index cohort_0, cohort_1, etc. | \ No newline at end of file diff --git a/docs/models/shared/CohortsRange.md b/docs/models/shared/CohortsRange.md index 9c38b35b1..46a71e6d6 100644 --- a/docs/models/shared/CohortsRange.md +++ b/docs/models/shared/CohortsRange.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `endOffset` | *long* | :heavy_check_mark: | Specifies the end date of the extended reporting date range for a cohort report. | -| `granularity` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiGranularity](../../models/shared/SourceGoogleAnalyticsDataApiGranularity.md) | :heavy_check_mark: | The granularity used to interpret the startOffset and endOffset for the extended reporting date range for a cohort report. | -| `startOffset` | *Optional* | :heavy_minus_sign: | Specifies the start date of the extended reporting date range for a cohort report. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `endOffset` | *long* | :heavy_check_mark: | Specifies the end date of the extended reporting date range for a cohort report. | +| `granularity` | [SourceGoogleAnalyticsDataApiGranularity](../../models/shared/SourceGoogleAnalyticsDataApiGranularity.md) | :heavy_check_mark: | The granularity used to interpret the startOffset and endOffset for the extended reporting date range for a cohort report. | +| `startOffset` | *Optional\* | :heavy_minus_sign: | Specifies the start date of the extended reporting date range for a cohort report. | \ No newline at end of file diff --git a/docs/models/shared/Collection.md b/docs/models/shared/Collection.md index 24eefe554..d41576649 100644 --- a/docs/models/shared/Collection.md +++ b/docs/models/shared/Collection.md @@ -7,5 +7,5 @@ Settings for the Fauna Collection. | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `deletions` | [com.airbyte.api.models.shared.DeletionMode](../../models/shared/DeletionMode.md) | :heavy_check_mark: | This only applies to incremental syncs.

Enabling deletion mode informs your destination of deleted documents.

Disabled - Leave this feature disabled, and ignore deleted documents.

Enabled - Enables this feature. When a document is deleted, the connector exports a record with a "deleted at" column containing the time that the document was deleted. | -| `pageSize` | *Optional* | :heavy_minus_sign: | The page size used when reading documents from the database. The larger the page size, the faster the connector processes documents. However, if a page is too large, the connector may fail.

Choose your page size based on how large the documents are.

See the docs. | \ No newline at end of file +| `deletions` | [DeletionMode](../../models/shared/DeletionMode.md) | :heavy_check_mark: | This only applies to incremental syncs.

Enabling deletion mode informs your destination of deleted documents.

Disabled - Leave this feature disabled, and ignore deleted documents.

Enabled - Enables this feature. When a document is deleted, the connector exports a record with a "deleted at" column containing the time that the document was deleted. | +| `pageSize` | *Optional\* | :heavy_minus_sign: | The page size used when reading documents from the database. The larger the page size, the faster the connector processes documents. However, if a page is too large, the connector may fail.

Choose your page size based on how large the documents are.

See the docs. | \ No newline at end of file diff --git a/docs/models/shared/Concord.md b/docs/models/shared/Concord.md new file mode 100644 index 000000000..1eb3cb195 --- /dev/null +++ b/docs/models/shared/Concord.md @@ -0,0 +1,8 @@ +# Concord + + +## Values + +| Name | Value | +| --------- | --------- | +| `CONCORD` | concord | \ No newline at end of file diff --git a/docs/models/shared/ConfiguredStreamMapper.md b/docs/models/shared/ConfiguredStreamMapper.md new file mode 100644 index 000000000..02472234d --- /dev/null +++ b/docs/models/shared/ConfiguredStreamMapper.md @@ -0,0 +1,9 @@ +# ConfiguredStreamMapper + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `mapperConfiguration` | [MapperConfiguration](../../models/shared/MapperConfiguration.md) | :heavy_check_mark: | The values required to configure the mapper. | +| `type` | [StreamMapperType](../../models/shared/StreamMapperType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ConnectionCreateRequest.md b/docs/models/shared/ConnectionCreateRequest.md index 462931583..abf31048e 100644 --- a/docs/models/shared/ConnectionCreateRequest.md +++ b/docs/models/shared/ConnectionCreateRequest.md @@ -5,14 +5,14 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configurations` | [Optional](../../models/shared/StreamConfigurations.md) | :heavy_minus_sign: | A list of configured stream options for a connection. | | -| `dataResidency` | [Optional](../../models/shared/GeographyEnum.md) | :heavy_minus_sign: | N/A | | +| `configurations` | [Optional\](../../models/shared/StreamConfigurations.md) | :heavy_minus_sign: | A list of configured stream options for a connection. | | +| `dataResidency` | [Optional\](../../models/shared/GeographyEnum.md) | :heavy_minus_sign: | N/A | | | `destinationId` | *String* | :heavy_check_mark: | N/A | | -| `name` | *Optional* | :heavy_minus_sign: | Optional name of the connection | | -| `namespaceDefinition` | [Optional](../../models/shared/NamespaceDefinitionEnum.md) | :heavy_minus_sign: | Define the location where the data will be stored in the destination | | -| `namespaceFormat` | *Optional* | :heavy_minus_sign: | Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. | ${SOURCE_NAMESPACE} | -| `nonBreakingSchemaUpdatesBehavior` | [Optional](../../models/shared/NonBreakingSchemaUpdatesBehaviorEnum.md) | :heavy_minus_sign: | Set how Airbyte handles syncs when it detects a non-breaking schema change in the source | | -| `prefix` | *Optional* | :heavy_minus_sign: | Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). | | -| `schedule` | [Optional](../../models/shared/AirbyteApiConnectionSchedule.md) | :heavy_minus_sign: | schedule for when the the connection should run, per the schedule type | | +| `name` | *Optional\* | :heavy_minus_sign: | Optional name of the connection | | +| `namespaceDefinition` | [Optional\](../../models/shared/NamespaceDefinitionEnum.md) | :heavy_minus_sign: | Define the location where the data will be stored in the destination | | +| `namespaceFormat` | *Optional\* | :heavy_minus_sign: | Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. | ${SOURCE_NAMESPACE} | +| `nonBreakingSchemaUpdatesBehavior` | [Optional\](../../models/shared/NonBreakingSchemaUpdatesBehaviorEnum.md) | :heavy_minus_sign: | Set how Airbyte handles syncs when it detects a non-breaking schema change in the source | | +| `prefix` | *Optional\* | :heavy_minus_sign: | Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). | | +| `schedule` | [Optional\](../../models/shared/AirbyteApiConnectionSchedule.md) | :heavy_minus_sign: | schedule for when the the connection should run, per the schedule type | | | `sourceId` | *String* | :heavy_check_mark: | N/A | | -| `status` | [Optional](../../models/shared/ConnectionStatusEnum.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `status` | [Optional\](../../models/shared/ConnectionStatusEnum.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/ConnectionPatchRequest.md b/docs/models/shared/ConnectionPatchRequest.md index 6fc9aec39..4cec96c57 100644 --- a/docs/models/shared/ConnectionPatchRequest.md +++ b/docs/models/shared/ConnectionPatchRequest.md @@ -5,12 +5,12 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configurations` | [Optional](../../models/shared/StreamConfigurations.md) | :heavy_minus_sign: | A list of configured stream options for a connection. | | -| `dataResidency` | [Optional](../../models/shared/GeographyEnumNoDefault.md) | :heavy_minus_sign: | N/A | | -| `name` | *Optional* | :heavy_minus_sign: | Optional name of the connection | | -| `namespaceDefinition` | [Optional](../../models/shared/NamespaceDefinitionEnumNoDefault.md) | :heavy_minus_sign: | Define the location where the data will be stored in the destination | | -| `namespaceFormat` | *Optional* | :heavy_minus_sign: | Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. | ${SOURCE_NAMESPACE} | -| `nonBreakingSchemaUpdatesBehavior` | [Optional](../../models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.md) | :heavy_minus_sign: | Set how Airbyte handles syncs when it detects a non-breaking schema change in the source | | -| `prefix` | *Optional* | :heavy_minus_sign: | Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). | | -| `schedule` | [Optional](../../models/shared/AirbyteApiConnectionSchedule.md) | :heavy_minus_sign: | schedule for when the the connection should run, per the schedule type | | -| `status` | [Optional](../../models/shared/ConnectionStatusEnum.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `configurations` | [Optional\](../../models/shared/StreamConfigurations.md) | :heavy_minus_sign: | A list of configured stream options for a connection. | | +| `dataResidency` | [Optional\](../../models/shared/GeographyEnumNoDefault.md) | :heavy_minus_sign: | N/A | | +| `name` | *Optional\* | :heavy_minus_sign: | Optional name of the connection | | +| `namespaceDefinition` | [Optional\](../../models/shared/NamespaceDefinitionEnumNoDefault.md) | :heavy_minus_sign: | Define the location where the data will be stored in the destination | | +| `namespaceFormat` | *Optional\* | :heavy_minus_sign: | Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. | ${SOURCE_NAMESPACE} | +| `nonBreakingSchemaUpdatesBehavior` | [Optional\](../../models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.md) | :heavy_minus_sign: | Set how Airbyte handles syncs when it detects a non-breaking schema change in the source | | +| `prefix` | *Optional\* | :heavy_minus_sign: | Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). | | +| `schedule` | [Optional\](../../models/shared/AirbyteApiConnectionSchedule.md) | :heavy_minus_sign: | schedule for when the the connection should run, per the schedule type | | +| `status` | [Optional\](../../models/shared/ConnectionStatusEnum.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/ConnectionResponse.md b/docs/models/shared/ConnectionResponse.md index c29cef52e..26e944655 100644 --- a/docs/models/shared/ConnectionResponse.md +++ b/docs/models/shared/ConnectionResponse.md @@ -5,18 +5,19 @@ Provides details of a single connection. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configurations` | [com.airbyte.api.models.shared.StreamConfigurations](../../models/shared/StreamConfigurations.md) | :heavy_check_mark: | A list of configured stream options for a connection. | -| `connectionId` | *String* | :heavy_check_mark: | N/A | -| `dataResidency` | [Optional](../../models/shared/GeographyEnum.md) | :heavy_minus_sign: | N/A | -| `destinationId` | *String* | :heavy_check_mark: | N/A | -| `name` | *String* | :heavy_check_mark: | N/A | -| `namespaceDefinition` | [Optional](../../models/shared/NamespaceDefinitionEnum.md) | :heavy_minus_sign: | Define the location where the data will be stored in the destination | -| `namespaceFormat` | *Optional* | :heavy_minus_sign: | N/A | -| `nonBreakingSchemaUpdatesBehavior` | [Optional](../../models/shared/NonBreakingSchemaUpdatesBehaviorEnum.md) | :heavy_minus_sign: | Set how Airbyte handles syncs when it detects a non-breaking schema change in the source | -| `prefix` | *Optional* | :heavy_minus_sign: | N/A | -| `schedule` | [com.airbyte.api.models.shared.ConnectionScheduleResponse](../../models/shared/ConnectionScheduleResponse.md) | :heavy_check_mark: | schedule for when the the connection should run, per the schedule type | -| `sourceId` | *String* | :heavy_check_mark: | N/A | -| `status` | [com.airbyte.api.models.shared.ConnectionStatusEnum](../../models/shared/ConnectionStatusEnum.md) | :heavy_check_mark: | N/A | -| `workspaceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `configurations` | [StreamConfigurations](../../models/shared/StreamConfigurations.md) | :heavy_check_mark: | A list of configured stream options for a connection. | +| `connectionId` | *String* | :heavy_check_mark: | N/A | +| `createdAt` | *long* | :heavy_check_mark: | N/A | +| `dataResidency` | [Optional\](../../models/shared/GeographyEnum.md) | :heavy_minus_sign: | N/A | +| `destinationId` | *String* | :heavy_check_mark: | N/A | +| `name` | *String* | :heavy_check_mark: | N/A | +| `namespaceDefinition` | [Optional\](../../models/shared/NamespaceDefinitionEnum.md) | :heavy_minus_sign: | Define the location where the data will be stored in the destination | +| `namespaceFormat` | *Optional\* | :heavy_minus_sign: | N/A | +| `nonBreakingSchemaUpdatesBehavior` | [Optional\](../../models/shared/NonBreakingSchemaUpdatesBehaviorEnum.md) | :heavy_minus_sign: | Set how Airbyte handles syncs when it detects a non-breaking schema change in the source | +| `prefix` | *Optional\* | :heavy_minus_sign: | N/A | +| `schedule` | [ConnectionScheduleResponse](../../models/shared/ConnectionScheduleResponse.md) | :heavy_check_mark: | schedule for when the the connection should run, per the schedule type | +| `sourceId` | *String* | :heavy_check_mark: | N/A | +| `status` | [ConnectionStatusEnum](../../models/shared/ConnectionStatusEnum.md) | :heavy_check_mark: | N/A | +| `workspaceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ConnectionScheduleResponse.md b/docs/models/shared/ConnectionScheduleResponse.md index b8582b43c..7ba2f1927 100644 --- a/docs/models/shared/ConnectionScheduleResponse.md +++ b/docs/models/shared/ConnectionScheduleResponse.md @@ -5,8 +5,8 @@ schedule for when the the connection should run, per the schedule type ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `basicTiming` | *Optional* | :heavy_minus_sign: | N/A | -| `cronExpression` | *Optional* | :heavy_minus_sign: | N/A | -| `scheduleType` | [com.airbyte.api.models.shared.ScheduleTypeWithBasicEnum](../../models/shared/ScheduleTypeWithBasicEnum.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `basicTiming` | *Optional\* | :heavy_minus_sign: | N/A | +| `cronExpression` | *Optional\* | :heavy_minus_sign: | N/A | +| `scheduleType` | [ScheduleTypeWithBasicEnum](../../models/shared/ScheduleTypeWithBasicEnum.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ConnectionsResponse.md b/docs/models/shared/ConnectionsResponse.md index ce1444a2d..ead294e8d 100644 --- a/docs/models/shared/ConnectionsResponse.md +++ b/docs/models/shared/ConnectionsResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `data` | List<[com.airbyte.api.models.shared.ConnectionResponse](../../models/shared/ConnectionResponse.md)> | :heavy_check_mark: | N/A | -| `next` | *Optional* | :heavy_minus_sign: | N/A | -| `previous` | *Optional* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `data` | List\<[ConnectionResponse](../../models/shared/ConnectionResponse.md)> | :heavy_check_mark: | N/A | +| `next` | *Optional\* | :heavy_minus_sign: | N/A | +| `previous` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Convertkit.md b/docs/models/shared/Convertkit.md new file mode 100644 index 000000000..019c98047 --- /dev/null +++ b/docs/models/shared/Convertkit.md @@ -0,0 +1,8 @@ +# Convertkit + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `CONVERTKIT` | convertkit | \ No newline at end of file diff --git a/docs/models/shared/Copper.md b/docs/models/shared/Copper.md new file mode 100644 index 000000000..46c5f358c --- /dev/null +++ b/docs/models/shared/Copper.md @@ -0,0 +1,8 @@ +# Copper + + +## Values + +| Name | Value | +| -------- | -------- | +| `COPPER` | copper | \ No newline at end of file diff --git a/docs/models/shared/CopyRawFiles.md b/docs/models/shared/CopyRawFiles.md new file mode 100644 index 000000000..f0836a485 --- /dev/null +++ b/docs/models/shared/CopyRawFiles.md @@ -0,0 +1,10 @@ +# CopyRawFiles + +Copy raw files without parsing their contents. Bits are copied into the destination exactly as they appeared in the source. Recommended for use with unstructured text data, non-text and compressed files. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `deliveryType` | [Optional\](../../models/shared/SourceS3DeliveryType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Countercyclical.md b/docs/models/shared/Countercyclical.md new file mode 100644 index 000000000..cd08d3981 --- /dev/null +++ b/docs/models/shared/Countercyclical.md @@ -0,0 +1,8 @@ +# Countercyclical + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `COUNTERCYCLICAL` | countercyclical | \ No newline at end of file diff --git a/docs/models/shared/Country.md b/docs/models/shared/Country.md index ae184f323..80d8a244b 100644 --- a/docs/models/shared/Country.md +++ b/docs/models/shared/Country.md @@ -1,39 +1,65 @@ # Country -This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. +The 2-letter ISO 3166-1 code of the country you want to get headlines +for. You can't mix this with the sources parameter. + ## Values | Name | Value | | ----- | ----- | +| `AE` | ae | +| `AR` | ar | +| `AT` | at | | `AU` | au | +| `BE` | be | +| `BG` | bg | | `BR` | br | | `CA` | ca | +| `CH` | ch | | `CN` | cn | +| `CO` | co | +| `CU` | cu | +| `CZ` | cz | +| `DE` | de | | `EG` | eg | | `FR` | fr | -| `DE` | de | +| `GB` | gb | | `GR` | gr | | `HK` | hk | -| `IN` | in | +| `HU` | hu | +| `ID` | id | | `IE` | ie | | `IL` | il | +| `IN` | in | | `IT` | it | | `JP` | jp | +| `KR` | kr | +| `LT` | lt | +| `LV` | lv | +| `MA` | ma | +| `MX` | mx | +| `MY` | my | +| `NG` | ng | | `NL` | nl | | `NO` | no | -| `PK` | pk | -| `PE` | pe | +| `NZ` | nz | | `PH` | ph | +| `PL` | pl | | `PT` | pt | | `RO` | ro | +| `RS` | rs | | `RU` | ru | -| `SG` | sg | -| `ES` | es | +| `SA` | sa | | `SE` | se | -| `CH` | ch | +| `SG` | sg | +| `SI` | si | +| `SK` | sk | +| `TH` | th | +| `TR` | tr | | `TW` | tw | | `UA` | ua | -| `GB` | gb | -| `US` | us | \ No newline at end of file +| `US` | us | +| `VE` | ve | +| `ZA` | za | \ No newline at end of file diff --git a/docs/models/shared/Credentials.md b/docs/models/shared/Credentials.md index 082a15a7b..115006a5d 100644 --- a/docs/models/shared/Credentials.md +++ b/docs/models/shared/Credentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The client ID of the Airtable developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The client secret the Airtable developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The client ID of the Airtable developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The client secret the Airtable developer application. | \ No newline at end of file diff --git a/docs/models/shared/CustomReportConfig.md b/docs/models/shared/CustomReportConfig.md index 8b4306fd8..03dccb293 100644 --- a/docs/models/shared/CustomReportConfig.md +++ b/docs/models/shared/CustomReportConfig.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | | `name` | *String* | :heavy_check_mark: | The name of the custom report, this name would be used as stream name | Account Performance | -| `reportAggregation` | *Optional* | :heavy_minus_sign: | A list of available aggregations. | | -| `reportColumns` | List<*String*> | :heavy_check_mark: | A list of available report object columns. You can find it in description of reporting object that you want to add to custom report. | | -| `reportingObject` | [com.airbyte.api.models.shared.ReportingDataObject](../../models/shared/ReportingDataObject.md) | :heavy_check_mark: | The name of the the object derives from the ReportRequest object. You can find it in Bing Ads Api docs - Reporting API - Reporting Data Objects. | | \ No newline at end of file +| `reportAggregation` | *Optional\* | :heavy_minus_sign: | A list of available aggregations. | | +| `reportColumns` | List\<*String*> | :heavy_check_mark: | A list of available report object columns. You can find it in description of reporting object that you want to add to custom report. | | +| `reportingObject` | [ReportingDataObject](../../models/shared/ReportingDataObject.md) | :heavy_check_mark: | The name of the the object derives from the ReportRequest object. You can find it in Bing Ads Api docs - Reporting API - Reporting Data Objects. | | \ No newline at end of file diff --git a/docs/models/shared/DataCenter.md b/docs/models/shared/DataCenter.md new file mode 100644 index 000000000..ffd54fc9b --- /dev/null +++ b/docs/models/shared/DataCenter.md @@ -0,0 +1,11 @@ +# DataCenter + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `EU_CENTRAL` | eu-central | +| `US_EAST` | us-east | +| `CA_CENTRAL` | ca-central | +| `AP_SOUTHEAST` | ap-southeast | \ No newline at end of file diff --git a/docs/models/shared/DataCenterID.md b/docs/models/shared/DataCenterID.md new file mode 100644 index 000000000..107387db9 --- /dev/null +++ b/docs/models/shared/DataCenterID.md @@ -0,0 +1,11 @@ +# DataCenterID + +The identifier for the data center, such as 'us1' or 'e' for EU. + + +## Values + +| Name | Value | +| ----- | ----- | +| `US1` | us1 | +| `E` | e | \ No newline at end of file diff --git a/docs/models/shared/DataFreshness.md b/docs/models/shared/DataFreshness.md index 37a2bc0b2..1db8eae12 100644 --- a/docs/models/shared/DataFreshness.md +++ b/docs/models/shared/DataFreshness.md @@ -5,7 +5,7 @@ If set to 'final', the returned data will include only finalized, stable data. I ## Values -| Name | Value | -| -------- | -------- | -| `FINAL_` | final | -| `ALL` | all | \ No newline at end of file +| Name | Value | +| ------- | ------- | +| `FINAL` | final | +| `ALL` | all | \ No newline at end of file diff --git a/docs/models/shared/Deflate.md b/docs/models/shared/Deflate.md index 1398850dd..ce3a767aa 100644 --- a/docs/models/shared/Deflate.md +++ b/docs/models/shared/Deflate.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationGcsCodec.md) | :heavy_minus_sign: | N/A | -| `compressionLevel` | *Optional* | :heavy_minus_sign: | 0: no compression & fastest, 9: best compression & slowest. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `codec` | [Optional\](../../models/shared/DestinationGcsCodec.md) | :heavy_minus_sign: | N/A | +| `compressionLevel` | *Optional\* | :heavy_minus_sign: | 0: no compression & fastest, 9: best compression & slowest. | \ No newline at end of file diff --git a/docs/models/shared/DeliveryMethod.md b/docs/models/shared/DeliveryMethod.md new file mode 100644 index 000000000..6ac569db2 --- /dev/null +++ b/docs/models/shared/DeliveryMethod.md @@ -0,0 +1,2 @@ +# DeliveryMethod + diff --git a/docs/models/shared/DeliveryType.md b/docs/models/shared/DeliveryType.md new file mode 100644 index 000000000..bba141348 --- /dev/null +++ b/docs/models/shared/DeliveryType.md @@ -0,0 +1,8 @@ +# DeliveryType + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `USE_RECORDS_TRANSFER` | use_records_transfer | \ No newline at end of file diff --git a/docs/models/shared/Deputy.md b/docs/models/shared/Deputy.md new file mode 100644 index 000000000..e207a6681 --- /dev/null +++ b/docs/models/shared/Deputy.md @@ -0,0 +1,8 @@ +# Deputy + + +## Values + +| Name | Value | +| -------- | -------- | +| `DEPUTY` | deputy | \ No newline at end of file diff --git a/docs/models/shared/DestinationAstra.md b/docs/models/shared/DestinationAstra.md index 1bfbd9d32..2405caf0b 100644 --- a/docs/models/shared/DestinationAstra.md +++ b/docs/models/shared/DestinationAstra.md @@ -16,8 +16,8 @@ Processing, embedding and advanced configuration are provided by this base class | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.Astra](../../models/shared/Astra.md) | :heavy_check_mark: | N/A | -| `embedding` | [com.airbyte.api.models.shared.Embedding](../../models/shared/Embedding.md) | :heavy_check_mark: | Embedding configuration | -| `indexing` | [com.airbyte.api.models.shared.Indexing](../../models/shared/Indexing.md) | :heavy_check_mark: | Astra DB gives developers the APIs, real-time data and ecosystem integrations to put accurate RAG and Gen AI apps with fewer hallucinations in production. | -| `omitRawText` | *Optional* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | -| `processing` | [com.airbyte.api.models.shared.ProcessingConfigModel](../../models/shared/ProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `destinationType` | [Astra](../../models/shared/Astra.md) | :heavy_check_mark: | N/A | +| `embedding` | [Embedding](../../models/shared/Embedding.md) | :heavy_check_mark: | Embedding configuration | +| `indexing` | [Indexing](../../models/shared/Indexing.md) | :heavy_check_mark: | Astra DB gives developers the APIs, real-time data and ecosystem integrations to put accurate RAG and Gen AI apps with fewer hallucinations in production. | +| `omitRawText` | *Optional\* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | +| `processing` | [ProcessingConfigModel](../../models/shared/ProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationAwsDatalake.md b/docs/models/shared/DestinationAwsDatalake.md index 9a1e494ca..0e4158c15 100644 --- a/docs/models/shared/DestinationAwsDatalake.md +++ b/docs/models/shared/DestinationAwsDatalake.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `awsAccountId` | *Optional* | :heavy_minus_sign: | target aws account id | 111111111111 | +| `awsAccountId` | *Optional\* | :heavy_minus_sign: | target aws account id | 111111111111 | | `bucketName` | *String* | :heavy_check_mark: | The name of the S3 bucket. Read more here. | | -| `bucketPrefix` | *Optional* | :heavy_minus_sign: | S3 prefix | | -| `credentials` | [com.airbyte.api.models.shared.AuthenticationMode](../../models/shared/AuthenticationMode.md) | :heavy_check_mark: | Choose How to Authenticate to AWS. | | -| `destinationType` | [com.airbyte.api.models.shared.AwsDatalake](../../models/shared/AwsDatalake.md) | :heavy_check_mark: | N/A | | -| `format` | [Optional](../../models/shared/OutputFormatWildcard.md) | :heavy_minus_sign: | Format of the data output. | | -| `glueCatalogFloatAsDecimal` | *Optional* | :heavy_minus_sign: | Cast float/double as decimal(38,18). This can help achieve higher accuracy and represent numbers correctly as received from the source. | | -| `lakeformationDatabaseDefaultTagKey` | *Optional* | :heavy_minus_sign: | Add a default tag key to databases created by this destination | pii_level | -| `lakeformationDatabaseDefaultTagValues` | *Optional* | :heavy_minus_sign: | Add default values for the `Tag Key` to databases created by this destination. Comma separate for multiple values. | private,public | +| `bucketPrefix` | *Optional\* | :heavy_minus_sign: | S3 prefix | | +| `credentials` | [AuthenticationMode](../../models/shared/AuthenticationMode.md) | :heavy_check_mark: | Choose How to Authenticate to AWS. | | +| `destinationType` | [AwsDatalake](../../models/shared/AwsDatalake.md) | :heavy_check_mark: | N/A | | +| `format` | [Optional\](../../models/shared/OutputFormatWildcard.md) | :heavy_minus_sign: | Format of the data output. | | +| `glueCatalogFloatAsDecimal` | *Optional\* | :heavy_minus_sign: | Cast float/double as decimal(38,18). This can help achieve higher accuracy and represent numbers correctly as received from the source. | | +| `lakeformationDatabaseDefaultTagKey` | *Optional\* | :heavy_minus_sign: | Add a default tag key to databases created by this destination | pii_level | +| `lakeformationDatabaseDefaultTagValues` | *Optional\* | :heavy_minus_sign: | Add default values for the `Tag Key` to databases created by this destination. Comma separate for multiple values. | private,public | | `lakeformationDatabaseName` | *String* | :heavy_check_mark: | The default database this destination will use to create tables in per stream. Can be changed per connection by customizing the namespace. | | -| `lakeformationGovernedTables` | *Optional* | :heavy_minus_sign: | Whether to create tables as LF governed tables. | | -| `partitioning` | [Optional](../../models/shared/ChooseHowToPartitionData.md) | :heavy_minus_sign: | Partition data by cursor fields when a cursor field is a date | | -| `region` | [Optional](../../models/shared/S3BucketRegion.md) | :heavy_minus_sign: | The region of the S3 bucket. See here for all region codes. | | \ No newline at end of file +| `lakeformationGovernedTables` | *Optional\* | :heavy_minus_sign: | Whether to create tables as LF governed tables. | | +| `partitioning` | [Optional\](../../models/shared/ChooseHowToPartitionData.md) | :heavy_minus_sign: | Partition data by cursor fields when a cursor field is a date | | +| `region` | [Optional\](../../models/shared/S3BucketRegion.md) | :heavy_minus_sign: | The region of the S3 bucket. See here for all region codes. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationAzureBlobStorage.md b/docs/models/shared/DestinationAzureBlobStorage.md index ac6e098cd..7f1c55e39 100644 --- a/docs/models/shared/DestinationAzureBlobStorage.md +++ b/docs/models/shared/DestinationAzureBlobStorage.md @@ -7,9 +7,9 @@ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `azureBlobStorageAccountKey` | *String* | :heavy_check_mark: | The Azure blob storage account key. | Z8ZkZpteggFx394vm+PJHnGTvdRncaYS+JhLKdj789YNmD+iyGTnG+PV+POiuYNhBg/ACS+LKjd%4FG3FHGN12Nd== | | `azureBlobStorageAccountName` | *String* | :heavy_check_mark: | The account's name of the Azure Blob Storage. | airbyte5storage | -| `azureBlobStorageContainerName` | *Optional* | :heavy_minus_sign: | The name of the Azure blob storage container. If not exists - will be created automatically. May be empty, then will be created automatically airbytecontainer+timestamp | airbytetescontainername | -| `azureBlobStorageEndpointDomainName` | *Optional* | :heavy_minus_sign: | This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. | blob.core.windows.net | -| `azureBlobStorageOutputBufferSize` | *Optional* | :heavy_minus_sign: | The amount of megabytes to buffer for the output stream to Azure. This will impact memory footprint on workers, but may need adjustment for performance and appropriate block size in Azure. | 5 | -| `azureBlobStorageSpillSize` | *Optional* | :heavy_minus_sign: | The amount of megabytes after which the connector should spill the records in a new blob object. Make sure to configure size greater than individual records. Enter 0 if not applicable | 500 | -| `destinationType` | [com.airbyte.api.models.shared.DestinationAzureBlobStorageAzureBlobStorage](../../models/shared/DestinationAzureBlobStorageAzureBlobStorage.md) | :heavy_check_mark: | N/A | | -| `format` | [com.airbyte.api.models.shared.OutputFormat](../../models/shared/OutputFormat.md) | :heavy_check_mark: | Output data format | | \ No newline at end of file +| `azureBlobStorageContainerName` | *Optional\* | :heavy_minus_sign: | The name of the Azure blob storage container. If not exists - will be created automatically. May be empty, then will be created automatically airbytecontainer+timestamp | airbytetescontainername | +| `azureBlobStorageEndpointDomainName` | *Optional\* | :heavy_minus_sign: | This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. | blob.core.windows.net | +| `azureBlobStorageOutputBufferSize` | *Optional\* | :heavy_minus_sign: | The amount of megabytes to buffer for the output stream to Azure. This will impact memory footprint on workers, but may need adjustment for performance and appropriate block size in Azure. | 5 | +| `azureBlobStorageSpillSize` | *Optional\* | :heavy_minus_sign: | The amount of megabytes after which the connector should spill the records in a new blob object. Make sure to configure size greater than individual records. Enter 0 if not applicable | 500 | +| `destinationType` | [DestinationAzureBlobStorageAzureBlobStorage](../../models/shared/DestinationAzureBlobStorageAzureBlobStorage.md) | :heavy_check_mark: | N/A | | +| `format` | [OutputFormat](../../models/shared/OutputFormat.md) | :heavy_check_mark: | Output data format | | \ No newline at end of file diff --git a/docs/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.md b/docs/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.md index 35b54eae6..be87e48f8 100644 --- a/docs/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.md +++ b/docs/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `fileExtension` | *Optional* | :heavy_minus_sign: | Add file extensions to the output file. | -| `formatType` | [com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatType](../../models/shared/DestinationAzureBlobStorageFormatType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `fileExtension` | *Optional\* | :heavy_minus_sign: | Add file extensions to the output file. | +| `formatType` | [DestinationAzureBlobStorageFormatType](../../models/shared/DestinationAzureBlobStorageFormatType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationBigquery.md b/docs/models/shared/DestinationBigquery.md index 3babb1e6c..6ed77a9b5 100644 --- a/docs/models/shared/DestinationBigquery.md +++ b/docs/models/shared/DestinationBigquery.md @@ -5,13 +5,13 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `bigQueryClientBufferSizeMb` | *Optional* | :heavy_minus_sign: | Google BigQuery client's chunk (buffer) size (MIN=1, MAX = 15) for each table. The size that will be written by a single RPC. Written data will be buffered and only flushed upon reaching this size or closing the channel. The default 15MB value is used if not set explicitly. Read more here. | 15 | -| `credentialsJson` | *Optional* | :heavy_minus_sign: | The contents of the JSON service account key. Check out the docs if you need help generating this key. Default credentials will be used if this field is left empty. | | +| `bigQueryClientBufferSizeMb` | *Optional\* | :heavy_minus_sign: | Google BigQuery client's chunk (buffer) size (MIN=1, MAX = 15) for each table. The size that will be written by a single RPC. Written data will be buffered and only flushed upon reaching this size or closing the channel. The default 15MB value is used if not set explicitly. Read more here. | 15 | +| `credentialsJson` | *Optional\* | :heavy_minus_sign: | The contents of the JSON service account key. Check out the docs if you need help generating this key. Default credentials will be used if this field is left empty. | | | `datasetId` | *String* | :heavy_check_mark: | The default BigQuery Dataset ID that tables are replicated to if the source does not specify a namespace. Read more here. | | -| `datasetLocation` | [com.airbyte.api.models.shared.DatasetLocation](../../models/shared/DatasetLocation.md) | :heavy_check_mark: | The location of the dataset. Warning: Changes made after creation will not be applied. Read more here. | | -| `destinationType` | [com.airbyte.api.models.shared.Bigquery](../../models/shared/Bigquery.md) | :heavy_check_mark: | N/A | | -| `disableTypeDedupe` | *Optional* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | -| `loadingMethod` | [Optional](../../models/shared/LoadingMethod.md) | :heavy_minus_sign: | The way data will be uploaded to BigQuery. | | +| `datasetLocation` | [DatasetLocation](../../models/shared/DatasetLocation.md) | :heavy_check_mark: | The location of the dataset. Warning: Changes made after creation will not be applied. Read more here. | | +| `destinationType` | [Bigquery](../../models/shared/Bigquery.md) | :heavy_check_mark: | N/A | | +| `disableTypeDedupe` | *Optional\* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | +| `loadingMethod` | [Optional\](../../models/shared/LoadingMethod.md) | :heavy_minus_sign: | The way data will be uploaded to BigQuery. | | | `projectId` | *String* | :heavy_check_mark: | The GCP project ID for the project containing the target BigQuery dataset. Read more here. | | -| `rawDataDataset` | *Optional* | :heavy_minus_sign: | The dataset to write raw tables into (default: airbyte_internal) | | -| `transformationPriority` | [Optional](../../models/shared/TransformationQueryRunType.md) | :heavy_minus_sign: | Interactive run type means that the query is executed as soon as possible, and these queries count towards concurrent rate limit and daily limit. Read more about interactive run type here. Batch queries are queued and started as soon as idle resources are available in the BigQuery shared resource pool, which usually occurs within a few minutes. Batch queries don’t count towards your concurrent rate limit. Read more about batch queries here. The default "interactive" value is used if not set explicitly. | | \ No newline at end of file +| `rawDataDataset` | *Optional\* | :heavy_minus_sign: | The dataset to write raw tables into (default: airbyte_internal) | | +| `transformationPriority` | [Optional\](../../models/shared/TransformationQueryRunType.md) | :heavy_minus_sign: | Interactive run type means that the query is executed as soon as possible, and these queries count towards concurrent rate limit and daily limit. Read more about interactive run type here. Batch queries are queued and started as soon as idle resources are available in the BigQuery shared resource pool, which usually occurs within a few minutes. Batch queries don’t count towards your concurrent rate limit. Read more about batch queries here. The default "interactive" value is used if not set explicitly. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationBigqueryHMACKey.md b/docs/models/shared/DestinationBigqueryHMACKey.md index e4c15a213..9584acaed 100644 --- a/docs/models/shared/DestinationBigqueryHMACKey.md +++ b/docs/models/shared/DestinationBigqueryHMACKey.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentialType` | [com.airbyte.api.models.shared.DestinationBigqueryCredentialType](../../models/shared/DestinationBigqueryCredentialType.md) | :heavy_check_mark: | N/A | | +| `credentialType` | [DestinationBigqueryCredentialType](../../models/shared/DestinationBigqueryCredentialType.md) | :heavy_check_mark: | N/A | | | `hmacKeyAccessId` | *String* | :heavy_check_mark: | HMAC key access ID. When linked to a service account, this ID is 61 characters long; when linked to a user account, it is 24 characters long. | 1234567890abcdefghij1234 | | `hmacKeySecret` | *String* | :heavy_check_mark: | The corresponding secret for the access ID. It is a 40-character base-64 encoded string. | 1234567890abcdefghij1234567890ABCDEFGHIJ | \ No newline at end of file diff --git a/docs/models/shared/DestinationClickhouse.md b/docs/models/shared/DestinationClickhouse.md index d12e4ef70..fa8ca1553 100644 --- a/docs/models/shared/DestinationClickhouse.md +++ b/docs/models/shared/DestinationClickhouse.md @@ -6,12 +6,12 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `database` | *String* | :heavy_check_mark: | Name of the database. | | -| `destinationType` | [com.airbyte.api.models.shared.Clickhouse](../../models/shared/Clickhouse.md) | :heavy_check_mark: | N/A | | +| `destinationType` | [Clickhouse](../../models/shared/Clickhouse.md) | :heavy_check_mark: | N/A | | | `host` | *String* | :heavy_check_mark: | Hostname of the database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | -| `password` | *Optional* | :heavy_minus_sign: | Password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | HTTP port of the database. | 8123 | -| `rawDataSchema` | *Optional* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | -| `ssl` | *Optional* | :heavy_minus_sign: | Encrypt data using SSL. | | -| `tunnelMethod` | [Optional](../../models/shared/SSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `password` | *Optional\* | :heavy_minus_sign: | Password associated with the username. | | +| `port` | *Optional\* | :heavy_minus_sign: | HTTP port of the database. | 8123 | +| `rawDataSchema` | *Optional\* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | +| `ssl` | *Optional\* | :heavy_minus_sign: | Encrypt data using SSL. | | +| `tunnelMethod` | [Optional\](../../models/shared/SSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | Username to use to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationConvex.md b/docs/models/shared/DestinationConvex.md index 15b3c1142..3fe590a46 100644 --- a/docs/models/shared/DestinationConvex.md +++ b/docs/models/shared/DestinationConvex.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `accessKey` | *String* | :heavy_check_mark: | API access key used to send data to a Convex deployment. | | -| `deploymentUrl` | *String* | :heavy_check_mark: | URL of the Convex deployment that is the destination | https://murky-swan-635.convex.cloud | -| `destinationType` | [com.airbyte.api.models.shared.Convex](../../models/shared/Convex.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `accessKey` | *String* | :heavy_check_mark: | API access key used to send data to a Convex deployment. | | +| `deploymentUrl` | *String* | :heavy_check_mark: | URL of the Convex deployment that is the destination | https://murky-swan-635.convex.cloud | +| `destinationType` | [Convex](../../models/shared/Convex.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/DestinationCreateRequest.md b/docs/models/shared/DestinationCreateRequest.md index c46a25a76..e69b958f2 100644 --- a/docs/models/shared/DestinationCreateRequest.md +++ b/docs/models/shared/DestinationCreateRequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `configuration` | [com.airbyte.api.models.shared.DestinationConfiguration](../../models/shared/DestinationConfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | -| `definitionId` | *Optional* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. | | +| `configuration` | [DestinationConfiguration](../../models/shared/DestinationConfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | +| `definitionId` | *Optional\* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. | | | `name` | *String* | :heavy_check_mark: | Name of the destination e.g. dev-mysql-instance. | | | `workspaceId` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/DestinationDatabricks.md b/docs/models/shared/DestinationDatabricks.md index f8521b047..72439b2bb 100644 --- a/docs/models/shared/DestinationDatabricks.md +++ b/docs/models/shared/DestinationDatabricks.md @@ -5,13 +5,13 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `acceptTerms` | *Optional* | :heavy_minus_sign: | You must agree to the Databricks JDBC Driver Terms & Conditions to use this connector. | | -| `authentication` | [com.airbyte.api.models.shared.Authentication](../../models/shared/Authentication.md) | :heavy_check_mark: | Authentication mechanism for Staging files and running queries | | +| `acceptTerms` | *Optional\* | :heavy_minus_sign: | You must agree to the Databricks JDBC Driver Terms & Conditions to use this connector. | | +| `authentication` | [Authentication](../../models/shared/Authentication.md) | :heavy_check_mark: | Authentication mechanism for Staging files and running queries | | | `database` | *String* | :heavy_check_mark: | The name of the unity catalog for the database | | -| `destinationType` | [com.airbyte.api.models.shared.Databricks](../../models/shared/Databricks.md) | :heavy_check_mark: | N/A | | +| `destinationType` | [Databricks](../../models/shared/Databricks.md) | :heavy_check_mark: | N/A | | | `hostname` | *String* | :heavy_check_mark: | Databricks Cluster Server Hostname. | abc-12345678-wxyz.cloud.databricks.com | | `httpPath` | *String* | :heavy_check_mark: | Databricks Cluster HTTP Path. | sql/1.0/warehouses/0000-1111111-abcd90 | -| `port` | *Optional* | :heavy_minus_sign: | Databricks Cluster Port. | 443 | -| `purgeStagingData` | *Optional* | :heavy_minus_sign: | Default to 'true'. Switch it to 'false' for debugging purpose. | | -| `rawSchemaOverride` | *Optional* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | -| `schema` | *Optional* | :heavy_minus_sign: | The default schema tables are written. If not specified otherwise, the "default" will be used. | default | \ No newline at end of file +| `port` | *Optional\* | :heavy_minus_sign: | Databricks Cluster Port. | 443 | +| `purgeStagingData` | *Optional\* | :heavy_minus_sign: | Default to 'true'. Switch it to 'false' for debugging purpose. | | +| `rawSchemaOverride` | *Optional\* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | +| `schema` | *Optional\* | :heavy_minus_sign: | The default schema tables are written. If not specified otherwise, the "default" will be used. | default | \ No newline at end of file diff --git a/docs/models/shared/DestinationDevNull.md b/docs/models/shared/DestinationDevNull.md new file mode 100644 index 000000000..3b959a846 --- /dev/null +++ b/docs/models/shared/DestinationDevNull.md @@ -0,0 +1,9 @@ +# DestinationDevNull + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `destinationType` | [DevNull](../../models/shared/DevNull.md) | :heavy_check_mark: | N/A | +| `testDestination` | [TestDestination](../../models/shared/TestDestination.md) | :heavy_check_mark: | The type of destination to be used | \ No newline at end of file diff --git a/docs/models/shared/DestinationDevNullLoggingType.md b/docs/models/shared/DestinationDevNullLoggingType.md new file mode 100644 index 000000000..091bb6035 --- /dev/null +++ b/docs/models/shared/DestinationDevNullLoggingType.md @@ -0,0 +1,8 @@ +# DestinationDevNullLoggingType + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `EVERY_NTH` | EveryNth | \ No newline at end of file diff --git a/docs/models/shared/DestinationDevNullSchemasLoggingType.md b/docs/models/shared/DestinationDevNullSchemasLoggingType.md new file mode 100644 index 000000000..4e31a93cf --- /dev/null +++ b/docs/models/shared/DestinationDevNullSchemasLoggingType.md @@ -0,0 +1,8 @@ +# DestinationDevNullSchemasLoggingType + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `RANDOM_SAMPLING` | RandomSampling | \ No newline at end of file diff --git a/docs/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.md b/docs/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.md new file mode 100644 index 000000000..65eeed810 --- /dev/null +++ b/docs/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.md @@ -0,0 +1,8 @@ +# DestinationDevNullSchemasTestDestinationTestDestinationType + + +## Values + +| Name | Value | +| --------- | --------- | +| `FAILING` | FAILING | \ No newline at end of file diff --git a/docs/models/shared/DestinationDevNullSchemasTestDestinationType.md b/docs/models/shared/DestinationDevNullSchemasTestDestinationType.md new file mode 100644 index 000000000..4704b947c --- /dev/null +++ b/docs/models/shared/DestinationDevNullSchemasTestDestinationType.md @@ -0,0 +1,8 @@ +# DestinationDevNullSchemasTestDestinationType + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `THROTTLED` | THROTTLED | \ No newline at end of file diff --git a/docs/models/shared/DestinationDevNullTestDestinationType.md b/docs/models/shared/DestinationDevNullTestDestinationType.md new file mode 100644 index 000000000..335378f1b --- /dev/null +++ b/docs/models/shared/DestinationDevNullTestDestinationType.md @@ -0,0 +1,8 @@ +# DestinationDevNullTestDestinationType + + +## Values + +| Name | Value | +| -------- | -------- | +| `SILENT` | SILENT | \ No newline at end of file diff --git a/docs/models/shared/DestinationDuckdb.md b/docs/models/shared/DestinationDuckdb.md index 0a79e94f4..e7a54f95a 100644 --- a/docs/models/shared/DestinationDuckdb.md +++ b/docs/models/shared/DestinationDuckdb.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.Duckdb](../../models/shared/Duckdb.md) | :heavy_check_mark: | N/A | | +| `destinationType` | [Duckdb](../../models/shared/Duckdb.md) | :heavy_check_mark: | N/A | | | `destinationPath` | *String* | :heavy_check_mark: | Path to the .duckdb file, or the text 'md:' to connect to MotherDuck. The file will be placed inside that local mount. For more information check out our docs | /local/destination.duckdb | -| `motherduckApiKey` | *Optional* | :heavy_minus_sign: | API key to use for authentication to a MotherDuck database. | | -| `schema` | *Optional* | :heavy_minus_sign: | Database schema name, default for duckdb is 'main'. | main | \ No newline at end of file +| `motherduckApiKey` | *Optional\* | :heavy_minus_sign: | API key to use for authentication to a MotherDuck database. | | +| `schema` | *Optional\* | :heavy_minus_sign: | Database schema name, default for duckdb is 'main'. | main | \ No newline at end of file diff --git a/docs/models/shared/DestinationDynamodb.md b/docs/models/shared/DestinationDynamodb.md index ad2e0d130..a0babcb98 100644 --- a/docs/models/shared/DestinationDynamodb.md +++ b/docs/models/shared/DestinationDynamodb.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `accessKeyId` | *String* | :heavy_check_mark: | The access key id to access the DynamoDB. Airbyte requires Read and Write permissions to the DynamoDB. | A012345678910EXAMPLE | -| `destinationType` | [com.airbyte.api.models.shared.Dynamodb](../../models/shared/Dynamodb.md) | :heavy_check_mark: | N/A | | -| `dynamodbEndpoint` | *Optional* | :heavy_minus_sign: | This is your DynamoDB endpoint url.(if you are working with AWS DynamoDB, just leave empty). | http://localhost:9000 | -| `dynamodbRegion` | [Optional](../../models/shared/DynamoDBRegion.md) | :heavy_minus_sign: | The region of the DynamoDB. | | -| `dynamodbTableNamePrefix` | *String* | :heavy_check_mark: | The prefix to use when naming DynamoDB tables. | airbyte_sync | -| `secretAccessKey` | *String* | :heavy_check_mark: | The corresponding secret to the access key id. | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `accessKeyId` | *String* | :heavy_check_mark: | The access key id to access the DynamoDB. Airbyte requires Read and Write permissions to the DynamoDB. | A012345678910EXAMPLE | +| `destinationType` | [Dynamodb](../../models/shared/Dynamodb.md) | :heavy_check_mark: | N/A | | +| `dynamodbEndpoint` | *Optional\* | :heavy_minus_sign: | This is your DynamoDB endpoint url.(if you are working with AWS DynamoDB, just leave empty). | http://localhost:9000 | +| `dynamodbRegion` | [Optional\](../../models/shared/DynamoDBRegion.md) | :heavy_minus_sign: | The region of the DynamoDB. | | +| `dynamodbTableNamePrefix` | *String* | :heavy_check_mark: | The prefix to use when naming DynamoDB tables. | airbyte_sync | +| `secretAccessKey` | *String* | :heavy_check_mark: | The corresponding secret to the access key id. | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | \ No newline at end of file diff --git a/docs/models/shared/DestinationElasticsearch.md b/docs/models/shared/DestinationElasticsearch.md index 58577198c..da89ff308 100644 --- a/docs/models/shared/DestinationElasticsearch.md +++ b/docs/models/shared/DestinationElasticsearch.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authenticationMethod` | [Optional](../../models/shared/AuthenticationMethod.md) | :heavy_minus_sign: | The type of authentication to be used | -| `caCertificate` | *Optional* | :heavy_minus_sign: | CA certificate | -| `destinationType` | [com.airbyte.api.models.shared.Elasticsearch](../../models/shared/Elasticsearch.md) | :heavy_check_mark: | N/A | +| `authenticationMethod` | [Optional\](../../models/shared/AuthenticationMethod.md) | :heavy_minus_sign: | The type of authentication to be used | +| `caCertificate` | *Optional\* | :heavy_minus_sign: | CA certificate | +| `destinationType` | [Elasticsearch](../../models/shared/Elasticsearch.md) | :heavy_check_mark: | N/A | | `endpoint` | *String* | :heavy_check_mark: | The full url of the Elasticsearch server | -| `tunnelMethod` | [Optional](../../models/shared/DestinationElasticsearchSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | -| `upsert` | *Optional* | :heavy_minus_sign: | If a primary key identifier is defined in the source, an upsert will be performed using the primary key value as the elasticsearch doc id. Does not support composite primary keys. | \ No newline at end of file +| `tunnelMethod` | [Optional\](../../models/shared/DestinationElasticsearchSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | +| `upsert` | *Optional\* | :heavy_minus_sign: | If a primary key identifier is defined in the source, an upsert will be performed using the primary key value as the elasticsearch doc id. Does not support composite primary keys. | \ No newline at end of file diff --git a/docs/models/shared/DestinationElasticsearchNoTunnel.md b/docs/models/shared/DestinationElasticsearchNoTunnel.md index 604911f15..11cc1d8cf 100644 --- a/docs/models/shared/DestinationElasticsearchNoTunnel.md +++ b/docs/models/shared/DestinationElasticsearchNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationElasticsearchTunnelMethod](../../models/shared/DestinationElasticsearchTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `tunnelMethod` | [DestinationElasticsearchTunnelMethod](../../models/shared/DestinationElasticsearchTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/DestinationElasticsearchPasswordAuthentication.md b/docs/models/shared/DestinationElasticsearchPasswordAuthentication.md index e7841941e..8e3c197d7 100644 --- a/docs/models/shared/DestinationElasticsearchPasswordAuthentication.md +++ b/docs/models/shared/DestinationElasticsearchPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationElasticsearchSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationElasticsearchSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/DestinationElasticsearchSSHKeyAuthentication.md b/docs/models/shared/DestinationElasticsearchSSHKeyAuthentication.md index 0601000a8..c1f0cd50f 100644 --- a/docs/models/shared/DestinationElasticsearchSSHKeyAuthentication.md +++ b/docs/models/shared/DestinationElasticsearchSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationElasticsearchSchemasTunnelMethod](../../models/shared/DestinationElasticsearchSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationElasticsearchSchemasTunnelMethod](../../models/shared/DestinationElasticsearchSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationFirebolt.md b/docs/models/shared/DestinationFirebolt.md index a97381b89..7ce0b41e1 100644 --- a/docs/models/shared/DestinationFirebolt.md +++ b/docs/models/shared/DestinationFirebolt.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `account` | *String* | :heavy_check_mark: | Firebolt account to login. | | -| `clientId` | *String* | :heavy_check_mark: | Firebolt service account ID. | bbl9qth066hmxkwyb0hy2iwk8ktez9dz | -| `clientSecret` | *String* | :heavy_check_mark: | Firebolt secret, corresponding to the service account ID. | | -| `database` | *String* | :heavy_check_mark: | The database to connect to. | | -| `destinationType` | [com.airbyte.api.models.shared.Firebolt](../../models/shared/Firebolt.md) | :heavy_check_mark: | N/A | | -| `engine` | *String* | :heavy_check_mark: | Engine name to connect to. | | -| `host` | *Optional* | :heavy_minus_sign: | The host name of your Firebolt database. | api.app.firebolt.io | -| `loadingMethod` | [Optional](../../models/shared/DestinationFireboltLoadingMethod.md) | :heavy_minus_sign: | Loading method used to select the way data will be uploaded to Firebolt | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `account` | *String* | :heavy_check_mark: | Firebolt account to login. | | +| `clientId` | *String* | :heavy_check_mark: | Firebolt service account ID. | bbl9qth066hmxkwyb0hy2iwk8ktez9dz | +| `clientSecret` | *String* | :heavy_check_mark: | Firebolt secret, corresponding to the service account ID. | | +| `database` | *String* | :heavy_check_mark: | The database to connect to. | | +| `destinationType` | [Firebolt](../../models/shared/Firebolt.md) | :heavy_check_mark: | N/A | | +| `engine` | *String* | :heavy_check_mark: | Engine name to connect to. | | +| `host` | *Optional\* | :heavy_minus_sign: | The host name of your Firebolt database. | api.app.firebolt.io | +| `loadingMethod` | [Optional\](../../models/shared/DestinationFireboltLoadingMethod.md) | :heavy_minus_sign: | Loading method used to select the way data will be uploaded to Firebolt | | \ No newline at end of file diff --git a/docs/models/shared/DestinationFirestore.md b/docs/models/shared/DestinationFirestore.md index 2478345cb..a5e97ea67 100644 --- a/docs/models/shared/DestinationFirestore.md +++ b/docs/models/shared/DestinationFirestore.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentialsJson` | *Optional* | :heavy_minus_sign: | The contents of the JSON service account key. Check out the docs if you need help generating this key. Default credentials will be used if this field is left empty. | -| `destinationType` | [com.airbyte.api.models.shared.Firestore](../../models/shared/Firestore.md) | :heavy_check_mark: | N/A | +| `credentialsJson` | *Optional\* | :heavy_minus_sign: | The contents of the JSON service account key. Check out the docs if you need help generating this key. Default credentials will be used if this field is left empty. | +| `destinationType` | [Firestore](../../models/shared/Firestore.md) | :heavy_check_mark: | N/A | | `projectId` | *String* | :heavy_check_mark: | The GCP project ID for the project containing the target BigQuery dataset. | \ No newline at end of file diff --git a/docs/models/shared/DestinationGcs.md b/docs/models/shared/DestinationGcs.md index b0aa98a04..a66e17325 100644 --- a/docs/models/shared/DestinationGcs.md +++ b/docs/models/shared/DestinationGcs.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credential` | [com.airbyte.api.models.shared.DestinationGcsAuthentication](../../models/shared/DestinationGcsAuthentication.md) | :heavy_check_mark: | An HMAC key is a type of credential and can be associated with a service account or a user account in Cloud Storage. Read more here. | | -| `destinationType` | [com.airbyte.api.models.shared.Gcs](../../models/shared/Gcs.md) | :heavy_check_mark: | N/A | | -| `format` | [com.airbyte.api.models.shared.DestinationGcsOutputFormat](../../models/shared/DestinationGcsOutputFormat.md) | :heavy_check_mark: | Output data format. One of the following formats must be selected - AVRO format, PARQUET format, CSV format, or JSONL format. | | +| `credential` | [DestinationGcsAuthentication](../../models/shared/DestinationGcsAuthentication.md) | :heavy_check_mark: | An HMAC key is a type of credential and can be associated with a service account or a user account in Cloud Storage. Read more here. | | +| `destinationType` | [DestinationGcsGcs](../../models/shared/DestinationGcsGcs.md) | :heavy_check_mark: | N/A | | +| `format` | [DestinationGcsOutputFormat](../../models/shared/DestinationGcsOutputFormat.md) | :heavy_check_mark: | Output data format. One of the following formats must be selected - AVRO format, PARQUET format, CSV format, or JSONL format. | | | `gcsBucketName` | *String* | :heavy_check_mark: | You can find the bucket name in the App Engine Admin console Application Settings page, under the label Google Cloud Storage Bucket. Read more here. | airbyte_sync | | `gcsBucketPath` | *String* | :heavy_check_mark: | GCS Bucket Path string Subdirectory under the above bucket to sync the data into. | data_sync/test | -| `gcsBucketRegion` | [Optional](../../models/shared/GCSBucketRegion.md) | :heavy_minus_sign: | Select a Region of the GCS Bucket. Read more here. | | \ No newline at end of file +| `gcsBucketRegion` | [Optional\](../../models/shared/GCSBucketRegion.md) | :heavy_minus_sign: | Select a Region of the GCS Bucket. Read more here. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationGcsCSVCommaSeparatedValues.md b/docs/models/shared/DestinationGcsCSVCommaSeparatedValues.md index 33b30f897..cebc8ef9c 100644 --- a/docs/models/shared/DestinationGcsCSVCommaSeparatedValues.md +++ b/docs/models/shared/DestinationGcsCSVCommaSeparatedValues.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `compression` | [Optional](../../models/shared/Compression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). | -| `flattening` | [Optional](../../models/shared/Normalization.md) | :heavy_minus_sign: | Whether the input JSON data should be normalized (flattened) in the output CSV. Please refer to docs for details. | -| `formatType` | [Optional](../../models/shared/DestinationGcsSchemasFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `compression` | [Optional\](../../models/shared/Compression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). | +| `flattening` | [Optional\](../../models/shared/Normalization.md) | :heavy_minus_sign: | Whether the input JSON data should be normalized (flattened) in the output CSV. Please refer to docs for details. | +| `formatType` | [Optional\](../../models/shared/DestinationGcsSchemasFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationGcsGZIP.md b/docs/models/shared/DestinationGcsGZIP.md index cdce3b6ef..7698e9a81 100644 --- a/docs/models/shared/DestinationGcsGZIP.md +++ b/docs/models/shared/DestinationGcsGZIP.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/DestinationGcsSchemasFormatCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `compressionType` | [Optional\](../../models/shared/DestinationGcsSchemasFormatCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationGcsGcs.md b/docs/models/shared/DestinationGcsGcs.md new file mode 100644 index 000000000..1b6cf204d --- /dev/null +++ b/docs/models/shared/DestinationGcsGcs.md @@ -0,0 +1,8 @@ +# DestinationGcsGcs + + +## Values + +| Name | Value | +| ----- | ----- | +| `GCS` | gcs | \ No newline at end of file diff --git a/docs/models/shared/DestinationGcsJSONLinesNewlineDelimitedJSON.md b/docs/models/shared/DestinationGcsJSONLinesNewlineDelimitedJSON.md index 6854981b0..d10f3a84f 100644 --- a/docs/models/shared/DestinationGcsJSONLinesNewlineDelimitedJSON.md +++ b/docs/models/shared/DestinationGcsJSONLinesNewlineDelimitedJSON.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `compression` | [Optional](../../models/shared/DestinationGcsCompression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). | -| `formatType` | [Optional](../../models/shared/DestinationGcsSchemasFormatFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `compression` | [Optional\](../../models/shared/DestinationGcsCompression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). | +| `formatType` | [Optional\](../../models/shared/DestinationGcsSchemasFormatFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationGcsNoCompression.md b/docs/models/shared/DestinationGcsNoCompression.md index dfd88b607..71df163b1 100644 --- a/docs/models/shared/DestinationGcsNoCompression.md +++ b/docs/models/shared/DestinationGcsNoCompression.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/CompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `compressionType` | [Optional\](../../models/shared/CompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationGcsParquetColumnarStorage.md b/docs/models/shared/DestinationGcsParquetColumnarStorage.md index 3789e04f9..30aed0849 100644 --- a/docs/models/shared/DestinationGcsParquetColumnarStorage.md +++ b/docs/models/shared/DestinationGcsParquetColumnarStorage.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `blockSizeMb` | *Optional* | :heavy_minus_sign: | This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. | 128 | -| `compressionCodec` | [Optional](../../models/shared/DestinationGcsCompressionCodec.md) | :heavy_minus_sign: | The compression algorithm used to compress data pages. | | -| `dictionaryEncoding` | *Optional* | :heavy_minus_sign: | Default: true. | | -| `dictionaryPageSizeKb` | *Optional* | :heavy_minus_sign: | There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. | 1024 | -| `formatType` | [Optional](../../models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.md) | :heavy_minus_sign: | N/A | | -| `maxPaddingSizeMb` | *Optional* | :heavy_minus_sign: | Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. | 8 | -| `pageSizeKb` | *Optional* | :heavy_minus_sign: | The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. | 1024 | \ No newline at end of file +| `blockSizeMb` | *Optional\* | :heavy_minus_sign: | This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. | 128 | +| `compressionCodec` | [Optional\](../../models/shared/DestinationGcsCompressionCodec.md) | :heavy_minus_sign: | The compression algorithm used to compress data pages. | | +| `dictionaryEncoding` | *Optional\* | :heavy_minus_sign: | Default: true. | | +| `dictionaryPageSizeKb` | *Optional\* | :heavy_minus_sign: | There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. | 1024 | +| `formatType` | [Optional\](../../models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.md) | :heavy_minus_sign: | N/A | | +| `maxPaddingSizeMb` | *Optional\* | :heavy_minus_sign: | Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. | 8 | +| `pageSizeKb` | *Optional\* | :heavy_minus_sign: | The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. | 1024 | \ No newline at end of file diff --git a/docs/models/shared/DestinationGcsSchemasNoCompression.md b/docs/models/shared/DestinationGcsSchemasNoCompression.md index 1cc6c8dc7..b18fe795d 100644 --- a/docs/models/shared/DestinationGcsSchemasNoCompression.md +++ b/docs/models/shared/DestinationGcsSchemasNoCompression.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/DestinationGcsSchemasCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `compressionType` | [Optional\](../../models/shared/DestinationGcsSchemasCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationGoogleSheets.md b/docs/models/shared/DestinationGoogleSheets.md index 1a030ada2..82f68f258 100644 --- a/docs/models/shared/DestinationGoogleSheets.md +++ b/docs/models/shared/DestinationGoogleSheets.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.AuthenticationViaGoogleOAuth](../../models/shared/AuthenticationViaGoogleOAuth.md) | :heavy_check_mark: | Google API Credentials for connecting to Google Sheets and Google Drive APIs | | -| `destinationType` | [com.airbyte.api.models.shared.DestinationGoogleSheetsGoogleSheets](../../models/shared/DestinationGoogleSheetsGoogleSheets.md) | :heavy_check_mark: | N/A | | +| `credentials` | [AuthenticationViaGoogleOAuth](../../models/shared/AuthenticationViaGoogleOAuth.md) | :heavy_check_mark: | Google API Credentials for connecting to Google Sheets and Google Drive APIs | | +| `destinationType` | [DestinationGoogleSheetsGoogleSheets](../../models/shared/DestinationGoogleSheetsGoogleSheets.md) | :heavy_check_mark: | N/A | | | `spreadsheetId` | *String* | :heavy_check_mark: | The link to your spreadsheet. See this guide for more details. | https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit | \ No newline at end of file diff --git a/docs/models/shared/DestinationIceberg.md b/docs/models/shared/DestinationIceberg.md new file mode 100644 index 000000000..8b96822be --- /dev/null +++ b/docs/models/shared/DestinationIceberg.md @@ -0,0 +1,11 @@ +# DestinationIceberg + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `catalogConfig` | [IcebergCatalogConfig](../../models/shared/IcebergCatalogConfig.md) | :heavy_check_mark: | Catalog config of Iceberg. | +| `destinationType` | [Iceberg](../../models/shared/Iceberg.md) | :heavy_check_mark: | N/A | +| `formatConfig` | [FileFormat](../../models/shared/FileFormat.md) | :heavy_check_mark: | File format of Iceberg storage. | +| `storageConfig` | [StorageConfig](../../models/shared/StorageConfig.md) | :heavy_check_mark: | Storage config of Iceberg. | \ No newline at end of file diff --git a/docs/models/shared/DestinationIcebergCatalogType.md b/docs/models/shared/DestinationIcebergCatalogType.md new file mode 100644 index 000000000..c84f42206 --- /dev/null +++ b/docs/models/shared/DestinationIcebergCatalogType.md @@ -0,0 +1,8 @@ +# DestinationIcebergCatalogType + + +## Values + +| Name | Value | +| -------- | -------- | +| `HADOOP` | Hadoop | \ No newline at end of file diff --git a/docs/models/shared/DestinationIcebergS3.md b/docs/models/shared/DestinationIcebergS3.md new file mode 100644 index 000000000..a924159ac --- /dev/null +++ b/docs/models/shared/DestinationIcebergS3.md @@ -0,0 +1,16 @@ +# DestinationIcebergS3 + +S3 object storage + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessKeyId` | *String* | :heavy_check_mark: | The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more here. | A012345678910EXAMPLE | +| `s3BucketRegion` | [Optional\](../../models/shared/DestinationIcebergS3BucketRegion.md) | :heavy_minus_sign: | The region of the S3 bucket. See here for all region codes. | | +| `s3Endpoint` | *Optional\* | :heavy_minus_sign: | Your S3 endpoint url. Read more here | http://localhost:9000 | +| `s3PathStyleAccess` | *Optional\* | :heavy_minus_sign: | Use path style access | true | +| `s3WarehouseUri` | *String* | :heavy_check_mark: | The Warehouse Uri for Iceberg | s3a://my-bucket/path/to/warehouse | +| `secretAccessKey` | *String* | :heavy_check_mark: | The corresponding secret to the access key ID. Read more here | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | +| `storageType` | [Optional\](../../models/shared/StorageType.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/DestinationIcebergS3BucketRegion.md b/docs/models/shared/DestinationIcebergS3BucketRegion.md new file mode 100644 index 000000000..837b818c3 --- /dev/null +++ b/docs/models/shared/DestinationIcebergS3BucketRegion.md @@ -0,0 +1,43 @@ +# DestinationIcebergS3BucketRegion + +The region of the S3 bucket. See here for all region codes. + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `UNKNOWN` | | +| `AF_SOUTH1` | af-south-1 | +| `AP_EAST1` | ap-east-1 | +| `AP_NORTHEAST1` | ap-northeast-1 | +| `AP_NORTHEAST2` | ap-northeast-2 | +| `AP_NORTHEAST3` | ap-northeast-3 | +| `AP_SOUTH1` | ap-south-1 | +| `AP_SOUTH2` | ap-south-2 | +| `AP_SOUTHEAST1` | ap-southeast-1 | +| `AP_SOUTHEAST2` | ap-southeast-2 | +| `AP_SOUTHEAST3` | ap-southeast-3 | +| `AP_SOUTHEAST4` | ap-southeast-4 | +| `CA_CENTRAL1` | ca-central-1 | +| `CA_WEST1` | ca-west-1 | +| `CN_NORTH1` | cn-north-1 | +| `CN_NORTHWEST1` | cn-northwest-1 | +| `EU_CENTRAL1` | eu-central-1 | +| `EU_CENTRAL2` | eu-central-2 | +| `EU_NORTH1` | eu-north-1 | +| `EU_SOUTH1` | eu-south-1 | +| `EU_SOUTH2` | eu-south-2 | +| `EU_WEST1` | eu-west-1 | +| `EU_WEST2` | eu-west-2 | +| `EU_WEST3` | eu-west-3 | +| `IL_CENTRAL1` | il-central-1 | +| `ME_CENTRAL1` | me-central-1 | +| `ME_SOUTH1` | me-south-1 | +| `SA_EAST1` | sa-east-1 | +| `US_EAST1` | us-east-1 | +| `US_EAST2` | us-east-2 | +| `US_GOV_EAST1` | us-gov-east-1 | +| `US_GOV_WEST1` | us-gov-west-1 | +| `US_WEST1` | us-west-1 | +| `US_WEST2` | us-west-2 | \ No newline at end of file diff --git a/docs/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.md b/docs/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.md new file mode 100644 index 000000000..d80e87da0 --- /dev/null +++ b/docs/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.md @@ -0,0 +1,8 @@ +# DestinationIcebergSchemasCatalogConfigCatalogType + + +## Values + +| Name | Value | +| ------ | ------ | +| `REST` | Rest | \ No newline at end of file diff --git a/docs/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.md b/docs/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.md new file mode 100644 index 000000000..147f35b6a --- /dev/null +++ b/docs/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.md @@ -0,0 +1,8 @@ +# DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType + + +## Values + +| Name | Value | +| ------ | ------ | +| `GLUE` | Glue | \ No newline at end of file diff --git a/docs/models/shared/DestinationIcebergSchemasCatalogType.md b/docs/models/shared/DestinationIcebergSchemasCatalogType.md new file mode 100644 index 000000000..180428ea9 --- /dev/null +++ b/docs/models/shared/DestinationIcebergSchemasCatalogType.md @@ -0,0 +1,8 @@ +# DestinationIcebergSchemasCatalogType + + +## Values + +| Name | Value | +| ------ | ------ | +| `JDBC` | Jdbc | \ No newline at end of file diff --git a/docs/models/shared/DestinationIcebergStorageType.md b/docs/models/shared/DestinationIcebergStorageType.md new file mode 100644 index 000000000..5b14ef185 --- /dev/null +++ b/docs/models/shared/DestinationIcebergStorageType.md @@ -0,0 +1,8 @@ +# DestinationIcebergStorageType + + +## Values + +| Name | Value | +| --------- | --------- | +| `MANAGED` | MANAGED | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvus.md b/docs/models/shared/DestinationMilvus.md index 0f8de39fc..2e0e30031 100644 --- a/docs/models/shared/DestinationMilvus.md +++ b/docs/models/shared/DestinationMilvus.md @@ -16,8 +16,8 @@ Processing, embedding and advanced configuration are provided by this base class | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.Milvus](../../models/shared/Milvus.md) | :heavy_check_mark: | N/A | -| `embedding` | [com.airbyte.api.models.shared.DestinationMilvusEmbedding](../../models/shared/DestinationMilvusEmbedding.md) | :heavy_check_mark: | Embedding configuration | -| `indexing` | [com.airbyte.api.models.shared.DestinationMilvusIndexing](../../models/shared/DestinationMilvusIndexing.md) | :heavy_check_mark: | Indexing configuration | -| `omitRawText` | *Optional* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | -| `processing` | [com.airbyte.api.models.shared.DestinationMilvusProcessingConfigModel](../../models/shared/DestinationMilvusProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `destinationType` | [Milvus](../../models/shared/Milvus.md) | :heavy_check_mark: | N/A | +| `embedding` | [DestinationMilvusEmbedding](../../models/shared/DestinationMilvusEmbedding.md) | :heavy_check_mark: | Embedding configuration | +| `indexing` | [DestinationMilvusIndexing](../../models/shared/DestinationMilvusIndexing.md) | :heavy_check_mark: | Indexing configuration | +| `omitRawText` | *Optional\* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | +| `processing` | [DestinationMilvusProcessingConfigModel](../../models/shared/DestinationMilvusProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusAPIToken.md b/docs/models/shared/DestinationMilvusAPIToken.md index 9b231a1fd..81937ed86 100644 --- a/docs/models/shared/DestinationMilvusAPIToken.md +++ b/docs/models/shared/DestinationMilvusAPIToken.md @@ -5,7 +5,7 @@ Authenticate using an API token (suitable for Zilliz Cloud) ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasIndexingMode.md) | :heavy_minus_sign: | N/A | -| `token` | *String* | :heavy_check_mark: | API Token for the Milvus instance | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasIndexingMode.md) | :heavy_minus_sign: | N/A | +| `token` | *String* | :heavy_check_mark: | API Token for the Milvus instance | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusAzureOpenAI.md b/docs/models/shared/DestinationMilvusAzureOpenAI.md index 7e9681677..1562bf6ac 100644 --- a/docs/models/shared/DestinationMilvusAzureOpenAI.md +++ b/docs/models/shared/DestinationMilvusAzureOpenAI.md @@ -5,9 +5,9 @@ Use the Azure-hosted OpenAI API to embed text. This option is using the text-emb ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | -| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | -| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | +| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | +| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusByMarkdownHeader.md b/docs/models/shared/DestinationMilvusByMarkdownHeader.md index cfaec5dd9..4af249b98 100644 --- a/docs/models/shared/DestinationMilvusByMarkdownHeader.md +++ b/docs/models/shared/DestinationMilvusByMarkdownHeader.md @@ -5,7 +5,7 @@ Split the text by Markdown headers down to the specified header level. If the ch ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | -| `splitLevel` | *Optional* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | +| `splitLevel` | *Optional\* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusByProgrammingLanguage.md b/docs/models/shared/DestinationMilvusByProgrammingLanguage.md index f4f3f2634..4a078dc24 100644 --- a/docs/models/shared/DestinationMilvusByProgrammingLanguage.md +++ b/docs/models/shared/DestinationMilvusByProgrammingLanguage.md @@ -5,7 +5,7 @@ Split the text by suitable delimiters based on the programming language. This is ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `language` | [com.airbyte.api.models.shared.DestinationMilvusLanguage](../../models/shared/DestinationMilvusLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `language` | [DestinationMilvusLanguage](../../models/shared/DestinationMilvusLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusBySeparator.md b/docs/models/shared/DestinationMilvusBySeparator.md index 04bf23bd3..888e3c597 100644 --- a/docs/models/shared/DestinationMilvusBySeparator.md +++ b/docs/models/shared/DestinationMilvusBySeparator.md @@ -7,6 +7,6 @@ Split the text by the list of separators until the chunk size is reached, using | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `keepSeparator` | *Optional* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | -| `separators` | List<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file +| `keepSeparator` | *Optional\* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | +| `separators` | List\<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusCohere.md b/docs/models/shared/DestinationMilvusCohere.md index c4ab68c28..88585c0cc 100644 --- a/docs/models/shared/DestinationMilvusCohere.md +++ b/docs/models/shared/DestinationMilvusCohere.md @@ -5,7 +5,7 @@ Use the Cohere API to embed text. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `cohereKey` | *String* | :heavy_check_mark: | N/A | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `cohereKey` | *String* | :heavy_check_mark: | N/A | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusFake.md b/docs/models/shared/DestinationMilvusFake.md index 3804c6735..b377a202a 100644 --- a/docs/models/shared/DestinationMilvusFake.md +++ b/docs/models/shared/DestinationMilvusFake.md @@ -5,6 +5,6 @@ Use a fake embedding made out of random vectors with 1536 embedding dimensions. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusIndexing.md b/docs/models/shared/DestinationMilvusIndexing.md index 7400cdfa3..6d5b50c2a 100644 --- a/docs/models/shared/DestinationMilvusIndexing.md +++ b/docs/models/shared/DestinationMilvusIndexing.md @@ -5,11 +5,11 @@ Indexing configuration ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `auth` | [com.airbyte.api.models.shared.DestinationMilvusAuthentication](../../models/shared/DestinationMilvusAuthentication.md) | :heavy_check_mark: | Authentication method | | -| `collection` | *String* | :heavy_check_mark: | The collection to load data into | | -| `db` | *Optional* | :heavy_minus_sign: | The database to connect to | | -| `host` | *String* | :heavy_check_mark: | The public endpoint of the Milvus instance. | https://my-instance.zone.zillizcloud.com | -| `textField` | *Optional* | :heavy_minus_sign: | The field in the entity that contains the embedded text | | -| `vectorField` | *Optional* | :heavy_minus_sign: | The field in the entity that contains the vector | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `auth` | [DestinationMilvusAuthentication](../../models/shared/DestinationMilvusAuthentication.md) | :heavy_check_mark: | Authentication method | | +| `collection` | *String* | :heavy_check_mark: | The collection to load data into | | +| `db` | *Optional\* | :heavy_minus_sign: | The database to connect to | | +| `host` | *String* | :heavy_check_mark: | The public endpoint of the Milvus instance. | https://my-instance.zone.zillizcloud.com | +| `textField` | *Optional\* | :heavy_minus_sign: | The field in the entity that contains the embedded text | | +| `vectorField` | *Optional\* | :heavy_minus_sign: | The field in the entity that contains the vector | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusOpenAI.md b/docs/models/shared/DestinationMilvusOpenAI.md index 90934855a..998cb5fb5 100644 --- a/docs/models/shared/DestinationMilvusOpenAI.md +++ b/docs/models/shared/DestinationMilvusOpenAI.md @@ -5,7 +5,7 @@ Use the OpenAI API to embed text. This option is using the text-embedding-ada-00 ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationMilvusMode.md) | :heavy_minus_sign: | N/A | -| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationMilvusMode.md) | :heavy_minus_sign: | N/A | +| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusOpenAICompatible.md b/docs/models/shared/DestinationMilvusOpenAICompatible.md index 145d4cbb2..4a87ac818 100644 --- a/docs/models/shared/DestinationMilvusOpenAICompatible.md +++ b/docs/models/shared/DestinationMilvusOpenAICompatible.md @@ -5,10 +5,10 @@ Use a service that's compatible with the OpenAI API to embed text. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | N/A | | -| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | -| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | -| `modelName` | *Optional* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `apiKey` | *Optional\* | :heavy_minus_sign: | N/A | | +| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | +| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | +| `modelName` | *Optional\* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusProcessingConfigModel.md b/docs/models/shared/DestinationMilvusProcessingConfigModel.md index 0c19030f1..5d0c43db3 100644 --- a/docs/models/shared/DestinationMilvusProcessingConfigModel.md +++ b/docs/models/shared/DestinationMilvusProcessingConfigModel.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `chunkOverlap` | *Optional* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | +| `chunkOverlap` | *Optional\* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | | `chunkSize` | *long* | :heavy_check_mark: | Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) | | -| `fieldNameMappings` | List<[com.airbyte.api.models.shared.DestinationMilvusFieldNameMappingConfigModel](../../models/shared/DestinationMilvusFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | -| `metadataFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | -| `textFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | -| `textSplitter` | [Optional](../../models/shared/DestinationMilvusTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file +| `fieldNameMappings` | List\<[DestinationMilvusFieldNameMappingConfigModel](../../models/shared/DestinationMilvusFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | +| `metadataFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | +| `textFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | +| `textSplitter` | [Optional\](../../models/shared/DestinationMilvusTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMilvusUsernamePassword.md b/docs/models/shared/DestinationMilvusUsernamePassword.md index fd1e0bad1..720760b4f 100644 --- a/docs/models/shared/DestinationMilvusUsernamePassword.md +++ b/docs/models/shared/DestinationMilvusUsernamePassword.md @@ -5,8 +5,8 @@ Authenticate using username and password (suitable for self-managed Milvus clust ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasIndexingAuthMode.md) | :heavy_minus_sign: | N/A | -| `password` | *String* | :heavy_check_mark: | Password for the Milvus instance | -| `username` | *String* | :heavy_check_mark: | Username for the Milvus instance | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasIndexingAuthMode.md) | :heavy_minus_sign: | N/A | +| `password` | *String* | :heavy_check_mark: | Password for the Milvus instance | +| `username` | *String* | :heavy_check_mark: | Username for the Milvus instance | \ No newline at end of file diff --git a/docs/models/shared/DestinationMongodb.md b/docs/models/shared/DestinationMongodb.md index 78282f122..6b94daa5d 100644 --- a/docs/models/shared/DestinationMongodb.md +++ b/docs/models/shared/DestinationMongodb.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.AuthorizationType](../../models/shared/AuthorizationType.md) | :heavy_check_mark: | Authorization type. | -| `database` | *String* | :heavy_check_mark: | Name of the database. | -| `destinationType` | [com.airbyte.api.models.shared.Mongodb](../../models/shared/Mongodb.md) | :heavy_check_mark: | N/A | -| `instanceType` | [Optional](../../models/shared/MongoDbInstanceType.md) | :heavy_minus_sign: | MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. | -| `tunnelMethod` | [Optional](../../models/shared/DestinationMongodbSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `authType` | [AuthorizationType](../../models/shared/AuthorizationType.md) | :heavy_check_mark: | Authorization type. | +| `database` | *String* | :heavy_check_mark: | Name of the database. | +| `destinationType` | [Mongodb](../../models/shared/Mongodb.md) | :heavy_check_mark: | N/A | +| `instanceType` | [Optional\](../../models/shared/MongoDbInstanceType.md) | :heavy_minus_sign: | MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. | +| `tunnelMethod` | [Optional\](../../models/shared/DestinationMongodbSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | \ No newline at end of file diff --git a/docs/models/shared/DestinationMongodbNoTunnel.md b/docs/models/shared/DestinationMongodbNoTunnel.md index 5b1018e77..b5f691ac1 100644 --- a/docs/models/shared/DestinationMongodbNoTunnel.md +++ b/docs/models/shared/DestinationMongodbNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationMongodbTunnelMethod](../../models/shared/DestinationMongodbTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `tunnelMethod` | [DestinationMongodbTunnelMethod](../../models/shared/DestinationMongodbTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/DestinationMongodbNone.md b/docs/models/shared/DestinationMongodbNone.md index 670b8d3ba..6faef2389 100644 --- a/docs/models/shared/DestinationMongodbNone.md +++ b/docs/models/shared/DestinationMongodbNone.md @@ -5,6 +5,6 @@ None. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `authorization` | [com.airbyte.api.models.shared.DestinationMongodbSchemasAuthorization](../../models/shared/DestinationMongodbSchemasAuthorization.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `authorization` | [DestinationMongodbSchemasAuthorization](../../models/shared/DestinationMongodbSchemasAuthorization.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationMongodbPasswordAuthentication.md b/docs/models/shared/DestinationMongodbPasswordAuthentication.md index d52f7e3b5..b50ce6874 100644 --- a/docs/models/shared/DestinationMongodbPasswordAuthentication.md +++ b/docs/models/shared/DestinationMongodbPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationMongodbSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationMongodbSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMongodbSSHKeyAuthentication.md b/docs/models/shared/DestinationMongodbSSHKeyAuthentication.md index 3310d847f..d8879fea8 100644 --- a/docs/models/shared/DestinationMongodbSSHKeyAuthentication.md +++ b/docs/models/shared/DestinationMongodbSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationMongodbSchemasTunnelMethod](../../models/shared/DestinationMongodbSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationMongodbSchemasTunnelMethod](../../models/shared/DestinationMongodbSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMotherduck.md b/docs/models/shared/DestinationMotherduck.md new file mode 100644 index 000000000..d1a20c67d --- /dev/null +++ b/docs/models/shared/DestinationMotherduck.md @@ -0,0 +1,11 @@ +# DestinationMotherduck + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `destinationType` | [Motherduck](../../models/shared/Motherduck.md) | :heavy_check_mark: | N/A | | +| `destinationPath` | *Optional\* | :heavy_minus_sign: | Path to a .duckdb file or 'md:' to connect to a MotherDuck database. If 'md:' is specified without a database name, the default MotherDuck database name ('my_db') will be used. | /local/destination.duckdb | +| `motherduckApiKey` | *String* | :heavy_check_mark: | API access token to use for authentication to a MotherDuck database. | | +| `schema` | *Optional\* | :heavy_minus_sign: | Database schema name, defaults to 'main' if not specified. | main | \ No newline at end of file diff --git a/docs/models/shared/DestinationMssql.md b/docs/models/shared/DestinationMssql.md index ef28c888b..36f07f3c2 100644 --- a/docs/models/shared/DestinationMssql.md +++ b/docs/models/shared/DestinationMssql.md @@ -6,13 +6,13 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `database` | *String* | :heavy_check_mark: | The name of the MSSQL database. | | -| `destinationType` | [com.airbyte.api.models.shared.Mssql](../../models/shared/Mssql.md) | :heavy_check_mark: | N/A | | +| `destinationType` | [Mssql](../../models/shared/Mssql.md) | :heavy_check_mark: | N/A | | | `host` | *String* | :heavy_check_mark: | The host name of the MSSQL database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | -| `password` | *Optional* | :heavy_minus_sign: | The password associated with this username. | | -| `port` | *Optional* | :heavy_minus_sign: | The port of the MSSQL database. | 1433 | -| `rawDataSchema` | *Optional* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | -| `schema` | *Optional* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | -| `sslMethod` | [Optional](../../models/shared/SSLMethod.md) | :heavy_minus_sign: | The encryption method which is used to communicate with the database. | | -| `tunnelMethod` | [Optional](../../models/shared/DestinationMssqlSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `password` | *Optional\* | :heavy_minus_sign: | The password associated with this username. | | +| `port` | *Optional\* | :heavy_minus_sign: | The port of the MSSQL database. | 1433 | +| `rawDataSchema` | *Optional\* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | +| `schema` | *Optional\* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | +| `sslMethod` | [Optional\](../../models/shared/SSLMethod.md) | :heavy_minus_sign: | The encryption method which is used to communicate with the database. | | +| `tunnelMethod` | [Optional\](../../models/shared/DestinationMssqlSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | The username which is used to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMssqlNoTunnel.md b/docs/models/shared/DestinationMssqlNoTunnel.md index 006c913f6..dca6b79d3 100644 --- a/docs/models/shared/DestinationMssqlNoTunnel.md +++ b/docs/models/shared/DestinationMssqlNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationMssqlTunnelMethod](../../models/shared/DestinationMssqlTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `tunnelMethod` | [DestinationMssqlTunnelMethod](../../models/shared/DestinationMssqlTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/DestinationMssqlPasswordAuthentication.md b/docs/models/shared/DestinationMssqlPasswordAuthentication.md index b79f510bf..0eabb9ee9 100644 --- a/docs/models/shared/DestinationMssqlPasswordAuthentication.md +++ b/docs/models/shared/DestinationMssqlPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationMssqlSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationMssqlSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMssqlSSHKeyAuthentication.md b/docs/models/shared/DestinationMssqlSSHKeyAuthentication.md index c6027290c..1bddfa8a8 100644 --- a/docs/models/shared/DestinationMssqlSSHKeyAuthentication.md +++ b/docs/models/shared/DestinationMssqlSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationMssqlSchemasTunnelMethod](../../models/shared/DestinationMssqlSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationMssqlSchemasTunnelMethod](../../models/shared/DestinationMssqlSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMysql.md b/docs/models/shared/DestinationMysql.md index d345fd8d8..f706f30e3 100644 --- a/docs/models/shared/DestinationMysql.md +++ b/docs/models/shared/DestinationMysql.md @@ -6,13 +6,13 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `database` | *String* | :heavy_check_mark: | Name of the database. | | -| `destinationType` | [com.airbyte.api.models.shared.Mysql](../../models/shared/Mysql.md) | :heavy_check_mark: | N/A | | -| `disableTypeDedupe` | *Optional* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | +| `destinationType` | [Mysql](../../models/shared/Mysql.md) | :heavy_check_mark: | N/A | | +| `disableTypeDedupe` | *Optional\* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | | `host` | *String* | :heavy_check_mark: | Hostname of the database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | -| `password` | *Optional* | :heavy_minus_sign: | Password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | Port of the database. | 3306 | -| `rawDataSchema` | *Optional* | :heavy_minus_sign: | The database to write raw tables into | | -| `ssl` | *Optional* | :heavy_minus_sign: | Encrypt data using SSL. | | -| `tunnelMethod` | [Optional](../../models/shared/DestinationMysqlSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `password` | *Optional\* | :heavy_minus_sign: | Password associated with the username. | | +| `port` | *Optional\* | :heavy_minus_sign: | Port of the database. | 3306 | +| `rawDataSchema` | *Optional\* | :heavy_minus_sign: | The database to write raw tables into | | +| `ssl` | *Optional\* | :heavy_minus_sign: | Encrypt data using SSL. | | +| `tunnelMethod` | [Optional\](../../models/shared/DestinationMysqlSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | Username to use to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMysqlNoTunnel.md b/docs/models/shared/DestinationMysqlNoTunnel.md index 3cce0af8c..2ae01af13 100644 --- a/docs/models/shared/DestinationMysqlNoTunnel.md +++ b/docs/models/shared/DestinationMysqlNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationMysqlTunnelMethod](../../models/shared/DestinationMysqlTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `tunnelMethod` | [DestinationMysqlTunnelMethod](../../models/shared/DestinationMysqlTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/DestinationMysqlPasswordAuthentication.md b/docs/models/shared/DestinationMysqlPasswordAuthentication.md index cde29a41d..2735c59ec 100644 --- a/docs/models/shared/DestinationMysqlPasswordAuthentication.md +++ b/docs/models/shared/DestinationMysqlPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationMysqlSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationMysqlSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/DestinationMysqlSSHKeyAuthentication.md b/docs/models/shared/DestinationMysqlSSHKeyAuthentication.md index ae3d57118..f2d2fd1ff 100644 --- a/docs/models/shared/DestinationMysqlSSHKeyAuthentication.md +++ b/docs/models/shared/DestinationMysqlSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationMysqlSchemasTunnelMethod](../../models/shared/DestinationMysqlSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationMysqlSchemasTunnelMethod](../../models/shared/DestinationMysqlSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationOracle.md b/docs/models/shared/DestinationOracle.md index 2d69e28ac..8e3147c58 100644 --- a/docs/models/shared/DestinationOracle.md +++ b/docs/models/shared/DestinationOracle.md @@ -5,14 +5,14 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `destinationType` | [com.airbyte.api.models.shared.Oracle](../../models/shared/Oracle.md) | :heavy_check_mark: | N/A | | -| `encryption` | [Optional](../../models/shared/Encryption.md) | :heavy_minus_sign: | The encryption method which is used when communicating with the database. | | +| `destinationType` | [Oracle](../../models/shared/Oracle.md) | :heavy_check_mark: | N/A | | +| `encryption` | [Optional\](../../models/shared/Encryption.md) | :heavy_minus_sign: | The encryption method which is used when communicating with the database. | | | `host` | *String* | :heavy_check_mark: | The hostname of the database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | -| `password` | *Optional* | :heavy_minus_sign: | The password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | The port of the database. | 1521 | -| `rawDataSchema` | *Optional* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | -| `schema` | *Optional* | :heavy_minus_sign: | The default schema is used as the target schema for all statements issued from the connection that do not explicitly specify a schema name. The usual value for this field is "airbyte". In Oracle, schemas and users are the same thing, so the "user" parameter is used as the login credentials and this is used for the default Airbyte message schema. | airbyte | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `password` | *Optional\* | :heavy_minus_sign: | The password associated with the username. | | +| `port` | *Optional\* | :heavy_minus_sign: | The port of the database. | 1521 | +| `rawDataSchema` | *Optional\* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | +| `schema` | *Optional\* | :heavy_minus_sign: | The default schema is used as the target schema for all statements issued from the connection that do not explicitly specify a schema name. The usual value for this field is "airbyte". In Oracle, schemas and users are the same thing, so the "user" parameter is used as the login credentials and this is used for the default Airbyte message schema. | airbyte | | `sid` | *String* | :heavy_check_mark: | The System Identifier uniquely distinguishes the instance from any other instance on the same computer. | | -| `tunnelMethod` | [Optional](../../models/shared/DestinationOracleSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `tunnelMethod` | [Optional\](../../models/shared/DestinationOracleSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | The username to access the database. This user must have CREATE USER privileges in the database. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationOracleNoTunnel.md b/docs/models/shared/DestinationOracleNoTunnel.md index 209a62de7..945311de5 100644 --- a/docs/models/shared/DestinationOracleNoTunnel.md +++ b/docs/models/shared/DestinationOracleNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationOracleTunnelMethod](../../models/shared/DestinationOracleTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `tunnelMethod` | [DestinationOracleTunnelMethod](../../models/shared/DestinationOracleTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/DestinationOraclePasswordAuthentication.md b/docs/models/shared/DestinationOraclePasswordAuthentication.md index ed911ae03..256b1acd1 100644 --- a/docs/models/shared/DestinationOraclePasswordAuthentication.md +++ b/docs/models/shared/DestinationOraclePasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationOracleSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationOracleSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/DestinationOracleSSHKeyAuthentication.md b/docs/models/shared/DestinationOracleSSHKeyAuthentication.md index f8c9bd9b0..89ce53d2a 100644 --- a/docs/models/shared/DestinationOracleSSHKeyAuthentication.md +++ b/docs/models/shared/DestinationOracleSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationOracleSchemasTunnelMethod](../../models/shared/DestinationOracleSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationOracleSchemasTunnelMethod](../../models/shared/DestinationOracleSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationOracleUnencrypted.md b/docs/models/shared/DestinationOracleUnencrypted.md index cf50a4e56..5c878356a 100644 --- a/docs/models/shared/DestinationOracleUnencrypted.md +++ b/docs/models/shared/DestinationOracleUnencrypted.md @@ -5,6 +5,6 @@ Data transfer will not be encrypted. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `encryptionMethod` | [Optional](../../models/shared/EncryptionMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `encryptionMethod` | [Optional\](../../models/shared/EncryptionMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPatchRequest.md b/docs/models/shared/DestinationPatchRequest.md index d89e68c83..1a9d7df8d 100644 --- a/docs/models/shared/DestinationPatchRequest.md +++ b/docs/models/shared/DestinationPatchRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `configuration` | [Optional](../../models/shared/DestinationConfiguration.md) | :heavy_minus_sign: | The values required to configure the destination. | {
"user": "charles"
} | -| `name` | *Optional* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `configuration` | [Optional\](../../models/shared/DestinationConfiguration.md) | :heavy_minus_sign: | The values required to configure the destination. | {
"user": "charles"
} | +| `name` | *Optional\* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvector.md b/docs/models/shared/DestinationPgvector.md index 0a825fc2e..e3fa5b8a0 100644 --- a/docs/models/shared/DestinationPgvector.md +++ b/docs/models/shared/DestinationPgvector.md @@ -16,8 +16,8 @@ Processing, embedding and advanced configuration are provided by this base class | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.Pgvector](../../models/shared/Pgvector.md) | :heavy_check_mark: | N/A | -| `embedding` | [com.airbyte.api.models.shared.DestinationPgvectorEmbedding](../../models/shared/DestinationPgvectorEmbedding.md) | :heavy_check_mark: | Embedding configuration | -| `indexing` | [com.airbyte.api.models.shared.PostgresConnection](../../models/shared/PostgresConnection.md) | :heavy_check_mark: | Postgres can be used to store vector data and retrieve embeddings. | -| `omitRawText` | *Optional* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | -| `processing` | [com.airbyte.api.models.shared.DestinationPgvectorProcessingConfigModel](../../models/shared/DestinationPgvectorProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `destinationType` | [Pgvector](../../models/shared/Pgvector.md) | :heavy_check_mark: | N/A | +| `embedding` | [DestinationPgvectorEmbedding](../../models/shared/DestinationPgvectorEmbedding.md) | :heavy_check_mark: | Embedding configuration | +| `indexing` | [PostgresConnection](../../models/shared/PostgresConnection.md) | :heavy_check_mark: | Postgres can be used to store vector data and retrieve embeddings. | +| `omitRawText` | *Optional\* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | +| `processing` | [DestinationPgvectorProcessingConfigModel](../../models/shared/DestinationPgvectorProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvectorAzureOpenAI.md b/docs/models/shared/DestinationPgvectorAzureOpenAI.md index 5f9496e39..b05514faf 100644 --- a/docs/models/shared/DestinationPgvectorAzureOpenAI.md +++ b/docs/models/shared/DestinationPgvectorAzureOpenAI.md @@ -5,9 +5,9 @@ Use the Azure-hosted OpenAI API to embed text. This option is using the text-emb ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | -| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | -| `mode` | [Optional](../../models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | -| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | +| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | +| `mode` | [Optional\](../../models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | +| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvectorByMarkdownHeader.md b/docs/models/shared/DestinationPgvectorByMarkdownHeader.md index 49d45df90..d6a7e603f 100644 --- a/docs/models/shared/DestinationPgvectorByMarkdownHeader.md +++ b/docs/models/shared/DestinationPgvectorByMarkdownHeader.md @@ -5,7 +5,7 @@ Split the text by Markdown headers down to the specified header level. If the ch ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | -| `splitLevel` | *Optional* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | +| `splitLevel` | *Optional\* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvectorByProgrammingLanguage.md b/docs/models/shared/DestinationPgvectorByProgrammingLanguage.md index b117b5710..0ad07a2b8 100644 --- a/docs/models/shared/DestinationPgvectorByProgrammingLanguage.md +++ b/docs/models/shared/DestinationPgvectorByProgrammingLanguage.md @@ -5,7 +5,7 @@ Split the text by suitable delimiters based on the programming language. This is ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `language` | [com.airbyte.api.models.shared.DestinationPgvectorLanguage](../../models/shared/DestinationPgvectorLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | -| `mode` | [Optional](../../models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `language` | [DestinationPgvectorLanguage](../../models/shared/DestinationPgvectorLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | +| `mode` | [Optional\](../../models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvectorBySeparator.md b/docs/models/shared/DestinationPgvectorBySeparator.md index 1e2c818cb..b4389b62a 100644 --- a/docs/models/shared/DestinationPgvectorBySeparator.md +++ b/docs/models/shared/DestinationPgvectorBySeparator.md @@ -7,6 +7,6 @@ Split the text by the list of separators until the chunk size is reached, using | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `keepSeparator` | *Optional* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | -| `mode` | [Optional](../../models/shared/DestinationPgvectorSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | -| `separators` | List<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file +| `keepSeparator` | *Optional\* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | +| `mode` | [Optional\](../../models/shared/DestinationPgvectorSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | +| `separators` | List\<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvectorCohere.md b/docs/models/shared/DestinationPgvectorCohere.md index 5aa9f5df8..476e51d7a 100644 --- a/docs/models/shared/DestinationPgvectorCohere.md +++ b/docs/models/shared/DestinationPgvectorCohere.md @@ -5,7 +5,7 @@ Use the Cohere API to embed text. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `cohereKey` | *String* | :heavy_check_mark: | N/A | -| `mode` | [Optional](../../models/shared/DestinationPgvectorSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `cohereKey` | *String* | :heavy_check_mark: | N/A | +| `mode` | [Optional\](../../models/shared/DestinationPgvectorSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvectorFake.md b/docs/models/shared/DestinationPgvectorFake.md index 4242b1780..d95301bbb 100644 --- a/docs/models/shared/DestinationPgvectorFake.md +++ b/docs/models/shared/DestinationPgvectorFake.md @@ -5,6 +5,6 @@ Use a fake embedding made out of random vectors with 1536 embedding dimensions. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationPgvectorSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationPgvectorSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvectorOpenAI.md b/docs/models/shared/DestinationPgvectorOpenAI.md index c0d907a6f..925b88c5b 100644 --- a/docs/models/shared/DestinationPgvectorOpenAI.md +++ b/docs/models/shared/DestinationPgvectorOpenAI.md @@ -5,7 +5,7 @@ Use the OpenAI API to embed text. This option is using the text-embedding-ada-00 ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationPgvectorMode.md) | :heavy_minus_sign: | N/A | -| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationPgvectorMode.md) | :heavy_minus_sign: | N/A | +| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvectorOpenAICompatible.md b/docs/models/shared/DestinationPgvectorOpenAICompatible.md index b52c6110b..8b799e4c4 100644 --- a/docs/models/shared/DestinationPgvectorOpenAICompatible.md +++ b/docs/models/shared/DestinationPgvectorOpenAICompatible.md @@ -5,10 +5,10 @@ Use a service that's compatible with the OpenAI API to embed text. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | N/A | | -| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | -| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | -| `mode` | [Optional](../../models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | -| `modelName` | *Optional* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *Optional\* | :heavy_minus_sign: | N/A | | +| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | +| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | +| `mode` | [Optional\](../../models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | +| `modelName` | *Optional\* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file diff --git a/docs/models/shared/DestinationPgvectorProcessingConfigModel.md b/docs/models/shared/DestinationPgvectorProcessingConfigModel.md index d0af434dd..6e79c0f89 100644 --- a/docs/models/shared/DestinationPgvectorProcessingConfigModel.md +++ b/docs/models/shared/DestinationPgvectorProcessingConfigModel.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `chunkOverlap` | *Optional* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | +| `chunkOverlap` | *Optional\* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | | `chunkSize` | *long* | :heavy_check_mark: | Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) | | -| `fieldNameMappings` | List<[com.airbyte.api.models.shared.DestinationPgvectorFieldNameMappingConfigModel](../../models/shared/DestinationPgvectorFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | -| `metadataFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | -| `textFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | -| `textSplitter` | [Optional](../../models/shared/DestinationPgvectorTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file +| `fieldNameMappings` | List\<[DestinationPgvectorFieldNameMappingConfigModel](../../models/shared/DestinationPgvectorFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | +| `metadataFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | +| `textFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | +| `textSplitter` | [Optional\](../../models/shared/DestinationPgvectorTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationPinecone.md b/docs/models/shared/DestinationPinecone.md index c434f67ee..84fe73b0f 100644 --- a/docs/models/shared/DestinationPinecone.md +++ b/docs/models/shared/DestinationPinecone.md @@ -16,8 +16,8 @@ Processing, embedding and advanced configuration are provided by this base class | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.Pinecone](../../models/shared/Pinecone.md) | :heavy_check_mark: | N/A | -| `embedding` | [com.airbyte.api.models.shared.DestinationPineconeEmbedding](../../models/shared/DestinationPineconeEmbedding.md) | :heavy_check_mark: | Embedding configuration | -| `indexing` | [com.airbyte.api.models.shared.DestinationPineconeIndexing](../../models/shared/DestinationPineconeIndexing.md) | :heavy_check_mark: | Pinecone is a popular vector store that can be used to store and retrieve embeddings. | -| `omitRawText` | *Optional* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | -| `processing` | [com.airbyte.api.models.shared.DestinationPineconeProcessingConfigModel](../../models/shared/DestinationPineconeProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `destinationType` | [Pinecone](../../models/shared/Pinecone.md) | :heavy_check_mark: | N/A | +| `embedding` | [DestinationPineconeEmbedding](../../models/shared/DestinationPineconeEmbedding.md) | :heavy_check_mark: | Embedding configuration | +| `indexing` | [DestinationPineconeIndexing](../../models/shared/DestinationPineconeIndexing.md) | :heavy_check_mark: | Pinecone is a popular vector store that can be used to store and retrieve embeddings. | +| `omitRawText` | *Optional\* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | +| `processing` | [DestinationPineconeProcessingConfigModel](../../models/shared/DestinationPineconeProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPineconeAzureOpenAI.md b/docs/models/shared/DestinationPineconeAzureOpenAI.md index 7b2f1569f..28a73d34b 100644 --- a/docs/models/shared/DestinationPineconeAzureOpenAI.md +++ b/docs/models/shared/DestinationPineconeAzureOpenAI.md @@ -5,9 +5,9 @@ Use the Azure-hosted OpenAI API to embed text. This option is using the text-emb ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | -| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | -| `mode` | [Optional](../../models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | -| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | +| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | +| `mode` | [Optional\](../../models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | +| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file diff --git a/docs/models/shared/DestinationPineconeByMarkdownHeader.md b/docs/models/shared/DestinationPineconeByMarkdownHeader.md index ec99c96e8..4aa78c131 100644 --- a/docs/models/shared/DestinationPineconeByMarkdownHeader.md +++ b/docs/models/shared/DestinationPineconeByMarkdownHeader.md @@ -5,7 +5,7 @@ Split the text by Markdown headers down to the specified header level. If the ch ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | -| `splitLevel` | *Optional* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | +| `splitLevel` | *Optional\* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file diff --git a/docs/models/shared/DestinationPineconeByProgrammingLanguage.md b/docs/models/shared/DestinationPineconeByProgrammingLanguage.md index 0a9a37829..3db549278 100644 --- a/docs/models/shared/DestinationPineconeByProgrammingLanguage.md +++ b/docs/models/shared/DestinationPineconeByProgrammingLanguage.md @@ -5,7 +5,7 @@ Split the text by suitable delimiters based on the programming language. This is ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `language` | [com.airbyte.api.models.shared.DestinationPineconeLanguage](../../models/shared/DestinationPineconeLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | -| `mode` | [Optional](../../models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `language` | [DestinationPineconeLanguage](../../models/shared/DestinationPineconeLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | +| `mode` | [Optional\](../../models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPineconeBySeparator.md b/docs/models/shared/DestinationPineconeBySeparator.md index d99431647..c113e5075 100644 --- a/docs/models/shared/DestinationPineconeBySeparator.md +++ b/docs/models/shared/DestinationPineconeBySeparator.md @@ -7,6 +7,6 @@ Split the text by the list of separators until the chunk size is reached, using | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `keepSeparator` | *Optional* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | -| `mode` | [Optional](../../models/shared/DestinationPineconeSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | -| `separators` | List<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file +| `keepSeparator` | *Optional\* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | +| `mode` | [Optional\](../../models/shared/DestinationPineconeSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | +| `separators` | List\<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file diff --git a/docs/models/shared/DestinationPineconeCohere.md b/docs/models/shared/DestinationPineconeCohere.md index d62e8c2d6..0331a1e03 100644 --- a/docs/models/shared/DestinationPineconeCohere.md +++ b/docs/models/shared/DestinationPineconeCohere.md @@ -5,7 +5,7 @@ Use the Cohere API to embed text. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `cohereKey` | *String* | :heavy_check_mark: | N/A | -| `mode` | [Optional](../../models/shared/DestinationPineconeSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `cohereKey` | *String* | :heavy_check_mark: | N/A | +| `mode` | [Optional\](../../models/shared/DestinationPineconeSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPineconeFake.md b/docs/models/shared/DestinationPineconeFake.md index 883917662..2e2c772ea 100644 --- a/docs/models/shared/DestinationPineconeFake.md +++ b/docs/models/shared/DestinationPineconeFake.md @@ -5,6 +5,6 @@ Use a fake embedding made out of random vectors with 1536 embedding dimensions. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationPineconeSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationPineconeSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPineconeOpenAI.md b/docs/models/shared/DestinationPineconeOpenAI.md index 17635cd0a..a11d15068 100644 --- a/docs/models/shared/DestinationPineconeOpenAI.md +++ b/docs/models/shared/DestinationPineconeOpenAI.md @@ -5,7 +5,7 @@ Use the OpenAI API to embed text. This option is using the text-embedding-ada-00 ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationPineconeMode.md) | :heavy_minus_sign: | N/A | -| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationPineconeMode.md) | :heavy_minus_sign: | N/A | +| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationPineconeOpenAICompatible.md b/docs/models/shared/DestinationPineconeOpenAICompatible.md index 527d756db..bf7b6036e 100644 --- a/docs/models/shared/DestinationPineconeOpenAICompatible.md +++ b/docs/models/shared/DestinationPineconeOpenAICompatible.md @@ -5,10 +5,10 @@ Use a service that's compatible with the OpenAI API to embed text. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | N/A | | -| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | -| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | -| `mode` | [Optional](../../models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | -| `modelName` | *Optional* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *Optional\* | :heavy_minus_sign: | N/A | | +| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | +| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | +| `mode` | [Optional\](../../models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | +| `modelName` | *Optional\* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file diff --git a/docs/models/shared/DestinationPineconeProcessingConfigModel.md b/docs/models/shared/DestinationPineconeProcessingConfigModel.md index 2405854d2..d8df90739 100644 --- a/docs/models/shared/DestinationPineconeProcessingConfigModel.md +++ b/docs/models/shared/DestinationPineconeProcessingConfigModel.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `chunkOverlap` | *Optional* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | +| `chunkOverlap` | *Optional\* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | | `chunkSize` | *long* | :heavy_check_mark: | Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) | | -| `fieldNameMappings` | List<[com.airbyte.api.models.shared.DestinationPineconeFieldNameMappingConfigModel](../../models/shared/DestinationPineconeFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | -| `metadataFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | -| `textFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | -| `textSplitter` | [Optional](../../models/shared/DestinationPineconeTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file +| `fieldNameMappings` | List\<[DestinationPineconeFieldNameMappingConfigModel](../../models/shared/DestinationPineconeFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | +| `metadataFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | +| `textFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | +| `textSplitter` | [Optional\](../../models/shared/DestinationPineconeTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationPostgres.md b/docs/models/shared/DestinationPostgres.md index 3522d7a7d..7fff7e4b5 100644 --- a/docs/models/shared/DestinationPostgres.md +++ b/docs/models/shared/DestinationPostgres.md @@ -6,16 +6,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `database` | *String* | :heavy_check_mark: | Name of the database. | | -| `destinationType` | [com.airbyte.api.models.shared.Postgres](../../models/shared/Postgres.md) | :heavy_check_mark: | N/A | | -| `disableTypeDedupe` | *Optional* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | -| `dropCascade` | *Optional* | :heavy_minus_sign: | Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. | | +| `destinationType` | [Postgres](../../models/shared/Postgres.md) | :heavy_check_mark: | N/A | | +| `disableTypeDedupe` | *Optional\* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | +| `dropCascade` | *Optional\* | :heavy_minus_sign: | Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. | | | `host` | *String* | :heavy_check_mark: | Hostname of the database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | -| `password` | *Optional* | :heavy_minus_sign: | Password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | Port of the database. | 5432 | -| `rawDataSchema` | *Optional* | :heavy_minus_sign: | The schema to write raw tables into | | -| `schema` | *Optional* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | -| `ssl` | *Optional* | :heavy_minus_sign: | Encrypt data using SSL. When activating SSL, please select one of the connection modes. | | -| `sslMode` | [Optional](../../models/shared/SSLModes.md) | :heavy_minus_sign: | SSL connection modes.
disable - Chose this mode to disable encryption of communication between Airbyte and destination database
allow - Chose this mode to enable encryption only when required by the source database
prefer - Chose this mode to allow unencrypted connection only if the source database does not support encryption
require - Chose this mode to always require encryption. If the source database server does not support encryption, connection will fail
verify-ca - Chose this mode to always require encryption and to verify that the source database server has a valid SSL certificate
verify-full - This is the most secure mode. Chose this mode to always require encryption and to verify the identity of the source database server
See more information - in the docs. | | -| `tunnelMethod` | [Optional](../../models/shared/DestinationPostgresSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `password` | *Optional\* | :heavy_minus_sign: | Password associated with the username. | | +| `port` | *Optional\* | :heavy_minus_sign: | Port of the database. | 5432 | +| `rawDataSchema` | *Optional\* | :heavy_minus_sign: | The schema to write raw tables into | | +| `schema` | *Optional\* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | +| `ssl` | *Optional\* | :heavy_minus_sign: | Encrypt data using SSL. When activating SSL, please select one of the connection modes. | | +| `sslMode` | [Optional\](../../models/shared/SSLModes.md) | :heavy_minus_sign: | SSL connection modes.
disable - Chose this mode to disable encryption of communication between Airbyte and destination database
allow - Chose this mode to enable encryption only when required by the source database
prefer - Chose this mode to allow unencrypted connection only if the source database does not support encryption
require - Chose this mode to always require encryption. If the source database server does not support encryption, connection will fail
verify-ca - Chose this mode to always require encryption and to verify that the source database server has a valid SSL certificate
verify-full - This is the most secure mode. Chose this mode to always require encryption and to verify the identity of the source database server
See more information - in the docs. | | +| `tunnelMethod` | [Optional\](../../models/shared/DestinationPostgresSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | Username to use to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationPostgresNoTunnel.md b/docs/models/shared/DestinationPostgresNoTunnel.md index c04d1f5e4..099270e3d 100644 --- a/docs/models/shared/DestinationPostgresNoTunnel.md +++ b/docs/models/shared/DestinationPostgresNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationPostgresTunnelMethod](../../models/shared/DestinationPostgresTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `tunnelMethod` | [DestinationPostgresTunnelMethod](../../models/shared/DestinationPostgresTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/DestinationPostgresPasswordAuthentication.md b/docs/models/shared/DestinationPostgresPasswordAuthentication.md index 846a7765c..af1ee13f2 100644 --- a/docs/models/shared/DestinationPostgresPasswordAuthentication.md +++ b/docs/models/shared/DestinationPostgresPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationPostgresSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationPostgresSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/DestinationPostgresSSHKeyAuthentication.md b/docs/models/shared/DestinationPostgresSSHKeyAuthentication.md index 4061036d7..f97fc0215 100644 --- a/docs/models/shared/DestinationPostgresSSHKeyAuthentication.md +++ b/docs/models/shared/DestinationPostgresSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationPostgresSchemasTunnelMethod](../../models/shared/DestinationPostgresSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationPostgresSchemasTunnelMethod](../../models/shared/DestinationPostgresSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.md b/docs/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.md new file mode 100644 index 000000000..7dbda3706 --- /dev/null +++ b/docs/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.md @@ -0,0 +1,8 @@ +# DestinationPostgresSchemasSSLModeSSLModes1Mode + + +## Values + +| Name | Value | +| --------- | --------- | +| `DISABLE` | disable | \ No newline at end of file diff --git a/docs/models/shared/DestinationPubsub.md b/docs/models/shared/DestinationPubsub.md index ffbf9c0c4..8a68af49d 100644 --- a/docs/models/shared/DestinationPubsub.md +++ b/docs/models/shared/DestinationPubsub.md @@ -5,12 +5,12 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `batchingDelayThreshold` | *Optional* | :heavy_minus_sign: | Number of ms before the buffer is flushed | -| `batchingElementCountThreshold` | *Optional* | :heavy_minus_sign: | Number of messages before the buffer is flushed | -| `batchingEnabled` | *Optional* | :heavy_minus_sign: | If TRUE messages will be buffered instead of sending them one by one | -| `batchingRequestBytesThreshold` | *Optional* | :heavy_minus_sign: | Number of bytes before the buffer is flushed | +| `batchingDelayThreshold` | *Optional\* | :heavy_minus_sign: | Number of ms before the buffer is flushed | +| `batchingElementCountThreshold` | *Optional\* | :heavy_minus_sign: | Number of messages before the buffer is flushed | +| `batchingEnabled` | *Optional\* | :heavy_minus_sign: | If TRUE messages will be buffered instead of sending them one by one | +| `batchingRequestBytesThreshold` | *Optional\* | :heavy_minus_sign: | Number of bytes before the buffer is flushed | | `credentialsJson` | *String* | :heavy_check_mark: | The contents of the JSON service account key. Check out the docs if you need help generating this key. | -| `destinationType` | [com.airbyte.api.models.shared.Pubsub](../../models/shared/Pubsub.md) | :heavy_check_mark: | N/A | -| `orderingEnabled` | *Optional* | :heavy_minus_sign: | If TRUE PubSub publisher will have message ordering enabled. Every message will have an ordering key of stream | +| `destinationType` | [Pubsub](../../models/shared/Pubsub.md) | :heavy_check_mark: | N/A | +| `orderingEnabled` | *Optional\* | :heavy_minus_sign: | If TRUE PubSub publisher will have message ordering enabled. Every message will have an ordering key of stream | | `projectId` | *String* | :heavy_check_mark: | The GCP project ID for the project containing the target PubSub. | | `topicId` | *String* | :heavy_check_mark: | The PubSub topic ID in the given GCP project ID. | \ No newline at end of file diff --git a/docs/models/shared/DestinationPutRequest.md b/docs/models/shared/DestinationPutRequest.md index 92e93984c..1039d9a14 100644 --- a/docs/models/shared/DestinationPutRequest.md +++ b/docs/models/shared/DestinationPutRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `configuration` | [com.airbyte.api.models.shared.DestinationConfiguration](../../models/shared/DestinationConfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | -| `name` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `configuration` | [DestinationConfiguration](../../models/shared/DestinationConfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | +| `name` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrant.md b/docs/models/shared/DestinationQdrant.md index da537b43a..6f47a9185 100644 --- a/docs/models/shared/DestinationQdrant.md +++ b/docs/models/shared/DestinationQdrant.md @@ -16,8 +16,8 @@ Processing, embedding and advanced configuration are provided by this base class | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.Qdrant](../../models/shared/Qdrant.md) | :heavy_check_mark: | N/A | -| `embedding` | [com.airbyte.api.models.shared.DestinationQdrantEmbedding](../../models/shared/DestinationQdrantEmbedding.md) | :heavy_check_mark: | Embedding configuration | -| `indexing` | [com.airbyte.api.models.shared.DestinationQdrantIndexing](../../models/shared/DestinationQdrantIndexing.md) | :heavy_check_mark: | Indexing configuration | -| `omitRawText` | *Optional* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | -| `processing` | [com.airbyte.api.models.shared.DestinationQdrantProcessingConfigModel](../../models/shared/DestinationQdrantProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `destinationType` | [Qdrant](../../models/shared/Qdrant.md) | :heavy_check_mark: | N/A | +| `embedding` | [DestinationQdrantEmbedding](../../models/shared/DestinationQdrantEmbedding.md) | :heavy_check_mark: | Embedding configuration | +| `indexing` | [DestinationQdrantIndexing](../../models/shared/DestinationQdrantIndexing.md) | :heavy_check_mark: | Indexing configuration | +| `omitRawText` | *Optional\* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | +| `processing` | [DestinationQdrantProcessingConfigModel](../../models/shared/DestinationQdrantProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantAzureOpenAI.md b/docs/models/shared/DestinationQdrantAzureOpenAI.md index cfe08f5b4..0d75af783 100644 --- a/docs/models/shared/DestinationQdrantAzureOpenAI.md +++ b/docs/models/shared/DestinationQdrantAzureOpenAI.md @@ -5,9 +5,9 @@ Use the Azure-hosted OpenAI API to embed text. This option is using the text-emb ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | -| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | -| `mode` | [Optional](../../models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | -| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | +| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | +| `mode` | [Optional\](../../models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | +| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantByMarkdownHeader.md b/docs/models/shared/DestinationQdrantByMarkdownHeader.md index 1fdaa9143..faa8b5222 100644 --- a/docs/models/shared/DestinationQdrantByMarkdownHeader.md +++ b/docs/models/shared/DestinationQdrantByMarkdownHeader.md @@ -5,7 +5,7 @@ Split the text by Markdown headers down to the specified header level. If the ch ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | -| `splitLevel` | *Optional* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | +| `splitLevel` | *Optional\* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantByProgrammingLanguage.md b/docs/models/shared/DestinationQdrantByProgrammingLanguage.md index 9aa3db59d..adb94bb74 100644 --- a/docs/models/shared/DestinationQdrantByProgrammingLanguage.md +++ b/docs/models/shared/DestinationQdrantByProgrammingLanguage.md @@ -5,7 +5,7 @@ Split the text by suitable delimiters based on the programming language. This is ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `language` | [com.airbyte.api.models.shared.DestinationQdrantLanguage](../../models/shared/DestinationQdrantLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | -| `mode` | [Optional](../../models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `language` | [DestinationQdrantLanguage](../../models/shared/DestinationQdrantLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | +| `mode` | [Optional\](../../models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantBySeparator.md b/docs/models/shared/DestinationQdrantBySeparator.md index 6d6adc438..2fa19cd0e 100644 --- a/docs/models/shared/DestinationQdrantBySeparator.md +++ b/docs/models/shared/DestinationQdrantBySeparator.md @@ -7,6 +7,6 @@ Split the text by the list of separators until the chunk size is reached, using | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `keepSeparator` | *Optional* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | -| `mode` | [Optional](../../models/shared/DestinationQdrantSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | -| `separators` | List<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file +| `keepSeparator` | *Optional\* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | +| `mode` | [Optional\](../../models/shared/DestinationQdrantSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | +| `separators` | List\<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantCohere.md b/docs/models/shared/DestinationQdrantCohere.md index d68fac8a5..1accb1821 100644 --- a/docs/models/shared/DestinationQdrantCohere.md +++ b/docs/models/shared/DestinationQdrantCohere.md @@ -5,7 +5,7 @@ Use the Cohere API to embed text. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `cohereKey` | *String* | :heavy_check_mark: | N/A | -| `mode` | [Optional](../../models/shared/DestinationQdrantSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `cohereKey` | *String* | :heavy_check_mark: | N/A | +| `mode` | [Optional\](../../models/shared/DestinationQdrantSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantFake.md b/docs/models/shared/DestinationQdrantFake.md index 5fd711442..a86cbf0ca 100644 --- a/docs/models/shared/DestinationQdrantFake.md +++ b/docs/models/shared/DestinationQdrantFake.md @@ -5,6 +5,6 @@ Use a fake embedding made out of random vectors with 1536 embedding dimensions. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationQdrantSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationQdrantSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantIndexing.md b/docs/models/shared/DestinationQdrantIndexing.md index 214b030be..5c1a8c390 100644 --- a/docs/models/shared/DestinationQdrantIndexing.md +++ b/docs/models/shared/DestinationQdrantIndexing.md @@ -7,9 +7,9 @@ Indexing configuration | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `authMethod` | [Optional](../../models/shared/DestinationQdrantAuthenticationMethod.md) | :heavy_minus_sign: | Method to authenticate with the Qdrant Instance | +| `authMethod` | [Optional\](../../models/shared/DestinationQdrantAuthenticationMethod.md) | :heavy_minus_sign: | Method to authenticate with the Qdrant Instance | | `collection` | *String* | :heavy_check_mark: | The collection to load data into | -| `distanceMetric` | [Optional](../../models/shared/DistanceMetric.md) | :heavy_minus_sign: | The Distance metric used to measure similarities among vectors. This field is only used if the collection defined in the does not exist yet and is created automatically by the connector. | -| `preferGrpc` | *Optional* | :heavy_minus_sign: | Whether to prefer gRPC over HTTP. Set to true for Qdrant cloud clusters | -| `textField` | *Optional* | :heavy_minus_sign: | The field in the payload that contains the embedded text | +| `distanceMetric` | [Optional\](../../models/shared/DistanceMetric.md) | :heavy_minus_sign: | The Distance metric used to measure similarities among vectors. This field is only used if the collection defined in the does not exist yet and is created automatically by the connector. | +| `preferGrpc` | *Optional\* | :heavy_minus_sign: | Whether to prefer gRPC over HTTP. Set to true for Qdrant cloud clusters | +| `textField` | *Optional\* | :heavy_minus_sign: | The field in the payload that contains the embedded text | | `url` | *String* | :heavy_check_mark: | Public Endpoint of the Qdrant cluser | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantNoAuth.md b/docs/models/shared/DestinationQdrantNoAuth.md index c2a15364b..971a0664b 100644 --- a/docs/models/shared/DestinationQdrantNoAuth.md +++ b/docs/models/shared/DestinationQdrantNoAuth.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationQdrantSchemasIndexingAuthMethodMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationQdrantSchemasIndexingAuthMethodMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantOpenAI.md b/docs/models/shared/DestinationQdrantOpenAI.md index 73d2a769d..b68e2b91d 100644 --- a/docs/models/shared/DestinationQdrantOpenAI.md +++ b/docs/models/shared/DestinationQdrantOpenAI.md @@ -5,7 +5,7 @@ Use the OpenAI API to embed text. This option is using the text-embedding-ada-00 ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationQdrantMode.md) | :heavy_minus_sign: | N/A | -| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationQdrantMode.md) | :heavy_minus_sign: | N/A | +| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantOpenAICompatible.md b/docs/models/shared/DestinationQdrantOpenAICompatible.md index 41bdde94d..5cd38d512 100644 --- a/docs/models/shared/DestinationQdrantOpenAICompatible.md +++ b/docs/models/shared/DestinationQdrantOpenAICompatible.md @@ -5,10 +5,10 @@ Use a service that's compatible with the OpenAI API to embed text. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | N/A | | -| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | -| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | -| `mode` | [Optional](../../models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | -| `modelName` | *Optional* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `apiKey` | *Optional\* | :heavy_minus_sign: | N/A | | +| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | +| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | +| `mode` | [Optional\](../../models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | +| `modelName` | *Optional\* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file diff --git a/docs/models/shared/DestinationQdrantProcessingConfigModel.md b/docs/models/shared/DestinationQdrantProcessingConfigModel.md index dadd8365b..ab7820b39 100644 --- a/docs/models/shared/DestinationQdrantProcessingConfigModel.md +++ b/docs/models/shared/DestinationQdrantProcessingConfigModel.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `chunkOverlap` | *Optional* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | +| `chunkOverlap` | *Optional\* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | | `chunkSize` | *long* | :heavy_check_mark: | Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) | | -| `fieldNameMappings` | List<[com.airbyte.api.models.shared.DestinationQdrantFieldNameMappingConfigModel](../../models/shared/DestinationQdrantFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | -| `metadataFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | -| `textFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | -| `textSplitter` | [Optional](../../models/shared/DestinationQdrantTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file +| `fieldNameMappings` | List\<[DestinationQdrantFieldNameMappingConfigModel](../../models/shared/DestinationQdrantFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | +| `metadataFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | +| `textFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | +| `textSplitter` | [Optional\](../../models/shared/DestinationQdrantTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedis.md b/docs/models/shared/DestinationRedis.md index 6db48890c..f0b52a88b 100644 --- a/docs/models/shared/DestinationRedis.md +++ b/docs/models/shared/DestinationRedis.md @@ -5,12 +5,12 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cacheType` | [Optional](../../models/shared/CacheType.md) | :heavy_minus_sign: | Redis cache type to store data in. | | -| `destinationType` | [com.airbyte.api.models.shared.Redis](../../models/shared/Redis.md) | :heavy_check_mark: | N/A | | +| `cacheType` | [Optional\](../../models/shared/CacheType.md) | :heavy_minus_sign: | Redis cache type to store data in. | | +| `destinationType` | [Redis](../../models/shared/Redis.md) | :heavy_check_mark: | N/A | | | `host` | *String* | :heavy_check_mark: | Redis host to connect to. | localhost,127.0.0.1 | -| `password` | *Optional* | :heavy_minus_sign: | Password associated with Redis. | | -| `port` | *Optional* | :heavy_minus_sign: | Port of Redis. | | -| `ssl` | *Optional* | :heavy_minus_sign: | Indicates whether SSL encryption protocol will be used to connect to Redis. It is recommended to use SSL connection if possible. | | -| `sslMode` | [Optional](../../models/shared/DestinationRedisSSLModes.md) | :heavy_minus_sign: | SSL connection modes.
  • verify-full - This is the most secure mode. Always require encryption and verifies the identity of the source database server | | -| `tunnelMethod` | [Optional](../../models/shared/DestinationRedisSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `password` | *Optional\* | :heavy_minus_sign: | Password associated with Redis. | | +| `port` | *Optional\* | :heavy_minus_sign: | Port of Redis. | | +| `ssl` | *Optional\* | :heavy_minus_sign: | Indicates whether SSL encryption protocol will be used to connect to Redis. It is recommended to use SSL connection if possible. | | +| `sslMode` | [Optional\](../../models/shared/DestinationRedisSSLModes.md) | :heavy_minus_sign: | SSL connection modes.
  • verify-full - This is the most secure mode. Always require encryption and verifies the identity of the source database server | | +| `tunnelMethod` | [Optional\](../../models/shared/DestinationRedisSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | Username associated with Redis. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedisDisable.md b/docs/models/shared/DestinationRedisDisable.md index 87db4b861..615da375d 100644 --- a/docs/models/shared/DestinationRedisDisable.md +++ b/docs/models/shared/DestinationRedisDisable.md @@ -5,6 +5,6 @@ Disable SSL. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationRedisMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationRedisMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedisNoTunnel.md b/docs/models/shared/DestinationRedisNoTunnel.md index cb3c12c16..501a7078b 100644 --- a/docs/models/shared/DestinationRedisNoTunnel.md +++ b/docs/models/shared/DestinationRedisNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationRedisTunnelMethod](../../models/shared/DestinationRedisTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `tunnelMethod` | [DestinationRedisTunnelMethod](../../models/shared/DestinationRedisTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedisPasswordAuthentication.md b/docs/models/shared/DestinationRedisPasswordAuthentication.md index 4e609c255..72af59822 100644 --- a/docs/models/shared/DestinationRedisPasswordAuthentication.md +++ b/docs/models/shared/DestinationRedisPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationRedisSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationRedisSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedisSSHKeyAuthentication.md b/docs/models/shared/DestinationRedisSSHKeyAuthentication.md index 6b339acc9..50a298cb5 100644 --- a/docs/models/shared/DestinationRedisSSHKeyAuthentication.md +++ b/docs/models/shared/DestinationRedisSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationRedisSchemasTunnelMethod](../../models/shared/DestinationRedisSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationRedisSchemasTunnelMethod](../../models/shared/DestinationRedisSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedisVerifyFull.md b/docs/models/shared/DestinationRedisVerifyFull.md index 0e2faa920..1bb454941 100644 --- a/docs/models/shared/DestinationRedisVerifyFull.md +++ b/docs/models/shared/DestinationRedisVerifyFull.md @@ -5,10 +5,10 @@ Verify-full SSL mode. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | -| `clientCertificate` | *String* | :heavy_check_mark: | Client certificate | -| `clientKey` | *String* | :heavy_check_mark: | Client key | -| `clientKeyPassword` | *Optional* | :heavy_minus_sign: | Password for keystorage. If you do not add it - the password will be generated automatically. | -| `mode` | [Optional](../../models/shared/DestinationRedisSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | +| `clientCertificate` | *String* | :heavy_check_mark: | Client certificate | +| `clientKey` | *String* | :heavy_check_mark: | Client key | +| `clientKeyPassword` | *Optional\* | :heavy_minus_sign: | Password for keystorage. If you do not add it - the password will be generated automatically. | +| `mode` | [Optional\](../../models/shared/DestinationRedisSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedshift.md b/docs/models/shared/DestinationRedshift.md index 4785e25da..248ae1d3f 100644 --- a/docs/models/shared/DestinationRedshift.md +++ b/docs/models/shared/DestinationRedshift.md @@ -6,15 +6,15 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `database` | *String* | :heavy_check_mark: | Name of the database. | | -| `destinationType` | [com.airbyte.api.models.shared.Redshift](../../models/shared/Redshift.md) | :heavy_check_mark: | N/A | | -| `disableTypeDedupe` | *Optional* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | -| `dropCascade` | *Optional* | :heavy_minus_sign: | Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. | | +| `destinationType` | [Redshift](../../models/shared/Redshift.md) | :heavy_check_mark: | N/A | | +| `disableTypeDedupe` | *Optional\* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | +| `dropCascade` | *Optional\* | :heavy_minus_sign: | Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. | | | `host` | *String* | :heavy_check_mark: | Host Endpoint of the Redshift Cluster (must include the cluster-id, region and end with .redshift.amazonaws.com) | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | | `password` | *String* | :heavy_check_mark: | Password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | Port of the database. | 5439 | -| `rawDataSchema` | *Optional* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal). | | -| `schema` | *Optional* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is "public". | public | -| `tunnelMethod` | [Optional](../../models/shared/DestinationRedshiftSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | -| `uploadingMethod` | [Optional](../../models/shared/UploadingMethod.md) | :heavy_minus_sign: | The way data will be uploaded to Redshift. | | +| `port` | *Optional\* | :heavy_minus_sign: | Port of the database. | 5439 | +| `rawDataSchema` | *Optional\* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal). | | +| `schema` | *Optional\* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is "public". | public | +| `tunnelMethod` | [Optional\](../../models/shared/DestinationRedshiftSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `uploadingMethod` | [Optional\](../../models/shared/UploadingMethod.md) | :heavy_minus_sign: | The way data will be uploaded to Redshift. | | | `username` | *String* | :heavy_check_mark: | Username to use to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedshiftNoTunnel.md b/docs/models/shared/DestinationRedshiftNoTunnel.md index aa5f81bf4..0a546e1c5 100644 --- a/docs/models/shared/DestinationRedshiftNoTunnel.md +++ b/docs/models/shared/DestinationRedshiftNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationRedshiftTunnelMethod](../../models/shared/DestinationRedshiftTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `tunnelMethod` | [DestinationRedshiftTunnelMethod](../../models/shared/DestinationRedshiftTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedshiftPasswordAuthentication.md b/docs/models/shared/DestinationRedshiftPasswordAuthentication.md index 28ebb90d1..3f27da6b2 100644 --- a/docs/models/shared/DestinationRedshiftPasswordAuthentication.md +++ b/docs/models/shared/DestinationRedshiftPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationRedshiftSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationRedshiftSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/DestinationRedshiftSSHKeyAuthentication.md b/docs/models/shared/DestinationRedshiftSSHKeyAuthentication.md index 3baaa50fe..9b36e91c9 100644 --- a/docs/models/shared/DestinationRedshiftSSHKeyAuthentication.md +++ b/docs/models/shared/DestinationRedshiftSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationRedshiftSchemasTunnelMethod](../../models/shared/DestinationRedshiftSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationRedshiftSchemasTunnelMethod](../../models/shared/DestinationRedshiftSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationResponse.md b/docs/models/shared/DestinationResponse.md index e21e9da25..d497df4af 100644 --- a/docs/models/shared/DestinationResponse.md +++ b/docs/models/shared/DestinationResponse.md @@ -5,10 +5,12 @@ Provides details of a single destination. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `configuration` | [com.airbyte.api.models.shared.DestinationConfiguration](../../models/shared/DestinationConfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
    "user": "charles"
    } | -| `destinationId` | *String* | :heavy_check_mark: | N/A | | -| `destinationType` | *String* | :heavy_check_mark: | N/A | | -| `name` | *String* | :heavy_check_mark: | N/A | | -| `workspaceId` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `configuration` | [DestinationConfiguration](../../models/shared/DestinationConfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
    "user": "charles"
    } | +| `createdAt` | *long* | :heavy_check_mark: | N/A | | +| `definitionId` | *String* | :heavy_check_mark: | N/A | | +| `destinationId` | *String* | :heavy_check_mark: | N/A | | +| `destinationType` | *String* | :heavy_check_mark: | N/A | | +| `name` | *String* | :heavy_check_mark: | N/A | | +| `workspaceId` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3.md b/docs/models/shared/DestinationS3.md index fcc7a37c2..7fc73d99d 100644 --- a/docs/models/shared/DestinationS3.md +++ b/docs/models/shared/DestinationS3.md @@ -5,14 +5,14 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessKeyId` | *Optional* | :heavy_minus_sign: | The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more here. | A012345678910EXAMPLE | -| `destinationType` | [com.airbyte.api.models.shared.S3](../../models/shared/S3.md) | :heavy_check_mark: | N/A | | -| `fileNamePattern` | *Optional* | :heavy_minus_sign: | The pattern allows you to set the file-name format for the S3 staging file(s) | {date} | -| `format` | [com.airbyte.api.models.shared.DestinationS3OutputFormat](../../models/shared/DestinationS3OutputFormat.md) | :heavy_check_mark: | Format of the data output. See here for more details | | -| `roleArn` | *Optional* | :heavy_minus_sign: | The Role ARN | arn:aws:iam::123456789:role/ExternalIdIsYourWorkspaceId | +| `accessKeyId` | *Optional\* | :heavy_minus_sign: | The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more here. | A012345678910EXAMPLE | +| `destinationType` | [S3](../../models/shared/S3.md) | :heavy_check_mark: | N/A | | +| `fileNamePattern` | *Optional\* | :heavy_minus_sign: | The pattern allows you to set the file-name format for the S3 staging file(s) | {date} | +| `format` | [DestinationS3OutputFormat](../../models/shared/DestinationS3OutputFormat.md) | :heavy_check_mark: | Format of the data output. See here for more details | | +| `roleArn` | *Optional\* | :heavy_minus_sign: | The Role ARN | arn:aws:iam::123456789:role/ExternalIdIsYourWorkspaceId | | `s3BucketName` | *String* | :heavy_check_mark: | The name of the S3 bucket. Read more here. | airbyte_sync | | `s3BucketPath` | *String* | :heavy_check_mark: | Directory under the S3 bucket where data will be written. Read more here | data_sync/test | -| `s3BucketRegion` | [Optional](../../models/shared/DestinationS3S3BucketRegion.md) | :heavy_minus_sign: | The region of the S3 bucket. See here for all region codes. | | -| `s3Endpoint` | *Optional* | :heavy_minus_sign: | Your S3 endpoint url. Read more here | http://localhost:9000 | -| `s3PathFormat` | *Optional* | :heavy_minus_sign: | Format string on how data will be organized inside the S3 bucket directory. Read more here | ${NAMESPACE}/${STREAM_NAME}/${YEAR}_${MONTH}_${DAY}_${EPOCH}_ | -| `secretAccessKey` | *Optional* | :heavy_minus_sign: | The corresponding secret to the access key ID. Read more here | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | \ No newline at end of file +| `s3BucketRegion` | [Optional\](../../models/shared/DestinationS3S3BucketRegion.md) | :heavy_minus_sign: | The region of the S3 bucket. See here for all region codes. | | +| `s3Endpoint` | *Optional\* | :heavy_minus_sign: | Your S3 endpoint url. Read more here | http://localhost:9000 | +| `s3PathFormat` | *Optional\* | :heavy_minus_sign: | Format string on how data will be organized inside the S3 bucket directory. Read more here | ${NAMESPACE}/${STREAM_NAME}/${YEAR}_${MONTH}_${DAY}_${EPOCH}_ | +| `secretAccessKey` | *Optional\* | :heavy_minus_sign: | The corresponding secret to the access key ID. Read more here | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3AvroApacheAvro.md b/docs/models/shared/DestinationS3AvroApacheAvro.md index c08b73d2b..7a4006a7d 100644 --- a/docs/models/shared/DestinationS3AvroApacheAvro.md +++ b/docs/models/shared/DestinationS3AvroApacheAvro.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionCodec` | [com.airbyte.api.models.shared.DestinationS3CompressionCodec](../../models/shared/DestinationS3CompressionCodec.md) | :heavy_check_mark: | The compression algorithm used to compress data. Default to no compression. | -| `formatType` | [Optional](../../models/shared/DestinationS3SchemasFormatFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `compressionCodec` | [DestinationS3CompressionCodec](../../models/shared/DestinationS3CompressionCodec.md) | :heavy_check_mark: | The compression algorithm used to compress data. Default to no compression. | +| `formatType` | [Optional\](../../models/shared/DestinationS3SchemasFormatFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3Bzip2.md b/docs/models/shared/DestinationS3Bzip2.md index 69f66dce4..4ae9ba0f9 100644 --- a/docs/models/shared/DestinationS3Bzip2.md +++ b/docs/models/shared/DestinationS3Bzip2.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationS3SchemasFormatCodec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `codec` | [Optional\](../../models/shared/DestinationS3SchemasFormatCodec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3CSVCommaSeparatedValues.md b/docs/models/shared/DestinationS3CSVCommaSeparatedValues.md index d220757d5..eef1ec33c 100644 --- a/docs/models/shared/DestinationS3CSVCommaSeparatedValues.md +++ b/docs/models/shared/DestinationS3CSVCommaSeparatedValues.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `compression` | [Optional](../../models/shared/DestinationS3Compression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). | -| `flattening` | [Optional](../../models/shared/DestinationS3Flattening.md) | :heavy_minus_sign: | Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. | -| `formatType` | [Optional](../../models/shared/DestinationS3FormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `compression` | [Optional\](../../models/shared/DestinationS3Compression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). | +| `flattening` | [Optional\](../../models/shared/DestinationS3Flattening.md) | :heavy_minus_sign: | Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. | +| `formatType` | [Optional\](../../models/shared/DestinationS3FormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3Deflate.md b/docs/models/shared/DestinationS3Deflate.md index dd76bc46f..acf877849 100644 --- a/docs/models/shared/DestinationS3Deflate.md +++ b/docs/models/shared/DestinationS3Deflate.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationS3SchemasCodec.md) | :heavy_minus_sign: | N/A | -| `compressionLevel` | *Optional* | :heavy_minus_sign: | 0: no compression & fastest, 9: best compression & slowest. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `codec` | [Optional\](../../models/shared/DestinationS3SchemasCodec.md) | :heavy_minus_sign: | N/A | +| `compressionLevel` | *Optional\* | :heavy_minus_sign: | 0: no compression & fastest, 9: best compression & slowest. | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3GZIP.md b/docs/models/shared/DestinationS3GZIP.md index 154c884ef..611224df8 100644 --- a/docs/models/shared/DestinationS3GZIP.md +++ b/docs/models/shared/DestinationS3GZIP.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/DestinationS3SchemasCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `compressionType` | [Optional\](../../models/shared/DestinationS3SchemasCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3Glue.md b/docs/models/shared/DestinationS3Glue.md index c59758a95..788d6749b 100644 --- a/docs/models/shared/DestinationS3Glue.md +++ b/docs/models/shared/DestinationS3Glue.md @@ -5,15 +5,15 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessKeyId` | *Optional* | :heavy_minus_sign: | The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more here. | A012345678910EXAMPLE | -| `destinationType` | [com.airbyte.api.models.shared.S3Glue](../../models/shared/S3Glue.md) | :heavy_check_mark: | N/A | | -| `fileNamePattern` | *Optional* | :heavy_minus_sign: | The pattern allows you to set the file-name format for the S3 staging file(s) | {date} | -| `format` | [com.airbyte.api.models.shared.DestinationS3GlueOutputFormat](../../models/shared/DestinationS3GlueOutputFormat.md) | :heavy_check_mark: | Format of the data output. See here for more details | | +| `accessKeyId` | *Optional\* | :heavy_minus_sign: | The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more here. | A012345678910EXAMPLE | +| `destinationType` | [S3Glue](../../models/shared/S3Glue.md) | :heavy_check_mark: | N/A | | +| `fileNamePattern` | *Optional\* | :heavy_minus_sign: | The pattern allows you to set the file-name format for the S3 staging file(s) | {date} | +| `format` | [DestinationS3GlueOutputFormat](../../models/shared/DestinationS3GlueOutputFormat.md) | :heavy_check_mark: | Format of the data output. See here for more details | | | `glueDatabase` | *String* | :heavy_check_mark: | Name of the glue database for creating the tables, leave blank if no integration | airbyte_database | -| `glueSerializationLibrary` | [Optional](../../models/shared/SerializationLibrary.md) | :heavy_minus_sign: | The library that your query engine will use for reading and writing data in your lake. | | +| `glueSerializationLibrary` | [Optional\](../../models/shared/SerializationLibrary.md) | :heavy_minus_sign: | The library that your query engine will use for reading and writing data in your lake. | | | `s3BucketName` | *String* | :heavy_check_mark: | The name of the S3 bucket. Read more here. | airbyte_sync | | `s3BucketPath` | *String* | :heavy_check_mark: | Directory under the S3 bucket where data will be written. Read more here | data_sync/test | -| `s3BucketRegion` | [Optional](../../models/shared/DestinationS3GlueS3BucketRegion.md) | :heavy_minus_sign: | The region of the S3 bucket. See here for all region codes. | | -| `s3Endpoint` | *Optional* | :heavy_minus_sign: | Your S3 endpoint url. Read more here | http://localhost:9000 | -| `s3PathFormat` | *Optional* | :heavy_minus_sign: | Format string on how data will be organized inside the S3 bucket directory. Read more here | ${NAMESPACE}/${STREAM_NAME}/${YEAR}_${MONTH}_${DAY}_${EPOCH}_ | -| `secretAccessKey` | *Optional* | :heavy_minus_sign: | The corresponding secret to the access key ID. Read more here | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | \ No newline at end of file +| `s3BucketRegion` | [Optional\](../../models/shared/DestinationS3GlueS3BucketRegion.md) | :heavy_minus_sign: | The region of the S3 bucket. See here for all region codes. | | +| `s3Endpoint` | *Optional\* | :heavy_minus_sign: | Your S3 endpoint url. Read more here | http://localhost:9000 | +| `s3PathFormat` | *Optional\* | :heavy_minus_sign: | Format string on how data will be organized inside the S3 bucket directory. Read more here | ${NAMESPACE}/${STREAM_NAME}/${YEAR}_${MONTH}_${DAY}_${EPOCH}_ | +| `secretAccessKey` | *Optional\* | :heavy_minus_sign: | The corresponding secret to the access key ID. Read more here | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3GlueGZIP.md b/docs/models/shared/DestinationS3GlueGZIP.md index c8560df8b..b5889b0ab 100644 --- a/docs/models/shared/DestinationS3GlueGZIP.md +++ b/docs/models/shared/DestinationS3GlueGZIP.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/DestinationS3GlueSchemasCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `compressionType` | [Optional\](../../models/shared/DestinationS3GlueSchemasCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3GlueJSONLinesNewlineDelimitedJSON.md b/docs/models/shared/DestinationS3GlueJSONLinesNewlineDelimitedJSON.md index f33e71a01..cf42d193e 100644 --- a/docs/models/shared/DestinationS3GlueJSONLinesNewlineDelimitedJSON.md +++ b/docs/models/shared/DestinationS3GlueJSONLinesNewlineDelimitedJSON.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `compression` | [Optional](../../models/shared/DestinationS3GlueCompression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). | -| `flattening` | [Optional](../../models/shared/Flattening.md) | :heavy_minus_sign: | Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. | -| `formatType` | [Optional](../../models/shared/DestinationS3GlueFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `compression` | [Optional\](../../models/shared/DestinationS3GlueCompression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). | +| `flattening` | [Optional\](../../models/shared/Flattening.md) | :heavy_minus_sign: | Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. | +| `formatType` | [Optional\](../../models/shared/DestinationS3GlueFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3GlueNoCompression.md b/docs/models/shared/DestinationS3GlueNoCompression.md index f954e31c1..90f7c922e 100644 --- a/docs/models/shared/DestinationS3GlueNoCompression.md +++ b/docs/models/shared/DestinationS3GlueNoCompression.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/DestinationS3GlueCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `compressionType` | [Optional\](../../models/shared/DestinationS3GlueCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.md b/docs/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.md index 3a05f45cb..649bb80cb 100644 --- a/docs/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.md +++ b/docs/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `compression` | [Optional](../../models/shared/DestinationS3SchemasCompression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). | -| `flattening` | [Optional](../../models/shared/DestinationS3SchemasFlattening.md) | :heavy_minus_sign: | Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. | -| `formatType` | [Optional](../../models/shared/DestinationS3SchemasFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `compression` | [Optional\](../../models/shared/DestinationS3SchemasCompression.md) | :heavy_minus_sign: | Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). | +| `flattening` | [Optional\](../../models/shared/DestinationS3SchemasFlattening.md) | :heavy_minus_sign: | Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. | +| `formatType` | [Optional\](../../models/shared/DestinationS3SchemasFormatType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3NoCompression.md b/docs/models/shared/DestinationS3NoCompression.md index f8d638af5..f794e85cd 100644 --- a/docs/models/shared/DestinationS3NoCompression.md +++ b/docs/models/shared/DestinationS3NoCompression.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/DestinationS3CompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `compressionType` | [Optional\](../../models/shared/DestinationS3CompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3ParquetColumnarStorage.md b/docs/models/shared/DestinationS3ParquetColumnarStorage.md index fb7852520..723aed002 100644 --- a/docs/models/shared/DestinationS3ParquetColumnarStorage.md +++ b/docs/models/shared/DestinationS3ParquetColumnarStorage.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `blockSizeMb` | *Optional* | :heavy_minus_sign: | This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. | 128 | -| `compressionCodec` | [Optional](../../models/shared/DestinationS3SchemasCompressionCodec.md) | :heavy_minus_sign: | The compression algorithm used to compress data pages. | | -| `dictionaryEncoding` | *Optional* | :heavy_minus_sign: | Default: true. | | -| `dictionaryPageSizeKb` | *Optional* | :heavy_minus_sign: | There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. | 1024 | -| `formatType` | [Optional](../../models/shared/DestinationS3SchemasFormatOutputFormatFormatType.md) | :heavy_minus_sign: | N/A | | -| `maxPaddingSizeMb` | *Optional* | :heavy_minus_sign: | Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. | 8 | -| `pageSizeKb` | *Optional* | :heavy_minus_sign: | The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. | 1024 | \ No newline at end of file +| `blockSizeMb` | *Optional\* | :heavy_minus_sign: | This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. | 128 | +| `compressionCodec` | [Optional\](../../models/shared/DestinationS3SchemasCompressionCodec.md) | :heavy_minus_sign: | The compression algorithm used to compress data pages. | | +| `dictionaryEncoding` | *Optional\* | :heavy_minus_sign: | Default: true. | | +| `dictionaryPageSizeKb` | *Optional\* | :heavy_minus_sign: | There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. | 1024 | +| `formatType` | [Optional\](../../models/shared/DestinationS3SchemasFormatOutputFormatFormatType.md) | :heavy_minus_sign: | N/A | | +| `maxPaddingSizeMb` | *Optional\* | :heavy_minus_sign: | Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. | 8 | +| `pageSizeKb` | *Optional\* | :heavy_minus_sign: | The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. | 1024 | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3SchemasFormatNoCompression.md b/docs/models/shared/DestinationS3SchemasFormatNoCompression.md index e43e77bfd..3c6709443 100644 --- a/docs/models/shared/DestinationS3SchemasFormatNoCompression.md +++ b/docs/models/shared/DestinationS3SchemasFormatNoCompression.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationS3Codec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `codec` | [Optional\](../../models/shared/DestinationS3Codec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3SchemasGZIP.md b/docs/models/shared/DestinationS3SchemasGZIP.md index 8a0f181d9..78092c650 100644 --- a/docs/models/shared/DestinationS3SchemasGZIP.md +++ b/docs/models/shared/DestinationS3SchemasGZIP.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `compressionType` | [Optional\](../../models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3SchemasNoCompression.md b/docs/models/shared/DestinationS3SchemasNoCompression.md index 1b05c0366..b16168385 100644 --- a/docs/models/shared/DestinationS3SchemasNoCompression.md +++ b/docs/models/shared/DestinationS3SchemasNoCompression.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/DestinationS3SchemasFormatCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `compressionType` | [Optional\](../../models/shared/DestinationS3SchemasFormatCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3Snappy.md b/docs/models/shared/DestinationS3Snappy.md index 1fbccf536..b9da8f9fc 100644 --- a/docs/models/shared/DestinationS3Snappy.md +++ b/docs/models/shared/DestinationS3Snappy.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `codec` | [Optional\](../../models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3Xz.md b/docs/models/shared/DestinationS3Xz.md index 72581a140..aaf2ae449 100644 --- a/docs/models/shared/DestinationS3Xz.md +++ b/docs/models/shared/DestinationS3Xz.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationS3SchemasFormatOutputFormatCodec.md) | :heavy_minus_sign: | N/A | -| `compressionLevel` | *Optional* | :heavy_minus_sign: | See here for details. | \ No newline at end of file +| `codec` | [Optional\](../../models/shared/DestinationS3SchemasFormatOutputFormatCodec.md) | :heavy_minus_sign: | N/A | +| `compressionLevel` | *Optional\* | :heavy_minus_sign: | See here for details. | \ No newline at end of file diff --git a/docs/models/shared/DestinationS3Zstandard.md b/docs/models/shared/DestinationS3Zstandard.md index ada70509e..11d753f46 100644 --- a/docs/models/shared/DestinationS3Zstandard.md +++ b/docs/models/shared/DestinationS3Zstandard.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationS3SchemasFormatOutputFormat3Codec.md) | :heavy_minus_sign: | N/A | -| `compressionLevel` | *Optional* | :heavy_minus_sign: | Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. | -| `includeChecksum` | *Optional* | :heavy_minus_sign: | If true, include a checksum with each data block. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `codec` | [Optional\](../../models/shared/DestinationS3SchemasFormatOutputFormat3Codec.md) | :heavy_minus_sign: | N/A | +| `compressionLevel` | *Optional\* | :heavy_minus_sign: | Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. | +| `includeChecksum` | *Optional\* | :heavy_minus_sign: | If true, include a checksum with each data block. | \ No newline at end of file diff --git a/docs/models/shared/DestinationSftpJson.md b/docs/models/shared/DestinationSftpJson.md index 8442cad81..dcd575e57 100644 --- a/docs/models/shared/DestinationSftpJson.md +++ b/docs/models/shared/DestinationSftpJson.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.SftpJson](../../models/shared/SftpJson.md) | :heavy_check_mark: | N/A | | -| `destinationPath` | *String* | :heavy_check_mark: | Path to the directory where json files will be written. | /json_data | -| `host` | *String* | :heavy_check_mark: | Hostname of the SFTP server. | | -| `password` | *String* | :heavy_check_mark: | Password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | Port of the SFTP server. | 22 | -| `username` | *String* | :heavy_check_mark: | Username to use to access the SFTP server. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `destinationType` | [SftpJson](../../models/shared/SftpJson.md) | :heavy_check_mark: | N/A | | +| `destinationPath` | *String* | :heavy_check_mark: | Path to the directory where json files will be written. | /json_data | +| `host` | *String* | :heavy_check_mark: | Hostname of the SFTP server. | | +| `password` | *String* | :heavy_check_mark: | Password associated with the username. | | +| `port` | *Optional\* | :heavy_minus_sign: | Port of the SFTP server. | 22 | +| `username` | *String* | :heavy_check_mark: | Username to use to access the SFTP server. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflake.md b/docs/models/shared/DestinationSnowflake.md index 88e031d46..1589e5506 100644 --- a/docs/models/shared/DestinationSnowflake.md +++ b/docs/models/shared/DestinationSnowflake.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/AuthorizationMethod.md) | :heavy_minus_sign: | N/A | | +| `credentials` | [Optional\](../../models/shared/AuthorizationMethod.md) | :heavy_minus_sign: | N/A | | | `database` | *String* | :heavy_check_mark: | Enter the name of the database you want to sync data into | AIRBYTE_DATABASE | -| `destinationType` | [com.airbyte.api.models.shared.DestinationSnowflakeSnowflake](../../models/shared/DestinationSnowflakeSnowflake.md) | :heavy_check_mark: | N/A | | -| `disableTypeDedupe` | *Optional* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | +| `destinationType` | [DestinationSnowflakeSnowflake](../../models/shared/DestinationSnowflakeSnowflake.md) | :heavy_check_mark: | N/A | | +| `disableTypeDedupe` | *Optional\* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | | `host` | *String* | :heavy_check_mark: | Enter your Snowflake account's locator (in the format ...snowflakecomputing.com) | accountname.us-east-2.aws.snowflakecomputing.com | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Enter the additional properties to pass to the JDBC URL string when connecting to the database (formatted as key=value pairs separated by the symbol &). Example: key1=value1&key2=value2&key3=value3 | | -| `rawDataSchema` | *Optional* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | -| `retentionPeriodDays` | *Optional* | :heavy_minus_sign: | The number of days of Snowflake Time Travel to enable on the tables. See Snowflake's documentation for more information. Setting a nonzero value will incur increased storage costs in your Snowflake instance. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Enter the additional properties to pass to the JDBC URL string when connecting to the database (formatted as key=value pairs separated by the symbol &). Example: key1=value1&key2=value2&key3=value3 | | +| `rawDataSchema` | *Optional\* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | +| `retentionPeriodDays` | *Optional\* | :heavy_minus_sign: | The number of days of Snowflake Time Travel to enable on the tables. See Snowflake's documentation for more information. Setting a nonzero value will incur increased storage costs in your Snowflake instance. | | | `role` | *String* | :heavy_check_mark: | Enter the role that you want to use to access Snowflake | AIRBYTE_ROLE | | `schema` | *String* | :heavy_check_mark: | Enter the name of the default schema | AIRBYTE_SCHEMA | -| `useMergeForUpsert` | *Optional* | :heavy_minus_sign: | Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE | | +| `useMergeForUpsert` | *Optional\* | :heavy_minus_sign: | Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE | | | `username` | *String* | :heavy_check_mark: | Enter the name of the user you want to use to access the database | AIRBYTE_USER | | `warehouse` | *String* | :heavy_check_mark: | Enter the name of the warehouse that you want to use as a compute cluster | AIRBYTE_WAREHOUSE | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortex.md b/docs/models/shared/DestinationSnowflakeCortex.md index 9e5c54955..b389a6789 100644 --- a/docs/models/shared/DestinationSnowflakeCortex.md +++ b/docs/models/shared/DestinationSnowflakeCortex.md @@ -16,8 +16,8 @@ Processing, embedding and advanced configuration are provided by this base class | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.SnowflakeCortex](../../models/shared/SnowflakeCortex.md) | :heavy_check_mark: | N/A | -| `embedding` | [com.airbyte.api.models.shared.DestinationSnowflakeCortexEmbedding](../../models/shared/DestinationSnowflakeCortexEmbedding.md) | :heavy_check_mark: | Embedding configuration | -| `indexing` | [com.airbyte.api.models.shared.SnowflakeConnection](../../models/shared/SnowflakeConnection.md) | :heavy_check_mark: | Snowflake can be used to store vector data and retrieve embeddings. | -| `omitRawText` | *Optional* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | -| `processing` | [com.airbyte.api.models.shared.DestinationSnowflakeCortexProcessingConfigModel](../../models/shared/DestinationSnowflakeCortexProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `destinationType` | [SnowflakeCortex](../../models/shared/SnowflakeCortex.md) | :heavy_check_mark: | N/A | +| `embedding` | [DestinationSnowflakeCortexEmbedding](../../models/shared/DestinationSnowflakeCortexEmbedding.md) | :heavy_check_mark: | Embedding configuration | +| `indexing` | [SnowflakeConnection](../../models/shared/SnowflakeConnection.md) | :heavy_check_mark: | Snowflake can be used to store vector data and retrieve embeddings. | +| `omitRawText` | *Optional\* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | +| `processing` | [DestinationSnowflakeCortexProcessingConfigModel](../../models/shared/DestinationSnowflakeCortexProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortexAzureOpenAI.md b/docs/models/shared/DestinationSnowflakeCortexAzureOpenAI.md index 518b2c0f8..fcedbab5e 100644 --- a/docs/models/shared/DestinationSnowflakeCortexAzureOpenAI.md +++ b/docs/models/shared/DestinationSnowflakeCortexAzureOpenAI.md @@ -5,9 +5,9 @@ Use the Azure-hosted OpenAI API to embed text. This option is using the text-emb ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | -| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | -| `mode` | [Optional](../../models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | -| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | +| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | +| `mode` | [Optional\](../../models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | +| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortexByMarkdownHeader.md b/docs/models/shared/DestinationSnowflakeCortexByMarkdownHeader.md index f60ac6222..17a3ce6e5 100644 --- a/docs/models/shared/DestinationSnowflakeCortexByMarkdownHeader.md +++ b/docs/models/shared/DestinationSnowflakeCortexByMarkdownHeader.md @@ -5,7 +5,7 @@ Split the text by Markdown headers down to the specified header level. If the ch ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | -| `splitLevel` | *Optional* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | +| `splitLevel` | *Optional\* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.md b/docs/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.md index adb721b41..798deb9c4 100644 --- a/docs/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.md +++ b/docs/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.md @@ -5,7 +5,7 @@ Split the text by suitable delimiters based on the programming language. This is ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `language` | [com.airbyte.api.models.shared.DestinationSnowflakeCortexLanguage](../../models/shared/DestinationSnowflakeCortexLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | -| `mode` | [Optional](../../models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `language` | [DestinationSnowflakeCortexLanguage](../../models/shared/DestinationSnowflakeCortexLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | +| `mode` | [Optional\](../../models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortexBySeparator.md b/docs/models/shared/DestinationSnowflakeCortexBySeparator.md index 92669149b..4db56b0b2 100644 --- a/docs/models/shared/DestinationSnowflakeCortexBySeparator.md +++ b/docs/models/shared/DestinationSnowflakeCortexBySeparator.md @@ -7,6 +7,6 @@ Split the text by the list of separators until the chunk size is reached, using | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `keepSeparator` | *Optional* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | -| `mode` | [Optional](../../models/shared/DestinationSnowflakeCortexSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | -| `separators` | List<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file +| `keepSeparator` | *Optional\* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | +| `mode` | [Optional\](../../models/shared/DestinationSnowflakeCortexSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | +| `separators` | List\<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortexCohere.md b/docs/models/shared/DestinationSnowflakeCortexCohere.md index d63d4de53..dbdae6eb2 100644 --- a/docs/models/shared/DestinationSnowflakeCortexCohere.md +++ b/docs/models/shared/DestinationSnowflakeCortexCohere.md @@ -5,7 +5,7 @@ Use the Cohere API to embed text. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cohereKey` | *String* | :heavy_check_mark: | N/A | -| `mode` | [Optional](../../models/shared/DestinationSnowflakeCortexSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `cohereKey` | *String* | :heavy_check_mark: | N/A | +| `mode` | [Optional\](../../models/shared/DestinationSnowflakeCortexSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortexFake.md b/docs/models/shared/DestinationSnowflakeCortexFake.md index 8de92ce71..e1fd4b5ab 100644 --- a/docs/models/shared/DestinationSnowflakeCortexFake.md +++ b/docs/models/shared/DestinationSnowflakeCortexFake.md @@ -5,6 +5,6 @@ Use a fake embedding made out of random vectors with 1536 embedding dimensions. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortexOpenAI.md b/docs/models/shared/DestinationSnowflakeCortexOpenAI.md index 6f3ba959e..57ba47dbe 100644 --- a/docs/models/shared/DestinationSnowflakeCortexOpenAI.md +++ b/docs/models/shared/DestinationSnowflakeCortexOpenAI.md @@ -5,7 +5,7 @@ Use the OpenAI API to embed text. This option is using the text-embedding-ada-00 ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationSnowflakeCortexMode.md) | :heavy_minus_sign: | N/A | -| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationSnowflakeCortexMode.md) | :heavy_minus_sign: | N/A | +| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortexOpenAICompatible.md b/docs/models/shared/DestinationSnowflakeCortexOpenAICompatible.md index 7530c2e8e..b220ea50a 100644 --- a/docs/models/shared/DestinationSnowflakeCortexOpenAICompatible.md +++ b/docs/models/shared/DestinationSnowflakeCortexOpenAICompatible.md @@ -5,10 +5,10 @@ Use a service that's compatible with the OpenAI API to embed text. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | N/A | | -| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | -| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | -| `mode` | [Optional](../../models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | -| `modelName` | *Optional* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `apiKey` | *Optional\* | :heavy_minus_sign: | N/A | | +| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | +| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | +| `mode` | [Optional\](../../models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | +| `modelName` | *Optional\* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeCortexProcessingConfigModel.md b/docs/models/shared/DestinationSnowflakeCortexProcessingConfigModel.md index aa1d6ad9d..9dc18770d 100644 --- a/docs/models/shared/DestinationSnowflakeCortexProcessingConfigModel.md +++ b/docs/models/shared/DestinationSnowflakeCortexProcessingConfigModel.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `chunkOverlap` | *Optional* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | +| `chunkOverlap` | *Optional\* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | | `chunkSize` | *long* | :heavy_check_mark: | Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) | | -| `fieldNameMappings` | List<[com.airbyte.api.models.shared.DestinationSnowflakeCortexFieldNameMappingConfigModel](../../models/shared/DestinationSnowflakeCortexFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | -| `metadataFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | -| `textFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | -| `textSplitter` | [Optional](../../models/shared/DestinationSnowflakeCortexTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file +| `fieldNameMappings` | List\<[DestinationSnowflakeCortexFieldNameMappingConfigModel](../../models/shared/DestinationSnowflakeCortexFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | +| `metadataFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | +| `textFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | +| `textSplitter` | [Optional\](../../models/shared/DestinationSnowflakeCortexTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationSnowflakeOAuth20.md b/docs/models/shared/DestinationSnowflakeOAuth20.md index f3e3c025f..548a58760 100644 --- a/docs/models/shared/DestinationSnowflakeOAuth20.md +++ b/docs/models/shared/DestinationSnowflakeOAuth20.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Enter you application's Access Token | -| `authType` | [Optional](../../models/shared/DestinationSnowflakeSchemasCredentialsAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *Optional* | :heavy_minus_sign: | Enter your application's Client ID | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Enter your application's Client secret | -| `refreshToken` | *String* | :heavy_check_mark: | Enter your application's Refresh Token | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Enter you application's Access Token | +| `authType` | [Optional\](../../models/shared/DestinationSnowflakeSchemasCredentialsAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *Optional\* | :heavy_minus_sign: | Enter your application's Client ID | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Enter your application's Client secret | +| `refreshToken` | *String* | :heavy_check_mark: | Enter your application's Refresh Token | \ No newline at end of file diff --git a/docs/models/shared/DestinationTeradata.md b/docs/models/shared/DestinationTeradata.md index 8e9256087..91260e660 100644 --- a/docs/models/shared/DestinationTeradata.md +++ b/docs/models/shared/DestinationTeradata.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.Teradata](../../models/shared/Teradata.md) | :heavy_check_mark: | N/A | | +| `destinationType` | [Teradata](../../models/shared/Teradata.md) | :heavy_check_mark: | N/A | | | `host` | *String* | :heavy_check_mark: | Hostname of the database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | -| `password` | *Optional* | :heavy_minus_sign: | Password associated with the username. | | -| `schema` | *Optional* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | airbyte_td | -| `ssl` | *Optional* | :heavy_minus_sign: | Encrypt data using SSL. When activating SSL, please select one of the connection modes. | | -| `sslMode` | [Optional](../../models/shared/DestinationTeradataSSLModes.md) | :heavy_minus_sign: | SSL connection modes.
    disable - Chose this mode to disable encryption of communication between Airbyte and destination database
    allow - Chose this mode to enable encryption only when required by the destination database
    prefer - Chose this mode to allow unencrypted connection only if the destination database does not support encryption
    require - Chose this mode to always require encryption. If the destination database server does not support encryption, connection will fail
    verify-ca - Chose this mode to always require encryption and to verify that the destination database server has a valid SSL certificate
    verify-full - This is the most secure mode. Chose this mode to always require encryption and to verify the identity of the destination database server
    See more information - in the docs. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `password` | *Optional\* | :heavy_minus_sign: | Password associated with the username. | | +| `schema` | *Optional\* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | airbyte_td | +| `ssl` | *Optional\* | :heavy_minus_sign: | Encrypt data using SSL. When activating SSL, please select one of the connection modes. | | +| `sslMode` | [Optional\](../../models/shared/DestinationTeradataSSLModes.md) | :heavy_minus_sign: | SSL connection modes.
    disable - Chose this mode to disable encryption of communication between Airbyte and destination database
    allow - Chose this mode to enable encryption only when required by the destination database
    prefer - Chose this mode to allow unencrypted connection only if the destination database does not support encryption
    require - Chose this mode to always require encryption. If the destination database server does not support encryption, connection will fail
    verify-ca - Chose this mode to always require encryption and to verify that the destination database server has a valid SSL certificate
    verify-full - This is the most secure mode. Chose this mode to always require encryption and to verify the identity of the destination database server
    See more information - in the docs. | | | `username` | *String* | :heavy_check_mark: | Username to use to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationTeradataAllow.md b/docs/models/shared/DestinationTeradataAllow.md index f0f60c5f2..b0f6c16a7 100644 --- a/docs/models/shared/DestinationTeradataAllow.md +++ b/docs/models/shared/DestinationTeradataAllow.md @@ -5,6 +5,6 @@ Allow SSL mode. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationTeradataSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationTeradataSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationTeradataDisable.md b/docs/models/shared/DestinationTeradataDisable.md index 1ba50fd69..6b7b22eb2 100644 --- a/docs/models/shared/DestinationTeradataDisable.md +++ b/docs/models/shared/DestinationTeradataDisable.md @@ -5,6 +5,6 @@ Disable SSL. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationTeradataMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationTeradataMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationTeradataPrefer.md b/docs/models/shared/DestinationTeradataPrefer.md index 2a5e24774..8583e2952 100644 --- a/docs/models/shared/DestinationTeradataPrefer.md +++ b/docs/models/shared/DestinationTeradataPrefer.md @@ -5,6 +5,6 @@ Prefer SSL mode. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationTeradataSchemasSslModeMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationTeradataSchemasSslModeMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationTeradataRequire.md b/docs/models/shared/DestinationTeradataRequire.md index 2f4e0696c..65d1a5b35 100644 --- a/docs/models/shared/DestinationTeradataRequire.md +++ b/docs/models/shared/DestinationTeradataRequire.md @@ -5,6 +5,6 @@ Require SSL mode. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationTeradataVerifyCa.md b/docs/models/shared/DestinationTeradataVerifyCa.md index e743684e9..fd3a13fa9 100644 --- a/docs/models/shared/DestinationTeradataVerifyCa.md +++ b/docs/models/shared/DestinationTeradataVerifyCa.md @@ -7,5 +7,5 @@ Verify-ca SSL mode. | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.md) | :heavy_minus_sign: | N/A | +| `mode` | [Optional\](../../models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.md) | :heavy_minus_sign: | N/A | | `sslCaCertificate` | *String* | :heavy_check_mark: | Specifies the file name of a PEM file that contains Certificate Authority (CA) certificates for use with SSLMODE=verify-ca.
    See more information - in the docs. | \ No newline at end of file diff --git a/docs/models/shared/DestinationTeradataVerifyFull.md b/docs/models/shared/DestinationTeradataVerifyFull.md index 404317587..6ec62e9a1 100644 --- a/docs/models/shared/DestinationTeradataVerifyFull.md +++ b/docs/models/shared/DestinationTeradataVerifyFull.md @@ -7,5 +7,5 @@ Verify-full SSL mode. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `mode` | [Optional](../../models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.md) | :heavy_minus_sign: | N/A | +| `mode` | [Optional\](../../models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.md) | :heavy_minus_sign: | N/A | | `sslCaCertificate` | *String* | :heavy_check_mark: | Specifies the file name of a PEM file that contains Certificate Authority (CA) certificates for use with SSLMODE=verify-full.
    See more information - in the docs. | \ No newline at end of file diff --git a/docs/models/shared/DestinationTimeplus.md b/docs/models/shared/DestinationTimeplus.md index 71277d292..a2625ee53 100644 --- a/docs/models/shared/DestinationTimeplus.md +++ b/docs/models/shared/DestinationTimeplus.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `apikey` | *String* | :heavy_check_mark: | Personal API key | | -| `destinationType` | [com.airbyte.api.models.shared.Timeplus](../../models/shared/Timeplus.md) | :heavy_check_mark: | N/A | | -| `endpoint` | *Optional* | :heavy_minus_sign: | Timeplus workspace endpoint | https://us-west-2.timeplus.cloud/workspace_id | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `apikey` | *String* | :heavy_check_mark: | Personal API key | | +| `destinationType` | [Timeplus](../../models/shared/Timeplus.md) | :heavy_check_mark: | N/A | | +| `endpoint` | *Optional\* | :heavy_minus_sign: | Timeplus workspace endpoint | https://us-west-2.timeplus.cloud/workspace_id | \ No newline at end of file diff --git a/docs/models/shared/DestinationTypesense.md b/docs/models/shared/DestinationTypesense.md index 50a0a7b95..4747efd9c 100644 --- a/docs/models/shared/DestinationTypesense.md +++ b/docs/models/shared/DestinationTypesense.md @@ -6,9 +6,9 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Typesense API Key | -| `batchSize` | *Optional* | :heavy_minus_sign: | How many documents should be imported together. Default 1000 | -| `destinationType` | [com.airbyte.api.models.shared.Typesense](../../models/shared/Typesense.md) | :heavy_check_mark: | N/A | +| `batchSize` | *Optional\* | :heavy_minus_sign: | How many documents should be imported together. Default 1000 | +| `destinationType` | [Typesense](../../models/shared/Typesense.md) | :heavy_check_mark: | N/A | | `host` | *String* | :heavy_check_mark: | Hostname of the Typesense instance without protocol. Accept multiple hosts separated by comma. | -| `path` | *Optional* | :heavy_minus_sign: | Path of the Typesense instance. Default is none | -| `port` | *Optional* | :heavy_minus_sign: | Port of the Typesense instance. Ex: 8108, 80, 443. Default is 443 | -| `protocol` | *Optional* | :heavy_minus_sign: | Protocol of the Typesense instance. Ex: http or https. Default is https | \ No newline at end of file +| `path` | *Optional\* | :heavy_minus_sign: | Path of the Typesense instance. Default is none | +| `port` | *Optional\* | :heavy_minus_sign: | Port of the Typesense instance. Ex: 8108, 80, 443. Default is 443 | +| `protocol` | *Optional\* | :heavy_minus_sign: | Protocol of the Typesense instance. Ex: http or https. Default is https | \ No newline at end of file diff --git a/docs/models/shared/DestinationVectara.md b/docs/models/shared/DestinationVectara.md index e0e007799..aebfc354c 100644 --- a/docs/models/shared/DestinationVectara.md +++ b/docs/models/shared/DestinationVectara.md @@ -9,9 +9,9 @@ Configuration to connect to the Vectara instance | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `corpusName` | *String* | :heavy_check_mark: | The Name of Corpus to load data into | | | `customerId` | *String* | :heavy_check_mark: | Your customer id as it is in the authenticaion url | | -| `destinationType` | [com.airbyte.api.models.shared.Vectara](../../models/shared/Vectara.md) | :heavy_check_mark: | N/A | | -| `metadataFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | -| `oauth2` | [com.airbyte.api.models.shared.OAuth20Credentials](../../models/shared/OAuth20Credentials.md) | :heavy_check_mark: | OAuth2.0 credentials used to authenticate admin actions (creating/deleting corpora) | | -| `parallelize` | *Optional* | :heavy_minus_sign: | Parallelize indexing into Vectara with multiple threads | | -| `textFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be in the section of the document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | -| `titleField` | *Optional* | :heavy_minus_sign: | A field that will be used to populate the `title` of each document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | document_key | \ No newline at end of file +| `destinationType` | [Vectara](../../models/shared/Vectara.md) | :heavy_check_mark: | N/A | | +| `metadataFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | +| `oauth2` | [OAuth20Credentials](../../models/shared/OAuth20Credentials.md) | :heavy_check_mark: | OAuth2.0 credentials used to authenticate admin actions (creating/deleting corpora) | | +| `parallelize` | *Optional\* | :heavy_minus_sign: | Parallelize indexing into Vectara with multiple threads | | +| `textFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be in the section of the document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | +| `titleField` | *Optional\* | :heavy_minus_sign: | A field that will be used to populate the `title` of each document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | document_key | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviate.md b/docs/models/shared/DestinationWeaviate.md index bafd83430..8808b7819 100644 --- a/docs/models/shared/DestinationWeaviate.md +++ b/docs/models/shared/DestinationWeaviate.md @@ -16,8 +16,8 @@ Processing, embedding and advanced configuration are provided by this base class | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `destinationType` | [com.airbyte.api.models.shared.Weaviate](../../models/shared/Weaviate.md) | :heavy_check_mark: | N/A | -| `embedding` | [com.airbyte.api.models.shared.DestinationWeaviateEmbedding](../../models/shared/DestinationWeaviateEmbedding.md) | :heavy_check_mark: | Embedding configuration | -| `indexing` | [com.airbyte.api.models.shared.DestinationWeaviateIndexing](../../models/shared/DestinationWeaviateIndexing.md) | :heavy_check_mark: | Indexing configuration | -| `omitRawText` | *Optional* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | -| `processing` | [com.airbyte.api.models.shared.DestinationWeaviateProcessingConfigModel](../../models/shared/DestinationWeaviateProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `destinationType` | [Weaviate](../../models/shared/Weaviate.md) | :heavy_check_mark: | N/A | +| `embedding` | [DestinationWeaviateEmbedding](../../models/shared/DestinationWeaviateEmbedding.md) | :heavy_check_mark: | Embedding configuration | +| `indexing` | [DestinationWeaviateIndexing](../../models/shared/DestinationWeaviateIndexing.md) | :heavy_check_mark: | Indexing configuration | +| `omitRawText` | *Optional\* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | +| `processing` | [DestinationWeaviateProcessingConfigModel](../../models/shared/DestinationWeaviateProcessingConfigModel.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateAPIToken.md b/docs/models/shared/DestinationWeaviateAPIToken.md index 143e673f5..166924505 100644 --- a/docs/models/shared/DestinationWeaviateAPIToken.md +++ b/docs/models/shared/DestinationWeaviateAPIToken.md @@ -5,7 +5,7 @@ Authenticate using an API token (suitable for Weaviate Cloud) ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasIndexingMode.md) | :heavy_minus_sign: | N/A | -| `token` | *String* | :heavy_check_mark: | API Token for the Weaviate instance | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasIndexingMode.md) | :heavy_minus_sign: | N/A | +| `token` | *String* | :heavy_check_mark: | API Token for the Weaviate instance | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateAzureOpenAI.md b/docs/models/shared/DestinationWeaviateAzureOpenAI.md index 9cb7d05af..09a6e76f8 100644 --- a/docs/models/shared/DestinationWeaviateAzureOpenAI.md +++ b/docs/models/shared/DestinationWeaviateAzureOpenAI.md @@ -5,9 +5,9 @@ Use the Azure-hosted OpenAI API to embed text. This option is using the text-emb ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | -| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasMode.md) | :heavy_minus_sign: | N/A | | -| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `apiBase` | *String* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | +| `deployment` | *String* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasMode.md) | :heavy_minus_sign: | N/A | | +| `openaiKey` | *String* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateByMarkdownHeader.md b/docs/models/shared/DestinationWeaviateByMarkdownHeader.md index b7be22269..c32f15586 100644 --- a/docs/models/shared/DestinationWeaviateByMarkdownHeader.md +++ b/docs/models/shared/DestinationWeaviateByMarkdownHeader.md @@ -5,7 +5,7 @@ Split the text by Markdown headers down to the specified header level. If the ch ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | -| `splitLevel` | *Optional* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.md) | :heavy_minus_sign: | N/A | +| `splitLevel` | *Optional\* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateByProgrammingLanguage.md b/docs/models/shared/DestinationWeaviateByProgrammingLanguage.md index 83ede9ac9..bb3be5e36 100644 --- a/docs/models/shared/DestinationWeaviateByProgrammingLanguage.md +++ b/docs/models/shared/DestinationWeaviateByProgrammingLanguage.md @@ -5,7 +5,7 @@ Split the text by suitable delimiters based on the programming language. This is ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `language` | [com.airbyte.api.models.shared.DestinationWeaviateLanguage](../../models/shared/DestinationWeaviateLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `language` | [DestinationWeaviateLanguage](../../models/shared/DestinationWeaviateLanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateBySeparator.md b/docs/models/shared/DestinationWeaviateBySeparator.md index 81201fff4..86efb9893 100644 --- a/docs/models/shared/DestinationWeaviateBySeparator.md +++ b/docs/models/shared/DestinationWeaviateBySeparator.md @@ -7,6 +7,6 @@ Split the text by the list of separators until the chunk size is reached, using | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `keepSeparator` | *Optional* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | -| `separators` | List<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file +| `keepSeparator` | *Optional\* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasProcessingMode.md) | :heavy_minus_sign: | N/A | +| `separators` | List\<*String*> | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateCohere.md b/docs/models/shared/DestinationWeaviateCohere.md index 204dbb7ef..3f3fadd10 100644 --- a/docs/models/shared/DestinationWeaviateCohere.md +++ b/docs/models/shared/DestinationWeaviateCohere.md @@ -5,7 +5,7 @@ Use the Cohere API to embed text. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cohereKey` | *String* | :heavy_check_mark: | N/A | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `cohereKey` | *String* | :heavy_check_mark: | N/A | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateFake.md b/docs/models/shared/DestinationWeaviateFake.md index 8a5e7cfe5..2bd973d94 100644 --- a/docs/models/shared/DestinationWeaviateFake.md +++ b/docs/models/shared/DestinationWeaviateFake.md @@ -5,6 +5,6 @@ Use a fake embedding made out of random vectors with 1536 embedding dimensions. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateIndexing.md b/docs/models/shared/DestinationWeaviateIndexing.md index 60a2e8c4d..42e667829 100644 --- a/docs/models/shared/DestinationWeaviateIndexing.md +++ b/docs/models/shared/DestinationWeaviateIndexing.md @@ -5,12 +5,12 @@ Indexing configuration ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `additionalHeaders` | List<[com.airbyte.api.models.shared.Header](../../models/shared/Header.md)> | :heavy_minus_sign: | Additional HTTP headers to send with every request. | {
    "header_key": "X-OpenAI-Api-Key",
    "value": "my-openai-api-key"
    } | -| `auth` | [com.airbyte.api.models.shared.DestinationWeaviateAuthentication](../../models/shared/DestinationWeaviateAuthentication.md) | :heavy_check_mark: | Authentication method | | -| `batchSize` | *Optional* | :heavy_minus_sign: | The number of records to send to Weaviate in each batch | | -| `defaultVectorizer` | [Optional](../../models/shared/DefaultVectorizer.md) | :heavy_minus_sign: | The vectorizer to use if new classes need to be created | | -| `host` | *String* | :heavy_check_mark: | The public endpoint of the Weaviate cluster. | https://my-cluster.weaviate.network | -| `tenantId` | *Optional* | :heavy_minus_sign: | The tenant ID to use for multi tenancy | | -| `textField` | *Optional* | :heavy_minus_sign: | The field in the object that contains the embedded text | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `additionalHeaders` | List\<[Header](../../models/shared/Header.md)> | :heavy_minus_sign: | Additional HTTP headers to send with every request. | {
    "header_key": "X-OpenAI-Api-Key",
    "value": "my-openai-api-key"
    } | +| `auth` | [DestinationWeaviateAuthentication](../../models/shared/DestinationWeaviateAuthentication.md) | :heavy_check_mark: | Authentication method | | +| `batchSize` | *Optional\* | :heavy_minus_sign: | The number of records to send to Weaviate in each batch | | +| `defaultVectorizer` | [Optional\](../../models/shared/DefaultVectorizer.md) | :heavy_minus_sign: | The vectorizer to use if new classes need to be created | | +| `host` | *String* | :heavy_check_mark: | The public endpoint of the Weaviate cluster. | https://my-cluster.weaviate.network | +| `tenantId` | *Optional\* | :heavy_minus_sign: | The tenant ID to use for multi tenancy | | +| `textField` | *Optional\* | :heavy_minus_sign: | The field in the object that contains the embedded text | | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateOpenAI.md b/docs/models/shared/DestinationWeaviateOpenAI.md index 8986dab6d..b5aa3dc71 100644 --- a/docs/models/shared/DestinationWeaviateOpenAI.md +++ b/docs/models/shared/DestinationWeaviateOpenAI.md @@ -5,7 +5,7 @@ Use the OpenAI API to embed text. This option is using the text-embedding-ada-00 ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | -| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasEmbeddingMode.md) | :heavy_minus_sign: | N/A | +| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateOpenAICompatible.md b/docs/models/shared/DestinationWeaviateOpenAICompatible.md index 4e3c8afc1..ea95f2243 100644 --- a/docs/models/shared/DestinationWeaviateOpenAICompatible.md +++ b/docs/models/shared/DestinationWeaviateOpenAICompatible.md @@ -5,10 +5,10 @@ Use a service that's compatible with the OpenAI API to embed text. ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | N/A | | -| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | -| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.md) | :heavy_minus_sign: | N/A | | -| `modelName` | *Optional* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *Optional\* | :heavy_minus_sign: | N/A | | +| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | +| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.md) | :heavy_minus_sign: | N/A | | +| `modelName` | *Optional\* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateProcessingConfigModel.md b/docs/models/shared/DestinationWeaviateProcessingConfigModel.md index ec52de8ea..1682982c3 100644 --- a/docs/models/shared/DestinationWeaviateProcessingConfigModel.md +++ b/docs/models/shared/DestinationWeaviateProcessingConfigModel.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `chunkOverlap` | *Optional* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | +| `chunkOverlap` | *Optional\* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | | `chunkSize` | *long* | :heavy_check_mark: | Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) | | -| `fieldNameMappings` | List<[com.airbyte.api.models.shared.DestinationWeaviateFieldNameMappingConfigModel](../../models/shared/DestinationWeaviateFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | -| `metadataFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | -| `textFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | -| `textSplitter` | [Optional](../../models/shared/DestinationWeaviateTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file +| `fieldNameMappings` | List\<[DestinationWeaviateFieldNameMappingConfigModel](../../models/shared/DestinationWeaviateFieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | +| `metadataFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | +| `textFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | +| `textSplitter` | [Optional\](../../models/shared/DestinationWeaviateTextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationWeaviateUsernamePassword.md b/docs/models/shared/DestinationWeaviateUsernamePassword.md index db0b7fb4d..633658be7 100644 --- a/docs/models/shared/DestinationWeaviateUsernamePassword.md +++ b/docs/models/shared/DestinationWeaviateUsernamePassword.md @@ -5,8 +5,8 @@ Authenticate using username and password (suitable for self-managed Weaviate clu ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasIndexingAuthMode.md) | :heavy_minus_sign: | N/A | -| `password` | *String* | :heavy_check_mark: | Password for the Weaviate cluster | -| `username` | *String* | :heavy_check_mark: | Username for the Weaviate cluster | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasIndexingAuthMode.md) | :heavy_minus_sign: | N/A | +| `password` | *String* | :heavy_check_mark: | Password for the Weaviate cluster | +| `username` | *String* | :heavy_check_mark: | Username for the Weaviate cluster | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrick.md b/docs/models/shared/DestinationYellowbrick.md index 5d7020519..1aa291051 100644 --- a/docs/models/shared/DestinationYellowbrick.md +++ b/docs/models/shared/DestinationYellowbrick.md @@ -6,13 +6,13 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `database` | *String* | :heavy_check_mark: | Name of the database. | | -| `destinationType` | [com.airbyte.api.models.shared.Yellowbrick](../../models/shared/Yellowbrick.md) | :heavy_check_mark: | N/A | | +| `destinationType` | [Yellowbrick](../../models/shared/Yellowbrick.md) | :heavy_check_mark: | N/A | | | `host` | *String* | :heavy_check_mark: | Hostname of the database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | -| `password` | *Optional* | :heavy_minus_sign: | Password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | Port of the database. | 5432 | -| `schema` | *Optional* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | -| `ssl` | *Optional* | :heavy_minus_sign: | Encrypt data using SSL. When activating SSL, please select one of the connection modes. | | -| `sslMode` | [Optional](../../models/shared/DestinationYellowbrickSSLModes.md) | :heavy_minus_sign: | SSL connection modes.
    disable - Chose this mode to disable encryption of communication between Airbyte and destination database
    allow - Chose this mode to enable encryption only when required by the source database
    prefer - Chose this mode to allow unencrypted connection only if the source database does not support encryption
    require - Chose this mode to always require encryption. If the source database server does not support encryption, connection will fail
    verify-ca - Chose this mode to always require encryption and to verify that the source database server has a valid SSL certificate
    verify-full - This is the most secure mode. Chose this mode to always require encryption and to verify the identity of the source database server
    See more information - in the docs. | | -| `tunnelMethod` | [Optional](../../models/shared/DestinationYellowbrickSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `password` | *Optional\* | :heavy_minus_sign: | Password associated with the username. | | +| `port` | *Optional\* | :heavy_minus_sign: | Port of the database. | 5432 | +| `schema` | *Optional\* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | +| `ssl` | *Optional\* | :heavy_minus_sign: | Encrypt data using SSL. When activating SSL, please select one of the connection modes. | | +| `sslMode` | [Optional\](../../models/shared/DestinationYellowbrickSSLModes.md) | :heavy_minus_sign: | SSL connection modes.
    disable - Chose this mode to disable encryption of communication between Airbyte and destination database
    allow - Chose this mode to enable encryption only when required by the source database
    prefer - Chose this mode to allow unencrypted connection only if the source database does not support encryption
    require - Chose this mode to always require encryption. If the source database server does not support encryption, connection will fail
    verify-ca - Chose this mode to always require encryption and to verify that the source database server has a valid SSL certificate
    verify-full - This is the most secure mode. Chose this mode to always require encryption and to verify the identity of the source database server
    See more information - in the docs. | | +| `tunnelMethod` | [Optional\](../../models/shared/DestinationYellowbrickSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | Username to use to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrickAllow.md b/docs/models/shared/DestinationYellowbrickAllow.md index fc550a6bd..634237ce2 100644 --- a/docs/models/shared/DestinationYellowbrickAllow.md +++ b/docs/models/shared/DestinationYellowbrickAllow.md @@ -5,6 +5,6 @@ Allow SSL mode. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationYellowbrickSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationYellowbrickSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrickDisable.md b/docs/models/shared/DestinationYellowbrickDisable.md index 2894ef937..8d5c5d50c 100644 --- a/docs/models/shared/DestinationYellowbrickDisable.md +++ b/docs/models/shared/DestinationYellowbrickDisable.md @@ -5,6 +5,6 @@ Disable SSL. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationYellowbrickMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationYellowbrickMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrickNoTunnel.md b/docs/models/shared/DestinationYellowbrickNoTunnel.md index 5712734f9..d0d8f2439 100644 --- a/docs/models/shared/DestinationYellowbrickNoTunnel.md +++ b/docs/models/shared/DestinationYellowbrickNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationYellowbrickTunnelMethod](../../models/shared/DestinationYellowbrickTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `tunnelMethod` | [DestinationYellowbrickTunnelMethod](../../models/shared/DestinationYellowbrickTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrickPasswordAuthentication.md b/docs/models/shared/DestinationYellowbrickPasswordAuthentication.md index 033eb01c5..343993af2 100644 --- a/docs/models/shared/DestinationYellowbrickPasswordAuthentication.md +++ b/docs/models/shared/DestinationYellowbrickPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationYellowbrickSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationYellowbrickSchemasTunnelMethodTunnelMethod](../../models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrickPrefer.md b/docs/models/shared/DestinationYellowbrickPrefer.md index d67c5e1cb..5815832ef 100644 --- a/docs/models/shared/DestinationYellowbrickPrefer.md +++ b/docs/models/shared/DestinationYellowbrickPrefer.md @@ -5,6 +5,6 @@ Prefer SSL mode. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationYellowbrickSchemasSslModeMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationYellowbrickSchemasSslModeMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrickRequire.md b/docs/models/shared/DestinationYellowbrickRequire.md index 5dd44b34c..1d617e2e5 100644 --- a/docs/models/shared/DestinationYellowbrickRequire.md +++ b/docs/models/shared/DestinationYellowbrickRequire.md @@ -5,6 +5,6 @@ Require SSL mode. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrickSSHKeyAuthentication.md b/docs/models/shared/DestinationYellowbrickSSHKeyAuthentication.md index 6ac62fcc7..a1182a02b 100644 --- a/docs/models/shared/DestinationYellowbrickSSHKeyAuthentication.md +++ b/docs/models/shared/DestinationYellowbrickSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationYellowbrickSchemasTunnelMethod](../../models/shared/DestinationYellowbrickSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationYellowbrickSchemasTunnelMethod](../../models/shared/DestinationYellowbrickSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrickVerifyCa.md b/docs/models/shared/DestinationYellowbrickVerifyCa.md index 3cdb74e07..7c83662ab 100644 --- a/docs/models/shared/DestinationYellowbrickVerifyCa.md +++ b/docs/models/shared/DestinationYellowbrickVerifyCa.md @@ -5,8 +5,8 @@ Verify-ca SSL mode. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | -| `clientKeyPassword` | *Optional* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | -| `mode` | [Optional](../../models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | +| `clientKeyPassword` | *Optional\* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | +| `mode` | [Optional\](../../models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationYellowbrickVerifyFull.md b/docs/models/shared/DestinationYellowbrickVerifyFull.md index 9f353cf47..6a8538a65 100644 --- a/docs/models/shared/DestinationYellowbrickVerifyFull.md +++ b/docs/models/shared/DestinationYellowbrickVerifyFull.md @@ -5,10 +5,10 @@ Verify-full SSL mode. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | -| `clientCertificate` | *String* | :heavy_check_mark: | Client certificate | -| `clientKey` | *String* | :heavy_check_mark: | Client key | -| `clientKeyPassword` | *Optional* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | -| `mode` | [Optional](../../models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | +| `clientCertificate` | *String* | :heavy_check_mark: | Client certificate | +| `clientKey` | *String* | :heavy_check_mark: | Client key | +| `clientKeyPassword` | *Optional\* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | +| `mode` | [Optional\](../../models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DestinationsResponse.md b/docs/models/shared/DestinationsResponse.md index d2b57ae21..58bb72e7f 100644 --- a/docs/models/shared/DestinationsResponse.md +++ b/docs/models/shared/DestinationsResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `data` | List<[com.airbyte.api.models.shared.DestinationResponse](../../models/shared/DestinationResponse.md)> | :heavy_check_mark: | N/A | -| `next` | *Optional* | :heavy_minus_sign: | N/A | -| `previous` | *Optional* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `data` | List\<[DestinationResponse](../../models/shared/DestinationResponse.md)> | :heavy_check_mark: | N/A | +| `next` | *Optional\* | :heavy_minus_sign: | N/A | +| `previous` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DetectChangesWithXminSystemColumn.md b/docs/models/shared/DetectChangesWithXminSystemColumn.md index 4579c6f2f..5fdbfe3f9 100644 --- a/docs/models/shared/DetectChangesWithXminSystemColumn.md +++ b/docs/models/shared/DetectChangesWithXminSystemColumn.md @@ -5,6 +5,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `method` | [com.airbyte.api.models.shared.SourcePostgresMethod](../../models/shared/SourcePostgresMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `method` | [SourcePostgresSchemasMethod](../../models/shared/SourcePostgresSchemasMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DevNull.md b/docs/models/shared/DevNull.md new file mode 100644 index 000000000..4b1d8ea4a --- /dev/null +++ b/docs/models/shared/DevNull.md @@ -0,0 +1,8 @@ +# DevNull + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `DEV_NULL` | dev-null | \ No newline at end of file diff --git a/docs/models/shared/Disable.md b/docs/models/shared/Disable.md index b6e34497a..10d4dd713 100644 --- a/docs/models/shared/Disable.md +++ b/docs/models/shared/Disable.md @@ -5,6 +5,6 @@ Disable SSL. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Disabled.md b/docs/models/shared/Disabled.md index 006259f3f..2aac1b880 100644 --- a/docs/models/shared/Disabled.md +++ b/docs/models/shared/Disabled.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `deletionMode` | [com.airbyte.api.models.shared.SourceFaunaDeletionMode](../../models/shared/SourceFaunaDeletionMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `deletionMode` | [SourceFaunaDeletionMode](../../models/shared/SourceFaunaDeletionMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DocumentFileTypeFormatExperimental.md b/docs/models/shared/DocumentFileTypeFormatExperimental.md index 804b44aa1..93f92b837 100644 --- a/docs/models/shared/DocumentFileTypeFormatExperimental.md +++ b/docs/models/shared/DocumentFileTypeFormatExperimental.md @@ -7,7 +7,7 @@ Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one rec | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | -| `processing` | [Optional](../../models/shared/Processing.md) | :heavy_minus_sign: | Processing configuration | -| `skipUnprocessableFiles` | *Optional* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | -| `strategy` | [Optional](../../models/shared/ParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file +| `filetype` | [Optional\](../../models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | +| `processing` | [Optional\](../../models/shared/Processing.md) | :heavy_minus_sign: | Processing configuration | +| `skipUnprocessableFiles` | *Optional\* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | +| `strategy` | [Optional\](../../models/shared/ParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file diff --git a/docs/models/shared/Domain.md b/docs/models/shared/Domain.md new file mode 100644 index 000000000..1eaeffee4 --- /dev/null +++ b/docs/models/shared/Domain.md @@ -0,0 +1,17 @@ +# Domain + +The domain suffix for the Zoho Inventory API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + + +## Values + +| Name | Value | +| -------- | -------- | +| `COM` | com | +| `IN` | in | +| `JP` | jp | +| `EU` | eu | +| `COM_AU` | com.au | +| `CA` | ca | +| `COM_CN` | com.cn | +| `SA` | sa | \ No newline at end of file diff --git a/docs/models/shared/DoubleValue.md b/docs/models/shared/DoubleValue.md index f8d95b55a..9c89a08d6 100644 --- a/docs/models/shared/DoubleValue.md +++ b/docs/models/shared/DoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiValueType](../../models/shared/SourceGoogleAnalyticsDataApiValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiValueType](../../models/shared/SourceGoogleAnalyticsDataApiValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Drift.md b/docs/models/shared/Drift.md new file mode 100644 index 000000000..b6ddf243b --- /dev/null +++ b/docs/models/shared/Drift.md @@ -0,0 +1,8 @@ +# Drift + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/DriftCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/DriftCredentials.md b/docs/models/shared/DriftCredentials.md new file mode 100644 index 000000000..76e005e54 --- /dev/null +++ b/docs/models/shared/DriftCredentials.md @@ -0,0 +1,9 @@ +# DriftCredentials + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Drift developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Drift developer application. | \ No newline at end of file diff --git a/docs/models/shared/Drip.md b/docs/models/shared/Drip.md new file mode 100644 index 000000000..c6901372f --- /dev/null +++ b/docs/models/shared/Drip.md @@ -0,0 +1,8 @@ +# Drip + + +## Values + +| Name | Value | +| ------ | ------ | +| `DRIP` | drip | \ No newline at end of file diff --git a/docs/models/shared/DropboxSign.md b/docs/models/shared/DropboxSign.md new file mode 100644 index 000000000..ad9f4bc5d --- /dev/null +++ b/docs/models/shared/DropboxSign.md @@ -0,0 +1,8 @@ +# DropboxSign + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `DROPBOX_SIGN` | dropbox-sign | \ No newline at end of file diff --git a/docs/models/shared/EConomic.md b/docs/models/shared/EConomic.md new file mode 100644 index 000000000..469cabd3a --- /dev/null +++ b/docs/models/shared/EConomic.md @@ -0,0 +1,8 @@ +# EConomic + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `E_CONOMIC` | e-conomic | \ No newline at end of file diff --git a/docs/models/shared/EUBasedAccount.md b/docs/models/shared/EUBasedAccount.md index 446057163..e77959287 100644 --- a/docs/models/shared/EUBasedAccount.md +++ b/docs/models/shared/EUBasedAccount.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `urlBase` | [Optional](../../models/shared/UrlBase.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `urlBase` | [Optional\](../../models/shared/UrlBase.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Easypost.md b/docs/models/shared/Easypost.md new file mode 100644 index 000000000..08eeaa6b0 --- /dev/null +++ b/docs/models/shared/Easypost.md @@ -0,0 +1,8 @@ +# Easypost + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `EASYPOST` | easypost | \ No newline at end of file diff --git a/docs/models/shared/Easypromos.md b/docs/models/shared/Easypromos.md new file mode 100644 index 000000000..e0085b7a6 --- /dev/null +++ b/docs/models/shared/Easypromos.md @@ -0,0 +1,8 @@ +# Easypromos + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `EASYPROMOS` | easypromos | \ No newline at end of file diff --git a/docs/models/shared/Elasticemail.md b/docs/models/shared/Elasticemail.md new file mode 100644 index 000000000..cbe2ca289 --- /dev/null +++ b/docs/models/shared/Elasticemail.md @@ -0,0 +1,8 @@ +# Elasticemail + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `ELASTICEMAIL` | elasticemail | \ No newline at end of file diff --git a/docs/models/shared/EmploymentHero.md b/docs/models/shared/EmploymentHero.md new file mode 100644 index 000000000..cee5202a3 --- /dev/null +++ b/docs/models/shared/EmploymentHero.md @@ -0,0 +1,8 @@ +# EmploymentHero + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `EMPLOYMENT_HERO` | employment-hero | \ No newline at end of file diff --git a/docs/models/shared/Enabled.md b/docs/models/shared/Enabled.md index fc3650807..2dcc3e9f3 100644 --- a/docs/models/shared/Enabled.md +++ b/docs/models/shared/Enabled.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `column` | *Optional* | :heavy_minus_sign: | Name of the "deleted at" column. | -| `deletionMode` | [com.airbyte.api.models.shared.SourceFaunaSchemasDeletionMode](../../models/shared/SourceFaunaSchemasDeletionMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `column` | *Optional\* | :heavy_minus_sign: | Name of the "deleted at" column. | +| `deletionMode` | [SourceFaunaSchemasDeletionMode](../../models/shared/SourceFaunaSchemasDeletionMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Encharge.md b/docs/models/shared/Encharge.md new file mode 100644 index 000000000..fe5a62b50 --- /dev/null +++ b/docs/models/shared/Encharge.md @@ -0,0 +1,8 @@ +# Encharge + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `ENCHARGE` | encharge | \ No newline at end of file diff --git a/docs/models/shared/EncryptedTrustServerCertificate.md b/docs/models/shared/EncryptedTrustServerCertificate.md index 50e33d000..493d489fa 100644 --- a/docs/models/shared/EncryptedTrustServerCertificate.md +++ b/docs/models/shared/EncryptedTrustServerCertificate.md @@ -5,6 +5,6 @@ Use the certificate provided by the server without verification. (For testing pu ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `sslMethod` | [Optional](../../models/shared/DestinationMssqlSchemasSslMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `sslMethod` | [Optional\](../../models/shared/DestinationMssqlSchemasSslMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/EncryptedVerifyCertificate.md b/docs/models/shared/EncryptedVerifyCertificate.md index 189865a16..a5d176f70 100644 --- a/docs/models/shared/EncryptedVerifyCertificate.md +++ b/docs/models/shared/EncryptedVerifyCertificate.md @@ -5,7 +5,7 @@ Verify and use the certificate provided by the server. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `hostNameInCertificate` | *Optional* | :heavy_minus_sign: | Specifies the host name of the server. The value of this property must match the subject property of the certificate. | -| `sslMethod` | [Optional](../../models/shared/DestinationMssqlSchemasSslMethodSslMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `hostNameInCertificate` | *Optional\* | :heavy_minus_sign: | Specifies the host name of the server. The value of this property must match the subject property of the certificate. | +| `sslMethod` | [Optional\](../../models/shared/DestinationMssqlSchemasSslMethodSslMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Enterprise.md b/docs/models/shared/Enterprise.md index 2816b6ffb..e0ffceab5 100644 --- a/docs/models/shared/Enterprise.md +++ b/docs/models/shared/Enterprise.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiEndpoint` | [Optional](../../models/shared/SourceJotformSchemasApiEndpoint.md) | :heavy_minus_sign: | N/A | -| `enterpriseUrl` | *String* | :heavy_check_mark: | Upgrade to Enterprise to make your API url your-domain.com/API or subdomain.jotform.com/API instead of api.jotform.com | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `apiEndpoint` | [Optional\](../../models/shared/SourceJotformSchemasApiEndpoint.md) | :heavy_minus_sign: | N/A | +| `enterpriseUrl` | *String* | :heavy_check_mark: | Upgrade to Enterprise to make your API url your-domain.com/API or subdomain.jotform.com/API instead of api.jotform.com | \ No newline at end of file diff --git a/docs/models/shared/Entity.md b/docs/models/shared/Entity.md new file mode 100644 index 000000000..1a6d4eb04 --- /dev/null +++ b/docs/models/shared/Entity.md @@ -0,0 +1,10 @@ +# Entity + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `PARTIES` | parties | +| `OPPORTUNITIES` | opportunities | +| `KASES` | kases | \ No newline at end of file diff --git a/docs/models/shared/Eventbrite.md b/docs/models/shared/Eventbrite.md new file mode 100644 index 000000000..26a4bac77 --- /dev/null +++ b/docs/models/shared/Eventbrite.md @@ -0,0 +1,8 @@ +# Eventbrite + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `EVENTBRITE` | eventbrite | \ No newline at end of file diff --git a/docs/models/shared/Eventee.md b/docs/models/shared/Eventee.md new file mode 100644 index 000000000..bb31bac49 --- /dev/null +++ b/docs/models/shared/Eventee.md @@ -0,0 +1,8 @@ +# Eventee + + +## Values + +| Name | Value | +| --------- | --------- | +| `EVENTEE` | eventee | \ No newline at end of file diff --git a/docs/models/shared/Eventzilla.md b/docs/models/shared/Eventzilla.md new file mode 100644 index 000000000..8cc4a9331 --- /dev/null +++ b/docs/models/shared/Eventzilla.md @@ -0,0 +1,8 @@ +# Eventzilla + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `EVENTZILLA` | eventzilla | \ No newline at end of file diff --git a/docs/models/shared/EveryNThEntry.md b/docs/models/shared/EveryNThEntry.md new file mode 100644 index 000000000..ffae1acae --- /dev/null +++ b/docs/models/shared/EveryNThEntry.md @@ -0,0 +1,13 @@ +# EveryNThEntry + +For each stream, log every N-th entry with a maximum cap. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | | +| `loggingType` | [Optional\](../../models/shared/DestinationDevNullLoggingType.md) | :heavy_minus_sign: | N/A | | +| `maxEntryCount` | *Optional\* | :heavy_minus_sign: | Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. | 100 | +| `nthEntryToLog` | *long* | :heavy_check_mark: | The N-th entry to log for each stream. N starts from 1. For example, when N = 1, every entry is logged; when N = 2, every other entry is logged; when N = 3, one out of three entries is logged. | 3 | \ No newline at end of file diff --git a/docs/models/shared/ExcelFormat.md b/docs/models/shared/ExcelFormat.md index 598bbe4e5..4b439ead8 100644 --- a/docs/models/shared/ExcelFormat.md +++ b/docs/models/shared/ExcelFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `filetype` | [Optional\](../../models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Expression.md b/docs/models/shared/Expression.md index d1ade7446..152ef123a 100644 --- a/docs/models/shared/Expression.md +++ b/docs/models/shared/Expression.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fieldName` | *String* | :heavy_check_mark: | N/A | -| `filter` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `fieldName` | *String* | :heavy_check_mark: | N/A | +| `filter` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ExternalTableViaS3.md b/docs/models/shared/ExternalTableViaS3.md index f8696b685..1fdf4dc84 100644 --- a/docs/models/shared/ExternalTableViaS3.md +++ b/docs/models/shared/ExternalTableViaS3.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `awsKeyId` | *String* | :heavy_check_mark: | AWS access key granting read and write access to S3. | | -| `awsKeySecret` | *String* | :heavy_check_mark: | Corresponding secret part of the AWS Key | | -| `method` | [com.airbyte.api.models.shared.DestinationFireboltSchemasMethod](../../models/shared/DestinationFireboltSchemasMethod.md) | :heavy_check_mark: | N/A | | -| `s3Bucket` | *String* | :heavy_check_mark: | The name of the S3 bucket. | | -| `s3Region` | *String* | :heavy_check_mark: | Region name of the S3 bucket. | us-east-1 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `awsKeyId` | *String* | :heavy_check_mark: | AWS access key granting read and write access to S3. | | +| `awsKeySecret` | *String* | :heavy_check_mark: | Corresponding secret part of the AWS Key | | +| `method` | [DestinationFireboltSchemasMethod](../../models/shared/DestinationFireboltSchemasMethod.md) | :heavy_check_mark: | N/A | | +| `s3Bucket` | *String* | :heavy_check_mark: | The name of the S3 bucket. | | +| `s3Region` | *String* | :heavy_check_mark: | Region name of the S3 bucket. | us-east-1 | \ No newline at end of file diff --git a/docs/models/shared/FacebookMarketing.md b/docs/models/shared/FacebookMarketing.md index f7ef84f1c..ae5b25c59 100644 --- a/docs/models/shared/FacebookMarketing.md +++ b/docs/models/shared/FacebookMarketing.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/FacebookMarketingCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/FacebookMarketingCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/FacebookMarketingCredentials.md b/docs/models/shared/FacebookMarketingCredentials.md index a2eca92ea..f27bcdd14 100644 --- a/docs/models/shared/FacebookMarketingCredentials.md +++ b/docs/models/shared/FacebookMarketingCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client Id for your OAuth app | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret for your OAuth app | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client Id for your OAuth app | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret for your OAuth app | \ No newline at end of file diff --git a/docs/models/shared/Factorial.md b/docs/models/shared/Factorial.md new file mode 100644 index 000000000..e77aab6ef --- /dev/null +++ b/docs/models/shared/Factorial.md @@ -0,0 +1,8 @@ +# Factorial + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `FACTORIAL` | factorial | \ No newline at end of file diff --git a/docs/models/shared/Failing.md b/docs/models/shared/Failing.md new file mode 100644 index 000000000..ab2b7a6ce --- /dev/null +++ b/docs/models/shared/Failing.md @@ -0,0 +1,10 @@ +# Failing + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `numMessages` | *long* | :heavy_check_mark: | Number of messages after which to fail. | +| `testDestinationType` | [Optional\](../../models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Fake.md b/docs/models/shared/Fake.md index e86fb1c15..a1d9894d1 100644 --- a/docs/models/shared/Fake.md +++ b/docs/models/shared/Fake.md @@ -5,6 +5,6 @@ Use a fake embedding made out of random vectors with 1536 embedding dimensions. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationAstraSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationAstraSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/FileBasedStreamConfig.md b/docs/models/shared/FileBasedStreamConfig.md index 167e42ddf..3c21e8405 100644 --- a/docs/models/shared/FileBasedStreamConfig.md +++ b/docs/models/shared/FileBasedStreamConfig.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `daysToSyncIfHistoryIsFull` | *Optional* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | -| `format` | [com.airbyte.api.models.shared.Format](../../models/shared/Format.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | -| `globs` | List<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | -| `inputSchema` | *Optional* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | +| `daysToSyncIfHistoryIsFull` | *Optional\* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | +| `format` | [Format](../../models/shared/Format.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | +| `globs` | List\<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | +| `inputSchema` | *Optional\* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | | `name` | *String* | :heavy_check_mark: | The name of the stream. | -| `schemaless` | *Optional* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | -| `validationPolicy` | [Optional](../../models/shared/ValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file +| `schemaless` | *Optional\* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | +| `validationPolicy` | [Optional\](../../models/shared/ValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file diff --git a/docs/models/shared/FileFormat.md b/docs/models/shared/FileFormat.md index 6ba7f6b25..6375e44fa 100644 --- a/docs/models/shared/FileFormat.md +++ b/docs/models/shared/FileFormat.md @@ -1,18 +1,13 @@ # FileFormat -The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). +File format of Iceberg storage. -## Values +## Fields -| Name | Value | -| -------------- | -------------- | -| `CSV` | csv | -| `JSON` | json | -| `JSONL` | jsonl | -| `EXCEL` | excel | -| `EXCEL_BINARY` | excel_binary | -| `FWF` | fwf | -| `FEATHER` | feather | -| `PARQUET` | parquet | -| `YAML` | yaml | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `autoCompact` | *Optional\* | :heavy_minus_sign: | Auto compact data files when stream close | +| `compactTargetFileSizeInMb` | *Optional\* | :heavy_minus_sign: | Specify the target size of Iceberg data file when performing a compaction action. | +| `flushBatchSize` | *Optional\* | :heavy_minus_sign: | Iceberg data file flush batch size. Incoming rows write to cache firstly; When cache size reaches this 'batch size', flush into real Iceberg data file. | +| `format` | [Optional\](../../models/shared/FileStorageFormat.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/FileStorageFormat.md b/docs/models/shared/FileStorageFormat.md new file mode 100644 index 000000000..536b5dca4 --- /dev/null +++ b/docs/models/shared/FileStorageFormat.md @@ -0,0 +1,9 @@ +# FileStorageFormat + + +## Values + +| Name | Value | +| --------- | --------- | +| `PARQUET` | Parquet | +| `AVRO` | Avro | \ No newline at end of file diff --git a/docs/models/shared/Fillout.md b/docs/models/shared/Fillout.md new file mode 100644 index 000000000..b9dc3e76f --- /dev/null +++ b/docs/models/shared/Fillout.md @@ -0,0 +1,8 @@ +# Fillout + + +## Values + +| Name | Value | +| --------- | --------- | +| `FILLOUT` | fillout | \ No newline at end of file diff --git a/docs/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.md b/docs/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.md index dbab57dc6..d80156b46 100644 --- a/docs/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.md +++ b/docs/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `attributeKey` | *Optional* | :heavy_minus_sign: | N/A | EventName | -| `attributeValue` | *Optional* | :heavy_minus_sign: | N/A | ListInstanceAssociations | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `attributeKey` | *Optional\* | :heavy_minus_sign: | N/A | EventName | +| `attributeValue` | *Optional\* | :heavy_minus_sign: | N/A | ListInstanceAssociations | \ No newline at end of file diff --git a/docs/models/shared/Finage.md b/docs/models/shared/Finage.md new file mode 100644 index 000000000..ad2d00e09 --- /dev/null +++ b/docs/models/shared/Finage.md @@ -0,0 +1,8 @@ +# Finage + + +## Values + +| Name | Value | +| -------- | -------- | +| `FINAGE` | finage | \ No newline at end of file diff --git a/docs/models/shared/FinancialModelling.md b/docs/models/shared/FinancialModelling.md new file mode 100644 index 000000000..2cbc8de55 --- /dev/null +++ b/docs/models/shared/FinancialModelling.md @@ -0,0 +1,8 @@ +# FinancialModelling + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `FINANCIAL_MODELLING` | financial-modelling | \ No newline at end of file diff --git a/docs/models/shared/Finnhub.md b/docs/models/shared/Finnhub.md new file mode 100644 index 000000000..cbbf9a161 --- /dev/null +++ b/docs/models/shared/Finnhub.md @@ -0,0 +1,8 @@ +# Finnhub + + +## Values + +| Name | Value | +| --------- | --------- | +| `FINNHUB` | finnhub | \ No newline at end of file diff --git a/docs/models/shared/Finnworlds.md b/docs/models/shared/Finnworlds.md new file mode 100644 index 000000000..4eab86b08 --- /dev/null +++ b/docs/models/shared/Finnworlds.md @@ -0,0 +1,8 @@ +# Finnworlds + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `FINNWORLDS` | finnworlds | \ No newline at end of file diff --git a/docs/models/shared/Firehydrant.md b/docs/models/shared/Firehydrant.md new file mode 100644 index 000000000..fb5985a69 --- /dev/null +++ b/docs/models/shared/Firehydrant.md @@ -0,0 +1,8 @@ +# Firehydrant + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `FIREHYDRANT` | firehydrant | \ No newline at end of file diff --git a/docs/models/shared/FirstNEntries.md b/docs/models/shared/FirstNEntries.md new file mode 100644 index 000000000..d27b43e43 --- /dev/null +++ b/docs/models/shared/FirstNEntries.md @@ -0,0 +1,12 @@ +# FirstNEntries + +Log first N entries per stream. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | | +| `loggingType` | [Optional\](../../models/shared/LoggingType.md) | :heavy_minus_sign: | N/A | | +| `maxEntryCount` | *Optional\* | :heavy_minus_sign: | Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. | 100 | \ No newline at end of file diff --git a/docs/models/shared/Flexmail.md b/docs/models/shared/Flexmail.md new file mode 100644 index 000000000..e3384b584 --- /dev/null +++ b/docs/models/shared/Flexmail.md @@ -0,0 +1,8 @@ +# Flexmail + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `FLEXMAIL` | flexmail | \ No newline at end of file diff --git a/docs/models/shared/Flexport.md b/docs/models/shared/Flexport.md new file mode 100644 index 000000000..ce71ab02e --- /dev/null +++ b/docs/models/shared/Flexport.md @@ -0,0 +1,8 @@ +# Flexport + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `FLEXPORT` | flexport | \ No newline at end of file diff --git a/docs/models/shared/Float.md b/docs/models/shared/Float.md new file mode 100644 index 000000000..f44ddd97f --- /dev/null +++ b/docs/models/shared/Float.md @@ -0,0 +1,8 @@ +# Float + + +## Values + +| Name | Value | +| ------- | ------- | +| `FLOAT` | float | \ No newline at end of file diff --git a/docs/models/shared/Flowlu.md b/docs/models/shared/Flowlu.md new file mode 100644 index 000000000..dd3227378 --- /dev/null +++ b/docs/models/shared/Flowlu.md @@ -0,0 +1,8 @@ +# Flowlu + + +## Values + +| Name | Value | +| -------- | -------- | +| `FLOWLU` | flowlu | \ No newline at end of file diff --git a/docs/models/shared/Formbricks.md b/docs/models/shared/Formbricks.md new file mode 100644 index 000000000..21d3d7ce9 --- /dev/null +++ b/docs/models/shared/Formbricks.md @@ -0,0 +1,8 @@ +# Formbricks + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `FORMBRICKS` | formbricks | \ No newline at end of file diff --git a/docs/models/shared/FreeAgentConnector.md b/docs/models/shared/FreeAgentConnector.md new file mode 100644 index 000000000..f4649fb01 --- /dev/null +++ b/docs/models/shared/FreeAgentConnector.md @@ -0,0 +1,8 @@ +# FreeAgentConnector + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `FREE_AGENT_CONNECTOR` | free-agent-connector | \ No newline at end of file diff --git a/docs/models/shared/Freightview.md b/docs/models/shared/Freightview.md new file mode 100644 index 000000000..44766a169 --- /dev/null +++ b/docs/models/shared/Freightview.md @@ -0,0 +1,8 @@ +# Freightview + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `FREIGHTVIEW` | freightview | \ No newline at end of file diff --git a/docs/models/shared/Freshbooks.md b/docs/models/shared/Freshbooks.md new file mode 100644 index 000000000..ed5de5018 --- /dev/null +++ b/docs/models/shared/Freshbooks.md @@ -0,0 +1,8 @@ +# Freshbooks + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `FRESHBOOKS` | freshbooks | \ No newline at end of file diff --git a/docs/models/shared/Freshchat.md b/docs/models/shared/Freshchat.md new file mode 100644 index 000000000..414819495 --- /dev/null +++ b/docs/models/shared/Freshchat.md @@ -0,0 +1,8 @@ +# Freshchat + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `FRESHCHAT` | freshchat | \ No newline at end of file diff --git a/docs/models/shared/Freshservice.md b/docs/models/shared/Freshservice.md new file mode 100644 index 000000000..d39a0bfdb --- /dev/null +++ b/docs/models/shared/Freshservice.md @@ -0,0 +1,8 @@ +# Freshservice + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `FRESHSERVICE` | freshservice | \ No newline at end of file diff --git a/docs/models/shared/FromCSV.md b/docs/models/shared/FromCSV.md index 3fa0118a9..eae69c6eb 100644 --- a/docs/models/shared/FromCSV.md +++ b/docs/models/shared/FromCSV.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/HeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `headerDefinitionType` | [Optional\](../../models/shared/HeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/FromField.md b/docs/models/shared/FromField.md index c98676c3f..684978679 100644 --- a/docs/models/shared/FromField.md +++ b/docs/models/shared/FromField.md @@ -5,8 +5,8 @@ Use a field in the record as the embedding. This is useful if you already have a ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | -| `fieldName` | *String* | :heavy_check_mark: | Name of the field in the record that contains the embedding | embedding | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | +| `fieldName` | *String* | :heavy_check_mark: | Name of the field in the record that contains the embedding | embedding | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasEmbeddingEmbedding5Mode.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/Fulcrum.md b/docs/models/shared/Fulcrum.md new file mode 100644 index 000000000..1d0c61c5d --- /dev/null +++ b/docs/models/shared/Fulcrum.md @@ -0,0 +1,8 @@ +# Fulcrum + + +## Values + +| Name | Value | +| --------- | --------- | +| `FULCRUM` | fulcrum | \ No newline at end of file diff --git a/docs/models/shared/GCSGoogleCloudStorage.md b/docs/models/shared/GCSGoogleCloudStorage.md index 24fcb3a82..7401b574f 100644 --- a/docs/models/shared/GCSGoogleCloudStorage.md +++ b/docs/models/shared/GCSGoogleCloudStorage.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `serviceAccountJson` | *Optional* | :heavy_minus_sign: | In order to access private Buckets stored on Google Cloud, this connector would need a service account json credentials with the proper permissions as described here. Please generate the credentials.json file and copy/paste its content to this field (expecting JSON formats). If accessing publicly available data, this field is not necessary. | -| `storage` | [com.airbyte.api.models.shared.SourceFileStorage](../../models/shared/SourceFileStorage.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `serviceAccountJson` | *Optional\* | :heavy_minus_sign: | In order to access private Buckets stored on Google Cloud, this connector would need a service account json credentials with the proper permissions as described here. Please generate the credentials.json file and copy/paste its content to this field (expecting JSON formats). If accessing publicly available data, this field is not necessary. | +| `storage` | [SourceFileStorage](../../models/shared/SourceFileStorage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GCSStaging.md b/docs/models/shared/GCSStaging.md index 30f9e08ba..b7e057c73 100644 --- a/docs/models/shared/GCSStaging.md +++ b/docs/models/shared/GCSStaging.md @@ -7,8 +7,8 @@ Writes large batches of records to a file, uploads the file to GCS, then uses CO | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credential` | [com.airbyte.api.models.shared.Credential](../../models/shared/Credential.md) | :heavy_check_mark: | An HMAC key is a type of credential and can be associated with a service account or a user account in Cloud Storage. Read more here. | | +| `credential` | [Credential](../../models/shared/Credential.md) | :heavy_check_mark: | An HMAC key is a type of credential and can be associated with a service account or a user account in Cloud Storage. Read more here. | | | `gcsBucketName` | *String* | :heavy_check_mark: | The name of the GCS bucket. Read more here. | airbyte_sync | | `gcsBucketPath` | *String* | :heavy_check_mark: | Directory under the GCS bucket where data will be written. | data_sync/test | -| `keepFilesInGcsBucket` | [Optional](../../models/shared/GCSTmpFilesAfterwardProcessing.md) | :heavy_minus_sign: | This upload method is supposed to temporary store records in GCS bucket. By this select you can chose if these records should be removed from GCS when migration has finished. The default "Delete all tmp files from GCS" value is used if not set explicitly. | | -| `method` | [com.airbyte.api.models.shared.DestinationBigqueryMethod](../../models/shared/DestinationBigqueryMethod.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `keepFilesInGcsBucket` | [Optional\](../../models/shared/GCSTmpFilesAfterwardProcessing.md) | :heavy_minus_sign: | This upload method is supposed to temporary store records in GCS bucket. By this select you can chose if these records should be removed from GCS when migration has finished. The default "Delete all tmp files from GCS" value is used if not set explicitly. | | +| `method` | [DestinationBigqueryMethod](../../models/shared/DestinationBigqueryMethod.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/Gcs.md b/docs/models/shared/Gcs.md index c0a977182..9d39379d7 100644 --- a/docs/models/shared/Gcs.md +++ b/docs/models/shared/Gcs.md @@ -1,8 +1,8 @@ # Gcs -## Values +## Fields -| Name | Value | -| ----- | ----- | -| `GCS` | gcs | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/GcsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GcsCredentials.md b/docs/models/shared/GcsCredentials.md new file mode 100644 index 000000000..dc082f85f --- /dev/null +++ b/docs/models/shared/GcsCredentials.md @@ -0,0 +1,9 @@ +# GcsCredentials + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `clientId` | *Optional\* | :heavy_minus_sign: | Client ID | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret | \ No newline at end of file diff --git a/docs/models/shared/Getgist.md b/docs/models/shared/Getgist.md new file mode 100644 index 000000000..0d0206400 --- /dev/null +++ b/docs/models/shared/Getgist.md @@ -0,0 +1,8 @@ +# Getgist + + +## Values + +| Name | Value | +| --------- | --------- | +| `GETGIST` | getgist | \ No newline at end of file diff --git a/docs/models/shared/Gitbook.md b/docs/models/shared/Gitbook.md new file mode 100644 index 000000000..dcb4e2821 --- /dev/null +++ b/docs/models/shared/Gitbook.md @@ -0,0 +1,8 @@ +# Gitbook + + +## Values + +| Name | Value | +| --------- | --------- | +| `GITBOOK` | gitbook | \ No newline at end of file diff --git a/docs/models/shared/Github.md b/docs/models/shared/Github.md index 2c13ef8c0..2291155ae 100644 --- a/docs/models/shared/Github.md +++ b/docs/models/shared/Github.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/GithubCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/GithubCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GithubCredentials.md b/docs/models/shared/GithubCredentials.md index 18bbc71ef..59ec0ca3b 100644 --- a/docs/models/shared/GithubCredentials.md +++ b/docs/models/shared/GithubCredentials.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | OAuth Client Id | -| `clientSecret` | *Optional* | :heavy_minus_sign: | OAuth Client secret | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `clientId` | *Optional\* | :heavy_minus_sign: | OAuth Client Id | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | OAuth Client secret | \ No newline at end of file diff --git a/docs/models/shared/Gitlab.md b/docs/models/shared/Gitlab.md index 13cce363b..039bb7a68 100644 --- a/docs/models/shared/Gitlab.md +++ b/docs/models/shared/Gitlab.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/GitlabCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/GitlabCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GitlabCredentials.md b/docs/models/shared/GitlabCredentials.md index 720874f40..132185710 100644 --- a/docs/models/shared/GitlabCredentials.md +++ b/docs/models/shared/GitlabCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `clientId` | *Optional* | :heavy_minus_sign: | The API ID of the Gitlab developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The API Secret the Gitlab developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The API ID of the Gitlab developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The API Secret the Gitlab developer application. | \ No newline at end of file diff --git a/docs/models/shared/GlobalAccount.md b/docs/models/shared/GlobalAccount.md index 93b003d55..d44654c7d 100644 --- a/docs/models/shared/GlobalAccount.md +++ b/docs/models/shared/GlobalAccount.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `urlBase` | [Optional](../../models/shared/SourceSurveySparrowUrlBase.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `urlBase` | [Optional\](../../models/shared/SourceSurveySparrowUrlBase.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GlueCatalog.md b/docs/models/shared/GlueCatalog.md new file mode 100644 index 000000000..73f086eb8 --- /dev/null +++ b/docs/models/shared/GlueCatalog.md @@ -0,0 +1,11 @@ +# GlueCatalog + +The GlueCatalog connects to a AWS Glue Catalog + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `catalogType` | [Optional\](../../models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.md) | :heavy_minus_sign: | N/A | | +| `database` | *Optional\* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | \ No newline at end of file diff --git a/docs/models/shared/Gmail.md b/docs/models/shared/Gmail.md new file mode 100644 index 000000000..6b7fd874a --- /dev/null +++ b/docs/models/shared/Gmail.md @@ -0,0 +1,8 @@ +# Gmail + + +## Values + +| Name | Value | +| ------- | ------- | +| `GMAIL` | gmail | \ No newline at end of file diff --git a/docs/models/shared/GoCardlessAPIEnvironment.md b/docs/models/shared/GoCardlessAPIEnvironment.md new file mode 100644 index 000000000..461bf1c89 --- /dev/null +++ b/docs/models/shared/GoCardlessAPIEnvironment.md @@ -0,0 +1,11 @@ +# GoCardlessAPIEnvironment + +Environment you are trying to connect to. + + +## Values + +| Name | Value | +| --------- | --------- | +| `SANDBOX` | sandbox | +| `LIVE` | live | \ No newline at end of file diff --git a/docs/models/shared/Gocardless.md b/docs/models/shared/Gocardless.md new file mode 100644 index 000000000..536bee8d9 --- /dev/null +++ b/docs/models/shared/Gocardless.md @@ -0,0 +1,8 @@ +# Gocardless + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `GOCARDLESS` | gocardless | \ No newline at end of file diff --git a/docs/models/shared/Gong.md b/docs/models/shared/Gong.md new file mode 100644 index 000000000..a82b4d73e --- /dev/null +++ b/docs/models/shared/Gong.md @@ -0,0 +1,8 @@ +# Gong + + +## Values + +| Name | Value | +| ------ | ------ | +| `GONG` | gong | \ No newline at end of file diff --git a/docs/models/shared/GoogleAds.md b/docs/models/shared/GoogleAds.md index 235939b9e..b781868ef 100644 --- a/docs/models/shared/GoogleAds.md +++ b/docs/models/shared/GoogleAds.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/GoogleAdsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/GoogleAdsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GoogleAdsCredentials.md b/docs/models/shared/GoogleAdsCredentials.md index 0abe51f5b..f631d01a5 100644 --- a/docs/models/shared/GoogleAdsCredentials.md +++ b/docs/models/shared/GoogleAdsCredentials.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Google Ads developer application. For detailed instructions on finding this value, refer to our documentation. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Google Ads developer application. For detailed instructions on finding this value, refer to our documentation. | -| `developerToken` | *Optional* | :heavy_minus_sign: | The Developer Token granted by Google to use their APIs. For detailed instructions on finding this value, refer to our documentation. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Google Ads developer application. For detailed instructions on finding this value, refer to our documentation. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Google Ads developer application. For detailed instructions on finding this value, refer to our documentation. | +| `developerToken` | *Optional\* | :heavy_minus_sign: | The Developer Token granted by Google to use their APIs. For detailed instructions on finding this value, refer to our documentation. | \ No newline at end of file diff --git a/docs/models/shared/GoogleAnalyticsDataApi.md b/docs/models/shared/GoogleAnalyticsDataApi.md index 3d543667c..1612263de 100644 --- a/docs/models/shared/GoogleAnalyticsDataApi.md +++ b/docs/models/shared/GoogleAnalyticsDataApi.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/GoogleAnalyticsDataApiCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/GoogleAnalyticsDataApiCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GoogleAnalyticsDataApiCredentials.md b/docs/models/shared/GoogleAnalyticsDataApiCredentials.md index 57ed4ed20..c91436e37 100644 --- a/docs/models/shared/GoogleAnalyticsDataApiCredentials.md +++ b/docs/models/shared/GoogleAnalyticsDataApiCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Google Analytics developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Google Analytics developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Google Analytics developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Google Analytics developer application. | \ No newline at end of file diff --git a/docs/models/shared/GoogleCalendar.md b/docs/models/shared/GoogleCalendar.md new file mode 100644 index 000000000..65fc31d79 --- /dev/null +++ b/docs/models/shared/GoogleCalendar.md @@ -0,0 +1,8 @@ +# GoogleCalendar + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `GOOGLE_CALENDAR` | google-calendar | \ No newline at end of file diff --git a/docs/models/shared/GoogleClassroom.md b/docs/models/shared/GoogleClassroom.md new file mode 100644 index 000000000..7f0551a37 --- /dev/null +++ b/docs/models/shared/GoogleClassroom.md @@ -0,0 +1,8 @@ +# GoogleClassroom + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `GOOGLE_CLASSROOM` | google-classroom | \ No newline at end of file diff --git a/docs/models/shared/GoogleCredentials.md b/docs/models/shared/GoogleCredentials.md index 7f6de0883..d4c046344 100644 --- a/docs/models/shared/GoogleCredentials.md +++ b/docs/models/shared/GoogleCredentials.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *Optional* | :heavy_minus_sign: | The Access Token for making authenticated requests. For detailed instructions on finding this value, refer to our documentation. | +| `accessToken` | *Optional\* | :heavy_minus_sign: | The Access Token for making authenticated requests. For detailed instructions on finding this value, refer to our documentation. | | `clientId` | *String* | :heavy_check_mark: | The Client ID of your Google Ads developer application. For detailed instructions on finding this value, refer to our documentation. | | `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Google Ads developer application. For detailed instructions on finding this value, refer to our documentation. | | `developerToken` | *String* | :heavy_check_mark: | The Developer Token granted by Google to use their APIs. For detailed instructions on finding this value, refer to our documentation. | diff --git a/docs/models/shared/GoogleDrive.md b/docs/models/shared/GoogleDrive.md index d8ae22b51..4731de05e 100644 --- a/docs/models/shared/GoogleDrive.md +++ b/docs/models/shared/GoogleDrive.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/GoogleDriveCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/GoogleDriveCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GoogleDriveCredentials.md b/docs/models/shared/GoogleDriveCredentials.md index d1df20459..d4e3738af 100644 --- a/docs/models/shared/GoogleDriveCredentials.md +++ b/docs/models/shared/GoogleDriveCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | Client ID for the Google Drive API | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Client Secret for the Google Drive API | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | Client ID for the Google Drive API | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret for the Google Drive API | \ No newline at end of file diff --git a/docs/models/shared/GoogleForms.md b/docs/models/shared/GoogleForms.md new file mode 100644 index 000000000..cc87e979e --- /dev/null +++ b/docs/models/shared/GoogleForms.md @@ -0,0 +1,8 @@ +# GoogleForms + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `GOOGLE_FORMS` | google-forms | \ No newline at end of file diff --git a/docs/models/shared/GoogleSearchConsole.md b/docs/models/shared/GoogleSearchConsole.md index a9bbf81a2..73206aa50 100644 --- a/docs/models/shared/GoogleSearchConsole.md +++ b/docs/models/shared/GoogleSearchConsole.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `authorization` | [Optional](../../models/shared/Authorization.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `authorization` | [Optional\](../../models/shared/Authorization.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GoogleSheets.md b/docs/models/shared/GoogleSheets.md index 5680bc1c8..283833f10 100644 --- a/docs/models/shared/GoogleSheets.md +++ b/docs/models/shared/GoogleSheets.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/GoogleSheetsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/GoogleSheetsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/GoogleSheetsCredentials.md b/docs/models/shared/GoogleSheetsCredentials.md index c7c039b5b..944b4feb3 100644 --- a/docs/models/shared/GoogleSheetsCredentials.md +++ b/docs/models/shared/GoogleSheetsCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | Enter your Google application's Client ID. See Google's documentation for more information. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Enter your Google application's Client Secret. See Google's documentation for more information. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | Enter your Google application's Client ID. See Google's documentation for more information. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Enter your Google application's Client Secret. See Google's documentation for more information. | \ No newline at end of file diff --git a/docs/models/shared/Gorgias.md b/docs/models/shared/Gorgias.md new file mode 100644 index 000000000..a01171c6d --- /dev/null +++ b/docs/models/shared/Gorgias.md @@ -0,0 +1,8 @@ +# Gorgias + + +## Values + +| Name | Value | +| --------- | --------- | +| `GORGIAS` | gorgias | \ No newline at end of file diff --git a/docs/models/shared/Gutendex.md b/docs/models/shared/Gutendex.md new file mode 100644 index 000000000..3f9dad7d3 --- /dev/null +++ b/docs/models/shared/Gutendex.md @@ -0,0 +1,8 @@ +# Gutendex + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `GUTENDEX` | gutendex | \ No newline at end of file diff --git a/docs/models/shared/Gzip.md b/docs/models/shared/Gzip.md index f02bd11c6..1c63f6a27 100644 --- a/docs/models/shared/Gzip.md +++ b/docs/models/shared/Gzip.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionType` | [Optional](../../models/shared/DestinationGcsCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `compressionType` | [Optional\](../../models/shared/DestinationGcsCompressionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/HMACKey.md b/docs/models/shared/HMACKey.md index 301d4956b..d0e37da84 100644 --- a/docs/models/shared/HMACKey.md +++ b/docs/models/shared/HMACKey.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `credentialType` | [Optional](../../models/shared/CredentialType.md) | :heavy_minus_sign: | N/A | | +| `credentialType` | [Optional\](../../models/shared/CredentialType.md) | :heavy_minus_sign: | N/A | | | `hmacKeyAccessId` | *String* | :heavy_check_mark: | When linked to a service account, this ID is 61 characters long; when linked to a user account, it is 24 characters long. Read more here. | 1234567890abcdefghij1234 | | `hmacKeySecret` | *String* | :heavy_check_mark: | The corresponding secret for the access ID. It is a 40-character base-64 encoded string. Read more here. | 1234567890abcdefghij1234567890ABCDEFGHIJ | \ No newline at end of file diff --git a/docs/models/shared/HTTPSPublicWeb.md b/docs/models/shared/HTTPSPublicWeb.md index e1b6618d8..d43376b58 100644 --- a/docs/models/shared/HTTPSPublicWeb.md +++ b/docs/models/shared/HTTPSPublicWeb.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `storage` | [com.airbyte.api.models.shared.Storage](../../models/shared/Storage.md) | :heavy_check_mark: | N/A | -| `userAgent` | *Optional* | :heavy_minus_sign: | Add User-Agent to request | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `storage` | [Storage](../../models/shared/Storage.md) | :heavy_check_mark: | N/A | +| `userAgent` | *Optional\* | :heavy_minus_sign: | Add User-Agent to request | \ No newline at end of file diff --git a/docs/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.md b/docs/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.md new file mode 100644 index 000000000..572f2dc26 --- /dev/null +++ b/docs/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.md @@ -0,0 +1,11 @@ +# HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig + +A Hadoop catalog doesn’t need to connect to a Hive MetaStore, but can only be used with HDFS or similar file systems that support atomic rename. + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | +| `catalogType` | [Optional\](../../models/shared/DestinationIcebergCatalogType.md) | :heavy_minus_sign: | N/A | | +| `database` | *Optional\* | :heavy_minus_sign: | The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". | default | \ No newline at end of file diff --git a/docs/models/shared/HiveCatalogUseApacheHiveMetaStore.md b/docs/models/shared/HiveCatalogUseApacheHiveMetaStore.md new file mode 100644 index 000000000..86c6e2db9 --- /dev/null +++ b/docs/models/shared/HiveCatalogUseApacheHiveMetaStore.md @@ -0,0 +1,10 @@ +# HiveCatalogUseApacheHiveMetaStore + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | +| `catalogType` | [Optional\](../../models/shared/CatalogType.md) | :heavy_minus_sign: | N/A | | +| `database` | *Optional\* | :heavy_minus_sign: | The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". | default | +| `hiveThriftUri` | *String* | :heavy_check_mark: | Hive MetaStore thrift server uri of iceberg catalog. | host:port | \ No newline at end of file diff --git a/docs/models/shared/Hubspot.md b/docs/models/shared/Hubspot.md index 08e9782e0..48fae3d84 100644 --- a/docs/models/shared/Hubspot.md +++ b/docs/models/shared/Hubspot.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/HubspotCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/HubspotCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/HubspotCredentials.md b/docs/models/shared/HubspotCredentials.md index c063a4a06..efee24f88 100644 --- a/docs/models/shared/HubspotCredentials.md +++ b/docs/models/shared/HubspotCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your HubSpot developer application. See the Hubspot docs if you need help finding this ID. | 123456789000 | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The client secret for your HubSpot developer application. See the Hubspot docs if you need help finding this secret. | secret | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your HubSpot developer application. See the Hubspot docs if you need help finding this ID. | 123456789000 | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The client secret for your HubSpot developer application. See the Hubspot docs if you need help finding this secret. | secret | \ No newline at end of file diff --git a/docs/models/shared/Humanitix.md b/docs/models/shared/Humanitix.md new file mode 100644 index 000000000..c2313902a --- /dev/null +++ b/docs/models/shared/Humanitix.md @@ -0,0 +1,8 @@ +# Humanitix + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `HUMANITIX` | humanitix | \ No newline at end of file diff --git a/docs/models/shared/IAMRole.md b/docs/models/shared/IAMRole.md index 0125381e9..dadeefa25 100644 --- a/docs/models/shared/IAMRole.md +++ b/docs/models/shared/IAMRole.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `credentialsTitle` | [Optional](../../models/shared/CredentialsTitle.md) | :heavy_minus_sign: | Name of the credentials | -| `roleArn` | *String* | :heavy_check_mark: | Will assume this role to write data to s3 | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `credentialsTitle` | [Optional\](../../models/shared/CredentialsTitle.md) | :heavy_minus_sign: | Name of the credentials | +| `roleArn` | *String* | :heavy_check_mark: | Will assume this role to write data to s3 | \ No newline at end of file diff --git a/docs/models/shared/IAMUser.md b/docs/models/shared/IAMUser.md index f785961c2..253d1d9ed 100644 --- a/docs/models/shared/IAMUser.md +++ b/docs/models/shared/IAMUser.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `awsAccessKeyId` | *String* | :heavy_check_mark: | AWS User Access Key Id | -| `awsSecretAccessKey` | *String* | :heavy_check_mark: | Secret Access Key | -| `credentialsTitle` | [Optional](../../models/shared/DestinationAwsDatalakeCredentialsTitle.md) | :heavy_minus_sign: | Name of the credentials | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `awsAccessKeyId` | *String* | :heavy_check_mark: | AWS User Access Key Id | +| `awsSecretAccessKey` | *String* | :heavy_check_mark: | Secret Access Key | +| `credentialsTitle` | [Optional\](../../models/shared/DestinationAwsDatalakeCredentialsTitle.md) | :heavy_minus_sign: | Name of the credentials | \ No newline at end of file diff --git a/docs/models/shared/Iceberg.md b/docs/models/shared/Iceberg.md new file mode 100644 index 000000000..34ec189ea --- /dev/null +++ b/docs/models/shared/Iceberg.md @@ -0,0 +1,8 @@ +# Iceberg + + +## Values + +| Name | Value | +| --------- | --------- | +| `ICEBERG` | iceberg | \ No newline at end of file diff --git a/docs/models/shared/IcebergCatalogConfig.md b/docs/models/shared/IcebergCatalogConfig.md new file mode 100644 index 000000000..6eeeda860 --- /dev/null +++ b/docs/models/shared/IcebergCatalogConfig.md @@ -0,0 +1,4 @@ +# IcebergCatalogConfig + +Catalog config of Iceberg. + diff --git a/docs/models/shared/IlluminaBasespace.md b/docs/models/shared/IlluminaBasespace.md new file mode 100644 index 000000000..be6a0f9f4 --- /dev/null +++ b/docs/models/shared/IlluminaBasespace.md @@ -0,0 +1,8 @@ +# IlluminaBasespace + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `ILLUMINA_BASESPACE` | illumina-basespace | \ No newline at end of file diff --git a/docs/models/shared/InListFilter.md b/docs/models/shared/InListFilter.md index 80c56385c..cc5284b30 100644 --- a/docs/models/shared/InListFilter.md +++ b/docs/models/shared/InListFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiFilterName](../../models/shared/SourceGoogleAnalyticsDataApiFilterName.md) | :heavy_check_mark: | N/A | -| `values` | List<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiFilterName](../../models/shared/SourceGoogleAnalyticsDataApiFilterName.md) | :heavy_check_mark: | N/A | +| `values` | List\<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/IncidentIo.md b/docs/models/shared/IncidentIo.md new file mode 100644 index 000000000..dae464fd2 --- /dev/null +++ b/docs/models/shared/IncidentIo.md @@ -0,0 +1,8 @@ +# IncidentIo + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `INCIDENT_IO` | incident-io | \ No newline at end of file diff --git a/docs/models/shared/Inflowinventory.md b/docs/models/shared/Inflowinventory.md new file mode 100644 index 000000000..667fdbab6 --- /dev/null +++ b/docs/models/shared/Inflowinventory.md @@ -0,0 +1,8 @@ +# Inflowinventory + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `INFLOWINVENTORY` | inflowinventory | \ No newline at end of file diff --git a/docs/models/shared/InitiateOauthRequest.md b/docs/models/shared/InitiateOauthRequest.md index 1a5d5de52..dd4f93087 100644 --- a/docs/models/shared/InitiateOauthRequest.md +++ b/docs/models/shared/InitiateOauthRequest.md @@ -7,7 +7,7 @@ POST body for initiating OAuth via the public API | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `oAuthInputConfiguration` | *Optional* | :heavy_minus_sign: | The values required to configure OAuth flows. The schema for this must match the `OAuthConfigSpecification.oauthUserInputFromConnectorConfigSpecification` schema. | +| `oAuthInputConfiguration` | *Optional\* | :heavy_minus_sign: | The values required to configure OAuth flows. The schema for this must match the `OAuthConfigSpecification.oauthUserInputFromConnectorConfigSpecification` schema. | | `redirectUrl` | *String* | :heavy_check_mark: | The URL to redirect the user to with the OAuth secret stored in the secret_id query string parameter after authentication is complete. | -| `sourceType` | [com.airbyte.api.models.shared.OAuthActorNames](../../models/shared/OAuthActorNames.md) | :heavy_check_mark: | N/A | +| `sourceType` | [OAuthActorNames](../../models/shared/OAuthActorNames.md) | :heavy_check_mark: | N/A | | `workspaceId` | *String* | :heavy_check_mark: | The workspace to create the secret and eventually the full source. | \ No newline at end of file diff --git a/docs/models/shared/InsightConfig.md b/docs/models/shared/InsightConfig.md index b51ca6774..f74ec4afb 100644 --- a/docs/models/shared/InsightConfig.md +++ b/docs/models/shared/InsightConfig.md @@ -7,14 +7,14 @@ Config for custom insights | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `actionBreakdowns` | List<[com.airbyte.api.models.shared.ValidActionBreakdowns](../../models/shared/ValidActionBreakdowns.md)> | :heavy_minus_sign: | A list of chosen action_breakdowns for action_breakdowns | | -| `actionReportTime` | [Optional](../../models/shared/SourceFacebookMarketingActionReportTime.md) | :heavy_minus_sign: | Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with action_report_time=impression, you see a conversion on Jan 1st. When you query the API with action_report_time=conversion, you see a conversion on Jan 2nd. | | -| `breakdowns` | List<[com.airbyte.api.models.shared.ValidBreakdowns](../../models/shared/ValidBreakdowns.md)> | :heavy_minus_sign: | A list of chosen breakdowns for breakdowns | | +| `actionBreakdowns` | List\<[ValidActionBreakdowns](../../models/shared/ValidActionBreakdowns.md)> | :heavy_minus_sign: | A list of chosen action_breakdowns for action_breakdowns | | +| `actionReportTime` | [Optional\](../../models/shared/SourceFacebookMarketingActionReportTime.md) | :heavy_minus_sign: | Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with action_report_time=impression, you see a conversion on Jan 1st. When you query the API with action_report_time=conversion, you see a conversion on Jan 2nd. | | +| `breakdowns` | List\<[ValidBreakdowns](../../models/shared/ValidBreakdowns.md)> | :heavy_minus_sign: | A list of chosen breakdowns for breakdowns | | | `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. | 2017-01-26T00:00:00Z | -| `fields` | List<[com.airbyte.api.models.shared.SourceFacebookMarketingValidEnums](../../models/shared/SourceFacebookMarketingValidEnums.md)> | :heavy_minus_sign: | A list of chosen fields for fields parameter | | -| `insightsJobTimeout` | *Optional* | :heavy_minus_sign: | The insights job timeout | | -| `insightsLookbackWindow` | *Optional* | :heavy_minus_sign: | The attribution window | | -| `level` | [Optional](../../models/shared/Level.md) | :heavy_minus_sign: | Chosen level for API | | +| `fields` | List\<[SourceFacebookMarketingValidEnums](../../models/shared/SourceFacebookMarketingValidEnums.md)> | :heavy_minus_sign: | A list of chosen fields for fields parameter | | +| `insightsJobTimeout` | *Optional\* | :heavy_minus_sign: | The insights job timeout | | +| `insightsLookbackWindow` | *Optional\* | :heavy_minus_sign: | The attribution window | | +| `level` | [Optional\](../../models/shared/Level.md) | :heavy_minus_sign: | Chosen level for API | | | `name` | *String* | :heavy_check_mark: | The name value of insight | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. | 2017-01-25T00:00:00Z | -| `timeIncrement` | *Optional* | :heavy_minus_sign: | Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. | | \ No newline at end of file +| `timeIncrement` | *Optional\* | :heavy_minus_sign: | Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. | | \ No newline at end of file diff --git a/docs/models/shared/Instagram.md b/docs/models/shared/Instagram.md index 8a4f3b7f8..0ad2c29b1 100644 --- a/docs/models/shared/Instagram.md +++ b/docs/models/shared/Instagram.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID for your Oauth application | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret for your Oauth application | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID for your Oauth application | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret for your Oauth application | \ No newline at end of file diff --git a/docs/models/shared/Int64Value.md b/docs/models/shared/Int64Value.md index 2c07e13b3..378e94d23 100644 --- a/docs/models/shared/Int64Value.md +++ b/docs/models/shared/Int64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.ValueType](../../models/shared/ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [ValueType](../../models/shared/ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Intercom.md b/docs/models/shared/Intercom.md index 3f5fa83d0..ec14fca2a 100644 --- a/docs/models/shared/Intercom.md +++ b/docs/models/shared/Intercom.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | Client Id for your Intercom application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Client Secret for your Intercom application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | Client Id for your Intercom application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret for your Intercom application. | \ No newline at end of file diff --git a/docs/models/shared/Interval.md b/docs/models/shared/Interval.md new file mode 100644 index 000000000..295b387e7 --- /dev/null +++ b/docs/models/shared/Interval.md @@ -0,0 +1,20 @@ +# Interval + +Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `ONEMIN` | 1min | +| `FIVEMIN` | 5min | +| `FIFTEENMIN` | 15min | +| `THIRTYMIN` | 30min | +| `FORTY_FIVEMIN` | 45min | +| `ONEH` | 1h | +| `TWOH` | 2h | +| `FOURH` | 4h | +| `ONEDAY` | 1day | +| `ONEWEEK` | 1week | +| `ONEMONTH` | 1month | \ No newline at end of file diff --git a/docs/models/shared/Invoiced.md b/docs/models/shared/Invoiced.md new file mode 100644 index 000000000..66452cc82 --- /dev/null +++ b/docs/models/shared/Invoiced.md @@ -0,0 +1,8 @@ +# Invoiced + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `INVOICED` | invoiced | \ No newline at end of file diff --git a/docs/models/shared/Invoiceninja.md b/docs/models/shared/Invoiceninja.md new file mode 100644 index 000000000..6b0cca33f --- /dev/null +++ b/docs/models/shared/Invoiceninja.md @@ -0,0 +1,8 @@ +# Invoiceninja + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `INVOICENINJA` | invoiceninja | \ No newline at end of file diff --git a/docs/models/shared/JSONLinesNewlineDelimitedJSON.md b/docs/models/shared/JSONLinesNewlineDelimitedJSON.md index e1440a8dd..055d259f7 100644 --- a/docs/models/shared/JSONLinesNewlineDelimitedJSON.md +++ b/docs/models/shared/JSONLinesNewlineDelimitedJSON.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `compressionCodec` | [Optional](../../models/shared/CompressionCodecOptional.md) | :heavy_minus_sign: | The compression algorithm used to compress data. | -| `formatType` | [Optional](../../models/shared/FormatTypeWildcard.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `compressionCodec` | [Optional\](../../models/shared/CompressionCodecOptional.md) | :heavy_minus_sign: | The compression algorithm used to compress data. | +| `formatType` | [Optional\](../../models/shared/FormatTypeWildcard.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/JdbcCatalogUseRelationalDatabase.md b/docs/models/shared/JdbcCatalogUseRelationalDatabase.md new file mode 100644 index 000000000..811699d80 --- /dev/null +++ b/docs/models/shared/JdbcCatalogUseRelationalDatabase.md @@ -0,0 +1,16 @@ +# JdbcCatalogUseRelationalDatabase + +Using a table in a relational database to manage Iceberg tables through JDBC. Read more here. Supporting: PostgreSQL + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `catalogSchema` | *Optional\* | :heavy_minus_sign: | Iceberg catalog metadata tables are written to catalog schema. The usual value for this field is "public". | public | +| `catalogType` | [Optional\](../../models/shared/DestinationIcebergSchemasCatalogType.md) | :heavy_minus_sign: | N/A | | +| `database` | *Optional\* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | +| `jdbcUrl` | *Optional\* | :heavy_minus_sign: | N/A | jdbc:postgresql://{host}:{port}/{database} | +| `password` | *Optional\* | :heavy_minus_sign: | Password associated with the username. | | +| `ssl` | *Optional\* | :heavy_minus_sign: | Encrypt data using SSL. When activating SSL, please select one of the connection modes. | | +| `username` | *Optional\* | :heavy_minus_sign: | Username to use to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/JobCreateRequest.md b/docs/models/shared/JobCreateRequest.md index b68481b8f..1860ff0c7 100644 --- a/docs/models/shared/JobCreateRequest.md +++ b/docs/models/shared/JobCreateRequest.md @@ -5,7 +5,7 @@ Creates a new Job from the configuration provided in the request body. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `connectionId` | *String* | :heavy_check_mark: | N/A | -| `jobType` | [com.airbyte.api.models.shared.JobTypeEnum](../../models/shared/JobTypeEnum.md) | :heavy_check_mark: | Enum that describes the different types of jobs that the platform runs. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `connectionId` | *String* | :heavy_check_mark: | N/A | +| `jobType` | [JobTypeEnum](../../models/shared/JobTypeEnum.md) | :heavy_check_mark: | Enum that describes the different types of jobs that the platform runs. | \ No newline at end of file diff --git a/docs/models/shared/JobResponse.md b/docs/models/shared/JobResponse.md index bef3c79b1..82efd7146 100644 --- a/docs/models/shared/JobResponse.md +++ b/docs/models/shared/JobResponse.md @@ -5,14 +5,14 @@ Provides details of a single job. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `bytesSynced` | *Optional* | :heavy_minus_sign: | N/A | -| `connectionId` | *String* | :heavy_check_mark: | N/A | -| `duration` | *Optional* | :heavy_minus_sign: | Duration of a sync in ISO_8601 format | -| `jobId` | *long* | :heavy_check_mark: | N/A | -| `jobType` | [com.airbyte.api.models.shared.JobTypeEnum](../../models/shared/JobTypeEnum.md) | :heavy_check_mark: | Enum that describes the different types of jobs that the platform runs. | -| `lastUpdatedAt` | *Optional* | :heavy_minus_sign: | N/A | -| `rowsSynced` | *Optional* | :heavy_minus_sign: | N/A | -| `startTime` | *String* | :heavy_check_mark: | N/A | -| `status` | [com.airbyte.api.models.shared.JobStatusEnum](../../models/shared/JobStatusEnum.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `bytesSynced` | *Optional\* | :heavy_minus_sign: | N/A | +| `connectionId` | *String* | :heavy_check_mark: | N/A | +| `duration` | *Optional\* | :heavy_minus_sign: | Duration of a sync in ISO_8601 format | +| `jobId` | *long* | :heavy_check_mark: | N/A | +| `jobType` | [JobTypeEnum](../../models/shared/JobTypeEnum.md) | :heavy_check_mark: | Enum that describes the different types of jobs that the platform runs. | +| `lastUpdatedAt` | *Optional\* | :heavy_minus_sign: | N/A | +| `rowsSynced` | *Optional\* | :heavy_minus_sign: | N/A | +| `startTime` | *String* | :heavy_check_mark: | N/A | +| `status` | [JobStatusEnum](../../models/shared/JobStatusEnum.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Jobnimbus.md b/docs/models/shared/Jobnimbus.md new file mode 100644 index 000000000..f8f679c1b --- /dev/null +++ b/docs/models/shared/Jobnimbus.md @@ -0,0 +1,8 @@ +# Jobnimbus + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `JOBNIMBUS` | jobnimbus | \ No newline at end of file diff --git a/docs/models/shared/JobsResponse.md b/docs/models/shared/JobsResponse.md index a63d444de..589f348e3 100644 --- a/docs/models/shared/JobsResponse.md +++ b/docs/models/shared/JobsResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `data` | List<[com.airbyte.api.models.shared.JobResponse](../../models/shared/JobResponse.md)> | :heavy_check_mark: | N/A | -| `next` | *Optional* | :heavy_minus_sign: | N/A | -| `previous` | *Optional* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `data` | List\<[JobResponse](../../models/shared/JobResponse.md)> | :heavy_check_mark: | N/A | +| `next` | *Optional\* | :heavy_minus_sign: | N/A | +| `previous` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/JsonlFormat.md b/docs/models/shared/JsonlFormat.md index bd2318983..0eed21a7b 100644 --- a/docs/models/shared/JsonlFormat.md +++ b/docs/models/shared/JsonlFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceAzureBlobStorageSchemasFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceAzureBlobStorageSchemasFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/JustSift.md b/docs/models/shared/JustSift.md new file mode 100644 index 000000000..bfe2a7ef4 --- /dev/null +++ b/docs/models/shared/JustSift.md @@ -0,0 +1,8 @@ +# JustSift + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `JUST_SIFT` | just-sift | \ No newline at end of file diff --git a/docs/models/shared/Justcall.md b/docs/models/shared/Justcall.md new file mode 100644 index 000000000..2120f3ef5 --- /dev/null +++ b/docs/models/shared/Justcall.md @@ -0,0 +1,8 @@ +# Justcall + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `JUSTCALL` | justcall | \ No newline at end of file diff --git a/docs/models/shared/Katana.md b/docs/models/shared/Katana.md new file mode 100644 index 000000000..eb1cf38c5 --- /dev/null +++ b/docs/models/shared/Katana.md @@ -0,0 +1,8 @@ +# Katana + + +## Values + +| Name | Value | +| -------- | -------- | +| `KATANA` | katana | \ No newline at end of file diff --git a/docs/models/shared/KeyPairAuthentication.md b/docs/models/shared/KeyPairAuthentication.md index ba3cae8b6..bbeb46370 100644 --- a/docs/models/shared/KeyPairAuthentication.md +++ b/docs/models/shared/KeyPairAuthentication.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/DestinationSnowflakeAuthType.md) | :heavy_minus_sign: | N/A | +| `authType` | [Optional\](../../models/shared/DestinationSnowflakeAuthType.md) | :heavy_minus_sign: | N/A | | `privateKey` | *String* | :heavy_check_mark: | RSA Private key to use for Snowflake connection. See the docs for more information on how to obtain this key. | -| `privateKeyPassword` | *Optional* | :heavy_minus_sign: | Passphrase for private key | \ No newline at end of file +| `privateKeyPassword` | *Optional\* | :heavy_minus_sign: | Passphrase for private key | \ No newline at end of file diff --git a/docs/models/shared/Kind.md b/docs/models/shared/Kind.md new file mode 100644 index 000000000..41eaa9a10 --- /dev/null +++ b/docs/models/shared/Kind.md @@ -0,0 +1,11 @@ +# Kind + +Kind parameter for `contact_groups` stream + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `GROUP` | group | +| `ORGANIZATION` | organization | \ No newline at end of file diff --git a/docs/models/shared/Kisi.md b/docs/models/shared/Kisi.md new file mode 100644 index 000000000..20b4ad7b2 --- /dev/null +++ b/docs/models/shared/Kisi.md @@ -0,0 +1,8 @@ +# Kisi + + +## Values + +| Name | Value | +| ------ | ------ | +| `KISI` | kisi | \ No newline at end of file diff --git a/docs/models/shared/Kissmetrics.md b/docs/models/shared/Kissmetrics.md new file mode 100644 index 000000000..b1de7841c --- /dev/null +++ b/docs/models/shared/Kissmetrics.md @@ -0,0 +1,8 @@ +# Kissmetrics + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `KISSMETRICS` | kissmetrics | \ No newline at end of file diff --git a/docs/models/shared/KlausApi.md b/docs/models/shared/KlausApi.md new file mode 100644 index 000000000..517d8c44e --- /dev/null +++ b/docs/models/shared/KlausApi.md @@ -0,0 +1,8 @@ +# KlausApi + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `KLAUS_API` | klaus-api | \ No newline at end of file diff --git a/docs/models/shared/LSNCommitBehaviour.md b/docs/models/shared/LSNCommitBehaviour.md new file mode 100644 index 000000000..8e3c05141 --- /dev/null +++ b/docs/models/shared/LSNCommitBehaviour.md @@ -0,0 +1,11 @@ +# LSNCommitBehaviour + +Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync. + + +## Values + +| Name | Value | +| --------------------------------------- | --------------------------------------- | +| `WHILE_READING_DATA` | While reading Data | +| `AFTER_LOADING_DATA_IN_THE_DESTINATION` | After loading Data in the destination | \ No newline at end of file diff --git a/docs/models/shared/Lang.md b/docs/models/shared/Lang.md new file mode 100644 index 000000000..b2c19fb6e --- /dev/null +++ b/docs/models/shared/Lang.md @@ -0,0 +1,58 @@ +# Lang + +You can use lang parameter to get the output in your language. The contents of the description field will be translated. See here for the list of supported languages. + + +## Values + +| Name | Value | +| ------- | ------- | +| `AF` | af | +| `AL` | al | +| `AR` | ar | +| `AZ` | az | +| `BG` | bg | +| `CA` | ca | +| `CZ` | cz | +| `DA` | da | +| `DE` | de | +| `EL` | el | +| `EN` | en | +| `EU` | eu | +| `FA` | fa | +| `FI` | fi | +| `FR` | fr | +| `GL` | gl | +| `HE` | he | +| `HI` | hi | +| `HR` | hr | +| `HU` | hu | +| `ID` | id | +| `IT` | it | +| `JA` | ja | +| `KR` | kr | +| `LA` | la | +| `LT` | lt | +| `MK` | mk | +| `NO` | no | +| `NL` | nl | +| `PL` | pl | +| `PT` | pt | +| `PT_BR` | pt_br | +| `RO` | ro | +| `RU` | ru | +| `SV` | sv | +| `SE` | se | +| `SK` | sk | +| `SL` | sl | +| `SP` | sp | +| `ES` | es | +| `SR` | sr | +| `TH` | th | +| `TR` | tr | +| `UA` | ua | +| `UK` | uk | +| `VI` | vi | +| `ZH_CN` | zh_cn | +| `ZH_TW` | zh_tw | +| `ZU` | zu | \ No newline at end of file diff --git a/docs/models/shared/Language.md b/docs/models/shared/Language.md index 9c81cdc3a..fd1b38413 100644 --- a/docs/models/shared/Language.md +++ b/docs/models/shared/Language.md @@ -1,29 +1,25 @@ # Language +The 2-letter ISO-639-1 code of the language you want to get headlines +for. Possible options: ar de en es fr he it nl no pt ru se ud zh. + + ## Values | Name | Value | | ----- | ----- | | `AR` | ar | -| `ZH` | zh | -| `NL` | nl | +| `DE` | de | | `EN` | en | +| `ES` | es | | `FR` | fr | -| `DE` | de | -| `EL` | el | | `HE` | he | -| `HI` | hi | | `IT` | it | -| `JA` | ja | -| `ML` | ml | -| `MR` | mr | +| `NL` | nl | | `NO` | no | | `PT` | pt | -| `RO` | ro | | `RU` | ru | -| `ES` | es | -| `SV` | sv | -| `TA` | ta | -| `TE` | te | -| `UK` | uk | \ No newline at end of file +| `SE` | se | +| `UD` | ud | +| `ZH` | zh | \ No newline at end of file diff --git a/docs/models/shared/LessAnnoyingCrm.md b/docs/models/shared/LessAnnoyingCrm.md new file mode 100644 index 000000000..46759e4c7 --- /dev/null +++ b/docs/models/shared/LessAnnoyingCrm.md @@ -0,0 +1,8 @@ +# LessAnnoyingCrm + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `LESS_ANNOYING_CRM` | less-annoying-crm | \ No newline at end of file diff --git a/docs/models/shared/LeverHiring.md b/docs/models/shared/LeverHiring.md index 8271056fc..210ed04ff 100644 --- a/docs/models/shared/LeverHiring.md +++ b/docs/models/shared/LeverHiring.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/LeverHiringCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/LeverHiringCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/LeverHiringCredentials.md b/docs/models/shared/LeverHiringCredentials.md index a0263caaa..32ad364ec 100644 --- a/docs/models/shared/LeverHiringCredentials.md +++ b/docs/models/shared/LeverHiringCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Lever Hiring developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Lever Hiring developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Lever Hiring developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Lever Hiring developer application. | \ No newline at end of file diff --git a/docs/models/shared/LightspeedRetail.md b/docs/models/shared/LightspeedRetail.md new file mode 100644 index 000000000..76659bf5b --- /dev/null +++ b/docs/models/shared/LightspeedRetail.md @@ -0,0 +1,8 @@ +# LightspeedRetail + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `LIGHTSPEED_RETAIL` | lightspeed-retail | \ No newline at end of file diff --git a/docs/models/shared/LinkedinAds.md b/docs/models/shared/LinkedinAds.md index 81868ad99..2379b5caa 100644 --- a/docs/models/shared/LinkedinAds.md +++ b/docs/models/shared/LinkedinAds.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/LinkedinAdsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/LinkedinAdsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/LinkedinAdsCredentials.md b/docs/models/shared/LinkedinAdsCredentials.md index eba96ec0b..49a76d244 100644 --- a/docs/models/shared/LinkedinAdsCredentials.md +++ b/docs/models/shared/LinkedinAdsCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The client ID of your developer application. Refer to our documentation for more information. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The client secret of your developer application. Refer to our documentation for more information. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The client ID of your developer application. Refer to our documentation for more information. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The client secret of your developer application. Refer to our documentation for more information. | \ No newline at end of file diff --git a/docs/models/shared/Lob.md b/docs/models/shared/Lob.md new file mode 100644 index 000000000..626b4ec36 --- /dev/null +++ b/docs/models/shared/Lob.md @@ -0,0 +1,8 @@ +# Lob + + +## Values + +| Name | Value | +| ----- | ----- | +| `LOB` | lob | \ No newline at end of file diff --git a/docs/models/shared/Local.md b/docs/models/shared/Local.md index 65ab2ae5d..489cf2e56 100644 --- a/docs/models/shared/Local.md +++ b/docs/models/shared/Local.md @@ -5,6 +5,6 @@ Process files locally, supporting `fast` and `ocr` modes. This is the default op ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/SourceAzureBlobStorageMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/SourceAzureBlobStorageMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/LocalFilesystemLimited.md b/docs/models/shared/LocalFilesystemLimited.md index 181fb8791..c248b6846 100644 --- a/docs/models/shared/LocalFilesystemLimited.md +++ b/docs/models/shared/LocalFilesystemLimited.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `storage` | [com.airbyte.api.models.shared.SourceFileSchemasProviderStorageProvider8Storage](../../models/shared/SourceFileSchemasProviderStorageProvider8Storage.md) | :heavy_check_mark: | WARNING: Note that the local storage URL available for reading must start with the local mount "/local/" at the moment until we implement more advanced docker mounting options. | \ No newline at end of file +| `storage` | [SourceFileSchemasProviderStorageProvider8Storage](../../models/shared/SourceFileSchemasProviderStorageProvider8Storage.md) | :heavy_check_mark: | WARNING: Note that the local storage URL available for reading must start with the local mount "/local/" at the moment until we implement more advanced docker mounting options. | \ No newline at end of file diff --git a/docs/models/shared/Logging.md b/docs/models/shared/Logging.md new file mode 100644 index 000000000..80ec5bd2c --- /dev/null +++ b/docs/models/shared/Logging.md @@ -0,0 +1,10 @@ +# Logging + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `loggingConfig` | [LoggingConfiguration](../../models/shared/LoggingConfiguration.md) | :heavy_check_mark: | Configurate how the messages are logged. | +| `testDestinationType` | [Optional\](../../models/shared/TestDestinationType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/LoggingConfiguration.md b/docs/models/shared/LoggingConfiguration.md new file mode 100644 index 000000000..d6d710b13 --- /dev/null +++ b/docs/models/shared/LoggingConfiguration.md @@ -0,0 +1,4 @@ +# LoggingConfiguration + +Configurate how the messages are logged. + diff --git a/docs/models/shared/LoggingType.md b/docs/models/shared/LoggingType.md new file mode 100644 index 000000000..ed1a76b26 --- /dev/null +++ b/docs/models/shared/LoggingType.md @@ -0,0 +1,8 @@ +# LoggingType + + +## Values + +| Name | Value | +| --------- | --------- | +| `FIRST_N` | FirstN | \ No newline at end of file diff --git a/docs/models/shared/LoginPassword.md b/docs/models/shared/LoginPassword.md index 4a8f41716..2b8f5fa44 100644 --- a/docs/models/shared/LoginPassword.md +++ b/docs/models/shared/LoginPassword.md @@ -5,8 +5,8 @@ Login/Password. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `authorization` | [com.airbyte.api.models.shared.DestinationMongodbAuthorization](../../models/shared/DestinationMongodbAuthorization.md) | :heavy_check_mark: | N/A | -| `password` | *String* | :heavy_check_mark: | Password associated with the username. | -| `username` | *String* | :heavy_check_mark: | Username to use to access the database. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `authorization` | [DestinationMongodbAuthorization](../../models/shared/DestinationMongodbAuthorization.md) | :heavy_check_mark: | N/A | +| `password` | *String* | :heavy_check_mark: | Password associated with the username. | +| `username` | *String* | :heavy_check_mark: | Username to use to access the database. | \ No newline at end of file diff --git a/docs/models/shared/Mailchimp.md b/docs/models/shared/Mailchimp.md index 7dd44f6d6..980e1fa80 100644 --- a/docs/models/shared/Mailchimp.md +++ b/docs/models/shared/Mailchimp.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/MailchimpCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/MailchimpCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/MailchimpCredentials.md b/docs/models/shared/MailchimpCredentials.md index 7b706afb9..4357e32a2 100644 --- a/docs/models/shared/MailchimpCredentials.md +++ b/docs/models/shared/MailchimpCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your OAuth application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your OAuth application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file diff --git a/docs/models/shared/Mailerlite.md b/docs/models/shared/Mailerlite.md new file mode 100644 index 000000000..853d08a75 --- /dev/null +++ b/docs/models/shared/Mailerlite.md @@ -0,0 +1,8 @@ +# Mailerlite + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `MAILERLITE` | mailerlite | \ No newline at end of file diff --git a/docs/models/shared/MailjetMail.md b/docs/models/shared/MailjetMail.md new file mode 100644 index 000000000..a4fe2af45 --- /dev/null +++ b/docs/models/shared/MailjetMail.md @@ -0,0 +1,8 @@ +# MailjetMail + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `MAILJET_MAIL` | mailjet-mail | \ No newline at end of file diff --git a/docs/models/shared/Mailosaur.md b/docs/models/shared/Mailosaur.md new file mode 100644 index 000000000..466fe8c1a --- /dev/null +++ b/docs/models/shared/Mailosaur.md @@ -0,0 +1,8 @@ +# Mailosaur + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `MAILOSAUR` | mailosaur | \ No newline at end of file diff --git a/docs/models/shared/Mailtrap.md b/docs/models/shared/Mailtrap.md new file mode 100644 index 000000000..f69d0f41b --- /dev/null +++ b/docs/models/shared/Mailtrap.md @@ -0,0 +1,8 @@ +# Mailtrap + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `MAILTRAP` | mailtrap | \ No newline at end of file diff --git a/docs/models/shared/MapperConfiguration.md b/docs/models/shared/MapperConfiguration.md new file mode 100644 index 000000000..1563d94fb --- /dev/null +++ b/docs/models/shared/MapperConfiguration.md @@ -0,0 +1,9 @@ +# MapperConfiguration + +The values required to configure the mapper. + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/shared/MarketNewsCategory.md b/docs/models/shared/MarketNewsCategory.md new file mode 100644 index 000000000..0b7df6ec6 --- /dev/null +++ b/docs/models/shared/MarketNewsCategory.md @@ -0,0 +1,13 @@ +# MarketNewsCategory + +This parameter can be 1 of the following values general, forex, crypto, merger. + + +## Values + +| Name | Value | +| --------- | --------- | +| `GENERAL` | general | +| `FOREX` | forex | +| `CRYPTO` | crypto | +| `MERGER` | merger | \ No newline at end of file diff --git a/docs/models/shared/Marketstack.md b/docs/models/shared/Marketstack.md new file mode 100644 index 000000000..88537c6c2 --- /dev/null +++ b/docs/models/shared/Marketstack.md @@ -0,0 +1,8 @@ +# Marketstack + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `MARKETSTACK` | marketstack | \ No newline at end of file diff --git a/docs/models/shared/Mention.md b/docs/models/shared/Mention.md new file mode 100644 index 000000000..76fee001a --- /dev/null +++ b/docs/models/shared/Mention.md @@ -0,0 +1,8 @@ +# Mention + + +## Values + +| Name | Value | +| --------- | --------- | +| `MENTION` | mention | \ No newline at end of file diff --git a/docs/models/shared/MicrosoftDataverse.md b/docs/models/shared/MicrosoftDataverse.md new file mode 100644 index 000000000..86a0a0a7d --- /dev/null +++ b/docs/models/shared/MicrosoftDataverse.md @@ -0,0 +1,8 @@ +# MicrosoftDataverse + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `MICROSOFT_DATAVERSE` | microsoft-dataverse | \ No newline at end of file diff --git a/docs/models/shared/MicrosoftEntraId.md b/docs/models/shared/MicrosoftEntraId.md new file mode 100644 index 000000000..7c6a96468 --- /dev/null +++ b/docs/models/shared/MicrosoftEntraId.md @@ -0,0 +1,8 @@ +# MicrosoftEntraId + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `MICROSOFT_ENTRA_ID` | microsoft-entra-id | \ No newline at end of file diff --git a/docs/models/shared/MicrosoftLists.md b/docs/models/shared/MicrosoftLists.md new file mode 100644 index 000000000..50c8de6e0 --- /dev/null +++ b/docs/models/shared/MicrosoftLists.md @@ -0,0 +1,8 @@ +# MicrosoftLists + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `MICROSOFT_LISTS` | microsoft-lists | \ No newline at end of file diff --git a/docs/models/shared/MicrosoftOnedrive.md b/docs/models/shared/MicrosoftOnedrive.md index 48793bc73..529f10cd2 100644 --- a/docs/models/shared/MicrosoftOnedrive.md +++ b/docs/models/shared/MicrosoftOnedrive.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/MicrosoftOnedriveCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/MicrosoftOnedriveCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/MicrosoftOnedriveCredentials.md b/docs/models/shared/MicrosoftOnedriveCredentials.md index b75f7f19f..ac0b6df22 100644 --- a/docs/models/shared/MicrosoftOnedriveCredentials.md +++ b/docs/models/shared/MicrosoftOnedriveCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | Client ID of your Microsoft developer application | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Client Secret of your Microsoft developer application | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | Client ID of your Microsoft developer application | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret of your Microsoft developer application | \ No newline at end of file diff --git a/docs/models/shared/MicrosoftSharepoint.md b/docs/models/shared/MicrosoftSharepoint.md index 35ac4e796..406f42612 100644 --- a/docs/models/shared/MicrosoftSharepoint.md +++ b/docs/models/shared/MicrosoftSharepoint.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/MicrosoftSharepointCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/MicrosoftSharepointCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/MicrosoftSharepointCredentials.md b/docs/models/shared/MicrosoftSharepointCredentials.md index 87d174b0d..8ee61f8db 100644 --- a/docs/models/shared/MicrosoftSharepointCredentials.md +++ b/docs/models/shared/MicrosoftSharepointCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | Client ID of your Microsoft developer application | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Client Secret of your Microsoft developer application | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | Client ID of your Microsoft developer application | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret of your Microsoft developer application | \ No newline at end of file diff --git a/docs/models/shared/MicrosoftTeams.md b/docs/models/shared/MicrosoftTeams.md index 424783969..ad1fbddfc 100644 --- a/docs/models/shared/MicrosoftTeams.md +++ b/docs/models/shared/MicrosoftTeams.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/MicrosoftTeamsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/MicrosoftTeamsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/MicrosoftTeamsCredentials.md b/docs/models/shared/MicrosoftTeamsCredentials.md index 54f83afd7..5cba0c3fd 100644 --- a/docs/models/shared/MicrosoftTeamsCredentials.md +++ b/docs/models/shared/MicrosoftTeamsCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Microsoft Teams developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Microsoft Teams developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Microsoft Teams developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Microsoft Teams developer application. | \ No newline at end of file diff --git a/docs/models/shared/Miro.md b/docs/models/shared/Miro.md new file mode 100644 index 000000000..b49b4e88f --- /dev/null +++ b/docs/models/shared/Miro.md @@ -0,0 +1,8 @@ +# Miro + + +## Values + +| Name | Value | +| ------ | ------ | +| `MIRO` | miro | \ No newline at end of file diff --git a/docs/models/shared/Missive.md b/docs/models/shared/Missive.md new file mode 100644 index 000000000..38ce8de33 --- /dev/null +++ b/docs/models/shared/Missive.md @@ -0,0 +1,8 @@ +# Missive + + +## Values + +| Name | Value | +| --------- | --------- | +| `MISSIVE` | missive | \ No newline at end of file diff --git a/docs/models/shared/Mixmax.md b/docs/models/shared/Mixmax.md new file mode 100644 index 000000000..a4c841dbf --- /dev/null +++ b/docs/models/shared/Mixmax.md @@ -0,0 +1,8 @@ +# Mixmax + + +## Values + +| Name | Value | +| -------- | -------- | +| `MIXMAX` | mixmax | \ No newline at end of file diff --git a/docs/models/shared/Mode.md b/docs/models/shared/Mode.md index 873122da4..3f9f51160 100644 --- a/docs/models/shared/Mode.md +++ b/docs/models/shared/Mode.md @@ -3,6 +3,6 @@ ## Values -| Name | Value | -| --------- | --------- | -| `DISABLE` | disable | \ No newline at end of file +| Name | Value | +| ------ | ------ | +| `MODE` | mode | \ No newline at end of file diff --git a/docs/models/shared/Monday.md b/docs/models/shared/Monday.md index e0f45e78b..d57ab86ae 100644 --- a/docs/models/shared/Monday.md +++ b/docs/models/shared/Monday.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/MondayCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/MondayCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/MondayCredentials.md b/docs/models/shared/MondayCredentials.md index 7b7a2eb38..acacbcdf0 100644 --- a/docs/models/shared/MondayCredentials.md +++ b/docs/models/shared/MondayCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your OAuth application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your OAuth application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file diff --git a/docs/models/shared/MongoDBAtlas.md b/docs/models/shared/MongoDBAtlas.md index b0acb928c..19759dabf 100644 --- a/docs/models/shared/MongoDBAtlas.md +++ b/docs/models/shared/MongoDBAtlas.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `clusterUrl` | *String* | :heavy_check_mark: | URL of a cluster to connect to. | -| `instance` | [Optional](../../models/shared/DestinationMongodbSchemasInstance.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `clusterUrl` | *String* | :heavy_check_mark: | URL of a cluster to connect to. | +| `instance` | [Optional\](../../models/shared/DestinationMongodbSchemasInstance.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/MongoDBAtlasReplicaSet.md b/docs/models/shared/MongoDBAtlasReplicaSet.md new file mode 100644 index 000000000..c531bbcd9 --- /dev/null +++ b/docs/models/shared/MongoDBAtlasReplicaSet.md @@ -0,0 +1,17 @@ +# MongoDBAtlasReplicaSet + +MongoDB Atlas-hosted cluster configured as a replica set + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | | +| `authSource` | *Optional\* | :heavy_minus_sign: | The authentication source where the user information is stored. See https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.authSource for more details. | admin | +| `clusterType` | [SourceMongodbV2ClusterType](../../models/shared/SourceMongodbV2ClusterType.md) | :heavy_check_mark: | N/A | | +| `connectionString` | *String* | :heavy_check_mark: | The connection string of the cluster that you want to replicate. | mongodb+srv://cluster0.abcd1.mongodb.net/ | +| `database` | *String* | :heavy_check_mark: | The name of the MongoDB database that contains the collection(s) to replicate. | | +| `password` | *String* | :heavy_check_mark: | The password associated with this username. | | +| `schemaEnforced` | *Optional\* | :heavy_minus_sign: | When enabled, syncs will validate and structure records against the stream's schema. | | +| `username` | *String* | :heavy_check_mark: | The username which is used to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/Motherduck.md b/docs/models/shared/Motherduck.md new file mode 100644 index 000000000..c02bc2893 --- /dev/null +++ b/docs/models/shared/Motherduck.md @@ -0,0 +1,8 @@ +# Motherduck + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `MOTHERDUCK` | motherduck | \ No newline at end of file diff --git a/docs/models/shared/Mux.md b/docs/models/shared/Mux.md new file mode 100644 index 000000000..1972e26d7 --- /dev/null +++ b/docs/models/shared/Mux.md @@ -0,0 +1,8 @@ +# Mux + + +## Values + +| Name | Value | +| ----- | ----- | +| `MUX` | mux | \ No newline at end of file diff --git a/docs/models/shared/N8n.md b/docs/models/shared/N8n.md new file mode 100644 index 000000000..fc85d13ef --- /dev/null +++ b/docs/models/shared/N8n.md @@ -0,0 +1,8 @@ +# N8n + + +## Values + +| Name | Value | +| ----- | ----- | +| `N8N` | n8n | \ No newline at end of file diff --git a/docs/models/shared/Nasa.md b/docs/models/shared/Nasa.md new file mode 100644 index 000000000..a23c45f90 --- /dev/null +++ b/docs/models/shared/Nasa.md @@ -0,0 +1,8 @@ +# Nasa + + +## Values + +| Name | Value | +| ------ | ------ | +| `NASA` | nasa | \ No newline at end of file diff --git a/docs/models/shared/NativeNetworkEncryptionNNE.md b/docs/models/shared/NativeNetworkEncryptionNNE.md index ee16f15fe..cf003dbde 100644 --- a/docs/models/shared/NativeNetworkEncryptionNNE.md +++ b/docs/models/shared/NativeNetworkEncryptionNNE.md @@ -5,7 +5,7 @@ The native network encryption gives you the ability to encrypt database connecti ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `encryptionAlgorithm` | [Optional](../../models/shared/EncryptionAlgorithm.md) | :heavy_minus_sign: | This parameter defines the database encryption algorithm. | -| `encryptionMethod` | [Optional](../../models/shared/DestinationOracleEncryptionMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `encryptionAlgorithm` | [Optional\](../../models/shared/EncryptionAlgorithm.md) | :heavy_minus_sign: | This parameter defines the database encryption algorithm. | +| `encryptionMethod` | [Optional\](../../models/shared/DestinationOracleEncryptionMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/NewsApi.md b/docs/models/shared/NewsApi.md new file mode 100644 index 000000000..f2c68c3d2 --- /dev/null +++ b/docs/models/shared/NewsApi.md @@ -0,0 +1,8 @@ +# NewsApi + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `NEWS_API` | news-api | \ No newline at end of file diff --git a/docs/models/shared/NewsdataIo.md b/docs/models/shared/NewsdataIo.md new file mode 100644 index 000000000..9051b54ce --- /dev/null +++ b/docs/models/shared/NewsdataIo.md @@ -0,0 +1,8 @@ +# NewsdataIo + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `NEWSDATA_IO` | newsdata-io | \ No newline at end of file diff --git a/docs/models/shared/NoAuth.md b/docs/models/shared/NoAuth.md index b703e3ea5..73b97d1ba 100644 --- a/docs/models/shared/NoAuth.md +++ b/docs/models/shared/NoAuth.md @@ -5,6 +5,6 @@ Do not authenticate (suitable for locally running test clusters, do not use for ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationMilvusSchemasIndexingAuthAuthenticationMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationMilvusSchemasIndexingAuthAuthenticationMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/NoAuthentication.md b/docs/models/shared/NoAuthentication.md index 7e4ccbd13..fbab9686e 100644 --- a/docs/models/shared/NoAuthentication.md +++ b/docs/models/shared/NoAuthentication.md @@ -5,6 +5,6 @@ Do not authenticate (suitable for locally running test clusters, do not use for ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationWeaviateSchemasIndexingAuthAuthenticationMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateSchemasIndexingAuthAuthenticationMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/NoCompression.md b/docs/models/shared/NoCompression.md index 1d5c70da8..e7d5e7251 100644 --- a/docs/models/shared/NoCompression.md +++ b/docs/models/shared/NoCompression.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/Codec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `codec` | [Optional\](../../models/shared/Codec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/NoExternalEmbedding.md b/docs/models/shared/NoExternalEmbedding.md index 044b91490..a0bf06599 100644 --- a/docs/models/shared/NoExternalEmbedding.md +++ b/docs/models/shared/NoExternalEmbedding.md @@ -5,6 +5,6 @@ Do not calculate and pass embeddings to Weaviate. Suitable for clusters with con ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationWeaviateMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/DestinationWeaviateMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/NoTunnel.md b/docs/models/shared/NoTunnel.md index 0b7c68d6e..659d37275 100644 --- a/docs/models/shared/NoTunnel.md +++ b/docs/models/shared/NoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.TunnelMethod](../../models/shared/TunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `tunnelMethod` | [TunnelMethod](../../models/shared/TunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/Nocrm.md b/docs/models/shared/Nocrm.md new file mode 100644 index 000000000..84c7c44f9 --- /dev/null +++ b/docs/models/shared/Nocrm.md @@ -0,0 +1,8 @@ +# Nocrm + + +## Values + +| Name | Value | +| ------- | ------- | +| `NOCRM` | nocrm | \ No newline at end of file diff --git a/docs/models/shared/None.md b/docs/models/shared/None.md index cc1cd4a60..0c3b3c36f 100644 --- a/docs/models/shared/None.md +++ b/docs/models/shared/None.md @@ -5,6 +5,6 @@ No authentication will be used ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `method` | [com.airbyte.api.models.shared.DestinationElasticsearchMethod](../../models/shared/DestinationElasticsearchMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `method` | [DestinationElasticsearchMethod](../../models/shared/DestinationElasticsearchMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/NotExpression.md b/docs/models/shared/NotExpression.md index b1e2b09ae..b32fb6dbc 100644 --- a/docs/models/shared/NotExpression.md +++ b/docs/models/shared/NotExpression.md @@ -5,7 +5,7 @@ The FilterExpression is NOT of notExpression. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `expression` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.md) | :heavy_minus_sign: | N/A | -| `filterType` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `expression` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.md) | :heavy_minus_sign: | N/A | +| `filterType` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Notion.md b/docs/models/shared/Notion.md index d417e01cc..94aad300b 100644 --- a/docs/models/shared/Notion.md +++ b/docs/models/shared/Notion.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/NotionCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/NotionCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/NotionCredentials.md b/docs/models/shared/NotionCredentials.md index 679dcd119..468cc255b 100644 --- a/docs/models/shared/NotionCredentials.md +++ b/docs/models/shared/NotionCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Notion integration. See our docs for more information. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Notion integration. See our docs for more information. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Notion integration. See our docs for more information. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Notion integration. See our docs for more information. | \ No newline at end of file diff --git a/docs/models/shared/NumericFilter.md b/docs/models/shared/NumericFilter.md index 18c91d11b..4faa57e80 100644 --- a/docs/models/shared/NumericFilter.md +++ b/docs/models/shared/NumericFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.md) | :heavy_check_mark: | N/A | -| `operation` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.md)> | :heavy_check_mark: | N/A | -| `value` | [com.airbyte.api.models.shared.Value](../../models/shared/Value.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.md) | :heavy_check_mark: | N/A | +| `operation` | List\<[SourceGoogleAnalyticsDataApiSchemasValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.md)> | :heavy_check_mark: | N/A | +| `value` | [Value](../../models/shared/Value.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Nutshell.md b/docs/models/shared/Nutshell.md new file mode 100644 index 000000000..fb38ecfd9 --- /dev/null +++ b/docs/models/shared/Nutshell.md @@ -0,0 +1,8 @@ +# Nutshell + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `NUTSHELL` | nutshell | \ No newline at end of file diff --git a/docs/models/shared/OAuth.md b/docs/models/shared/OAuth.md index ddc01e193..e78e2ca4f 100644 --- a/docs/models/shared/OAuth.md +++ b/docs/models/shared/OAuth.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | OAuth access token | -| `clientId` | *Optional* | :heavy_minus_sign: | OAuth Client Id | -| `clientSecret` | *Optional* | :heavy_minus_sign: | OAuth Client secret | -| `optionTitle` | [Optional](../../models/shared/OptionTitle.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `accessToken` | *String* | :heavy_check_mark: | OAuth access token | +| `clientId` | *Optional\* | :heavy_minus_sign: | OAuth Client Id | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | OAuth Client secret | +| `optionTitle` | [Optional\](../../models/shared/OptionTitle.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/OAuth20.md b/docs/models/shared/OAuth20.md index 306802b22..6122551a2 100644 --- a/docs/models/shared/OAuth20.md +++ b/docs/models/shared/OAuth20.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `authMethod` | [com.airbyte.api.models.shared.SourcePinterestAuthMethod](../../models/shared/SourcePinterestAuthMethod.md) | :heavy_check_mark: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your OAuth application. | -| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token to obtain new Access Token, when it's expired. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `authMethod` | [SourcePinterestAuthMethod](../../models/shared/SourcePinterestAuthMethod.md) | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your OAuth application. | +| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token to obtain new Access Token, when it's expired. | \ No newline at end of file diff --git a/docs/models/shared/OAuth20WithPrivateKey.md b/docs/models/shared/OAuth20WithPrivateKey.md index 7116eef0c..22e78dfc3 100644 --- a/docs/models/shared/OAuth20WithPrivateKey.md +++ b/docs/models/shared/OAuth20WithPrivateKey.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.SourceOktaSchemasAuthType](../../models/shared/SourceOktaSchemasAuthType.md) | :heavy_check_mark: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application. | -| `keyId` | *String* | :heavy_check_mark: | The key ID (kid). | -| `privateKey` | *String* | :heavy_check_mark: | The private key in PEM format | -| `scope` | *String* | :heavy_check_mark: | The OAuth scope. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `authType` | [SourceOktaSchemasAuthType](../../models/shared/SourceOktaSchemasAuthType.md) | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application. | +| `keyId` | *String* | :heavy_check_mark: | The key ID (kid). | +| `privateKey` | *String* | :heavy_check_mark: | The private key in PEM format | +| `scope` | *String* | :heavy_check_mark: | The OAuth scope. | \ No newline at end of file diff --git a/docs/models/shared/OAuth2AccessToken.md b/docs/models/shared/OAuth2AccessToken.md index 869eb374f..ae9127b5f 100644 --- a/docs/models/shared/OAuth2AccessToken.md +++ b/docs/models/shared/OAuth2AccessToken.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | Also called API Access Token The access token used to call the Auth0 Management API Token. It's a JWT that contains specific grant permissions knowns as scopes. | | -| `authType` | [com.airbyte.api.models.shared.SourceAuth0SchemasCredentialsAuthenticationMethod](../../models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.md) | :heavy_check_mark: | N/A | oauth2_access_token | \ No newline at end of file +| `authType` | [SourceAuth0SchemasCredentialsAuthenticationMethod](../../models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.md) | :heavy_check_mark: | N/A | oauth2_access_token | \ No newline at end of file diff --git a/docs/models/shared/OAuth2ConfidentialApplication.md b/docs/models/shared/OAuth2ConfidentialApplication.md index 8b9e55e43..cb3cfbdc6 100644 --- a/docs/models/shared/OAuth2ConfidentialApplication.md +++ b/docs/models/shared/OAuth2ConfidentialApplication.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `audience` | *String* | :heavy_check_mark: | The audience for the token, which is your API. You can find this in the Identifier field on your API's settings tab | https://dev-yourOrg.us.auth0.com/api/v2/ | -| `authType` | [com.airbyte.api.models.shared.SourceAuth0SchemasAuthenticationMethod](../../models/shared/SourceAuth0SchemasAuthenticationMethod.md) | :heavy_check_mark: | N/A | | +| `authType` | [SourceAuth0SchemasAuthenticationMethod](../../models/shared/SourceAuth0SchemasAuthenticationMethod.md) | :heavy_check_mark: | N/A | | | `clientId` | *String* | :heavy_check_mark: | Your application's Client ID. You can find this value on the application's settings tab after you login the admin portal. | Client_ID | | `clientSecret` | *String* | :heavy_check_mark: | Your application's Client Secret. You can find this value on the application's settings tab after you login the admin portal. | Client_Secret | \ No newline at end of file diff --git a/docs/models/shared/OAuth2Recommended.md b/docs/models/shared/OAuth2Recommended.md index 4b9b92c0f..e647118bf 100644 --- a/docs/models/shared/OAuth2Recommended.md +++ b/docs/models/shared/OAuth2Recommended.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.DestinationDatabricksSchemasAuthType](../../models/shared/DestinationDatabricksSchemasAuthType.md) | :heavy_check_mark: | N/A | -| `clientId` | *String* | :heavy_check_mark: | N/A | -| `secret` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `authType` | [DestinationDatabricksSchemasAuthType](../../models/shared/DestinationDatabricksSchemasAuthType.md) | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `secret` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/OAuthActorNames.md b/docs/models/shared/OAuthActorNames.md index 0fbc9ae7e..fe72ce5c1 100644 --- a/docs/models/shared/OAuthActorNames.md +++ b/docs/models/shared/OAuthActorNames.md @@ -11,7 +11,9 @@ | `ASANA` | asana | | `AZURE_BLOB_STORAGE` | azure-blob-storage | | `BING_ADS` | bing-ads | +| `DRIFT` | drift | | `FACEBOOK_MARKETING` | facebook-marketing | +| `GCS` | gcs | | `GITHUB` | github | | `GITLAB` | gitlab | | `GOOGLE_ADS` | google-ads | @@ -31,19 +33,17 @@ | `MONDAY` | monday | | `NOTION` | notion | | `PINTEREST` | pinterest | -| `RETENTLY` | retently | +| `RD_STATION_MARKETING` | rd-station-marketing | | `SALESFORCE` | salesforce | | `SLACK` | slack | | `SMARTSHEETS` | smartsheets | | `SNAPCHAT_MARKETING` | snapchat-marketing | | `SNOWFLAKE` | snowflake | -| `SQUARE` | square | | `SURVEYMONKEY` | surveymonkey | | `TIKTOK_MARKETING` | tiktok-marketing | | `TRELLO` | trello | | `TYPEFORM` | typeform | | `YOUTUBE_ANALYTICS` | youtube-analytics | | `ZENDESK_CHAT` | zendesk-chat | -| `ZENDESK_SUNSHINE` | zendesk-sunshine | | `ZENDESK_SUPPORT` | zendesk-support | | `ZENDESK_TALK` | zendesk-talk | \ No newline at end of file diff --git a/docs/models/shared/OauthAuthentication.md b/docs/models/shared/OauthAuthentication.md index 8e7bc90ed..af9d4b991 100644 --- a/docs/models/shared/OauthAuthentication.md +++ b/docs/models/shared/OauthAuthentication.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.SourceSquareAuthType](../../models/shared/SourceSquareAuthType.md) | :heavy_check_mark: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Square-issued ID of your application | -| `clientSecret` | *String* | :heavy_check_mark: | The Square-issued application secret for your application | -| `refreshToken` | *String* | :heavy_check_mark: | A refresh token generated using the above client ID and secret | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `authType` | [SourceSquareAuthType](../../models/shared/SourceSquareAuthType.md) | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Square-issued ID of your application | +| `clientSecret` | *String* | :heavy_check_mark: | The Square-issued application secret for your application | +| `refreshToken` | *String* | :heavy_check_mark: | A refresh token generated using the above client ID and secret | \ No newline at end of file diff --git a/docs/models/shared/Oncehub.md b/docs/models/shared/Oncehub.md new file mode 100644 index 000000000..dbe4cfcc1 --- /dev/null +++ b/docs/models/shared/Oncehub.md @@ -0,0 +1,8 @@ +# Oncehub + + +## Values + +| Name | Value | +| --------- | --------- | +| `ONCEHUB` | oncehub | \ No newline at end of file diff --git a/docs/models/shared/Onepagecrm.md b/docs/models/shared/Onepagecrm.md new file mode 100644 index 000000000..bd8432b8a --- /dev/null +++ b/docs/models/shared/Onepagecrm.md @@ -0,0 +1,8 @@ +# Onepagecrm + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `ONEPAGECRM` | onepagecrm | \ No newline at end of file diff --git a/docs/models/shared/Onfleet.md b/docs/models/shared/Onfleet.md new file mode 100644 index 000000000..bd66d24a3 --- /dev/null +++ b/docs/models/shared/Onfleet.md @@ -0,0 +1,8 @@ +# Onfleet + + +## Values + +| Name | Value | +| --------- | --------- | +| `ONFLEET` | onfleet | \ No newline at end of file diff --git a/docs/models/shared/OpenAI.md b/docs/models/shared/OpenAI.md index 270bc7d3b..e1ace41ed 100644 --- a/docs/models/shared/OpenAI.md +++ b/docs/models/shared/OpenAI.md @@ -5,7 +5,7 @@ Use the OpenAI API to embed text. This option is using the text-embedding-ada-00 ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.md) | :heavy_minus_sign: | N/A | -| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.md) | :heavy_minus_sign: | N/A | +| `openaiKey` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/OpenAICompatible.md b/docs/models/shared/OpenAICompatible.md index a26ab5064..b50d584d5 100644 --- a/docs/models/shared/OpenAICompatible.md +++ b/docs/models/shared/OpenAICompatible.md @@ -5,10 +5,10 @@ Use a service that's compatible with the OpenAI API to embed text. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | N/A | | -| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | -| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | -| `mode` | [Optional](../../models/shared/DestinationAstraSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | -| `modelName` | *Optional* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *Optional\* | :heavy_minus_sign: | N/A | | +| `baseUrl` | *String* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | +| `dimensions` | *long* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | +| `mode` | [Optional\](../../models/shared/DestinationAstraSchemasEmbeddingEmbeddingMode.md) | :heavy_minus_sign: | N/A | | +| `modelName` | *Optional\* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file diff --git a/docs/models/shared/OpenDataDc.md b/docs/models/shared/OpenDataDc.md new file mode 100644 index 000000000..7cbf52680 --- /dev/null +++ b/docs/models/shared/OpenDataDc.md @@ -0,0 +1,8 @@ +# OpenDataDc + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `OPEN_DATA_DC` | open-data-dc | \ No newline at end of file diff --git a/docs/models/shared/Openaq.md b/docs/models/shared/Openaq.md new file mode 100644 index 000000000..ecd30525e --- /dev/null +++ b/docs/models/shared/Openaq.md @@ -0,0 +1,8 @@ +# Openaq + + +## Values + +| Name | Value | +| -------- | -------- | +| `OPENAQ` | openaq | \ No newline at end of file diff --git a/docs/models/shared/Openfda.md b/docs/models/shared/Openfda.md new file mode 100644 index 000000000..8d53ed306 --- /dev/null +++ b/docs/models/shared/Openfda.md @@ -0,0 +1,8 @@ +# Openfda + + +## Values + +| Name | Value | +| --------- | --------- | +| `OPENFDA` | openfda | \ No newline at end of file diff --git a/docs/models/shared/Openweather.md b/docs/models/shared/Openweather.md new file mode 100644 index 000000000..7545cafaa --- /dev/null +++ b/docs/models/shared/Openweather.md @@ -0,0 +1,8 @@ +# Openweather + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `OPENWEATHER` | openweather | \ No newline at end of file diff --git a/docs/models/shared/Operator.md b/docs/models/shared/Operator.md index d2fe7228d..2ec9f3882 100644 --- a/docs/models/shared/Operator.md +++ b/docs/models/shared/Operator.md @@ -8,4 +8,4 @@ An Operator that will be used to filter accounts. The Contains predicate has fea | Name | Value | | ---------- | ---------- | | `CONTAINS` | Contains | -| `EQUALS_` | Equals | \ No newline at end of file +| `EQUALS` | Equals | \ No newline at end of file diff --git a/docs/models/shared/OpinionStage.md b/docs/models/shared/OpinionStage.md new file mode 100644 index 000000000..679e670e5 --- /dev/null +++ b/docs/models/shared/OpinionStage.md @@ -0,0 +1,8 @@ +# OpinionStage + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `OPINION_STAGE` | opinion-stage | \ No newline at end of file diff --git a/docs/models/shared/Opsgenie.md b/docs/models/shared/Opsgenie.md new file mode 100644 index 000000000..885cb7bde --- /dev/null +++ b/docs/models/shared/Opsgenie.md @@ -0,0 +1,8 @@ +# Opsgenie + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `OPSGENIE` | opsgenie | \ No newline at end of file diff --git a/docs/models/shared/OrGroup.md b/docs/models/shared/OrGroup.md index 3d3fab508..765f234c3 100644 --- a/docs/models/shared/OrGroup.md +++ b/docs/models/shared/OrGroup.md @@ -5,7 +5,7 @@ The FilterExpressions in orGroup have an OR relationship. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `expressions` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiExpression](../../models/shared/SourceGoogleAnalyticsDataApiExpression.md)> | :heavy_check_mark: | N/A | -| `filterType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiFilterType](../../models/shared/SourceGoogleAnalyticsDataApiFilterType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `expressions` | List\<[SourceGoogleAnalyticsDataApiExpression](../../models/shared/SourceGoogleAnalyticsDataApiExpression.md)> | :heavy_check_mark: | N/A | +| `filterType` | [SourceGoogleAnalyticsDataApiFilterType](../../models/shared/SourceGoogleAnalyticsDataApiFilterType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/OrganizationsResponse.md b/docs/models/shared/OrganizationsResponse.md index 4cd63c97a..2aed3bc0e 100644 --- a/docs/models/shared/OrganizationsResponse.md +++ b/docs/models/shared/OrganizationsResponse.md @@ -5,6 +5,6 @@ List/Array of multiple organizations. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `data` | List<[com.airbyte.api.models.shared.OrganizationResponse](../../models/shared/OrganizationResponse.md)> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `data` | List\<[OrganizationResponse](../../models/shared/OrganizationResponse.md)> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Oura.md b/docs/models/shared/Oura.md new file mode 100644 index 000000000..900d0b452 --- /dev/null +++ b/docs/models/shared/Oura.md @@ -0,0 +1,8 @@ +# Oura + + +## Values + +| Name | Value | +| ------ | ------ | +| `OURA` | oura | \ No newline at end of file diff --git a/docs/models/shared/Oveit.md b/docs/models/shared/Oveit.md new file mode 100644 index 000000000..a3e5e5f2f --- /dev/null +++ b/docs/models/shared/Oveit.md @@ -0,0 +1,8 @@ +# Oveit + + +## Values + +| Name | Value | +| ------- | ------- | +| `OVEIT` | oveit | \ No newline at end of file diff --git a/docs/models/shared/PabblySubscriptionsBilling.md b/docs/models/shared/PabblySubscriptionsBilling.md new file mode 100644 index 000000000..7266d4af6 --- /dev/null +++ b/docs/models/shared/PabblySubscriptionsBilling.md @@ -0,0 +1,8 @@ +# PabblySubscriptionsBilling + + +## Values + +| Name | Value | +| ------------------------------ | ------------------------------ | +| `PABBLY_SUBSCRIPTIONS_BILLING` | pabbly-subscriptions-billing | \ No newline at end of file diff --git a/docs/models/shared/Pandadoc.md b/docs/models/shared/Pandadoc.md new file mode 100644 index 000000000..048302373 --- /dev/null +++ b/docs/models/shared/Pandadoc.md @@ -0,0 +1,8 @@ +# Pandadoc + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `PANDADOC` | pandadoc | \ No newline at end of file diff --git a/docs/models/shared/Paperform.md b/docs/models/shared/Paperform.md new file mode 100644 index 000000000..d9f3371a9 --- /dev/null +++ b/docs/models/shared/Paperform.md @@ -0,0 +1,8 @@ +# Paperform + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `PAPERFORM` | paperform | \ No newline at end of file diff --git a/docs/models/shared/Papersign.md b/docs/models/shared/Papersign.md new file mode 100644 index 000000000..da4e1f88c --- /dev/null +++ b/docs/models/shared/Papersign.md @@ -0,0 +1,8 @@ +# Papersign + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `PAPERSIGN` | papersign | \ No newline at end of file diff --git a/docs/models/shared/Pardot.md b/docs/models/shared/Pardot.md new file mode 100644 index 000000000..aa4266028 --- /dev/null +++ b/docs/models/shared/Pardot.md @@ -0,0 +1,8 @@ +# Pardot + + +## Values + +| Name | Value | +| -------- | -------- | +| `PARDOT` | pardot | \ No newline at end of file diff --git a/docs/models/shared/ParquetColumnarStorage.md b/docs/models/shared/ParquetColumnarStorage.md index df6e36d27..fcf19e808 100644 --- a/docs/models/shared/ParquetColumnarStorage.md +++ b/docs/models/shared/ParquetColumnarStorage.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `compressionCodec` | [Optional](../../models/shared/DestinationAwsDatalakeCompressionCodecOptional.md) | :heavy_minus_sign: | The compression algorithm used to compress data. | -| `formatType` | [Optional](../../models/shared/DestinationAwsDatalakeFormatTypeWildcard.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `compressionCodec` | [Optional\](../../models/shared/DestinationAwsDatalakeCompressionCodecOptional.md) | :heavy_minus_sign: | The compression algorithm used to compress data. | +| `formatType` | [Optional\](../../models/shared/DestinationAwsDatalakeFormatTypeWildcard.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ParquetFormat.md b/docs/models/shared/ParquetFormat.md index 8d9f8263c..4c4ab0a59 100644 --- a/docs/models/shared/ParquetFormat.md +++ b/docs/models/shared/ParquetFormat.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `decimalAsFloat` | *Optional* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | -| `filetype` | [Optional](../../models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `decimalAsFloat` | *Optional\* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | +| `filetype` | [Optional\](../../models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/PasswordAuthentication.md b/docs/models/shared/PasswordAuthentication.md index a4e75d18e..5a4cc85ec 100644 --- a/docs/models/shared/PasswordAuthentication.md +++ b/docs/models/shared/PasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationClickhouseSchemasTunnelMethod](../../models/shared/DestinationClickhouseSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationClickhouseSchemasTunnelMethod](../../models/shared/DestinationClickhouseSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/PermissionCreateRequest.md b/docs/models/shared/PermissionCreateRequest.md index f902b1cf8..dca774c53 100644 --- a/docs/models/shared/PermissionCreateRequest.md +++ b/docs/models/shared/PermissionCreateRequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `organizationId` | *Optional* | :heavy_minus_sign: | N/A | -| `permissionType` | [com.airbyte.api.models.shared.PublicPermissionType](../../models/shared/PublicPermissionType.md) | :heavy_check_mark: | Subset of `PermissionType` (removing `instance_admin`), could be used in public-api. | -| `userId` | *String* | :heavy_check_mark: | Internal Airbyte user ID | -| `workspaceId` | *Optional* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `organizationId` | *Optional\* | :heavy_minus_sign: | N/A | +| `permissionType` | [PublicPermissionType](../../models/shared/PublicPermissionType.md) | :heavy_check_mark: | Subset of `PermissionType` (removing `instance_admin`), could be used in public-api. | +| `userId` | *String* | :heavy_check_mark: | Internal Airbyte user ID | +| `workspaceId` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/PermissionResponse.md b/docs/models/shared/PermissionResponse.md index 8f5424309..b06d6cbbd 100644 --- a/docs/models/shared/PermissionResponse.md +++ b/docs/models/shared/PermissionResponse.md @@ -5,10 +5,10 @@ Provides details of a single permission. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `organizationId` | *Optional* | :heavy_minus_sign: | N/A | -| `permissionId` | *String* | :heavy_check_mark: | N/A | -| `permissionType` | [com.airbyte.api.models.shared.PermissionType](../../models/shared/PermissionType.md) | :heavy_check_mark: | Describes what actions/endpoints the permission entitles to | -| `userId` | *String* | :heavy_check_mark: | Internal Airbyte user ID | -| `workspaceId` | *Optional* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `organizationId` | *Optional\* | :heavy_minus_sign: | N/A | +| `permissionId` | *String* | :heavy_check_mark: | N/A | +| `permissionType` | [PermissionType](../../models/shared/PermissionType.md) | :heavy_check_mark: | Describes what actions/endpoints the permission entitles to | +| `userId` | *String* | :heavy_check_mark: | Internal Airbyte user ID | +| `workspaceId` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/PermissionResponseRead.md b/docs/models/shared/PermissionResponseRead.md index 5d68e1a9b..defc6e3df 100644 --- a/docs/models/shared/PermissionResponseRead.md +++ b/docs/models/shared/PermissionResponseRead.md @@ -5,10 +5,10 @@ Reformat PermissionResponse with permission scope ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `permissionId` | *String* | :heavy_check_mark: | N/A | -| `permissionType` | [com.airbyte.api.models.shared.PermissionType](../../models/shared/PermissionType.md) | :heavy_check_mark: | Describes what actions/endpoints the permission entitles to | -| `scope` | [com.airbyte.api.models.shared.PermissionScope](../../models/shared/PermissionScope.md) | :heavy_check_mark: | Scope of a single permission, e.g. workspace, organization | -| `scopeId` | *String* | :heavy_check_mark: | N/A | -| `userId` | *String* | :heavy_check_mark: | Internal Airbyte user ID | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `permissionId` | *String* | :heavy_check_mark: | N/A | +| `permissionType` | [PermissionType](../../models/shared/PermissionType.md) | :heavy_check_mark: | Describes what actions/endpoints the permission entitles to | +| `scope` | [PermissionScope](../../models/shared/PermissionScope.md) | :heavy_check_mark: | Scope of a single permission, e.g. workspace, organization | +| `scopeId` | *String* | :heavy_check_mark: | N/A | +| `userId` | *String* | :heavy_check_mark: | Internal Airbyte user ID | \ No newline at end of file diff --git a/docs/models/shared/PermissionType.md b/docs/models/shared/PermissionType.md index 89358c499..fad09bed0 100644 --- a/docs/models/shared/PermissionType.md +++ b/docs/models/shared/PermissionType.md @@ -10,9 +10,11 @@ Describes what actions/endpoints the permission entitles to | `INSTANCE_ADMIN` | instance_admin | | `ORGANIZATION_ADMIN` | organization_admin | | `ORGANIZATION_EDITOR` | organization_editor | +| `ORGANIZATION_RUNNER` | organization_runner | | `ORGANIZATION_READER` | organization_reader | | `ORGANIZATION_MEMBER` | organization_member | | `WORKSPACE_OWNER` | workspace_owner | | `WORKSPACE_ADMIN` | workspace_admin | +| `WORKSPACE_RUNNER` | workspace_runner | | `WORKSPACE_EDITOR` | workspace_editor | | `WORKSPACE_READER` | workspace_reader | \ No newline at end of file diff --git a/docs/models/shared/PermissionUpdateRequest.md b/docs/models/shared/PermissionUpdateRequest.md index 9aafe4431..c26d66442 100644 --- a/docs/models/shared/PermissionUpdateRequest.md +++ b/docs/models/shared/PermissionUpdateRequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `permissionType` | [com.airbyte.api.models.shared.PermissionType](../../models/shared/PermissionType.md) | :heavy_check_mark: | Describes what actions/endpoints the permission entitles to | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `permissionType` | [PermissionType](../../models/shared/PermissionType.md) | :heavy_check_mark: | Describes what actions/endpoints the permission entitles to | \ No newline at end of file diff --git a/docs/models/shared/PermissionsResponse.md b/docs/models/shared/PermissionsResponse.md index 0a32d704e..7f1f4f216 100644 --- a/docs/models/shared/PermissionsResponse.md +++ b/docs/models/shared/PermissionsResponse.md @@ -5,6 +5,6 @@ List/Array of multiple permissions ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `data` | List<[com.airbyte.api.models.shared.PermissionResponseRead](../../models/shared/PermissionResponseRead.md)> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `data` | List\<[PermissionResponseRead](../../models/shared/PermissionResponseRead.md)> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Persona.md b/docs/models/shared/Persona.md new file mode 100644 index 000000000..1602050b1 --- /dev/null +++ b/docs/models/shared/Persona.md @@ -0,0 +1,8 @@ +# Persona + + +## Values + +| Name | Value | +| --------- | --------- | +| `PERSONA` | persona | \ No newline at end of file diff --git a/docs/models/shared/PersonalAccessToken.md b/docs/models/shared/PersonalAccessToken.md index 262a9ceaf..6a99f813d 100644 --- a/docs/models/shared/PersonalAccessToken.md +++ b/docs/models/shared/PersonalAccessToken.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.DestinationDatabricksAuthType](../../models/shared/DestinationDatabricksAuthType.md) | :heavy_check_mark: | N/A | -| `personalAccessToken` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `authType` | [DestinationDatabricksAuthType](../../models/shared/DestinationDatabricksAuthType.md) | :heavy_check_mark: | N/A | +| `personalAccessToken` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Pinterest.md b/docs/models/shared/Pinterest.md index 744d7e3b1..7e5f37254 100644 --- a/docs/models/shared/Pinterest.md +++ b/docs/models/shared/Pinterest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/PinterestCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/PinterestCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/PinterestCredentials.md b/docs/models/shared/PinterestCredentials.md index 186937379..b7517ed88 100644 --- a/docs/models/shared/PinterestCredentials.md +++ b/docs/models/shared/PinterestCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your OAuth application | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your OAuth application | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file diff --git a/docs/models/shared/Pipeliner.md b/docs/models/shared/Pipeliner.md new file mode 100644 index 000000000..46ec1a2ed --- /dev/null +++ b/docs/models/shared/Pipeliner.md @@ -0,0 +1,8 @@ +# Pipeliner + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `PIPELINER` | pipeliner | \ No newline at end of file diff --git a/docs/models/shared/PivotalTracker.md b/docs/models/shared/PivotalTracker.md new file mode 100644 index 000000000..a31a49aef --- /dev/null +++ b/docs/models/shared/PivotalTracker.md @@ -0,0 +1,8 @@ +# PivotalTracker + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `PIVOTAL_TRACKER` | pivotal-tracker | \ No newline at end of file diff --git a/docs/models/shared/Plaid.md b/docs/models/shared/Plaid.md new file mode 100644 index 000000000..0bc349170 --- /dev/null +++ b/docs/models/shared/Plaid.md @@ -0,0 +1,8 @@ +# Plaid + + +## Values + +| Name | Value | +| ------- | ------- | +| `PLAID` | plaid | \ No newline at end of file diff --git a/docs/models/shared/PlaidEnvironment.md b/docs/models/shared/PlaidEnvironment.md new file mode 100644 index 000000000..bea2afc41 --- /dev/null +++ b/docs/models/shared/PlaidEnvironment.md @@ -0,0 +1,12 @@ +# PlaidEnvironment + +The Plaid environment. + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `SANDBOX` | sandbox | +| `DEVELOPMENT` | development | +| `PRODUCTION` | production | \ No newline at end of file diff --git a/docs/models/shared/Plausible.md b/docs/models/shared/Plausible.md new file mode 100644 index 000000000..6bbe991c0 --- /dev/null +++ b/docs/models/shared/Plausible.md @@ -0,0 +1,8 @@ +# Plausible + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `PLAUSIBLE` | plausible | \ No newline at end of file diff --git a/docs/models/shared/Plugin.md b/docs/models/shared/Plugin.md new file mode 100644 index 000000000..df8c04ab8 --- /dev/null +++ b/docs/models/shared/Plugin.md @@ -0,0 +1,10 @@ +# Plugin + +A logical decoding plugin installed on the PostgreSQL server. + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `PGOUTPUT` | pgoutput | \ No newline at end of file diff --git a/docs/models/shared/PostgresConnection.md b/docs/models/shared/PostgresConnection.md index 918a65430..1473701c4 100644 --- a/docs/models/shared/PostgresConnection.md +++ b/docs/models/shared/PostgresConnection.md @@ -5,11 +5,11 @@ Postgres can be used to store vector data and retrieve embeddings. ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.DestinationPgvectorCredentials](../../models/shared/DestinationPgvectorCredentials.md) | :heavy_check_mark: | N/A | | -| `database` | *String* | :heavy_check_mark: | Enter the name of the database that you want to sync data into | AIRBYTE_DATABASE | -| `defaultSchema` | *String* | :heavy_check_mark: | Enter the name of the default schema | AIRBYTE_SCHEMA | -| `host` | *String* | :heavy_check_mark: | Enter the account name you want to use to access the database. | AIRBYTE_ACCOUNT | -| `port` | *long* | :heavy_check_mark: | Enter the port you want to use to access the database | 5432 | -| `username` | *String* | :heavy_check_mark: | Enter the name of the user you want to use to access the database | AIRBYTE_USER | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `credentials` | [DestinationPgvectorCredentials](../../models/shared/DestinationPgvectorCredentials.md) | :heavy_check_mark: | N/A | | +| `database` | *String* | :heavy_check_mark: | Enter the name of the database that you want to sync data into | AIRBYTE_DATABASE | +| `defaultSchema` | *Optional\* | :heavy_minus_sign: | Enter the name of the default schema | AIRBYTE_SCHEMA | +| `host` | *String* | :heavy_check_mark: | Enter the account name you want to use to access the database. | AIRBYTE_ACCOUNT | +| `port` | *Optional\* | :heavy_minus_sign: | Enter the port you want to use to access the database | 5432 | +| `username` | *String* | :heavy_check_mark: | Enter the name of the user you want to use to access the database | AIRBYTE_USER | \ No newline at end of file diff --git a/docs/models/shared/Prefer.md b/docs/models/shared/Prefer.md index da02cde60..5eca22a0b 100644 --- a/docs/models/shared/Prefer.md +++ b/docs/models/shared/Prefer.md @@ -5,6 +5,6 @@ Prefer SSL mode. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationPostgresSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationPostgresSchemasMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Preferred.md b/docs/models/shared/Preferred.md index 428c431d4..adffac8ee 100644 --- a/docs/models/shared/Preferred.md +++ b/docs/models/shared/Preferred.md @@ -5,6 +5,6 @@ Automatically attempt SSL connection. If the MySQL server does not support SSL, ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `mode` | [com.airbyte.api.models.shared.SourceMysqlMode](../../models/shared/SourceMysqlMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `mode` | [SourceMysqlMode](../../models/shared/SourceMysqlMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Pretix.md b/docs/models/shared/Pretix.md new file mode 100644 index 000000000..8bdeed4c3 --- /dev/null +++ b/docs/models/shared/Pretix.md @@ -0,0 +1,8 @@ +# Pretix + + +## Values + +| Name | Value | +| -------- | -------- | +| `PRETIX` | pretix | \ No newline at end of file diff --git a/docs/models/shared/Primetric.md b/docs/models/shared/Primetric.md new file mode 100644 index 000000000..e369edd9c --- /dev/null +++ b/docs/models/shared/Primetric.md @@ -0,0 +1,8 @@ +# Primetric + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `PRIMETRIC` | primetric | \ No newline at end of file diff --git a/docs/models/shared/PrivateApp.md b/docs/models/shared/PrivateApp.md index 2e29613cc..189aaae58 100644 --- a/docs/models/shared/PrivateApp.md +++ b/docs/models/shared/PrivateApp.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | HubSpot Access token. See the Hubspot docs if you need help finding this token. | -| `credentialsTitle` | [com.airbyte.api.models.shared.SourceHubspotSchemasAuthType](../../models/shared/SourceHubspotSchemasAuthType.md) | :heavy_check_mark: | Name of the credentials set | \ No newline at end of file +| `credentialsTitle` | [SourceHubspotSchemasAuthType](../../models/shared/SourceHubspotSchemasAuthType.md) | :heavy_check_mark: | Name of the credentials set | \ No newline at end of file diff --git a/docs/models/shared/PrivateToken.md b/docs/models/shared/PrivateToken.md index 783312e48..c42868062 100644 --- a/docs/models/shared/PrivateToken.md +++ b/docs/models/shared/PrivateToken.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Log into your Gitlab account and then generate a personal Access Token. | -| `authType` | [Optional](../../models/shared/SourceGitlabSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Log into your Gitlab account and then generate a personal Access Token. | +| `authType` | [Optional\](../../models/shared/SourceGitlabSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ProcessingConfigModel.md b/docs/models/shared/ProcessingConfigModel.md index 6c349c56a..bbe4ad953 100644 --- a/docs/models/shared/ProcessingConfigModel.md +++ b/docs/models/shared/ProcessingConfigModel.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `chunkOverlap` | *Optional* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | +| `chunkOverlap` | *Optional\* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | | `chunkSize` | *long* | :heavy_check_mark: | Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) | | -| `fieldNameMappings` | List<[com.airbyte.api.models.shared.FieldNameMappingConfigModel](../../models/shared/FieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | -| `metadataFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | -| `textFields` | List<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | -| `textSplitter` | [Optional](../../models/shared/TextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file +| `fieldNameMappings` | List\<[FieldNameMappingConfigModel](../../models/shared/FieldNameMappingConfigModel.md)> | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | +| `metadataFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | +| `textFields` | List\<*String*> | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | +| `textSplitter` | [Optional\](../../models/shared/TextSplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file diff --git a/docs/models/shared/ProjectSecret.md b/docs/models/shared/ProjectSecret.md index e1b48219b..de642a611 100644 --- a/docs/models/shared/ProjectSecret.md +++ b/docs/models/shared/ProjectSecret.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiSecret` | *String* | :heavy_check_mark: | Mixpanel project secret. See the docs for more information on how to obtain this. | -| `optionTitle` | [Optional](../../models/shared/SourceMixpanelSchemasOptionTitle.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `optionTitle` | [Optional\](../../models/shared/SourceMixpanelSchemasOptionTitle.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/PublicPermissionType.md b/docs/models/shared/PublicPermissionType.md index fe88102c0..af24f189c 100644 --- a/docs/models/shared/PublicPermissionType.md +++ b/docs/models/shared/PublicPermissionType.md @@ -9,8 +9,10 @@ Subset of `PermissionType` (removing `instance_admin`), could be used in public- | --------------------- | --------------------- | | `ORGANIZATION_ADMIN` | organization_admin | | `ORGANIZATION_EDITOR` | organization_editor | +| `ORGANIZATION_RUNNER` | organization_runner | | `ORGANIZATION_READER` | organization_reader | | `ORGANIZATION_MEMBER` | organization_member | | `WORKSPACE_ADMIN` | workspace_admin | | `WORKSPACE_EDITOR` | workspace_editor | +| `WORKSPACE_RUNNER` | workspace_runner | | `WORKSPACE_READER` | workspace_reader | \ No newline at end of file diff --git a/docs/models/shared/Queries.md b/docs/models/shared/Queries.md index b641b98e7..4284711c4 100644 --- a/docs/models/shared/Queries.md +++ b/docs/models/shared/Queries.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `dataSource` | [com.airbyte.api.models.shared.DataSource](../../models/shared/DataSource.md) | :heavy_check_mark: | A data source that is powered by the platform. | -| `name` | *String* | :heavy_check_mark: | The variable name for use in queries. | -| `query` | *String* | :heavy_check_mark: | A classic query string. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `dataSource` | [DataSource](../../models/shared/DataSource.md) | :heavy_check_mark: | A data source that is powered by the platform. | +| `name` | *String* | :heavy_check_mark: | The variable name for use in queries. | +| `query` | *String* | :heavy_check_mark: | A classic query string. | \ No newline at end of file diff --git a/docs/models/shared/Quickbooks.md b/docs/models/shared/Quickbooks.md new file mode 100644 index 000000000..b096585e9 --- /dev/null +++ b/docs/models/shared/Quickbooks.md @@ -0,0 +1,8 @@ +# Quickbooks + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `QUICKBOOKS` | quickbooks | \ No newline at end of file diff --git a/docs/models/shared/RESTCatalog.md b/docs/models/shared/RESTCatalog.md new file mode 100644 index 000000000..117a0b919 --- /dev/null +++ b/docs/models/shared/RESTCatalog.md @@ -0,0 +1,13 @@ +# RESTCatalog + +The RESTCatalog connects to a REST server at the specified URI + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `catalogType` | [Optional\](../../models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.md) | :heavy_minus_sign: | N/A | | +| `restCredential` | *Optional\* | :heavy_minus_sign: | N/A | username:password | +| `restToken` | *Optional\* | :heavy_minus_sign: | N/A | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c | +| `restUri` | *String* | :heavy_check_mark: | N/A | http://localhost:12345 | \ No newline at end of file diff --git a/docs/models/shared/RandomSampling.md b/docs/models/shared/RandomSampling.md new file mode 100644 index 000000000..3eb4acf00 --- /dev/null +++ b/docs/models/shared/RandomSampling.md @@ -0,0 +1,14 @@ +# RandomSampling + +For each stream, randomly log a percentage of the entries with a maximum cap. + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | | +| `loggingType` | [Optional\](../../models/shared/DestinationDevNullSchemasLoggingType.md) | :heavy_minus_sign: | N/A | | +| `maxEntryCount` | *Optional\* | :heavy_minus_sign: | Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. | 100 | +| `samplingRatio` | *Optional\* | :heavy_minus_sign: | A positive floating number smaller than 1. | 0.001 | +| `seed` | *Optional\* | :heavy_minus_sign: | When the seed is unspecified, the current time millis will be used as the seed. | 1900 | \ No newline at end of file diff --git a/docs/models/shared/Range.md b/docs/models/shared/Range.md new file mode 100644 index 000000000..18cb400d3 --- /dev/null +++ b/docs/models/shared/Range.md @@ -0,0 +1,20 @@ +# Range + +The range of prices to be queried. + + +## Values + +| Name | Value | +| --------- | --------- | +| `ONED` | 1d | +| `FIVED` | 5d | +| `SEVEND` | 7d | +| `ONEMO` | 1mo | +| `THREEMO` | 3mo | +| `SIXMO` | 6mo | +| `ONEY` | 1y | +| `TWOY` | 2y | +| `FIVEY` | 5y | +| `YTD` | ytd | +| `MAX` | max | \ No newline at end of file diff --git a/docs/models/shared/RdStationMarketing.md b/docs/models/shared/RdStationMarketing.md new file mode 100644 index 000000000..6f0a830f7 --- /dev/null +++ b/docs/models/shared/RdStationMarketing.md @@ -0,0 +1,8 @@ +# RdStationMarketing + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `authorization` | [Optional\](../../models/shared/RdStationMarketingAuthorization.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/RdStationMarketingAuthorization.md b/docs/models/shared/RdStationMarketingAuthorization.md new file mode 100644 index 000000000..9a569715d --- /dev/null +++ b/docs/models/shared/RdStationMarketingAuthorization.md @@ -0,0 +1,9 @@ +# RdStationMarketingAuthorization + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your RD Station developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your RD Station developer application | \ No newline at end of file diff --git a/docs/models/shared/ReadChangesUsingBinaryLogCDC.md b/docs/models/shared/ReadChangesUsingBinaryLogCDC.md index d9926993c..a758011b4 100644 --- a/docs/models/shared/ReadChangesUsingBinaryLogCDC.md +++ b/docs/models/shared/ReadChangesUsingBinaryLogCDC.md @@ -7,8 +7,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `initialLoadTimeoutHours` | *Optional* | :heavy_minus_sign: | The amount of time an initial load is allowed to continue for before catching up on CDC logs. | -| `initialWaitingSeconds` | *Optional* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. Read about initial waiting time. | -| `invalidCdcCursorPositionBehavior` | [Optional](../../models/shared/SourceMysqlInvalidCDCPositionBehaviorAdvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | -| `method` | [com.airbyte.api.models.shared.SourceMysqlMethod](../../models/shared/SourceMysqlMethod.md) | :heavy_check_mark: | N/A | -| `serverTimeZone` | *Optional* | :heavy_minus_sign: | Enter the configured MySQL server timezone. This should only be done if the configured timezone in your MySQL instance does not conform to IANNA standard. | \ No newline at end of file +| `initialLoadTimeoutHours` | *Optional\* | :heavy_minus_sign: | The amount of time an initial load is allowed to continue for before catching up on CDC logs. | +| `initialWaitingSeconds` | *Optional\* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. Read about initial waiting time. | +| `invalidCdcCursorPositionBehavior` | [Optional\](../../models/shared/SourceMysqlInvalidCDCPositionBehaviorAdvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | +| `method` | [SourceMysqlMethod](../../models/shared/SourceMysqlMethod.md) | :heavy_check_mark: | N/A | +| `serverTimeZone` | *Optional\* | :heavy_minus_sign: | Enter the configured MySQL server timezone. This should only be done if the configured timezone in your MySQL instance does not conform to IANNA standard. | \ No newline at end of file diff --git a/docs/models/shared/ReadChangesUsingChangeDataCaptureCDC.md b/docs/models/shared/ReadChangesUsingChangeDataCaptureCDC.md index f7d70656c..814596eed 100644 --- a/docs/models/shared/ReadChangesUsingChangeDataCaptureCDC.md +++ b/docs/models/shared/ReadChangesUsingChangeDataCaptureCDC.md @@ -7,8 +7,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `initialLoadTimeoutHours` | *Optional* | :heavy_minus_sign: | The amount of time an initial load is allowed to continue for before catching up on CDC logs. | -| `initialWaitingSeconds` | *Optional* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about initial waiting time. | -| `invalidCdcCursorPositionBehavior` | [Optional](../../models/shared/SourceMssqlInvalidCDCPositionBehaviorAdvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | -| `method` | [com.airbyte.api.models.shared.SourceMssqlMethod](../../models/shared/SourceMssqlMethod.md) | :heavy_check_mark: | N/A | -| `queueSize` | *Optional* | :heavy_minus_sign: | The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. | \ No newline at end of file +| `initialLoadTimeoutHours` | *Optional\* | :heavy_minus_sign: | The amount of time an initial load is allowed to continue for before catching up on CDC logs. | +| `initialWaitingSeconds` | *Optional\* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about initial waiting time. | +| `invalidCdcCursorPositionBehavior` | [Optional\](../../models/shared/SourceMssqlInvalidCDCPositionBehaviorAdvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | +| `method` | [SourceMssqlMethod](../../models/shared/SourceMssqlMethod.md) | :heavy_check_mark: | N/A | +| `queueSize` | *Optional\* | :heavy_minus_sign: | The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. | \ No newline at end of file diff --git a/docs/models/shared/ReadChangesUsingWriteAheadLogCDC.md b/docs/models/shared/ReadChangesUsingWriteAheadLogCDC.md new file mode 100644 index 000000000..cdc5976fd --- /dev/null +++ b/docs/models/shared/ReadChangesUsingWriteAheadLogCDC.md @@ -0,0 +1,20 @@ +# ReadChangesUsingWriteAheadLogCDC + +Recommended - Incrementally reads new inserts, updates, and deletes using the Postgres write-ahead log (WAL). This needs to be configured on the source database itself. Recommended for tables of any size. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `heartbeatActionQuery` | *Optional\* | :heavy_minus_sign: | Specifies a query that the connector executes on the source database when the connector sends a heartbeat message. Please see the setup guide for how and when to configure this setting. | +| `initialLoadTimeoutHours` | *Optional\* | :heavy_minus_sign: | The amount of time an initial load is allowed to continue for before catching up on CDC logs. | +| `initialWaitingSeconds` | *Optional\* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 1200 seconds. Valid range: 120 seconds to 2400 seconds. Read about initial waiting time. | +| `invalidCdcCursorPositionBehavior` | [Optional\](../../models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | +| `lsnCommitBehaviour` | [Optional\](../../models/shared/LSNCommitBehaviour.md) | :heavy_minus_sign: | Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync. | +| `method` | [SourcePostgresMethod](../../models/shared/SourcePostgresMethod.md) | :heavy_check_mark: | N/A | +| `plugin` | [Optional\](../../models/shared/Plugin.md) | :heavy_minus_sign: | A logical decoding plugin installed on the PostgreSQL server. | +| `publication` | *String* | :heavy_check_mark: | A Postgres publication used for consuming changes. Read about publications and replication identities. | +| `queueSize` | *Optional\* | :heavy_minus_sign: | The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. | +| `replicationSlot` | *String* | :heavy_check_mark: | A plugin logical replication slot. Read about replication slots. | \ No newline at end of file diff --git a/docs/models/shared/Referralhero.md b/docs/models/shared/Referralhero.md new file mode 100644 index 000000000..29f073637 --- /dev/null +++ b/docs/models/shared/Referralhero.md @@ -0,0 +1,8 @@ +# Referralhero + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `REFERRALHERO` | referralhero | \ No newline at end of file diff --git a/docs/models/shared/Rentcast.md b/docs/models/shared/Rentcast.md new file mode 100644 index 000000000..57b451ee0 --- /dev/null +++ b/docs/models/shared/Rentcast.md @@ -0,0 +1,8 @@ +# Rentcast + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `RENTCAST` | rentcast | \ No newline at end of file diff --git a/docs/models/shared/Repairshopr.md b/docs/models/shared/Repairshopr.md new file mode 100644 index 000000000..280801f90 --- /dev/null +++ b/docs/models/shared/Repairshopr.md @@ -0,0 +1,8 @@ +# Repairshopr + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `REPAIRSHOPR` | repairshopr | \ No newline at end of file diff --git a/docs/models/shared/ReplicaSet.md b/docs/models/shared/ReplicaSet.md index 41c3f9325..c29010499 100644 --- a/docs/models/shared/ReplicaSet.md +++ b/docs/models/shared/ReplicaSet.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `instance` | [Optional](../../models/shared/DestinationMongodbInstance.md) | :heavy_minus_sign: | N/A | | -| `replicaSet` | *Optional* | :heavy_minus_sign: | A replica set name. | | -| `serverAddresses` | *String* | :heavy_check_mark: | The members of a replica set. Please specify `host`:`port` of each member seperated by comma. | host1:27017,host2:27017,host3:27017 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `instance` | [Optional\](../../models/shared/DestinationMongodbInstance.md) | :heavy_minus_sign: | N/A | | +| `replicaSet` | *Optional\* | :heavy_minus_sign: | A replica set name. | | +| `serverAddresses` | *String* | :heavy_check_mark: | The members of a replica set. Please specify `host`:`port` of each member seperated by comma. | host1:27017,host2:27017,host3:27017 | \ No newline at end of file diff --git a/docs/models/shared/ReplicateRecords.md b/docs/models/shared/ReplicateRecords.md new file mode 100644 index 000000000..3d1cf943c --- /dev/null +++ b/docs/models/shared/ReplicateRecords.md @@ -0,0 +1,10 @@ +# ReplicateRecords + +Recommended - Extract and load structured records into your destination of choice. This is the classic method of moving data in Airbyte. It allows for blocking and hashing individual fields or files from a structured schema. Data can be flattened, typed and deduped depending on the destination. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `deliveryType` | [Optional\](../../models/shared/DeliveryType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ReplyIo.md b/docs/models/shared/ReplyIo.md new file mode 100644 index 000000000..f86a29710 --- /dev/null +++ b/docs/models/shared/ReplyIo.md @@ -0,0 +1,8 @@ +# ReplyIo + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `REPLY_IO` | reply-io | \ No newline at end of file diff --git a/docs/models/shared/ReportConfig.md b/docs/models/shared/ReportConfig.md index 551a85992..46582c903 100644 --- a/docs/models/shared/ReportConfig.md +++ b/docs/models/shared/ReportConfig.md @@ -7,13 +7,13 @@ Config for custom report | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `attributionTypes` | List<[com.airbyte.api.models.shared.SourcePinterestValidEnums](../../models/shared/SourcePinterestValidEnums.md)> | :heavy_minus_sign: | List of types of attribution for the conversion report | | -| `clickWindowDays` | [Optional](../../models/shared/ClickWindowDays.md) | :heavy_minus_sign: | Number of days to use as the conversion attribution window for a pin click action. | | -| `columns` | List<[com.airbyte.api.models.shared.SourcePinterestSchemasValidEnums](../../models/shared/SourcePinterestSchemasValidEnums.md)> | :heavy_check_mark: | A list of chosen columns | | -| `conversionReportTime` | [Optional](../../models/shared/ConversionReportTime.md) | :heavy_minus_sign: | The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event.. | | -| `engagementWindowDays` | [Optional](../../models/shared/EngagementWindowDays.md) | :heavy_minus_sign: | Number of days to use as the conversion attribution window for an engagement action. | | -| `granularity` | [Optional](../../models/shared/Granularity.md) | :heavy_minus_sign: | Chosen granularity for API | | -| `level` | [Optional](../../models/shared/SourcePinterestLevel.md) | :heavy_minus_sign: | Chosen level for API | | +| `attributionTypes` | List\<[SourcePinterestValidEnums](../../models/shared/SourcePinterestValidEnums.md)> | :heavy_minus_sign: | List of types of attribution for the conversion report | | +| `clickWindowDays` | [Optional\](../../models/shared/ClickWindowDays.md) | :heavy_minus_sign: | Number of days to use as the conversion attribution window for a pin click action. | | +| `columns` | List\<[SourcePinterestSchemasValidEnums](../../models/shared/SourcePinterestSchemasValidEnums.md)> | :heavy_check_mark: | A list of chosen columns | | +| `conversionReportTime` | [Optional\](../../models/shared/ConversionReportTime.md) | :heavy_minus_sign: | The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event.. | | +| `engagementWindowDays` | [Optional\](../../models/shared/EngagementWindowDays.md) | :heavy_minus_sign: | Number of days to use as the conversion attribution window for an engagement action. | | +| `granularity` | [Optional\](../../models/shared/Granularity.md) | :heavy_minus_sign: | Chosen granularity for API | | +| `level` | [Optional\](../../models/shared/SourcePinterestLevel.md) | :heavy_minus_sign: | Chosen level for API | | | `name` | *String* | :heavy_check_mark: | The name value of report | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | A date in the format YYYY-MM-DD. If you have not set a date, it would be defaulted to latest allowed date by report api (913 days from today). | 2022-07-28 | -| `viewWindowDays` | [Optional](../../models/shared/ViewWindowDays.md) | :heavy_minus_sign: | Number of days to use as the conversion attribution window for a view action. | | \ No newline at end of file +| `viewWindowDays` | [Optional\](../../models/shared/ViewWindowDays.md) | :heavy_minus_sign: | Number of days to use as the conversion attribution window for a view action. | | \ No newline at end of file diff --git a/docs/models/shared/ReportOptions.md b/docs/models/shared/ReportOptions.md index be0d9b1ee..97f2e555c 100644 --- a/docs/models/shared/ReportOptions.md +++ b/docs/models/shared/ReportOptions.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `optionsList` | List<[com.airbyte.api.models.shared.OptionsList](../../models/shared/OptionsList.md)> | :heavy_check_mark: | List of options | -| `reportName` | [com.airbyte.api.models.shared.ReportName](../../models/shared/ReportName.md) | :heavy_check_mark: | N/A | -| `streamName` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `optionsList` | List\<[OptionsList](../../models/shared/OptionsList.md)> | :heavy_check_mark: | List of options | +| `reportName` | [ReportName](../../models/shared/ReportName.md) | :heavy_check_mark: | N/A | +| `streamName` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ReportRecordTypes.md b/docs/models/shared/ReportRecordTypeEnum.md similarity index 91% rename from docs/models/shared/ReportRecordTypes.md rename to docs/models/shared/ReportRecordTypeEnum.md index c2ad5dce0..09c75d198 100644 --- a/docs/models/shared/ReportRecordTypes.md +++ b/docs/models/shared/ReportRecordTypeEnum.md @@ -1,4 +1,6 @@ -# ReportRecordTypes +# ReportRecordTypeEnum + +An enumeration. ## Values diff --git a/docs/models/shared/Require.md b/docs/models/shared/Require.md index f7083974f..fee402c8c 100644 --- a/docs/models/shared/Require.md +++ b/docs/models/shared/Require.md @@ -5,6 +5,6 @@ Require SSL mode. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/DestinationPostgresSchemasSslModeMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/DestinationPostgresSchemasSslModeMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Required.md b/docs/models/shared/Required.md index 6ba13358e..389a31f26 100644 --- a/docs/models/shared/Required.md +++ b/docs/models/shared/Required.md @@ -5,6 +5,6 @@ Always connect with SSL. If the MySQL server doesn’t support SSL, the connecti ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `mode` | [com.airbyte.api.models.shared.SourceMysqlSchemasMode](../../models/shared/SourceMysqlSchemasMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `mode` | [SourceMysqlSchemasMode](../../models/shared/SourceMysqlSchemasMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Retently.md b/docs/models/shared/Retently.md index 4dfe71aec..6311c1969 100644 --- a/docs/models/shared/Retently.md +++ b/docs/models/shared/Retently.md @@ -1,8 +1,8 @@ # Retently -## Fields +## Values -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/RetentlyCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Name | Value | +| ---------- | ---------- | +| `RETENTLY` | retently | \ No newline at end of file diff --git a/docs/models/shared/RetentlyCredentials.md b/docs/models/shared/RetentlyCredentials.md deleted file mode 100644 index e9d0e0ffd..000000000 --- a/docs/models/shared/RetentlyCredentials.md +++ /dev/null @@ -1,9 +0,0 @@ -# RetentlyCredentials - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Retently developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Retently developer application. | \ No newline at end of file diff --git a/docs/models/shared/Revenuecat.md b/docs/models/shared/Revenuecat.md new file mode 100644 index 000000000..d741b2adb --- /dev/null +++ b/docs/models/shared/Revenuecat.md @@ -0,0 +1,8 @@ +# Revenuecat + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `REVENUECAT` | revenuecat | \ No newline at end of file diff --git a/docs/models/shared/RevolutMerchant.md b/docs/models/shared/RevolutMerchant.md new file mode 100644 index 000000000..be6faf3fc --- /dev/null +++ b/docs/models/shared/RevolutMerchant.md @@ -0,0 +1,8 @@ +# RevolutMerchant + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `REVOLUT_MERCHANT` | revolut-merchant | \ No newline at end of file diff --git a/docs/models/shared/Rocketlane.md b/docs/models/shared/Rocketlane.md new file mode 100644 index 000000000..4e52ea268 --- /dev/null +++ b/docs/models/shared/Rocketlane.md @@ -0,0 +1,8 @@ +# Rocketlane + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `ROCKETLANE` | rocketlane | \ No newline at end of file diff --git a/docs/models/shared/RoleBasedAuthentication.md b/docs/models/shared/RoleBasedAuthentication.md new file mode 100644 index 000000000..5df193ad0 --- /dev/null +++ b/docs/models/shared/RoleBasedAuthentication.md @@ -0,0 +1,9 @@ +# RoleBasedAuthentication + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `authType` | [Optional\](../../models/shared/SourceDynamodbSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Rollbar.md b/docs/models/shared/Rollbar.md new file mode 100644 index 000000000..75aef120c --- /dev/null +++ b/docs/models/shared/Rollbar.md @@ -0,0 +1,8 @@ +# Rollbar + + +## Values + +| Name | Value | +| --------- | --------- | +| `ROLLBAR` | rollbar | \ No newline at end of file diff --git a/docs/models/shared/Rootly.md b/docs/models/shared/Rootly.md new file mode 100644 index 000000000..9fdac7026 --- /dev/null +++ b/docs/models/shared/Rootly.md @@ -0,0 +1,8 @@ +# Rootly + + +## Values + +| Name | Value | +| -------- | -------- | +| `ROOTLY` | rootly | \ No newline at end of file diff --git a/docs/models/shared/Ruddr.md b/docs/models/shared/Ruddr.md new file mode 100644 index 000000000..4d89c3b8c --- /dev/null +++ b/docs/models/shared/Ruddr.md @@ -0,0 +1,8 @@ +# Ruddr + + +## Values + +| Name | Value | +| ------- | ------- | +| `RUDDR` | ruddr | \ No newline at end of file diff --git a/docs/models/shared/S3AmazonWebServices.md b/docs/models/shared/S3AmazonWebServices.md index 361d9d26e..a14e92cf6 100644 --- a/docs/models/shared/S3AmazonWebServices.md +++ b/docs/models/shared/S3AmazonWebServices.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `awsAccessKeyId` | *Optional* | :heavy_minus_sign: | In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. | -| `awsSecretAccessKey` | *Optional* | :heavy_minus_sign: | In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. | -| `storage` | [com.airbyte.api.models.shared.SourceFileSchemasStorage](../../models/shared/SourceFileSchemasStorage.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `awsAccessKeyId` | *Optional\* | :heavy_minus_sign: | In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. | +| `awsSecretAccessKey` | *Optional\* | :heavy_minus_sign: | In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. | +| `storage` | [SourceFileSchemasStorage](../../models/shared/SourceFileSchemasStorage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SCPSecureCopyProtocol.md b/docs/models/shared/SCPSecureCopyProtocol.md index ec122bcdc..949ac807f 100644 --- a/docs/models/shared/SCPSecureCopyProtocol.md +++ b/docs/models/shared/SCPSecureCopyProtocol.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `host` | *String* | :heavy_check_mark: | N/A | -| `password` | *Optional* | :heavy_minus_sign: | N/A | -| `port` | *Optional* | :heavy_minus_sign: | N/A | -| `storage` | [com.airbyte.api.models.shared.SourceFileSchemasProviderStorageProvider6Storage](../../models/shared/SourceFileSchemasProviderStorageProvider6Storage.md) | :heavy_check_mark: | N/A | -| `user` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `host` | *String* | :heavy_check_mark: | N/A | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `port` | *Optional\* | :heavy_minus_sign: | N/A | +| `storage` | [SourceFileSchemasProviderStorageProvider6Storage](../../models/shared/SourceFileSchemasProviderStorageProvider6Storage.md) | :heavy_check_mark: | N/A | +| `user` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SFTPSecureFileTransferProtocol.md b/docs/models/shared/SFTPSecureFileTransferProtocol.md index 76e13f090..dff93b17d 100644 --- a/docs/models/shared/SFTPSecureFileTransferProtocol.md +++ b/docs/models/shared/SFTPSecureFileTransferProtocol.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `host` | *String* | :heavy_check_mark: | N/A | -| `password` | *Optional* | :heavy_minus_sign: | N/A | -| `port` | *Optional* | :heavy_minus_sign: | N/A | -| `storage` | [com.airbyte.api.models.shared.SourceFileSchemasProviderStorageProvider7Storage](../../models/shared/SourceFileSchemasProviderStorageProvider7Storage.md) | :heavy_check_mark: | N/A | -| `user` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `host` | *String* | :heavy_check_mark: | N/A | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `port` | *Optional\* | :heavy_minus_sign: | N/A | +| `storage` | [SourceFileSchemasProviderStorageProvider7Storage](../../models/shared/SourceFileSchemasProviderStorageProvider7Storage.md) | :heavy_check_mark: | N/A | +| `user` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SQLInserts.md b/docs/models/shared/SQLInserts.md index af3d20466..a68347baf 100644 --- a/docs/models/shared/SQLInserts.md +++ b/docs/models/shared/SQLInserts.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `method` | [com.airbyte.api.models.shared.DestinationFireboltMethod](../../models/shared/DestinationFireboltMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `method` | [DestinationFireboltMethod](../../models/shared/DestinationFireboltMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SSHKeyAuthentication.md b/docs/models/shared/SSHKeyAuthentication.md index 16a93e18d..0d9df2b2c 100644 --- a/docs/models/shared/SSHKeyAuthentication.md +++ b/docs/models/shared/SSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.DestinationClickhouseTunnelMethod](../../models/shared/DestinationClickhouseTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [DestinationClickhouseTunnelMethod](../../models/shared/DestinationClickhouseTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/SSHSecureShell.md b/docs/models/shared/SSHSecureShell.md index aa84c24d6..14fb98db7 100644 --- a/docs/models/shared/SSHSecureShell.md +++ b/docs/models/shared/SSHSecureShell.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `host` | *String* | :heavy_check_mark: | N/A | -| `password` | *Optional* | :heavy_minus_sign: | N/A | -| `port` | *Optional* | :heavy_minus_sign: | N/A | -| `storage` | [com.airbyte.api.models.shared.SourceFileSchemasProviderStorageProviderStorage](../../models/shared/SourceFileSchemasProviderStorageProviderStorage.md) | :heavy_check_mark: | N/A | -| `user` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `host` | *String* | :heavy_check_mark: | N/A | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `port` | *Optional\* | :heavy_minus_sign: | N/A | +| `storage` | [SourceFileSchemasProviderStorageProviderStorage](../../models/shared/SourceFileSchemasProviderStorageProviderStorage.md) | :heavy_check_mark: | N/A | +| `user` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Safetyculture.md b/docs/models/shared/Safetyculture.md new file mode 100644 index 000000000..0ca2cbce6 --- /dev/null +++ b/docs/models/shared/Safetyculture.md @@ -0,0 +1,8 @@ +# Safetyculture + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `SAFETYCULTURE` | safetyculture | \ No newline at end of file diff --git a/docs/models/shared/SageHr.md b/docs/models/shared/SageHr.md new file mode 100644 index 000000000..644a88bbf --- /dev/null +++ b/docs/models/shared/SageHr.md @@ -0,0 +1,8 @@ +# SageHr + + +## Values + +| Name | Value | +| --------- | --------- | +| `SAGE_HR` | sage-hr | \ No newline at end of file diff --git a/docs/models/shared/Salesflare.md b/docs/models/shared/Salesflare.md new file mode 100644 index 000000000..56aa85573 --- /dev/null +++ b/docs/models/shared/Salesflare.md @@ -0,0 +1,8 @@ +# Salesflare + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `SALESFLARE` | salesflare | \ No newline at end of file diff --git a/docs/models/shared/Salesforce.md b/docs/models/shared/Salesforce.md index c918d1be5..30023ca84 100644 --- a/docs/models/shared/Salesforce.md +++ b/docs/models/shared/Salesforce.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | Enter your Salesforce developer application's Client ID | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Enter your Salesforce developer application's Client secret | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | Enter your Salesforce developer application's Client ID | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Enter your Salesforce developer application's Client secret | \ No newline at end of file diff --git a/docs/models/shared/SandboxAccessToken.md b/docs/models/shared/SandboxAccessToken.md index 9f45a648d..fcf5bef93 100644 --- a/docs/models/shared/SandboxAccessToken.md +++ b/docs/models/shared/SandboxAccessToken.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | The long-term authorized access token. | -| `advertiserId` | *String* | :heavy_check_mark: | The Advertiser ID which generated for the developer's Sandbox application. | -| `authType` | [Optional](../../models/shared/SourceTiktokMarketingSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | The long-term authorized access token. | +| `advertiserId` | *String* | :heavy_check_mark: | The Advertiser ID which generated for the developer's Sandbox application. | +| `authType` | [Optional\](../../models/shared/SourceTiktokMarketingSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ScanChangesWithUserDefinedCursor.md b/docs/models/shared/ScanChangesWithUserDefinedCursor.md index 40d6b0dc1..198a659db 100644 --- a/docs/models/shared/ScanChangesWithUserDefinedCursor.md +++ b/docs/models/shared/ScanChangesWithUserDefinedCursor.md @@ -5,6 +5,6 @@ Incrementally detects new inserts and updates using the docs for more information on how to obtain this. | | `secret` | *String* | :heavy_check_mark: | Mixpanel Service Account Secret. See the docs for more information on how to obtain this. | | `username` | *String* | :heavy_check_mark: | Mixpanel Service Account Username. See the docs for more information on how to obtain this. | \ No newline at end of file diff --git a/docs/models/shared/ServiceAccountAuthentication.md b/docs/models/shared/ServiceAccountAuthentication.md new file mode 100644 index 000000000..736d129c1 --- /dev/null +++ b/docs/models/shared/ServiceAccountAuthentication.md @@ -0,0 +1,9 @@ +# ServiceAccountAuthentication + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceGcsSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `serviceAccount` | *String* | :heavy_check_mark: | Enter your Google Cloud service account key in JSON format | \ No newline at end of file diff --git a/docs/models/shared/ServiceAccountKey.md b/docs/models/shared/ServiceAccountKey.md index 504dbe34b..2eca2370a 100644 --- a/docs/models/shared/ServiceAccountKey.md +++ b/docs/models/shared/ServiceAccountKey.md @@ -8,5 +8,5 @@ For these scenario user should obtain service account's credentials from the Goo | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `credentialsJson` | *String* | :heavy_check_mark: | The contents of the JSON service account key. See the docs for more information on how to generate this key. | -| `credentialsTitle` | [Optional](../../models/shared/SourceGoogleDirectorySchemasCredentialsTitle.md) | :heavy_minus_sign: | Authentication Scenario | +| `credentialsTitle` | [Optional\](../../models/shared/SourceGoogleDirectorySchemasCredentialsTitle.md) | :heavy_minus_sign: | Authentication Scenario | | `email` | *String* | :heavy_check_mark: | The email of the user, which has permissions to access the Google Workspace Admin APIs. | \ No newline at end of file diff --git a/docs/models/shared/ServiceAccountKeyAuthentication.md b/docs/models/shared/ServiceAccountKeyAuthentication.md index fdfd0358c..85133c24c 100644 --- a/docs/models/shared/ServiceAccountKeyAuthentication.md +++ b/docs/models/shared/ServiceAccountKeyAuthentication.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions ads_management, ads_read, read_insights, business_management. Then click on "Get token". See the docs for more information. | -| `authType` | [Optional](../../models/shared/SourceFacebookMarketingSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `authType` | [Optional\](../../models/shared/SourceFacebookMarketingSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ServiceKeyAuthentication.md b/docs/models/shared/ServiceKeyAuthentication.md index 5626f4796..cfa2ea1a4 100644 --- a/docs/models/shared/ServiceKeyAuthentication.md +++ b/docs/models/shared/ServiceKeyAuthentication.md @@ -8,7 +8,7 @@ This class is structured similarly to OAuthCredentials but for a different authe | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceMicrosoftOnedriveSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `authType` | [Optional\](../../models/shared/SourceMicrosoftOnedriveSchemasAuthType.md) | :heavy_minus_sign: | N/A | | `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | | `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | | `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft OneDrive user | diff --git a/docs/models/shared/ServiceName.md b/docs/models/shared/ServiceName.md index 41380b94c..b3b8edf5f 100644 --- a/docs/models/shared/ServiceName.md +++ b/docs/models/shared/ServiceName.md @@ -5,7 +5,7 @@ Use service name ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `connectionType` | [Optional](../../models/shared/ConnectionType.md) | :heavy_minus_sign: | N/A | -| `serviceName` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `connectionType` | [Optional\](../../models/shared/ConnectionType.md) | :heavy_minus_sign: | N/A | +| `serviceName` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Sharetribe.md b/docs/models/shared/Sharetribe.md new file mode 100644 index 000000000..9af7bc3eb --- /dev/null +++ b/docs/models/shared/Sharetribe.md @@ -0,0 +1,8 @@ +# Sharetribe + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `SHARETRIBE` | sharetribe | \ No newline at end of file diff --git a/docs/models/shared/Shippo.md b/docs/models/shared/Shippo.md new file mode 100644 index 000000000..c05b3edc3 --- /dev/null +++ b/docs/models/shared/Shippo.md @@ -0,0 +1,8 @@ +# Shippo + + +## Values + +| Name | Value | +| -------- | -------- | +| `SHIPPO` | shippo | \ No newline at end of file diff --git a/docs/models/shared/Shopify.md b/docs/models/shared/Shopify.md index c71d67400..3c2f87a0f 100644 --- a/docs/models/shared/Shopify.md +++ b/docs/models/shared/Shopify.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/ShopifyCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/ShopifyCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ShopifyCredentials.md b/docs/models/shared/ShopifyCredentials.md index b3d906a04..e83d206a2 100644 --- a/docs/models/shared/ShopifyCredentials.md +++ b/docs/models/shared/ShopifyCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of the Shopify developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of the Shopify developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of the Shopify developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of the Shopify developer application. | \ No newline at end of file diff --git a/docs/models/shared/SigmaComputing.md b/docs/models/shared/SigmaComputing.md new file mode 100644 index 000000000..0fbccddf8 --- /dev/null +++ b/docs/models/shared/SigmaComputing.md @@ -0,0 +1,8 @@ +# SigmaComputing + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `SIGMA_COMPUTING` | sigma-computing | \ No newline at end of file diff --git a/docs/models/shared/SignInViaGoogleOAuth.md b/docs/models/shared/SignInViaGoogleOAuth.md index d341c173c..614952843 100644 --- a/docs/models/shared/SignInViaGoogleOAuth.md +++ b/docs/models/shared/SignInViaGoogleOAuth.md @@ -5,9 +5,9 @@ For these scenario user only needs to give permission to read Google Directory d ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of the developer application. | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of the developer application. | -| `credentialsTitle` | [Optional](../../models/shared/SourceGoogleDirectoryCredentialsTitle.md) | :heavy_minus_sign: | Authentication Scenario | -| `refreshToken` | *String* | :heavy_check_mark: | The Token for obtaining a new access token. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of the developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of the developer application. | +| `credentialsTitle` | [Optional\](../../models/shared/SourceGoogleDirectoryCredentialsTitle.md) | :heavy_minus_sign: | Authentication Scenario | +| `refreshToken` | *String* | :heavy_check_mark: | The Token for obtaining a new access token. | \ No newline at end of file diff --git a/docs/models/shared/SignInViaRDStationOAuth.md b/docs/models/shared/SignInViaRDStationOAuth.md new file mode 100644 index 000000000..9c5c032b8 --- /dev/null +++ b/docs/models/shared/SignInViaRDStationOAuth.md @@ -0,0 +1,11 @@ +# SignInViaRDStationOAuth + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `authType` | [SourceRdStationMarketingAuthType](../../models/shared/SourceRdStationMarketingAuthType.md) | :heavy_check_mark: | N/A | +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your RD Station developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your RD Station developer application | +| `refreshToken` | *Optional\* | :heavy_minus_sign: | The token for obtaining the new access token. | \ No newline at end of file diff --git a/docs/models/shared/SignInViaSlackOAuth.md b/docs/models/shared/SignInViaSlackOAuth.md index 1849a9ab8..1bd316dc6 100644 --- a/docs/models/shared/SignInViaSlackOAuth.md +++ b/docs/models/shared/SignInViaSlackOAuth.md @@ -8,4 +8,4 @@ | `accessToken` | *String* | :heavy_check_mark: | Slack access_token. See our docs if you need help generating the token. | | `clientId` | *String* | :heavy_check_mark: | Slack client_id. See our docs if you need help finding this id. | | `clientSecret` | *String* | :heavy_check_mark: | Slack client_secret. See our docs if you need help finding this secret. | -| `optionTitle` | [com.airbyte.api.models.shared.SourceSlackOptionTitle](../../models/shared/SourceSlackOptionTitle.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `optionTitle` | [SourceSlackOptionTitle](../../models/shared/SourceSlackOptionTitle.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Silent.md b/docs/models/shared/Silent.md new file mode 100644 index 000000000..cc02b923e --- /dev/null +++ b/docs/models/shared/Silent.md @@ -0,0 +1,9 @@ +# Silent + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `testDestinationType` | [Optional\](../../models/shared/DestinationDevNullTestDestinationType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Simfin.md b/docs/models/shared/Simfin.md new file mode 100644 index 000000000..0b7ae404c --- /dev/null +++ b/docs/models/shared/Simfin.md @@ -0,0 +1,8 @@ +# Simfin + + +## Values + +| Name | Value | +| -------- | -------- | +| `SIMFIN` | simfin | \ No newline at end of file diff --git a/docs/models/shared/Simplecast.md b/docs/models/shared/Simplecast.md new file mode 100644 index 000000000..2e5f503d4 --- /dev/null +++ b/docs/models/shared/Simplecast.md @@ -0,0 +1,8 @@ +# Simplecast + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `SIMPLECAST` | simplecast | \ No newline at end of file diff --git a/docs/models/shared/Simplesat.md b/docs/models/shared/Simplesat.md new file mode 100644 index 000000000..f713e975f --- /dev/null +++ b/docs/models/shared/Simplesat.md @@ -0,0 +1,8 @@ +# Simplesat + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `SIMPLESAT` | simplesat | \ No newline at end of file diff --git a/docs/models/shared/SingleStoreAccessToken.md b/docs/models/shared/SingleStoreAccessToken.md index c3d9ebfb1..840de9769 100644 --- a/docs/models/shared/SingleStoreAccessToken.md +++ b/docs/models/shared/SingleStoreAccessToken.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | -| `authType` | [com.airbyte.api.models.shared.SourceCartSchemasAuthType](../../models/shared/SourceCartSchemasAuthType.md) | :heavy_check_mark: | N/A | +| `authType` | [SourceCartSchemasAuthType](../../models/shared/SourceCartSchemasAuthType.md) | :heavy_check_mark: | N/A | | `storeName` | *String* | :heavy_check_mark: | The name of Cart.com Online Store. All API URLs start with https://[mystorename.com]/api/v1/, where [mystorename.com] is the domain name of your store. | \ No newline at end of file diff --git a/docs/models/shared/Slack.md b/docs/models/shared/Slack.md index 6d565c8c5..d3c1bf707 100644 --- a/docs/models/shared/Slack.md +++ b/docs/models/shared/Slack.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SlackCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SlackCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SlackCredentials.md b/docs/models/shared/SlackCredentials.md index aa6258d91..d62ba16a6 100644 --- a/docs/models/shared/SlackCredentials.md +++ b/docs/models/shared/SlackCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | Slack client_id. See our docs if you need help finding this id. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Slack client_secret. See our docs if you need help finding this secret. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | Slack client_id. See our docs if you need help finding this id. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Slack client_secret. See our docs if you need help finding this secret. | \ No newline at end of file diff --git a/docs/models/shared/Smartreach.md b/docs/models/shared/Smartreach.md new file mode 100644 index 000000000..ece83f85e --- /dev/null +++ b/docs/models/shared/Smartreach.md @@ -0,0 +1,8 @@ +# Smartreach + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `SMARTREACH` | smartreach | \ No newline at end of file diff --git a/docs/models/shared/Smartsheets.md b/docs/models/shared/Smartsheets.md index 6045b9f45..dbfde07c6 100644 --- a/docs/models/shared/Smartsheets.md +++ b/docs/models/shared/Smartsheets.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SmartsheetsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SmartsheetsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SmartsheetsCredentials.md b/docs/models/shared/SmartsheetsCredentials.md index 375983450..57506e546 100644 --- a/docs/models/shared/SmartsheetsCredentials.md +++ b/docs/models/shared/SmartsheetsCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The API ID of the SmartSheets developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The API Secret the SmartSheets developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The API ID of the SmartSheets developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The API Secret the SmartSheets developer application. | \ No newline at end of file diff --git a/docs/models/shared/Smartwaiver.md b/docs/models/shared/Smartwaiver.md new file mode 100644 index 000000000..931070f21 --- /dev/null +++ b/docs/models/shared/Smartwaiver.md @@ -0,0 +1,8 @@ +# Smartwaiver + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `SMARTWAIVER` | smartwaiver | \ No newline at end of file diff --git a/docs/models/shared/SnapchatMarketing.md b/docs/models/shared/SnapchatMarketing.md index 163700cfd..b128850ea 100644 --- a/docs/models/shared/SnapchatMarketing.md +++ b/docs/models/shared/SnapchatMarketing.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Snapchat developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Snapchat developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Snapchat developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Snapchat developer application. | \ No newline at end of file diff --git a/docs/models/shared/Snappy.md b/docs/models/shared/Snappy.md index 848d17e87..6ba317b0d 100644 --- a/docs/models/shared/Snappy.md +++ b/docs/models/shared/Snappy.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationGcsSchemasFormatOutputFormat1Codec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `codec` | [Optional\](../../models/shared/DestinationGcsSchemasFormatOutputFormat1Codec.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Snowflake.md b/docs/models/shared/Snowflake.md index f822614cf..aca41f8e4 100644 --- a/docs/models/shared/Snowflake.md +++ b/docs/models/shared/Snowflake.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SnowflakeCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/SnowflakeCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SnowflakeConnection.md b/docs/models/shared/SnowflakeConnection.md index 20256f921..55e9a34cb 100644 --- a/docs/models/shared/SnowflakeConnection.md +++ b/docs/models/shared/SnowflakeConnection.md @@ -5,12 +5,12 @@ Snowflake can be used to store vector data and retrieve embeddings. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.DestinationSnowflakeCortexCredentials](../../models/shared/DestinationSnowflakeCortexCredentials.md) | :heavy_check_mark: | N/A | | -| `database` | *String* | :heavy_check_mark: | Enter the name of the database that you want to sync data into | AIRBYTE_DATABASE | -| `defaultSchema` | *String* | :heavy_check_mark: | Enter the name of the default schema | AIRBYTE_SCHEMA | -| `host` | *String* | :heavy_check_mark: | Enter the account name you want to use to access the database. This is usually the identifier before .snowflakecomputing.com | AIRBYTE_ACCOUNT | -| `role` | *String* | :heavy_check_mark: | Enter the role that you want to use to access Snowflake | AIRBYTE_ROLE | -| `username` | *String* | :heavy_check_mark: | Enter the name of the user you want to use to access the database | AIRBYTE_USER | -| `warehouse` | *String* | :heavy_check_mark: | Enter the name of the warehouse that you want to use as a compute cluster | AIRBYTE_WAREHOUSE | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [DestinationSnowflakeCortexCredentials](../../models/shared/DestinationSnowflakeCortexCredentials.md) | :heavy_check_mark: | N/A | | +| `database` | *String* | :heavy_check_mark: | Enter the name of the database that you want to sync data into | AIRBYTE_DATABASE | +| `defaultSchema` | *String* | :heavy_check_mark: | Enter the name of the default schema | AIRBYTE_SCHEMA | +| `host` | *String* | :heavy_check_mark: | Enter the account name you want to use to access the database. This is usually the identifier before .snowflakecomputing.com | AIRBYTE_ACCOUNT | +| `role` | *String* | :heavy_check_mark: | Enter the role that you want to use to access Snowflake | AIRBYTE_ROLE | +| `username` | *String* | :heavy_check_mark: | Enter the name of the user you want to use to access the database | AIRBYTE_USER | +| `warehouse` | *String* | :heavy_check_mark: | Enter the name of the warehouse that you want to use as a compute cluster | AIRBYTE_WAREHOUSE | \ No newline at end of file diff --git a/docs/models/shared/SnowflakeCredentials.md b/docs/models/shared/SnowflakeCredentials.md index 650325c9c..6fc623737 100644 --- a/docs/models/shared/SnowflakeCredentials.md +++ b/docs/models/shared/SnowflakeCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your Snowflake developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Snowflake developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your Snowflake developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Snowflake developer application. | \ No newline at end of file diff --git a/docs/models/shared/SolarwindsServiceDesk.md b/docs/models/shared/SolarwindsServiceDesk.md new file mode 100644 index 000000000..d2cbec756 --- /dev/null +++ b/docs/models/shared/SolarwindsServiceDesk.md @@ -0,0 +1,8 @@ +# SolarwindsServiceDesk + + +## Values + +| Name | Value | +| ------------------------- | ------------------------- | +| `SOLARWINDS_SERVICE_DESK` | solarwinds-service-desk | \ No newline at end of file diff --git a/docs/models/shared/SortBy.md b/docs/models/shared/SortBy.md index 074d9768e..572a86d1a 100644 --- a/docs/models/shared/SortBy.md +++ b/docs/models/shared/SortBy.md @@ -1,13 +1,14 @@ # SortBy -This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: - - publishedAt = sort by publication date, the articles with the most recent publication date are returned first - - relevance = sort by best match to keywords, the articles with the best match are returned first +The order to sort the articles in. Possible options: relevancy, +popularity, publishedAt. + ## Values | Name | Value | | -------------- | -------------- | -| `PUBLISHED_AT` | publishedAt | -| `RELEVANCE` | relevance | \ No newline at end of file +| `RELEVANCY` | relevancy | +| `POPULARITY` | popularity | +| `PUBLISHED_AT` | publishedAt | \ No newline at end of file diff --git a/docs/models/shared/Source7shifts.md b/docs/models/shared/Source7shifts.md index 851006619..1eaf2fa16 100644 --- a/docs/models/shared/Source7shifts.md +++ b/docs/models/shared/Source7shifts.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | Access token to use for authentication. Generate it in the 7shifts Developer Tools. | -| `sourceType` | [com.airbyte.api.models.shared.Sevenshifts](../../models/shared/Sevenshifts.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Sevenshifts](../../models/shared/Sevenshifts.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceActivecampaign.md b/docs/models/shared/SourceActivecampaign.md new file mode 100644 index 000000000..bf07293cc --- /dev/null +++ b/docs/models/shared/SourceActivecampaign.md @@ -0,0 +1,10 @@ +# SourceActivecampaign + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `accountUsername` | *String* | :heavy_check_mark: | Account Username | +| `apiKey` | *String* | :heavy_check_mark: | API Key | +| `sourceType` | [Activecampaign](../../models/shared/Activecampaign.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAgilecrm.md b/docs/models/shared/SourceAgilecrm.md new file mode 100644 index 000000000..1bc49f890 --- /dev/null +++ b/docs/models/shared/SourceAgilecrm.md @@ -0,0 +1,11 @@ +# SourceAgilecrm + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at Admin Settings -> API & Analytics -> API Key in your Agile CRM account. | +| `domain` | *String* | :heavy_check_mark: | The specific subdomain for your Agile CRM account | +| `email` | *String* | :heavy_check_mark: | Your Agile CRM account email address. This is used as the username for authentication. | +| `sourceType` | [Agilecrm](../../models/shared/Agilecrm.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAha.md b/docs/models/shared/SourceAha.md index 00914ea59..d8714a75a 100644 --- a/docs/models/shared/SourceAha.md +++ b/docs/models/shared/SourceAha.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | API Key | -| `sourceType` | [com.airbyte.api.models.shared.Aha](../../models/shared/Aha.md) | :heavy_check_mark: | N/A | -| `url` | *String* | :heavy_check_mark: | URL | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key | +| `sourceType` | [Aha](../../models/shared/Aha.md) | :heavy_check_mark: | N/A | +| `url` | *String* | :heavy_check_mark: | URL | \ No newline at end of file diff --git a/docs/models/shared/SourceAirbyte.md b/docs/models/shared/SourceAirbyte.md index e6ab9955a..c33c103c7 100644 --- a/docs/models/shared/SourceAirbyte.md +++ b/docs/models/shared/SourceAirbyte.md @@ -7,5 +7,5 @@ | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `clientId` | *String* | :heavy_check_mark: | N/A | | `clientSecret` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Airbyte](../../models/shared/Airbyte.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Airbyte](../../models/shared/Airbyte.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAircall.md b/docs/models/shared/SourceAircall.md index 34a38ff52..13f59d644 100644 --- a/docs/models/shared/SourceAircall.md +++ b/docs/models/shared/SourceAircall.md @@ -7,5 +7,5 @@ | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiId` | *String* | :heavy_check_mark: | App ID found at settings https://dashboard.aircall.io/integrations/api-keys | | | `apiToken` | *String* | :heavy_check_mark: | App token found at settings (Ref- https://dashboard.aircall.io/integrations/api-keys) | | -| `sourceType` | [com.airbyte.api.models.shared.Aircall](../../models/shared/Aircall.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Aircall](../../models/shared/Aircall.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | Date time filter for incremental filter, Specify which date to extract from. | 2022-03-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/shared/SourceAirtable.md b/docs/models/shared/SourceAirtable.md index 664f8be89..617cda57f 100644 --- a/docs/models/shared/SourceAirtable.md +++ b/docs/models/shared/SourceAirtable.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceAirtableAuthentication.md) | :heavy_minus_sign: | N/A | -| `sourceType` | [Optional](../../models/shared/SourceAirtableAirtable.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceAirtableAuthentication.md) | :heavy_minus_sign: | N/A | +| `sourceType` | [Optional\](../../models/shared/SourceAirtableAirtable.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAirtableOAuth20.md b/docs/models/shared/SourceAirtableOAuth20.md index 12af975e3..02d3e074c 100644 --- a/docs/models/shared/SourceAirtableOAuth20.md +++ b/docs/models/shared/SourceAirtableOAuth20.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *Optional* | :heavy_minus_sign: | Access Token for making authenticated requests. | -| `authMethod` | [Optional](../../models/shared/SourceAirtableSchemasAuthMethod.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The client ID of the Airtable developer application. | -| `clientSecret` | *String* | :heavy_check_mark: | The client secret the Airtable developer application. | -| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access token. | -| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date-time when the access token should be refreshed. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `accessToken` | *Optional\* | :heavy_minus_sign: | Access Token for making authenticated requests. | +| `authMethod` | [Optional\](../../models/shared/SourceAirtableSchemasAuthMethod.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The client ID of the Airtable developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The client secret the Airtable developer application. | +| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access token. | +| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date-time when the access token should be refreshed. | \ No newline at end of file diff --git a/docs/models/shared/SourceAirtablePersonalAccessToken.md b/docs/models/shared/SourceAirtablePersonalAccessToken.md index 8015d35f0..c95a691c2 100644 --- a/docs/models/shared/SourceAirtablePersonalAccessToken.md +++ b/docs/models/shared/SourceAirtablePersonalAccessToken.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | The Personal Access Token for the Airtable account. See the Support Guide for more information on how to obtain this token. | key1234567890 | -| `authMethod` | [Optional](../../models/shared/SourceAirtableAuthMethod.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `authMethod` | [Optional\](../../models/shared/SourceAirtableAuthMethod.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceAkeneo.md b/docs/models/shared/SourceAkeneo.md new file mode 100644 index 000000000..9a826fd27 --- /dev/null +++ b/docs/models/shared/SourceAkeneo.md @@ -0,0 +1,13 @@ +# SourceAkeneo + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `apiUsername` | *String* | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `host` | *String* | :heavy_check_mark: | https://cb8715249e.trial.akeneo.cloud | +| `password` | *String* | :heavy_check_mark: | N/A | +| `secret` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Akeneo](../../models/shared/Akeneo.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAlgolia.md b/docs/models/shared/SourceAlgolia.md new file mode 100644 index 000000000..c0218c74b --- /dev/null +++ b/docs/models/shared/SourceAlgolia.md @@ -0,0 +1,13 @@ +# SourceAlgolia + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `applicationId` | *String* | :heavy_check_mark: | The application ID for your application found in settings | +| `objectId` | *Optional\* | :heavy_minus_sign: | Object ID within index for search queries | +| `searchQuery` | *Optional\* | :heavy_minus_sign: | Search query to be used with indexes_query stream with format defined in `https://www.algolia.com/doc/rest-api/search/#tag/Search/operation/searchSingleIndex` | +| `sourceType` | [Algolia](../../models/shared/Algolia.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAmazonAds.md b/docs/models/shared/SourceAmazonAds.md index f3f33ddc5..48c3ab7e3 100644 --- a/docs/models/shared/SourceAmazonAds.md +++ b/docs/models/shared/SourceAmazonAds.md @@ -5,15 +5,15 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceAmazonAdsAuthType.md) | :heavy_minus_sign: | N/A | | +| `authType` | [Optional\](../../models/shared/SourceAmazonAdsAuthType.md) | :heavy_minus_sign: | N/A | | | `clientId` | *String* | :heavy_check_mark: | The client ID of your Amazon Ads developer application. See the docs for more information. | | | `clientSecret` | *String* | :heavy_check_mark: | The client secret of your Amazon Ads developer application. See the docs for more information. | | -| `lookBackWindow` | *Optional* | :heavy_minus_sign: | The amount of days to go back in time to get the updated data from Amazon Ads | 3 | -| `marketplaceIds` | List<*String*> | :heavy_minus_sign: | Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. | | -| `profiles` | List<*long*> | :heavy_minus_sign: | Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See docs for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. | | +| `lookBackWindow` | *Optional\* | :heavy_minus_sign: | The amount of days to go back in time to get the updated data from Amazon Ads | 3 | +| `marketplaceIds` | List\<*String*> | :heavy_minus_sign: | Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. | | +| `profiles` | List\<*long*> | :heavy_minus_sign: | Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See docs for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. | | | `refreshToken` | *String* | :heavy_check_mark: | Amazon Ads refresh token. See the docs for more information on how to obtain this token. | | -| `region` | [Optional](../../models/shared/Region.md) | :heavy_minus_sign: | Region to pull data from (EU/NA/FE). See docs for more details. | | -| `reportRecordTypes` | List<[com.airbyte.api.models.shared.ReportRecordTypes](../../models/shared/ReportRecordTypes.md)> | :heavy_minus_sign: | Optional configuration which accepts an array of string of record types. Leave blank for default behaviour to pull all report types. Use this config option only if you want to pull specific report type(s). See docs for more details | | -| `sourceType` | [com.airbyte.api.models.shared.SourceAmazonAdsAmazonAds](../../models/shared/SourceAmazonAdsAmazonAds.md) | :heavy_check_mark: | N/A | | +| `region` | [Optional\](../../models/shared/Region.md) | :heavy_minus_sign: | Region to pull data from (EU/NA/FE). See docs for more details. | | +| `reportRecordTypes` | List\<[ReportRecordTypeEnum](../../models/shared/ReportRecordTypeEnum.md)> | :heavy_minus_sign: | Optional configuration which accepts an array of string of record types. Leave blank for default behaviour to pull all report types. Use this config option only if you want to pull specific report type(s). See docs for more details | | +| `sourceType` | [SourceAmazonAdsAmazonAds](../../models/shared/SourceAmazonAdsAmazonAds.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format | 2022-10-10 | -| `stateFilter` | List<[com.airbyte.api.models.shared.StateFilter](../../models/shared/StateFilter.md)> | :heavy_minus_sign: | Reflects the state of the Display, Product, and Brand Campaign streams as enabled, paused, or archived. If you do not populate this field, it will be ignored completely. | | \ No newline at end of file +| `stateFilter` | List\<[StateFilterEnum](../../models/shared/StateFilterEnum.md)> | :heavy_minus_sign: | Reflects the state of the Display, Product, and Brand Campaign streams as enabled, paused, or archived. If you do not populate this field, it will be ignored completely. | | \ No newline at end of file diff --git a/docs/models/shared/SourceAmazonSellerPartner.md b/docs/models/shared/SourceAmazonSellerPartner.md index e410fc4fb..b5ee78bc4 100644 --- a/docs/models/shared/SourceAmazonSellerPartner.md +++ b/docs/models/shared/SourceAmazonSellerPartner.md @@ -5,16 +5,16 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `accountType` | [Optional](../../models/shared/AWSSellerPartnerAccountType.md) | :heavy_minus_sign: | Type of the Account you're going to authorize the Airbyte application by | | -| `authType` | [Optional](../../models/shared/SourceAmazonSellerPartnerAuthType.md) | :heavy_minus_sign: | N/A | | -| `awsEnvironment` | [Optional](../../models/shared/AWSEnvironment.md) | :heavy_minus_sign: | Select the AWS Environment. | | +| `accountType` | [Optional\](../../models/shared/AWSSellerPartnerAccountType.md) | :heavy_minus_sign: | Type of the Account you're going to authorize the Airbyte application by | | +| `authType` | [Optional\](../../models/shared/SourceAmazonSellerPartnerAuthType.md) | :heavy_minus_sign: | N/A | | +| `awsEnvironment` | [Optional\](../../models/shared/AWSEnvironment.md) | :heavy_minus_sign: | Select the AWS Environment. | | | `lwaAppId` | *String* | :heavy_check_mark: | Your Login with Amazon Client ID. | | | `lwaClientSecret` | *String* | :heavy_check_mark: | Your Login with Amazon Client Secret. | | -| `periodInDays` | *Optional* | :heavy_minus_sign: | For syncs spanning a large date range, this option is used to request data in a smaller fixed window to improve sync reliability. This time window can be configured granularly by day. | | +| `periodInDays` | *Optional\* | :heavy_minus_sign: | For syncs spanning a large date range, this option is used to request data in a smaller fixed window to improve sync reliability. This time window can be configured granularly by day. | | | `refreshToken` | *String* | :heavy_check_mark: | The Refresh Token obtained via OAuth flow authorization. | | -| `region` | [Optional](../../models/shared/AWSRegion.md) | :heavy_minus_sign: | Select the AWS Region. | | +| `region` | [Optional\](../../models/shared/AWSRegion.md) | :heavy_minus_sign: | Select the AWS Region. | | | `replicationEndDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated. | 2017-01-25T00:00:00Z | | `replicationStartDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If start date is not provided or older than 2 years ago from today, the date 2 years ago from today will be used. | 2017-01-25T00:00:00Z | -| `reportOptionsList` | List<[com.airbyte.api.models.shared.ReportOptions](../../models/shared/ReportOptions.md)> | :heavy_minus_sign: | Additional information passed to reports. This varies by report type. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceAmazonSellerPartnerAmazonSellerPartner](../../models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.md) | :heavy_check_mark: | N/A | | -| `waitToAvoidFatalErrors` | *Optional* | :heavy_minus_sign: | For report based streams with known amount of requests per time period, this option will use waiting time between requests to avoid fatal statuses in reports. See Troubleshooting section for more details | | \ No newline at end of file +| `reportOptionsList` | List\<[ReportOptions](../../models/shared/ReportOptions.md)> | :heavy_minus_sign: | Additional information passed to reports. This varies by report type. | | +| `sourceType` | [SourceAmazonSellerPartnerAmazonSellerPartner](../../models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.md) | :heavy_check_mark: | N/A | | +| `waitToAvoidFatalErrors` | *Optional\* | :heavy_minus_sign: | For report based streams with known amount of requests per time period, this option will use waiting time between requests to avoid fatal statuses in reports. See Troubleshooting section for more details | | \ No newline at end of file diff --git a/docs/models/shared/SourceAmazonSqs.md b/docs/models/shared/SourceAmazonSqs.md index 65546e797..6dca02a0d 100644 --- a/docs/models/shared/SourceAmazonSqs.md +++ b/docs/models/shared/SourceAmazonSqs.md @@ -5,13 +5,13 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessKey` | *Optional* | :heavy_minus_sign: | The Access Key ID of the AWS IAM Role to use for pulling messages | xxxxxHRNxxx3TBxxxxxx | -| `attributesToReturn` | *Optional* | :heavy_minus_sign: | Comma separated list of Mesage Attribute names to return | attr1,attr2 | -| `deleteMessages` | *Optional* | :heavy_minus_sign: | If Enabled, messages will be deleted from the SQS Queue after being read. If Disabled, messages are left in the queue and can be read more than once. WARNING: Enabling this option can result in data loss in cases of failure, use with caution, see documentation for more detail. | | -| `maxBatchSize` | *Optional* | :heavy_minus_sign: | Max amount of messages to get in one batch (10 max) | 5 | -| `maxWaitTime` | *Optional* | :heavy_minus_sign: | Max amount of time in seconds to wait for messages in a single poll (20 max) | 5 | +| `accessKey` | *Optional\* | :heavy_minus_sign: | The Access Key ID of the AWS IAM Role to use for pulling messages | xxxxxHRNxxx3TBxxxxxx | +| `attributesToReturn` | *Optional\* | :heavy_minus_sign: | Comma separated list of Mesage Attribute names to return | attr1,attr2 | +| `deleteMessages` | *Optional\* | :heavy_minus_sign: | If Enabled, messages will be deleted from the SQS Queue after being read. If Disabled, messages are left in the queue and can be read more than once. WARNING: Enabling this option can result in data loss in cases of failure, use with caution, see documentation for more detail. | | +| `maxBatchSize` | *Optional\* | :heavy_minus_sign: | Max amount of messages to get in one batch (10 max) | 5 | +| `maxWaitTime` | *Optional\* | :heavy_minus_sign: | Max amount of time in seconds to wait for messages in a single poll (20 max) | 5 | | `queueUrl` | *String* | :heavy_check_mark: | URL of the SQS Queue | https://sqs.eu-west-1.amazonaws.com/1234567890/my-example-queue | -| `region` | [com.airbyte.api.models.shared.SourceAmazonSqsAWSRegion](../../models/shared/SourceAmazonSqsAWSRegion.md) | :heavy_check_mark: | AWS Region of the SQS Queue | | -| `secretKey` | *Optional* | :heavy_minus_sign: | The Secret Key of the AWS IAM Role to use for pulling messages | hu+qE5exxxxT6o/ZrKsxxxxxxBhxxXLexxxxxVKz | -| `sourceType` | [com.airbyte.api.models.shared.AmazonSqs](../../models/shared/AmazonSqs.md) | :heavy_check_mark: | N/A | | -| `visibilityTimeout` | *Optional* | :heavy_minus_sign: | Modify the Visibility Timeout of the individual message from the Queue's default (seconds). | 15 | \ No newline at end of file +| `region` | [SourceAmazonSqsAWSRegion](../../models/shared/SourceAmazonSqsAWSRegion.md) | :heavy_check_mark: | AWS Region of the SQS Queue | | +| `secretKey` | *Optional\* | :heavy_minus_sign: | The Secret Key of the AWS IAM Role to use for pulling messages | hu+qE5exxxxT6o/ZrKsxxxxxxBhxxXLexxxxxVKz | +| `sourceType` | [AmazonSqs](../../models/shared/AmazonSqs.md) | :heavy_check_mark: | N/A | | +| `visibilityTimeout` | *Optional\* | :heavy_minus_sign: | Modify the Visibility Timeout of the individual message from the Queue's default (seconds). | 15 | \ No newline at end of file diff --git a/docs/models/shared/SourceAmplitude.md b/docs/models/shared/SourceAmplitude.md index 0ef4a659e..c3d580068 100644 --- a/docs/models/shared/SourceAmplitude.md +++ b/docs/models/shared/SourceAmplitude.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | Amplitude API Key. See the setup guide for more information on how to obtain this key. | | -| `dataRegion` | [Optional](../../models/shared/DataRegion.md) | :heavy_minus_sign: | Amplitude data region server | | -| `requestTimeRange` | *Optional* | :heavy_minus_sign: | According to Considerations too big time range in request can cause a timeout error. In this case, set shorter time interval in hours. | | -| `secretKey` | *String* | :heavy_check_mark: | Amplitude Secret Key. See the setup guide for more information on how to obtain this key. | | -| `sourceType` | [com.airbyte.api.models.shared.Amplitude](../../models/shared/Amplitude.md) | :heavy_check_mark: | N/A | | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2021-01-25T00:00:00Z. Any data before this date will not be replicated. | 2021-01-25T00:00:00Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `activeUsersGroupByCountry` | *Optional\* | :heavy_minus_sign: | According to Considerations the grouping by `Country` is optional, if you're facing issues fetching the stream, or checking the connection please set this to `False` instead. | | +| `apiKey` | *String* | :heavy_check_mark: | Amplitude API Key. See the setup guide for more information on how to obtain this key. | | +| `dataRegion` | [Optional\](../../models/shared/DataRegion.md) | :heavy_minus_sign: | Amplitude data region server | | +| `requestTimeRange` | *Optional\* | :heavy_minus_sign: | According to Considerations too big time range in request can cause a timeout error. In this case, set shorter time interval in hours. | | +| `secretKey` | *String* | :heavy_check_mark: | Amplitude Secret Key. See the setup guide for more information on how to obtain this key. | | +| `sourceType` | [Amplitude](../../models/shared/Amplitude.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2021-01-25T00:00:00Z. Any data before this date will not be replicated. | 2021-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceApifyDataset.md b/docs/models/shared/SourceApifyDataset.md index ef46b0923..3777e4657 100644 --- a/docs/models/shared/SourceApifyDataset.md +++ b/docs/models/shared/SourceApifyDataset.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `datasetId` | *String* | :heavy_check_mark: | ID of the dataset you would like to load to Airbyte. In Apify Console, you can view your datasets in the Storage section under the Datasets tab after you login. See the Apify Docs for more information. | rHuMdwm6xCFt6WiGU | -| `sourceType` | [com.airbyte.api.models.shared.ApifyDataset](../../models/shared/ApifyDataset.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [ApifyDataset](../../models/shared/ApifyDataset.md) | :heavy_check_mark: | N/A | | | `token` | *String* | :heavy_check_mark: | Personal API token of your Apify account. In Apify Console, you can find your API token in the Settings section under the Integrations tab after you login. See the Apify Docs for more information. | apify_api_PbVwb1cBbuvbfg2jRmAIHZKgx3NQyfEMG7uk | \ No newline at end of file diff --git a/docs/models/shared/SourceAppcues.md b/docs/models/shared/SourceAppcues.md index cc6e5881b..fd5f92039 100644 --- a/docs/models/shared/SourceAppcues.md +++ b/docs/models/shared/SourceAppcues.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | | `accountId` | *String* | :heavy_check_mark: | Account ID of Appcues found in account settings page (https://studio.appcues.com/settings/account) | -| `password` | *Optional* | :heavy_minus_sign: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Appcues](../../models/shared/Appcues.md) | :heavy_check_mark: | N/A | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Appcues](../../models/shared/Appcues.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | | `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAppfigures.md b/docs/models/shared/SourceAppfigures.md index f8e0f3c94..60f83d162 100644 --- a/docs/models/shared/SourceAppfigures.md +++ b/docs/models/shared/SourceAppfigures.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | N/A | -| `groupBy` | [Optional](../../models/shared/GroupBy.md) | :heavy_minus_sign: | Category term for grouping the search results | -| `searchStore` | *Optional* | :heavy_minus_sign: | The store which needs to be searched in streams | -| `sourceType` | [com.airbyte.api.models.shared.Appfigures](../../models/shared/Appfigures.md) | :heavy_check_mark: | N/A | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `groupBy` | [Optional\](../../models/shared/GroupBy.md) | :heavy_minus_sign: | Category term for grouping the search results | +| `searchStore` | *Optional\* | :heavy_minus_sign: | The store which needs to be searched in streams | +| `sourceType` | [Appfigures](../../models/shared/Appfigures.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAppfollow.md b/docs/models/shared/SourceAppfollow.md index 886a394fc..7c2412503 100644 --- a/docs/models/shared/SourceAppfollow.md +++ b/docs/models/shared/SourceAppfollow.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `apiSecret` | *Optional* | :heavy_minus_sign: | API Key provided by Appfollow | -| `sourceType` | [com.airbyte.api.models.shared.Appfollow](../../models/shared/Appfollow.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `apiSecret` | *Optional\* | :heavy_minus_sign: | API Key provided by Appfollow | +| `sourceType` | [Appfollow](../../models/shared/Appfollow.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAppleSearchAds.md b/docs/models/shared/SourceAppleSearchAds.md new file mode 100644 index 000000000..c05efdbf9 --- /dev/null +++ b/docs/models/shared/SourceAppleSearchAds.md @@ -0,0 +1,13 @@ +# SourceAppleSearchAds + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | A user identifier for the token request. See here | | +| `clientSecret` | *String* | :heavy_check_mark: | A string that authenticates the user’s setup request. See here | | +| `endDate` | *Optional\* | :heavy_minus_sign: | Data is retrieved until that date (included) | 2021-01-01 | +| `orgId` | *long* | :heavy_check_mark: | The identifier of the organization that owns the campaign. Your Org Id is the same as your account in the Apple Search Ads UI. | | +| `sourceType` | [AppleSearchAds](../../models/shared/AppleSearchAds.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | Start getting data from that date. | 2020-01-01 | \ No newline at end of file diff --git a/docs/models/shared/SourceApptivo.md b/docs/models/shared/SourceApptivo.md new file mode 100644 index 000000000..4b7b96a62 --- /dev/null +++ b/docs/models/shared/SourceApptivo.md @@ -0,0 +1,10 @@ +# SourceApptivo + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `accessKey` | *String* | :heavy_check_mark: | N/A | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it in your Apptivo account under Business Settings -> API Access. | +| `sourceType` | [Apptivo](../../models/shared/Apptivo.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAsana.md b/docs/models/shared/SourceAsana.md index 8f0f5758d..69389b724 100644 --- a/docs/models/shared/SourceAsana.md +++ b/docs/models/shared/SourceAsana.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/AuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate to Github | -| `organizationExportIds` | List<*java.lang.Object*> | :heavy_minus_sign: | Globally unique identifiers for the organization exports | -| `sourceType` | [Optional](../../models/shared/SourceAsanaAsana.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/AuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate to Github | +| `organizationExportIds` | List\<*Object*> | :heavy_minus_sign: | Globally unique identifiers for the organization exports | +| `sourceType` | [Optional\](../../models/shared/SourceAsanaAsana.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceAshby.md b/docs/models/shared/SourceAshby.md new file mode 100644 index 000000000..a74432464 --- /dev/null +++ b/docs/models/shared/SourceAshby.md @@ -0,0 +1,10 @@ +# SourceAshby + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | The Ashby API Key, see doc here. | | +| `sourceType` | [Ashby](../../models/shared/Ashby.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceAuth0.md b/docs/models/shared/SourceAuth0.md index ac5205c0d..95381db0b 100644 --- a/docs/models/shared/SourceAuth0.md +++ b/docs/models/shared/SourceAuth0.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | | `baseUrl` | *String* | :heavy_check_mark: | The Authentication API is served over HTTPS. All URLs referenced in the documentation have the following base `https://YOUR_DOMAIN` | https://dev-yourOrg.us.auth0.com/ | -| `credentials` | [com.airbyte.api.models.shared.SourceAuth0AuthenticationMethod](../../models/shared/SourceAuth0AuthenticationMethod.md) | :heavy_check_mark: | N/A | | -| `sourceType` | [com.airbyte.api.models.shared.Auth0](../../models/shared/Auth0.md) | :heavy_check_mark: | N/A | | -| `startDate` | *Optional* | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2023-08-05T00:43:59.244Z | \ No newline at end of file +| `credentials` | [SourceAuth0AuthenticationMethod](../../models/shared/SourceAuth0AuthenticationMethod.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Auth0](../../models/shared/Auth0.md) | :heavy_check_mark: | N/A | | +| `startDate` | *Optional\* | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2023-08-05T00:43:59.244Z | \ No newline at end of file diff --git a/docs/models/shared/SourceAwsCloudtrail.md b/docs/models/shared/SourceAwsCloudtrail.md index 6d1572b48..912e426cf 100644 --- a/docs/models/shared/SourceAwsCloudtrail.md +++ b/docs/models/shared/SourceAwsCloudtrail.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `awsKeyId` | *String* | :heavy_check_mark: | AWS CloudTrail Access Key ID. See the docs for more information on how to obtain this key. | | -| `awsRegionName` | *Optional* | :heavy_minus_sign: | The default AWS Region to use, for example, us-west-1 or us-west-2. When specifying a Region inline during client initialization, this property is named region_name. | | -| `awsSecretKey` | *String* | :heavy_check_mark: | AWS CloudTrail Access Key ID. See the docs for more information on how to obtain this key. | | -| `lookupAttributesFilter` | [Optional](../../models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.md) | :heavy_minus_sign: | N/A | | -| `sourceType` | [com.airbyte.api.models.shared.AwsCloudtrail](../../models/shared/AwsCloudtrail.md) | :heavy_check_mark: | N/A | | -| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date you would like to replicate data. Data in AWS CloudTrail is available for last 90 days only. Format: YYYY-MM-DD. | 2021-01-01 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `awsKeyId` | *String* | :heavy_check_mark: | AWS CloudTrail Access Key ID. See the docs for more information on how to obtain this key. | | +| `awsRegionName` | *Optional\* | :heavy_minus_sign: | The default AWS Region to use, for example, us-west-1 or us-west-2. When specifying a Region inline during client initialization, this property is named region_name. | | +| `awsSecretKey` | *String* | :heavy_check_mark: | AWS CloudTrail Access Key ID. See the docs for more information on how to obtain this key. | | +| `lookupAttributesFilter` | [Optional\](../../models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.md) | :heavy_minus_sign: | N/A | | +| `sourceType` | [AwsCloudtrail](../../models/shared/AwsCloudtrail.md) | :heavy_check_mark: | N/A | | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date you would like to replicate data. Data in AWS CloudTrail is available for last 90 days only. Format: YYYY-MM-DD. | 2021-01-01 | \ No newline at end of file diff --git a/docs/models/shared/SourceAzureBlobStorage.md b/docs/models/shared/SourceAzureBlobStorage.md index 358df87b5..c89dfae8a 100644 --- a/docs/models/shared/SourceAzureBlobStorage.md +++ b/docs/models/shared/SourceAzureBlobStorage.md @@ -10,8 +10,8 @@ because it is responsible for converting legacy Azure Blob Storage v0 configs in | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `azureBlobStorageAccountName` | *String* | :heavy_check_mark: | The account's name of the Azure Blob Storage. | airbyte5storage | | `azureBlobStorageContainerName` | *String* | :heavy_check_mark: | The name of the Azure blob storage container. | airbytetescontainername | -| `azureBlobStorageEndpoint` | *Optional* | :heavy_minus_sign: | This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. | blob.core.windows.net | -| `credentials` | [com.airbyte.api.models.shared.SourceAzureBlobStorageAuthentication](../../models/shared/SourceAzureBlobStorageAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the Azure Blob Storage | | -| `sourceType` | [com.airbyte.api.models.shared.SourceAzureBlobStorageAzureBlobStorage](../../models/shared/SourceAzureBlobStorageAzureBlobStorage.md) | :heavy_check_mark: | N/A | | +| `azureBlobStorageEndpoint` | *Optional\* | :heavy_minus_sign: | This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. | blob.core.windows.net | +| `credentials` | [SourceAzureBlobStorageAuthentication](../../models/shared/SourceAzureBlobStorageAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the Azure Blob Storage | | +| `sourceType` | [SourceAzureBlobStorageAzureBlobStorage](../../models/shared/SourceAzureBlobStorageAzureBlobStorage.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. | 2021-01-01T00:00:00.000000Z | -| `streams` | List<[com.airbyte.api.models.shared.FileBasedStreamConfig](../../models/shared/FileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file +| `streams` | List\<[FileBasedStreamConfig](../../models/shared/FileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file diff --git a/docs/models/shared/SourceAzureTable.md b/docs/models/shared/SourceAzureTable.md index b167c057f..2d231d2ae 100644 --- a/docs/models/shared/SourceAzureTable.md +++ b/docs/models/shared/SourceAzureTable.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `sourceType` | [com.airbyte.api.models.shared.AzureTable](../../models/shared/AzureTable.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [AzureTable](../../models/shared/AzureTable.md) | :heavy_check_mark: | N/A | | | `storageAccessKey` | *String* | :heavy_check_mark: | Azure Table Storage Access Key. See the docs for more information on how to obtain this key. | | | `storageAccountName` | *String* | :heavy_check_mark: | The name of your storage account. | | -| `storageEndpointSuffix` | *Optional* | :heavy_minus_sign: | Azure Table Storage service account URL suffix. See the docs for more information on how to obtain endpoint suffix | core.windows.net | \ No newline at end of file +| `storageEndpointSuffix` | *Optional\* | :heavy_minus_sign: | Azure Table Storage service account URL suffix. See the docs for more information on how to obtain endpoint suffix | core.windows.net | \ No newline at end of file diff --git a/docs/models/shared/SourceBambooHr.md b/docs/models/shared/SourceBambooHr.md index 6d503e934..52779dced 100644 --- a/docs/models/shared/SourceBambooHr.md +++ b/docs/models/shared/SourceBambooHr.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Api key of bamboo hr | -| `customReportsFields` | *Optional* | :heavy_minus_sign: | Comma-separated list of fields to include in custom reports. | -| `customReportsIncludeDefaultFields` | *Optional* | :heavy_minus_sign: | If true, the custom reports endpoint will include the default fields defined here: https://documentation.bamboohr.com/docs/list-of-field-names. | -| `sourceType` | [com.airbyte.api.models.shared.BambooHr](../../models/shared/BambooHr.md) | :heavy_check_mark: | N/A | +| `customReportsFields` | *Optional\* | :heavy_minus_sign: | Comma-separated list of fields to include in custom reports. | +| `customReportsIncludeDefaultFields` | *Optional\* | :heavy_minus_sign: | If true, the custom reports endpoint will include the default fields defined here: https://documentation.bamboohr.com/docs/list-of-field-names. | +| `sourceType` | [BambooHr](../../models/shared/BambooHr.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | N/A | | `subdomain` | *String* | :heavy_check_mark: | Sub Domain of bamboo hr | \ No newline at end of file diff --git a/docs/models/shared/SourceBasecamp.md b/docs/models/shared/SourceBasecamp.md index 7d0530fb2..f54e06fa6 100644 --- a/docs/models/shared/SourceBasecamp.md +++ b/docs/models/shared/SourceBasecamp.md @@ -9,5 +9,5 @@ | `clientId` | *String* | :heavy_check_mark: | N/A | | `clientRefreshToken2` | *String* | :heavy_check_mark: | N/A | | `clientSecret` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Basecamp](../../models/shared/Basecamp.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Basecamp](../../models/shared/Basecamp.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBeamer.md b/docs/models/shared/SourceBeamer.md new file mode 100644 index 000000000..47417fd63 --- /dev/null +++ b/docs/models/shared/SourceBeamer.md @@ -0,0 +1,10 @@ +# SourceBeamer + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Beamer](../../models/shared/Beamer.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBigmailer.md b/docs/models/shared/SourceBigmailer.md new file mode 100644 index 000000000..851b177cd --- /dev/null +++ b/docs/models/shared/SourceBigmailer.md @@ -0,0 +1,9 @@ +# SourceBigmailer + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. You can create and find it on the API key management page in your BigMailer account. | +| `sourceType` | [Bigmailer](../../models/shared/Bigmailer.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBigquery.md b/docs/models/shared/SourceBigquery.md index d4b7ab29b..6248004ec 100644 --- a/docs/models/shared/SourceBigquery.md +++ b/docs/models/shared/SourceBigquery.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `credentialsJson` | *String* | :heavy_check_mark: | The contents of your Service Account Key JSON file. See the docs for more information on how to obtain this key. | -| `datasetId` | *Optional* | :heavy_minus_sign: | The dataset ID to search for tables and views. If you are only loading data from one dataset, setting this option could result in much faster schema discovery. | +| `datasetId` | *Optional\* | :heavy_minus_sign: | The dataset ID to search for tables and views. If you are only loading data from one dataset, setting this option could result in much faster schema discovery. | | `projectId` | *String* | :heavy_check_mark: | The GCP project ID for the project containing the target BigQuery dataset. | -| `sourceType` | [com.airbyte.api.models.shared.SourceBigqueryBigquery](../../models/shared/SourceBigqueryBigquery.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [SourceBigqueryBigquery](../../models/shared/SourceBigqueryBigquery.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBingAds.md b/docs/models/shared/SourceBingAds.md index 94f7980fb..5853fa41e 100644 --- a/docs/models/shared/SourceBingAds.md +++ b/docs/models/shared/SourceBingAds.md @@ -5,14 +5,14 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accountNames` | List<[com.airbyte.api.models.shared.AccountNames](../../models/shared/AccountNames.md)> | :heavy_minus_sign: | Predicates that will be used to sync data by specific accounts. | -| `authMethod` | [Optional](../../models/shared/AuthMethod.md) | :heavy_minus_sign: | N/A | +| `accountNames` | List\<[AccountNames](../../models/shared/AccountNames.md)> | :heavy_minus_sign: | Predicates that will be used to sync data by specific accounts. | +| `authMethod` | [Optional\](../../models/shared/AuthMethod.md) | :heavy_minus_sign: | N/A | | `clientId` | *String* | :heavy_check_mark: | The Client ID of your Microsoft Advertising developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your Microsoft Advertising developer application. | -| `customReports` | List<[com.airbyte.api.models.shared.CustomReportConfig](../../models/shared/CustomReportConfig.md)> | :heavy_minus_sign: | You can add your Custom Bing Ads report by creating one. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your Microsoft Advertising developer application. | +| `customReports` | List\<[CustomReportConfig](../../models/shared/CustomReportConfig.md)> | :heavy_minus_sign: | You can add your Custom Bing Ads report by creating one. | | `developerToken` | *String* | :heavy_check_mark: | Developer token associated with user. See more info in the docs. | -| `lookbackWindow` | *Optional* | :heavy_minus_sign: | Also known as attribution or conversion window. How far into the past to look for records (in days). If your conversion window has an hours/minutes granularity, round it up to the number of days exceeding. Used only for performance report streams in incremental mode without specified Reports Start Date. | +| `lookbackWindow` | *Optional\* | :heavy_minus_sign: | Also known as attribution or conversion window. How far into the past to look for records (in days). If your conversion window has an hours/minutes granularity, round it up to the number of days exceeding. Used only for performance report streams in incremental mode without specified Reports Start Date. | | `refreshToken` | *String* | :heavy_check_mark: | Refresh Token to renew the expired Access Token. | | `reportsStartDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The start date from which to begin replicating report data. Any data generated before this date will not be replicated in reports. This is a UTC date in YYYY-MM-DD format. If not set, data from previous and current calendar year will be replicated. | -| `sourceType` | [com.airbyte.api.models.shared.SourceBingAdsBingAds](../../models/shared/SourceBingAdsBingAds.md) | :heavy_check_mark: | N/A | -| `tenantId` | *Optional* | :heavy_minus_sign: | The Tenant ID of your Microsoft Advertising developer application. Set this to "common" unless you know you need a different value. | \ No newline at end of file +| `sourceType` | [SourceBingAdsBingAds](../../models/shared/SourceBingAdsBingAds.md) | :heavy_check_mark: | N/A | +| `tenantId` | *Optional\* | :heavy_minus_sign: | The Tenant ID of your Microsoft Advertising developer application. Set this to "common" unless you know you need a different value. | \ No newline at end of file diff --git a/docs/models/shared/SourceBitly.md b/docs/models/shared/SourceBitly.md index b6dc2b348..1a2ec4749 100644 --- a/docs/models/shared/SourceBitly.md +++ b/docs/models/shared/SourceBitly.md @@ -7,5 +7,5 @@ | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | | `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Bitly](../../models/shared/Bitly.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Bitly](../../models/shared/Bitly.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBlogger.md b/docs/models/shared/SourceBlogger.md new file mode 100644 index 000000000..d68c2fdcf --- /dev/null +++ b/docs/models/shared/SourceBlogger.md @@ -0,0 +1,11 @@ +# SourceBlogger + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Blogger](../../models/shared/Blogger.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBox.md b/docs/models/shared/SourceBox.md new file mode 100644 index 000000000..f5b82d223 --- /dev/null +++ b/docs/models/shared/SourceBox.md @@ -0,0 +1,11 @@ +# SourceBox + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Box](../../models/shared/Box.md) | :heavy_check_mark: | N/A | +| `user` | *double* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBraintree.md b/docs/models/shared/SourceBraintree.md index 7b182188e..7dee98830 100644 --- a/docs/models/shared/SourceBraintree.md +++ b/docs/models/shared/SourceBraintree.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `environment` | [com.airbyte.api.models.shared.SourceBraintreeEnvironment](../../models/shared/SourceBraintreeEnvironment.md) | :heavy_check_mark: | Environment specifies where the data will come from. | sandbox | +| `environment` | [SourceBraintreeEnvironment](../../models/shared/SourceBraintreeEnvironment.md) | :heavy_check_mark: | Environment specifies where the data will come from. | sandbox | | `merchantId` | *String* | :heavy_check_mark: | The unique identifier for your entire gateway account. See the docs for more information on how to obtain this ID. | | | `privateKey` | *String* | :heavy_check_mark: | Braintree Private Key. See the docs for more information on how to obtain this key. | | | `publicKey` | *String* | :heavy_check_mark: | Braintree Public Key. See the docs for more information on how to obtain this key. | | -| `sourceType` | [com.airbyte.api.models.shared.Braintree](../../models/shared/Braintree.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Braintree](../../models/shared/Braintree.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2020 | \ No newline at end of file diff --git a/docs/models/shared/SourceBraze.md b/docs/models/shared/SourceBraze.md index 1895cefa0..3c93e6848 100644 --- a/docs/models/shared/SourceBraze.md +++ b/docs/models/shared/SourceBraze.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Braze REST API key | -| `sourceType` | [com.airbyte.api.models.shared.Braze](../../models/shared/Braze.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Braze](../../models/shared/Braze.md) | :heavy_check_mark: | N/A | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | Rows after this date will be synced | | `url` | *String* | :heavy_check_mark: | Braze REST API endpoint | \ No newline at end of file diff --git a/docs/models/shared/SourceBreezyHr.md b/docs/models/shared/SourceBreezyHr.md index 29a100a86..9c178b7da 100644 --- a/docs/models/shared/SourceBreezyHr.md +++ b/docs/models/shared/SourceBreezyHr.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | N/A | -| `companyId` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.BreezyHr](../../models/shared/BreezyHr.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `companyId` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [BreezyHr](../../models/shared/BreezyHr.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBrevo.md b/docs/models/shared/SourceBrevo.md index 88bfd8dc0..112cd7aa4 100644 --- a/docs/models/shared/SourceBrevo.md +++ b/docs/models/shared/SourceBrevo.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Brevo](../../models/shared/Brevo.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Brevo](../../models/shared/Brevo.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBrex.md b/docs/models/shared/SourceBrex.md new file mode 100644 index 000000000..a85e7740b --- /dev/null +++ b/docs/models/shared/SourceBrex.md @@ -0,0 +1,10 @@ +# SourceBrex + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `sourceType` | [Brex](../../models/shared/Brex.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `userToken` | *String* | :heavy_check_mark: | User token to authenticate API requests. Generate it from your Brex dashboard under Developer > Settings. | \ No newline at end of file diff --git a/docs/models/shared/SourceBugsnag.md b/docs/models/shared/SourceBugsnag.md new file mode 100644 index 000000000..1708291f0 --- /dev/null +++ b/docs/models/shared/SourceBugsnag.md @@ -0,0 +1,10 @@ +# SourceBugsnag + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `authToken` | *String* | :heavy_check_mark: | Personal auth token for accessing the Bugsnag API. Generate it in the My Account section of Bugsnag settings. | +| `sourceType` | [Bugsnag](../../models/shared/Bugsnag.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBuildkite.md b/docs/models/shared/SourceBuildkite.md index 6cac8882a..cd541b715 100644 --- a/docs/models/shared/SourceBuildkite.md +++ b/docs/models/shared/SourceBuildkite.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Buildkite](../../models/shared/Buildkite.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Buildkite](../../models/shared/Buildkite.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceBunnyInc.md b/docs/models/shared/SourceBunnyInc.md new file mode 100644 index 000000000..980228e2f --- /dev/null +++ b/docs/models/shared/SourceBunnyInc.md @@ -0,0 +1,11 @@ +# SourceBunnyInc + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apikey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [BunnyInc](../../models/shared/BunnyInc.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | N/A | +| `subdomain` | *String* | :heavy_check_mark: | The subdomain specific to your Bunny account or service. | \ No newline at end of file diff --git a/docs/models/shared/SourceBuzzsprout.md b/docs/models/shared/SourceBuzzsprout.md index 615f0748d..63c8dd876 100644 --- a/docs/models/shared/SourceBuzzsprout.md +++ b/docs/models/shared/SourceBuzzsprout.md @@ -7,5 +7,5 @@ | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | | `podcastId` | *String* | :heavy_check_mark: | Podcast ID found in `https://www.buzzsprout.com/my/profile/api` | -| `sourceType` | [com.airbyte.api.models.shared.Buzzsprout](../../models/shared/Buzzsprout.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Buzzsprout](../../models/shared/Buzzsprout.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCalCom.md b/docs/models/shared/SourceCalCom.md new file mode 100644 index 000000000..2c717cc4c --- /dev/null +++ b/docs/models/shared/SourceCalCom.md @@ -0,0 +1,10 @@ +# SourceCalCom + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://cal.com/account | +| `orgId` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [CalCom](../../models/shared/CalCom.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCalendly.md b/docs/models/shared/SourceCalendly.md index f5e4e2a22..8c21b46b7 100644 --- a/docs/models/shared/SourceCalendly.md +++ b/docs/models/shared/SourceCalendly.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Go to Integrations → API & Webhooks to obtain your bearer token. https://calendly.com/integrations/api_webhooks | -| `sourceType` | [com.airbyte.api.models.shared.Calendly](../../models/shared/Calendly.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Calendly](../../models/shared/Calendly.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCallrail.md b/docs/models/shared/SourceCallrail.md new file mode 100644 index 000000000..0efebec3d --- /dev/null +++ b/docs/models/shared/SourceCallrail.md @@ -0,0 +1,11 @@ +# SourceCallrail + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `accountId` | *String* | :heavy_check_mark: | Account ID | | +| `apiKey` | *String* | :heavy_check_mark: | API access key | | +| `sourceType` | [Callrail](../../models/shared/Callrail.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | Start getting data from that date. | %Y-%m-%d | \ No newline at end of file diff --git a/docs/models/shared/SourceCampaignMonitor.md b/docs/models/shared/SourceCampaignMonitor.md new file mode 100644 index 000000000..4b3a776dd --- /dev/null +++ b/docs/models/shared/SourceCampaignMonitor.md @@ -0,0 +1,11 @@ +# SourceCampaignMonitor + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [CampaignMonitor](../../models/shared/CampaignMonitor.md) | :heavy_check_mark: | N/A | +| `startDate` | *Optional\* | :heavy_minus_sign: | Date from when the sync should start | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCampayn.md b/docs/models/shared/SourceCampayn.md new file mode 100644 index 000000000..54771a8c2 --- /dev/null +++ b/docs/models/shared/SourceCampayn.md @@ -0,0 +1,10 @@ +# SourceCampayn + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it in your Campayn account settings. Keep it secure as it grants access to your Campayn data. | +| `sourceType` | [Campayn](../../models/shared/Campayn.md) | :heavy_check_mark: | N/A | +| `subDomain` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCanny.md b/docs/models/shared/SourceCanny.md index 9567a3679..4771c7855 100644 --- a/docs/models/shared/SourceCanny.md +++ b/docs/models/shared/SourceCanny.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | You can find your secret API key in Your Canny Subdomain > Settings > API | -| `sourceType` | [com.airbyte.api.models.shared.Canny](../../models/shared/Canny.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Canny](../../models/shared/Canny.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCapsuleCrm.md b/docs/models/shared/SourceCapsuleCrm.md new file mode 100644 index 000000000..27a2c3174 --- /dev/null +++ b/docs/models/shared/SourceCapsuleCrm.md @@ -0,0 +1,11 @@ +# SourceCapsuleCrm + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `bearerToken` | *String* | :heavy_check_mark: | Bearer token to authenticate API requests. Generate it from the 'My Preferences' > 'API Authentication Tokens' page in your Capsule account. | +| `entity` | [Entity](../../models/shared/Entity.md) | :heavy_check_mark: | N/A | +| `sourceType` | [CapsuleCrm](../../models/shared/CapsuleCrm.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCareQualityCommission.md b/docs/models/shared/SourceCareQualityCommission.md new file mode 100644 index 000000000..8ae30ef2a --- /dev/null +++ b/docs/models/shared/SourceCareQualityCommission.md @@ -0,0 +1,9 @@ +# SourceCareQualityCommission + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Your CQC Primary Key. See https://www.cqc.org.uk/about-us/transparency/using-cqc-data#api for steps to generate one. | +| `sourceType` | [CareQualityCommission](../../models/shared/CareQualityCommission.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCart.md b/docs/models/shared/SourceCart.md index 506006a14..6334d54a1 100644 --- a/docs/models/shared/SourceCart.md +++ b/docs/models/shared/SourceCart.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceCartAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | -| `sourceType` | [com.airbyte.api.models.shared.Cart](../../models/shared/Cart.md) | :heavy_check_mark: | N/A | | -| `startDate` | *String* | :heavy_check_mark: | The date from which you'd like to replicate the data | 2021-01-01T00:00:00Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/SourceCartAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | +| `sourceType` | [Cart](../../models/shared/Cart.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | The date from which you'd like to replicate the data | 2021-01-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceCastorEdc.md b/docs/models/shared/SourceCastorEdc.md new file mode 100644 index 000000000..5bcb4a05b --- /dev/null +++ b/docs/models/shared/SourceCastorEdc.md @@ -0,0 +1,12 @@ +# SourceCastorEdc + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | Visit `https://YOUR_REGION.castoredc.com/account/settings` | +| `clientSecret` | *String* | :heavy_check_mark: | Visit `https://YOUR_REGION.castoredc.com/account/settings` | +| `sourceType` | [CastorEdc](../../models/shared/CastorEdc.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `urlRegion` | [Optional\](../../models/shared/URLRegion.md) | :heavy_minus_sign: | The url region given at time of registration | \ No newline at end of file diff --git a/docs/models/shared/SourceChameleon.md b/docs/models/shared/SourceChameleon.md index d19e407ef..30d21d28f 100644 --- a/docs/models/shared/SourceChameleon.md +++ b/docs/models/shared/SourceChameleon.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | -| `filter` | [Optional](../../models/shared/Filter.md) | :heavy_minus_sign: | Filter for using in the `segments_experiences` stream | -| `limit` | *Optional* | :heavy_minus_sign: | Max records per page limit | -| `sourceType` | [com.airbyte.api.models.shared.Chameleon](../../models/shared/Chameleon.md) | :heavy_check_mark: | N/A | +| `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | End date for incremental sync | +| `filter` | [Optional\](../../models/shared/Filter.md) | :heavy_minus_sign: | Filter for using in the `segments_experiences` stream | +| `limit` | *Optional\* | :heavy_minus_sign: | Max records per page limit | +| `sourceType` | [Chameleon](../../models/shared/Chameleon.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceChargebee.md b/docs/models/shared/SourceChargebee.md index 75f4c1b82..75b9bb645 100644 --- a/docs/models/shared/SourceChargebee.md +++ b/docs/models/shared/SourceChargebee.md @@ -3,10 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `productCatalog` | [Optional](../../models/shared/ProductCatalog.md) | :heavy_minus_sign: | Product Catalog version of your Chargebee site. Instructions on how to find your version you may find here under `API Version` section. If left blank, the product catalog version will be set to 2.0. | | -| `site` | *String* | :heavy_check_mark: | The site prefix for your Chargebee instance. | airbyte-test | -| `siteApiKey` | *String* | :heavy_check_mark: | Chargebee API Key. See the docs for more information on how to obtain this key. | | -| `sourceType` | [com.airbyte.api.models.shared.Chargebee](../../models/shared/Chargebee.md) | :heavy_check_mark: | N/A | | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00.000Z. Any data before this date will not be replicated. | 2021-01-25T00:00:00Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `numWorkers` | *Optional\* | :heavy_minus_sign: | The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API docs. | 1 | +| `productCatalog` | [Optional\](../../models/shared/ProductCatalog.md) | :heavy_minus_sign: | Product Catalog version of your Chargebee site. Instructions on how to find your version you may find here under `API Version` section. If left blank, the product catalog version will be set to 2.0. | | +| `site` | *String* | :heavy_check_mark: | The site prefix for your Chargebee instance. | airbyte-test | +| `siteApiKey` | *String* | :heavy_check_mark: | Chargebee API Key. See the docs for more information on how to obtain this key. | | +| `sourceType` | [Chargebee](../../models/shared/Chargebee.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00.000Z. Any data before this date will not be replicated. | 2021-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceChargedesk.md b/docs/models/shared/SourceChargedesk.md new file mode 100644 index 000000000..47cc488f8 --- /dev/null +++ b/docs/models/shared/SourceChargedesk.md @@ -0,0 +1,11 @@ +# SourceChargedesk + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Chargedesk](../../models/shared/Chargedesk.md) | :heavy_check_mark: | N/A | +| `startDate` | *Optional\* | :heavy_minus_sign: | Date from when the sync should start in epoch Unix timestamp | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceChargify.md b/docs/models/shared/SourceChargify.md new file mode 100644 index 000000000..3e8f99cbc --- /dev/null +++ b/docs/models/shared/SourceChargify.md @@ -0,0 +1,12 @@ +# SourceChargify + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | Maxio Advanced Billing/Chargify API Key. | +| `domain` | *String* | :heavy_check_mark: | Chargify domain. Normally this domain follows the following format | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Chargify](../../models/shared/Chargify.md) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceChartmogul.md b/docs/models/shared/SourceChartmogul.md index 171e5dcda..e004cf28b 100644 --- a/docs/models/shared/SourceChartmogul.md +++ b/docs/models/shared/SourceChartmogul.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Your Chartmogul API key. See the docs for info on how to obtain this. | | -| `sourceType` | [com.airbyte.api.models.shared.Chartmogul](../../models/shared/Chartmogul.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Chartmogul](../../models/shared/Chartmogul.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. When feasible, any data before this date will not be replicated. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceCimis.md b/docs/models/shared/SourceCimis.md index 5d61a3990..b37449ade 100644 --- a/docs/models/shared/SourceCimis.md +++ b/docs/models/shared/SourceCimis.md @@ -3,14 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | N/A | -| `dailyDataItems` | List<*java.lang.Object*> | :heavy_minus_sign: | N/A | -| `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | -| `hourlyDataItems` | List<*java.lang.Object*> | :heavy_minus_sign: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Cimis](../../models/shared/Cimis.md) | :heavy_check_mark: | N/A | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | -| `targets` | List<*java.lang.Object*> | :heavy_check_mark: | N/A | -| `targetsType` | [com.airbyte.api.models.shared.TargetsType](../../models/shared/TargetsType.md) | :heavy_check_mark: | N/A | -| `unitOfMeasure` | [Optional](../../models/shared/UnitOfMeasure.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `dailyDataItems` | List\<*Object*> | :heavy_minus_sign: | N/A | +| `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `hourlyDataItems` | List\<*Object*> | :heavy_minus_sign: | N/A | +| `sourceType` | [Cimis](../../models/shared/Cimis.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `targets` | List\<*Object*> | :heavy_check_mark: | N/A | +| `targetsType` | [TargetsType](../../models/shared/TargetsType.md) | :heavy_check_mark: | N/A | +| `unitOfMeasure` | [Optional\](../../models/shared/UnitOfMeasure.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCin7.md b/docs/models/shared/SourceCin7.md new file mode 100644 index 000000000..4a6f79ce4 --- /dev/null +++ b/docs/models/shared/SourceCin7.md @@ -0,0 +1,10 @@ +# SourceCin7 + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `accountid` | *String* | :heavy_check_mark: | The ID associated with your account. | +| `apiKey` | *String* | :heavy_check_mark: | The API key associated with your account. | +| `sourceType` | [Cin7](../../models/shared/Cin7.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCirca.md b/docs/models/shared/SourceCirca.md new file mode 100644 index 000000000..56de60ad2 --- /dev/null +++ b/docs/models/shared/SourceCirca.md @@ -0,0 +1,10 @@ +# SourceCirca + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://app.circa.co/settings/integrations/api | +| `sourceType` | [Circa](../../models/shared/Circa.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCircleci.md b/docs/models/shared/SourceCircleci.md new file mode 100644 index 000000000..3672a0d0c --- /dev/null +++ b/docs/models/shared/SourceCircleci.md @@ -0,0 +1,16 @@ +# SourceCircleci + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `jobId` | *Optional\* | :heavy_minus_sign: | Job ID for fetching information | +| `jobNumber` | *Optional\* | :heavy_minus_sign: | Job Number of the workflow | +| `orgId` | *String* | :heavy_check_mark: | The org ID found in `https://app.circleci.com/settings/organization/circleci/xxxxx/overview` | +| `projectId` | *String* | :heavy_check_mark: | Project ID found in the project settings | +| `sourceType` | [Circleci](../../models/shared/Circleci.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `workflowId` | *Optional\* | :heavy_minus_sign: | workflow ID of a project pipeline | +| `workflowName` | *Optional\* | :heavy_minus_sign: | Workflow name for fetching information | \ No newline at end of file diff --git a/docs/models/shared/SourceClarifAi.md b/docs/models/shared/SourceClarifAi.md new file mode 100644 index 000000000..669b56c06 --- /dev/null +++ b/docs/models/shared/SourceClarifAi.md @@ -0,0 +1,11 @@ +# SourceClarifAi + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [ClarifAi](../../models/shared/ClarifAi.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `userId` | *String* | :heavy_check_mark: | User ID found in settings | \ No newline at end of file diff --git a/docs/models/shared/SourceClazar.md b/docs/models/shared/SourceClazar.md index 25d2109c6..4483a1f53 100644 --- a/docs/models/shared/SourceClazar.md +++ b/docs/models/shared/SourceClazar.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `clientId` | *String* | :heavy_check_mark: | N/A | -| `clientSecret` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Clazar](../../models/shared/Clazar.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Clazar](../../models/shared/Clazar.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceClickhouse.md b/docs/models/shared/SourceClickhouse.md index 980266107..221c1b91f 100644 --- a/docs/models/shared/SourceClickhouse.md +++ b/docs/models/shared/SourceClickhouse.md @@ -7,10 +7,10 @@ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `database` | *String* | :heavy_check_mark: | The name of the database. | default | | `host` | *String* | :heavy_check_mark: | The host endpoint of the Clickhouse cluster. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about JDBC URL parameters. | | -| `password` | *Optional* | :heavy_minus_sign: | The password associated with this username. | | -| `port` | *Optional* | :heavy_minus_sign: | The port of the database. | 8123 | -| `sourceType` | [com.airbyte.api.models.shared.SourceClickhouseClickhouse](../../models/shared/SourceClickhouseClickhouse.md) | :heavy_check_mark: | N/A | | -| `ssl` | *Optional* | :heavy_minus_sign: | Encrypt data using SSL. | | -| `tunnelMethod` | [Optional](../../models/shared/SourceClickhouseSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about JDBC URL parameters. | | +| `password` | *Optional\* | :heavy_minus_sign: | The password associated with this username. | | +| `port` | *Optional\* | :heavy_minus_sign: | The port of the database. | 8123 | +| `sourceType` | [SourceClickhouseClickhouse](../../models/shared/SourceClickhouseClickhouse.md) | :heavy_check_mark: | N/A | | +| `ssl` | *Optional\* | :heavy_minus_sign: | Encrypt data using SSL. | | +| `tunnelMethod` | [Optional\](../../models/shared/SourceClickhouseSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | The username which is used to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/SourceClickhouseNoTunnel.md b/docs/models/shared/SourceClickhouseNoTunnel.md index ffceff7e4..98c32a2c0 100644 --- a/docs/models/shared/SourceClickhouseNoTunnel.md +++ b/docs/models/shared/SourceClickhouseNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceClickhouseTunnelMethod](../../models/shared/SourceClickhouseTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `tunnelMethod` | [SourceClickhouseTunnelMethod](../../models/shared/SourceClickhouseTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/SourceClickhousePasswordAuthentication.md b/docs/models/shared/SourceClickhousePasswordAuthentication.md index c152c20da..512c3cd86 100644 --- a/docs/models/shared/SourceClickhousePasswordAuthentication.md +++ b/docs/models/shared/SourceClickhousePasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceClickhouseSchemasTunnelMethodTunnelMethod](../../models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourceClickhouseSchemasTunnelMethodTunnelMethod](../../models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/SourceClickhouseSSHKeyAuthentication.md b/docs/models/shared/SourceClickhouseSSHKeyAuthentication.md index 3b4a19b15..4ed87ef59 100644 --- a/docs/models/shared/SourceClickhouseSSHKeyAuthentication.md +++ b/docs/models/shared/SourceClickhouseSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceClickhouseSchemasTunnelMethod](../../models/shared/SourceClickhouseSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourceClickhouseSchemasTunnelMethod](../../models/shared/SourceClickhouseSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/SourceClickupApi.md b/docs/models/shared/SourceClickupApi.md index ceb4cb3cb..6ba5a8fd8 100644 --- a/docs/models/shared/SourceClickupApi.md +++ b/docs/models/shared/SourceClickupApi.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiToken` | *String* | :heavy_check_mark: | Every ClickUp API call required authentication. This field is your personal API token. See here. | -| `includeClosedTasks` | *Optional* | :heavy_minus_sign: | Include or exclude closed tasks. By default, they are excluded. See here. | -| `sourceType` | [com.airbyte.api.models.shared.ClickupApi](../../models/shared/ClickupApi.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `includeClosedTasks` | *Optional\* | :heavy_minus_sign: | Include or exclude closed tasks. By default, they are excluded. See here. | +| `sourceType` | [ClickupApi](../../models/shared/ClickupApi.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceClockify.md b/docs/models/shared/SourceClockify.md index c9105574b..0d6804431 100644 --- a/docs/models/shared/SourceClockify.md +++ b/docs/models/shared/SourceClockify.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | You can get your api access_key here This API is Case Sensitive. | -| `apiUrl` | *Optional* | :heavy_minus_sign: | The URL for the Clockify API. This should only need to be modified if connecting to an enterprise version of Clockify. | -| `sourceType` | [com.airbyte.api.models.shared.Clockify](../../models/shared/Clockify.md) | :heavy_check_mark: | N/A | +| `apiUrl` | *Optional\* | :heavy_minus_sign: | The URL for the Clockify API. This should only need to be modified if connecting to an enterprise version of Clockify. | +| `sourceType` | [Clockify](../../models/shared/Clockify.md) | :heavy_check_mark: | N/A | | `workspaceId` | *String* | :heavy_check_mark: | WorkSpace Id | \ No newline at end of file diff --git a/docs/models/shared/SourceClockodo.md b/docs/models/shared/SourceClockodo.md new file mode 100644 index 000000000..79fc38da8 --- /dev/null +++ b/docs/models/shared/SourceClockodo.md @@ -0,0 +1,13 @@ +# SourceClockodo + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it in the 'Personal data' section of your Clockodo account. | +| `emailAddress` | *String* | :heavy_check_mark: | Your Clockodo account email address. Find it in your Clockodo account settings. | +| `externalApplication` | *Optional\* | :heavy_minus_sign: | Identification of the calling application, including the email address of a technical contact person. Format: [name of application or company];[email address]. | +| `sourceType` | [Clockodo](../../models/shared/Clockodo.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `years` | List\<*Object*> | :heavy_check_mark: | 2024, 2025 | \ No newline at end of file diff --git a/docs/models/shared/SourceCloseCom.md b/docs/models/shared/SourceCloseCom.md index 012935315..defb9f5a7 100644 --- a/docs/models/shared/SourceCloseCom.md +++ b/docs/models/shared/SourceCloseCom.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `apiKey` | *String* | :heavy_check_mark: | Close.com API key (usually starts with 'api_'; find yours here). | | -| `sourceType` | [com.airbyte.api.models.shared.CloseCom](../../models/shared/CloseCom.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [CloseCom](../../models/shared/CloseCom.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The start date to sync data; all data after this date will be replicated. Leave blank to retrieve all the data available in the account. Format: YYYY-MM-DD. | 2021-01-01 | \ No newline at end of file diff --git a/docs/models/shared/SourceCloudbeds.md b/docs/models/shared/SourceCloudbeds.md new file mode 100644 index 000000000..6ee1f271a --- /dev/null +++ b/docs/models/shared/SourceCloudbeds.md @@ -0,0 +1,9 @@ +# SourceCloudbeds + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Cloudbeds](../../models/shared/Cloudbeds.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCoassemble.md b/docs/models/shared/SourceCoassemble.md new file mode 100644 index 000000000..6b093b794 --- /dev/null +++ b/docs/models/shared/SourceCoassemble.md @@ -0,0 +1,10 @@ +# SourceCoassemble + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `sourceType` | [Coassemble](../../models/shared/Coassemble.md) | :heavy_check_mark: | N/A | +| `userId` | *String* | :heavy_check_mark: | N/A | +| `userToken` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCoda.md b/docs/models/shared/SourceCoda.md index fdb84c497..2c44ebe47 100644 --- a/docs/models/shared/SourceCoda.md +++ b/docs/models/shared/SourceCoda.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `authToken` | *String* | :heavy_check_mark: | Bearer token | -| `sourceType` | [com.airbyte.api.models.shared.Coda](../../models/shared/Coda.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `authToken` | *String* | :heavy_check_mark: | Bearer token | +| `sourceType` | [Coda](../../models/shared/Coda.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCodefresh.md b/docs/models/shared/SourceCodefresh.md new file mode 100644 index 000000000..5875fd0a2 --- /dev/null +++ b/docs/models/shared/SourceCodefresh.md @@ -0,0 +1,13 @@ +# SourceCodefresh + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accountId` | *String* | :heavy_check_mark: | N/A | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `reportDateRange` | List\<*Object*> | :heavy_minus_sign: | N/A | +| `reportGranularity` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Codefresh](../../models/shared/Codefresh.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCoinApi.md b/docs/models/shared/SourceCoinApi.md index 1a93532b8..2c77bccfe 100644 --- a/docs/models/shared/SourceCoinApi.md +++ b/docs/models/shared/SourceCoinApi.md @@ -6,10 +6,10 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | API Key | | -| `endDate` | *Optional* | :heavy_minus_sign: | The end date in ISO 8601 format. If not supplied, data will be returned
    from the start date to the current time, or when the count of result
    elements reaches its limit.
    | 2019-01-01T00:00:00 | -| `environment` | [Optional](../../models/shared/Environment.md) | :heavy_minus_sign: | The environment to use. Either sandbox or production.
    | | -| `limit` | *Optional* | :heavy_minus_sign: | The maximum number of elements to return. If not supplied, the default
    is 100. For numbers larger than 100, each 100 items is counted as one
    request for pricing purposes. Maximum value is 100000.
    | | +| `endDate` | *Optional\* | :heavy_minus_sign: | The end date in ISO 8601 format. If not supplied, data will be returned
    from the start date to the current time, or when the count of result
    elements reaches its limit.
    | 2019-01-01T00:00:00 | +| `environment` | [Optional\](../../models/shared/Environment.md) | :heavy_minus_sign: | The environment to use. Either sandbox or production.
    | | +| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of elements to return. If not supplied, the default
    is 100. For numbers larger than 100, each 100 items is counted as one
    request for pricing purposes. Maximum value is 100000.
    | | | `period` | *String* | :heavy_check_mark: | The period to use. See the documentation for a list. https://docs.coinapi.io/#list-all-periods-get | 5SEC | -| `sourceType` | [com.airbyte.api.models.shared.CoinApi](../../models/shared/CoinApi.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [CoinApi](../../models/shared/CoinApi.md) | :heavy_check_mark: | N/A | | | `startDate` | *String* | :heavy_check_mark: | The start date in ISO 8601 format. | 2019-01-01T00:00:00 | | `symbolId` | *String* | :heavy_check_mark: | The symbol ID to use. See the documentation for a list.
    https://docs.coinapi.io/#list-all-symbols-get
    | | \ No newline at end of file diff --git a/docs/models/shared/SourceCoinmarketcap.md b/docs/models/shared/SourceCoinmarketcap.md index 77772380c..0055351a5 100644 --- a/docs/models/shared/SourceCoinmarketcap.md +++ b/docs/models/shared/SourceCoinmarketcap.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Your API Key. See here. The token is case sensitive. | | -| `dataType` | [com.airbyte.api.models.shared.DataType](../../models/shared/DataType.md) | :heavy_check_mark: | /latest: Latest market ticker quotes and averages for cryptocurrencies and exchanges. /historical: Intervals of historic market data like OHLCV data or data for use in charting libraries. See here. | | -| `sourceType` | [com.airbyte.api.models.shared.Coinmarketcap](../../models/shared/Coinmarketcap.md) | :heavy_check_mark: | N/A | | -| `symbols` | List<*String*> | :heavy_minus_sign: | Cryptocurrency symbols. (only used for quotes stream) | AVAX | \ No newline at end of file +| `dataType` | [DataType](../../models/shared/DataType.md) | :heavy_check_mark: | /latest: Latest market ticker quotes and averages for cryptocurrencies and exchanges. /historical: Intervals of historic market data like OHLCV data or data for use in charting libraries. See here. | | +| `sourceType` | [Coinmarketcap](../../models/shared/Coinmarketcap.md) | :heavy_check_mark: | N/A | | +| `symbols` | List\<*String*> | :heavy_minus_sign: | Cryptocurrency symbols. (only used for quotes stream) | AVAX | \ No newline at end of file diff --git a/docs/models/shared/SourceConcord.md b/docs/models/shared/SourceConcord.md new file mode 100644 index 000000000..24d016a8f --- /dev/null +++ b/docs/models/shared/SourceConcord.md @@ -0,0 +1,10 @@ +# SourceConcord + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `env` | [SourceConcordEnvironment](../../models/shared/SourceConcordEnvironment.md) | :heavy_check_mark: | The environment from where you want to access the API. | +| `sourceType` | [Concord](../../models/shared/Concord.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceConcordEnvironment.md b/docs/models/shared/SourceConcordEnvironment.md new file mode 100644 index 000000000..bb938fb92 --- /dev/null +++ b/docs/models/shared/SourceConcordEnvironment.md @@ -0,0 +1,11 @@ +# SourceConcordEnvironment + +The environment from where you want to access the API. + + +## Values + +| Name | Value | +| ----- | ----- | +| `UAT` | uat | +| `API` | api | \ No newline at end of file diff --git a/docs/models/shared/SourceConfigcat.md b/docs/models/shared/SourceConfigcat.md index c235f2787..ecc31c640 100644 --- a/docs/models/shared/SourceConfigcat.md +++ b/docs/models/shared/SourceConfigcat.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | | `password` | *String* | :heavy_check_mark: | Basic auth password. See here. | -| `sourceType` | [com.airbyte.api.models.shared.Configcat](../../models/shared/Configcat.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Configcat](../../models/shared/Configcat.md) | :heavy_check_mark: | N/A | | `username` | *String* | :heavy_check_mark: | Basic auth user name. See here. | \ No newline at end of file diff --git a/docs/models/shared/SourceConfluence.md b/docs/models/shared/SourceConfluence.md index 65d767ce9..44bc1fbee 100644 --- a/docs/models/shared/SourceConfluence.md +++ b/docs/models/shared/SourceConfluence.md @@ -8,4 +8,4 @@ | `apiToken` | *String* | :heavy_check_mark: | Please follow the Jira confluence for generating an API token: generating an API token. | | | `domainName` | *String* | :heavy_check_mark: | Your Confluence domain name | | | `email` | *String* | :heavy_check_mark: | Your Confluence login email | abc@example.com | -| `sourceType` | [com.airbyte.api.models.shared.Confluence](../../models/shared/Confluence.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `sourceType` | [Confluence](../../models/shared/Confluence.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceConvertkit.md b/docs/models/shared/SourceConvertkit.md new file mode 100644 index 000000000..2cc68011d --- /dev/null +++ b/docs/models/shared/SourceConvertkit.md @@ -0,0 +1,9 @@ +# SourceConvertkit + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `apiSecret` | *String* | :heavy_check_mark: | API Secret | +| `sourceType` | [Convertkit](../../models/shared/Convertkit.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceConvex.md b/docs/models/shared/SourceConvex.md index 8842f4a12..43afc9c2e 100644 --- a/docs/models/shared/SourceConvex.md +++ b/docs/models/shared/SourceConvex.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `accessKey` | *String* | :heavy_check_mark: | API access key used to retrieve data from Convex. | | -| `deploymentUrl` | *String* | :heavy_check_mark: | N/A | https://murky-swan-635.convex.cloud | -| `sourceType` | [com.airbyte.api.models.shared.SourceConvexConvex](../../models/shared/SourceConvexConvex.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `accessKey` | *String* | :heavy_check_mark: | API access key used to retrieve data from Convex. | | +| `deploymentUrl` | *String* | :heavy_check_mark: | N/A | https://murky-swan-635.convex.cloud | +| `sourceType` | [SourceConvexConvex](../../models/shared/SourceConvexConvex.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceCopper.md b/docs/models/shared/SourceCopper.md new file mode 100644 index 000000000..033634fae --- /dev/null +++ b/docs/models/shared/SourceCopper.md @@ -0,0 +1,10 @@ +# SourceCopper + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Copper API key | +| `sourceType` | [Copper](../../models/shared/Copper.md) | :heavy_check_mark: | N/A | +| `userEmail` | *String* | :heavy_check_mark: | user email used to login in to Copper | \ No newline at end of file diff --git a/docs/models/shared/SourceCountercyclical.md b/docs/models/shared/SourceCountercyclical.md new file mode 100644 index 000000000..16f73723d --- /dev/null +++ b/docs/models/shared/SourceCountercyclical.md @@ -0,0 +1,9 @@ +# SourceCountercyclical + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Countercyclical](../../models/shared/Countercyclical.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceCreateRequest.md b/docs/models/shared/SourceCreateRequest.md index 1995e4815..bebcb6138 100644 --- a/docs/models/shared/SourceCreateRequest.md +++ b/docs/models/shared/SourceCreateRequest.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `configuration` | [com.airbyte.api.models.shared.SourceConfiguration](../../models/shared/SourceConfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
    "user": "charles"
    } | -| `definitionId` | *Optional* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. | | +| `configuration` | [SourceConfiguration](../../models/shared/SourceConfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
    "user": "charles"
    } | +| `definitionId` | *Optional\* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. | | | `name` | *String* | :heavy_check_mark: | Name of the source e.g. dev-mysql-instance. | | -| `secretId` | *Optional* | :heavy_minus_sign: | Optional secretID obtained through the OAuth redirect flow. | | +| `secretId` | *Optional\* | :heavy_minus_sign: | Optional secretID obtained through the OAuth redirect flow. | | | `workspaceId` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceCustomerIo.md b/docs/models/shared/SourceCustomerIo.md index ca315bdce..24f87d4a3 100644 --- a/docs/models/shared/SourceCustomerIo.md +++ b/docs/models/shared/SourceCustomerIo.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `appApiKey` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.CustomerIo](../../models/shared/CustomerIo.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `appApiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [CustomerIo](../../models/shared/CustomerIo.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceDatadog.md b/docs/models/shared/SourceDatadog.md index bb2b04425..f3559d0ce 100644 --- a/docs/models/shared/SourceDatadog.md +++ b/docs/models/shared/SourceDatadog.md @@ -7,10 +7,10 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Datadog API key | | | `applicationKey` | *String* | :heavy_check_mark: | Datadog application key | | -| `endDate` | *Optional* | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Data after this date will not be replicated. An empty value will represent the current datetime for each execution. This just applies to Incremental syncs. | 2022-10-01T00:00:00Z | -| `maxRecordsPerRequest` | *Optional* | :heavy_minus_sign: | Maximum number of records to collect per request. | | -| `queries` | List<[com.airbyte.api.models.shared.Queries](../../models/shared/Queries.md)> | :heavy_minus_sign: | List of queries to be run and used as inputs. | | -| `query` | *Optional* | :heavy_minus_sign: | The search query. This just applies to Incremental syncs. If empty, it'll collect all logs. | | -| `site` | [Optional](../../models/shared/Site.md) | :heavy_minus_sign: | The site where Datadog data resides in. | | -| `sourceType` | [com.airbyte.api.models.shared.Datadog](../../models/shared/Datadog.md) | :heavy_check_mark: | N/A | | -| `startDate` | *Optional* | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This just applies to Incremental syncs. | 2022-10-01T00:00:00Z | \ No newline at end of file +| `endDate` | *Optional\* | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Data after this date will not be replicated. An empty value will represent the current datetime for each execution. This just applies to Incremental syncs. | 2022-10-01T00:00:00Z | +| `maxRecordsPerRequest` | *Optional\* | :heavy_minus_sign: | Maximum number of records to collect per request. | | +| `queries` | List\<[Queries](../../models/shared/Queries.md)> | :heavy_minus_sign: | List of queries to be run and used as inputs. | | +| `query` | *Optional\* | :heavy_minus_sign: | The search query. This just applies to Incremental syncs. If empty, it'll collect all logs. | | +| `site` | [Optional\](../../models/shared/Site.md) | :heavy_minus_sign: | The site where Datadog data resides in. | | +| `sourceType` | [Datadog](../../models/shared/Datadog.md) | :heavy_check_mark: | N/A | | +| `startDate` | *Optional\* | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This just applies to Incremental syncs. | 2022-10-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceDatascope.md b/docs/models/shared/SourceDatascope.md index e165026ce..56b606517 100644 --- a/docs/models/shared/SourceDatascope.md +++ b/docs/models/shared/SourceDatascope.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | API Key | | -| `sourceType` | [com.airbyte.api.models.shared.Datascope](../../models/shared/Datascope.md) | :heavy_check_mark: | N/A | | -| `startDate` | *String* | :heavy_check_mark: | Start date for the data to be replicated | dd/mm/YYYY HH:MM | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key | | +| `sourceType` | [Datascope](../../models/shared/Datascope.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | Start date for the data to be replicated | dd/mm/YYYY HH:MM | \ No newline at end of file diff --git a/docs/models/shared/SourceDbt.md b/docs/models/shared/SourceDbt.md index fc19a3cf3..64d57873f 100644 --- a/docs/models/shared/SourceDbt.md +++ b/docs/models/shared/SourceDbt.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `accountId` | *String* | :heavy_check_mark: | N/A | -| `apiKey2` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Dbt](../../models/shared/Dbt.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `accountId` | *String* | :heavy_check_mark: | N/A | +| `apiKey2` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Dbt](../../models/shared/Dbt.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceDelighted.md b/docs/models/shared/SourceDelighted.md index a35a0bc30..b5f43e101 100644 --- a/docs/models/shared/SourceDelighted.md +++ b/docs/models/shared/SourceDelighted.md @@ -7,4 +7,4 @@ | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | A Delighted API key. | | | `since` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate the data | 2022-05-30T04:50:23Z | -| `sourceType` | [com.airbyte.api.models.shared.Delighted](../../models/shared/Delighted.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `sourceType` | [Delighted](../../models/shared/Delighted.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceDeputy.md b/docs/models/shared/SourceDeputy.md new file mode 100644 index 000000000..a5e0c091c --- /dev/null +++ b/docs/models/shared/SourceDeputy.md @@ -0,0 +1,10 @@ +# SourceDeputy + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `baseUrl` | *String* | :heavy_check_mark: | The base url for your deputy account to make API requests | +| `sourceType` | [Deputy](../../models/shared/Deputy.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceDixa.md b/docs/models/shared/SourceDixa.md index 0e5e735fb..087c9bc2a 100644 --- a/docs/models/shared/SourceDixa.md +++ b/docs/models/shared/SourceDixa.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiToken` | *String* | :heavy_check_mark: | Dixa API token | | -| `batchSize` | *Optional* | :heavy_minus_sign: | Number of days to batch into one request. Max 31. | 1 | -| `sourceType` | [com.airbyte.api.models.shared.Dixa](../../models/shared/Dixa.md) | :heavy_check_mark: | N/A | | +| `batchSize` | *Optional\* | :heavy_minus_sign: | Number of days to batch into one request. Max 31. | 1 | +| `sourceType` | [Dixa](../../models/shared/Dixa.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The connector pulls records updated from this date onwards. | YYYY-MM-DD | \ No newline at end of file diff --git a/docs/models/shared/SourceDockerhub.md b/docs/models/shared/SourceDockerhub.md index 47e6869ca..f6193516f 100644 --- a/docs/models/shared/SourceDockerhub.md +++ b/docs/models/shared/SourceDockerhub.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | | `dockerUsername` | *String* | :heavy_check_mark: | Username of DockerHub person or organization (for https://hub.docker.com/v2/repositories/USERNAME/ API call) | airbyte | -| `sourceType` | [com.airbyte.api.models.shared.Dockerhub](../../models/shared/Dockerhub.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `sourceType` | [Dockerhub](../../models/shared/Dockerhub.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceDremio.md b/docs/models/shared/SourceDremio.md index 6acd7f4cd..a29613dc3 100644 --- a/docs/models/shared/SourceDremio.md +++ b/docs/models/shared/SourceDremio.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | API Key that is generated when you authenticate to Dremio API | -| `baseUrl` | *Optional* | :heavy_minus_sign: | URL of your Dremio instance | -| `sourceType` | [com.airbyte.api.models.shared.Dremio](../../models/shared/Dremio.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key that is generated when you authenticate to Dremio API | +| `baseUrl` | *Optional\* | :heavy_minus_sign: | URL of your Dremio instance | +| `sourceType` | [Dremio](../../models/shared/Dremio.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceDrift.md b/docs/models/shared/SourceDrift.md new file mode 100644 index 000000000..5d0a50cec --- /dev/null +++ b/docs/models/shared/SourceDrift.md @@ -0,0 +1,10 @@ +# SourceDrift + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceDriftAuthorizationMethod.md) | :heavy_minus_sign: | N/A | +| `email` | *Optional\* | :heavy_minus_sign: | Email used as parameter for contacts stream | +| `sourceType` | [SourceDriftDrift](../../models/shared/SourceDriftDrift.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceDriftAuthorizationMethod.md b/docs/models/shared/SourceDriftAuthorizationMethod.md new file mode 100644 index 000000000..197d74afe --- /dev/null +++ b/docs/models/shared/SourceDriftAuthorizationMethod.md @@ -0,0 +1,2 @@ +# SourceDriftAuthorizationMethod + diff --git a/docs/models/shared/SourceDriftCredentials.md b/docs/models/shared/SourceDriftCredentials.md new file mode 100644 index 000000000..5332787b5 --- /dev/null +++ b/docs/models/shared/SourceDriftCredentials.md @@ -0,0 +1,8 @@ +# SourceDriftCredentials + + +## Values + +| Name | Value | +| --------- | --------- | +| `OAUTH20` | oauth2.0 | \ No newline at end of file diff --git a/docs/models/shared/SourceDriftDrift.md b/docs/models/shared/SourceDriftDrift.md new file mode 100644 index 000000000..ec449b64b --- /dev/null +++ b/docs/models/shared/SourceDriftDrift.md @@ -0,0 +1,8 @@ +# SourceDriftDrift + + +## Values + +| Name | Value | +| ------- | ------- | +| `DRIFT` | drift | \ No newline at end of file diff --git a/docs/models/shared/SourceDriftOAuth20.md b/docs/models/shared/SourceDriftOAuth20.md new file mode 100644 index 000000000..96b9d8fa0 --- /dev/null +++ b/docs/models/shared/SourceDriftOAuth20.md @@ -0,0 +1,12 @@ +# SourceDriftOAuth20 + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Drift developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Drift developer application. | +| `credentials` | [Optional\](../../models/shared/SourceDriftCredentials.md) | :heavy_minus_sign: | N/A | +| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token to renew the expired Access Token. | \ No newline at end of file diff --git a/docs/models/shared/SourceDriftSchemasCredentials.md b/docs/models/shared/SourceDriftSchemasCredentials.md new file mode 100644 index 000000000..1587a8f2f --- /dev/null +++ b/docs/models/shared/SourceDriftSchemasCredentials.md @@ -0,0 +1,8 @@ +# SourceDriftSchemasCredentials + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `ACCESS_TOKEN` | access_token | \ No newline at end of file diff --git a/docs/models/shared/SourceDrip.md b/docs/models/shared/SourceDrip.md new file mode 100644 index 000000000..a4b3731a8 --- /dev/null +++ b/docs/models/shared/SourceDrip.md @@ -0,0 +1,9 @@ +# SourceDrip + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://www.getdrip.com/user/edit | +| `sourceType` | [Drip](../../models/shared/Drip.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceDropboxSign.md b/docs/models/shared/SourceDropboxSign.md new file mode 100644 index 000000000..c93c07a81 --- /dev/null +++ b/docs/models/shared/SourceDropboxSign.md @@ -0,0 +1,10 @@ +# SourceDropboxSign + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://app.hellosign.com/home/myAccount#api | +| `sourceType` | [DropboxSign](../../models/shared/DropboxSign.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceDynamodb.md b/docs/models/shared/SourceDynamodb.md index 4c5ad49f2..ac27339c2 100644 --- a/docs/models/shared/SourceDynamodb.md +++ b/docs/models/shared/SourceDynamodb.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | *JsonNullable* | :heavy_minus_sign: | Credentials for the service | | -| `endpoint` | *Optional* | :heavy_minus_sign: | the URL of the Dynamodb database | https://{aws_dynamo_db_url}.com | -| `ignoreMissingReadPermissionsTables` | *Optional* | :heavy_minus_sign: | Ignore tables with missing scan/read permissions | | -| `region` | [Optional](../../models/shared/SourceDynamodbDynamodbRegion.md) | :heavy_minus_sign: | The region of the Dynamodb database | | -| `reservedAttributeNames` | *Optional* | :heavy_minus_sign: | Comma separated reserved attribute names present in your tables | name, field_name, field-name | -| `sourceType` | [Optional](../../models/shared/SourceDynamodbDynamodb.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `credentials` | [JsonNullable\](../../models/shared/SourceDynamodbCredentials.md) | :heavy_minus_sign: | Credentials for the service | | +| `endpoint` | *Optional\* | :heavy_minus_sign: | the URL of the Dynamodb database | https://{aws_dynamo_db_url}.com | +| `ignoreMissingReadPermissionsTables` | *Optional\* | :heavy_minus_sign: | Ignore tables with missing scan/read permissions | | +| `region` | [Optional\](../../models/shared/SourceDynamodbDynamodbRegion.md) | :heavy_minus_sign: | The region of the Dynamodb database | | +| `reservedAttributeNames` | *Optional\* | :heavy_minus_sign: | Comma separated reserved attribute names present in your tables | name, field_name, field-name | +| `sourceType` | [Optional\](../../models/shared/SourceDynamodbDynamodb.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceDynamodbAuthType.md b/docs/models/shared/SourceDynamodbAuthType.md new file mode 100644 index 000000000..2d2e60db2 --- /dev/null +++ b/docs/models/shared/SourceDynamodbAuthType.md @@ -0,0 +1,8 @@ +# SourceDynamodbAuthType + + +## Values + +| Name | Value | +| ------ | ------ | +| `USER` | User | \ No newline at end of file diff --git a/docs/models/shared/SourceDynamodbCredentials.md b/docs/models/shared/SourceDynamodbCredentials.md new file mode 100644 index 000000000..95117470f --- /dev/null +++ b/docs/models/shared/SourceDynamodbCredentials.md @@ -0,0 +1,4 @@ +# SourceDynamodbCredentials + +Credentials for the service + diff --git a/docs/models/shared/SourceDynamodbSchemasAuthType.md b/docs/models/shared/SourceDynamodbSchemasAuthType.md new file mode 100644 index 000000000..9b129f24d --- /dev/null +++ b/docs/models/shared/SourceDynamodbSchemasAuthType.md @@ -0,0 +1,8 @@ +# SourceDynamodbSchemasAuthType + + +## Values + +| Name | Value | +| ------ | ------ | +| `ROLE` | Role | \ No newline at end of file diff --git a/docs/models/shared/SourceEConomic.md b/docs/models/shared/SourceEConomic.md new file mode 100644 index 000000000..3f5d45385 --- /dev/null +++ b/docs/models/shared/SourceEConomic.md @@ -0,0 +1,10 @@ +# SourceEConomic + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `agreementGrantToken` | *String* | :heavy_check_mark: | Token that identifies the grant issued by an agreement, allowing your app to access data. Obtain it from your e-conomic account settings. | +| `appSecretToken` | *String* | :heavy_check_mark: | Your private token that identifies your app. Find it in your e-conomic account settings. | +| `sourceType` | [EConomic](../../models/shared/EConomic.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceEasypost.md b/docs/models/shared/SourceEasypost.md new file mode 100644 index 000000000..93ad6667c --- /dev/null +++ b/docs/models/shared/SourceEasypost.md @@ -0,0 +1,10 @@ +# SourceEasypost + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `sourceType` | [Easypost](../../models/shared/Easypost.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | The API Key from your easypost settings | \ No newline at end of file diff --git a/docs/models/shared/SourceEasypromos.md b/docs/models/shared/SourceEasypromos.md new file mode 100644 index 000000000..184f720cd --- /dev/null +++ b/docs/models/shared/SourceEasypromos.md @@ -0,0 +1,9 @@ +# SourceEasypromos + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `bearerToken` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Easypromos](../../models/shared/Easypromos.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceElasticemail.md b/docs/models/shared/SourceElasticemail.md new file mode 100644 index 000000000..226b74156 --- /dev/null +++ b/docs/models/shared/SourceElasticemail.md @@ -0,0 +1,12 @@ +# SourceElasticemail + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `from` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | N/A | +| `scopeType` | [Optional\](../../models/shared/ScopeType.md) | :heavy_minus_sign: | N/A | +| `sourceType` | [Elasticemail](../../models/shared/Elasticemail.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceEmailoctopus.md b/docs/models/shared/SourceEmailoctopus.md index aaeaca81e..673219e86 100644 --- a/docs/models/shared/SourceEmailoctopus.md +++ b/docs/models/shared/SourceEmailoctopus.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | EmailOctopus API Key. See the docs for information on how to generate this key. | -| `sourceType` | [com.airbyte.api.models.shared.Emailoctopus](../../models/shared/Emailoctopus.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Emailoctopus](../../models/shared/Emailoctopus.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceEmploymentHero.md b/docs/models/shared/SourceEmploymentHero.md new file mode 100644 index 000000000..8f6482f12 --- /dev/null +++ b/docs/models/shared/SourceEmploymentHero.md @@ -0,0 +1,11 @@ +# SourceEmploymentHero + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `employeesConfigids` | List\<*Object*> | :heavy_minus_sign: | Employees IDs in the given organisation found in `employees` stream for passing to sub-streams | +| `organizationConfigids` | List\<*Object*> | :heavy_minus_sign: | Organization ID which could be found as result of `organizations` stream to be used in other substreams | +| `sourceType` | [EmploymentHero](../../models/shared/EmploymentHero.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceEncharge.md b/docs/models/shared/SourceEncharge.md new file mode 100644 index 000000000..b92a25ce2 --- /dev/null +++ b/docs/models/shared/SourceEncharge.md @@ -0,0 +1,9 @@ +# SourceEncharge + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | The API key to use for authentication | +| `sourceType` | [Encharge](../../models/shared/Encharge.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceEventbrite.md b/docs/models/shared/SourceEventbrite.md new file mode 100644 index 000000000..bf1344575 --- /dev/null +++ b/docs/models/shared/SourceEventbrite.md @@ -0,0 +1,10 @@ +# SourceEventbrite + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `privateToken` | *String* | :heavy_check_mark: | The private token to use for authenticating API requests. | +| `sourceType` | [Eventbrite](../../models/shared/Eventbrite.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceEventee.md b/docs/models/shared/SourceEventee.md new file mode 100644 index 000000000..5b512987a --- /dev/null +++ b/docs/models/shared/SourceEventee.md @@ -0,0 +1,9 @@ +# SourceEventee + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API token to use. Generate it at https://admin.eventee.co/ in 'Settings -> Features'. | +| `sourceType` | [Eventee](../../models/shared/Eventee.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceEventzilla.md b/docs/models/shared/SourceEventzilla.md new file mode 100644 index 000000000..8360ed5ac --- /dev/null +++ b/docs/models/shared/SourceEventzilla.md @@ -0,0 +1,9 @@ +# SourceEventzilla + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `sourceType` | [Eventzilla](../../models/shared/Eventzilla.md) | :heavy_check_mark: | N/A | +| `xApiKey` | *String* | :heavy_check_mark: | API key to use. Generate it by creating a new application within your Eventzilla account settings under Settings > App Management. | \ No newline at end of file diff --git a/docs/models/shared/SourceExchangeRates.md b/docs/models/shared/SourceExchangeRates.md index 2466a87aa..c164b40f3 100644 --- a/docs/models/shared/SourceExchangeRates.md +++ b/docs/models/shared/SourceExchangeRates.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessKey` | *String* | :heavy_check_mark: | Your API Key. See here. The key is case sensitive. | | -| `base` | *Optional* | :heavy_minus_sign: | ISO reference currency. See here. Free plan doesn't support Source Currency Switching, default base currency is EUR | EUR | -| `ignoreWeekends` | *Optional* | :heavy_minus_sign: | Ignore weekends? (Exchanges don't run on weekends) | | -| `sourceType` | [com.airbyte.api.models.shared.ExchangeRates](../../models/shared/ExchangeRates.md) | :heavy_check_mark: | N/A | | +| `base` | *Optional\* | :heavy_minus_sign: | ISO reference currency. See here. Free plan doesn't support Source Currency Switching, default base currency is EUR | EUR | +| `ignoreWeekends` | *Optional\* | :heavy_minus_sign: | Ignore weekends? (Exchanges don't run on weekends) | | +| `sourceType` | [ExchangeRates](../../models/shared/ExchangeRates.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | Start getting data from that date. | YYYY-MM-DD | \ No newline at end of file diff --git a/docs/models/shared/SourceEzofficeinventory.md b/docs/models/shared/SourceEzofficeinventory.md index 6c3c8d8d7..684c0c7d0 100644 --- a/docs/models/shared/SourceEzofficeinventory.md +++ b/docs/models/shared/SourceEzofficeinventory.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Your EZOfficeInventory Access Token. API Access is disabled by default. Enable API Access in Settings > Integrations > API Integration and click on Update to generate a new access token | -| `sourceType` | [com.airbyte.api.models.shared.Ezofficeinventory](../../models/shared/Ezofficeinventory.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Ezofficeinventory](../../models/shared/Ezofficeinventory.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | Earliest date you want to sync historical streams (inventory_histories, asset_histories, asset_stock_histories) from | | `subdomain` | *String* | :heavy_check_mark: | The company name used in signup, also visible in the URL when logged in. | \ No newline at end of file diff --git a/docs/models/shared/SourceFacebookMarketing.md b/docs/models/shared/SourceFacebookMarketing.md index 43202f7dc..8742fa3ab 100644 --- a/docs/models/shared/SourceFacebookMarketing.md +++ b/docs/models/shared/SourceFacebookMarketing.md @@ -5,17 +5,17 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *Optional* | :heavy_minus_sign: | The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions ads_management, ads_read, read_insights, business_management. Then click on "Get token". See the docs for more information. | | -| `accountIds` | List<*String*> | :heavy_check_mark: | The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your Meta Ads Manager. See the docs for more information. | 111111111111111 | -| `adStatuses` | List<[com.airbyte.api.models.shared.ValidAdStatuses](../../models/shared/ValidAdStatuses.md)> | :heavy_minus_sign: | Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. | | -| `adsetStatuses` | List<[com.airbyte.api.models.shared.ValidAdSetStatuses](../../models/shared/ValidAdSetStatuses.md)> | :heavy_minus_sign: | Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. | | -| `campaignStatuses` | List<[com.airbyte.api.models.shared.ValidCampaignStatuses](../../models/shared/ValidCampaignStatuses.md)> | :heavy_minus_sign: | Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. | | -| `credentials` | [com.airbyte.api.models.shared.SourceFacebookMarketingAuthentication](../../models/shared/SourceFacebookMarketingAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the Facebook Marketing API | | -| `customInsights` | List<[com.airbyte.api.models.shared.InsightConfig](../../models/shared/InsightConfig.md)> | :heavy_minus_sign: | A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. | | +| `accessToken` | *Optional\* | :heavy_minus_sign: | The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions ads_management, ads_read, read_insights, business_management. Then click on "Get token". See the docs for more information. | | +| `accountIds` | List\<*String*> | :heavy_check_mark: | The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your Meta Ads Manager. See the docs for more information. | 111111111111111 | +| `adStatuses` | List\<[ValidAdStatuses](../../models/shared/ValidAdStatuses.md)> | :heavy_minus_sign: | Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. | | +| `adsetStatuses` | List\<[ValidAdSetStatuses](../../models/shared/ValidAdSetStatuses.md)> | :heavy_minus_sign: | Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. | | +| `campaignStatuses` | List\<[ValidCampaignStatuses](../../models/shared/ValidCampaignStatuses.md)> | :heavy_minus_sign: | Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. | | +| `credentials` | [SourceFacebookMarketingAuthentication](../../models/shared/SourceFacebookMarketingAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the Facebook Marketing API | | +| `customInsights` | List\<[InsightConfig](../../models/shared/InsightConfig.md)> | :heavy_minus_sign: | A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. | | | `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. | 2017-01-26T00:00:00Z | -| `fetchThumbnailImages` | *Optional* | :heavy_minus_sign: | Set to active if you want to fetch the thumbnail_url and store the result in thumbnail_data_url for each Ad Creative. | | -| `insightsJobTimeout` | *Optional* | :heavy_minus_sign: | Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. | | -| `insightsLookbackWindow` | *Optional* | :heavy_minus_sign: | The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. | | -| `pageSize` | *Optional* | :heavy_minus_sign: | Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceFacebookMarketingFacebookMarketing](../../models/shared/SourceFacebookMarketingFacebookMarketing.md) | :heavy_check_mark: | N/A | | +| `fetchThumbnailImages` | *Optional\* | :heavy_minus_sign: | Set to active if you want to fetch the thumbnail_url and store the result in thumbnail_data_url for each Ad Creative. | | +| `insightsJobTimeout` | *Optional\* | :heavy_minus_sign: | Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. | | +| `insightsLookbackWindow` | *Optional\* | :heavy_minus_sign: | The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. | | +| `pageSize` | *Optional\* | :heavy_minus_sign: | Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. | | +| `sourceType` | [SourceFacebookMarketingFacebookMarketing](../../models/shared/SourceFacebookMarketingFacebookMarketing.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceFactorial.md b/docs/models/shared/SourceFactorial.md new file mode 100644 index 000000000..0406cd8f0 --- /dev/null +++ b/docs/models/shared/SourceFactorial.md @@ -0,0 +1,11 @@ +# SourceFactorial + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `limit` | *Optional\* | :heavy_minus_sign: | Max records per page limit | +| `sourceType` | [Factorial](../../models/shared/Factorial.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFaker.md b/docs/models/shared/SourceFaker.md index 75e672041..016e7be07 100644 --- a/docs/models/shared/SourceFaker.md +++ b/docs/models/shared/SourceFaker.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `alwaysUpdated` | *Optional* | :heavy_minus_sign: | Should the updated_at values for every record be new each sync? Setting this to false will case the source to stop emitting records after COUNT records have been emitted. | -| `count` | *Optional* | :heavy_minus_sign: | How many users should be generated in total. The purchases table will be scaled to match, with 10 purchases created per 10 users. This setting does not apply to the products stream. | -| `parallelism` | *Optional* | :heavy_minus_sign: | How many parallel workers should we use to generate fake data? Choose a value equal to the number of CPUs you will allocate to this source. | -| `recordsPerSlice` | *Optional* | :heavy_minus_sign: | How many fake records will be in each page (stream slice), before a state message is emitted? | -| `seed` | *Optional* | :heavy_minus_sign: | Manually control the faker random seed to return the same values on subsequent runs (leave -1 for random) | -| `sourceType` | [com.airbyte.api.models.shared.Faker](../../models/shared/Faker.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `alwaysUpdated` | *Optional\* | :heavy_minus_sign: | Should the updated_at values for every record be new each sync? Setting this to false will case the source to stop emitting records after COUNT records have been emitted. | +| `count` | *Optional\* | :heavy_minus_sign: | How many users should be generated in total. The purchases table will be scaled to match, with 10 purchases created per 10 users. This setting does not apply to the products stream. | +| `parallelism` | *Optional\* | :heavy_minus_sign: | How many parallel workers should we use to generate fake data? Choose a value equal to the number of CPUs you will allocate to this source. | +| `recordsPerSlice` | *Optional\* | :heavy_minus_sign: | How many fake records will be in each page (stream slice), before a state message is emitted? | +| `seed` | *Optional\* | :heavy_minus_sign: | Manually control the faker random seed to return the same values on subsequent runs (leave -1 for random) | +| `sourceType` | [Faker](../../models/shared/Faker.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFauna.md b/docs/models/shared/SourceFauna.md index d470cd208..94a0ee32c 100644 --- a/docs/models/shared/SourceFauna.md +++ b/docs/models/shared/SourceFauna.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `collection` | [Optional](../../models/shared/Collection.md) | :heavy_minus_sign: | Settings for the Fauna Collection. | -| `domain` | *Optional* | :heavy_minus_sign: | Domain of Fauna to query. Defaults db.fauna.com. See the docs. | -| `port` | *Optional* | :heavy_minus_sign: | Endpoint port. | -| `scheme` | *Optional* | :heavy_minus_sign: | URL scheme. | +| `collection` | [Optional\](../../models/shared/Collection.md) | :heavy_minus_sign: | Settings for the Fauna Collection. | +| `domain` | *Optional\* | :heavy_minus_sign: | Domain of Fauna to query. Defaults db.fauna.com. See the docs. | +| `port` | *Optional\* | :heavy_minus_sign: | Endpoint port. | +| `scheme` | *Optional\* | :heavy_minus_sign: | URL scheme. | | `secret` | *String* | :heavy_check_mark: | Fauna secret, used when authenticating with the database. | -| `sourceType` | [com.airbyte.api.models.shared.Fauna](../../models/shared/Fauna.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Fauna](../../models/shared/Fauna.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFile.md b/docs/models/shared/SourceFile.md index 5b27ec4ef..f476469a5 100644 --- a/docs/models/shared/SourceFile.md +++ b/docs/models/shared/SourceFile.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | | `datasetName` | *String* | :heavy_check_mark: | The Name of the final table to replicate this file into (should include letters, numbers dash and underscores only). | | -| `format` | [Optional](../../models/shared/FileFormat.md) | :heavy_minus_sign: | The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). | | -| `provider` | [com.airbyte.api.models.shared.StorageProvider](../../models/shared/StorageProvider.md) | :heavy_check_mark: | The storage Provider or Location of the file(s) which should be replicated. | | -| `readerOptions` | *Optional* | :heavy_minus_sign: | This should be a string in JSON format. It depends on the chosen file format to provide additional options and tune its behavior. | {} | -| `sourceType` | [com.airbyte.api.models.shared.File](../../models/shared/File.md) | :heavy_check_mark: | N/A | | +| `format` | [Optional\](../../models/shared/SourceFileFileFormat.md) | :heavy_minus_sign: | The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). | | +| `provider` | [StorageProvider](../../models/shared/StorageProvider.md) | :heavy_check_mark: | The storage Provider or Location of the file(s) which should be replicated. | | +| `readerOptions` | *Optional\* | :heavy_minus_sign: | This should be a string in JSON format. It depends on the chosen file format to provide additional options and tune its behavior. | {} | +| `sourceType` | [File](../../models/shared/File.md) | :heavy_check_mark: | N/A | | | `url` | *String* | :heavy_check_mark: | The URL path to access the file which should be replicated. | https://storage.googleapis.com/covid19-open-data/v2/latest/epidemiology.csv | \ No newline at end of file diff --git a/docs/models/shared/SourceFileFileFormat.md b/docs/models/shared/SourceFileFileFormat.md new file mode 100644 index 000000000..73e28e471 --- /dev/null +++ b/docs/models/shared/SourceFileFileFormat.md @@ -0,0 +1,18 @@ +# SourceFileFileFormat + +The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `CSV` | csv | +| `JSON` | json | +| `JSONL` | jsonl | +| `EXCEL` | excel | +| `EXCEL_BINARY` | excel_binary | +| `FWF` | fwf | +| `FEATHER` | feather | +| `PARQUET` | parquet | +| `YAML` | yaml | \ No newline at end of file diff --git a/docs/models/shared/SourceFillout.md b/docs/models/shared/SourceFillout.md new file mode 100644 index 000000000..b0d045771 --- /dev/null +++ b/docs/models/shared/SourceFillout.md @@ -0,0 +1,10 @@ +# SourceFillout + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it in the Developer settings tab of your Fillout account. | +| `sourceType` | [Fillout](../../models/shared/Fillout.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFinage.md b/docs/models/shared/SourceFinage.md new file mode 100644 index 000000000..645162555 --- /dev/null +++ b/docs/models/shared/SourceFinage.md @@ -0,0 +1,16 @@ +# SourceFinage + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `period` | *Optional\* | :heavy_minus_sign: | Time period. Default is 10 | +| `sourceType` | [Finage](../../models/shared/Finage.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `symbols` | List\<*Object*> | :heavy_check_mark: | List of symbols | +| `techIndicatorType` | [Optional\](../../models/shared/TechnicalIndicatorType.md) | :heavy_minus_sign: | One of DEMA, EMA, SMA, WMA, RSI, TEMA, Williams, ADX | +| `time` | [Optional\](../../models/shared/TimeInterval.md) | :heavy_minus_sign: | N/A | +| `timeAggregates` | [Optional\](../../models/shared/TimeAggregates.md) | :heavy_minus_sign: | Size of the time | +| `timePeriod` | [Optional\](../../models/shared/TimePeriod.md) | :heavy_minus_sign: | Time Period for cash flow stmts | \ No newline at end of file diff --git a/docs/models/shared/SourceFinancialModelling.md b/docs/models/shared/SourceFinancialModelling.md new file mode 100644 index 000000000..f684307f4 --- /dev/null +++ b/docs/models/shared/SourceFinancialModelling.md @@ -0,0 +1,14 @@ +# SourceFinancialModelling + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `exchange` | *Optional\* | :heavy_minus_sign: | The stock exchange : AMEX, AMS, AQS, ASX, ATH, BER, BME, BRU, BSE, BUD, BUE, BVC, CAI, CBOE, CNQ, CPH, DFM, DOH, DUS, DXE, EGX, EURONEXT, HAM, HEL, HKSE, ICE, IOB, IST, JKT, JNB, JPX, KLS, KOE, KSC, KUW, LSE, MCX, MEX, MIL, MUN, NASDAQ, NEO, NSE, NYSE, NZE, OEM, OQX, OSL, OTC, PNK, PRA, RIS, SAO, SAU, SES, SET, SGO, SHH, SHZ, SIX, STO, STU, TAI, TLV, TSX, TSXV, TWO, VIE, VSE, WSE, XETRA | +| `marketcaplowerthan` | *Optional\* | :heavy_minus_sign: | Used in screener to filter out stocks with a market cap lower than the give marketcap | +| `marketcapmorethan` | *Optional\* | :heavy_minus_sign: | Used in screener to filter out stocks with a market cap more than the give marketcap | +| `sourceType` | [FinancialModelling](../../models/shared/FinancialModelling.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `timeFrame` | [Optional\](../../models/shared/TimeFrame.md) | :heavy_minus_sign: | For example 1min, 5min, 15min, 30min, 1hour, 4hour | \ No newline at end of file diff --git a/docs/models/shared/SourceFinnhub.md b/docs/models/shared/SourceFinnhub.md new file mode 100644 index 000000000..e3d971d89 --- /dev/null +++ b/docs/models/shared/SourceFinnhub.md @@ -0,0 +1,13 @@ +# SourceFinnhub + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | The API key to use for authentication | +| `exchange` | *Optional\* | :heavy_minus_sign: | More info: https://finnhub.io/docs/api/stock-symbols | +| `marketNewsCategory` | [Optional\](../../models/shared/MarketNewsCategory.md) | :heavy_minus_sign: | This parameter can be 1 of the following values general, forex, crypto, merger. | +| `sourceType` | [Finnhub](../../models/shared/Finnhub.md) | :heavy_check_mark: | N/A | +| `startDate2` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `symbols` | List\<*Object*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFinnworlds.md b/docs/models/shared/SourceFinnworlds.md new file mode 100644 index 000000000..a58b9bb1e --- /dev/null +++ b/docs/models/shared/SourceFinnworlds.md @@ -0,0 +1,16 @@ +# SourceFinnworlds + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `bondType` | List\<*Object*> | :heavy_minus_sign: | For example 10y, 5y, 2y... | +| `commodities` | List\<*Object*> | :heavy_minus_sign: | Options Available: beef, cheese, oil, ... | +| `countries` | List\<*Object*> | :heavy_minus_sign: | brazil, united states, italia, japan | +| `key` | *String* | :heavy_check_mark: | N/A | +| `list` | *Optional\* | :heavy_minus_sign: | Choose isin, ticker, reg_lei or cik | +| `listCountriesForBonds` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Finnworlds](../../models/shared/Finnworlds.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `tickers` | List\<*Object*> | :heavy_minus_sign: | AAPL, T, MU, GOOG | \ No newline at end of file diff --git a/docs/models/shared/SourceFirebolt.md b/docs/models/shared/SourceFirebolt.md index 5f03076e8..7679cc12a 100644 --- a/docs/models/shared/SourceFirebolt.md +++ b/docs/models/shared/SourceFirebolt.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `account` | *String* | :heavy_check_mark: | Firebolt account to login. | | -| `clientId` | *String* | :heavy_check_mark: | Firebolt service account ID. | bbl9qth066hmxkwyb0hy2iwk8ktez9dz | -| `clientSecret` | *String* | :heavy_check_mark: | Firebolt secret, corresponding to the service account ID. | | -| `database` | *String* | :heavy_check_mark: | The database to connect to. | | -| `engine` | *String* | :heavy_check_mark: | Engine name to connect to. | | -| `host` | *Optional* | :heavy_minus_sign: | The host name of your Firebolt database. | api.app.firebolt.io | -| `sourceType` | [com.airbyte.api.models.shared.SourceFireboltFirebolt](../../models/shared/SourceFireboltFirebolt.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `account` | *String* | :heavy_check_mark: | Firebolt account to login. | | +| `clientId` | *String* | :heavy_check_mark: | Firebolt service account ID. | bbl9qth066hmxkwyb0hy2iwk8ktez9dz | +| `clientSecret` | *String* | :heavy_check_mark: | Firebolt secret, corresponding to the service account ID. | | +| `database` | *String* | :heavy_check_mark: | The database to connect to. | | +| `engine` | *String* | :heavy_check_mark: | Engine name to connect to. | | +| `host` | *Optional\* | :heavy_minus_sign: | The host name of your Firebolt database. | api.app.firebolt.io | +| `sourceType` | [SourceFireboltFirebolt](../../models/shared/SourceFireboltFirebolt.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceFirehydrant.md b/docs/models/shared/SourceFirehydrant.md new file mode 100644 index 000000000..6eb4a6c20 --- /dev/null +++ b/docs/models/shared/SourceFirehydrant.md @@ -0,0 +1,9 @@ +# SourceFirehydrant + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | Bot token to use for authenticating with the FireHydrant API. You can find or create a bot token by logging into your organization and visiting the Bot users page at https://app.firehydrant.io/organizations/bots. | +| `sourceType` | [Firehydrant](../../models/shared/Firehydrant.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFleetio.md b/docs/models/shared/SourceFleetio.md index a96d1b922..ff7c1840c 100644 --- a/docs/models/shared/SourceFleetio.md +++ b/docs/models/shared/SourceFleetio.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `accountToken` | *String* | :heavy_check_mark: | N/A | -| `apiKey` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Fleetio](../../models/shared/Fleetio.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `accountToken` | *String* | :heavy_check_mark: | N/A | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Fleetio](../../models/shared/Fleetio.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFlexmail.md b/docs/models/shared/SourceFlexmail.md new file mode 100644 index 000000000..a043086ac --- /dev/null +++ b/docs/models/shared/SourceFlexmail.md @@ -0,0 +1,10 @@ +# SourceFlexmail + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `accountId` | *String* | :heavy_check_mark: | Your Flexmail account ID. You can find it in your Flexmail account settings. | +| `personalAccessToken` | *String* | :heavy_check_mark: | A personal access token for API authentication. Manage your tokens in Flexmail under Settings > API > Personal access tokens. | +| `sourceType` | [Flexmail](../../models/shared/Flexmail.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFlexport.md b/docs/models/shared/SourceFlexport.md new file mode 100644 index 000000000..152043492 --- /dev/null +++ b/docs/models/shared/SourceFlexport.md @@ -0,0 +1,10 @@ +# SourceFlexport + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Flexport](../../models/shared/Flexport.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFloat.md b/docs/models/shared/SourceFloat.md new file mode 100644 index 000000000..c85d1bd52 --- /dev/null +++ b/docs/models/shared/SourceFloat.md @@ -0,0 +1,10 @@ +# SourceFloat + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | API token obtained from your Float Account Settings page | +| `sourceType` | [Float](../../models/shared/Float.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFlowlu.md b/docs/models/shared/SourceFlowlu.md new file mode 100644 index 000000000..3a4d31fe8 --- /dev/null +++ b/docs/models/shared/SourceFlowlu.md @@ -0,0 +1,10 @@ +# SourceFlowlu + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | The API key to use for authentication | +| `company` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Flowlu](../../models/shared/Flowlu.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFormbricks.md b/docs/models/shared/SourceFormbricks.md new file mode 100644 index 000000000..da929fee0 --- /dev/null +++ b/docs/models/shared/SourceFormbricks.md @@ -0,0 +1,9 @@ +# SourceFormbricks + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. You can generate and find it in your Postman account settings. | +| `sourceType` | [Formbricks](../../models/shared/Formbricks.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFreeAgentConnector.md b/docs/models/shared/SourceFreeAgentConnector.md new file mode 100644 index 000000000..817d47b10 --- /dev/null +++ b/docs/models/shared/SourceFreeAgentConnector.md @@ -0,0 +1,13 @@ +# SourceFreeAgentConnector + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken2` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `payrollYear` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [FreeAgentConnector](../../models/shared/FreeAgentConnector.md) | :heavy_check_mark: | N/A | +| `updatedSince` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFreightview.md b/docs/models/shared/SourceFreightview.md new file mode 100644 index 000000000..f509b1234 --- /dev/null +++ b/docs/models/shared/SourceFreightview.md @@ -0,0 +1,10 @@ +# SourceFreightview + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Freightview](../../models/shared/Freightview.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFreshbooks.md b/docs/models/shared/SourceFreshbooks.md new file mode 100644 index 000000000..4b21e0038 --- /dev/null +++ b/docs/models/shared/SourceFreshbooks.md @@ -0,0 +1,16 @@ +# SourceFreshbooks + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `accountId` | *String* | :heavy_check_mark: | N/A | +| `businessUuid` | *String* | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `oauthAccessToken` | *Optional\* | :heavy_minus_sign: | The current access token. This field might be overridden by the connector based on the token refresh endpoint response. | +| `oauthTokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. | +| `redirectUri` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Freshbooks](../../models/shared/Freshbooks.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFreshcaller.md b/docs/models/shared/SourceFreshcaller.md index 9f3d3cafc..11e93b25b 100644 --- a/docs/models/shared/SourceFreshcaller.md +++ b/docs/models/shared/SourceFreshcaller.md @@ -7,7 +7,7 @@ | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Freshcaller API Key. See the docs for more information on how to obtain this key. | | | `domain` | *String* | :heavy_check_mark: | Used to construct Base URL for the Freshcaller APIs | snaptravel | -| `requestsPerMinute` | *Optional* | :heavy_minus_sign: | The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. | | -| `sourceType` | [com.airbyte.api.models.shared.Freshcaller](../../models/shared/Freshcaller.md) | :heavy_check_mark: | N/A | | +| `requestsPerMinute` | *Optional\* | :heavy_minus_sign: | The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. | | +| `sourceType` | [Freshcaller](../../models/shared/Freshcaller.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time. Any data created after this date will be replicated. | 2022-01-01T12:00:00Z | -| `syncLagMinutes` | *Optional* | :heavy_minus_sign: | Lag in minutes for each sync, i.e., at time T, data for the time range [prev_sync_time, T-30] will be fetched | | \ No newline at end of file +| `syncLagMinutes` | *Optional\* | :heavy_minus_sign: | Lag in minutes for each sync, i.e., at time T, data for the time range [prev_sync_time, T-30] will be fetched | | \ No newline at end of file diff --git a/docs/models/shared/SourceFreshchat.md b/docs/models/shared/SourceFreshchat.md new file mode 100644 index 000000000..3bf2126ed --- /dev/null +++ b/docs/models/shared/SourceFreshchat.md @@ -0,0 +1,11 @@ +# SourceFreshchat + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accountName` | *String* | :heavy_check_mark: | The unique account name for your Freshchat instance | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Freshchat](../../models/shared/Freshchat.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFreshdesk.md b/docs/models/shared/SourceFreshdesk.md index a4ba1de92..cbc0e99bd 100644 --- a/docs/models/shared/SourceFreshdesk.md +++ b/docs/models/shared/SourceFreshdesk.md @@ -7,7 +7,7 @@ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Freshdesk API Key. See the docs for more information on how to obtain this key. | | | `domain` | *String* | :heavy_check_mark: | Freshdesk domain | myaccount.freshdesk.com | -| `lookbackWindowInDays` | *Optional* | :heavy_minus_sign: | Number of days for lookback window for the stream Satisfaction Ratings | | -| `requestsPerMinute` | *Optional* | :heavy_minus_sign: | The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. | | -| `sourceType` | [com.airbyte.api.models.shared.Freshdesk](../../models/shared/Freshdesk.md) | :heavy_check_mark: | N/A | | +| `lookbackWindowInDays` | *Optional\* | :heavy_minus_sign: | Number of days for lookback window for the stream Satisfaction Ratings | | +| `requestsPerMinute` | *Optional\* | :heavy_minus_sign: | The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. | | +| `sourceType` | [Freshdesk](../../models/shared/Freshdesk.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time. Any data created after this date will be replicated. If this parameter is not set, all data will be replicated. | 2020-12-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceFreshsales.md b/docs/models/shared/SourceFreshsales.md index 0a58201a4..5aa733217 100644 --- a/docs/models/shared/SourceFreshsales.md +++ b/docs/models/shared/SourceFreshsales.md @@ -7,4 +7,4 @@ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Freshsales API Key. See here. The key is case sensitive. | | | `domainName` | *String* | :heavy_check_mark: | The Name of your Freshsales domain | mydomain.myfreshworks.com | -| `sourceType` | [com.airbyte.api.models.shared.Freshsales](../../models/shared/Freshsales.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `sourceType` | [Freshsales](../../models/shared/Freshsales.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceFreshservice.md b/docs/models/shared/SourceFreshservice.md new file mode 100644 index 000000000..b80a68fb2 --- /dev/null +++ b/docs/models/shared/SourceFreshservice.md @@ -0,0 +1,11 @@ +# SourceFreshservice + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Freshservice API Key. See here. The key is case sensitive. | | +| `domainName` | *String* | :heavy_check_mark: | The name of your Freshservice domain | mydomain.freshservice.com | +| `sourceType` | [Freshservice](../../models/shared/Freshservice.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2020-10-01T00:00:00Z. Any data before this date will not be replicated. | 2020-10-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceFront.md b/docs/models/shared/SourceFront.md index d2a030382..365e91086 100644 --- a/docs/models/shared/SourceFront.md +++ b/docs/models/shared/SourceFront.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `pageLimit` | *Optional* | :heavy_minus_sign: | Page limit for the responses | -| `sourceType` | [com.airbyte.api.models.shared.Front](../../models/shared/Front.md) | :heavy_check_mark: | N/A | +| `pageLimit` | *Optional\* | :heavy_minus_sign: | Page limit for the responses | +| `sourceType` | [Front](../../models/shared/Front.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceFulcrum.md b/docs/models/shared/SourceFulcrum.md new file mode 100644 index 000000000..bdf6c927c --- /dev/null +++ b/docs/models/shared/SourceFulcrum.md @@ -0,0 +1,9 @@ +# SourceFulcrum + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://web.fulcrumapp.com/settings/api | +| `sourceType` | [Fulcrum](../../models/shared/Fulcrum.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGainsightPx.md b/docs/models/shared/SourceGainsightPx.md index 70a90a8f8..48013d656 100644 --- a/docs/models/shared/SourceGainsightPx.md +++ b/docs/models/shared/SourceGainsightPx.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | The Aptrinsic API Key which is recieved from the dashboard settings (ref - https://app.aptrinsic.com/settings/api-keys) | -| `sourceType` | [com.airbyte.api.models.shared.GainsightPx](../../models/shared/GainsightPx.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [GainsightPx](../../models/shared/GainsightPx.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGcs.md b/docs/models/shared/SourceGcs.md index 291253484..42c7dae89 100644 --- a/docs/models/shared/SourceGcs.md +++ b/docs/models/shared/SourceGcs.md @@ -10,7 +10,7 @@ legacy GCS configs into file based configs using the File-Based CDK. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `bucket` | *String* | :heavy_check_mark: | Name of the GCS bucket where the file(s) exist. | | -| `serviceAccount` | *String* | :heavy_check_mark: | Enter your Google Cloud service account key in JSON format | | -| `sourceType` | [com.airbyte.api.models.shared.SourceGcsGcs](../../models/shared/SourceGcsGcs.md) | :heavy_check_mark: | N/A | | +| `credentials` | [SourceGcsAuthentication](../../models/shared/SourceGcsAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the Google Cloud Storage API | | +| `sourceType` | [SourceGcsGcs](../../models/shared/SourceGcsGcs.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. | 2021-01-01T00:00:00.000000Z | -| `streams` | List<[com.airbyte.api.models.shared.SourceGcsFileBasedStreamConfig](../../models/shared/SourceGcsFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file +| `streams` | List\<[SourceGcsFileBasedStreamConfig](../../models/shared/SourceGcsFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsAuthType.md b/docs/models/shared/SourceGcsAuthType.md new file mode 100644 index 000000000..e3a86c07e --- /dev/null +++ b/docs/models/shared/SourceGcsAuthType.md @@ -0,0 +1,8 @@ +# SourceGcsAuthType + + +## Values + +| Name | Value | +| -------- | -------- | +| `CLIENT` | Client | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsAuthentication.md b/docs/models/shared/SourceGcsAuthentication.md new file mode 100644 index 000000000..95dca2cb7 --- /dev/null +++ b/docs/models/shared/SourceGcsAuthentication.md @@ -0,0 +1,4 @@ +# SourceGcsAuthentication + +Credentials for connecting to the Google Cloud Storage API + diff --git a/docs/models/shared/SourceGcsAutogenerated.md b/docs/models/shared/SourceGcsAutogenerated.md index 00be5f87b..a9007ed46 100644 --- a/docs/models/shared/SourceGcsAutogenerated.md +++ b/docs/models/shared/SourceGcsAutogenerated.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceGcsSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceGcsSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsAvroFormat.md b/docs/models/shared/SourceGcsAvroFormat.md index 9a445ec1f..7aa218ebf 100644 --- a/docs/models/shared/SourceGcsAvroFormat.md +++ b/docs/models/shared/SourceGcsAvroFormat.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `doubleAsString` | *Optional* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | -| `filetype` | [Optional](../../models/shared/SourceGcsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `doubleAsString` | *Optional\* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | +| `filetype` | [Optional\](../../models/shared/SourceGcsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsCSVFormat.md b/docs/models/shared/SourceGcsCSVFormat.md index 70d7fb96e..693c6a198 100644 --- a/docs/models/shared/SourceGcsCSVFormat.md +++ b/docs/models/shared/SourceGcsCSVFormat.md @@ -5,17 +5,17 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `delimiter` | *Optional* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | -| `doubleQuote` | *Optional* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | -| `encoding` | *Optional* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | -| `escapeChar` | *Optional* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | -| `falseValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | -| `filetype` | [Optional](../../models/shared/SourceGcsSchemasFiletype.md) | :heavy_minus_sign: | N/A | -| `headerDefinition` | [Optional](../../models/shared/SourceGcsCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | -| `ignoreErrorsOnFieldsMismatch` | *Optional* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | -| `nullValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | -| `quoteChar` | *Optional* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | -| `skipRowsAfterHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip after the header row. | -| `skipRowsBeforeHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | -| `stringsCanBeNull` | *Optional* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | -| `trueValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file +| `delimiter` | *Optional\* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | +| `doubleQuote` | *Optional\* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | +| `encoding` | *Optional\* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | +| `escapeChar` | *Optional\* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | +| `falseValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | +| `filetype` | [Optional\](../../models/shared/SourceGcsSchemasFiletype.md) | :heavy_minus_sign: | N/A | +| `headerDefinition` | [Optional\](../../models/shared/SourceGcsCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignoreErrorsOnFieldsMismatch` | *Optional\* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | +| `nullValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | +| `quoteChar` | *Optional\* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | +| `skipRowsAfterHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip after the header row. | +| `skipRowsBeforeHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | +| `stringsCanBeNull` | *Optional\* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | +| `trueValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsFileBasedStreamConfig.md b/docs/models/shared/SourceGcsFileBasedStreamConfig.md index 09383647a..f0c6271bb 100644 --- a/docs/models/shared/SourceGcsFileBasedStreamConfig.md +++ b/docs/models/shared/SourceGcsFileBasedStreamConfig.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `daysToSyncIfHistoryIsFull` | *Optional* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | -| `format` | [com.airbyte.api.models.shared.SourceGcsFormat](../../models/shared/SourceGcsFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | -| `globs` | List<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | -| `inputSchema` | *Optional* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | +| `daysToSyncIfHistoryIsFull` | *Optional\* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | +| `format` | [SourceGcsFormat](../../models/shared/SourceGcsFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | +| `globs` | List\<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | +| `inputSchema` | *Optional\* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | | `name` | *String* | :heavy_check_mark: | The name of the stream. | -| `recentNFilesToReadForSchemaDiscovery` | *Optional* | :heavy_minus_sign: | The number of resent files which will be used to discover the schema for this stream. | -| `schemaless` | *Optional* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | -| `validationPolicy` | [Optional](../../models/shared/SourceGcsValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file +| `recentNFilesToReadForSchemaDiscovery` | *Optional\* | :heavy_minus_sign: | The number of resent files which will be used to discover the schema for this stream. | +| `schemaless` | *Optional\* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | +| `validationPolicy` | [Optional\](../../models/shared/SourceGcsValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsFromCSV.md b/docs/models/shared/SourceGcsFromCSV.md index 07897907c..185ec0cf6 100644 --- a/docs/models/shared/SourceGcsFromCSV.md +++ b/docs/models/shared/SourceGcsFromCSV.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceGcsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceGcsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsJsonlFormat.md b/docs/models/shared/SourceGcsJsonlFormat.md index ec59b3a64..f7c06d286 100644 --- a/docs/models/shared/SourceGcsJsonlFormat.md +++ b/docs/models/shared/SourceGcsJsonlFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceGcsSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceGcsSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsLocal.md b/docs/models/shared/SourceGcsLocal.md index 1b2fc2fa9..5a9c82e9b 100644 --- a/docs/models/shared/SourceGcsLocal.md +++ b/docs/models/shared/SourceGcsLocal.md @@ -5,6 +5,6 @@ Process files locally, supporting `fast` and `ocr` modes. This is the default op ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/SourceGcsMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/SourceGcsMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsParquetFormat.md b/docs/models/shared/SourceGcsParquetFormat.md index 56da2e421..841f7ff3b 100644 --- a/docs/models/shared/SourceGcsParquetFormat.md +++ b/docs/models/shared/SourceGcsParquetFormat.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `decimalAsFloat` | *Optional* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | -| `filetype` | [Optional](../../models/shared/SourceGcsSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `decimalAsFloat` | *Optional\* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | +| `filetype` | [Optional\](../../models/shared/SourceGcsSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsSchemasAuthType.md b/docs/models/shared/SourceGcsSchemasAuthType.md new file mode 100644 index 000000000..acabc432a --- /dev/null +++ b/docs/models/shared/SourceGcsSchemasAuthType.md @@ -0,0 +1,8 @@ +# SourceGcsSchemasAuthType + + +## Values + +| Name | Value | +| --------- | --------- | +| `SERVICE` | Service | \ No newline at end of file diff --git a/docs/models/shared/SourceGcsUserProvided.md b/docs/models/shared/SourceGcsUserProvided.md index 3fb31859a..4e47aa129 100644 --- a/docs/models/shared/SourceGcsUserProvided.md +++ b/docs/models/shared/SourceGcsUserProvided.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `columnNames` | List<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | -| `headerDefinitionType` | [Optional](../../models/shared/SourceGcsSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `columnNames` | List\<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceGcsSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGetgist.md b/docs/models/shared/SourceGetgist.md new file mode 100644 index 000000000..75654e1ce --- /dev/null +++ b/docs/models/shared/SourceGetgist.md @@ -0,0 +1,9 @@ +# SourceGetgist + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it in the Integration Settings on your Gist dashboard at https://app.getgist.com/projects/_/settings/api-key. | +| `sourceType` | [Getgist](../../models/shared/Getgist.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGetlago.md b/docs/models/shared/SourceGetlago.md index d29646f7c..40df9a747 100644 --- a/docs/models/shared/SourceGetlago.md +++ b/docs/models/shared/SourceGetlago.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Your API Key. See here. | -| `apiUrl` | *Optional* | :heavy_minus_sign: | Your Lago API URL | -| `sourceType` | [com.airbyte.api.models.shared.Getlago](../../models/shared/Getlago.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `apiUrl` | *Optional\* | :heavy_minus_sign: | Your Lago API URL | +| `sourceType` | [Getlago](../../models/shared/Getlago.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGitbook.md b/docs/models/shared/SourceGitbook.md new file mode 100644 index 000000000..14b7561b5 --- /dev/null +++ b/docs/models/shared/SourceGitbook.md @@ -0,0 +1,10 @@ +# SourceGitbook + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Personal access token for authenticating with the GitBook API. You can view and manage your access tokens in the Developer settings of your GitBook user account. | +| `sourceType` | [Gitbook](../../models/shared/Gitbook.md) | :heavy_check_mark: | N/A | +| `spaceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGithub.md b/docs/models/shared/SourceGithub.md index eecb60c82..74c8ce413 100644 --- a/docs/models/shared/SourceGithub.md +++ b/docs/models/shared/SourceGithub.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `apiUrl` | *Optional* | :heavy_minus_sign: | Please enter your basic URL from self-hosted GitHub instance or leave it empty to use GitHub. | https://github.com | -| `branches` | List<*String*> | :heavy_minus_sign: | List of GitHub repository branches to pull commits for, e.g. `airbytehq/airbyte/master`. If no branches are specified for a repository, the default branch will be pulled. | airbytehq/airbyte/master | -| `credentials` | [com.airbyte.api.models.shared.SourceGithubAuthentication](../../models/shared/SourceGithubAuthentication.md) | :heavy_check_mark: | Choose how to authenticate to GitHub | | -| `maxWaitingTime` | *Optional* | :heavy_minus_sign: | Max Waiting Time for rate limit. Set higher value to wait till rate limits will be resetted to continue sync | 10 | -| `repositories` | List<*String*> | :heavy_check_mark: | List of GitHub organizations/repositories, e.g. `airbytehq/airbyte` for single repository, `airbytehq/*` for get all repositories from organization and `airbytehq/a* for matching multiple repositories by pattern. | airbytehq/airbyte | -| `sourceType` | [com.airbyte.api.models.shared.SourceGithubGithub](../../models/shared/SourceGithubGithub.md) | :heavy_check_mark: | N/A | | +| `apiUrl` | *Optional\* | :heavy_minus_sign: | Please enter your basic URL from self-hosted GitHub instance or leave it empty to use GitHub. | https://github.com | +| `branches` | List\<*String*> | :heavy_minus_sign: | List of GitHub repository branches to pull commits for, e.g. `airbytehq/airbyte/master`. If no branches are specified for a repository, the default branch will be pulled. | airbytehq/airbyte/master | +| `credentials` | [SourceGithubAuthentication](../../models/shared/SourceGithubAuthentication.md) | :heavy_check_mark: | Choose how to authenticate to GitHub | | +| `maxWaitingTime` | *Optional\* | :heavy_minus_sign: | Max Waiting Time for rate limit. Set higher value to wait till rate limits will be resetted to continue sync | 10 | +| `repositories` | List\<*String*> | :heavy_check_mark: | List of GitHub organizations/repositories, e.g. `airbytehq/airbyte` for single repository, `airbytehq/*` for get all repositories from organization and `airbytehq/a* for matching multiple repositories by pattern. | airbytehq/airbyte | +| `sourceType` | [SourceGithubGithub](../../models/shared/SourceGithubGithub.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date from which you'd like to replicate data from GitHub in the format YYYY-MM-DDT00:00:00Z. If the date is not set, all data will be replicated. For the streams which support this configuration, only data generated on or after the start date will be replicated. This field doesn't apply to all streams, see the docs for more info | 2021-03-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceGithubPersonalAccessToken.md b/docs/models/shared/SourceGithubPersonalAccessToken.md index e8817cef6..20eeb8f10 100644 --- a/docs/models/shared/SourceGithubPersonalAccessToken.md +++ b/docs/models/shared/SourceGithubPersonalAccessToken.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `optionTitle` | [Optional](../../models/shared/SourceGithubOptionTitle.md) | :heavy_minus_sign: | N/A | +| `optionTitle` | [Optional\](../../models/shared/SourceGithubOptionTitle.md) | :heavy_minus_sign: | N/A | | `personalAccessToken` | *String* | :heavy_check_mark: | Log into GitHub and then generate a personal access token. To load balance your API quota consumption across multiple API tokens, input multiple tokens separated with "," | \ No newline at end of file diff --git a/docs/models/shared/SourceGitlab.md b/docs/models/shared/SourceGitlab.md index 2731d6f01..939a7c212 100644 --- a/docs/models/shared/SourceGitlab.md +++ b/docs/models/shared/SourceGitlab.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiUrl` | *Optional* | :heavy_minus_sign: | Please enter your basic URL from GitLab instance. | gitlab.com | -| `credentials` | [com.airbyte.api.models.shared.SourceGitlabAuthorizationMethod](../../models/shared/SourceGitlabAuthorizationMethod.md) | :heavy_check_mark: | N/A | | -| `groupsList` | List<*String*> | :heavy_minus_sign: | List of groups. e.g. airbyte.io. | airbyte.io | -| `projectsList` | List<*String*> | :heavy_minus_sign: | Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab. | airbyte.io/documentation | -| `sourceType` | [com.airbyte.api.models.shared.SourceGitlabGitlab](../../models/shared/SourceGitlabGitlab.md) | :heavy_check_mark: | N/A | | +| `apiUrl` | *Optional\* | :heavy_minus_sign: | Please enter your basic URL from GitLab instance. | gitlab.com | +| `credentials` | [SourceGitlabAuthorizationMethod](../../models/shared/SourceGitlabAuthorizationMethod.md) | :heavy_check_mark: | N/A | | +| `groupsList` | List\<*String*> | :heavy_minus_sign: | List of groups. e.g. airbyte.io. | airbyte.io | +| `projectsList` | List\<*String*> | :heavy_minus_sign: | Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab. | airbyte.io/documentation | +| `sourceType` | [SourceGitlabGitlab](../../models/shared/SourceGitlabGitlab.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date from which you'd like to replicate data for GitLab API, in the format YYYY-MM-DDT00:00:00Z. Optional. If not set, all data will be replicated. All data generated after this date will be replicated. | 2021-03-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceGitlabOAuth20.md b/docs/models/shared/SourceGitlabOAuth20.md index 3c015a82c..5908d8b25 100644 --- a/docs/models/shared/SourceGitlabOAuth20.md +++ b/docs/models/shared/SourceGitlabOAuth20.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | -| `authType` | [Optional](../../models/shared/SourceGitlabAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The API ID of the Gitlab developer application. | -| `clientSecret` | *String* | :heavy_check_mark: | The API Secret the Gitlab developer application. | -| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access_token. | -| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | +| `authType` | [Optional\](../../models/shared/SourceGitlabAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The API ID of the Gitlab developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The API Secret the Gitlab developer application. | +| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access_token. | +| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file diff --git a/docs/models/shared/SourceGlassfrog.md b/docs/models/shared/SourceGlassfrog.md index 20a883bbe..3c01f8212 100644 --- a/docs/models/shared/SourceGlassfrog.md +++ b/docs/models/shared/SourceGlassfrog.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | API key provided by Glassfrog | -| `sourceType` | [com.airbyte.api.models.shared.Glassfrog](../../models/shared/Glassfrog.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key provided by Glassfrog | +| `sourceType` | [Glassfrog](../../models/shared/Glassfrog.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGmail.md b/docs/models/shared/SourceGmail.md new file mode 100644 index 000000000..be88ce7da --- /dev/null +++ b/docs/models/shared/SourceGmail.md @@ -0,0 +1,12 @@ +# SourceGmail + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `includeSpamAndTrash` | *Optional\* | :heavy_minus_sign: | Include drafts/messages from SPAM and TRASH in the results. Defaults to false. | +| `sourceType` | [Gmail](../../models/shared/Gmail.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGnews.md b/docs/models/shared/SourceGnews.md index a287068c7..b62689dfe 100644 --- a/docs/models/shared/SourceGnews.md +++ b/docs/models/shared/SourceGnews.md @@ -6,14 +6,14 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | API Key | | -| `country` | [Optional](../../models/shared/Country.md) | :heavy_minus_sign: | This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. | | -| `endDate` | *Optional* | :heavy_minus_sign: | This parameter allows you to filter the articles that have a publication date smaller than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) | 2022-08-21 16:27:09 | -| `in` | List<[com.airbyte.api.models.shared.In](../../models/shared/In.md)> | :heavy_minus_sign: | This parameter allows you to choose in which attributes the keywords are searched. The attributes that can be set are title, description and content. It is possible to combine several attributes. | | -| `language` | [Optional](../../models/shared/Language.md) | :heavy_minus_sign: | N/A | | -| `nullable` | List<[com.airbyte.api.models.shared.Nullable](../../models/shared/Nullable.md)> | :heavy_minus_sign: | This parameter allows you to specify the attributes that you allow to return null values. The attributes that can be set are title, description and content. It is possible to combine several attributes | | -| `query` | *String* | :heavy_check_mark: | This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by
    quotation marks are used to search for articles with the exact same keyword sequence.
    For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords.
    - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article
    search. By default the space character acts as an AND operator, it is possible to replace the space character
    by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft
    - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b.
    It is important to note that this operator has a higher precedence than the AND operator. For example the
    query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching
    the keyword Microsoft
    - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the
    specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes.
    For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword
    iPhone | Microsoft Windows 10 | -| `sortby` | [Optional](../../models/shared/SortBy.md) | :heavy_minus_sign: | This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible:
    - publishedAt = sort by publication date, the articles with the most recent publication date are returned first
    - relevance = sort by best match to keywords, the articles with the best match are returned first | | -| `sourceType` | [com.airbyte.api.models.shared.Gnews](../../models/shared/Gnews.md) | :heavy_check_mark: | N/A | | -| `startDate` | *Optional* | :heavy_minus_sign: | This parameter allows you to filter the articles that have a publication date greater than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) | 2022-08-21 16:27:09 | -| `topHeadlinesQuery` | *Optional* | :heavy_minus_sign: | This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by
    quotation marks are used to search for articles with the exact same keyword sequence.
    For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords.
    - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article
    search. By default the space character acts as an AND operator, it is possible to replace the space character
    by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft
    - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b.
    It is important to note that this operator has a higher precedence than the AND operator. For example the
    query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching
    the keyword Microsoft
    - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the
    specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes.
    For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword
    iPhone | Microsoft Windows 10 | -| `topHeadlinesTopic` | [Optional](../../models/shared/TopHeadlinesTopic.md) | :heavy_minus_sign: | This parameter allows you to change the category for the request. | | \ No newline at end of file +| `country` | [Optional\](../../models/shared/SourceGnewsCountry.md) | :heavy_minus_sign: | This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. | | +| `endDate` | *Optional\* | :heavy_minus_sign: | This parameter allows you to filter the articles that have a publication date smaller than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) | 2022-08-21 16:27:09 | +| `in` | List\<[In](../../models/shared/In.md)> | :heavy_minus_sign: | This parameter allows you to choose in which attributes the keywords are searched. The attributes that can be set are title, description and content. It is possible to combine several attributes. | | +| `language` | [Optional\](../../models/shared/SourceGnewsLanguage.md) | :heavy_minus_sign: | N/A | | +| `nullable` | List\<[Nullable](../../models/shared/Nullable.md)> | :heavy_minus_sign: | This parameter allows you to specify the attributes that you allow to return null values. The attributes that can be set are title, description and content. It is possible to combine several attributes | | +| `query` | *String* | :heavy_check_mark: | This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by
    quotation marks are used to search for articles with the exact same keyword
    sequence.
    For example the query: "Apple iPhone" will return articles matching at
    least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article
    search. By default the space character acts as an AND operator, it is
    possible to replace the space character
    by AND to obtain the same result. For example the query: Apple Microsoft
    is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b.
    It is important to note that this operator has a higher precedence than
    the AND operator. For example the
    query: Apple OR Microsoft will return all articles matching the keyword
    Apple as well as all articles matching
    the keyword Microsoft
    - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the
    specified keywords. To use it, you need to add NOT in front of each word
    or phrase surrounded by quotes.
    For example the query: Apple NOT iPhone will return all articles matching
    the keyword Apple but not the keyword
    iPhone | Microsoft Windows 10 | +| `sortby` | [Optional\](../../models/shared/SourceGnewsSortBy.md) | :heavy_minus_sign: | This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible:
    - publishedAt = sort by publication date, the articles with the most recent
    publication date are returned first
    - relevance = sort by best match to keywords, the articles with the best
    match are returned first | | +| `sourceType` | [Gnews](../../models/shared/Gnews.md) | :heavy_check_mark: | N/A | | +| `startDate` | *Optional\* | :heavy_minus_sign: | This parameter allows you to filter the articles that have a publication date greater than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) | 2022-08-21 16:27:09 | +| `topHeadlinesQuery` | *Optional\* | :heavy_minus_sign: | This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by
    quotation marks are used to search for articles with the exact same keyword
    sequence.
    For example the query: "Apple iPhone" will return articles matching at
    least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article
    search. By default the space character acts as an AND operator, it is
    possible to replace the space character
    by AND to obtain the same result. For example the query: Apple Microsoft
    is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b.
    It is important to note that this operator has a higher precedence than
    the AND operator. For example the
    query: Apple OR Microsoft will return all articles matching the keyword
    Apple as well as all articles matching
    the keyword Microsoft
    - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the
    specified keywords. To use it, you need to add NOT in front of each word
    or phrase surrounded by quotes.
    For example the query: Apple NOT iPhone will return all articles matching
    the keyword Apple but not the keyword
    iPhone | Microsoft Windows 10 | +| `topHeadlinesTopic` | [Optional\](../../models/shared/TopHeadlinesTopic.md) | :heavy_minus_sign: | This parameter allows you to change the category for the request. | | \ No newline at end of file diff --git a/docs/models/shared/SourceGnewsCountry.md b/docs/models/shared/SourceGnewsCountry.md new file mode 100644 index 000000000..db25edea8 --- /dev/null +++ b/docs/models/shared/SourceGnewsCountry.md @@ -0,0 +1,39 @@ +# SourceGnewsCountry + +This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. + + +## Values + +| Name | Value | +| ----- | ----- | +| `AU` | au | +| `BR` | br | +| `CA` | ca | +| `CN` | cn | +| `EG` | eg | +| `FR` | fr | +| `DE` | de | +| `GR` | gr | +| `HK` | hk | +| `IN` | in | +| `IE` | ie | +| `IL` | il | +| `IT` | it | +| `JP` | jp | +| `NL` | nl | +| `NO` | no | +| `PK` | pk | +| `PE` | pe | +| `PH` | ph | +| `PT` | pt | +| `RO` | ro | +| `RU` | ru | +| `SG` | sg | +| `ES` | es | +| `SE` | se | +| `CH` | ch | +| `TW` | tw | +| `UA` | ua | +| `GB` | gb | +| `US` | us | \ No newline at end of file diff --git a/docs/models/shared/SourceGnewsLanguage.md b/docs/models/shared/SourceGnewsLanguage.md new file mode 100644 index 000000000..851609716 --- /dev/null +++ b/docs/models/shared/SourceGnewsLanguage.md @@ -0,0 +1,29 @@ +# SourceGnewsLanguage + + +## Values + +| Name | Value | +| ----- | ----- | +| `AR` | ar | +| `ZH` | zh | +| `NL` | nl | +| `EN` | en | +| `FR` | fr | +| `DE` | de | +| `EL` | el | +| `HE` | he | +| `HI` | hi | +| `IT` | it | +| `JA` | ja | +| `ML` | ml | +| `MR` | mr | +| `NO` | no | +| `PT` | pt | +| `RO` | ro | +| `RU` | ru | +| `ES` | es | +| `SV` | sv | +| `TA` | ta | +| `TE` | te | +| `UK` | uk | \ No newline at end of file diff --git a/docs/models/shared/SourceGnewsSortBy.md b/docs/models/shared/SourceGnewsSortBy.md new file mode 100644 index 000000000..a18d311b1 --- /dev/null +++ b/docs/models/shared/SourceGnewsSortBy.md @@ -0,0 +1,15 @@ +# SourceGnewsSortBy + +This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: + - publishedAt = sort by publication date, the articles with the most recent +publication date are returned first + - relevance = sort by best match to keywords, the articles with the best +match are returned first + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `PUBLISHED_AT` | publishedAt | +| `RELEVANCE` | relevance | \ No newline at end of file diff --git a/docs/models/shared/SourceGocardless.md b/docs/models/shared/SourceGocardless.md new file mode 100644 index 000000000..8f371df3b --- /dev/null +++ b/docs/models/shared/SourceGocardless.md @@ -0,0 +1,12 @@ +# SourceGocardless + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Gocardless API TOKEN | | +| `gocardlessEnvironment` | [Optional\](../../models/shared/GoCardlessAPIEnvironment.md) | :heavy_minus_sign: | Environment you are trying to connect to. | | +| `gocardlessVersion` | *String* | :heavy_check_mark: | GoCardless version. This is a date. You can find the latest here:
    https://developer.gocardless.com/api-reference/#api-usage-making-requests
    | | +| `sourceType` | [Gocardless](../../models/shared/Gocardless.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data
    before this date will not be replicated.
    | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceGoldcast.md b/docs/models/shared/SourceGoldcast.md index 714a18f20..d0ff54782 100644 --- a/docs/models/shared/SourceGoldcast.md +++ b/docs/models/shared/SourceGoldcast.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `accessKey` | *String* | :heavy_check_mark: | Your API Access Key. See here. The key is case sensitive. | -| `sourceType` | [com.airbyte.api.models.shared.Goldcast](../../models/shared/Goldcast.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Goldcast](../../models/shared/Goldcast.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGong.md b/docs/models/shared/SourceGong.md new file mode 100644 index 000000000..0fa88c56c --- /dev/null +++ b/docs/models/shared/SourceGong.md @@ -0,0 +1,11 @@ +# SourceGong + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessKey` | *String* | :heavy_check_mark: | Gong Access Key | | +| `accessKeySecret` | *String* | :heavy_check_mark: | Gong Access Key Secret | | +| `sourceType` | [Gong](../../models/shared/Gong.md) | :heavy_check_mark: | N/A | | +| `startDate` | *Optional\* | :heavy_minus_sign: | The date from which to list calls, in the ISO-8601 format; if not specified, the calls start with the earliest recorded call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. | 2018-02-18T08:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAds.md b/docs/models/shared/SourceGoogleAds.md index 612eea43a..0331c8fc5 100644 --- a/docs/models/shared/SourceGoogleAds.md +++ b/docs/models/shared/SourceGoogleAds.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `conversionWindowDays` | *Optional* | :heavy_minus_sign: | A conversion window is the number of days after an ad interaction (such as an ad click or video view) during which a conversion, such as a purchase, is recorded in Google Ads. For more information, see Google's documentation. | 14 | -| `credentials` | [com.airbyte.api.models.shared.GoogleCredentials](../../models/shared/GoogleCredentials.md) | :heavy_check_mark: | N/A | | -| `customQueriesArray` | List<[com.airbyte.api.models.shared.CustomQueriesArray](../../models/shared/CustomQueriesArray.md)> | :heavy_minus_sign: | N/A | | -| `customerId` | *Optional* | :heavy_minus_sign: | Comma-separated list of (client) customer IDs. Each customer ID must be specified as a 10-digit number without dashes. For detailed instructions on finding this value, refer to our documentation. | 6783948572,5839201945 | -| `customerStatusFilter` | List<[com.airbyte.api.models.shared.CustomerStatus](../../models/shared/CustomerStatus.md)> | :heavy_minus_sign: | A list of customer statuses to filter on. For detailed info about what each status mean refer to Google Ads documentation. | | +| `conversionWindowDays` | *Optional\* | :heavy_minus_sign: | A conversion window is the number of days after an ad interaction (such as an ad click or video view) during which a conversion, such as a purchase, is recorded in Google Ads. For more information, see Google's documentation. | 14 | +| `credentials` | [GoogleCredentials](../../models/shared/GoogleCredentials.md) | :heavy_check_mark: | N/A | | +| `customQueriesArray` | List\<[CustomQueriesArray](../../models/shared/CustomQueriesArray.md)> | :heavy_minus_sign: | N/A | | +| `customerId` | *Optional\* | :heavy_minus_sign: | Comma-separated list of (client) customer IDs. Each customer ID must be specified as a 10-digit number without dashes. For detailed instructions on finding this value, refer to our documentation. | 6783948572,5839201945 | +| `customerStatusFilter` | List\<[CustomerStatus](../../models/shared/CustomerStatus.md)> | :heavy_minus_sign: | A list of customer statuses to filter on. For detailed info about what each status mean refer to Google Ads documentation. | | | `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | UTC date in the format YYYY-MM-DD. Any data after this date will not be replicated. (Default value of today is used if not set) | 2017-01-30 | -| `sourceType` | [com.airbyte.api.models.shared.SourceGoogleAdsGoogleAds](../../models/shared/SourceGoogleAdsGoogleAds.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [SourceGoogleAdsGoogleAds](../../models/shared/SourceGoogleAdsGoogleAds.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. (Default value of two years ago is used if not set) | 2017-01-25 | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApi.md b/docs/models/shared/SourceGoogleAnalyticsDataApi.md index e83b0ff73..f4d3e9096 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApi.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApi.md @@ -5,12 +5,12 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `convertConversionsEvent` | *Optional* | :heavy_minus_sign: | Enables conversion of `conversions:*` event metrics from integers to floats. This is beneficial for preventing data rounding when the API returns float values for any `conversions:*` fields. | | -| `credentials` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiCredentials.md) | :heavy_minus_sign: | Credentials for the service | | -| `customReportsArray` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiCustomReportConfig](../../models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.md)> | :heavy_minus_sign: | You can add your Custom Analytics report by creating one. | | +| `convertConversionsEvent` | *Optional\* | :heavy_minus_sign: | Enables conversion of `conversions:*` event metrics from integers to floats. This is beneficial for preventing data rounding when the API returns float values for any `conversions:*` fields. | | +| `credentials` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiCredentials.md) | :heavy_minus_sign: | Credentials for the service | | +| `customReportsArray` | List\<[SourceGoogleAnalyticsDataApiCustomReportConfig](../../models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.md)> | :heavy_minus_sign: | You can add your Custom Analytics report by creating one. | | | `dateRangesStartDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The start date from which to replicate report data in the format YYYY-MM-DD. Data generated before this date will not be included in the report. Not applied to custom Cohort reports. | 2021-01-01 | -| `keepEmptyRows` | *Optional* | :heavy_minus_sign: | If false, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter. More information is available in the documentation. | | -| `lookbackWindow` | *Optional* | :heavy_minus_sign: | Since attribution changes after the event date, and Google Analytics has a data processing latency, we should specify how many days in the past we should refresh the data in every run. So if you set it at 5 days, in every sync it will fetch the last bookmark date minus 5 days. | 2 | -| `propertyIds` | List<*String*> | :heavy_check_mark: | A list of your Property IDs. The Property ID is a unique number assigned to each property in Google Analytics, found in your GA4 property URL. This ID allows the connector to track the specific events associated with your property. Refer to the Google Analytics documentation to locate your property ID. | [
    "1738294",
    "5729978930"
    ] | -| `sourceType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi](../../models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.md) | :heavy_check_mark: | N/A | | -| `windowInDays` | *Optional* | :heavy_minus_sign: | The interval in days for each data request made to the Google Analytics API. A larger value speeds up data sync, but increases the chance of data sampling, which may result in inaccuracies. We recommend a value of 1 to minimize sampling, unless speed is an absolute priority over accuracy. Acceptable values range from 1 to 364. Does not apply to custom Cohort reports. More information is available in the documentation. | 30 | \ No newline at end of file +| `keepEmptyRows` | *Optional\* | :heavy_minus_sign: | If false, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter. More information is available in the documentation. | | +| `lookbackWindow` | *Optional\* | :heavy_minus_sign: | Since attribution changes after the event date, and Google Analytics has a data processing latency, we should specify how many days in the past we should refresh the data in every run. So if you set it at 5 days, in every sync it will fetch the last bookmark date minus 5 days. | 2 | +| `propertyIds` | List\<*String*> | :heavy_check_mark: | A list of your Property IDs. The Property ID is a unique number assigned to each property in Google Analytics, found in your GA4 property URL. This ID allows the connector to track the specific events associated with your property. Refer to the Google Analytics documentation to locate your property ID. | [
    "1738294",
    "5729978930"
    ] | +| `sourceType` | [SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi](../../models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.md) | :heavy_check_mark: | N/A | | +| `windowInDays` | *Optional\* | :heavy_minus_sign: | The interval in days for each data request made to the Google Analytics API. A larger value speeds up data sync, but increases the chance of data sampling, which may result in inaccuracies. We recommend a value of 1 to minimize sampling, unless speed is an absolute priority over accuracy. Acceptable values range from 1 to 364. Does not apply to custom Cohort reports. More information is available in the documentation. | 30 | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiAndGroup.md b/docs/models/shared/SourceGoogleAnalyticsDataApiAndGroup.md index 9b68f83e4..6a25fe13c 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiAndGroup.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiAndGroup.md @@ -5,7 +5,7 @@ The FilterExpressions in andGroup have an AND relationship. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `expressions` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.md)> | :heavy_check_mark: | N/A | -| `filterType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `expressions` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.md)> | :heavy_check_mark: | N/A | +| `filterType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.md b/docs/models/shared/SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.md new file mode 100644 index 000000000..58fafbcf6 --- /dev/null +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.md @@ -0,0 +1,12 @@ +# SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *Optional\* | :heavy_minus_sign: | Access Token for making authenticated requests. | +| `authType` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Google Analytics developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Google Analytics developer application. | +| `refreshToken` | *String* | :heavy_check_mark: | The token for obtaining a new access token. | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.md index ba9291b70..2a9e67776 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.md) | :heavy_check_mark: | N/A | -| `fromValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiFromValue](../../models/shared/SourceGoogleAnalyticsDataApiFromValue.md) | :heavy_check_mark: | N/A | -| `toValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiToValue](../../models/shared/SourceGoogleAnalyticsDataApiToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.md) | :heavy_check_mark: | N/A | +| `fromValue` | [SourceGoogleAnalyticsDataApiFromValue](../../models/shared/SourceGoogleAnalyticsDataApiFromValue.md) | :heavy_check_mark: | N/A | +| `toValue` | [SourceGoogleAnalyticsDataApiToValue](../../models/shared/SourceGoogleAnalyticsDataApiToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.md b/docs/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.md index 2df4adf9f..dd248ae6f 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `cohortSpec` | [Optional](../../models/shared/CohortReports.md) | :heavy_minus_sign: | Cohort reports creates a time series of user retention for the cohort. | -| `dimensionFilter` | [Optional](../../models/shared/DimensionsFilter.md) | :heavy_minus_sign: | Dimensions filter | -| `dimensions` | List<*String*> | :heavy_check_mark: | A list of dimensions. | -| `metricFilter` | [Optional](../../models/shared/MetricsFilter.md) | :heavy_minus_sign: | Metrics filter | -| `metrics` | List<*String*> | :heavy_check_mark: | A list of metrics. | -| `name` | *String* | :heavy_check_mark: | The name of the custom report, this name would be used as stream name. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `cohortSpec` | [Optional\](../../models/shared/CohortReports.md) | :heavy_minus_sign: | Cohort reports creates a time series of user retention for the cohort. | +| `dimensionFilter` | [Optional\](../../models/shared/DimensionsFilter.md) | :heavy_minus_sign: | Dimensions filter | +| `dimensions` | List\<*String*> | :heavy_check_mark: | A list of dimensions. | +| `metricFilter` | [Optional\](../../models/shared/MetricsFilter.md) | :heavy_minus_sign: | Metrics filter | +| `metrics` | List\<*String*> | :heavy_check_mark: | A list of metrics. | +| `name` | *String* | :heavy_check_mark: | The name of the custom report, this name would be used as stream name. | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiDisabled.md b/docs/models/shared/SourceGoogleAnalyticsDataApiDisabled.md index fd22445ac..a8a831010 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiDisabled.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiDisabled.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -| `enabled` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiEnabled.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `enabled` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiEnabled.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.md index 04c6c44eb..29c4d2b54 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiExpression.md b/docs/models/shared/SourceGoogleAnalyticsDataApiExpression.md index 8c8568799..b862dca8a 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiExpression.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiExpression.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fieldName` | *String* | :heavy_check_mark: | N/A | -| `filter` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `fieldName` | *String* | :heavy_check_mark: | N/A | +| `filter` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiFilter.md index 5b7b18052..e9948330e 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiFilter.md @@ -5,8 +5,8 @@ A primitive filter. In the same FilterExpression, all of the filter's field name ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fieldName` | *String* | :heavy_check_mark: | N/A | -| `filter` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.md) | :heavy_check_mark: | N/A | -| `filterType` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `fieldName` | *String* | :heavy_check_mark: | N/A | +| `filter` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.md) | :heavy_check_mark: | N/A | +| `filterType` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiInListFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiInListFilter.md index badef0676..7c6429d2f 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiInListFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiInListFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.md) | :heavy_check_mark: | N/A | -| `values` | List<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.md) | :heavy_check_mark: | N/A | +| `values` | List\<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiInt64Value.md index 93a75c4a7..af68ba0a7 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiNotExpression.md b/docs/models/shared/SourceGoogleAnalyticsDataApiNotExpression.md index c1b526d3c..93effdffe 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiNotExpression.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiNotExpression.md @@ -5,7 +5,7 @@ The FilterExpression is NOT of notExpression. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `expression` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.md) | :heavy_minus_sign: | N/A | -| `filterType` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `expression` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.md) | :heavy_minus_sign: | N/A | +| `filterType` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.md index 52547c9ea..bac64cc11 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.md) | :heavy_check_mark: | N/A | -| `operation` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.md)> | :heavy_check_mark: | N/A | -| `value` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiValue](../../models/shared/SourceGoogleAnalyticsDataApiValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.md) | :heavy_check_mark: | N/A | +| `operation` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.md)> | :heavy_check_mark: | N/A | +| `value` | [SourceGoogleAnalyticsDataApiValue](../../models/shared/SourceGoogleAnalyticsDataApiValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiOrGroup.md b/docs/models/shared/SourceGoogleAnalyticsDataApiOrGroup.md index 0c490b02e..0f4f43578 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiOrGroup.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiOrGroup.md @@ -5,7 +5,7 @@ The FilterExpressions in orGroup have an OR relationship. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `expressions` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.md)> | :heavy_check_mark: | N/A | -| `filterType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `expressions` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.md)> | :heavy_check_mark: | N/A | +| `filterType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.md index 8998709ae..45b5426e3 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.md) | :heavy_check_mark: | N/A | -| `fromValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.md) | :heavy_check_mark: | N/A | -| `toValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.md) | :heavy_check_mark: | N/A | +| `fromValue` | [SourceGoogleAnalyticsDataApiSchemasFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.md) | :heavy_check_mark: | N/A | +| `toValue` | [SourceGoogleAnalyticsDataApiSchemasToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.md index cb3ce5c39..dc271509b 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.md) | :heavy_check_mark: | N/A | -| `fromValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.md) | :heavy_check_mark: | N/A | -| `toValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.md) | :heavy_check_mark: | N/A | +| `fromValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.md) | :heavy_check_mark: | N/A | +| `toValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.md index fd9b41e34..8b09b48f3 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.md) | :heavy_check_mark: | N/A | -| `fromValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.md) | :heavy_check_mark: | N/A | -| `toValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.md) | :heavy_check_mark: | N/A | +| `fromValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.md) | :heavy_check_mark: | N/A | +| `toValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.md index ed42c263a..daa2eb8ac 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.md index 2a318f599..45527f2c4 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.md index f58c0f924..195cc180e 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.md index c61074076..480928ae8 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.md index ac5914239..e28fd20eb 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.md index 7f5f23076..7019ed464 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.md index 64adb3aa8..0a864fdaa 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.md index bab69cd6a..562f54312 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.md index 66c18027b..3d5206b90 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.md index c2efdf3ae..c077113ad 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.md index 8bdd1d9e0..80b5fdc49 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.md index f3611dafe..5bd318dfd 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.md index da7b63e2a..797095d29 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.md index 3a9f0c12d..fb9183433 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.md index 09ce9307a..306ae8abf 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.md index 3242cb63a..89cc90665 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.md index 5fdfddbaa..dd1240316 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.md index 9f6ec6281..e0aeceb5e 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.md) | :heavy_check_mark: | N/A | -| `values` | List<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.md) | :heavy_check_mark: | N/A | +| `values` | List\<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.md index 82d68ce0f..e08540d6d 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.md index 73d461515..8453e568e 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.md) | :heavy_check_mark: | N/A | -| `operation` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.md)> | :heavy_check_mark: | N/A | -| `value` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.md) | :heavy_check_mark: | N/A | +| `operation` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.md)> | :heavy_check_mark: | N/A | +| `value` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.md index 97940d179..01e05558b 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.md) | :heavy_check_mark: | N/A | -| `matchType` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.md)> | :heavy_minus_sign: | N/A | -| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.md) | :heavy_check_mark: | N/A | +| `matchType` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.md)> | :heavy_minus_sign: | N/A | +| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.md index ee6c87ead..16fc4c5ff 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.md index f4834c417..b0b5e1428 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fieldName` | *String* | :heavy_check_mark: | N/A | -| `filter` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `fieldName` | *String* | :heavy_check_mark: | N/A | +| `filter` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.md index 1b1c5469a..c43ad1625 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.md) | :heavy_check_mark: | N/A | -| `values` | List<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.md) | :heavy_check_mark: | N/A | +| `values` | List\<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.md index 7207d679f..2e4a6f8b9 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.md index 096774334..fe0e9db44 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.md) | :heavy_check_mark: | N/A | -| `fromValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.md) | :heavy_check_mark: | N/A | -| `toValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.md) | :heavy_check_mark: | N/A | +| `fromValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.md) | :heavy_check_mark: | N/A | +| `toValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.md index f759131ae..2bc13b5b6 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.md index e485273cc..e55086210 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fieldName` | *String* | :heavy_check_mark: | N/A | -| `filter` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `fieldName` | *String* | :heavy_check_mark: | N/A | +| `filter` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.md index 589d84ddc..3c5276ab3 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.md) | :heavy_check_mark: | N/A | -| `values` | List<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.md) | :heavy_check_mark: | N/A | +| `values` | List\<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.md index d4f623831..2b970ba4b 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.md index 04a5b6a6e..c4f577040 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.md index 07c19ca4c..952d42094 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.md index 02aa7f027..f9ff9015a 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.md index 190a426da..6eaa05c33 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.md index 527073a3a..c8142a384 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.md index 0c22df98c..931d8b3f3 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.md index 98c98dbbc..71abddd82 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.md index 8ab0082c9..fd6016931 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.md index acde662d8..bba6157dd 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.md index a72099218..fe2ac0779 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.md index e55734398..b77b191a6 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.md index a4cc42e49..234e0c70a 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.md index 0d9fc8851..39c013a27 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.md) | :heavy_check_mark: | N/A | -| `fromValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.md) | :heavy_check_mark: | N/A | -| `toValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.md) | :heavy_check_mark: | N/A | +| `fromValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.md) | :heavy_check_mark: | N/A | +| `toValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.md index 20cd91d47..59e6fafa8 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.md index 998cb03d3..f6753d7cd 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.md index 50dc66744..0bceaa6eb 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.md index 891be6280..c725e03e9 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.md index d41331d6a..1802443dd 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.md index f0fd4c3d0..68f64e55c 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.md) | :heavy_check_mark: | N/A | -| `values` | List<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.md) | :heavy_check_mark: | N/A | +| `values` | List\<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.md index 524db724d..c6866c2f6 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.md index fa6b01735..dd03b09f8 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName.md) | :heavy_check_mark: | N/A | -| `operation` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums.md)> | :heavy_check_mark: | N/A | -| `value` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName.md) | :heavy_check_mark: | N/A | +| `operation` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums.md)> | :heavy_check_mark: | N/A | +| `value` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.md index fa83f0595..f008fa1ba 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.md) | :heavy_check_mark: | N/A | -| `matchType` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.md)> | :heavy_minus_sign: | N/A | -| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.md) | :heavy_check_mark: | N/A | +| `matchType` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.md)> | :heavy_minus_sign: | N/A | +| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.md index 356d300f8..1a58f8703 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.md) | :heavy_check_mark: | N/A | -| `fromValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.md) | :heavy_check_mark: | N/A | -| `toValue` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.md) | :heavy_check_mark: | N/A | +| `fromValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.md) | :heavy_check_mark: | N/A | +| `toValue` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.md index f23f2d309..ddd8b057b 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.md index 80edb758b..8668ae3f3 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fieldName` | *String* | :heavy_check_mark: | N/A | -| `filter` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `fieldName` | *String* | :heavy_check_mark: | N/A | +| `filter` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.md index be5d6473a..4094775eb 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.md) | :heavy_check_mark: | N/A | -| `values` | List<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.md) | :heavy_check_mark: | N/A | +| `values` | List\<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.md index 52d14ad6a..2ca788d43 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.md index be249fdf9..e89eac9bf 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.md) | :heavy_check_mark: | N/A | -| `operation` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.md)> | :heavy_check_mark: | N/A | -| `value` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.md) | :heavy_check_mark: | N/A | +| `operation` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.md)> | :heavy_check_mark: | N/A | +| `value` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.md index 128e132c6..efeece3e8 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.md) | :heavy_check_mark: | N/A | -| `matchType` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.md)> | :heavy_minus_sign: | N/A | -| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.md) | :heavy_check_mark: | N/A | +| `matchType` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.md)> | :heavy_minus_sign: | N/A | +| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.md index 52b24a16b..c6b7f1ef0 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.md) | :heavy_check_mark: | N/A | -| `operation` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums.md)> | :heavy_check_mark: | N/A | -| `value` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.md) | :heavy_check_mark: | N/A | +| `operation` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums.md)> | :heavy_check_mark: | N/A | +| `value` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.md index a0e9e4435..16242a997 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.md) | :heavy_check_mark: | N/A | -| `matchType` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.md)> | :heavy_minus_sign: | N/A | -| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.md) | :heavy_check_mark: | N/A | +| `matchType` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.md)> | :heavy_minus_sign: | N/A | +| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.md index 2dbf9c309..4ce6dc95f 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName.md) | :heavy_check_mark: | N/A | -| `operation` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums.md)> | :heavy_check_mark: | N/A | -| `value` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName.md) | :heavy_check_mark: | N/A | +| `operation` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums.md)> | :heavy_check_mark: | N/A | +| `value` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.md index 73e4a19c1..83e5086c5 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName.md) | :heavy_check_mark: | N/A | -| `matchType` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums.md)> | :heavy_minus_sign: | N/A | -| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName.md) | :heavy_check_mark: | N/A | +| `matchType` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums.md)> | :heavy_minus_sign: | N/A | +| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.md index 24563422a..f343d243d 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *double* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *double* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.md index 6a82f9444..c5bd71623 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cohortReportSettings` | [Optional](../../models/shared/CohortReportSettings.md) | :heavy_minus_sign: | Optional settings for a cohort report. | -| `cohorts` | List<[com.airbyte.api.models.shared.Cohorts](../../models/shared/Cohorts.md)> | :heavy_minus_sign: | N/A | -| `cohortsRange` | [Optional](../../models/shared/CohortsRange.md) | :heavy_minus_sign: | N/A | -| `enabled` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `cohortReportSettings` | [Optional\](../../models/shared/CohortReportSettings.md) | :heavy_minus_sign: | Optional settings for a cohort report. | +| `cohorts` | List\<[Cohorts](../../models/shared/Cohorts.md)> | :heavy_minus_sign: | N/A | +| `cohortsRange` | [Optional\](../../models/shared/CohortsRange.md) | :heavy_minus_sign: | N/A | +| `enabled` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.md index 92f233998..7e0787971 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fieldName` | *String* | :heavy_check_mark: | N/A | -| `filter` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `fieldName` | *String* | :heavy_check_mark: | N/A | +| `filter` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.md index fb9bf9f4e..978fdff3a 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.md @@ -5,8 +5,8 @@ A primitive filter. In the same FilterExpression, all of the filter's field name ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fieldName` | *String* | :heavy_check_mark: | N/A | -| `filter` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.md) | :heavy_check_mark: | N/A | -| `filterType` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `fieldName` | *String* | :heavy_check_mark: | N/A | +| `filter` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.md) | :heavy_check_mark: | N/A | +| `filterType` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.md index 2c81ba1fc..0681b35b5 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.md) | :heavy_check_mark: | N/A | -| `values` | List<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.md) | :heavy_check_mark: | N/A | +| `values` | List\<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.md index e6e7af9b1..43d025c88 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `value` | *String* | :heavy_check_mark: | N/A | -| `valueType` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | *String* | :heavy_check_mark: | N/A | +| `valueType` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.md index e2bf60f54..20d127920 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.md) | :heavy_check_mark: | N/A | -| `operation` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.md)> | :heavy_check_mark: | N/A | -| `value` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.md) | :heavy_check_mark: | N/A | +| `operation` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.md)> | :heavy_check_mark: | N/A | +| `value` | [SourceGoogleAnalyticsDataApiSchemasValue](../../models/shared/SourceGoogleAnalyticsDataApiSchemasValue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.md index f137dbf09..ef7ffeb58 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.md) | :heavy_check_mark: | N/A | -| `matchType` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.md)> | :heavy_minus_sign: | N/A | -| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.md) | :heavy_check_mark: | N/A | +| `matchType` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.md)> | :heavy_minus_sign: | N/A | +| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.md b/docs/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.md index 98cc916a8..bc2f0d8bb 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.md) | :heavy_minus_sign: | N/A | | +| `authType` | [Optional\](../../models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.md) | :heavy_minus_sign: | N/A | | | `credentialsJson` | *String* | :heavy_check_mark: | The JSON key linked to the service account used for authorization. For steps on obtaining this key, refer to the setup guide. | { "type": "service_account", "project_id": YOUR_PROJECT_ID, "private_key_id": YOUR_PRIVATE_KEY, ... } | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleAnalyticsDataApiStringFilter.md b/docs/models/shared/SourceGoogleAnalyticsDataApiStringFilter.md index aa1aca011..67f5d0c47 100644 --- a/docs/models/shared/SourceGoogleAnalyticsDataApiStringFilter.md +++ b/docs/models/shared/SourceGoogleAnalyticsDataApiStringFilter.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.md) | :heavy_check_mark: | N/A | -| `matchType` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.md)> | :heavy_minus_sign: | N/A | -| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.md) | :heavy_check_mark: | N/A | +| `matchType` | List\<[SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.md)> | :heavy_minus_sign: | N/A | +| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleCalendar.md b/docs/models/shared/SourceGoogleCalendar.md new file mode 100644 index 000000000..bb2394585 --- /dev/null +++ b/docs/models/shared/SourceGoogleCalendar.md @@ -0,0 +1,12 @@ +# SourceGoogleCalendar + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `calendarid` | *String* | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken2` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [GoogleCalendar](../../models/shared/GoogleCalendar.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleClassroom.md b/docs/models/shared/SourceGoogleClassroom.md new file mode 100644 index 000000000..a784463f1 --- /dev/null +++ b/docs/models/shared/SourceGoogleClassroom.md @@ -0,0 +1,11 @@ +# SourceGoogleClassroom + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [GoogleClassroom](../../models/shared/GoogleClassroom.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDirectory.md b/docs/models/shared/SourceGoogleDirectory.md index 7bbf8f75d..ddfc99816 100644 --- a/docs/models/shared/SourceGoogleDirectory.md +++ b/docs/models/shared/SourceGoogleDirectory.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `credentials` | [Optional](../../models/shared/SourceGoogleDirectoryGoogleCredentials.md) | :heavy_minus_sign: | Google APIs use the OAuth 2.0 protocol for authentication and authorization. The Source supports Web server application and Service accounts scenarios. | -| `sourceType` | [com.airbyte.api.models.shared.GoogleDirectory](../../models/shared/GoogleDirectory.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `credentials` | [Optional\](../../models/shared/SourceGoogleDirectoryGoogleCredentials.md) | :heavy_minus_sign: | Google APIs use the OAuth 2.0 protocol for authentication and authorization. The Source supports Web server application and Service accounts scenarios. | +| `sourceType` | [GoogleDirectory](../../models/shared/GoogleDirectory.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDrive.md b/docs/models/shared/SourceGoogleDrive.md index a441a4244..350060dc7 100644 --- a/docs/models/shared/SourceGoogleDrive.md +++ b/docs/models/shared/SourceGoogleDrive.md @@ -8,8 +8,8 @@ that are needed when users configure a file-based source. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SourceGoogleDriveAuthentication](../../models/shared/SourceGoogleDriveAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the Google Drive API | | +| `credentials` | [SourceGoogleDriveAuthentication](../../models/shared/SourceGoogleDriveAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the Google Drive API | | | `folderUrl` | *String* | :heavy_check_mark: | URL for the folder you want to sync. Using individual streams and glob patterns, it's possible to only sync a subset of all files located in the folder. | https://drive.google.com/drive/folders/1Xaz0vXXXX2enKnNYU5qSt9NS70gvMyYn | -| `sourceType` | [com.airbyte.api.models.shared.SourceGoogleDriveGoogleDrive](../../models/shared/SourceGoogleDriveGoogleDrive.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [SourceGoogleDriveGoogleDrive](../../models/shared/SourceGoogleDriveGoogleDrive.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. | 2021-01-01T00:00:00.000000Z | -| `streams` | List<[com.airbyte.api.models.shared.SourceGoogleDriveFileBasedStreamConfig](../../models/shared/SourceGoogleDriveFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file +| `streams` | List\<[SourceGoogleDriveFileBasedStreamConfig](../../models/shared/SourceGoogleDriveFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.md b/docs/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.md index f2a5f695a..15b68f869 100644 --- a/docs/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.md +++ b/docs/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceGoogleDriveAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | Client ID for the Google Drive API | -| `clientSecret` | *String* | :heavy_check_mark: | Client Secret for the Google Drive API | -| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token for the Google Drive API | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceGoogleDriveAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | Client ID for the Google Drive API | +| `clientSecret` | *String* | :heavy_check_mark: | Client Secret for the Google Drive API | +| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token for the Google Drive API | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveAutogenerated.md b/docs/models/shared/SourceGoogleDriveAutogenerated.md index b43e8ad0b..6a280894f 100644 --- a/docs/models/shared/SourceGoogleDriveAutogenerated.md +++ b/docs/models/shared/SourceGoogleDriveAutogenerated.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveAvroFormat.md b/docs/models/shared/SourceGoogleDriveAvroFormat.md index fc2399636..2363b70b3 100644 --- a/docs/models/shared/SourceGoogleDriveAvroFormat.md +++ b/docs/models/shared/SourceGoogleDriveAvroFormat.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `doubleAsString` | *Optional* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | -| `filetype` | [Optional](../../models/shared/SourceGoogleDriveFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `doubleAsString` | *Optional\* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | +| `filetype` | [Optional\](../../models/shared/SourceGoogleDriveFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveCSVFormat.md b/docs/models/shared/SourceGoogleDriveCSVFormat.md index 56b8c6522..d441b30af 100644 --- a/docs/models/shared/SourceGoogleDriveCSVFormat.md +++ b/docs/models/shared/SourceGoogleDriveCSVFormat.md @@ -5,17 +5,17 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `delimiter` | *Optional* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | -| `doubleQuote` | *Optional* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | -| `encoding` | *Optional* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | -| `escapeChar` | *Optional* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | -| `falseValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | -| `filetype` | [Optional](../../models/shared/SourceGoogleDriveSchemasFiletype.md) | :heavy_minus_sign: | N/A | -| `headerDefinition` | [Optional](../../models/shared/SourceGoogleDriveCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | -| `ignoreErrorsOnFieldsMismatch` | *Optional* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | -| `nullValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | -| `quoteChar` | *Optional* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | -| `skipRowsAfterHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip after the header row. | -| `skipRowsBeforeHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | -| `stringsCanBeNull` | *Optional* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | -| `trueValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file +| `delimiter` | *Optional\* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | +| `doubleQuote` | *Optional\* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | +| `encoding` | *Optional\* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | +| `escapeChar` | *Optional\* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | +| `falseValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | +| `filetype` | [Optional\](../../models/shared/SourceGoogleDriveSchemasFiletype.md) | :heavy_minus_sign: | N/A | +| `headerDefinition` | [Optional\](../../models/shared/SourceGoogleDriveCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignoreErrorsOnFieldsMismatch` | *Optional\* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | +| `nullValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | +| `quoteChar` | *Optional\* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | +| `skipRowsAfterHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip after the header row. | +| `skipRowsBeforeHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | +| `stringsCanBeNull` | *Optional\* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | +| `trueValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.md b/docs/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.md index ecab5085d..896311092 100644 --- a/docs/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.md +++ b/docs/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.md @@ -7,7 +7,7 @@ Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one rec | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | -| `processing` | [Optional](../../models/shared/SourceGoogleDriveProcessing.md) | :heavy_minus_sign: | Processing configuration | -| `skipUnprocessableFiles` | *Optional* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | -| `strategy` | [Optional](../../models/shared/SourceGoogleDriveParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file +| `filetype` | [Optional\](../../models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | +| `processing` | [Optional\](../../models/shared/SourceGoogleDriveProcessing.md) | :heavy_minus_sign: | Processing configuration | +| `skipUnprocessableFiles` | *Optional\* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | +| `strategy` | [Optional\](../../models/shared/SourceGoogleDriveParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveFileBasedStreamConfig.md b/docs/models/shared/SourceGoogleDriveFileBasedStreamConfig.md index a36f3decb..354b5ed45 100644 --- a/docs/models/shared/SourceGoogleDriveFileBasedStreamConfig.md +++ b/docs/models/shared/SourceGoogleDriveFileBasedStreamConfig.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `daysToSyncIfHistoryIsFull` | *Optional* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | -| `format` | [com.airbyte.api.models.shared.SourceGoogleDriveFormat](../../models/shared/SourceGoogleDriveFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | -| `globs` | List<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | -| `inputSchema` | *Optional* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | +| `daysToSyncIfHistoryIsFull` | *Optional\* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | +| `format` | [SourceGoogleDriveFormat](../../models/shared/SourceGoogleDriveFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | +| `globs` | List\<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | +| `inputSchema` | *Optional\* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | | `name` | *String* | :heavy_check_mark: | The name of the stream. | -| `schemaless` | *Optional* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | -| `validationPolicy` | [Optional](../../models/shared/SourceGoogleDriveValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file +| `schemaless` | *Optional\* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | +| `validationPolicy` | [Optional\](../../models/shared/SourceGoogleDriveValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveFromCSV.md b/docs/models/shared/SourceGoogleDriveFromCSV.md index fd2e15877..b5a6c6e04 100644 --- a/docs/models/shared/SourceGoogleDriveFromCSV.md +++ b/docs/models/shared/SourceGoogleDriveFromCSV.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceGoogleDriveHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceGoogleDriveHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveJsonlFormat.md b/docs/models/shared/SourceGoogleDriveJsonlFormat.md index 25c4f7d21..7257ff2a3 100644 --- a/docs/models/shared/SourceGoogleDriveJsonlFormat.md +++ b/docs/models/shared/SourceGoogleDriveJsonlFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceGoogleDriveSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceGoogleDriveSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveLocal.md b/docs/models/shared/SourceGoogleDriveLocal.md index 5441f3807..eb5864138 100644 --- a/docs/models/shared/SourceGoogleDriveLocal.md +++ b/docs/models/shared/SourceGoogleDriveLocal.md @@ -5,6 +5,6 @@ Process files locally, supporting `fast` and `ocr` modes. This is the default op ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/SourceGoogleDriveMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/SourceGoogleDriveMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveParquetFormat.md b/docs/models/shared/SourceGoogleDriveParquetFormat.md index 3a28edfe4..529847804 100644 --- a/docs/models/shared/SourceGoogleDriveParquetFormat.md +++ b/docs/models/shared/SourceGoogleDriveParquetFormat.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `decimalAsFloat` | *Optional* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | -| `filetype` | [Optional](../../models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `decimalAsFloat` | *Optional\* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | +| `filetype` | [Optional\](../../models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.md b/docs/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.md index ca2fa609c..2530a93cf 100644 --- a/docs/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.md +++ b/docs/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceGoogleDriveSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `authType` | [Optional\](../../models/shared/SourceGoogleDriveSchemasAuthType.md) | :heavy_minus_sign: | N/A | | `serviceAccountInfo` | *String* | :heavy_check_mark: | The JSON key of the service account to use for authorization. Read more here. | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleDriveUserProvided.md b/docs/models/shared/SourceGoogleDriveUserProvided.md index 136c946d6..d4658a776 100644 --- a/docs/models/shared/SourceGoogleDriveUserProvided.md +++ b/docs/models/shared/SourceGoogleDriveUserProvided.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `columnNames` | List<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | -| `headerDefinitionType` | [Optional](../../models/shared/SourceGoogleDriveSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `columnNames` | List\<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceGoogleDriveSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleForms.md b/docs/models/shared/SourceGoogleForms.md new file mode 100644 index 000000000..327014b61 --- /dev/null +++ b/docs/models/shared/SourceGoogleForms.md @@ -0,0 +1,12 @@ +# SourceGoogleForms + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `formId` | List\<*Object*> | :heavy_check_mark: | N/A | +| `sourceType` | [GoogleForms](../../models/shared/GoogleForms.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGooglePagespeedInsights.md b/docs/models/shared/SourceGooglePagespeedInsights.md index 6e142ae46..f5a0c3dcf 100644 --- a/docs/models/shared/SourceGooglePagespeedInsights.md +++ b/docs/models/shared/SourceGooglePagespeedInsights.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | Google PageSpeed API Key. See here. The key is optional - however the API is heavily rate limited when using without API Key. Creating and using the API key therefore is recommended. The key is case sensitive. | | -| `categories` | List<[com.airbyte.api.models.shared.Categories](../../models/shared/Categories.md)> | :heavy_check_mark: | Defines which Lighthouse category to run. One or many of: "accessibility", "best-practices", "performance", "pwa", "seo". | | -| `sourceType` | [com.airbyte.api.models.shared.GooglePagespeedInsights](../../models/shared/GooglePagespeedInsights.md) | :heavy_check_mark: | N/A | | -| `strategies` | List<[com.airbyte.api.models.shared.Strategies](../../models/shared/Strategies.md)> | :heavy_check_mark: | The analyses strategy to use. Either "desktop" or "mobile". | | -| `urls` | List<*String*> | :heavy_check_mark: | The URLs to retrieve pagespeed information from. The connector will attempt to sync PageSpeed reports for all the defined URLs. Format: https://(www.)url.domain | https://example.com | \ No newline at end of file +| `apiKey` | *Optional\* | :heavy_minus_sign: | Google PageSpeed API Key. See here. The key is optional - however the API is heavily rate limited when using without API Key. Creating and using the API key therefore is recommended. The key is case sensitive. | | +| `categories` | List\<[Categories](../../models/shared/Categories.md)> | :heavy_check_mark: | Defines which Lighthouse category to run. One or many of: "accessibility", "best-practices", "performance", "pwa", "seo". | | +| `sourceType` | [GooglePagespeedInsights](../../models/shared/GooglePagespeedInsights.md) | :heavy_check_mark: | N/A | | +| `strategies` | List\<[Strategies](../../models/shared/Strategies.md)> | :heavy_check_mark: | The analyses strategy to use. Either "desktop" or "mobile". | | +| `urls` | List\<*String*> | :heavy_check_mark: | The URLs to retrieve pagespeed information from. The connector will attempt to sync PageSpeed reports for all the defined URLs. Format: https://(www.)url.domain | https://example.com | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleSearchConsole.md b/docs/models/shared/SourceGoogleSearchConsole.md index 945028475..d0a1feee9 100644 --- a/docs/models/shared/SourceGoogleSearchConsole.md +++ b/docs/models/shared/SourceGoogleSearchConsole.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authorization` | [com.airbyte.api.models.shared.AuthenticationType](../../models/shared/AuthenticationType.md) | :heavy_check_mark: | N/A | | -| `customReportsArray` | List<[com.airbyte.api.models.shared.SourceGoogleSearchConsoleCustomReportConfig](../../models/shared/SourceGoogleSearchConsoleCustomReportConfig.md)> | :heavy_minus_sign: | You can add your Custom Analytics report by creating one. | | -| `dataState` | [Optional](../../models/shared/DataFreshness.md) | :heavy_minus_sign: | If set to 'final', the returned data will include only finalized, stable data. If set to 'all', fresh data will be included. When using Incremental sync mode, we do not recommend setting this parameter to 'all' as it may cause data loss. More information can be found in our full documentation. | final | +| `authorization` | [AuthenticationType](../../models/shared/AuthenticationType.md) | :heavy_check_mark: | N/A | | +| `customReportsArray` | List\<[SourceGoogleSearchConsoleCustomReportConfig](../../models/shared/SourceGoogleSearchConsoleCustomReportConfig.md)> | :heavy_minus_sign: | You can add your Custom Analytics report by creating one. | | +| `dataState` | [Optional\](../../models/shared/DataFreshness.md) | :heavy_minus_sign: | If set to 'final', the returned data will include only finalized, stable data. If set to 'all', fresh data will be included. When using Incremental sync mode, we do not recommend setting this parameter to 'all' as it may cause data loss. More information can be found in our full documentation. | final | | `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | UTC date in the format YYYY-MM-DD. Any data created after this date will not be replicated. Must be greater or equal to the start date field. Leaving this field blank will replicate all data from the start date onward. | 2021-12-12 | -| `siteUrls` | List<*String*> | :heavy_check_mark: | The URLs of the website property attached to your GSC account. Learn more about properties here. | https://example1.com/ | -| `sourceType` | [com.airbyte.api.models.shared.SourceGoogleSearchConsoleGoogleSearchConsole](../../models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.md) | :heavy_check_mark: | N/A | | +| `siteUrls` | List\<*String*> | :heavy_check_mark: | The URLs of the website property attached to your GSC account. Learn more about properties here. | https://example1.com/ | +| `sourceType` | [SourceGoogleSearchConsoleGoogleSearchConsole](../../models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. | | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleSearchConsoleCustomReportConfig.md b/docs/models/shared/SourceGoogleSearchConsoleCustomReportConfig.md index bb637d4fc..76ebb33a8 100644 --- a/docs/models/shared/SourceGoogleSearchConsoleCustomReportConfig.md +++ b/docs/models/shared/SourceGoogleSearchConsoleCustomReportConfig.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `dimensions` | List<[com.airbyte.api.models.shared.SourceGoogleSearchConsoleValidEnums](../../models/shared/SourceGoogleSearchConsoleValidEnums.md)> | :heavy_check_mark: | A list of available dimensions. Please note, that for technical reasons `date` is the default dimension which will be included in your query whether you specify it or not. Primary key will consist of your custom dimensions and the default dimension along with `site_url` and `search_type`. | +| `dimensions` | List\<[SourceGoogleSearchConsoleValidEnums](../../models/shared/SourceGoogleSearchConsoleValidEnums.md)> | :heavy_check_mark: | A list of available dimensions. Please note, that for technical reasons `date` is the default dimension which will be included in your query whether you specify it or not. Primary key will consist of your custom dimensions and the default dimension along with `site_url` and `search_type`. | | `name` | *String* | :heavy_check_mark: | The name of the custom report, this name would be used as stream name | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleSearchConsoleOAuth.md b/docs/models/shared/SourceGoogleSearchConsoleOAuth.md index 358e65f1e..3480a4f4c 100644 --- a/docs/models/shared/SourceGoogleSearchConsoleOAuth.md +++ b/docs/models/shared/SourceGoogleSearchConsoleOAuth.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *Optional* | :heavy_minus_sign: | Access token for making authenticated requests. Read more here. | -| `authType` | [com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthType](../../models/shared/SourceGoogleSearchConsoleAuthType.md) | :heavy_check_mark: | N/A | +| `accessToken` | *Optional\* | :heavy_minus_sign: | Access token for making authenticated requests. Read more here. | +| `authType` | [SourceGoogleSearchConsoleAuthType](../../models/shared/SourceGoogleSearchConsoleAuthType.md) | :heavy_check_mark: | N/A | | `clientId` | *String* | :heavy_check_mark: | The client ID of your Google Search Console developer application. Read more here. | | `clientSecret` | *String* | :heavy_check_mark: | The client secret of your Google Search Console developer application. Read more here. | | `refreshToken` | *String* | :heavy_check_mark: | The token for obtaining a new access token. Read more here. | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.md b/docs/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.md index 447a9a053..7d4b4cec2 100644 --- a/docs/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.md +++ b/docs/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.SourceGoogleSearchConsoleSchemasAuthType](../../models/shared/SourceGoogleSearchConsoleSchemasAuthType.md) | :heavy_check_mark: | N/A | | +| `authType` | [SourceGoogleSearchConsoleSchemasAuthType](../../models/shared/SourceGoogleSearchConsoleSchemasAuthType.md) | :heavy_check_mark: | N/A | | | `email` | *String* | :heavy_check_mark: | The email of the user which has permissions to access the Google Workspace Admin APIs. | | | `serviceAccountInfo` | *String* | :heavy_check_mark: | The JSON key of the service account to use for authorization. Read more here. | { "type": "service_account", "project_id": YOUR_PROJECT_ID, "private_key_id": YOUR_PRIVATE_KEY, ... } | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleSheets.md b/docs/models/shared/SourceGoogleSheets.md index 57575b866..784351b81 100644 --- a/docs/models/shared/SourceGoogleSheets.md +++ b/docs/models/shared/SourceGoogleSheets.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `batchSize` | *Optional* | :heavy_minus_sign: | Default value is 200. An integer representing row batch size for each sent request to Google Sheets API. Row batch size means how many rows are processed from the google sheet, for example default value 200 would process rows 1-201, then 201-401 and so on. Based on Google Sheets API limits documentation, it is possible to send up to 300 requests per minute, but each individual request has to be processed under 180 seconds, otherwise the request returns a timeout error. In regards to this information, consider network speed and number of columns of the google sheet when deciding a batch_size value. Default value should cover most of the cases, but if a google sheet has over 100,000 records or more, consider increasing batch_size value. | | -| `credentials` | [com.airbyte.api.models.shared.SourceGoogleSheetsAuthentication](../../models/shared/SourceGoogleSheetsAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the Google Sheets API | | -| `namesConversion` | *Optional* | :heavy_minus_sign: | Enables the conversion of column names to a standardized, SQL-compliant format. For example, 'My Name' -> 'my_name'. Enable this option if your destination is SQL-based. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceGoogleSheetsGoogleSheets](../../models/shared/SourceGoogleSheetsGoogleSheets.md) | :heavy_check_mark: | N/A | | +| `batchSize` | *Optional\* | :heavy_minus_sign: | Default value is 200. An integer representing row batch size for each sent request to Google Sheets API. Row batch size means how many rows are processed from the google sheet, for example default value 200 would process rows 1-201, then 201-401 and so on. Based on Google Sheets API limits documentation, it is possible to send up to 300 requests per minute, but each individual request has to be processed under 180 seconds, otherwise the request returns a timeout error. In regards to this information, consider network speed and number of columns of the google sheet when deciding a batch_size value. Default value should cover most of the cases, but if a google sheet has over 100,000 records or more, consider increasing batch_size value. | | +| `credentials` | [SourceGoogleSheetsAuthentication](../../models/shared/SourceGoogleSheetsAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the Google Sheets API | | +| `namesConversion` | *Optional\* | :heavy_minus_sign: | Enables the conversion of column names to a standardized, SQL-compliant format. For example, 'My Name' -> 'my_name'. Enable this option if your destination is SQL-based. | | +| `sourceType` | [SourceGoogleSheetsGoogleSheets](../../models/shared/SourceGoogleSheetsGoogleSheets.md) | :heavy_check_mark: | N/A | | | `spreadsheetId` | *String* | :heavy_check_mark: | Enter the link to the Google spreadsheet you want to sync. To copy the link, click the 'Share' button in the top-right corner of the spreadsheet, then click 'Copy link'. | https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG-arw2xy4HR3D-dwUb/edit | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.md b/docs/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.md index 3a83e1dca..5c393af6e 100644 --- a/docs/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.md +++ b/docs/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.SourceGoogleSheetsAuthType](../../models/shared/SourceGoogleSheetsAuthType.md) | :heavy_check_mark: | N/A | +| `authType` | [SourceGoogleSheetsAuthType](../../models/shared/SourceGoogleSheetsAuthType.md) | :heavy_check_mark: | N/A | | `clientId` | *String* | :heavy_check_mark: | Enter your Google application's Client ID. See Google's documentation for more information. | | `clientSecret` | *String* | :heavy_check_mark: | Enter your Google application's Client Secret. See Google's documentation for more information. | | `refreshToken` | *String* | :heavy_check_mark: | Enter your Google application's refresh token. See Google's documentation for more information. | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.md b/docs/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.md index 8b56a7f6f..bcde5e1b3 100644 --- a/docs/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.md +++ b/docs/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.SourceGoogleSheetsSchemasAuthType](../../models/shared/SourceGoogleSheetsSchemasAuthType.md) | :heavy_check_mark: | N/A | | +| `authType` | [SourceGoogleSheetsSchemasAuthType](../../models/shared/SourceGoogleSheetsSchemasAuthType.md) | :heavy_check_mark: | N/A | | | `serviceAccountInfo` | *String* | :heavy_check_mark: | The JSON key of the service account to use for authorization. Read more here. | { "type": "service_account", "project_id": YOUR_PROJECT_ID, "private_key_id": YOUR_PRIVATE_KEY, ... } | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleTasks.md b/docs/models/shared/SourceGoogleTasks.md index a502879b3..c0d5b5a59 100644 --- a/docs/models/shared/SourceGoogleTasks.md +++ b/docs/models/shared/SourceGoogleTasks.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `recordsLimit` | *Optional* | :heavy_minus_sign: | The maximum number of records to be returned per request | -| `sourceType` | [com.airbyte.api.models.shared.GoogleTasks](../../models/shared/GoogleTasks.md) | :heavy_check_mark: | N/A | +| `recordsLimit` | *Optional\* | :heavy_minus_sign: | The maximum number of records to be returned per request | +| `sourceType` | [GoogleTasks](../../models/shared/GoogleTasks.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGoogleWebfonts.md b/docs/models/shared/SourceGoogleWebfonts.md index ed395c2a3..5d53fbca2 100644 --- a/docs/models/shared/SourceGoogleWebfonts.md +++ b/docs/models/shared/SourceGoogleWebfonts.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `alt` | *Optional* | :heavy_minus_sign: | Optional, Available params- json, media, proto | +| `alt` | *Optional\* | :heavy_minus_sign: | Optional, Available params- json, media, proto | | `apiKey` | *String* | :heavy_check_mark: | API key is required to access google apis, For getting your's goto google console and generate api key for Webfonts | -| `prettyPrint` | *Optional* | :heavy_minus_sign: | Optional, boolean type | -| `sort` | *Optional* | :heavy_minus_sign: | Optional, to find how to sort | -| `sourceType` | [com.airbyte.api.models.shared.GoogleWebfonts](../../models/shared/GoogleWebfonts.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `prettyPrint` | *Optional\* | :heavy_minus_sign: | Optional, boolean type | +| `sort` | *Optional\* | :heavy_minus_sign: | Optional, to find how to sort | +| `sourceType` | [GoogleWebfonts](../../models/shared/GoogleWebfonts.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGorgias.md b/docs/models/shared/SourceGorgias.md new file mode 100644 index 000000000..11279b11b --- /dev/null +++ b/docs/models/shared/SourceGorgias.md @@ -0,0 +1,12 @@ +# SourceGorgias + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `domainName` | *String* | :heavy_check_mark: | Domain name given for gorgias, found as your url prefix for accessing your website | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Gorgias](../../models/shared/Gorgias.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGreenhouse.md b/docs/models/shared/SourceGreenhouse.md index f36008b1a..2740f16cd 100644 --- a/docs/models/shared/SourceGreenhouse.md +++ b/docs/models/shared/SourceGreenhouse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Greenhouse API Key. See the docs for more information on how to generate this key. | -| `sourceType` | [com.airbyte.api.models.shared.Greenhouse](../../models/shared/Greenhouse.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Greenhouse](../../models/shared/Greenhouse.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGridly.md b/docs/models/shared/SourceGridly.md index 2df2a6d9c..05608159f 100644 --- a/docs/models/shared/SourceGridly.md +++ b/docs/models/shared/SourceGridly.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | N/A | -| `gridId` | *String* | :heavy_check_mark: | ID of a grid, or can be ID of a branch | -| `sourceType` | [com.airbyte.api.models.shared.Gridly](../../models/shared/Gridly.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `gridId` | *String* | :heavy_check_mark: | ID of a grid, or can be ID of a branch | +| `sourceType` | [Gridly](../../models/shared/Gridly.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGuru.md b/docs/models/shared/SourceGuru.md index e7a497f40..b198c12be 100644 --- a/docs/models/shared/SourceGuru.md +++ b/docs/models/shared/SourceGuru.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `password` | *Optional* | :heavy_minus_sign: | N/A | -| `searchCardsQuery` | *Optional* | :heavy_minus_sign: | Query for searching cards | -| `sourceType` | [com.airbyte.api.models.shared.Guru](../../models/shared/Guru.md) | :heavy_check_mark: | N/A | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `searchCardsQuery` | *Optional\* | :heavy_minus_sign: | Query for searching cards | +| `sourceType` | [Guru](../../models/shared/Guru.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | -| `teamId` | *Optional* | :heavy_minus_sign: | Team ID received through response of /teams streams, make sure about access to the team | +| `teamId` | *Optional\* | :heavy_minus_sign: | Team ID received through response of /teams streams, make sure about access to the team | | `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceGutendex.md b/docs/models/shared/SourceGutendex.md new file mode 100644 index 000000000..de4f985b5 --- /dev/null +++ b/docs/models/shared/SourceGutendex.md @@ -0,0 +1,15 @@ +# SourceGutendex + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `authorYearEnd` | *Optional\* | :heavy_minus_sign: | (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values | 2002 | +| `authorYearStart` | *Optional\* | :heavy_minus_sign: | (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values | 2002 | +| `copyright` | *Optional\* | :heavy_minus_sign: | (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information. | true | +| `languages` | *Optional\* | :heavy_minus_sign: | (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes. | en | +| `search` | *Optional\* | :heavy_minus_sign: | (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive. | dickens%20great%20expect | +| `sort` | *Optional\* | :heavy_minus_sign: | (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads. | ascending | +| `sourceType` | [Gutendex](../../models/shared/Gutendex.md) | :heavy_check_mark: | N/A | | +| `topic` | *Optional\* | :heavy_minus_sign: | (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects. | children | \ No newline at end of file diff --git a/docs/models/shared/SourceHardcodedRecords.md b/docs/models/shared/SourceHardcodedRecords.md index 637886591..fc2c5dd19 100644 --- a/docs/models/shared/SourceHardcodedRecords.md +++ b/docs/models/shared/SourceHardcodedRecords.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `count` | *Optional* | :heavy_minus_sign: | How many records per stream should be generated | -| `sourceType` | [com.airbyte.api.models.shared.HardcodedRecords](../../models/shared/HardcodedRecords.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `count` | *Optional\* | :heavy_minus_sign: | How many records per stream should be generated | +| `sourceType` | [HardcodedRecords](../../models/shared/HardcodedRecords.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceHarvest.md b/docs/models/shared/SourceHarvest.md index 1cf73cd5c..874ad7191 100644 --- a/docs/models/shared/SourceHarvest.md +++ b/docs/models/shared/SourceHarvest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `accountId` | *String* | :heavy_check_mark: | Harvest account ID. Required for all Harvest requests in pair with Personal Access Token | | -| `credentials` | *Optional* | :heavy_minus_sign: | Choose how to authenticate to Harvest. | | -| `replicationStartDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2017-01-25T00:00:00Z | -| `sourceType` | [com.airbyte.api.models.shared.Harvest](../../models/shared/Harvest.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `accountId` | *String* | :heavy_check_mark: | Harvest account ID. Required for all Harvest requests in pair with Personal Access Token | | +| `credentials` | [Optional\](../../models/shared/SourceHarvestAuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate to Harvest. | | +| `replicationStartDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2017-01-25T00:00:00Z | +| `sourceType` | [Harvest](../../models/shared/Harvest.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceHarvestAuthType.md b/docs/models/shared/SourceHarvestAuthType.md new file mode 100644 index 000000000..93d44a6e8 --- /dev/null +++ b/docs/models/shared/SourceHarvestAuthType.md @@ -0,0 +1,8 @@ +# SourceHarvestAuthType + + +## Values + +| Name | Value | +| -------- | -------- | +| `CLIENT` | Client | \ No newline at end of file diff --git a/docs/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.md b/docs/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.md new file mode 100644 index 000000000..a87ce72d1 --- /dev/null +++ b/docs/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.md @@ -0,0 +1,10 @@ +# SourceHarvestAuthenticateWithPersonalAccessToken + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `apiToken` | *String* | :heavy_check_mark: | Log into Harvest and then create new personal access token. | +| `authType` | [Optional\](../../models/shared/SourceHarvestSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceHarvestAuthenticationMechanism.md b/docs/models/shared/SourceHarvestAuthenticationMechanism.md new file mode 100644 index 000000000..813466648 --- /dev/null +++ b/docs/models/shared/SourceHarvestAuthenticationMechanism.md @@ -0,0 +1,4 @@ +# SourceHarvestAuthenticationMechanism + +Choose how to authenticate to Harvest. + diff --git a/docs/models/shared/SourceHarvestSchemasAuthType.md b/docs/models/shared/SourceHarvestSchemasAuthType.md new file mode 100644 index 000000000..d7be041c5 --- /dev/null +++ b/docs/models/shared/SourceHarvestSchemasAuthType.md @@ -0,0 +1,8 @@ +# SourceHarvestSchemasAuthType + + +## Values + +| Name | Value | +| ------- | ------- | +| `TOKEN` | Token | \ No newline at end of file diff --git a/docs/models/shared/SourceHeight.md b/docs/models/shared/SourceHeight.md index 605240246..394834871 100644 --- a/docs/models/shared/SourceHeight.md +++ b/docs/models/shared/SourceHeight.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `searchQuery` | *Optional* | :heavy_minus_sign: | Search query to be used with search stream | -| `sourceType` | [com.airbyte.api.models.shared.Height](../../models/shared/Height.md) | :heavy_check_mark: | N/A | +| `searchQuery` | *Optional\* | :heavy_minus_sign: | Search query to be used with search stream | +| `sourceType` | [Height](../../models/shared/Height.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceHibob.md b/docs/models/shared/SourceHibob.md index 2e06aca98..864495e52 100644 --- a/docs/models/shared/SourceHibob.md +++ b/docs/models/shared/SourceHibob.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `isSandbox` | *boolean* | :heavy_check_mark: | Toggle true if this instance is a HiBob sandbox | -| `password` | *Optional* | :heavy_minus_sign: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Hibob](../../models/shared/Hibob.md) | :heavy_check_mark: | N/A | -| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `isSandbox` | *boolean* | :heavy_check_mark: | Toggle true if this instance is a HiBob sandbox | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Hibob](../../models/shared/Hibob.md) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceHighLevel.md b/docs/models/shared/SourceHighLevel.md index bc0b6a59d..d8126bf1b 100644 --- a/docs/models/shared/SourceHighLevel.md +++ b/docs/models/shared/SourceHighLevel.md @@ -7,5 +7,5 @@ | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | | `locationId` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.HighLevel](../../models/shared/HighLevel.md) | :heavy_check_mark: | N/A | +| `sourceType` | [HighLevel](../../models/shared/HighLevel.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceHubplanner.md b/docs/models/shared/SourceHubplanner.md index b8596fcaa..f764cdea0 100644 --- a/docs/models/shared/SourceHubplanner.md +++ b/docs/models/shared/SourceHubplanner.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | | `apiKey` | *String* | :heavy_check_mark: | Hubplanner API key. See https://github.com/hubplanner/API#authentication for more details. | -| `sourceType` | [com.airbyte.api.models.shared.Hubplanner](../../models/shared/Hubplanner.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Hubplanner](../../models/shared/Hubplanner.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceHubspot.md b/docs/models/shared/SourceHubspot.md index ce51825b1..9202664ef 100644 --- a/docs/models/shared/SourceHubspot.md +++ b/docs/models/shared/SourceHubspot.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SourceHubspotAuthentication](../../models/shared/SourceHubspotAuthentication.md) | :heavy_check_mark: | Choose how to authenticate to HubSpot. | | -| `enableExperimentalStreams` | *Optional* | :heavy_minus_sign: | If enabled then experimental streams become available for sync. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceHubspotHubspot](../../models/shared/SourceHubspotHubspot.md) | :heavy_check_mark: | N/A | | +| `credentials` | [SourceHubspotAuthentication](../../models/shared/SourceHubspotAuthentication.md) | :heavy_check_mark: | Choose how to authenticate to HubSpot. | | +| `enableExperimentalStreams` | *Optional\* | :heavy_minus_sign: | If enabled then experimental streams become available for sync. | | +| `sourceType` | [SourceHubspotHubspot](../../models/shared/SourceHubspotHubspot.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If not set, "2006-06-01T00:00:00Z" (Hubspot creation date) will be used as start date. It's recommended to provide relevant to your data start date value to optimize synchronization. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceHubspotOAuth.md b/docs/models/shared/SourceHubspotOAuth.md index 7b01b29d4..ded74ff9c 100644 --- a/docs/models/shared/SourceHubspotOAuth.md +++ b/docs/models/shared/SourceHubspotOAuth.md @@ -7,5 +7,5 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `clientId` | *String* | :heavy_check_mark: | The Client ID of your HubSpot developer application. See the Hubspot docs if you need help finding this ID. | 123456789000 | | `clientSecret` | *String* | :heavy_check_mark: | The client secret for your HubSpot developer application. See the Hubspot docs if you need help finding this secret. | secret | -| `credentialsTitle` | [com.airbyte.api.models.shared.SourceHubspotAuthType](../../models/shared/SourceHubspotAuthType.md) | :heavy_check_mark: | Name of the credentials | | +| `credentialsTitle` | [SourceHubspotAuthType](../../models/shared/SourceHubspotAuthType.md) | :heavy_check_mark: | Name of the credentials | | | `refreshToken` | *String* | :heavy_check_mark: | Refresh token to renew an expired access token. See the Hubspot docs if you need help finding this token. | refresh_token | \ No newline at end of file diff --git a/docs/models/shared/SourceHumanitix.md b/docs/models/shared/SourceHumanitix.md new file mode 100644 index 000000000..5afdfdf5d --- /dev/null +++ b/docs/models/shared/SourceHumanitix.md @@ -0,0 +1,9 @@ +# SourceHumanitix + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Humanitix](../../models/shared/Humanitix.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceIlluminaBasespace.md b/docs/models/shared/SourceIlluminaBasespace.md new file mode 100644 index 000000000..431f26147 --- /dev/null +++ b/docs/models/shared/SourceIlluminaBasespace.md @@ -0,0 +1,11 @@ +# SourceIlluminaBasespace + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | BaseSpace access token. Instructions for obtaining your access token can be found in the BaseSpace Developer Documentation. | +| `domain` | *String* | :heavy_check_mark: | Domain name of the BaseSpace instance (e.g., euw2.sh.basespace.illumina.com) | +| `sourceType` | [IlluminaBasespace](../../models/shared/IlluminaBasespace.md) | :heavy_check_mark: | N/A | +| `user` | *Optional\* | :heavy_minus_sign: | Providing a user ID restricts the returned data to what that user can access. If you use the default ('current'), all data accessible to the user associated with the API key will be shown. | \ No newline at end of file diff --git a/docs/models/shared/SourceIncidentIo.md b/docs/models/shared/SourceIncidentIo.md new file mode 100644 index 000000000..585390a7a --- /dev/null +++ b/docs/models/shared/SourceIncidentIo.md @@ -0,0 +1,9 @@ +# SourceIncidentIo + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://app.incident.io/settings/api-keys | +| `sourceType` | [IncidentIo](../../models/shared/IncidentIo.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceInflowinventory.md b/docs/models/shared/SourceInflowinventory.md new file mode 100644 index 000000000..2498082a1 --- /dev/null +++ b/docs/models/shared/SourceInflowinventory.md @@ -0,0 +1,10 @@ +# SourceInflowinventory + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `companyid` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Inflowinventory](../../models/shared/Inflowinventory.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceInsightly.md b/docs/models/shared/SourceInsightly.md index 224725398..3bda81c43 100644 --- a/docs/models/shared/SourceInsightly.md +++ b/docs/models/shared/SourceInsightly.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `sourceType` | [com.airbyte.api.models.shared.Insightly](../../models/shared/Insightly.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Insightly](../../models/shared/Insightly.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for Insightly in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only for incremental streams. | 2021-03-01T00:00:00Z | -| `token` | *Optional* | :heavy_check_mark: | Your Insightly API token. | | \ No newline at end of file +| `token` | *Optional\* | :heavy_check_mark: | Your Insightly API token. | | \ No newline at end of file diff --git a/docs/models/shared/SourceInstagram.md b/docs/models/shared/SourceInstagram.md index 4ad8d1f15..0413260dc 100644 --- a/docs/models/shared/SourceInstagram.md +++ b/docs/models/shared/SourceInstagram.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | The value of the access token generated with instagram_basic, instagram_manage_insights, pages_show_list, pages_read_engagement, Instagram Public Content Access permissions. See the docs for more information | | -| `sourceType` | [com.airbyte.api.models.shared.SourceInstagramInstagram](../../models/shared/SourceInstagramInstagram.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [SourceInstagramInstagram](../../models/shared/SourceInstagramInstagram.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date from which you'd like to replicate data for User Insights, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. If left blank, the start date will be set to 2 years before the present date. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceInstatus.md b/docs/models/shared/SourceInstatus.md index e704accd9..e1ea395ff 100644 --- a/docs/models/shared/SourceInstatus.md +++ b/docs/models/shared/SourceInstatus.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | Instatus REST API key | -| `sourceType` | [com.airbyte.api.models.shared.Instatus](../../models/shared/Instatus.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Instatus REST API key | +| `sourceType` | [Instatus](../../models/shared/Instatus.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceIntercom.md b/docs/models/shared/SourceIntercom.md index 339a42328..9f85f2c85 100644 --- a/docs/models/shared/SourceIntercom.md +++ b/docs/models/shared/SourceIntercom.md @@ -6,8 +6,9 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | Access token for making authenticated requests. See the Intercom docs for more information. | | -| `activityLogsTimeStep` | *Optional* | :heavy_minus_sign: | Set lower value in case of failing long running sync of Activity Logs stream. | 30 | -| `clientId` | *Optional* | :heavy_minus_sign: | Client Id for your Intercom application. | | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Client Secret for your Intercom application. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceIntercomIntercom](../../models/shared/SourceIntercomIntercom.md) | :heavy_check_mark: | N/A | | +| `activityLogsTimeStep` | *Optional\* | :heavy_minus_sign: | Set lower value in case of failing long running sync of Activity Logs stream. | 30 | +| `clientId` | *Optional\* | :heavy_minus_sign: | Client Id for your Intercom application. | | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret for your Intercom application. | | +| `lookbackWindow` | *Optional\* | :heavy_minus_sign: | The number of days to shift the state value backward for record sync | 60 | +| `sourceType` | [SourceIntercomIntercom](../../models/shared/SourceIntercomIntercom.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2020-11-16T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceInvoiced.md b/docs/models/shared/SourceInvoiced.md new file mode 100644 index 000000000..123749480 --- /dev/null +++ b/docs/models/shared/SourceInvoiced.md @@ -0,0 +1,9 @@ +# SourceInvoiced + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://invoiced.com/account | +| `sourceType` | [Invoiced](../../models/shared/Invoiced.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceInvoiceninja.md b/docs/models/shared/SourceInvoiceninja.md new file mode 100644 index 000000000..f1a1e58c3 --- /dev/null +++ b/docs/models/shared/SourceInvoiceninja.md @@ -0,0 +1,9 @@ +# SourceInvoiceninja + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Invoiceninja](../../models/shared/Invoiceninja.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceIp2whois.md b/docs/models/shared/SourceIp2whois.md index c47e9f9d2..03a7ed789 100644 --- a/docs/models/shared/SourceIp2whois.md +++ b/docs/models/shared/SourceIp2whois.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | Your API Key. See here. | | -| `domain` | *Optional* | :heavy_minus_sign: | Domain name. See here. | www.google.com | -| `sourceType` | [com.airbyte.api.models.shared.Ip2whois](../../models/shared/Ip2whois.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `apiKey` | *Optional\* | :heavy_minus_sign: | Your API Key. See here. | | +| `domain` | *Optional\* | :heavy_minus_sign: | Domain name. See here. | www.google.com | +| `sourceType` | [Ip2whois](../../models/shared/Ip2whois.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceIterable.md b/docs/models/shared/SourceIterable.md index 3a525d426..21c78217b 100644 --- a/docs/models/shared/SourceIterable.md +++ b/docs/models/shared/SourceIterable.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Iterable API Key. See the docs for more information on how to obtain this key. | | -| `sourceType` | [com.airbyte.api.models.shared.Iterable](../../models/shared/Iterable.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Iterable](../../models/shared/Iterable.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for Iterable, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2021-04-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceJira.md b/docs/models/shared/SourceJira.md index 565b005c3..633223baf 100644 --- a/docs/models/shared/SourceJira.md +++ b/docs/models/shared/SourceJira.md @@ -8,8 +8,9 @@ | `apiToken` | *String* | :heavy_check_mark: | Jira API Token. See the docs for more information on how to generate this key. API Token is used for Authorization to your account by BasicAuth. | | | `domain` | *String* | :heavy_check_mark: | The Domain for your Jira account, e.g. airbyteio.atlassian.net, airbyteio.jira.com, jira.your-domain.com | .atlassian.net | | `email` | *String* | :heavy_check_mark: | The user email for your Jira account which you used to generate the API token. This field is used for Authorization to your account by BasicAuth. | | -| `enableExperimentalStreams` | *Optional* | :heavy_minus_sign: | Allow the use of experimental streams which rely on undocumented Jira API endpoints. See https://docs.airbyte.com/integrations/sources/jira#experimental-tables for more info. | | -| `lookbackWindowMinutes` | *Optional* | :heavy_minus_sign: | When set to N, the connector will always refresh resources created within the past N minutes. By default, updated objects that are not newly created are not incrementally synced. | 60 | -| `projects` | List<*String*> | :heavy_minus_sign: | List of Jira project keys to replicate data for, or leave it empty if you want to replicate data for all projects. | PROJ1 | -| `sourceType` | [com.airbyte.api.models.shared.Jira](../../models/shared/Jira.md) | :heavy_check_mark: | N/A | | +| `enableExperimentalStreams` | *Optional\* | :heavy_minus_sign: | Allow the use of experimental streams which rely on undocumented Jira API endpoints. See https://docs.airbyte.com/integrations/sources/jira#experimental-tables for more info. | | +| `lookbackWindowMinutes` | *Optional\* | :heavy_minus_sign: | When set to N, the connector will always refresh resources created within the past N minutes. By default, updated objects that are not newly created are not incrementally synced. | 60 | +| `numWorkers` | *Optional\* | :heavy_minus_sign: | The number of worker threads to use for the sync. | 1 | +| `projects` | List\<*String*> | :heavy_minus_sign: | List of Jira project keys to replicate data for, or leave it empty if you want to replicate data for all projects. | PROJ1 | +| `sourceType` | [Jira](../../models/shared/Jira.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date from which you want to replicate data from Jira, use the format YYYY-MM-DDT00:00:00Z. Note that this field only applies to certain streams, and only data generated on or after the start date will be replicated. Or leave it empty if you want to replicate all data. For more information, refer to the documentation. | 2021-03-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceJobnimbus.md b/docs/models/shared/SourceJobnimbus.md new file mode 100644 index 000000000..06425f4ff --- /dev/null +++ b/docs/models/shared/SourceJobnimbus.md @@ -0,0 +1,9 @@ +# SourceJobnimbus + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it by logging into your JobNimbus account, navigating to settings, and creating a new API key under the API section. | +| `sourceType` | [Jobnimbus](../../models/shared/Jobnimbus.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceJotform.md b/docs/models/shared/SourceJotform.md index 4368b2681..79156dff9 100644 --- a/docs/models/shared/SourceJotform.md +++ b/docs/models/shared/SourceJotform.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `apiEndpoint` | [com.airbyte.api.models.shared.APIEndpoint](../../models/shared/APIEndpoint.md) | :heavy_check_mark: | N/A | +| `apiEndpoint` | [APIEndpoint](../../models/shared/APIEndpoint.md) | :heavy_check_mark: | N/A | | `apiKey` | *String* | :heavy_check_mark: | N/A | | `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Jotform](../../models/shared/Jotform.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Jotform](../../models/shared/Jotform.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceJustSift.md b/docs/models/shared/SourceJustSift.md new file mode 100644 index 000000000..5a7e6eb7f --- /dev/null +++ b/docs/models/shared/SourceJustSift.md @@ -0,0 +1,9 @@ +# SourceJustSift + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API token to use for accessing the Sift API. Obtain this token from your Sift account administrator. | +| `sourceType` | [JustSift](../../models/shared/JustSift.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceJustcall.md b/docs/models/shared/SourceJustcall.md new file mode 100644 index 000000000..c8c10820d --- /dev/null +++ b/docs/models/shared/SourceJustcall.md @@ -0,0 +1,10 @@ +# SourceJustcall + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey2` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Justcall](../../models/shared/Justcall.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceK6Cloud.md b/docs/models/shared/SourceK6Cloud.md index 2bf0a0ce1..2d83fb083 100644 --- a/docs/models/shared/SourceK6Cloud.md +++ b/docs/models/shared/SourceK6Cloud.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | | `apiToken` | *String* | :heavy_check_mark: | Your API Token. See here. The key is case sensitive. | -| `sourceType` | [com.airbyte.api.models.shared.K6Cloud](../../models/shared/K6Cloud.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [K6Cloud](../../models/shared/K6Cloud.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceKatana.md b/docs/models/shared/SourceKatana.md new file mode 100644 index 000000000..14da6320e --- /dev/null +++ b/docs/models/shared/SourceKatana.md @@ -0,0 +1,10 @@ +# SourceKatana + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://katanamrp.com/login/ | +| `sourceType` | [Katana](../../models/shared/Katana.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceKisi.md b/docs/models/shared/SourceKisi.md new file mode 100644 index 000000000..ba6156fa8 --- /dev/null +++ b/docs/models/shared/SourceKisi.md @@ -0,0 +1,9 @@ +# SourceKisi + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Your KISI API Key | +| `sourceType` | [Kisi](../../models/shared/Kisi.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceKissmetrics.md b/docs/models/shared/SourceKissmetrics.md new file mode 100644 index 000000000..3639d914d --- /dev/null +++ b/docs/models/shared/SourceKissmetrics.md @@ -0,0 +1,10 @@ +# SourceKissmetrics + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Kissmetrics](../../models/shared/Kissmetrics.md) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceKlarna.md b/docs/models/shared/SourceKlarna.md index cf76b0a04..3c216a1bd 100644 --- a/docs/models/shared/SourceKlarna.md +++ b/docs/models/shared/SourceKlarna.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `password` | *String* | :heavy_check_mark: | A string which is associated with your Merchant ID and is used to authorize use of Klarna's APIs (https://developers.klarna.com/api/#authentication) | -| `playground` | *Optional* | :heavy_minus_sign: | Propertie defining if connector is used against playground or production environment | -| `region` | [com.airbyte.api.models.shared.SourceKlarnaRegion](../../models/shared/SourceKlarnaRegion.md) | :heavy_check_mark: | Base url region (For playground eu https://docs.klarna.com/klarna-payments/api/payments-api/#tag/API-URLs). Supported 'eu', 'na', 'oc' | -| `sourceType` | [com.airbyte.api.models.shared.Klarna](../../models/shared/Klarna.md) | :heavy_check_mark: | N/A | +| `playground` | *Optional\* | :heavy_minus_sign: | Propertie defining if connector is used against playground or production environment | +| `region` | [SourceKlarnaRegion](../../models/shared/SourceKlarnaRegion.md) | :heavy_check_mark: | Base url region (For playground eu https://docs.klarna.com/klarna-payments/api/payments-api/#tag/API-URLs). Supported 'eu', 'na', 'oc' | +| `sourceType` | [Klarna](../../models/shared/Klarna.md) | :heavy_check_mark: | N/A | | `username` | *String* | :heavy_check_mark: | Consists of your Merchant ID (eid) - a unique number that identifies your e-store, combined with a random string (https://developers.klarna.com/api/#authentication) | \ No newline at end of file diff --git a/docs/models/shared/SourceKlausApi.md b/docs/models/shared/SourceKlausApi.md new file mode 100644 index 000000000..5a33717d9 --- /dev/null +++ b/docs/models/shared/SourceKlausApi.md @@ -0,0 +1,12 @@ +# SourceKlausApi + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `account` | *long* | :heavy_check_mark: | getting data by account | | +| `apiKey` | *String* | :heavy_check_mark: | API access key used to retrieve data from the KLAUS API. | | +| `sourceType` | [KlausApi](../../models/shared/KlausApi.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Start getting data from that date. | 2020-10-15T00:00:00Z | +| `workspace` | *long* | :heavy_check_mark: | getting data by workspace | | \ No newline at end of file diff --git a/docs/models/shared/SourceKlaviyo.md b/docs/models/shared/SourceKlaviyo.md index d9f5730ba..a61537e95 100644 --- a/docs/models/shared/SourceKlaviyo.md +++ b/docs/models/shared/SourceKlaviyo.md @@ -6,6 +6,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Klaviyo API Key. See our docs if you need help finding this key. | | -| `disableFetchingPredictiveAnalytics` | *Optional* | :heavy_minus_sign: | Certain streams like the profiles stream can retrieve predictive analytics data from Klaviyo's API. However, at high volume, this can lead to service availability issues on the API which can be improved by not fetching this field. WARNING: Enabling this setting will stop the "predictive_analytics" column from being populated in your downstream destination. | | -| `sourceType` | [com.airbyte.api.models.shared.Klaviyo](../../models/shared/Klaviyo.md) | :heavy_check_mark: | N/A | | +| `disableFetchingPredictiveAnalytics` | *Optional\* | :heavy_minus_sign: | Certain streams like the profiles stream can retrieve predictive analytics data from Klaviyo's API. However, at high volume, this can lead to service availability issues on the API which can be improved by not fetching this field. WARNING: Enabling this setting will stop the "predictive_analytics" column from being populated in your downstream destination. | | +| `numWorkers` | *Optional\* | :heavy_minus_sign: | The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API docs. | 1 | +| `sourceType` | [Klaviyo](../../models/shared/Klaviyo.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This field is optional - if not provided, all data will be replicated. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceKyve.md b/docs/models/shared/SourceKyve.md index 8e4d0cbbe..b06ad8db0 100644 --- a/docs/models/shared/SourceKyve.md +++ b/docs/models/shared/SourceKyve.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | | `poolIds` | *String* | :heavy_check_mark: | The IDs of the KYVE storage pool you want to archive. (Comma separated) | 0 | -| `sourceType` | [com.airbyte.api.models.shared.Kyve](../../models/shared/Kyve.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Kyve](../../models/shared/Kyve.md) | :heavy_check_mark: | N/A | | | `startIds` | *String* | :heavy_check_mark: | The start-id defines, from which bundle id the pipeline should start to extract the data. (Comma separated) | 0 | -| `urlBase` | *Optional* | :heavy_minus_sign: | URL to the KYVE Chain API. | https://api.kaon.kyve.network/ | \ No newline at end of file +| `urlBase` | *Optional\* | :heavy_minus_sign: | URL to the KYVE Chain API. | https://api.kaon.kyve.network/ | \ No newline at end of file diff --git a/docs/models/shared/SourceLaunchdarkly.md b/docs/models/shared/SourceLaunchdarkly.md index af5e6c14b..6b9473488 100644 --- a/docs/models/shared/SourceLaunchdarkly.md +++ b/docs/models/shared/SourceLaunchdarkly.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | | `accessToken` | *String* | :heavy_check_mark: | Your Access token. See here. | -| `sourceType` | [com.airbyte.api.models.shared.Launchdarkly](../../models/shared/Launchdarkly.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Launchdarkly](../../models/shared/Launchdarkly.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceLeadfeeder.md b/docs/models/shared/SourceLeadfeeder.md index 6ce2bb7ee..f0835f0dd 100644 --- a/docs/models/shared/SourceLeadfeeder.md +++ b/docs/models/shared/SourceLeadfeeder.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiToken` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Leadfeeder](../../models/shared/Leadfeeder.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Leadfeeder](../../models/shared/Leadfeeder.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceLemlist.md b/docs/models/shared/SourceLemlist.md index 8cb8fb822..5ba34193f 100644 --- a/docs/models/shared/SourceLemlist.md +++ b/docs/models/shared/SourceLemlist.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | Lemlist API key, | -| `sourceType` | [com.airbyte.api.models.shared.Lemlist](../../models/shared/Lemlist.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Lemlist API key, | +| `sourceType` | [Lemlist](../../models/shared/Lemlist.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceLessAnnoyingCrm.md b/docs/models/shared/SourceLessAnnoyingCrm.md new file mode 100644 index 000000000..bec48634b --- /dev/null +++ b/docs/models/shared/SourceLessAnnoyingCrm.md @@ -0,0 +1,10 @@ +# SourceLessAnnoyingCrm + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Manage and create your API keys on the Programmer API settings page at https://account.lessannoyingcrm.com/app/Settings/Api. | +| `sourceType` | [LessAnnoyingCrm](../../models/shared/LessAnnoyingCrm.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceLeverHiring.md b/docs/models/shared/SourceLeverHiring.md index 19742db24..11c71569a 100644 --- a/docs/models/shared/SourceLeverHiring.md +++ b/docs/models/shared/SourceLeverHiring.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceLeverHiringAuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate to Lever Hiring. | | -| `environment` | [Optional](../../models/shared/SourceLeverHiringEnvironment.md) | :heavy_minus_sign: | The environment in which you'd like to replicate data for Lever. This is used to determine which Lever API endpoint to use. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceLeverHiringLeverHiring](../../models/shared/SourceLeverHiringLeverHiring.md) | :heavy_check_mark: | N/A | | +| `credentials` | [Optional\](../../models/shared/SourceLeverHiringAuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate to Lever Hiring. | | +| `environment` | [Optional\](../../models/shared/SourceLeverHiringEnvironment.md) | :heavy_minus_sign: | The environment in which you'd like to replicate data for Lever. This is used to determine which Lever API endpoint to use. | | +| `sourceType` | [SourceLeverHiringLeverHiring](../../models/shared/SourceLeverHiringLeverHiring.md) | :heavy_check_mark: | N/A | | | `startDate` | *String* | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. Note that it will be used only in the following incremental streams: comments, commits, and issues. | 2021-03-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceLightspeedRetail.md b/docs/models/shared/SourceLightspeedRetail.md new file mode 100644 index 000000000..eb60a3c0b --- /dev/null +++ b/docs/models/shared/SourceLightspeedRetail.md @@ -0,0 +1,10 @@ +# SourceLightspeedRetail + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key or access token | +| `sourceType` | [LightspeedRetail](../../models/shared/LightspeedRetail.md) | :heavy_check_mark: | N/A | +| `subdomain` | *String* | :heavy_check_mark: | The subdomain for the retailer, e.g., 'example' in 'example.retail.lightspeed.app'. | \ No newline at end of file diff --git a/docs/models/shared/SourceLinkedinAds.md b/docs/models/shared/SourceLinkedinAds.md index 6fc129b0d..0ec91a1ab 100644 --- a/docs/models/shared/SourceLinkedinAds.md +++ b/docs/models/shared/SourceLinkedinAds.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accountIds` | List<*long*> | :heavy_minus_sign: | Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the LinkedIn docs to locate these IDs. | 123456789 | -| `adAnalyticsReports` | List<[com.airbyte.api.models.shared.AdAnalyticsReportConfiguration](../../models/shared/AdAnalyticsReportConfiguration.md)> | :heavy_minus_sign: | N/A | | -| `credentials` | [Optional](../../models/shared/SourceLinkedinAdsAuthentication.md) | :heavy_minus_sign: | N/A | | -| `lookbackWindow` | *Optional* | :heavy_minus_sign: | How far into the past to look for records. (in days) | | -| `sourceType` | [com.airbyte.api.models.shared.SourceLinkedinAdsLinkedinAds](../../models/shared/SourceLinkedinAdsLinkedinAds.md) | :heavy_check_mark: | N/A | | +| `accountIds` | List\<*long*> | :heavy_minus_sign: | Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the LinkedIn docs to locate these IDs. | 123456789 | +| `adAnalyticsReports` | List\<[AdAnalyticsReportConfiguration](../../models/shared/AdAnalyticsReportConfiguration.md)> | :heavy_minus_sign: | N/A | | +| `credentials` | [Optional\](../../models/shared/SourceLinkedinAdsAuthentication.md) | :heavy_minus_sign: | N/A | | +| `lookbackWindow` | *Optional\* | :heavy_minus_sign: | How far into the past to look for records. (in days) | | +| `sourceType` | [SourceLinkedinAdsLinkedinAds](../../models/shared/SourceLinkedinAdsLinkedinAds.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. | 2021-05-17 | \ No newline at end of file diff --git a/docs/models/shared/SourceLinkedinAdsAccessToken.md b/docs/models/shared/SourceLinkedinAdsAccessToken.md new file mode 100644 index 000000000..e67d1e23b --- /dev/null +++ b/docs/models/shared/SourceLinkedinAdsAccessToken.md @@ -0,0 +1,9 @@ +# SourceLinkedinAdsAccessToken + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `accessToken` | *String* | :heavy_check_mark: | The access token generated for your developer application. Refer to our documentation for more information. | +| `authMethod` | [Optional\](../../models/shared/SourceLinkedinAdsSchemasAuthMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceLinkedinAdsOAuth20.md b/docs/models/shared/SourceLinkedinAdsOAuth20.md index dd54a7c8b..05f153e33 100644 --- a/docs/models/shared/SourceLinkedinAdsOAuth20.md +++ b/docs/models/shared/SourceLinkedinAdsOAuth20.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authMethod` | [Optional](../../models/shared/SourceLinkedinAdsAuthMethod.md) | :heavy_minus_sign: | N/A | +| `authMethod` | [Optional\](../../models/shared/SourceLinkedinAdsAuthMethod.md) | :heavy_minus_sign: | N/A | | `clientId` | *String* | :heavy_check_mark: | The client ID of your developer application. Refer to our documentation for more information. | | `clientSecret` | *String* | :heavy_check_mark: | The client secret of your developer application. Refer to our documentation for more information. | | `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access token. Refer to our documentation for more information. | \ No newline at end of file diff --git a/docs/models/shared/SourceLinkedinPages.md b/docs/models/shared/SourceLinkedinPages.md index bdcc1cea9..e0d3f5219 100644 --- a/docs/models/shared/SourceLinkedinPages.md +++ b/docs/models/shared/SourceLinkedinPages.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceLinkedinPagesAuthentication.md) | :heavy_minus_sign: | N/A | | +| `credentials` | [Optional\](../../models/shared/SourceLinkedinPagesAuthentication.md) | :heavy_minus_sign: | N/A | | | `orgId` | *String* | :heavy_check_mark: | Specify the Organization ID | 123456789 | -| `sourceType` | [com.airbyte.api.models.shared.LinkedinPages](../../models/shared/LinkedinPages.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [LinkedinPages](../../models/shared/LinkedinPages.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} | | -| `timeGranularityType` | [Optional](../../models/shared/TimeGranularityType.md) | :heavy_minus_sign: | Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH" | | \ No newline at end of file +| `timeGranularityType` | [Optional\](../../models/shared/TimeGranularityType.md) | :heavy_minus_sign: | Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH" | | \ No newline at end of file diff --git a/docs/models/shared/SourceLinkedinPagesAccessToken.md b/docs/models/shared/SourceLinkedinPagesAccessToken.md index 80e72b9e3..52d93e0c1 100644 --- a/docs/models/shared/SourceLinkedinPagesAccessToken.md +++ b/docs/models/shared/SourceLinkedinPagesAccessToken.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `accessToken` | *String* | :heavy_check_mark: | The token value generated using the LinkedIn Developers OAuth Token Tools. See the docs to obtain yours. | -| `authMethod` | [Optional](../../models/shared/SourceLinkedinPagesSchemasAuthMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `authMethod` | [Optional\](../../models/shared/SourceLinkedinPagesSchemasAuthMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceLinkedinPagesOAuth20.md b/docs/models/shared/SourceLinkedinPagesOAuth20.md index 08ae8b97f..361de23a8 100644 --- a/docs/models/shared/SourceLinkedinPagesOAuth20.md +++ b/docs/models/shared/SourceLinkedinPagesOAuth20.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `authMethod` | [Optional](../../models/shared/SourceLinkedinPagesAuthMethod.md) | :heavy_minus_sign: | N/A | +| `authMethod` | [Optional\](../../models/shared/SourceLinkedinPagesAuthMethod.md) | :heavy_minus_sign: | N/A | | `clientId` | *String* | :heavy_check_mark: | The client ID of the LinkedIn developer application. | | `clientSecret` | *String* | :heavy_check_mark: | The client secret of the LinkedIn developer application. | | `refreshToken` | *String* | :heavy_check_mark: | The token value generated using the LinkedIn Developers OAuth Token Tools. See the docs to obtain yours. | \ No newline at end of file diff --git a/docs/models/shared/SourceLinnworks.md b/docs/models/shared/SourceLinnworks.md index 8a5b69018..9c6b5e6c8 100644 --- a/docs/models/shared/SourceLinnworks.md +++ b/docs/models/shared/SourceLinnworks.md @@ -7,6 +7,6 @@ | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `applicationId` | *String* | :heavy_check_mark: | Linnworks Application ID | | `applicationSecret` | *String* | :heavy_check_mark: | Linnworks Application Secret | -| `sourceType` | [com.airbyte.api.models.shared.Linnworks](../../models/shared/Linnworks.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Linnworks](../../models/shared/Linnworks.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | | `token` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceLob.md b/docs/models/shared/SourceLob.md new file mode 100644 index 000000000..9b641082c --- /dev/null +++ b/docs/models/shared/SourceLob.md @@ -0,0 +1,11 @@ +# SourceLob + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use for authentication. You can find your account's API keys in your Dashboard Settings at https://dashboard.lob.com/settings/api-keys. | +| `limit` | *Optional\* | :heavy_minus_sign: | Max records per page limit | +| `sourceType` | [Lob](../../models/shared/Lob.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceLokalise.md b/docs/models/shared/SourceLokalise.md index e54f9f048..e50e40e18 100644 --- a/docs/models/shared/SourceLokalise.md +++ b/docs/models/shared/SourceLokalise.md @@ -7,4 +7,4 @@ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Lokalise API Key with read-access. Available at Profile settings > API tokens. See here. | | `projectId` | *String* | :heavy_check_mark: | Lokalise project ID. Available at Project Settings > General. | -| `sourceType` | [com.airbyte.api.models.shared.Lokalise](../../models/shared/Lokalise.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Lokalise](../../models/shared/Lokalise.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceLooker.md b/docs/models/shared/SourceLooker.md index 8fb9a2db1..31b8419dd 100644 --- a/docs/models/shared/SourceLooker.md +++ b/docs/models/shared/SourceLooker.md @@ -8,5 +8,5 @@ | `clientId` | *String* | :heavy_check_mark: | The Client ID is first part of an API3 key that is specific to each Looker user. See the docs for more information on how to generate this key. | | | `clientSecret` | *String* | :heavy_check_mark: | The Client Secret is second part of an API3 key. | | | `domain` | *String* | :heavy_check_mark: | Domain for your Looker account, e.g. airbyte.cloud.looker.com,looker.[clientname].com,IP address | domainname.looker.com | -| `runLookIds` | List<*String*> | :heavy_minus_sign: | The IDs of any Looks to run | | -| `sourceType` | [com.airbyte.api.models.shared.Looker](../../models/shared/Looker.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `runLookIds` | List\<*String*> | :heavy_minus_sign: | The IDs of any Looks to run | | +| `sourceType` | [Looker](../../models/shared/Looker.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceLuma.md b/docs/models/shared/SourceLuma.md index eabb8e77f..4a4755251 100644 --- a/docs/models/shared/SourceLuma.md +++ b/docs/models/shared/SourceLuma.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | Get your API key on lu.ma Calendars dashboard → Settings. | -| `sourceType` | [com.airbyte.api.models.shared.Luma](../../models/shared/Luma.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Get your API key on lu.ma Calendars dashboard → Settings. | +| `sourceType` | [Luma](../../models/shared/Luma.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMailchimp.md b/docs/models/shared/SourceMailchimp.md index 609f395ef..172b3b125 100644 --- a/docs/models/shared/SourceMailchimp.md +++ b/docs/models/shared/SourceMailchimp.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceMailchimpAuthentication.md) | :heavy_minus_sign: | N/A | | -| `sourceType` | [com.airbyte.api.models.shared.SourceMailchimpMailchimp](../../models/shared/SourceMailchimpMailchimp.md) | :heavy_check_mark: | N/A | | +| `credentials` | [Optional\](../../models/shared/SourceMailchimpAuthentication.md) | :heavy_minus_sign: | N/A | | +| `sourceType` | [SourceMailchimpMailchimp](../../models/shared/SourceMailchimpMailchimp.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date from which you want to start syncing data for Incremental streams. Only records that have been created or modified since this date will be synced. If left blank, all data will by synced. | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/shared/SourceMailchimpOAuth20.md b/docs/models/shared/SourceMailchimpOAuth20.md index f759aad01..f53c2028c 100644 --- a/docs/models/shared/SourceMailchimpOAuth20.md +++ b/docs/models/shared/SourceMailchimpOAuth20.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | An access token generated using the above client ID and secret. | -| `authType` | [com.airbyte.api.models.shared.SourceMailchimpAuthType](../../models/shared/SourceMailchimpAuthType.md) | :heavy_check_mark: | N/A | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your OAuth application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | An access token generated using the above client ID and secret. | +| `authType` | [SourceMailchimpAuthType](../../models/shared/SourceMailchimpAuthType.md) | :heavy_check_mark: | N/A | +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your OAuth application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file diff --git a/docs/models/shared/SourceMailerlite.md b/docs/models/shared/SourceMailerlite.md new file mode 100644 index 000000000..d0d66eab7 --- /dev/null +++ b/docs/models/shared/SourceMailerlite.md @@ -0,0 +1,9 @@ +# SourceMailerlite + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | Your API Token. See here. | +| `sourceType` | [Mailerlite](../../models/shared/Mailerlite.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMailgun.md b/docs/models/shared/SourceMailgun.md index 580c920c0..c65b396cd 100644 --- a/docs/models/shared/SourceMailgun.md +++ b/docs/models/shared/SourceMailgun.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `domainRegion` | [Optional](../../models/shared/DomainRegionCode.md) | :heavy_minus_sign: | Domain region code. 'EU' or 'US' are possible values. The default is 'US'. | | +| `domainRegion` | [Optional\](../../models/shared/DomainRegionCode.md) | :heavy_minus_sign: | Domain region code. 'EU' or 'US' are possible values. The default is 'US'. | | | `privateKey` | *String* | :heavy_check_mark: | Primary account API key to access your Mailgun data. | | -| `sourceType` | [com.airbyte.api.models.shared.Mailgun](../../models/shared/Mailgun.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Mailgun](../../models/shared/Mailgun.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2020-10-01 00:00:00. Any data before this date will not be replicated. If omitted, defaults to 3 days ago. | 2023-08-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceMailjetMail.md b/docs/models/shared/SourceMailjetMail.md new file mode 100644 index 000000000..1626371d2 --- /dev/null +++ b/docs/models/shared/SourceMailjetMail.md @@ -0,0 +1,10 @@ +# SourceMailjetMail + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Your API Key. See here. | +| `apiKeySecret` | *String* | :heavy_check_mark: | Your API Secret Key. See here. | +| `sourceType` | [MailjetMail](../../models/shared/MailjetMail.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMailjetSms.md b/docs/models/shared/SourceMailjetSms.md index 2a63e6f30..fdc80aad8 100644 --- a/docs/models/shared/SourceMailjetSms.md +++ b/docs/models/shared/SourceMailjetSms.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `endDate` | *Optional* | :heavy_minus_sign: | Retrieve SMS messages created before the specified timestamp. Required format - Unix timestamp. | 1666281656 | -| `sourceType` | [com.airbyte.api.models.shared.MailjetSms](../../models/shared/MailjetSms.md) | :heavy_check_mark: | N/A | | -| `startDate` | *Optional* | :heavy_minus_sign: | Retrieve SMS messages created after the specified timestamp. Required format - Unix timestamp. | 1666261656 | +| `endDate` | *Optional\* | :heavy_minus_sign: | Retrieve SMS messages created before the specified timestamp. Required format - Unix timestamp. | 1666281656 | +| `sourceType` | [MailjetSms](../../models/shared/MailjetSms.md) | :heavy_check_mark: | N/A | | +| `startDate` | *Optional\* | :heavy_minus_sign: | Retrieve SMS messages created after the specified timestamp. Required format - Unix timestamp. | 1666261656 | | `token` | *String* | :heavy_check_mark: | Your access token. See here. | | \ No newline at end of file diff --git a/docs/models/shared/SourceMailosaur.md b/docs/models/shared/SourceMailosaur.md new file mode 100644 index 000000000..4cb5e8800 --- /dev/null +++ b/docs/models/shared/SourceMailosaur.md @@ -0,0 +1,10 @@ +# SourceMailosaur + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `password` | *Optional\* | :heavy_minus_sign: | Enter your api key here | +| `sourceType` | [Mailosaur](../../models/shared/Mailosaur.md) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | Enter "api" here | \ No newline at end of file diff --git a/docs/models/shared/SourceMailtrap.md b/docs/models/shared/SourceMailtrap.md new file mode 100644 index 000000000..7c751d3a6 --- /dev/null +++ b/docs/models/shared/SourceMailtrap.md @@ -0,0 +1,9 @@ +# SourceMailtrap + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API token to use. Find it at https://mailtrap.io/account | +| `sourceType` | [Mailtrap](../../models/shared/Mailtrap.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMarketo.md b/docs/models/shared/SourceMarketo.md index b0c2e2df4..21cd934f0 100644 --- a/docs/models/shared/SourceMarketo.md +++ b/docs/models/shared/SourceMarketo.md @@ -8,5 +8,5 @@ | `clientId` | *String* | :heavy_check_mark: | The Client ID of your Marketo developer application. See the docs for info on how to obtain this. | | | `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Marketo developer application. See the docs for info on how to obtain this. | | | `domainUrl` | *String* | :heavy_check_mark: | Your Marketo Base URL. See the docs for info on how to obtain this. | https://000-AAA-000.mktorest.com | -| `sourceType` | [com.airbyte.api.models.shared.Marketo](../../models/shared/Marketo.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Marketo](../../models/shared/Marketo.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2020-09-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceMarketstack.md b/docs/models/shared/SourceMarketstack.md new file mode 100644 index 000000000..b2fd6ded6 --- /dev/null +++ b/docs/models/shared/SourceMarketstack.md @@ -0,0 +1,10 @@ +# SourceMarketstack + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Marketstack](../../models/shared/Marketstack.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMention.md b/docs/models/shared/SourceMention.md new file mode 100644 index 000000000..3d8244c9b --- /dev/null +++ b/docs/models/shared/SourceMention.md @@ -0,0 +1,12 @@ +# SourceMention + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Mention](../../models/shared/Mention.md) | :heavy_check_mark: | N/A | +| `statsEndDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | N/A | +| `statsInterval` | [Optional\](../../models/shared/StatisticsInterval.md) | :heavy_minus_sign: | Periodicity of statistics returned. it may be daily(P1D), weekly(P1W) or monthly(P1M). | +| `statsStartDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMetabase.md b/docs/models/shared/SourceMetabase.md index 1473a0961..3a258ff8e 100644 --- a/docs/models/shared/SourceMetabase.md +++ b/docs/models/shared/SourceMetabase.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `instanceApiUrl` | *String* | :heavy_check_mark: | URL to your metabase instance API | https://localhost:3000/api/ | -| `password` | *Optional* | :heavy_minus_sign: | N/A | | -| `sessionToken` | *Optional* | :heavy_minus_sign: | To generate your session token, you need to run the following command: ``` curl -X POST \
    -H "Content-Type: application/json" \
    -d '{"username": "person@metabase.com", "password": "fakepassword"}' \
    http://localhost:3000/api/session
    ``` Then copy the value of the `id` field returned by a successful call to that API.
    Note that by default, sessions are good for 14 days and needs to be regenerated. | | -| `sourceType` | [com.airbyte.api.models.shared.Metabase](../../models/shared/Metabase.md) | :heavy_check_mark: | N/A | | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | | +| `sessionToken` | *Optional\* | :heavy_minus_sign: | To generate your session token, you need to run the following command: ``` curl -X POST \
    -H "Content-Type: application/json" \
    -d '{"username": "person@metabase.com", "password": "fakepassword"}' \
    http://localhost:3000/api/session
    ``` Then copy the value of the `id` field returned by a successful call to that API.
    Note that by default, sessions are good for 14 days and needs to be regenerated. | | +| `sourceType` | [Metabase](../../models/shared/Metabase.md) | :heavy_check_mark: | N/A | | | `username` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftDataverse.md b/docs/models/shared/SourceMicrosoftDataverse.md new file mode 100644 index 000000000..72d27d2e0 --- /dev/null +++ b/docs/models/shared/SourceMicrosoftDataverse.md @@ -0,0 +1,13 @@ +# SourceMicrosoftDataverse + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | App Registration Client Id | | +| `clientSecretValue` | *String* | :heavy_check_mark: | App Registration Client Secret | | +| `odataMaxpagesize` | *Optional\* | :heavy_minus_sign: | Max number of results per page. Default=5000 | | +| `sourceType` | [MicrosoftDataverse](../../models/shared/MicrosoftDataverse.md) | :heavy_check_mark: | N/A | | +| `tenantId` | *String* | :heavy_check_mark: | Tenant Id of your Microsoft Dataverse Instance | | +| `url` | *String* | :heavy_check_mark: | URL to Microsoft Dataverse API | https://.crm.dynamics.com | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftEntraId.md b/docs/models/shared/SourceMicrosoftEntraId.md new file mode 100644 index 000000000..ecc63cf18 --- /dev/null +++ b/docs/models/shared/SourceMicrosoftEntraId.md @@ -0,0 +1,12 @@ +# SourceMicrosoftEntraId + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [MicrosoftEntraId](../../models/shared/MicrosoftEntraId.md) | :heavy_check_mark: | N/A | +| `tenantId` | *String* | :heavy_check_mark: | N/A | +| `userId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftLists.md b/docs/models/shared/SourceMicrosoftLists.md new file mode 100644 index 000000000..ce1a40e11 --- /dev/null +++ b/docs/models/shared/SourceMicrosoftLists.md @@ -0,0 +1,14 @@ +# SourceMicrosoftLists + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `applicationIdUri` | *String* | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `domain` | *String* | :heavy_check_mark: | N/A | +| `siteId` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [MicrosoftLists](../../models/shared/MicrosoftLists.md) | :heavy_check_mark: | N/A | +| `tenantId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedrive.md b/docs/models/shared/SourceMicrosoftOnedrive.md index af1de83c5..93f1aafea 100644 --- a/docs/models/shared/SourceMicrosoftOnedrive.md +++ b/docs/models/shared/SourceMicrosoftOnedrive.md @@ -8,10 +8,10 @@ This class combines the authentication details with additional configuration for | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SourceMicrosoftOnedriveAuthentication](../../models/shared/SourceMicrosoftOnedriveAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the One Drive API | | -| `driveName` | *Optional* | :heavy_minus_sign: | Name of the Microsoft OneDrive drive where the file(s) exist. | | -| `folderPath` | *Optional* | :heavy_minus_sign: | Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. | | -| `searchScope` | [Optional](../../models/shared/SearchScope.md) | :heavy_minus_sign: | Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' to search in the selected OneDrive drive, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceMicrosoftOnedriveMicrosoftOnedrive](../../models/shared/SourceMicrosoftOnedriveMicrosoftOnedrive.md) | :heavy_check_mark: | N/A | | +| `credentials` | [SourceMicrosoftOnedriveAuthentication](../../models/shared/SourceMicrosoftOnedriveAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the One Drive API | | +| `driveName` | *Optional\* | :heavy_minus_sign: | Name of the Microsoft OneDrive drive where the file(s) exist. | | +| `folderPath` | *Optional\* | :heavy_minus_sign: | Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. | | +| `searchScope` | [Optional\](../../models/shared/SearchScope.md) | :heavy_minus_sign: | Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' to search in the selected OneDrive drive, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. | | +| `sourceType` | [SourceMicrosoftOnedriveMicrosoftOnedrive](../../models/shared/SourceMicrosoftOnedriveMicrosoftOnedrive.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. | 2021-01-01T00:00:00.000000Z | -| `streams` | List<[com.airbyte.api.models.shared.SourceMicrosoftOnedriveFileBasedStreamConfig](../../models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file +| `streams` | List\<[SourceMicrosoftOnedriveFileBasedStreamConfig](../../models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveAutogenerated.md b/docs/models/shared/SourceMicrosoftOnedriveAutogenerated.md index 504f357c8..456c916c1 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveAutogenerated.md +++ b/docs/models/shared/SourceMicrosoftOnedriveAutogenerated.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveAvroFormat.md b/docs/models/shared/SourceMicrosoftOnedriveAvroFormat.md index 3969661b5..a66337a50 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveAvroFormat.md +++ b/docs/models/shared/SourceMicrosoftOnedriveAvroFormat.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `doubleAsString` | *Optional* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftOnedriveFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `doubleAsString` | *Optional\* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftOnedriveFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveCSVFormat.md b/docs/models/shared/SourceMicrosoftOnedriveCSVFormat.md index 6a6e3dae1..d3c76eefb 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveCSVFormat.md +++ b/docs/models/shared/SourceMicrosoftOnedriveCSVFormat.md @@ -5,17 +5,17 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `delimiter` | *Optional* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | -| `doubleQuote` | *Optional* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | -| `encoding` | *Optional* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | -| `escapeChar` | *Optional* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | -| `falseValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftOnedriveSchemasFiletype.md) | :heavy_minus_sign: | N/A | -| `headerDefinition` | [Optional](../../models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | -| `ignoreErrorsOnFieldsMismatch` | *Optional* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | -| `nullValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | -| `quoteChar` | *Optional* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | -| `skipRowsAfterHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip after the header row. | -| `skipRowsBeforeHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | -| `stringsCanBeNull` | *Optional* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | -| `trueValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file +| `delimiter` | *Optional\* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | +| `doubleQuote` | *Optional\* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | +| `encoding` | *Optional\* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | +| `escapeChar` | *Optional\* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | +| `falseValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftOnedriveSchemasFiletype.md) | :heavy_minus_sign: | N/A | +| `headerDefinition` | [Optional\](../../models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignoreErrorsOnFieldsMismatch` | *Optional\* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | +| `nullValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | +| `quoteChar` | *Optional\* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | +| `skipRowsAfterHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip after the header row. | +| `skipRowsBeforeHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | +| `stringsCanBeNull` | *Optional\* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | +| `trueValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.md b/docs/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.md index 73279c649..928c737c3 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.md +++ b/docs/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `daysToSyncIfHistoryIsFull` | *Optional* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | -| `format` | [com.airbyte.api.models.shared.SourceMicrosoftOnedriveFormat](../../models/shared/SourceMicrosoftOnedriveFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | -| `globs` | List<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | -| `inputSchema` | *Optional* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | +| `daysToSyncIfHistoryIsFull` | *Optional\* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | +| `format` | [SourceMicrosoftOnedriveFormat](../../models/shared/SourceMicrosoftOnedriveFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | +| `globs` | List\<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | +| `inputSchema` | *Optional\* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | | `name` | *String* | :heavy_check_mark: | The name of the stream. | -| `schemaless` | *Optional* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | -| `validationPolicy` | [Optional](../../models/shared/SourceMicrosoftOnedriveValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file +| `schemaless` | *Optional\* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | +| `validationPolicy` | [Optional\](../../models/shared/SourceMicrosoftOnedriveValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveFromCSV.md b/docs/models/shared/SourceMicrosoftOnedriveFromCSV.md index df70fec8c..bc1be10b2 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveFromCSV.md +++ b/docs/models/shared/SourceMicrosoftOnedriveFromCSV.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveJsonlFormat.md b/docs/models/shared/SourceMicrosoftOnedriveJsonlFormat.md index 20d35103c..24fbec414 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveJsonlFormat.md +++ b/docs/models/shared/SourceMicrosoftOnedriveJsonlFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveLocal.md b/docs/models/shared/SourceMicrosoftOnedriveLocal.md index 50c462d4d..3dbc4a752 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveLocal.md +++ b/docs/models/shared/SourceMicrosoftOnedriveLocal.md @@ -5,6 +5,6 @@ Process files locally, supporting `fast` and `ocr` modes. This is the default op ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/SourceMicrosoftOnedriveMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/SourceMicrosoftOnedriveMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveParquetFormat.md b/docs/models/shared/SourceMicrosoftOnedriveParquetFormat.md index a5fdb411d..65ae3c287 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveParquetFormat.md +++ b/docs/models/shared/SourceMicrosoftOnedriveParquetFormat.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `decimalAsFloat` | *Optional* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `decimalAsFloat` | *Optional\* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.md b/docs/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.md index 1676bd4eb..b7f625daf 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.md +++ b/docs/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.md @@ -7,7 +7,7 @@ Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one rec | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | -| `processing` | [Optional](../../models/shared/SourceMicrosoftOnedriveProcessing.md) | :heavy_minus_sign: | Processing configuration | -| `skipUnprocessableFiles` | *Optional* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | -| `strategy` | [Optional](../../models/shared/SourceMicrosoftOnedriveParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | +| `processing` | [Optional\](../../models/shared/SourceMicrosoftOnedriveProcessing.md) | :heavy_minus_sign: | Processing configuration | +| `skipUnprocessableFiles` | *Optional\* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | +| `strategy` | [Optional\](../../models/shared/SourceMicrosoftOnedriveParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftOnedriveUserProvided.md b/docs/models/shared/SourceMicrosoftOnedriveUserProvided.md index 61cc2a9ef..90dd3c8f9 100644 --- a/docs/models/shared/SourceMicrosoftOnedriveUserProvided.md +++ b/docs/models/shared/SourceMicrosoftOnedriveUserProvided.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `columnNames` | List<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | -| `headerDefinitionType` | [Optional](../../models/shared/SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `columnNames` | List\<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepoint.md b/docs/models/shared/SourceMicrosoftSharepoint.md index 5299ea12c..2121b0d88 100644 --- a/docs/models/shared/SourceMicrosoftSharepoint.md +++ b/docs/models/shared/SourceMicrosoftSharepoint.md @@ -8,9 +8,9 @@ This class combines the authentication details with additional configuration for | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SourceMicrosoftSharepointAuthentication](../../models/shared/SourceMicrosoftSharepointAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the One Drive API | | -| `folderPath` | *Optional* | :heavy_minus_sign: | Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. | | -| `searchScope` | [Optional](../../models/shared/SourceMicrosoftSharepointSearchScope.md) | :heavy_minus_sign: | Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceMicrosoftSharepointMicrosoftSharepoint](../../models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.md) | :heavy_check_mark: | N/A | | +| `credentials` | [SourceMicrosoftSharepointAuthentication](../../models/shared/SourceMicrosoftSharepointAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the One Drive API | | +| `folderPath` | *Optional\* | :heavy_minus_sign: | Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. | | +| `searchScope` | [Optional\](../../models/shared/SourceMicrosoftSharepointSearchScope.md) | :heavy_minus_sign: | Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. | | +| `sourceType` | [SourceMicrosoftSharepointMicrosoftSharepoint](../../models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. | 2021-01-01T00:00:00.000000Z | -| `streams` | List<[com.airbyte.api.models.shared.SourceMicrosoftSharepointFileBasedStreamConfig](../../models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file +| `streams` | List\<[SourceMicrosoftSharepointFileBasedStreamConfig](../../models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.md b/docs/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.md index 439d39a78..239330db6 100644 --- a/docs/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.md +++ b/docs/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.md @@ -6,10 +6,10 @@ This class uses pydantic for data validation and settings management. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceMicrosoftSharepointAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | -| `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | -| `refreshToken` | *Optional* | :heavy_minus_sign: | Refresh Token of your Microsoft developer application | -| `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft SharePoint user | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceMicrosoftSharepointAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | +| `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | +| `refreshToken` | *Optional\* | :heavy_minus_sign: | Refresh Token of your Microsoft developer application | +| `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft SharePoint user | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointAutogenerated.md b/docs/models/shared/SourceMicrosoftSharepointAutogenerated.md index b2edabef8..a43107398 100644 --- a/docs/models/shared/SourceMicrosoftSharepointAutogenerated.md +++ b/docs/models/shared/SourceMicrosoftSharepointAutogenerated.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointAvroFormat.md b/docs/models/shared/SourceMicrosoftSharepointAvroFormat.md index 32c5e3dff..e74761522 100644 --- a/docs/models/shared/SourceMicrosoftSharepointAvroFormat.md +++ b/docs/models/shared/SourceMicrosoftSharepointAvroFormat.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `doubleAsString` | *Optional* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftSharepointFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `doubleAsString` | *Optional\* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftSharepointFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointCSVFormat.md b/docs/models/shared/SourceMicrosoftSharepointCSVFormat.md index 3dca7aa46..7fe13824c 100644 --- a/docs/models/shared/SourceMicrosoftSharepointCSVFormat.md +++ b/docs/models/shared/SourceMicrosoftSharepointCSVFormat.md @@ -5,17 +5,17 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `delimiter` | *Optional* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | -| `doubleQuote` | *Optional* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | -| `encoding` | *Optional* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | -| `escapeChar` | *Optional* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | -| `falseValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftSharepointSchemasFiletype.md) | :heavy_minus_sign: | N/A | -| `headerDefinition` | [Optional](../../models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | -| `ignoreErrorsOnFieldsMismatch` | *Optional* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | -| `nullValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | -| `quoteChar` | *Optional* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | -| `skipRowsAfterHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip after the header row. | -| `skipRowsBeforeHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | -| `stringsCanBeNull` | *Optional* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | -| `trueValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file +| `delimiter` | *Optional\* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | +| `doubleQuote` | *Optional\* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | +| `encoding` | *Optional\* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | +| `escapeChar` | *Optional\* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | +| `falseValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftSharepointSchemasFiletype.md) | :heavy_minus_sign: | N/A | +| `headerDefinition` | [Optional\](../../models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignoreErrorsOnFieldsMismatch` | *Optional\* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | +| `nullValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | +| `quoteChar` | *Optional\* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | +| `skipRowsAfterHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip after the header row. | +| `skipRowsBeforeHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | +| `stringsCanBeNull` | *Optional\* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | +| `trueValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointExcelFormat.md b/docs/models/shared/SourceMicrosoftSharepointExcelFormat.md index 4d7179933..e7d8848fa 100644 --- a/docs/models/shared/SourceMicrosoftSharepointExcelFormat.md +++ b/docs/models/shared/SourceMicrosoftSharepointExcelFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.md b/docs/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.md index bf0885a1d..75acf38fe 100644 --- a/docs/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.md +++ b/docs/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `daysToSyncIfHistoryIsFull` | *Optional* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | -| `format` | [com.airbyte.api.models.shared.SourceMicrosoftSharepointFormat](../../models/shared/SourceMicrosoftSharepointFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | -| `globs` | List<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | -| `inputSchema` | *Optional* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | +| `daysToSyncIfHistoryIsFull` | *Optional\* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | +| `format` | [SourceMicrosoftSharepointFormat](../../models/shared/SourceMicrosoftSharepointFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | +| `globs` | List\<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | +| `inputSchema` | *Optional\* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | | `name` | *String* | :heavy_check_mark: | The name of the stream. | -| `recentNFilesToReadForSchemaDiscovery` | *Optional* | :heavy_minus_sign: | The number of resent files which will be used to discover the schema for this stream. | -| `schemaless` | *Optional* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | -| `validationPolicy` | [Optional](../../models/shared/SourceMicrosoftSharepointValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file +| `recentNFilesToReadForSchemaDiscovery` | *Optional\* | :heavy_minus_sign: | The number of resent files which will be used to discover the schema for this stream. | +| `schemaless` | *Optional\* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | +| `validationPolicy` | [Optional\](../../models/shared/SourceMicrosoftSharepointValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointFromCSV.md b/docs/models/shared/SourceMicrosoftSharepointFromCSV.md index ee1ce376e..94b322cb0 100644 --- a/docs/models/shared/SourceMicrosoftSharepointFromCSV.md +++ b/docs/models/shared/SourceMicrosoftSharepointFromCSV.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceMicrosoftSharepointHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceMicrosoftSharepointHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointJsonlFormat.md b/docs/models/shared/SourceMicrosoftSharepointJsonlFormat.md index 02ef904ec..dba51bee2 100644 --- a/docs/models/shared/SourceMicrosoftSharepointJsonlFormat.md +++ b/docs/models/shared/SourceMicrosoftSharepointJsonlFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointLocal.md b/docs/models/shared/SourceMicrosoftSharepointLocal.md index 08563afb8..6f5ded569 100644 --- a/docs/models/shared/SourceMicrosoftSharepointLocal.md +++ b/docs/models/shared/SourceMicrosoftSharepointLocal.md @@ -5,6 +5,6 @@ Process files locally, supporting `fast` and `ocr` modes. This is the default op ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/SourceMicrosoftSharepointMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `mode` | [Optional\](../../models/shared/SourceMicrosoftSharepointMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointParquetFormat.md b/docs/models/shared/SourceMicrosoftSharepointParquetFormat.md index 18157070d..c02e7290b 100644 --- a/docs/models/shared/SourceMicrosoftSharepointParquetFormat.md +++ b/docs/models/shared/SourceMicrosoftSharepointParquetFormat.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `decimalAsFloat` | *Optional* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `decimalAsFloat` | *Optional\* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.md b/docs/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.md index d80ce7b77..ab1d5f548 100644 --- a/docs/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.md +++ b/docs/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.md @@ -8,7 +8,7 @@ This class is structured similarly to OAuthCredentials but for a different authe | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceMicrosoftSharepointSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `authType` | [Optional\](../../models/shared/SourceMicrosoftSharepointSchemasAuthType.md) | :heavy_minus_sign: | N/A | | `clientId` | *String* | :heavy_check_mark: | Client ID of your Microsoft developer application | | `clientSecret` | *String* | :heavy_check_mark: | Client Secret of your Microsoft developer application | | `tenantId` | *String* | :heavy_check_mark: | Tenant ID of the Microsoft SharePoint user | diff --git a/docs/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.md b/docs/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.md index 5cbe5e22d..3c5d239bb 100644 --- a/docs/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.md +++ b/docs/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.md @@ -7,7 +7,7 @@ Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one rec | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | -| `processing` | [Optional](../../models/shared/SourceMicrosoftSharepointProcessing.md) | :heavy_minus_sign: | Processing configuration | -| `skipUnprocessableFiles` | *Optional* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | -| `strategy` | [Optional](../../models/shared/SourceMicrosoftSharepointParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file +| `filetype` | [Optional\](../../models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | +| `processing` | [Optional\](../../models/shared/SourceMicrosoftSharepointProcessing.md) | :heavy_minus_sign: | Processing configuration | +| `skipUnprocessableFiles` | *Optional\* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | +| `strategy` | [Optional\](../../models/shared/SourceMicrosoftSharepointParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftSharepointUserProvided.md b/docs/models/shared/SourceMicrosoftSharepointUserProvided.md index 2d353d158..b6c60f609 100644 --- a/docs/models/shared/SourceMicrosoftSharepointUserProvided.md +++ b/docs/models/shared/SourceMicrosoftSharepointUserProvided.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `columnNames` | List<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | -| `headerDefinitionType` | [Optional](../../models/shared/SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `columnNames` | List\<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMicrosoftTeams.md b/docs/models/shared/SourceMicrosoftTeams.md index d1b28d656..e3395ac74 100644 --- a/docs/models/shared/SourceMicrosoftTeams.md +++ b/docs/models/shared/SourceMicrosoftTeams.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceMicrosoftTeamsAuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate to Microsoft | | -| `period` | *String* | :heavy_check_mark: | Specifies the length of time over which the Team Device Report stream is aggregated. The supported values are: D7, D30, D90, and D180. | D7 | -| `sourceType` | [com.airbyte.api.models.shared.SourceMicrosoftTeamsMicrosoftTeams](../../models/shared/SourceMicrosoftTeamsMicrosoftTeams.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceMicrosoftTeamsAuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate to Microsoft | | +| `period` | *String* | :heavy_check_mark: | Specifies the length of time over which the Team Device Report stream is aggregated. The supported values are: D7, D30, D90, and D180. | D7 | +| `sourceType` | [SourceMicrosoftTeamsMicrosoftTeams](../../models/shared/SourceMicrosoftTeamsMicrosoftTeams.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceMiro.md b/docs/models/shared/SourceMiro.md new file mode 100644 index 000000000..1079d316e --- /dev/null +++ b/docs/models/shared/SourceMiro.md @@ -0,0 +1,9 @@ +# SourceMiro + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Miro](../../models/shared/Miro.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMissive.md b/docs/models/shared/SourceMissive.md new file mode 100644 index 000000000..fcbe354a0 --- /dev/null +++ b/docs/models/shared/SourceMissive.md @@ -0,0 +1,12 @@ +# SourceMissive + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `kind` | [Optional\](../../models/shared/Kind.md) | :heavy_minus_sign: | Kind parameter for `contact_groups` stream | +| `limit` | *Optional\* | :heavy_minus_sign: | Max records per page limit | +| `sourceType` | [Missive](../../models/shared/Missive.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMixmax.md b/docs/models/shared/SourceMixmax.md new file mode 100644 index 000000000..c36263ce4 --- /dev/null +++ b/docs/models/shared/SourceMixmax.md @@ -0,0 +1,10 @@ +# SourceMixmax + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Mixmax](../../models/shared/Mixmax.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMixpanel.md b/docs/models/shared/SourceMixpanel.md index 5a8a9878f..dc3d200eb 100644 --- a/docs/models/shared/SourceMixpanel.md +++ b/docs/models/shared/SourceMixpanel.md @@ -5,13 +5,13 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `attributionWindow` | *Optional* | :heavy_minus_sign: | A period of time for attributing results to ads and the lookback period after those actions occur during which ad results are counted. Default attribution window is 5 days. (This value should be non-negative integer) | | -| `credentials` | [com.airbyte.api.models.shared.AuthenticationWildcard](../../models/shared/AuthenticationWildcard.md) | :heavy_check_mark: | Choose how to authenticate to Mixpanel | | -| `dateWindowSize` | *Optional* | :heavy_minus_sign: | Defines window size in days, that used to slice through data. You can reduce it, if amount of data in each window is too big for your environment. (This value should be positive integer) | | +| `attributionWindow` | *Optional\* | :heavy_minus_sign: | A period of time for attributing results to ads and the lookback period after those actions occur during which ad results are counted. Default attribution window is 5 days. (This value should be non-negative integer) | | +| `credentials` | [AuthenticationWildcard](../../models/shared/AuthenticationWildcard.md) | :heavy_check_mark: | Choose how to authenticate to Mixpanel | | +| `dateWindowSize` | *Optional\* | :heavy_minus_sign: | Defines window size in days, that used to slice through data. You can reduce it, if amount of data in each window is too big for your environment. (This value should be positive integer) | | | `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date in the format YYYY-MM-DD. Any data after this date will not be replicated. Left empty to always sync to most recent date | 2021-11-16 | -| `pageSize` | *Optional* | :heavy_minus_sign: | The number of records to fetch per request for the engage stream. Default is 1000. If you are experiencing long sync times with this stream, try increasing this value. | | -| `projectTimezone` | *Optional* | :heavy_minus_sign: | Time zone in which integer date times are stored. The project timezone may be found in the project settings in the Mixpanel console. | US/Pacific | -| `region` | [Optional](../../models/shared/SourceMixpanelRegion.md) | :heavy_minus_sign: | The region of mixpanel domain instance either US or EU. | | -| `selectPropertiesByDefault` | *Optional* | :heavy_minus_sign: | Setting this config parameter to TRUE ensures that new properties on events and engage records are captured. Otherwise new properties will be ignored. | | -| `sourceType` | [com.airbyte.api.models.shared.Mixpanel](../../models/shared/Mixpanel.md) | :heavy_check_mark: | N/A | | +| `pageSize` | *Optional\* | :heavy_minus_sign: | The number of records to fetch per request for the engage stream. Default is 1000. If you are experiencing long sync times with this stream, try increasing this value. | | +| `projectTimezone` | *Optional\* | :heavy_minus_sign: | Time zone in which integer date times are stored. The project timezone may be found in the project settings in the Mixpanel console. | US/Pacific | +| `region` | [Optional\](../../models/shared/SourceMixpanelRegion.md) | :heavy_minus_sign: | The region of mixpanel domain instance either US or EU. | | +| `selectPropertiesByDefault` | *Optional\* | :heavy_minus_sign: | Setting this config parameter to TRUE ensures that new properties on events and engage records are captured. Otherwise new properties will be ignored. | | +| `sourceType` | [Mixpanel](../../models/shared/Mixpanel.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date in the format YYYY-MM-DD. Any data before this date will not be replicated. If this option is not set, the connector will replicate data from up to one year ago by default. | 2021-11-16 | \ No newline at end of file diff --git a/docs/models/shared/SourceMode.md b/docs/models/shared/SourceMode.md new file mode 100644 index 000000000..918718561 --- /dev/null +++ b/docs/models/shared/SourceMode.md @@ -0,0 +1,11 @@ +# SourceMode + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `apiSecret` | *String* | :heavy_check_mark: | API secret to use as the password for Basic Authentication. | +| `apiToken` | *String* | :heavy_check_mark: | API token to use as the username for Basic Authentication. | +| `sourceType` | [Mode](../../models/shared/Mode.md) | :heavy_check_mark: | N/A | +| `workspace` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMonday.md b/docs/models/shared/SourceMonday.md index f1a5e1be3..b68451b25 100644 --- a/docs/models/shared/SourceMonday.md +++ b/docs/models/shared/SourceMonday.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceMondayAuthorizationMethod.md) | :heavy_minus_sign: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.SourceMondayMonday](../../models/shared/SourceMondayMonday.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceMondayAuthorizationMethod.md) | :heavy_minus_sign: | N/A | +| `sourceType` | [SourceMondayMonday](../../models/shared/SourceMondayMonday.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMondayOAuth20.md b/docs/models/shared/SourceMondayOAuth20.md index b88f7b78b..b3650377d 100644 --- a/docs/models/shared/SourceMondayOAuth20.md +++ b/docs/models/shared/SourceMondayOAuth20.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | -| `authType` | [com.airbyte.api.models.shared.SourceMondayAuthType](../../models/shared/SourceMondayAuthType.md) | :heavy_check_mark: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application. | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your OAuth application. | -| `subdomain` | *Optional* | :heavy_minus_sign: | Slug/subdomain of the account, or the first part of the URL that comes before .monday.com | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | +| `authType` | [SourceMondayAuthType](../../models/shared/SourceMondayAuthType.md) | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your OAuth application. | +| `subdomain` | *Optional\* | :heavy_minus_sign: | Slug/subdomain of the account, or the first part of the URL that comes before .monday.com | \ No newline at end of file diff --git a/docs/models/shared/SourceMongodbV2.md b/docs/models/shared/SourceMongodbV2.md index cae5d4537..905c5be78 100644 --- a/docs/models/shared/SourceMongodbV2.md +++ b/docs/models/shared/SourceMongodbV2.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `databaseConfig` | *java.lang.Object* | :heavy_check_mark: | Configures the MongoDB cluster type. | -| `discoverSampleSize` | *Optional* | :heavy_minus_sign: | The maximum number of documents to sample when attempting to discover the unique fields for a collection. | -| `initialLoadTimeoutHours` | *Optional* | :heavy_minus_sign: | The amount of time an initial load is allowed to continue for before catching up on CDC logs. | -| `initialWaitingSeconds` | *Optional* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. | -| `invalidCdcCursorPositionBehavior` | [Optional](../../models/shared/InvalidCDCPositionBehaviorAdvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | -| `queueSize` | *Optional* | :heavy_minus_sign: | The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. | -| `sourceType` | [com.airbyte.api.models.shared.MongodbV2](../../models/shared/MongodbV2.md) | :heavy_check_mark: | N/A | -| `updateCaptureMode` | [Optional](../../models/shared/CaptureModeAdvanced.md) | :heavy_minus_sign: | Determines how Airbyte looks up the value of an updated document. If 'Lookup' is chosen, the current value of the document will be read. If 'Post Image' is chosen, then the version of the document immediately after an update will be read. WARNING : Severe data loss will occur if this option is chosen and the appropriate settings are not set on your Mongo instance : https://www.mongodb.com/docs/manual/changeStreams/#change-streams-with-document-pre-and-post-images. | \ No newline at end of file +| `databaseConfig` | [ClusterType](../../models/shared/ClusterType.md) | :heavy_check_mark: | Configures the MongoDB cluster type. | +| `discoverSampleSize` | *Optional\* | :heavy_minus_sign: | The maximum number of documents to sample when attempting to discover the unique fields for a collection. | +| `initialLoadTimeoutHours` | *Optional\* | :heavy_minus_sign: | The amount of time an initial load is allowed to continue for before catching up on CDC logs. | +| `initialWaitingSeconds` | *Optional\* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. | +| `invalidCdcCursorPositionBehavior` | [Optional\](../../models/shared/InvalidCDCPositionBehaviorAdvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | +| `queueSize` | *Optional\* | :heavy_minus_sign: | The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. | +| `sourceType` | [MongodbV2](../../models/shared/MongodbV2.md) | :heavy_check_mark: | N/A | +| `updateCaptureMode` | [Optional\](../../models/shared/CaptureModeAdvanced.md) | :heavy_minus_sign: | Determines how Airbyte looks up the value of an updated document. If 'Lookup' is chosen, the current value of the document will be read. If 'Post Image' is chosen, then the version of the document immediately after an update will be read. WARNING : Severe data loss will occur if this option is chosen and the appropriate settings are not set on your Mongo instance : https://www.mongodb.com/docs/manual/changeStreams/#change-streams-with-document-pre-and-post-images. | \ No newline at end of file diff --git a/docs/models/shared/SourceMongodbV2ClusterType.md b/docs/models/shared/SourceMongodbV2ClusterType.md new file mode 100644 index 000000000..66253f7e9 --- /dev/null +++ b/docs/models/shared/SourceMongodbV2ClusterType.md @@ -0,0 +1,8 @@ +# SourceMongodbV2ClusterType + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `ATLAS_REPLICA_SET` | ATLAS_REPLICA_SET | \ No newline at end of file diff --git a/docs/models/shared/SourceMongodbV2SchemasClusterType.md b/docs/models/shared/SourceMongodbV2SchemasClusterType.md new file mode 100644 index 000000000..91180351f --- /dev/null +++ b/docs/models/shared/SourceMongodbV2SchemasClusterType.md @@ -0,0 +1,8 @@ +# SourceMongodbV2SchemasClusterType + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `SELF_MANAGED_REPLICA_SET` | SELF_MANAGED_REPLICA_SET | \ No newline at end of file diff --git a/docs/models/shared/SourceMssql.md b/docs/models/shared/SourceMssql.md index fee9333bc..572e65b4c 100644 --- a/docs/models/shared/SourceMssql.md +++ b/docs/models/shared/SourceMssql.md @@ -7,12 +7,12 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `database` | *String* | :heavy_check_mark: | The name of the database. | master | | `host` | *String* | :heavy_check_mark: | The hostname of the database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | | `password` | *String* | :heavy_check_mark: | The password associated with the username. | | | `port` | *long* | :heavy_check_mark: | The port of the database. | 1433 | -| `replicationMethod` | [Optional](../../models/shared/UpdateMethod.md) | :heavy_minus_sign: | Configures how data is extracted from the database. | | -| `schemas` | List<*String*> | :heavy_minus_sign: | The list of schemas to sync from. Defaults to user. Case sensitive. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceMssqlMssql](../../models/shared/SourceMssqlMssql.md) | :heavy_check_mark: | N/A | | -| `sslMethod` | [Optional](../../models/shared/SourceMssqlSSLMethod.md) | :heavy_minus_sign: | The encryption method which is used when communicating with the database. | | -| `tunnelMethod` | [Optional](../../models/shared/SourceMssqlSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `replicationMethod` | [Optional\](../../models/shared/UpdateMethod.md) | :heavy_minus_sign: | Configures how data is extracted from the database. | | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas to sync from. Defaults to user. Case sensitive. | | +| `sourceType` | [SourceMssqlMssql](../../models/shared/SourceMssqlMssql.md) | :heavy_check_mark: | N/A | | +| `sslMethod` | [Optional\](../../models/shared/SourceMssqlSSLMethod.md) | :heavy_minus_sign: | The encryption method which is used when communicating with the database. | | +| `tunnelMethod` | [Optional\](../../models/shared/SourceMssqlSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | The username which is used to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/SourceMssqlEncryptedTrustServerCertificate.md b/docs/models/shared/SourceMssqlEncryptedTrustServerCertificate.md index efea47f6b..64a35ff1f 100644 --- a/docs/models/shared/SourceMssqlEncryptedTrustServerCertificate.md +++ b/docs/models/shared/SourceMssqlEncryptedTrustServerCertificate.md @@ -5,6 +5,6 @@ Use the certificate provided by the server without verification. (For testing pu ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `sslMethod` | [com.airbyte.api.models.shared.SourceMssqlSchemasSslMethodSslMethod](../../models/shared/SourceMssqlSchemasSslMethodSslMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `sslMethod` | [SourceMssqlSchemasSslMethodSslMethod](../../models/shared/SourceMssqlSchemasSslMethodSslMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMssqlEncryptedVerifyCertificate.md b/docs/models/shared/SourceMssqlEncryptedVerifyCertificate.md index 12ecb8095..714412817 100644 --- a/docs/models/shared/SourceMssqlEncryptedVerifyCertificate.md +++ b/docs/models/shared/SourceMssqlEncryptedVerifyCertificate.md @@ -5,8 +5,8 @@ Verify and use the certificate provided by the server. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -| `certificate` | *Optional* | :heavy_minus_sign: | certificate of the server, or of the CA that signed the server certificate | -| `hostNameInCertificate` | *Optional* | :heavy_minus_sign: | Specifies the host name of the server. The value of this property must match the subject property of the certificate. | -| `sslMethod` | [com.airbyte.api.models.shared.SourceMssqlSchemasSSLMethodSSLMethodSSLMethod](../../models/shared/SourceMssqlSchemasSSLMethodSSLMethodSSLMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `certificate` | *Optional\* | :heavy_minus_sign: | certificate of the server, or of the CA that signed the server certificate | +| `hostNameInCertificate` | *Optional\* | :heavy_minus_sign: | Specifies the host name of the server. The value of this property must match the subject property of the certificate. | +| `sslMethod` | [SourceMssqlSchemasSSLMethodSSLMethodSSLMethod](../../models/shared/SourceMssqlSchemasSSLMethodSSLMethodSSLMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMssqlNoTunnel.md b/docs/models/shared/SourceMssqlNoTunnel.md index 53d65177e..0ac9a5153 100644 --- a/docs/models/shared/SourceMssqlNoTunnel.md +++ b/docs/models/shared/SourceMssqlNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceMssqlTunnelMethod](../../models/shared/SourceMssqlTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `tunnelMethod` | [SourceMssqlTunnelMethod](../../models/shared/SourceMssqlTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/SourceMssqlPasswordAuthentication.md b/docs/models/shared/SourceMssqlPasswordAuthentication.md index c4322ca12..aadf94b8a 100644 --- a/docs/models/shared/SourceMssqlPasswordAuthentication.md +++ b/docs/models/shared/SourceMssqlPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceMssqlSchemasTunnelMethodTunnelMethod](../../models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourceMssqlSchemasTunnelMethodTunnelMethod](../../models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/SourceMssqlSSHKeyAuthentication.md b/docs/models/shared/SourceMssqlSSHKeyAuthentication.md index 7e4e063d4..fe9d9146f 100644 --- a/docs/models/shared/SourceMssqlSSHKeyAuthentication.md +++ b/docs/models/shared/SourceMssqlSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceMssqlSchemasTunnelMethod](../../models/shared/SourceMssqlSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourceMssqlSchemasTunnelMethod](../../models/shared/SourceMssqlSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/SourceMssqlUnencrypted.md b/docs/models/shared/SourceMssqlUnencrypted.md index 39c9e643f..7355d41e7 100644 --- a/docs/models/shared/SourceMssqlUnencrypted.md +++ b/docs/models/shared/SourceMssqlUnencrypted.md @@ -5,6 +5,6 @@ Data transfer will not be encrypted. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `sslMethod` | [com.airbyte.api.models.shared.SourceMssqlSchemasSslMethod](../../models/shared/SourceMssqlSchemasSslMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `sslMethod` | [SourceMssqlSchemasSslMethod](../../models/shared/SourceMssqlSchemasSslMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMux.md b/docs/models/shared/SourceMux.md new file mode 100644 index 000000000..093b4c1a6 --- /dev/null +++ b/docs/models/shared/SourceMux.md @@ -0,0 +1,12 @@ +# SourceMux + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `playbackId` | *Optional\* | :heavy_minus_sign: | The playback id for your video asset shown in website details | +| `sourceType` | [Mux](../../models/shared/Mux.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceMyHours.md b/docs/models/shared/SourceMyHours.md index 0a65e7b3e..d2915a4a0 100644 --- a/docs/models/shared/SourceMyHours.md +++ b/docs/models/shared/SourceMyHours.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `email` | *String* | :heavy_check_mark: | Your My Hours username | john@doe.com | -| `logsBatchSize` | *Optional* | :heavy_minus_sign: | Pagination size used for retrieving logs in days | 30 | -| `password` | *String* | :heavy_check_mark: | The password associated to the username | | -| `sourceType` | [com.airbyte.api.models.shared.MyHours](../../models/shared/MyHours.md) | :heavy_check_mark: | N/A | | -| `startDate` | *String* | :heavy_check_mark: | Start date for collecting time logs | %Y-%m-%d | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `email` | *String* | :heavy_check_mark: | Your My Hours username | john@doe.com | +| `logsBatchSize` | *Optional\* | :heavy_minus_sign: | Pagination size used for retrieving logs in days | 30 | +| `password` | *String* | :heavy_check_mark: | The password associated to the username | | +| `sourceType` | [MyHours](../../models/shared/MyHours.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | Start date for collecting time logs | %Y-%m-%d | \ No newline at end of file diff --git a/docs/models/shared/SourceMysql.md b/docs/models/shared/SourceMysql.md index 18a9287c6..f7c5f0b86 100644 --- a/docs/models/shared/SourceMysql.md +++ b/docs/models/shared/SourceMysql.md @@ -7,12 +7,12 @@ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `database` | *String* | :heavy_check_mark: | The database name. | | | `host` | *String* | :heavy_check_mark: | The host name of the database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). For more information read about JDBC URL parameters. | | -| `password` | *Optional* | :heavy_minus_sign: | The password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | The port to connect to. | 3306 | -| `replicationMethod` | [com.airbyte.api.models.shared.SourceMysqlUpdateMethod](../../models/shared/SourceMysqlUpdateMethod.md) | :heavy_check_mark: | Configures how data is extracted from the database. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceMysqlMysql](../../models/shared/SourceMysqlMysql.md) | :heavy_check_mark: | N/A | | -| `ssl` | *Optional* | :heavy_minus_sign: | Encrypt data using SSL. | | -| `sslMode` | [Optional](../../models/shared/SourceMysqlSSLModes.md) | :heavy_minus_sign: | SSL connection modes. Read more in the docs. | | -| `tunnelMethod` | [Optional](../../models/shared/SourceMysqlSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). For more information read about JDBC URL parameters. | | +| `password` | *Optional\* | :heavy_minus_sign: | The password associated with the username. | | +| `port` | *Optional\* | :heavy_minus_sign: | The port to connect to. | 3306 | +| `replicationMethod` | [SourceMysqlUpdateMethod](../../models/shared/SourceMysqlUpdateMethod.md) | :heavy_check_mark: | Configures how data is extracted from the database. | | +| `sourceType` | [SourceMysqlMysql](../../models/shared/SourceMysqlMysql.md) | :heavy_check_mark: | N/A | | +| `ssl` | *Optional\* | :heavy_minus_sign: | Encrypt data using SSL. | | +| `sslMode` | [Optional\](../../models/shared/SourceMysqlSSLModes.md) | :heavy_minus_sign: | SSL connection modes. Read more in the docs. | | +| `tunnelMethod` | [Optional\](../../models/shared/SourceMysqlSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | The username which is used to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/SourceMysqlNoTunnel.md b/docs/models/shared/SourceMysqlNoTunnel.md index 7c07e6319..550e1c001 100644 --- a/docs/models/shared/SourceMysqlNoTunnel.md +++ b/docs/models/shared/SourceMysqlNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceMysqlTunnelMethod](../../models/shared/SourceMysqlTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `tunnelMethod` | [SourceMysqlTunnelMethod](../../models/shared/SourceMysqlTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/SourceMysqlPasswordAuthentication.md b/docs/models/shared/SourceMysqlPasswordAuthentication.md index 9040b7130..b86915a86 100644 --- a/docs/models/shared/SourceMysqlPasswordAuthentication.md +++ b/docs/models/shared/SourceMysqlPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceMysqlSchemasTunnelMethodTunnelMethod](../../models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourceMysqlSchemasTunnelMethodTunnelMethod](../../models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/SourceMysqlSSHKeyAuthentication.md b/docs/models/shared/SourceMysqlSSHKeyAuthentication.md index 0def3eb20..2427f8fec 100644 --- a/docs/models/shared/SourceMysqlSSHKeyAuthentication.md +++ b/docs/models/shared/SourceMysqlSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceMysqlSchemasTunnelMethod](../../models/shared/SourceMysqlSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourceMysqlSchemasTunnelMethod](../../models/shared/SourceMysqlSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.md b/docs/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.md index 4cad13793..158fc89b4 100644 --- a/docs/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.md +++ b/docs/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.md @@ -5,6 +5,6 @@ Incrementally detects new inserts and updates using the here | +| `host` | *String* | :heavy_check_mark: | Hostname of the n8n instance | +| `sourceType` | [N8n](../../models/shared/N8n.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceNasa.md b/docs/models/shared/SourceNasa.md new file mode 100644 index 000000000..0c8e6e275 --- /dev/null +++ b/docs/models/shared/SourceNasa.md @@ -0,0 +1,14 @@ +# SourceNasa + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API access key used to retrieve data from the NASA APOD API. | | +| `conceptTags` | *Optional\* | :heavy_minus_sign: | Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. | | +| `count` | *Optional\* | :heavy_minus_sign: | A positive integer, no greater than 100. If this is specified then `count` randomly chosen images will be returned in a JSON array. Cannot be used in conjunction with `date` or `start_date` and `end_date`. | | +| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | Indicates that end of a date range. If `start_date` is specified without an `end_date` then `end_date` defaults to the current date. | 2022-10-20 | +| `sourceType` | [Nasa](../../models/shared/Nasa.md) | :heavy_check_mark: | N/A | | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | Indicates the start of a date range. All images in the range from `start_date` to `end_date` will be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API. | 2022-10-20 | +| `thumbs` | *Optional\* | :heavy_minus_sign: | Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. | | \ No newline at end of file diff --git a/docs/models/shared/SourceNetsuite.md b/docs/models/shared/SourceNetsuite.md index 4816a5a29..bed14648f 100644 --- a/docs/models/shared/SourceNetsuite.md +++ b/docs/models/shared/SourceNetsuite.md @@ -7,10 +7,10 @@ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `consumerKey` | *String* | :heavy_check_mark: | Consumer key associated with your integration | | | `consumerSecret` | *String* | :heavy_check_mark: | Consumer secret associated with your integration | | -| `objectTypes` | List<*String*> | :heavy_minus_sign: | The API names of the Netsuite objects you want to sync. Setting this speeds up the connection setup process by limiting the number of schemas that need to be retrieved from Netsuite. | customer | +| `objectTypes` | List\<*String*> | :heavy_minus_sign: | The API names of the Netsuite objects you want to sync. Setting this speeds up the connection setup process by limiting the number of schemas that need to be retrieved from Netsuite. | customer | | `realm` | *String* | :heavy_check_mark: | Netsuite realm e.g. 2344535, as for `production` or 2344535_SB1, as for the `sandbox` | | -| `sourceType` | [com.airbyte.api.models.shared.Netsuite](../../models/shared/Netsuite.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Netsuite](../../models/shared/Netsuite.md) | :heavy_check_mark: | N/A | | | `startDatetime` | *String* | :heavy_check_mark: | Starting point for your data replication, in format of "YYYY-MM-DDTHH:mm:ssZ" | 2017-01-25T00:00:00Z | | `tokenKey` | *String* | :heavy_check_mark: | Access token key | | | `tokenSecret` | *String* | :heavy_check_mark: | Access token secret | | -| `windowInDays` | *Optional* | :heavy_minus_sign: | The amount of days used to query the data with date chunks. Set smaller value, if you have lots of data. | | \ No newline at end of file +| `windowInDays` | *Optional\* | :heavy_minus_sign: | The amount of days used to query the data with date chunks. Set smaller value, if you have lots of data. | | \ No newline at end of file diff --git a/docs/models/shared/SourceNewsApi.md b/docs/models/shared/SourceNewsApi.md new file mode 100644 index 000000000..cd58b8cc5 --- /dev/null +++ b/docs/models/shared/SourceNewsApi.md @@ -0,0 +1,20 @@ +# SourceNewsApi + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key | | +| `category` | [Optional\](../../models/shared/Category.md) | :heavy_minus_sign: | The category you want to get top headlines for. | | +| `country` | [Optional\](../../models/shared/Country.md) | :heavy_minus_sign: | The 2-letter ISO 3166-1 code of the country you want to get headlines
    for. You can't mix this with the sources parameter.
    | | +| `domains` | List\<*String*> | :heavy_minus_sign: | A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com,
    engadget.com) to restrict the search to.
    | | +| `endDate` | *Optional\* | :heavy_minus_sign: | A date and optional time for the newest article allowed. This should
    be in ISO 8601 format.
    | 2021-01-01 | +| `excludeDomains` | List\<*String*> | :heavy_minus_sign: | A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com,
    engadget.com) to remove from the results.
    | | +| `language` | [Optional\](../../models/shared/Language.md) | :heavy_minus_sign: | The 2-letter ISO-639-1 code of the language you want to get headlines
    for. Possible options: ar de en es fr he it nl no pt ru se ud zh.
    | | +| `searchIn` | List\<[SearchIn](../../models/shared/SearchIn.md)> | :heavy_minus_sign: | Where to apply search query. Possible values are: title, description,
    content.
    | | +| `searchQuery` | *Optional\* | :heavy_minus_sign: | Search query. See https://newsapi.org/docs/endpoints/everything for
    information.
    | +bitcoin OR +crypto | +| `sortBy` | [Optional\](../../models/shared/SortBy.md) | :heavy_minus_sign: | The order to sort the articles in. Possible options: relevancy,
    popularity, publishedAt.
    | | +| `sourceType` | [NewsApi](../../models/shared/NewsApi.md) | :heavy_check_mark: | N/A | | +| `sources` | List\<*String*> | :heavy_minus_sign: | Identifiers (maximum 20) for the news sources or blogs you want
    headlines from. Use the `/sources` endpoint to locate these
    programmatically or look at the sources index:
    https://newsapi.com/sources. Will override both country and category.
    | | +| `startDate` | *Optional\* | :heavy_minus_sign: | A date and optional time for the oldest article allowed. This should
    be in ISO 8601 format.
    | 2021-01-01 | \ No newline at end of file diff --git a/docs/models/shared/SourceNewsdataIo.md b/docs/models/shared/SourceNewsdataIo.md new file mode 100644 index 000000000..d1e709d75 --- /dev/null +++ b/docs/models/shared/SourceNewsdataIo.md @@ -0,0 +1,16 @@ +# SourceNewsdataIo + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `categories` | List\<*Object*> | :heavy_minus_sign: | Search the news articles for a specific category. You can add up to 5 categories in a single query. | +| `countries` | List\<*Object*> | :heavy_minus_sign: | Search the news articles from a specific country. You can add up to 5 countries in a single query. Example: au, jp, br | +| `domains` | List\<*Object*> | :heavy_minus_sign: | Search the news articles for specific domains or news sources. You can add up to 5 domains in a single query. | +| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | Choose an end date. Now UTC is default value | +| `languages` | List\<*Object*> | :heavy_minus_sign: | Search the news articles for a specific language. You can add up to 5 languages in a single query. | +| `searchQuery` | *Optional\* | :heavy_minus_sign: | Search news articles for specific keywords or phrases present in the news title, content, URL, meta keywords and meta description. | +| `sourceType` | [NewsdataIo](../../models/shared/NewsdataIo.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceNocrm.md b/docs/models/shared/SourceNocrm.md new file mode 100644 index 000000000..61e480b16 --- /dev/null +++ b/docs/models/shared/SourceNocrm.md @@ -0,0 +1,10 @@ +# SourceNocrm + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Generate it from the admin section of your noCRM.io account. | +| `sourceType` | [Nocrm](../../models/shared/Nocrm.md) | :heavy_check_mark: | N/A | +| `subdomain` | *String* | :heavy_check_mark: | The subdomain specific to your noCRM.io account, e.g., 'yourcompany' in 'yourcompany.nocrm.io'. | \ No newline at end of file diff --git a/docs/models/shared/SourceNorthpassLms.md b/docs/models/shared/SourceNorthpassLms.md index 15173c613..094c68ce1 100644 --- a/docs/models/shared/SourceNorthpassLms.md +++ b/docs/models/shared/SourceNorthpassLms.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.NorthpassLms](../../models/shared/NorthpassLms.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [NorthpassLms](../../models/shared/NorthpassLms.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceNotion.md b/docs/models/shared/SourceNotion.md index 2738d4a6c..713cc097e 100644 --- a/docs/models/shared/SourceNotion.md +++ b/docs/models/shared/SourceNotion.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceNotionAuthenticationMethod.md) | :heavy_minus_sign: | Choose either OAuth (recommended for Airbyte Cloud) or Access Token. See our docs for more information. | | -| `sourceType` | [Optional](../../models/shared/SourceNotionNotion.md) | :heavy_minus_sign: | N/A | | +| `credentials` | [Optional\](../../models/shared/SourceNotionAuthenticationMethod.md) | :heavy_minus_sign: | Choose either OAuth (recommended for Airbyte Cloud) or Access Token. See our docs for more information. | | +| `sourceType` | [Optional\](../../models/shared/SourceNotionNotion.md) | :heavy_minus_sign: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format YYYY-MM-DDTHH:MM:SS.000Z. During incremental sync, any data generated before this date will not be replicated. If left blank, the start date will be set to 2 years before the present date. | 2020-11-16T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/shared/SourceNotionAccessToken.md b/docs/models/shared/SourceNotionAccessToken.md index 733c85993..4d3d385f1 100644 --- a/docs/models/shared/SourceNotionAccessToken.md +++ b/docs/models/shared/SourceNotionAccessToken.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `authType` | [com.airbyte.api.models.shared.SourceNotionSchemasAuthType](../../models/shared/SourceNotionSchemasAuthType.md) | :heavy_check_mark: | N/A | +| `authType` | [SourceNotionSchemasAuthType](../../models/shared/SourceNotionSchemasAuthType.md) | :heavy_check_mark: | N/A | | `token` | *String* | :heavy_check_mark: | The Access Token for your private Notion integration. See the docs for more information on how to obtain this token. | \ No newline at end of file diff --git a/docs/models/shared/SourceNotionOAuth20.md b/docs/models/shared/SourceNotionOAuth20.md index 3020007b6..be7d48ebc 100644 --- a/docs/models/shared/SourceNotionOAuth20.md +++ b/docs/models/shared/SourceNotionOAuth20.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `accessToken` | *String* | :heavy_check_mark: | The Access Token received by completing the OAuth flow for your Notion integration. See our docs for more information. | -| `authType` | [com.airbyte.api.models.shared.SourceNotionAuthType](../../models/shared/SourceNotionAuthType.md) | :heavy_check_mark: | N/A | +| `authType` | [SourceNotionAuthType](../../models/shared/SourceNotionAuthType.md) | :heavy_check_mark: | N/A | | `clientId` | *String* | :heavy_check_mark: | The Client ID of your Notion integration. See our docs for more information. | | `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Notion integration. See our docs for more information. | \ No newline at end of file diff --git a/docs/models/shared/SourceNutshell.md b/docs/models/shared/SourceNutshell.md new file mode 100644 index 000000000..c28af3df1 --- /dev/null +++ b/docs/models/shared/SourceNutshell.md @@ -0,0 +1,10 @@ +# SourceNutshell + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Nutshell](../../models/shared/Nutshell.md) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceNylas.md b/docs/models/shared/SourceNylas.md index ac49c02f3..15fd83c40 100644 --- a/docs/models/shared/SourceNylas.md +++ b/docs/models/shared/SourceNylas.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `apiServer` | [com.airbyte.api.models.shared.APIServer](../../models/shared/APIServer.md) | :heavy_check_mark: | N/A | +| `apiServer` | [APIServer](../../models/shared/APIServer.md) | :heavy_check_mark: | N/A | | `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Nylas](../../models/shared/Nylas.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Nylas](../../models/shared/Nylas.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceNytimes.md b/docs/models/shared/SourceNytimes.md index 78c0d67b7..8ea0699ba 100644 --- a/docs/models/shared/SourceNytimes.md +++ b/docs/models/shared/SourceNytimes.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | API Key | | -| `endDate` | *Optional* | :heavy_minus_sign: | End date to stop the article retrieval (format YYYY-MM) | 2022-08 | -| `period` | [com.airbyte.api.models.shared.PeriodUsedForMostPopularStreams](../../models/shared/PeriodUsedForMostPopularStreams.md) | :heavy_check_mark: | Period of time (in days) | | -| `shareType` | [Optional](../../models/shared/ShareTypeUsedForMostPopularSharedStream.md) | :heavy_minus_sign: | Share Type | | -| `sourceType` | [com.airbyte.api.models.shared.Nytimes](../../models/shared/Nytimes.md) | :heavy_check_mark: | N/A | | -| `startDate` | *String* | :heavy_check_mark: | Start date to begin the article retrieval (format YYYY-MM) | 2022-08 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key | | +| `endDate` | *Optional\* | :heavy_minus_sign: | End date to stop the article retrieval (format YYYY-MM) | 2022-08 | +| `period` | [PeriodUsedForMostPopularStreams](../../models/shared/PeriodUsedForMostPopularStreams.md) | :heavy_check_mark: | Period of time (in days) | | +| `shareType` | [Optional\](../../models/shared/ShareTypeUsedForMostPopularSharedStream.md) | :heavy_minus_sign: | Share Type | | +| `sourceType` | [Nytimes](../../models/shared/Nytimes.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | Start date to begin the article retrieval (format YYYY-MM) | 2022-08 | \ No newline at end of file diff --git a/docs/models/shared/SourceOkta.md b/docs/models/shared/SourceOkta.md index 7559e5ed9..3ec837905 100644 --- a/docs/models/shared/SourceOkta.md +++ b/docs/models/shared/SourceOkta.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceOktaAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | -| `domain` | *Optional* | :heavy_minus_sign: | The Okta domain. See the docs for instructions on how to find it. | | -| `sourceType` | [com.airbyte.api.models.shared.Okta](../../models/shared/Okta.md) | :heavy_check_mark: | N/A | | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format YYYY-MM-DDTHH:MM:SSZ. Any data before this date will not be replicated. | 2022-07-22T00:00:00Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceOktaAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | +| `domain` | *Optional\* | :heavy_minus_sign: | The Okta domain. See the docs for instructions on how to find it. | | +| `sourceType` | [Okta](../../models/shared/Okta.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format YYYY-MM-DDTHH:MM:SSZ. Any data before this date will not be replicated. | 2022-07-22T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceOktaAPIToken.md b/docs/models/shared/SourceOktaAPIToken.md index 8ae0ea03d..7753d074c 100644 --- a/docs/models/shared/SourceOktaAPIToken.md +++ b/docs/models/shared/SourceOktaAPIToken.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | | `apiToken` | *String* | :heavy_check_mark: | An Okta token. See the docs for instructions on how to generate it. | -| `authType` | [com.airbyte.api.models.shared.SourceOktaSchemasCredentialsAuthType](../../models/shared/SourceOktaSchemasCredentialsAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `authType` | [SourceOktaSchemasCredentialsAuthType](../../models/shared/SourceOktaSchemasCredentialsAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOktaOAuth20.md b/docs/models/shared/SourceOktaOAuth20.md index f04941bbe..3d2e3e702 100644 --- a/docs/models/shared/SourceOktaOAuth20.md +++ b/docs/models/shared/SourceOktaOAuth20.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.SourceOktaAuthType](../../models/shared/SourceOktaAuthType.md) | :heavy_check_mark: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application. | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your OAuth application. | -| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token to obtain new Access Token, when it's expired. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `authType` | [SourceOktaAuthType](../../models/shared/SourceOktaAuthType.md) | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your OAuth application. | +| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token to obtain new Access Token, when it's expired. | \ No newline at end of file diff --git a/docs/models/shared/SourceOmnisend.md b/docs/models/shared/SourceOmnisend.md index 8231ad4a0..e6c6b2336 100644 --- a/docs/models/shared/SourceOmnisend.md +++ b/docs/models/shared/SourceOmnisend.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | API Key | -| `sourceType` | [com.airbyte.api.models.shared.Omnisend](../../models/shared/Omnisend.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key | +| `sourceType` | [Omnisend](../../models/shared/Omnisend.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOncehub.md b/docs/models/shared/SourceOncehub.md new file mode 100644 index 000000000..7ec4c8e8b --- /dev/null +++ b/docs/models/shared/SourceOncehub.md @@ -0,0 +1,10 @@ +# SourceOncehub + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it in your OnceHub account under the API & Webhooks Integration page. | +| `sourceType` | [Oncehub](../../models/shared/Oncehub.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOnepagecrm.md b/docs/models/shared/SourceOnepagecrm.md new file mode 100644 index 000000000..ebfc6bc6d --- /dev/null +++ b/docs/models/shared/SourceOnepagecrm.md @@ -0,0 +1,10 @@ +# SourceOnepagecrm + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `password` | *Optional\* | :heavy_minus_sign: | Enter your API Key of your API app | +| `sourceType` | [Onepagecrm](../../models/shared/Onepagecrm.md) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | Enter the user ID of your API app | \ No newline at end of file diff --git a/docs/models/shared/SourceOnesignal.md b/docs/models/shared/SourceOnesignal.md index 2a94734ad..e5a5c5e2d 100644 --- a/docs/models/shared/SourceOnesignal.md +++ b/docs/models/shared/SourceOnesignal.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `applications` | List<[com.airbyte.api.models.shared.Applications](../../models/shared/Applications.md)> | :heavy_check_mark: | Applications keys, see the docs for more information on how to obtain this data | | +| `applications` | List\<[Applications](../../models/shared/Applications.md)> | :heavy_check_mark: | Applications keys, see the docs for more information on how to obtain this data | | | `outcomeNames` | *String* | :heavy_check_mark: | Comma-separated list of names and the value (sum/count) for the returned outcome data. See the docs for more details | os__session_duration.count,os__click.count,CustomOutcomeName.sum | -| `sourceType` | [com.airbyte.api.models.shared.Onesignal](../../models/shared/Onesignal.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Onesignal](../../models/shared/Onesignal.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for OneSignal API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2020-11-16T00:00:00Z | | `userAuthKey` | *String* | :heavy_check_mark: | OneSignal User Auth Key, see the docs for more information on how to obtain this key. | | \ No newline at end of file diff --git a/docs/models/shared/SourceOnfleet.md b/docs/models/shared/SourceOnfleet.md new file mode 100644 index 000000000..3e099d773 --- /dev/null +++ b/docs/models/shared/SourceOnfleet.md @@ -0,0 +1,10 @@ +# SourceOnfleet + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use for authenticating requests. You can create and manage your API keys in the API section of the Onfleet dashboard. | +| `password` | *Optional\* | :heavy_minus_sign: | Placeholder for basic HTTP auth password - should be set to empty string | +| `sourceType` | [Onfleet](../../models/shared/Onfleet.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOpenDataDc.md b/docs/models/shared/SourceOpenDataDc.md new file mode 100644 index 000000000..0ab55c71a --- /dev/null +++ b/docs/models/shared/SourceOpenDataDc.md @@ -0,0 +1,11 @@ +# SourceOpenDataDc + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `location` | *Optional\* | :heavy_minus_sign: | address or place or block | +| `marid` | *Optional\* | :heavy_minus_sign: | A unique identifier (Master Address Repository). | +| `sourceType` | [OpenDataDc](../../models/shared/OpenDataDc.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOpenaq.md b/docs/models/shared/SourceOpenaq.md new file mode 100644 index 000000000..43823fdd1 --- /dev/null +++ b/docs/models/shared/SourceOpenaq.md @@ -0,0 +1,10 @@ +# SourceOpenaq + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `countryIds` | List\<*Object*> | :heavy_check_mark: | The list of IDs of countries (comma separated) you need the data for, check more: https://docs.openaq.org/resources/countries | +| `sourceType` | [Openaq](../../models/shared/Openaq.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOpenfda.md b/docs/models/shared/SourceOpenfda.md new file mode 100644 index 000000000..edbc130b0 --- /dev/null +++ b/docs/models/shared/SourceOpenfda.md @@ -0,0 +1,8 @@ +# SourceOpenfda + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `sourceType` | [Openfda](../../models/shared/Openfda.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOpenweather.md b/docs/models/shared/SourceOpenweather.md new file mode 100644 index 000000000..60b2a88d9 --- /dev/null +++ b/docs/models/shared/SourceOpenweather.md @@ -0,0 +1,14 @@ +# SourceOpenweather + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `appid` | *String* | :heavy_check_mark: | API KEY | | +| `lang` | [Optional\](../../models/shared/Lang.md) | :heavy_minus_sign: | You can use lang parameter to get the output in your language. The contents of the description field will be translated. See here for the list of supported languages. | en | +| `lat` | *String* | :heavy_check_mark: | Latitude, decimal (-90; 90). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API | 45.7603 | +| `lon` | *String* | :heavy_check_mark: | Longitude, decimal (-180; 180). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API | 4.835659 | +| `onlyCurrent` | *Optional\* | :heavy_minus_sign: | True for particular day | [
    "true"
    ] | +| `sourceType` | [Openweather](../../models/shared/Openweather.md) | :heavy_check_mark: | N/A | | +| `units` | [Optional\](../../models/shared/Units.md) | :heavy_minus_sign: | Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. | standard | \ No newline at end of file diff --git a/docs/models/shared/SourceOpinionStage.md b/docs/models/shared/SourceOpinionStage.md new file mode 100644 index 000000000..3de891db8 --- /dev/null +++ b/docs/models/shared/SourceOpinionStage.md @@ -0,0 +1,9 @@ +# SourceOpinionStage + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [OpinionStage](../../models/shared/OpinionStage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOpsgenie.md b/docs/models/shared/SourceOpsgenie.md new file mode 100644 index 000000000..1e8808252 --- /dev/null +++ b/docs/models/shared/SourceOpsgenie.md @@ -0,0 +1,11 @@ +# SourceOpsgenie + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API token used to access the Opsgenie platform | | +| `endpoint` | *Optional\* | :heavy_minus_sign: | Service endpoint to use for API calls. | api.opsgenie.com | +| `sourceType` | [Opsgenie](../../models/shared/Opsgenie.md) | :heavy_check_mark: | N/A | | +| `startDate` | *Optional\* | :heavy_minus_sign: | The date from which you'd like to replicate data from Opsgenie in the format of YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only in the following incremental streams: issues. | 2022-07-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceOracle.md b/docs/models/shared/SourceOracle.md index d633c4e02..77e11850e 100644 --- a/docs/models/shared/SourceOracle.md +++ b/docs/models/shared/SourceOracle.md @@ -5,13 +5,13 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connectionData` | [Optional](../../models/shared/ConnectBy.md) | :heavy_minus_sign: | Connect data that will be used for DB connection | -| `encryption` | [Optional](../../models/shared/SourceOracleEncryption.md) | :heavy_minus_sign: | The encryption method with is used when communicating with the database. | +| `connectionData` | [Optional\](../../models/shared/ConnectBy.md) | :heavy_minus_sign: | Connect data that will be used for DB connection | +| `encryption` | [Optional\](../../models/shared/SourceOracleEncryption.md) | :heavy_minus_sign: | The encryption method with is used when communicating with the database. | | `host` | *String* | :heavy_check_mark: | Hostname of the database. | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | -| `password` | *Optional* | :heavy_minus_sign: | The password associated with the username. | -| `port` | *Optional* | :heavy_minus_sign: | Port of the database.
    Oracle Corporations recommends the following port numbers:
    1521 - Default listening port for client connections to the listener.
    2484 - Recommended and officially registered listening port for client connections to the listener using TCP/IP with SSL | -| `schemas` | List<*String*> | :heavy_minus_sign: | The list of schemas to sync from. Defaults to user. Case sensitive. | -| `sourceType` | [com.airbyte.api.models.shared.SourceOracleOracle](../../models/shared/SourceOracleOracle.md) | :heavy_check_mark: | N/A | -| `tunnelMethod` | [Optional](../../models/shared/SourceOracleSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | +| `password` | *Optional\* | :heavy_minus_sign: | The password associated with the username. | +| `port` | *Optional\* | :heavy_minus_sign: | Port of the database.
    Oracle Corporations recommends the following port numbers:
    1521 - Default listening port for client connections to the listener.
    2484 - Recommended and officially registered listening port for client connections to the listener using TCP/IP with SSL | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas to sync from. Defaults to user. Case sensitive. | +| `sourceType` | [SourceOracleOracle](../../models/shared/SourceOracleOracle.md) | :heavy_check_mark: | N/A | +| `tunnelMethod` | [Optional\](../../models/shared/SourceOracleSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | `username` | *String* | :heavy_check_mark: | The username which is used to access the database. | \ No newline at end of file diff --git a/docs/models/shared/SourceOracleNativeNetworkEncryptionNNE.md b/docs/models/shared/SourceOracleNativeNetworkEncryptionNNE.md index eaa7e2691..cc68fd4e7 100644 --- a/docs/models/shared/SourceOracleNativeNetworkEncryptionNNE.md +++ b/docs/models/shared/SourceOracleNativeNetworkEncryptionNNE.md @@ -5,7 +5,7 @@ The native network encryption gives you the ability to encrypt database connecti ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `encryptionAlgorithm` | [Optional](../../models/shared/SourceOracleEncryptionAlgorithm.md) | :heavy_minus_sign: | This parameter defines what encryption algorithm is used. | -| `encryptionMethod` | [com.airbyte.api.models.shared.SourceOracleSchemasEncryptionMethod](../../models/shared/SourceOracleSchemasEncryptionMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `encryptionAlgorithm` | [Optional\](../../models/shared/SourceOracleEncryptionAlgorithm.md) | :heavy_minus_sign: | This parameter defines what encryption algorithm is used. | +| `encryptionMethod` | [SourceOracleSchemasEncryptionMethod](../../models/shared/SourceOracleSchemasEncryptionMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOracleNoTunnel.md b/docs/models/shared/SourceOracleNoTunnel.md index 92879c903..1f2b03dd7 100644 --- a/docs/models/shared/SourceOracleNoTunnel.md +++ b/docs/models/shared/SourceOracleNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceOracleTunnelMethod](../../models/shared/SourceOracleTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `tunnelMethod` | [SourceOracleTunnelMethod](../../models/shared/SourceOracleTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/SourceOraclePasswordAuthentication.md b/docs/models/shared/SourceOraclePasswordAuthentication.md index 9fc539442..9810d6a98 100644 --- a/docs/models/shared/SourceOraclePasswordAuthentication.md +++ b/docs/models/shared/SourceOraclePasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceOracleSchemasTunnelMethodTunnelMethod](../../models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourceOracleSchemasTunnelMethodTunnelMethod](../../models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/SourceOracleSSHKeyAuthentication.md b/docs/models/shared/SourceOracleSSHKeyAuthentication.md index b9c1b6859..23fb35a3c 100644 --- a/docs/models/shared/SourceOracleSSHKeyAuthentication.md +++ b/docs/models/shared/SourceOracleSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourceOracleSchemasTunnelMethod](../../models/shared/SourceOracleSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourceOracleSchemasTunnelMethod](../../models/shared/SourceOracleSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/SourceOracleTLSEncryptedVerifyCertificate.md b/docs/models/shared/SourceOracleTLSEncryptedVerifyCertificate.md index cb1fd0519..095492ee1 100644 --- a/docs/models/shared/SourceOracleTLSEncryptedVerifyCertificate.md +++ b/docs/models/shared/SourceOracleTLSEncryptedVerifyCertificate.md @@ -5,7 +5,7 @@ Verify and use the certificate provided by the server. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -| `encryptionMethod` | [com.airbyte.api.models.shared.SourceOracleSchemasEncryptionEncryptionMethod](../../models/shared/SourceOracleSchemasEncryptionEncryptionMethod.md) | :heavy_check_mark: | N/A | -| `sslCertificate` | *String* | :heavy_check_mark: | Privacy Enhanced Mail (PEM) files are concatenated certificate containers frequently used in certificate installations. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `encryptionMethod` | [SourceOracleSchemasEncryptionEncryptionMethod](../../models/shared/SourceOracleSchemasEncryptionEncryptionMethod.md) | :heavy_check_mark: | N/A | +| `sslCertificate` | *String* | :heavy_check_mark: | Privacy Enhanced Mail (PEM) files are concatenated certificate containers frequently used in certificate installations. | \ No newline at end of file diff --git a/docs/models/shared/SourceOracleUnencrypted.md b/docs/models/shared/SourceOracleUnencrypted.md index 189312012..2beb9cabb 100644 --- a/docs/models/shared/SourceOracleUnencrypted.md +++ b/docs/models/shared/SourceOracleUnencrypted.md @@ -5,6 +5,6 @@ Data transfer will not be encrypted. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `encryptionMethod` | [com.airbyte.api.models.shared.SourceOracleEncryptionMethod](../../models/shared/SourceOracleEncryptionMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `encryptionMethod` | [SourceOracleEncryptionMethod](../../models/shared/SourceOracleEncryptionMethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOrb.md b/docs/models/shared/SourceOrb.md index b67d921b2..395753abf 100644 --- a/docs/models/shared/SourceOrb.md +++ b/docs/models/shared/SourceOrb.md @@ -6,11 +6,11 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Orb API Key, issued from the Orb admin console. | | -| `endDate` | *Optional* | :heavy_minus_sign: | UTC date and time in the format 2022-03-01T00:00:00Z. Any data with created_at after this data will not be synced. For Subscription Usage, this becomes the `timeframe_start` API parameter. | 2024-03-01T00:00:00Z | -| `lookbackWindowDays` | *Optional* | :heavy_minus_sign: | When set to N, the connector will always refresh resources created within the past N days. By default, updated objects that are not newly created are not incrementally synced. | | -| `numericEventPropertiesKeys` | List<*String*> | :heavy_minus_sign: | Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. | | -| `planId` | *Optional* | :heavy_minus_sign: | Orb Plan ID to filter subscriptions that should have usage fetched. | | -| `sourceType` | [com.airbyte.api.models.shared.Orb](../../models/shared/Orb.md) | :heavy_check_mark: | N/A | | +| `endDate` | *Optional\* | :heavy_minus_sign: | UTC date and time in the format 2022-03-01T00:00:00Z. Any data with created_at after this data will not be synced. For Subscription Usage, this becomes the `timeframe_start` API parameter. | 2024-03-01T00:00:00Z | +| `lookbackWindowDays` | *Optional\* | :heavy_minus_sign: | When set to N, the connector will always refresh resources created within the past N days. By default, updated objects that are not newly created are not incrementally synced. | | +| `numericEventPropertiesKeys` | List\<*String*> | :heavy_minus_sign: | Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. | | +| `planId` | *Optional\* | :heavy_minus_sign: | Orb Plan ID to filter subscriptions that should have usage fetched. | | +| `sourceType` | [Orb](../../models/shared/Orb.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2022-03-01T00:00:00Z. Any data with created_at before this data will not be synced. For Subscription Usage, this becomes the `timeframe_start` API parameter. | 2022-03-01T00:00:00Z | -| `stringEventPropertiesKeys` | List<*String*> | :heavy_minus_sign: | Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. | | -| `subscriptionUsageGroupingKey` | *Optional* | :heavy_minus_sign: | Property key name to group subscription usage by. | | \ No newline at end of file +| `stringEventPropertiesKeys` | List\<*String*> | :heavy_minus_sign: | Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. | | +| `subscriptionUsageGroupingKey` | *Optional\* | :heavy_minus_sign: | Property key name to group subscription usage by. | | \ No newline at end of file diff --git a/docs/models/shared/SourceOrbit.md b/docs/models/shared/SourceOrbit.md index c3ed17683..c16eae5d8 100644 --- a/docs/models/shared/SourceOrbit.md +++ b/docs/models/shared/SourceOrbit.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | | `apiToken` | *String* | :heavy_check_mark: | Authorizes you to work with Orbit workspaces associated with the token. | -| `sourceType` | [com.airbyte.api.models.shared.Orbit](../../models/shared/Orbit.md) | :heavy_check_mark: | N/A | -| `startDate` | *Optional* | :heavy_minus_sign: | Date in the format 2022-06-26. Only load members whose last activities are after this date. | +| `sourceType` | [Orbit](../../models/shared/Orbit.md) | :heavy_check_mark: | N/A | +| `startDate` | *Optional\* | :heavy_minus_sign: | Date in the format 2022-06-26. Only load members whose last activities are after this date. | | `workspace` | *String* | :heavy_check_mark: | The unique name of the workspace that your API token is associated with. | \ No newline at end of file diff --git a/docs/models/shared/SourceOura.md b/docs/models/shared/SourceOura.md new file mode 100644 index 000000000..e01441115 --- /dev/null +++ b/docs/models/shared/SourceOura.md @@ -0,0 +1,11 @@ +# SourceOura + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key | +| `endDatetime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | End datetime to sync until. Default is current UTC datetime. | +| `sourceType` | [Oura](../../models/shared/Oura.md) | :heavy_check_mark: | N/A | +| `startDatetime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Start datetime to sync from. Default is current UTC datetime minus 1
    day.
    | \ No newline at end of file diff --git a/docs/models/shared/SourceOutbrainAmplify.md b/docs/models/shared/SourceOutbrainAmplify.md index c7c110f4a..9e988b256 100644 --- a/docs/models/shared/SourceOutbrainAmplify.md +++ b/docs/models/shared/SourceOutbrainAmplify.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SourceOutbrainAmplifyAuthenticationMethod](../../models/shared/SourceOutbrainAmplifyAuthenticationMethod.md) | :heavy_check_mark: | Credentials for making authenticated requests requires either username/password or access_token. | -| `endDate` | *Optional* | :heavy_minus_sign: | Date in the format YYYY-MM-DD. | -| `geoLocationBreakdown` | [Optional](../../models/shared/GranularityForGeoLocationRegion.md) | :heavy_minus_sign: | The granularity used for geo location data in reports. | -| `reportGranularity` | [Optional](../../models/shared/GranularityForPeriodicReports.md) | :heavy_minus_sign: | The granularity used for periodic data in reports. See the docs. | -| `sourceType` | [com.airbyte.api.models.shared.OutbrainAmplify](../../models/shared/OutbrainAmplify.md) | :heavy_check_mark: | N/A | +| `credentials` | [SourceOutbrainAmplifyAuthenticationMethod](../../models/shared/SourceOutbrainAmplifyAuthenticationMethod.md) | :heavy_check_mark: | Credentials for making authenticated requests requires either username/password or access_token. | +| `endDate` | *Optional\* | :heavy_minus_sign: | Date in the format YYYY-MM-DD. | +| `geoLocationBreakdown` | [Optional\](../../models/shared/GranularityForGeoLocationRegion.md) | :heavy_minus_sign: | The granularity used for geo location data in reports. | +| `reportGranularity` | [Optional\](../../models/shared/GranularityForPeriodicReports.md) | :heavy_minus_sign: | The granularity used for periodic data in reports. See the docs. | +| `sourceType` | [OutbrainAmplify](../../models/shared/OutbrainAmplify.md) | :heavy_check_mark: | N/A | | `startDate` | *String* | :heavy_check_mark: | Date in the format YYYY-MM-DD eg. 2017-01-25. Any data before this date will not be replicated. | \ No newline at end of file diff --git a/docs/models/shared/SourceOutbrainAmplifyAccessToken.md b/docs/models/shared/SourceOutbrainAmplifyAccessToken.md index 1acab483b..9760b3754 100644 --- a/docs/models/shared/SourceOutbrainAmplifyAccessToken.md +++ b/docs/models/shared/SourceOutbrainAmplifyAccessToken.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | -| `type` | [com.airbyte.api.models.shared.AccessTokenIsRequiredForAuthenticationRequests](../../models/shared/AccessTokenIsRequiredForAuthenticationRequests.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | +| `type` | [AccessTokenIsRequiredForAuthenticationRequests](../../models/shared/AccessTokenIsRequiredForAuthenticationRequests.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceOutbrainAmplifyUsernamePassword.md b/docs/models/shared/SourceOutbrainAmplifyUsernamePassword.md index 94a0df5e5..04ce24125 100644 --- a/docs/models/shared/SourceOutbrainAmplifyUsernamePassword.md +++ b/docs/models/shared/SourceOutbrainAmplifyUsernamePassword.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `password` | *String* | :heavy_check_mark: | Add Password for authentication. | -| `type` | [com.airbyte.api.models.shared.BothUsernameAndPasswordIsRequiredForAuthenticationRequest](../../models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.md) | :heavy_check_mark: | N/A | -| `username` | *String* | :heavy_check_mark: | Add Username for authentication. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `password` | *String* | :heavy_check_mark: | Add Password for authentication. | +| `type` | [BothUsernameAndPasswordIsRequiredForAuthenticationRequest](../../models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.md) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | Add Username for authentication. | \ No newline at end of file diff --git a/docs/models/shared/SourceOutreach.md b/docs/models/shared/SourceOutreach.md index 08e698a3a..05c4dffa6 100644 --- a/docs/models/shared/SourceOutreach.md +++ b/docs/models/shared/SourceOutreach.md @@ -9,5 +9,5 @@ | `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Outreach developer application. | | | `redirectUri` | *String* | :heavy_check_mark: | A Redirect URI is the location where the authorization server sends the user once the app has been successfully authorized and granted an authorization code or access token. | | | `refreshToken` | *String* | :heavy_check_mark: | The token for obtaining the new access token. | | -| `sourceType` | [com.airbyte.api.models.shared.Outreach](../../models/shared/Outreach.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Outreach](../../models/shared/Outreach.md) | :heavy_check_mark: | N/A | | | `startDate` | *String* | :heavy_check_mark: | The date from which you'd like to replicate data for Outreach API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2020-11-16T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceOveit.md b/docs/models/shared/SourceOveit.md new file mode 100644 index 000000000..1cf597244 --- /dev/null +++ b/docs/models/shared/SourceOveit.md @@ -0,0 +1,10 @@ +# SourceOveit + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `email` | *String* | :heavy_check_mark: | Oveit's login Email | +| `password` | *String* | :heavy_check_mark: | Oveit's login Password | +| `sourceType` | [Oveit](../../models/shared/Oveit.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePabblySubscriptionsBilling.md b/docs/models/shared/SourcePabblySubscriptionsBilling.md new file mode 100644 index 000000000..1ee099251 --- /dev/null +++ b/docs/models/shared/SourcePabblySubscriptionsBilling.md @@ -0,0 +1,10 @@ +# SourcePabblySubscriptionsBilling + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [PabblySubscriptionsBilling](../../models/shared/PabblySubscriptionsBilling.md) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePandadoc.md b/docs/models/shared/SourcePandadoc.md new file mode 100644 index 000000000..969af23ae --- /dev/null +++ b/docs/models/shared/SourcePandadoc.md @@ -0,0 +1,10 @@ +# SourcePandadoc + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://app.pandadoc.com/a/#/settings/api-dashboard/configuration | +| `sourceType` | [Pandadoc](../../models/shared/Pandadoc.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePaperform.md b/docs/models/shared/SourcePaperform.md new file mode 100644 index 000000000..e20899554 --- /dev/null +++ b/docs/models/shared/SourcePaperform.md @@ -0,0 +1,9 @@ +# SourcePaperform + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Generate it on your account page at https://paperform.co/account/developer. | +| `sourceType` | [Paperform](../../models/shared/Paperform.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePapersign.md b/docs/models/shared/SourcePapersign.md new file mode 100644 index 000000000..3ff011694 --- /dev/null +++ b/docs/models/shared/SourcePapersign.md @@ -0,0 +1,9 @@ +# SourcePapersign + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Generate it on your account page at https://paperform.co/account/developer. | +| `sourceType` | [Papersign](../../models/shared/Papersign.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePardot.md b/docs/models/shared/SourcePardot.md new file mode 100644 index 000000000..1bc4b28bc --- /dev/null +++ b/docs/models/shared/SourcePardot.md @@ -0,0 +1,14 @@ +# SourcePardot + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | The Consumer Key that can be found when viewing your app in Salesforce | | +| `clientSecret` | *String* | :heavy_check_mark: | The Consumer Secret that can be found when viewing your app in Salesforce | | +| `isSandbox` | *Optional\* | :heavy_minus_sign: | Whether or not the the app is in a Salesforce sandbox. If you do not know what this, assume it is false. | | +| `pardotBusinessUnitId` | *String* | :heavy_check_mark: | Pardot Business ID, can be found at Setup > Pardot > Pardot Account Setup | | +| `refreshToken` | *String* | :heavy_check_mark: | Salesforce Refresh Token used for Airbyte to access your Salesforce account. If you don't know what this is, follow this guide to retrieve it. | | +| `sourceType` | [Pardot](../../models/shared/Pardot.md) | :heavy_check_mark: | N/A | | +| `startDate` | *Optional\* | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. Leave blank to skip this filter | 2021-07-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourcePatchRequest.md b/docs/models/shared/SourcePatchRequest.md index 20d2da32d..656c14712 100644 --- a/docs/models/shared/SourcePatchRequest.md +++ b/docs/models/shared/SourcePatchRequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `configuration` | [Optional](../../models/shared/SourceConfiguration.md) | :heavy_minus_sign: | The values required to configure the source. | {
    "user": "charles"
    } | -| `name` | *Optional* | :heavy_minus_sign: | N/A | My source | -| `secretId` | *Optional* | :heavy_minus_sign: | Optional secretID obtained through the OAuth redirect flow. | | -| `workspaceId` | *Optional* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `configuration` | [Optional\](../../models/shared/SourceConfiguration.md) | :heavy_minus_sign: | The values required to configure the source. | {
    "user": "charles"
    } | +| `name` | *Optional\* | :heavy_minus_sign: | N/A | My source | +| `secretId` | *Optional\* | :heavy_minus_sign: | Optional secretID obtained through the OAuth redirect flow. | | +| `workspaceId` | *Optional\* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourcePaypalTransaction.md b/docs/models/shared/SourcePaypalTransaction.md index 87bce39ed..1cb9594d2 100644 --- a/docs/models/shared/SourcePaypalTransaction.md +++ b/docs/models/shared/SourcePaypalTransaction.md @@ -9,8 +9,8 @@ | `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Paypal developer application. | | | `disputeStartDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Start Date parameter for the list dispute endpoint in ISO format. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past. | 2021-06-11T23:59:59.000Z | | `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | End Date for data extraction in ISO format. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams. | 2021-06-11T23:59:59Z | -| `isSandbox` | *Optional* | :heavy_minus_sign: | Determines whether to use the sandbox or production environment. | | -| `refreshToken` | *Optional* | :heavy_minus_sign: | The key to refresh the expired access token. | | -| `sourceType` | [com.airbyte.api.models.shared.PaypalTransaction](../../models/shared/PaypalTransaction.md) | :heavy_check_mark: | N/A | | +| `isSandbox` | *Optional\* | :heavy_minus_sign: | Determines whether to use the sandbox or production environment. | | +| `refreshToken` | *Optional\* | :heavy_minus_sign: | The key to refresh the expired access token. | | +| `sourceType` | [PaypalTransaction](../../models/shared/PaypalTransaction.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | Start Date for data extraction in ISO format. Date must be in range from 3 years till 12 hrs before present time. | 2021-06-11T23:59:59Z | -| `timeWindow` | *Optional* | :heavy_minus_sign: | The number of days per request. Must be a number between 1 and 31. | | \ No newline at end of file +| `timeWindow` | *Optional\* | :heavy_minus_sign: | The number of days per request. Must be a number between 1 and 31. | | \ No newline at end of file diff --git a/docs/models/shared/SourcePaystack.md b/docs/models/shared/SourcePaystack.md index 771d3d3dd..06e276da2 100644 --- a/docs/models/shared/SourcePaystack.md +++ b/docs/models/shared/SourcePaystack.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `lookbackWindowDays` | *Optional* | :heavy_minus_sign: | When set, the connector will always reload data from the past N days, where N is the value set here. This is useful if your data is updated after creation. | | +| `lookbackWindowDays` | *Optional\* | :heavy_minus_sign: | When set, the connector will always reload data from the past N days, where N is the value set here. This is useful if your data is updated after creation. | | | `secretKey` | *String* | :heavy_check_mark: | The Paystack API key (usually starts with 'sk_live_'; find yours here). | | -| `sourceType` | [com.airbyte.api.models.shared.Paystack](../../models/shared/Paystack.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Paystack](../../models/shared/Paystack.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourcePendo.md b/docs/models/shared/SourcePendo.md index b4bbb0a44..1530edfc9 100644 --- a/docs/models/shared/SourcePendo.md +++ b/docs/models/shared/SourcePendo.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Pendo](../../models/shared/Pendo.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Pendo](../../models/shared/Pendo.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePennylane.md b/docs/models/shared/SourcePennylane.md index 7c00e86d2..2706c2bd8 100644 --- a/docs/models/shared/SourcePennylane.md +++ b/docs/models/shared/SourcePennylane.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Pennylane](../../models/shared/Pennylane.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Pennylane](../../models/shared/Pennylane.md) | :heavy_check_mark: | N/A | | `startTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePersistiq.md b/docs/models/shared/SourcePersistiq.md index 1a19ae9a0..c621ff421 100644 --- a/docs/models/shared/SourcePersistiq.md +++ b/docs/models/shared/SourcePersistiq.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | PersistIq API Key. See the docs for more information on where to find that key. | -| `sourceType` | [com.airbyte.api.models.shared.Persistiq](../../models/shared/Persistiq.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Persistiq](../../models/shared/Persistiq.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePersona.md b/docs/models/shared/SourcePersona.md new file mode 100644 index 000000000..e6b600786 --- /dev/null +++ b/docs/models/shared/SourcePersona.md @@ -0,0 +1,9 @@ +# SourcePersona + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key or access token | +| `sourceType` | [Persona](../../models/shared/Persona.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePexelsApi.md b/docs/models/shared/SourcePexelsApi.md index 52095ee46..994bc16d4 100644 --- a/docs/models/shared/SourcePexelsApi.md +++ b/docs/models/shared/SourcePexelsApi.md @@ -6,9 +6,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | API key is required to access pexels api, For getting your's goto https://www.pexels.com/api/documentation and create account for free. | | -| `color` | *Optional* | :heavy_minus_sign: | Optional, Desired photo color. Supported colors red, orange, yellow, green, turquoise, blue, violet, pink, brown, black, gray, white or any hexidecimal color code. | red | -| `locale` | *Optional* | :heavy_minus_sign: | Optional, The locale of the search you are performing. The current supported locales are 'en-US' 'pt-BR' 'es-ES' 'ca-ES' 'de-DE' 'it-IT' 'fr-FR' 'sv-SE' 'id-ID' 'pl-PL' 'ja-JP' 'zh-TW' 'zh-CN' 'ko-KR' 'th-TH' 'nl-NL' 'hu-HU' 'vi-VN' 'cs-CZ' 'da-DK' 'fi-FI' 'uk-UA' 'el-GR' 'ro-RO' 'nb-NO' 'sk-SK' 'tr-TR' 'ru-RU'. | en-US | -| `orientation` | *Optional* | :heavy_minus_sign: | Optional, Desired photo orientation. The current supported orientations are landscape, portrait or square | square | +| `color` | *Optional\* | :heavy_minus_sign: | Optional, Desired photo color. Supported colors red, orange, yellow, green, turquoise, blue, violet, pink, brown, black, gray, white or any hexidecimal color code. | red | +| `locale` | *Optional\* | :heavy_minus_sign: | Optional, The locale of the search you are performing. The current supported locales are 'en-US' 'pt-BR' 'es-ES' 'ca-ES' 'de-DE' 'it-IT' 'fr-FR' 'sv-SE' 'id-ID' 'pl-PL' 'ja-JP' 'zh-TW' 'zh-CN' 'ko-KR' 'th-TH' 'nl-NL' 'hu-HU' 'vi-VN' 'cs-CZ' 'da-DK' 'fi-FI' 'uk-UA' 'el-GR' 'ro-RO' 'nb-NO' 'sk-SK' 'tr-TR' 'ru-RU'. | en-US | +| `orientation` | *Optional\* | :heavy_minus_sign: | Optional, Desired photo orientation. The current supported orientations are landscape, portrait or square | square | | `query` | *String* | :heavy_check_mark: | Optional, the search query, Example Ocean, Tigers, Pears, etc. | people | -| `size` | *Optional* | :heavy_minus_sign: | Optional, Minimum photo size. The current supported sizes are large(24MP), medium(12MP) or small(4MP). | large | -| `sourceType` | [com.airbyte.api.models.shared.PexelsApi](../../models/shared/PexelsApi.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `size` | *Optional\* | :heavy_minus_sign: | Optional, Minimum photo size. The current supported sizes are large(24MP), medium(12MP) or small(4MP). | large | +| `sourceType` | [PexelsApi](../../models/shared/PexelsApi.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourcePicqer.md b/docs/models/shared/SourcePicqer.md index 1187ee623..ed7da02e7 100644 --- a/docs/models/shared/SourcePicqer.md +++ b/docs/models/shared/SourcePicqer.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `organizationName` | *String* | :heavy_check_mark: | The organization name which is used to login to picqer | -| `password` | *Optional* | :heavy_minus_sign: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Picqer](../../models/shared/Picqer.md) | :heavy_check_mark: | N/A | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Picqer](../../models/shared/Picqer.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | | `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePinterest.md b/docs/models/shared/SourcePinterest.md index 05130d994..005115646 100644 --- a/docs/models/shared/SourcePinterest.md +++ b/docs/models/shared/SourcePinterest.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/OAuth20.md) | :heavy_minus_sign: | N/A | | -| `customReports` | List<[com.airbyte.api.models.shared.ReportConfig](../../models/shared/ReportConfig.md)> | :heavy_minus_sign: | A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. | | -| `sourceType` | [Optional](../../models/shared/SourcePinterestPinterest.md) | :heavy_minus_sign: | N/A | | +| `credentials` | [Optional\](../../models/shared/OAuth20.md) | :heavy_minus_sign: | N/A | | +| `customReports` | List\<[ReportConfig](../../models/shared/ReportConfig.md)> | :heavy_minus_sign: | A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. | | +| `sourceType` | [Optional\](../../models/shared/SourcePinterestPinterest.md) | :heavy_minus_sign: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | A date in the format YYYY-MM-DD. If you have not set a date, it would be defaulted to latest allowed date by api (89 days from today). | 2022-07-28 | -| `status` | List<[com.airbyte.api.models.shared.Status](../../models/shared/Status.md)> | :heavy_minus_sign: | For the ads, ad_groups, and campaigns streams, specifying a status will filter out records that do not match the specified ones. If a status is not specified, the source will default to records with a status of either ACTIVE or PAUSED. | | \ No newline at end of file +| `status` | List\<[Status](../../models/shared/Status.md)> | :heavy_minus_sign: | For the ads, ad_groups, and campaigns streams, specifying a status will filter out records that do not match the specified ones. If a status is not specified, the source will default to records with a status of either ACTIVE or PAUSED. | | \ No newline at end of file diff --git a/docs/models/shared/SourcePipedrive.md b/docs/models/shared/SourcePipedrive.md index b576c90a6..d5f546955 100644 --- a/docs/models/shared/SourcePipedrive.md +++ b/docs/models/shared/SourcePipedrive.md @@ -7,4 +7,4 @@ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiToken` | *String* | :heavy_check_mark: | The Pipedrive API Token. | | | `replicationStartDate` | *String* | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. When specified and not None, then stream will behave as incremental | 2017-01-25 00:00:00Z | -| `sourceType` | [com.airbyte.api.models.shared.Pipedrive](../../models/shared/Pipedrive.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `sourceType` | [Pipedrive](../../models/shared/Pipedrive.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourcePipeliner.md b/docs/models/shared/SourcePipeliner.md new file mode 100644 index 000000000..92801c807 --- /dev/null +++ b/docs/models/shared/SourcePipeliner.md @@ -0,0 +1,12 @@ +# SourcePipeliner + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `service` | [DataCenter](../../models/shared/DataCenter.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Pipeliner](../../models/shared/Pipeliner.md) | :heavy_check_mark: | N/A | +| `spaceid` | *String* | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePivotalTracker.md b/docs/models/shared/SourcePivotalTracker.md new file mode 100644 index 000000000..4202efc2e --- /dev/null +++ b/docs/models/shared/SourcePivotalTracker.md @@ -0,0 +1,9 @@ +# SourcePivotalTracker + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | Pivotal Tracker API token | 5c054d0de3440452190fdc5d5a04d871 | +| `sourceType` | [PivotalTracker](../../models/shared/PivotalTracker.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourcePiwik.md b/docs/models/shared/SourcePiwik.md index 15453f6f4..a9ca4d838 100644 --- a/docs/models/shared/SourcePiwik.md +++ b/docs/models/shared/SourcePiwik.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `clientId` | *String* | :heavy_check_mark: | N/A | -| `clientSecret` | *String* | :heavy_check_mark: | N/A | -| `organizationId` | *String* | :heavy_check_mark: | The organization id appearing at URL of your piwik website | -| `sourceType` | [com.airbyte.api.models.shared.Piwik](../../models/shared/Piwik.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `organizationId` | *String* | :heavy_check_mark: | The organization id appearing at URL of your piwik website | +| `sourceType` | [Piwik](../../models/shared/Piwik.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePlaid.md b/docs/models/shared/SourcePlaid.md new file mode 100644 index 000000000..2855cdfcb --- /dev/null +++ b/docs/models/shared/SourcePlaid.md @@ -0,0 +1,13 @@ +# SourcePlaid + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | The end-user's Link access token. | +| `apiKey` | *String* | :heavy_check_mark: | The Plaid API key to use to hit the API. | +| `clientId` | *String* | :heavy_check_mark: | The Plaid client id. | +| `plaidEnv` | [PlaidEnvironment](../../models/shared/PlaidEnvironment.md) | :heavy_check_mark: | The Plaid environment. | +| `sourceType` | [Plaid](../../models/shared/Plaid.md) | :heavy_check_mark: | N/A | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date from which you'd like to replicate data for Plaid in the format YYYY-MM-DD. All data generated after this date will be replicated. | \ No newline at end of file diff --git a/docs/models/shared/SourcePlanhat.md b/docs/models/shared/SourcePlanhat.md index b05140bfc..d3ccbcc99 100644 --- a/docs/models/shared/SourcePlanhat.md +++ b/docs/models/shared/SourcePlanhat.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | | `apiToken` | *String* | :heavy_check_mark: | Your Planhat API Access Token | -| `sourceType` | [com.airbyte.api.models.shared.Planhat](../../models/shared/Planhat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Planhat](../../models/shared/Planhat.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePlausible.md b/docs/models/shared/SourcePlausible.md new file mode 100644 index 000000000..4f952ea6f --- /dev/null +++ b/docs/models/shared/SourcePlausible.md @@ -0,0 +1,12 @@ +# SourcePlausible + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Plausible API Key. See the docs for information on how to generate this key. | | +| `apiUrl` | *Optional\* | :heavy_minus_sign: | The API URL of your plausible instance. Change this if you self-host plausible. The default is https://plausible.io/api/v1/stats | https://plausible.example.com/api/v1/stats | +| `siteId` | *String* | :heavy_check_mark: | The domain of the site you want to retrieve data for. Enter the name of your site as configured on Plausible, i.e., excluding "https://" and "www". Can be retrieved from the 'domain' field in your Plausible site settings. | airbyte.com | +| `sourceType` | [Plausible](../../models/shared/Plausible.md) | :heavy_check_mark: | N/A | | +| `startDate` | *Optional\* | :heavy_minus_sign: | Start date for data to retrieve, in ISO-8601 format. | YYYY-MM-DD | \ No newline at end of file diff --git a/docs/models/shared/SourcePocket.md b/docs/models/shared/SourcePocket.md index 2d3fcec45..2a270e9f5 100644 --- a/docs/models/shared/SourcePocket.md +++ b/docs/models/shared/SourcePocket.md @@ -3,17 +3,17 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | The user's Pocket access token. | | -| `consumerKey` | *String* | :heavy_check_mark: | Your application's Consumer Key. | | -| `contentType` | [Optional](../../models/shared/ContentType.md) | :heavy_minus_sign: | Select the content type of the items to retrieve. | | -| `detailType` | [Optional](../../models/shared/DetailType.md) | :heavy_minus_sign: | Select the granularity of the information about each item. | | -| `domain` | *Optional* | :heavy_minus_sign: | Only return items from a particular `domain`. | | -| `favorite` | *Optional* | :heavy_minus_sign: | Retrieve only favorited items. | | -| `search` | *Optional* | :heavy_minus_sign: | Only return items whose title or url contain the `search` string. | | -| `since` | *Optional* | :heavy_minus_sign: | Only return items modified since the given timestamp. | 2022-10-20 14:14:14 | -| `sort` | [Optional](../../models/shared/SourcePocketSortBy.md) | :heavy_minus_sign: | Sort retrieved items by the given criteria. | | -| `sourceType` | [com.airbyte.api.models.shared.Pocket](../../models/shared/Pocket.md) | :heavy_check_mark: | N/A | | -| `state` | [Optional](../../models/shared/State.md) | :heavy_minus_sign: | Select the state of the items to retrieve. | | -| `tag` | *Optional* | :heavy_minus_sign: | Return only items tagged with this tag name. Use _untagged_ for retrieving only untagged items. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | The user's Pocket access token. | | +| `consumerKey` | *String* | :heavy_check_mark: | Your application's Consumer Key. | | +| `contentType` | [Optional\](../../models/shared/ContentType.md) | :heavy_minus_sign: | Select the content type of the items to retrieve. | | +| `detailType` | [Optional\](../../models/shared/DetailType.md) | :heavy_minus_sign: | Select the granularity of the information about each item. | | +| `domain` | *Optional\* | :heavy_minus_sign: | Only return items from a particular `domain`. | | +| `favorite` | *Optional\* | :heavy_minus_sign: | Retrieve only favorited items. | | +| `search` | *Optional\* | :heavy_minus_sign: | Only return items whose title or url contain the `search` string. | | +| `since` | *Optional\* | :heavy_minus_sign: | Only return items modified since the given timestamp. | 2022-10-20 14:14:14 | +| `sort` | [Optional\](../../models/shared/SourcePocketSortBy.md) | :heavy_minus_sign: | Sort retrieved items by the given criteria. | | +| `sourceType` | [Pocket](../../models/shared/Pocket.md) | :heavy_check_mark: | N/A | | +| `state` | [Optional\](../../models/shared/State.md) | :heavy_minus_sign: | Select the state of the items to retrieve. | | +| `tag` | *Optional\* | :heavy_minus_sign: | Return only items tagged with this tag name. Use _untagged_ for retrieving only untagged items. | | \ No newline at end of file diff --git a/docs/models/shared/SourcePokeapi.md b/docs/models/shared/SourcePokeapi.md index a6b1c0f72..ac7048b1a 100644 --- a/docs/models/shared/SourcePokeapi.md +++ b/docs/models/shared/SourcePokeapi.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `pokemonName` | [com.airbyte.api.models.shared.PokemonName](../../models/shared/PokemonName.md) | :heavy_check_mark: | Pokemon requested from the API. | ditto | -| `sourceType` | [com.airbyte.api.models.shared.Pokeapi](../../models/shared/Pokeapi.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `pokemonName` | [PokemonName](../../models/shared/PokemonName.md) | :heavy_check_mark: | Pokemon requested from the API. | ditto | +| `sourceType` | [Pokeapi](../../models/shared/Pokeapi.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourcePolygonStockApi.md b/docs/models/shared/SourcePolygonStockApi.md index 6ccede074..6d8c76367 100644 --- a/docs/models/shared/SourcePolygonStockApi.md +++ b/docs/models/shared/SourcePolygonStockApi.md @@ -5,13 +5,13 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `adjusted` | *Optional* | :heavy_minus_sign: | Determines whether or not the results are adjusted for splits. By default, results are adjusted and set to true. Set this to false to get results that are NOT adjusted for splits. | true | +| `adjusted` | *Optional\* | :heavy_minus_sign: | Determines whether or not the results are adjusted for splits. By default, results are adjusted and set to true. Set this to false to get results that are NOT adjusted for splits. | true | | `apiKey` | *String* | :heavy_check_mark: | Your API ACCESS Key | | | `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | The target date for the aggregate window. | 2020-10-14 | -| `limit` | *Optional* | :heavy_minus_sign: | The target date for the aggregate window. | 100 | +| `limit` | *Optional\* | :heavy_minus_sign: | The target date for the aggregate window. | 100 | | `multiplier` | *long* | :heavy_check_mark: | The size of the timespan multiplier. | 1 | -| `sort` | *Optional* | :heavy_minus_sign: | Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top). | asc | -| `sourceType` | [com.airbyte.api.models.shared.PolygonStockApi](../../models/shared/PolygonStockApi.md) | :heavy_check_mark: | N/A | | +| `sort` | *Optional\* | :heavy_minus_sign: | Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top). | asc | +| `sourceType` | [PolygonStockApi](../../models/shared/PolygonStockApi.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | The beginning date for the aggregate window. | 2020-10-14 | | `stocksTicker` | *String* | :heavy_check_mark: | The exchange symbol that this item is traded under. | IBM | | `timespan` | *String* | :heavy_check_mark: | The size of the time window. | day | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgres.md b/docs/models/shared/SourcePostgres.md index 9d91976c4..d5218b810 100644 --- a/docs/models/shared/SourcePostgres.md +++ b/docs/models/shared/SourcePostgres.md @@ -7,12 +7,12 @@ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `database` | *String* | :heavy_check_mark: | Name of the database. | | | `host` | *String* | :heavy_check_mark: | Hostname of the database. | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about JDBC URL parameters. | | -| `password` | *Optional* | :heavy_minus_sign: | Password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | Port of the database. | 5432 | -| `replicationMethod` | [Optional](../../models/shared/SourcePostgresUpdateMethod.md) | :heavy_minus_sign: | Configures how data is extracted from the database. | | -| `schemas` | List<*String*> | :heavy_minus_sign: | The list of schemas (case sensitive) to sync from. Defaults to public. | | -| `sourceType` | [com.airbyte.api.models.shared.SourcePostgresPostgres](../../models/shared/SourcePostgresPostgres.md) | :heavy_check_mark: | N/A | | -| `sslMode` | *Optional* | :heavy_minus_sign: | SSL connection modes.
    Read more in the docs. | | -| `tunnelMethod` | [Optional](../../models/shared/SourcePostgresSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about JDBC URL parameters. | | +| `password` | *Optional\* | :heavy_minus_sign: | Password associated with the username. | | +| `port` | *Optional\* | :heavy_minus_sign: | Port of the database. | 5432 | +| `replicationMethod` | [Optional\](../../models/shared/SourcePostgresUpdateMethod.md) | :heavy_minus_sign: | Configures how data is extracted from the database. | | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas (case sensitive) to sync from. Defaults to public. | | +| `sourceType` | [SourcePostgresPostgres](../../models/shared/SourcePostgresPostgres.md) | :heavy_check_mark: | N/A | | +| `sslMode` | [Optional\](../../models/shared/SourcePostgresSSLModes.md) | :heavy_minus_sign: | SSL connection modes.
    Read more in the docs. | | +| `tunnelMethod` | [Optional\](../../models/shared/SourcePostgresSSHTunnelMethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | | `username` | *String* | :heavy_check_mark: | Username to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresAllow.md b/docs/models/shared/SourcePostgresAllow.md new file mode 100644 index 000000000..9ccaffaa0 --- /dev/null +++ b/docs/models/shared/SourcePostgresAllow.md @@ -0,0 +1,11 @@ +# SourcePostgresAllow + +Enables encryption only when required by the source database. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `mode` | [SourcePostgresSchemasMode](../../models/shared/SourcePostgresSchemasMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresDisable.md b/docs/models/shared/SourcePostgresDisable.md new file mode 100644 index 000000000..817e4fd7f --- /dev/null +++ b/docs/models/shared/SourcePostgresDisable.md @@ -0,0 +1,11 @@ +# SourcePostgresDisable + +Disables encryption of communication between Airbyte and source database. + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `mode` | [SourcePostgresMode](../../models/shared/SourcePostgresMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.md b/docs/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.md new file mode 100644 index 000000000..6f252fb37 --- /dev/null +++ b/docs/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.md @@ -0,0 +1,11 @@ +# SourcePostgresInvalidCDCPositionBehaviorAdvanced + +Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `FAIL_SYNC` | Fail sync | +| `RE_SYNC_DATA` | Re-sync data | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresMethod.md b/docs/models/shared/SourcePostgresMethod.md index 8a7c97454..0bf75d733 100644 --- a/docs/models/shared/SourcePostgresMethod.md +++ b/docs/models/shared/SourcePostgresMethod.md @@ -3,6 +3,6 @@ ## Values -| Name | Value | -| ------ | ------ | -| `XMIN` | Xmin | \ No newline at end of file +| Name | Value | +| ----- | ----- | +| `CDC` | CDC | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresMode.md b/docs/models/shared/SourcePostgresMode.md new file mode 100644 index 000000000..05c12c6fc --- /dev/null +++ b/docs/models/shared/SourcePostgresMode.md @@ -0,0 +1,8 @@ +# SourcePostgresMode + + +## Values + +| Name | Value | +| --------- | --------- | +| `DISABLE` | disable | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresNoTunnel.md b/docs/models/shared/SourcePostgresNoTunnel.md index 9fde60478..43c9a4d15 100644 --- a/docs/models/shared/SourcePostgresNoTunnel.md +++ b/docs/models/shared/SourcePostgresNoTunnel.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourcePostgresTunnelMethod](../../models/shared/SourcePostgresTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `tunnelMethod` | [SourcePostgresTunnelMethod](../../models/shared/SourcePostgresTunnelMethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresPasswordAuthentication.md b/docs/models/shared/SourcePostgresPasswordAuthentication.md index d43e274aa..6ca109638 100644 --- a/docs/models/shared/SourcePostgresPasswordAuthentication.md +++ b/docs/models/shared/SourcePostgresPasswordAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourcePostgresSchemasTunnelMethodTunnelMethod](../../models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | -| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourcePostgresSchemasTunnelMethodTunnelMethod](../../models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnelUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresPrefer.md b/docs/models/shared/SourcePostgresPrefer.md new file mode 100644 index 000000000..d6bda5de2 --- /dev/null +++ b/docs/models/shared/SourcePostgresPrefer.md @@ -0,0 +1,11 @@ +# SourcePostgresPrefer + +Allows unencrypted connection only if the source database does not support encryption. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `mode` | [SourcePostgresSchemasSslModeMode](../../models/shared/SourcePostgresSchemasSslModeMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresRequire.md b/docs/models/shared/SourcePostgresRequire.md new file mode 100644 index 000000000..4be784d2f --- /dev/null +++ b/docs/models/shared/SourcePostgresRequire.md @@ -0,0 +1,11 @@ +# SourcePostgresRequire + +Always require encryption. If the source database server does not support encryption, connection will fail. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `mode` | [SourcePostgresSchemasSSLModeSSLModesMode](../../models/shared/SourcePostgresSchemasSSLModeSSLModesMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresSSHKeyAuthentication.md b/docs/models/shared/SourcePostgresSSHKeyAuthentication.md index 5259fb42f..98054c61a 100644 --- a/docs/models/shared/SourcePostgresSSHKeyAuthentication.md +++ b/docs/models/shared/SourcePostgresSSHKeyAuthentication.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | -| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | -| `tunnelMethod` | [com.airbyte.api.models.shared.SourcePostgresSchemasTunnelMethod](../../models/shared/SourcePostgresSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | -| `tunnelPort` | *Optional* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | -| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `sshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnelHost` | *String* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnelMethod` | [SourcePostgresSchemasTunnelMethod](../../models/shared/SourcePostgresSchemasTunnelMethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnelPort` | *Optional\* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | +| `tunnelUser` | *String* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | \ No newline at end of file diff --git a/docs/models/shared/SourcePostgresSSLModes.md b/docs/models/shared/SourcePostgresSSLModes.md new file mode 100644 index 000000000..925ea5f98 --- /dev/null +++ b/docs/models/shared/SourcePostgresSSLModes.md @@ -0,0 +1,5 @@ +# SourcePostgresSSLModes + +SSL connection modes. + Read more in the docs. + diff --git a/docs/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.md b/docs/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.md index dad658100..4ac492d0f 100644 --- a/docs/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.md +++ b/docs/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.md @@ -5,6 +5,6 @@ Incrementally detects new inserts and updates using the docs for information on how to generate this key. | | -| `baseUrl` | *Optional* | :heavy_minus_sign: | Base PostHog url. Defaults to PostHog Cloud (https://app.posthog.com). | https://posthog.example.com | -| `eventsTimeStep` | *Optional* | :heavy_minus_sign: | Set lower value in case of failing long running sync of events stream. | 30 | -| `sourceType` | [com.airbyte.api.models.shared.Posthog](../../models/shared/Posthog.md) | :heavy_check_mark: | N/A | | +| `baseUrl` | *Optional\* | :heavy_minus_sign: | Base PostHog url. Defaults to PostHog Cloud (https://app.posthog.com). | https://posthog.example.com | +| `eventsTimeStep` | *Optional\* | :heavy_minus_sign: | Set lower value in case of failing long running sync of events stream. | 30 | +| `sourceType` | [Posthog](../../models/shared/Posthog.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate the data. Any data before this date will not be replicated. | 2021-01-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourcePostmarkapp.md b/docs/models/shared/SourcePostmarkapp.md index 605045c0b..139fd2252 100644 --- a/docs/models/shared/SourcePostmarkapp.md +++ b/docs/models/shared/SourcePostmarkapp.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `xPostmarkAccountToken` | *String* | :heavy_check_mark: | API Key for account | -| `xPostmarkServerToken` | *String* | :heavy_check_mark: | API Key for server | -| `sourceType` | [com.airbyte.api.models.shared.Postmarkapp](../../models/shared/Postmarkapp.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `xPostmarkAccountToken` | *String* | :heavy_check_mark: | API Key for account | +| `xPostmarkServerToken` | *String* | :heavy_check_mark: | API Key for server | +| `sourceType` | [Postmarkapp](../../models/shared/Postmarkapp.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePrestashop.md b/docs/models/shared/SourcePrestashop.md index 2236f4e6b..5b94b1aa9 100644 --- a/docs/models/shared/SourcePrestashop.md +++ b/docs/models/shared/SourcePrestashop.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessKey` | *String* | :heavy_check_mark: | Your PrestaShop access key. See the docs for info on how to obtain this. | | -| `sourceType` | [com.airbyte.api.models.shared.Prestashop](../../models/shared/Prestashop.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Prestashop](../../models/shared/Prestashop.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | The Start date in the format YYYY-MM-DD. | 2022-01-01 | | `url` | *String* | :heavy_check_mark: | Shop URL without trailing slash. | | \ No newline at end of file diff --git a/docs/models/shared/SourcePretix.md b/docs/models/shared/SourcePretix.md new file mode 100644 index 000000000..95dc3545f --- /dev/null +++ b/docs/models/shared/SourcePretix.md @@ -0,0 +1,9 @@ +# SourcePretix + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API token to use. Obtain it from the pretix web interface by creating a new token under your team settings. | +| `sourceType` | [Pretix](../../models/shared/Pretix.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePrimetric.md b/docs/models/shared/SourcePrimetric.md new file mode 100644 index 000000000..4fb9354c8 --- /dev/null +++ b/docs/models/shared/SourcePrimetric.md @@ -0,0 +1,10 @@ +# SourcePrimetric + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Primetric developer application. The Client ID is visible here. | 1234aBcD5678EFGh9045Neq79sdDlA15082VMYcj | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Primetric developer application. You can manage your client's credentials here. | | +| `sourceType` | [Primetric](../../models/shared/Primetric.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceProductboard.md b/docs/models/shared/SourceProductboard.md index 74c11a060..f57f52660 100644 --- a/docs/models/shared/SourceProductboard.md +++ b/docs/models/shared/SourceProductboard.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | Your Productboard access token. See https://developer.productboard.com/reference/authentication for steps to generate one. | -| `sourceType` | [com.airbyte.api.models.shared.Productboard](../../models/shared/Productboard.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Productboard](../../models/shared/Productboard.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceProductive.md b/docs/models/shared/SourceProductive.md index 023f0fa8a..3df50ac08 100644 --- a/docs/models/shared/SourceProductive.md +++ b/docs/models/shared/SourceProductive.md @@ -7,4 +7,4 @@ | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | | `organizationId` | *String* | :heavy_check_mark: | The organization ID which could be seen from `https://app.productive.io/xxxx-xxxx/settings/api-integrations` page | -| `sourceType` | [com.airbyte.api.models.shared.Productive](../../models/shared/Productive.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Productive](../../models/shared/Productive.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcePutRequest.md b/docs/models/shared/SourcePutRequest.md index d07ffe442..523fcef8a 100644 --- a/docs/models/shared/SourcePutRequest.md +++ b/docs/models/shared/SourcePutRequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `configuration` | [com.airbyte.api.models.shared.SourceConfiguration](../../models/shared/SourceConfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
    "user": "charles"
    } | -| `name` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `configuration` | [SourceConfiguration](../../models/shared/SourceConfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
    "user": "charles"
    } | +| `name` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourcePypi.md b/docs/models/shared/SourcePypi.md index d903a7467..dc7257658 100644 --- a/docs/models/shared/SourcePypi.md +++ b/docs/models/shared/SourcePypi.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | `projectName` | *String* | :heavy_check_mark: | Name of the project/package. Can only be in lowercase with hyphen. This is the name used using pip command for installing the package. | sampleproject | -| `sourceType` | [com.airbyte.api.models.shared.Pypi](../../models/shared/Pypi.md) | :heavy_check_mark: | N/A | | -| `version` | *Optional* | :heavy_minus_sign: | Version of the project/package. Use it to find a particular release instead of all releases. | 1.2.0 | \ No newline at end of file +| `sourceType` | [Pypi](../../models/shared/Pypi.md) | :heavy_check_mark: | N/A | | +| `version` | *Optional\* | :heavy_minus_sign: | Version of the project/package. Use it to find a particular release instead of all releases. | 1.2.0 | \ No newline at end of file diff --git a/docs/models/shared/SourceQualaroo.md b/docs/models/shared/SourceQualaroo.md index 498932b4c..d03cc8eb0 100644 --- a/docs/models/shared/SourceQualaroo.md +++ b/docs/models/shared/SourceQualaroo.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `key` | *String* | :heavy_check_mark: | A Qualaroo token. See the docs for instructions on how to generate it. | | -| `sourceType` | [com.airbyte.api.models.shared.Qualaroo](../../models/shared/Qualaroo.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Qualaroo](../../models/shared/Qualaroo.md) | :heavy_check_mark: | N/A | | | `startDate` | *String* | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2021-03-01T00:00:00.000Z | -| `surveyIds` | List<*String*> | :heavy_minus_sign: | IDs of the surveys from which you'd like to replicate data. If left empty, data from all surveys to which you have access will be replicated. | | +| `surveyIds` | List\<*String*> | :heavy_minus_sign: | IDs of the surveys from which you'd like to replicate data. If left empty, data from all surveys to which you have access will be replicated. | | | `token` | *String* | :heavy_check_mark: | A Qualaroo token. See the docs for instructions on how to generate it. | | \ No newline at end of file diff --git a/docs/models/shared/SourceQuickbooks.md b/docs/models/shared/SourceQuickbooks.md new file mode 100644 index 000000000..d974838f1 --- /dev/null +++ b/docs/models/shared/SourceQuickbooks.md @@ -0,0 +1,11 @@ +# SourceQuickbooks + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `credentials` | [SourceQuickbooksAuthorizationMethod](../../models/shared/SourceQuickbooksAuthorizationMethod.md) | :heavy_check_mark: | N/A | | +| `sandbox` | *Optional\* | :heavy_minus_sign: | Determines whether to use the sandbox or production environment. | | +| `sourceType` | [Quickbooks](../../models/shared/Quickbooks.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The default value to use if no bookmark exists for an endpoint (rfc3339 date string). E.g, 2021-03-20T00:00:00Z. Any data before this date will not be replicated. | 2021-03-20T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceQuickbooksAuthType.md b/docs/models/shared/SourceQuickbooksAuthType.md new file mode 100644 index 000000000..16522a48d --- /dev/null +++ b/docs/models/shared/SourceQuickbooksAuthType.md @@ -0,0 +1,8 @@ +# SourceQuickbooksAuthType + + +## Values + +| Name | Value | +| --------- | --------- | +| `OAUTH20` | oauth2.0 | \ No newline at end of file diff --git a/docs/models/shared/SourceQuickbooksAuthorizationMethod.md b/docs/models/shared/SourceQuickbooksAuthorizationMethod.md new file mode 100644 index 000000000..bffa005f1 --- /dev/null +++ b/docs/models/shared/SourceQuickbooksAuthorizationMethod.md @@ -0,0 +1,2 @@ +# SourceQuickbooksAuthorizationMethod + diff --git a/docs/models/shared/SourceQuickbooksOAuth20.md b/docs/models/shared/SourceQuickbooksOAuth20.md new file mode 100644 index 000000000..4c9dd818a --- /dev/null +++ b/docs/models/shared/SourceQuickbooksOAuth20.md @@ -0,0 +1,14 @@ +# SourceQuickbooksOAuth20 + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access token for making authenticated requests. | +| `authType` | [Optional\](../../models/shared/SourceQuickbooksAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | Identifies which app is making the request. Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. | +| `clientSecret` | *String* | :heavy_check_mark: | Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. | +| `realmId` | *String* | :heavy_check_mark: | Labeled Company ID. The Make API Calls panel is populated with the realm id and the current access token. | +| `refreshToken` | *String* | :heavy_check_mark: | A token used when refreshing the access token. | +| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file diff --git a/docs/models/shared/SourceRailz.md b/docs/models/shared/SourceRailz.md index c17fb6a83..616988bb5 100644 --- a/docs/models/shared/SourceRailz.md +++ b/docs/models/shared/SourceRailz.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `clientId` | *String* | :heavy_check_mark: | Client ID (client_id) | -| `secretKey` | *String* | :heavy_check_mark: | Secret key (secret_key) | -| `sourceType` | [com.airbyte.api.models.shared.Railz](../../models/shared/Railz.md) | :heavy_check_mark: | N/A | -| `startDate` | *String* | :heavy_check_mark: | Start date | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | Client ID (client_id) | +| `secretKey` | *String* | :heavy_check_mark: | Secret key (secret_key) | +| `sourceType` | [Railz](../../models/shared/Railz.md) | :heavy_check_mark: | N/A | +| `startDate` | *String* | :heavy_check_mark: | Start date | \ No newline at end of file diff --git a/docs/models/shared/SourceRdStationMarketing.md b/docs/models/shared/SourceRdStationMarketing.md new file mode 100644 index 000000000..6705cf61f --- /dev/null +++ b/docs/models/shared/SourceRdStationMarketing.md @@ -0,0 +1,10 @@ +# SourceRdStationMarketing + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `authorization` | [Optional\](../../models/shared/SourceRdStationMarketingAuthenticationType.md) | :heavy_minus_sign: | Choose one of the possible authorization method | | +| `sourceType` | [SourceRdStationMarketingRdStationMarketing](../../models/shared/SourceRdStationMarketingRdStationMarketing.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. When specified and not None, then stream will behave as incremental | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceRdStationMarketingAuthType.md b/docs/models/shared/SourceRdStationMarketingAuthType.md new file mode 100644 index 000000000..4f5f8ea70 --- /dev/null +++ b/docs/models/shared/SourceRdStationMarketingAuthType.md @@ -0,0 +1,8 @@ +# SourceRdStationMarketingAuthType + + +## Values + +| Name | Value | +| -------- | -------- | +| `CLIENT` | Client | \ No newline at end of file diff --git a/docs/models/shared/SourceRdStationMarketingAuthenticationType.md b/docs/models/shared/SourceRdStationMarketingAuthenticationType.md new file mode 100644 index 000000000..d47fa0d0a --- /dev/null +++ b/docs/models/shared/SourceRdStationMarketingAuthenticationType.md @@ -0,0 +1,4 @@ +# SourceRdStationMarketingAuthenticationType + +Choose one of the possible authorization method + diff --git a/docs/models/shared/SourceRdStationMarketingRdStationMarketing.md b/docs/models/shared/SourceRdStationMarketingRdStationMarketing.md new file mode 100644 index 000000000..6740ffd13 --- /dev/null +++ b/docs/models/shared/SourceRdStationMarketingRdStationMarketing.md @@ -0,0 +1,8 @@ +# SourceRdStationMarketingRdStationMarketing + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `RD_STATION_MARKETING` | rd-station-marketing | \ No newline at end of file diff --git a/docs/models/shared/SourceRecharge.md b/docs/models/shared/SourceRecharge.md index 6a9605759..fd86b8f87 100644 --- a/docs/models/shared/SourceRecharge.md +++ b/docs/models/shared/SourceRecharge.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | The value of the Access Token generated. See the docs for more information. | | -| `sourceType` | [com.airbyte.api.models.shared.Recharge](../../models/shared/Recharge.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Recharge](../../models/shared/Recharge.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for Recharge API, in the format YYYY-MM-DDT00:00:00Z. Any data before this date will not be replicated. | 2021-05-14T00:00:00Z | -| `useOrdersDeprecatedApi` | *Optional* | :heavy_minus_sign: | Define whether or not the `Orders` stream should use the deprecated `2021-01` API version, or use `2021-11`, otherwise. | | \ No newline at end of file +| `useOrdersDeprecatedApi` | *Optional\* | :heavy_minus_sign: | Define whether or not the `Orders` stream should use the deprecated `2021-01` API version, or use `2021-11`, otherwise. | | \ No newline at end of file diff --git a/docs/models/shared/SourceRecreation.md b/docs/models/shared/SourceRecreation.md index 44965a88a..95dd68548 100644 --- a/docs/models/shared/SourceRecreation.md +++ b/docs/models/shared/SourceRecreation.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `apikey` | *String* | :heavy_check_mark: | API Key | -| `queryCampsites` | *Optional* | :heavy_minus_sign: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Recreation](../../models/shared/Recreation.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `apikey` | *String* | :heavy_check_mark: | API Key | +| `queryCampsites` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Recreation](../../models/shared/Recreation.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceRecruitee.md b/docs/models/shared/SourceRecruitee.md index 7479582e2..dec075b8d 100644 --- a/docs/models/shared/SourceRecruitee.md +++ b/docs/models/shared/SourceRecruitee.md @@ -7,4 +7,4 @@ | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Recruitee API Key. See here. | | `companyId` | *long* | :heavy_check_mark: | Recruitee Company ID. You can also find this ID on the Recruitee API tokens page. | -| `sourceType` | [com.airbyte.api.models.shared.Recruitee](../../models/shared/Recruitee.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Recruitee](../../models/shared/Recruitee.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceRecurly.md b/docs/models/shared/SourceRecurly.md index c1e827e8c..ba4f56bfd 100644 --- a/docs/models/shared/SourceRecurly.md +++ b/docs/models/shared/SourceRecurly.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Recurly API Key. See the docs for more information on how to generate this key. | | -| `beginTime` | *Optional* | :heavy_minus_sign: | ISO8601 timestamp from which the replication from Recurly API will start from. | 2021-12-01T00:00:00 | -| `endTime` | *Optional* | :heavy_minus_sign: | ISO8601 timestamp to which the replication from Recurly API will stop. Records after that date won't be imported. | 2021-12-01T00:00:00 | -| `sourceType` | [com.airbyte.api.models.shared.Recurly](../../models/shared/Recurly.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `beginTime` | *Optional\* | :heavy_minus_sign: | ISO8601 timestamp from which the replication from Recurly API will start from. | 2021-12-01T00:00:00 | +| `endTime` | *Optional\* | :heavy_minus_sign: | ISO8601 timestamp to which the replication from Recurly API will stop. Records after that date won't be imported. | 2021-12-01T00:00:00 | +| `sourceType` | [Recurly](../../models/shared/Recurly.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceReddit.md b/docs/models/shared/SourceReddit.md index 17f83f81b..26729ae8f 100644 --- a/docs/models/shared/SourceReddit.md +++ b/docs/models/shared/SourceReddit.md @@ -6,10 +6,10 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `exact` | *Optional* | :heavy_minus_sign: | Specifies exact keyword and reduces distractions | -| `includeOver18` | *Optional* | :heavy_minus_sign: | Includes mature content | -| `limit` | *Optional* | :heavy_minus_sign: | Max records per page limit | -| `query` | *Optional* | :heavy_minus_sign: | Specifies the query for searching in reddits and subreddits | -| `sourceType` | [com.airbyte.api.models.shared.Reddit](../../models/shared/Reddit.md) | :heavy_check_mark: | N/A | +| `exact` | *Optional\* | :heavy_minus_sign: | Specifies exact keyword and reduces distractions | +| `includeOver18` | *Optional\* | :heavy_minus_sign: | Includes mature content | +| `limit` | *Optional\* | :heavy_minus_sign: | Max records per page limit | +| `query` | *Optional\* | :heavy_minus_sign: | Specifies the query for searching in reddits and subreddits | +| `sourceType` | [Reddit](../../models/shared/Reddit.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | -| `subreddits` | List<*java.lang.Object*> | :heavy_minus_sign: | Subreddits for exploration | \ No newline at end of file +| `subreddits` | List\<*Object*> | :heavy_minus_sign: | Subreddits for exploration | \ No newline at end of file diff --git a/docs/models/shared/SourceRedshift.md b/docs/models/shared/SourceRedshift.md index 4f6709d5c..1621cc118 100644 --- a/docs/models/shared/SourceRedshift.md +++ b/docs/models/shared/SourceRedshift.md @@ -7,9 +7,9 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `database` | *String* | :heavy_check_mark: | Name of the database. | master | | `host` | *String* | :heavy_check_mark: | Host Endpoint of the Redshift Cluster (must include the cluster-id, region and end with .redshift.amazonaws.com). | | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | | `password` | *String* | :heavy_check_mark: | Password associated with the username. | | -| `port` | *Optional* | :heavy_minus_sign: | Port of the database. | 5439 | -| `schemas` | List<*String*> | :heavy_minus_sign: | The list of schemas to sync from. Specify one or more explicitly or keep empty to process all schemas. Schema names are case sensitive. | public | -| `sourceType` | [com.airbyte.api.models.shared.SourceRedshiftRedshift](../../models/shared/SourceRedshiftRedshift.md) | :heavy_check_mark: | N/A | | +| `port` | *Optional\* | :heavy_minus_sign: | Port of the database. | 5439 | +| `schemas` | List\<*String*> | :heavy_minus_sign: | The list of schemas to sync from. Specify one or more explicitly or keep empty to process all schemas. Schema names are case sensitive. | public | +| `sourceType` | [SourceRedshiftRedshift](../../models/shared/SourceRedshiftRedshift.md) | :heavy_check_mark: | N/A | | | `username` | *String* | :heavy_check_mark: | Username to use to access the database. | | \ No newline at end of file diff --git a/docs/models/shared/SourceReferralhero.md b/docs/models/shared/SourceReferralhero.md new file mode 100644 index 000000000..182bc3925 --- /dev/null +++ b/docs/models/shared/SourceReferralhero.md @@ -0,0 +1,9 @@ +# SourceReferralhero + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Referralhero](../../models/shared/Referralhero.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceRentcast.md b/docs/models/shared/SourceRentcast.md new file mode 100644 index 000000000..1f48cb231 --- /dev/null +++ b/docs/models/shared/SourceRentcast.md @@ -0,0 +1,23 @@ +# SourceRentcast + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `address` | *Optional\* | :heavy_minus_sign: | The full address of the property, in the format of Street, City, State, Zip. Used to retrieve data for a specific property, or together with the radius parameter to search for listings in a specific area | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `bathRooms` | *Optional\* | :heavy_minus_sign: | The number of bathrooms, used to search for listings matching this criteria. Supports fractions to indicate partial bathrooms | +| `bedrooms` | *Optional\* | :heavy_minus_sign: | The number of bedrooms, used to search for listings matching this criteria. Use 0 to indicate a studio layout | +| `city` | *Optional\* | :heavy_minus_sign: | The name of the city, used to search for listings in a specific city. This parameter is case-sensitive | +| `dataType` | *Optional\* | :heavy_minus_sign: | The type of aggregate market data to return. Defaults to "All" if not provided : All , Sale , Rental | +| `daysOld` | *Optional\* | :heavy_minus_sign: | The maximum number of days since a property was listed on the market, with a minimum of 1 or The maximum number of days since a property was last sold, with a minimum of 1. Used to search for properties that were sold within the specified date range | +| `historyRange` | *Optional\* | :heavy_minus_sign: | The time range for historical record entries, in months. Defaults to 12 if not provided | +| `latitude` | *Optional\* | :heavy_minus_sign: | The latitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area | +| `longitude` | *Optional\* | :heavy_minus_sign: | The longitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area | +| `propertyType` | *Optional\* | :heavy_minus_sign: | The type of the property, used to search for listings matching this criteria : Single Family , Condo , Townhouse , Manufactured , Multi-Family , Apartment , Land , | +| `radius` | *Optional\* | :heavy_minus_sign: | The radius of the search area in miles, with a maximum of 100. Use in combination with the latitude/longitude or address parameters to search for listings in a specific area | +| `sourceType` | [Rentcast](../../models/shared/Rentcast.md) | :heavy_check_mark: | N/A | +| `state` | *Optional\* | :heavy_minus_sign: | The 2-character state abbreviation, used to search for listings in a specific state. This parameter is case-sensitive | +| `status` | *Optional\* | :heavy_minus_sign: | The current listing status, used to search for listings matching this criteria : Active or Inactive | +| `zipcode` | *Optional\* | :heavy_minus_sign: | The 5-digit zip code, used to search for listings in a specific zip code | \ No newline at end of file diff --git a/docs/models/shared/SourceRepairshopr.md b/docs/models/shared/SourceRepairshopr.md new file mode 100644 index 000000000..ad16bc1ee --- /dev/null +++ b/docs/models/shared/SourceRepairshopr.md @@ -0,0 +1,10 @@ +# SourceRepairshopr + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Repairshopr](../../models/shared/Repairshopr.md) | :heavy_check_mark: | N/A | +| `subdomain` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceReplyIo.md b/docs/models/shared/SourceReplyIo.md new file mode 100644 index 000000000..7927dd52a --- /dev/null +++ b/docs/models/shared/SourceReplyIo.md @@ -0,0 +1,9 @@ +# SourceReplyIo + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | The API Token for Reply | +| `sourceType` | [ReplyIo](../../models/shared/ReplyIo.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceResponse.md b/docs/models/shared/SourceResponse.md index 766f695f8..66c39e95f 100644 --- a/docs/models/shared/SourceResponse.md +++ b/docs/models/shared/SourceResponse.md @@ -5,10 +5,12 @@ Provides details of a single source. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `configuration` | [com.airbyte.api.models.shared.SourceConfiguration](../../models/shared/SourceConfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
    "user": "charles"
    } | -| `name` | *String* | :heavy_check_mark: | N/A | | -| `sourceId` | *String* | :heavy_check_mark: | N/A | | -| `sourceType` | *String* | :heavy_check_mark: | N/A | | -| `workspaceId` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `configuration` | [SourceConfiguration](../../models/shared/SourceConfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
    "user": "charles"
    } | +| `createdAt` | *long* | :heavy_check_mark: | N/A | | +| `definitionId` | *String* | :heavy_check_mark: | N/A | | +| `name` | *String* | :heavy_check_mark: | N/A | | +| `sourceId` | *String* | :heavy_check_mark: | N/A | | +| `sourceType` | *String* | :heavy_check_mark: | N/A | | +| `workspaceId` | *String* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceRetently.md b/docs/models/shared/SourceRetently.md index 442099f53..1c0d75b60 100644 --- a/docs/models/shared/SourceRetently.md +++ b/docs/models/shared/SourceRetently.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | *Optional* | :heavy_minus_sign: | Choose how to authenticate to Retently | -| `sourceType` | [Optional](../../models/shared/SourceRetentlyRetently.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceRetentlyAuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate to Retently | +| `sourceType` | [Retently](../../models/shared/Retently.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceRetentlyAuthType.md b/docs/models/shared/SourceRetentlyAuthType.md new file mode 100644 index 000000000..3964ad63f --- /dev/null +++ b/docs/models/shared/SourceRetentlyAuthType.md @@ -0,0 +1,8 @@ +# SourceRetentlyAuthType + + +## Values + +| Name | Value | +| -------- | -------- | +| `CLIENT` | Client | \ No newline at end of file diff --git a/docs/models/shared/SourceRetentlyAuthenticationMechanism.md b/docs/models/shared/SourceRetentlyAuthenticationMechanism.md new file mode 100644 index 000000000..940cd4595 --- /dev/null +++ b/docs/models/shared/SourceRetentlyAuthenticationMechanism.md @@ -0,0 +1,4 @@ +# SourceRetentlyAuthenticationMechanism + +Choose how to authenticate to Retently + diff --git a/docs/models/shared/SourceRetentlySchemasAuthType.md b/docs/models/shared/SourceRetentlySchemasAuthType.md new file mode 100644 index 000000000..69af45b87 --- /dev/null +++ b/docs/models/shared/SourceRetentlySchemasAuthType.md @@ -0,0 +1,8 @@ +# SourceRetentlySchemasAuthType + + +## Values + +| Name | Value | +| ------- | ------- | +| `TOKEN` | Token | \ No newline at end of file diff --git a/docs/models/shared/SourceRevenuecat.md b/docs/models/shared/SourceRevenuecat.md new file mode 100644 index 000000000..1649d708b --- /dev/null +++ b/docs/models/shared/SourceRevenuecat.md @@ -0,0 +1,10 @@ +# SourceRevenuecat + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key or access token | +| `sourceType` | [Revenuecat](../../models/shared/Revenuecat.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceRevolutMerchant.md b/docs/models/shared/SourceRevolutMerchant.md new file mode 100644 index 000000000..cd5ae6435 --- /dev/null +++ b/docs/models/shared/SourceRevolutMerchant.md @@ -0,0 +1,12 @@ +# SourceRevolutMerchant + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiVersion` | *String* | :heavy_check_mark: | Specify the API version to use. This is required for certain API calls. Example: '2024-09-01'. | +| `environment` | [SourceRevolutMerchantEnvironment](../../models/shared/SourceRevolutMerchantEnvironment.md) | :heavy_check_mark: | The base url of your environment. Either sandbox or production | +| `secretApiKey` | *String* | :heavy_check_mark: | Secret API key to use for authenticating with the Revolut Merchant API. Find it in your Revolut Business account under APIs > Merchant API. | +| `sourceType` | [RevolutMerchant](../../models/shared/RevolutMerchant.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceRevolutMerchantEnvironment.md b/docs/models/shared/SourceRevolutMerchantEnvironment.md new file mode 100644 index 000000000..d2e9d16ac --- /dev/null +++ b/docs/models/shared/SourceRevolutMerchantEnvironment.md @@ -0,0 +1,11 @@ +# SourceRevolutMerchantEnvironment + +The base url of your environment. Either sandbox or production + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `SANDBOX_MERCHANT` | sandbox-merchant | +| `MERCHANT` | merchant | \ No newline at end of file diff --git a/docs/models/shared/SourceRkiCovid.md b/docs/models/shared/SourceRkiCovid.md index 36aac5b74..1ca7bad25 100644 --- a/docs/models/shared/SourceRkiCovid.md +++ b/docs/models/shared/SourceRkiCovid.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `sourceType` | [com.airbyte.api.models.shared.RkiCovid](../../models/shared/RkiCovid.md) | :heavy_check_mark: | N/A | +| `sourceType` | [RkiCovid](../../models/shared/RkiCovid.md) | :heavy_check_mark: | N/A | | `startDate` | *String* | :heavy_check_mark: | UTC date in the format 2017-01-25. Any data before this date will not be replicated. | \ No newline at end of file diff --git a/docs/models/shared/SourceRocketlane.md b/docs/models/shared/SourceRocketlane.md new file mode 100644 index 000000000..33a780c17 --- /dev/null +++ b/docs/models/shared/SourceRocketlane.md @@ -0,0 +1,9 @@ +# SourceRocketlane + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Generate it from the API section in Settings of your Rocketlane account. | +| `sourceType` | [Rocketlane](../../models/shared/Rocketlane.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceRollbar.md b/docs/models/shared/SourceRollbar.md new file mode 100644 index 000000000..6fbd2ea0a --- /dev/null +++ b/docs/models/shared/SourceRollbar.md @@ -0,0 +1,11 @@ +# SourceRollbar + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accountAccessToken` | *String* | :heavy_check_mark: | N/A | +| `projectAccessToken` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Rollbar](../../models/shared/Rollbar.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceRootly.md b/docs/models/shared/SourceRootly.md new file mode 100644 index 000000000..ca12bc698 --- /dev/null +++ b/docs/models/shared/SourceRootly.md @@ -0,0 +1,10 @@ +# SourceRootly + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Rootly](../../models/shared/Rootly.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceRss.md b/docs/models/shared/SourceRss.md index 418a3d03f..130d463e8 100644 --- a/docs/models/shared/SourceRss.md +++ b/docs/models/shared/SourceRss.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `sourceType` | [com.airbyte.api.models.shared.Rss](../../models/shared/Rss.md) | :heavy_check_mark: | N/A | -| `url` | *String* | :heavy_check_mark: | RSS Feed URL | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `sourceType` | [Rss](../../models/shared/Rss.md) | :heavy_check_mark: | N/A | +| `url` | *String* | :heavy_check_mark: | RSS Feed URL | \ No newline at end of file diff --git a/docs/models/shared/SourceRuddr.md b/docs/models/shared/SourceRuddr.md new file mode 100644 index 000000000..3f2acaaee --- /dev/null +++ b/docs/models/shared/SourceRuddr.md @@ -0,0 +1,9 @@ +# SourceRuddr + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API token to use. Generate it in the API Keys section of your Ruddr workspace settings. | +| `sourceType` | [Ruddr](../../models/shared/Ruddr.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceS3.md b/docs/models/shared/SourceS3.md index 832bdc4de..6ffecf055 100644 --- a/docs/models/shared/SourceS3.md +++ b/docs/models/shared/SourceS3.md @@ -8,12 +8,13 @@ because it is responsible for converting legacy S3 v3 configs into v4 configs us | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `awsAccessKeyId` | *Optional* | :heavy_minus_sign: | In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. | | -| `awsSecretAccessKey` | *Optional* | :heavy_minus_sign: | In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. | | +| `awsAccessKeyId` | *Optional\* | :heavy_minus_sign: | In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. | | +| `awsSecretAccessKey` | *Optional\* | :heavy_minus_sign: | In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. | | | `bucket` | *String* | :heavy_check_mark: | Name of the S3 bucket where the file(s) exist. | | -| `endpoint` | *Optional* | :heavy_minus_sign: | Endpoint to an S3 compatible service. Leave empty to use AWS. | my-s3-endpoint.com | -| `regionName` | *Optional* | :heavy_minus_sign: | AWS region where the S3 bucket is located. If not provided, the region will be determined automatically. | | -| `roleArn` | *Optional* | :heavy_minus_sign: | Specifies the Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations requested using this profile. Set the External ID to the Airbyte workspace ID, which can be found in the URL of this page. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceS3S3](../../models/shared/SourceS3S3.md) | :heavy_check_mark: | N/A | | +| `deliveryMethod` | [Optional\](../../models/shared/DeliveryMethod.md) | :heavy_minus_sign: | N/A | | +| `endpoint` | *Optional\* | :heavy_minus_sign: | Endpoint to an S3 compatible service. Leave empty to use AWS. | my-s3-endpoint.com | +| `regionName` | *Optional\* | :heavy_minus_sign: | AWS region where the S3 bucket is located. If not provided, the region will be determined automatically. | | +| `roleArn` | *Optional\* | :heavy_minus_sign: | Specifies the Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations requested using this profile. Set the External ID to the Airbyte workspace ID, which can be found in the URL of this page. | | +| `sourceType` | [SourceS3S3](../../models/shared/SourceS3S3.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. | 2021-01-01T00:00:00.000000Z | -| `streams` | List<[com.airbyte.api.models.shared.SourceS3FileBasedStreamConfig](../../models/shared/SourceS3FileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file +| `streams` | List\<[SourceS3FileBasedStreamConfig](../../models/shared/SourceS3FileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | \ No newline at end of file diff --git a/docs/models/shared/SourceS3Autogenerated.md b/docs/models/shared/SourceS3Autogenerated.md index e321fd7c3..0362ca664 100644 --- a/docs/models/shared/SourceS3Autogenerated.md +++ b/docs/models/shared/SourceS3Autogenerated.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceS3SchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceS3SchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceS3AvroFormat.md b/docs/models/shared/SourceS3AvroFormat.md index ba752282d..a6febcdd4 100644 --- a/docs/models/shared/SourceS3AvroFormat.md +++ b/docs/models/shared/SourceS3AvroFormat.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `doubleAsString` | *Optional* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | -| `filetype` | [Optional](../../models/shared/SourceS3Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `doubleAsString` | *Optional\* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | +| `filetype` | [Optional\](../../models/shared/SourceS3Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceS3CSVFormat.md b/docs/models/shared/SourceS3CSVFormat.md index bb73e0b54..54fc0d49b 100644 --- a/docs/models/shared/SourceS3CSVFormat.md +++ b/docs/models/shared/SourceS3CSVFormat.md @@ -5,17 +5,17 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `delimiter` | *Optional* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | -| `doubleQuote` | *Optional* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | -| `encoding` | *Optional* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | -| `escapeChar` | *Optional* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | -| `falseValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | -| `filetype` | [Optional](../../models/shared/SourceS3SchemasFiletype.md) | :heavy_minus_sign: | N/A | -| `headerDefinition` | [Optional](../../models/shared/SourceS3CSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | -| `ignoreErrorsOnFieldsMismatch` | *Optional* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | -| `nullValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | -| `quoteChar` | *Optional* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | -| `skipRowsAfterHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip after the header row. | -| `skipRowsBeforeHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | -| `stringsCanBeNull` | *Optional* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | -| `trueValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file +| `delimiter` | *Optional\* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | +| `doubleQuote` | *Optional\* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | +| `encoding` | *Optional\* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | +| `escapeChar` | *Optional\* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | +| `falseValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | +| `filetype` | [Optional\](../../models/shared/SourceS3SchemasFiletype.md) | :heavy_minus_sign: | N/A | +| `headerDefinition` | [Optional\](../../models/shared/SourceS3CSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignoreErrorsOnFieldsMismatch` | *Optional\* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | +| `nullValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | +| `quoteChar` | *Optional\* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | +| `skipRowsAfterHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip after the header row. | +| `skipRowsBeforeHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | +| `stringsCanBeNull` | *Optional\* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | +| `trueValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file diff --git a/docs/models/shared/SourceS3DeliveryType.md b/docs/models/shared/SourceS3DeliveryType.md new file mode 100644 index 000000000..741fd2c5c --- /dev/null +++ b/docs/models/shared/SourceS3DeliveryType.md @@ -0,0 +1,8 @@ +# SourceS3DeliveryType + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `USE_FILE_TRANSFER` | use_file_transfer | \ No newline at end of file diff --git a/docs/models/shared/SourceS3ExcelFormat.md b/docs/models/shared/SourceS3ExcelFormat.md new file mode 100644 index 000000000..985771beb --- /dev/null +++ b/docs/models/shared/SourceS3ExcelFormat.md @@ -0,0 +1,8 @@ +# SourceS3ExcelFormat + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceS3FileBasedStreamConfig.md b/docs/models/shared/SourceS3FileBasedStreamConfig.md index fb7369a94..c30ea5459 100644 --- a/docs/models/shared/SourceS3FileBasedStreamConfig.md +++ b/docs/models/shared/SourceS3FileBasedStreamConfig.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `daysToSyncIfHistoryIsFull` | *Optional* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | -| `format` | [com.airbyte.api.models.shared.SourceS3Format](../../models/shared/SourceS3Format.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | -| `globs` | List<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | -| `inputSchema` | *Optional* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | +| `daysToSyncIfHistoryIsFull` | *Optional\* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | +| `format` | [SourceS3Format](../../models/shared/SourceS3Format.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | +| `globs` | List\<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | +| `inputSchema` | *Optional\* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | | `name` | *String* | :heavy_check_mark: | The name of the stream. | -| `recentNFilesToReadForSchemaDiscovery` | *Optional* | :heavy_minus_sign: | The number of resent files which will be used to discover the schema for this stream. | -| `schemaless` | *Optional* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | -| `validationPolicy` | [Optional](../../models/shared/SourceS3ValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file +| `recentNFilesToReadForSchemaDiscovery` | *Optional\* | :heavy_minus_sign: | The number of resent files which will be used to discover the schema for this stream. | +| `schemaless` | *Optional\* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | +| `validationPolicy` | [Optional\](../../models/shared/SourceS3ValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file diff --git a/docs/models/shared/SourceS3FromCSV.md b/docs/models/shared/SourceS3FromCSV.md index 848145f22..95746a97d 100644 --- a/docs/models/shared/SourceS3FromCSV.md +++ b/docs/models/shared/SourceS3FromCSV.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceS3HeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceS3HeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceS3JsonlFormat.md b/docs/models/shared/SourceS3JsonlFormat.md index 957533072..ecea5d231 100644 --- a/docs/models/shared/SourceS3JsonlFormat.md +++ b/docs/models/shared/SourceS3JsonlFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceS3SchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceS3SchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceS3Local.md b/docs/models/shared/SourceS3Local.md index 614d9ef3d..b3c0441ee 100644 --- a/docs/models/shared/SourceS3Local.md +++ b/docs/models/shared/SourceS3Local.md @@ -5,6 +5,6 @@ Process files locally, supporting `fast` and `ocr` modes. This is the default op ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/SourceS3Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/SourceS3Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceS3ParquetFormat.md b/docs/models/shared/SourceS3ParquetFormat.md index 2eb57aff3..1fe3eafca 100644 --- a/docs/models/shared/SourceS3ParquetFormat.md +++ b/docs/models/shared/SourceS3ParquetFormat.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `decimalAsFloat` | *Optional* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | -| `filetype` | [Optional](../../models/shared/SourceS3SchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `decimalAsFloat` | *Optional\* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | +| `filetype` | [Optional\](../../models/shared/SourceS3SchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.md b/docs/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.md new file mode 100644 index 000000000..dc06f2eab --- /dev/null +++ b/docs/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.md @@ -0,0 +1,8 @@ +# SourceS3SchemasStreamsFormatFormat6Filetype + + +## Values + +| Name | Value | +| ------- | ------- | +| `EXCEL` | excel | \ No newline at end of file diff --git a/docs/models/shared/SourceS3UnstructuredDocumentFormat.md b/docs/models/shared/SourceS3UnstructuredDocumentFormat.md index 1c00ef609..6af63dd5c 100644 --- a/docs/models/shared/SourceS3UnstructuredDocumentFormat.md +++ b/docs/models/shared/SourceS3UnstructuredDocumentFormat.md @@ -7,7 +7,7 @@ Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one rec | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceS3SchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | -| `processing` | [Optional](../../models/shared/SourceS3Processing.md) | :heavy_minus_sign: | Processing configuration | -| `skipUnprocessableFiles` | *Optional* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | -| `strategy` | [Optional](../../models/shared/SourceS3ParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file +| `filetype` | [Optional\](../../models/shared/SourceS3SchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | +| `processing` | [Optional\](../../models/shared/SourceS3Processing.md) | :heavy_minus_sign: | Processing configuration | +| `skipUnprocessableFiles` | *Optional\* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | +| `strategy` | [Optional\](../../models/shared/SourceS3ParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file diff --git a/docs/models/shared/SourceS3UserProvided.md b/docs/models/shared/SourceS3UserProvided.md index d76d5c00a..b0b9de474 100644 --- a/docs/models/shared/SourceS3UserProvided.md +++ b/docs/models/shared/SourceS3UserProvided.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `columnNames` | List<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | -| `headerDefinitionType` | [Optional](../../models/shared/SourceS3SchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `columnNames` | List\<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceS3SchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSafetyculture.md b/docs/models/shared/SourceSafetyculture.md new file mode 100644 index 000000000..ee074000e --- /dev/null +++ b/docs/models/shared/SourceSafetyculture.md @@ -0,0 +1,9 @@ +# SourceSafetyculture + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Safetyculture](../../models/shared/Safetyculture.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSageHr.md b/docs/models/shared/SourceSageHr.md new file mode 100644 index 000000000..460d135ac --- /dev/null +++ b/docs/models/shared/SourceSageHr.md @@ -0,0 +1,10 @@ +# SourceSageHr + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [SageHr](../../models/shared/SageHr.md) | :heavy_check_mark: | N/A | +| `subdomain` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSalesflare.md b/docs/models/shared/SourceSalesflare.md new file mode 100644 index 000000000..ffe216e74 --- /dev/null +++ b/docs/models/shared/SourceSalesflare.md @@ -0,0 +1,9 @@ +# SourceSalesflare + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Enter you api key like this : Bearer YOUR_API_KEY | +| `sourceType` | [Salesflare](../../models/shared/Salesflare.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSalesforce.md b/docs/models/shared/SourceSalesforce.md index e6cd6c5cc..9185ff12b 100644 --- a/docs/models/shared/SourceSalesforce.md +++ b/docs/models/shared/SourceSalesforce.md @@ -5,13 +5,13 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/AuthType.md) | :heavy_minus_sign: | N/A | | +| `authType` | [Optional\](../../models/shared/AuthType.md) | :heavy_minus_sign: | N/A | | | `clientId` | *String* | :heavy_check_mark: | Enter your Salesforce developer application's Client ID | | | `clientSecret` | *String* | :heavy_check_mark: | Enter your Salesforce developer application's Client secret | | -| `forceUseBulkApi` | *Optional* | :heavy_minus_sign: | Toggle to use Bulk API (this might cause empty fields for some streams) | | -| `isSandbox` | *Optional* | :heavy_minus_sign: | Toggle if you're using a Salesforce Sandbox | | +| `forceUseBulkApi` | *Optional\* | :heavy_minus_sign: | Toggle to use Bulk API (this might cause empty fields for some streams) | | +| `isSandbox` | *Optional\* | :heavy_minus_sign: | Toggle if you're using a Salesforce Sandbox | | | `refreshToken` | *String* | :heavy_check_mark: | Enter your application's Salesforce Refresh Token used for Airbyte to access your Salesforce account. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceSalesforceSalesforce](../../models/shared/SourceSalesforceSalesforce.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [SourceSalesforceSalesforce](../../models/shared/SourceSalesforceSalesforce.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Enter the date (or date-time) in the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ssZ format. Airbyte will replicate the data updated on and after this date. If this field is blank, Airbyte will replicate the data for last two years. | 2021-07-25 | -| `streamSliceStep` | *Optional* | :heavy_minus_sign: | The size of the time window (ISO8601 duration) to slice requests. | PT12H | -| `streamsCriteria` | List<[com.airbyte.api.models.shared.StreamsCriteria](../../models/shared/StreamsCriteria.md)> | :heavy_minus_sign: | Add filters to select only required stream based on `SObject` name. Use this field to filter which tables are displayed by this connector. This is useful if your Salesforce account has a large number of tables (>1000), in which case you may find it easier to navigate the UI and speed up the connector's performance if you restrict the tables displayed by this connector. | | \ No newline at end of file +| `streamSliceStep` | *Optional\* | :heavy_minus_sign: | The size of the time window (ISO8601 duration) to slice requests. | PT12H | +| `streamsCriteria` | List\<[StreamsCriteria](../../models/shared/StreamsCriteria.md)> | :heavy_minus_sign: | Add filters to select only required stream based on `SObject` name. Use this field to filter which tables are displayed by this connector. This is useful if your Salesforce account has a large number of tables (>1000), in which case you may find it easier to navigate the UI and speed up the connector's performance if you restrict the tables displayed by this connector. | | \ No newline at end of file diff --git a/docs/models/shared/SourceSalesloft.md b/docs/models/shared/SourceSalesloft.md index 27f238907..0da1e7c19 100644 --- a/docs/models/shared/SourceSalesloft.md +++ b/docs/models/shared/SourceSalesloft.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SourceSalesloftCredentials](../../models/shared/SourceSalesloftCredentials.md) | :heavy_check_mark: | N/A | | -| `sourceType` | [com.airbyte.api.models.shared.Salesloft](../../models/shared/Salesloft.md) | :heavy_check_mark: | N/A | | +| `credentials` | [SourceSalesloftCredentials](../../models/shared/SourceSalesloftCredentials.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Salesloft](../../models/shared/Salesloft.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for Salesloft API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2020-11-16T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceSapFieldglass.md b/docs/models/shared/SourceSapFieldglass.md index a6a021206..0f8cb1d8c 100644 --- a/docs/models/shared/SourceSapFieldglass.md +++ b/docs/models/shared/SourceSapFieldglass.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | API Key | -| `sourceType` | [com.airbyte.api.models.shared.SapFieldglass](../../models/shared/SapFieldglass.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key | +| `sourceType` | [SapFieldglass](../../models/shared/SapFieldglass.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSavvycal.md b/docs/models/shared/SourceSavvycal.md index 794ae0ca1..21f13afdd 100644 --- a/docs/models/shared/SourceSavvycal.md +++ b/docs/models/shared/SourceSavvycal.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Go to SavvyCal → Settings → Developer → Personal Tokens and make a new token. Then, copy the private key. https://savvycal.com/developers | -| `sourceType` | [com.airbyte.api.models.shared.Savvycal](../../models/shared/Savvycal.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Savvycal](../../models/shared/Savvycal.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceScryfall.md b/docs/models/shared/SourceScryfall.md index 87fc525b3..c48c372f8 100644 --- a/docs/models/shared/SourceScryfall.md +++ b/docs/models/shared/SourceScryfall.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `sourceType` | [com.airbyte.api.models.shared.Scryfall](../../models/shared/Scryfall.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `sourceType` | [Scryfall](../../models/shared/Scryfall.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSecoda.md b/docs/models/shared/SourceSecoda.md index b17ef4341..10219bdc9 100644 --- a/docs/models/shared/SourceSecoda.md +++ b/docs/models/shared/SourceSecoda.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `apiKey` | *String* | :heavy_check_mark: | Your API Access Key. See here. The key is case sensitive. | -| `sourceType` | [com.airbyte.api.models.shared.Secoda](../../models/shared/Secoda.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Secoda](../../models/shared/Secoda.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSegment.md b/docs/models/shared/SourceSegment.md new file mode 100644 index 000000000..0d9001688 --- /dev/null +++ b/docs/models/shared/SourceSegment.md @@ -0,0 +1,11 @@ +# SourceSegment + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API token to use. Generate it in Segment's Workspace settings. | +| `region` | *Optional\* | :heavy_minus_sign: | The region for the API, e.g., 'api' for US or 'eu1' for EU | +| `sourceType` | [Segment](../../models/shared/Segment.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSendgrid.md b/docs/models/shared/SourceSendgrid.md index 85f28fbea..1763e2d7b 100644 --- a/docs/models/shared/SourceSendgrid.md +++ b/docs/models/shared/SourceSendgrid.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Sendgrid API Key, use admin to generate this key. | -| `sourceType` | [com.airbyte.api.models.shared.Sendgrid](../../models/shared/Sendgrid.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Sendgrid](../../models/shared/Sendgrid.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | \ No newline at end of file diff --git a/docs/models/shared/SourceSendinblue.md b/docs/models/shared/SourceSendinblue.md index 1c782bd4f..9d8ad8f53 100644 --- a/docs/models/shared/SourceSendinblue.md +++ b/docs/models/shared/SourceSendinblue.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Your API Key. See here. | -| `sourceType` | [com.airbyte.api.models.shared.Sendinblue](../../models/shared/Sendinblue.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Sendinblue](../../models/shared/Sendinblue.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSendowl.md b/docs/models/shared/SourceSendowl.md new file mode 100644 index 000000000..7019c146e --- /dev/null +++ b/docs/models/shared/SourceSendowl.md @@ -0,0 +1,11 @@ +# SourceSendowl + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `password` | *Optional\* | :heavy_minus_sign: | Enter your API secret | +| `sourceType` | [Sendowl](../../models/shared/Sendowl.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | Enter you API Key | \ No newline at end of file diff --git a/docs/models/shared/SourceSendpulse.md b/docs/models/shared/SourceSendpulse.md new file mode 100644 index 000000000..8828171a6 --- /dev/null +++ b/docs/models/shared/SourceSendpulse.md @@ -0,0 +1,10 @@ +# SourceSendpulse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Sendpulse](../../models/shared/Sendpulse.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSenseforce.md b/docs/models/shared/SourceSenseforce.md index 738220bb8..a9edb8852 100644 --- a/docs/models/shared/SourceSenseforce.md +++ b/docs/models/shared/SourceSenseforce.md @@ -8,5 +8,5 @@ | `accessToken` | *String* | :heavy_check_mark: | Your API access token. See here. The toke is case sensitive. | | | `backendUrl` | *String* | :heavy_check_mark: | Your Senseforce API backend URL. This is the URL shown during the Login screen. See here for more details. (Note: Most Senseforce backend APIs have the term 'galaxy' in their ULR) | https://galaxyapi.senseforce.io | | `datasetId` | *String* | :heavy_check_mark: | The ID of the dataset you want to synchronize. The ID can be found in the URL when opening the dataset. See here for more details. (Note: As the Senseforce API only allows to synchronize a specific dataset, each dataset you want to synchronize needs to be implemented as a separate airbyte source). | 8f418098-ca28-4df5-9498-0df9fe78eda7 | -| `sourceType` | [com.airbyte.api.models.shared.Senseforce](../../models/shared/Senseforce.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Senseforce](../../models/shared/Senseforce.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25. Only data with "Timestamp" after this date will be replicated. Important note: This start date must be set to the first day of where your dataset provides data. If your dataset has data from 2020-10-10 10:21:10, set the start_date to 2020-10-10 or later | 2017-01-25 | \ No newline at end of file diff --git a/docs/models/shared/SourceSentry.md b/docs/models/shared/SourceSentry.md index af3bd713f..1c862b0e0 100644 --- a/docs/models/shared/SourceSentry.md +++ b/docs/models/shared/SourceSentry.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `authToken` | *String* | :heavy_check_mark: | Log into Sentry and then create authentication tokens.For self-hosted, you can find or create authentication tokens by visiting "{instance_url_prefix}/settings/account/api/auth-tokens/" | -| `discoverFields` | List<*java.lang.Object*> | :heavy_minus_sign: | Fields to retrieve when fetching discover events | -| `hostname` | *Optional* | :heavy_minus_sign: | Host name of Sentry API server.For self-hosted, specify your host name here. Otherwise, leave it empty. | +| `discoverFields` | List\<*Object*> | :heavy_minus_sign: | Fields to retrieve when fetching discover events | +| `hostname` | *Optional\* | :heavy_minus_sign: | Host name of Sentry API server.For self-hosted, specify your host name here. Otherwise, leave it empty. | | `organization` | *String* | :heavy_check_mark: | The slug of the organization the groups belong to. | | `project` | *String* | :heavy_check_mark: | The name (slug) of the Project you want to sync. | -| `sourceType` | [com.airbyte.api.models.shared.Sentry](../../models/shared/Sentry.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Sentry](../../models/shared/Sentry.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftp.md b/docs/models/shared/SourceSftp.md index c6e64c18b..24a5e4ecc 100644 --- a/docs/models/shared/SourceSftp.md +++ b/docs/models/shared/SourceSftp.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceSftpAuthentication.md) | :heavy_minus_sign: | The server authentication method | | -| `filePattern` | *Optional* | :heavy_minus_sign: | The regular expression to specify files for sync in a chosen Folder Path | log-([0-9]{4})([0-9]{2})([0-9]{2}) - This will filter files which `log-yearmmdd` | -| `fileTypes` | *Optional* | :heavy_minus_sign: | Coma separated file types. Currently only 'csv' and 'json' types are supported. | csv,json | -| `folderPath` | *Optional* | :heavy_minus_sign: | The directory to search files for sync | /logs/2022 | -| `host` | *String* | :heavy_check_mark: | The server host address | www.host.com | -| `port` | *Optional* | :heavy_minus_sign: | The server port | 22 | -| `sourceType` | [com.airbyte.api.models.shared.Sftp](../../models/shared/Sftp.md) | :heavy_check_mark: | N/A | | -| `user` | *String* | :heavy_check_mark: | The server user | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceSftpAuthentication.md) | :heavy_minus_sign: | The server authentication method | | +| `filePattern` | *Optional\* | :heavy_minus_sign: | The regular expression to specify files for sync in a chosen Folder Path | log-([0-9]{4})([0-9]{2})([0-9]{2}) - This will filter files which `log-yearmmdd` | +| `fileTypes` | *Optional\* | :heavy_minus_sign: | Coma separated file types. Currently only 'csv' and 'json' types are supported. | csv,json | +| `folderPath` | *Optional\* | :heavy_minus_sign: | The directory to search files for sync | /logs/2022 | +| `host` | *String* | :heavy_check_mark: | The server host address | www.host.com | +| `port` | *Optional\* | :heavy_minus_sign: | The server port | 22 | +| `sourceType` | [Sftp](../../models/shared/Sftp.md) | :heavy_check_mark: | N/A | | +| `user` | *String* | :heavy_check_mark: | The server user | | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulk.md b/docs/models/shared/SourceSftpBulk.md index be3e3b1df..847c66eb8 100644 --- a/docs/models/shared/SourceSftpBulk.md +++ b/docs/models/shared/SourceSftpBulk.md @@ -8,11 +8,12 @@ that are needed when users configure a file-based source. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SourceSftpBulkAuthentication](../../models/shared/SourceSftpBulkAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the SFTP Server | | -| `folderPath` | *Optional* | :heavy_minus_sign: | The directory to search files for sync | /logs/2022 | +| `credentials` | [SourceSftpBulkAuthentication](../../models/shared/SourceSftpBulkAuthentication.md) | :heavy_check_mark: | Credentials for connecting to the SFTP Server | | +| `deliveryMethod` | [Optional\](../../models/shared/SourceSftpBulkDeliveryMethod.md) | :heavy_minus_sign: | N/A | | +| `folderPath` | *Optional\* | :heavy_minus_sign: | The directory to search files for sync | /logs/2022 | | `host` | *String* | :heavy_check_mark: | The server host address | www.host.com | -| `port` | *Optional* | :heavy_minus_sign: | The server port | 22 | -| `sourceType` | [com.airbyte.api.models.shared.SftpBulk](../../models/shared/SftpBulk.md) | :heavy_check_mark: | N/A | | +| `port` | *Optional\* | :heavy_minus_sign: | The server port | 22 | +| `sourceType` | [SftpBulk](../../models/shared/SftpBulk.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. | 2021-01-01T00:00:00.000000Z | -| `streams` | List<[com.airbyte.api.models.shared.SourceSftpBulkFileBasedStreamConfig](../../models/shared/SourceSftpBulkFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | +| `streams` | List\<[SourceSftpBulkFileBasedStreamConfig](../../models/shared/SourceSftpBulkFileBasedStreamConfig.md)> | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | | `username` | *String* | :heavy_check_mark: | The server user | | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkAutogenerated.md b/docs/models/shared/SourceSftpBulkAutogenerated.md index 9d18e68ad..7e236cd87 100644 --- a/docs/models/shared/SourceSftpBulkAutogenerated.md +++ b/docs/models/shared/SourceSftpBulkAutogenerated.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceSftpBulkSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceSftpBulkSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkAvroFormat.md b/docs/models/shared/SourceSftpBulkAvroFormat.md index 9183d1172..ba7984343 100644 --- a/docs/models/shared/SourceSftpBulkAvroFormat.md +++ b/docs/models/shared/SourceSftpBulkAvroFormat.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `doubleAsString` | *Optional* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | -| `filetype` | [Optional](../../models/shared/SourceSftpBulkFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `doubleAsString` | *Optional\* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | +| `filetype` | [Optional\](../../models/shared/SourceSftpBulkFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkCSVFormat.md b/docs/models/shared/SourceSftpBulkCSVFormat.md index 9cb10ddde..d337b3019 100644 --- a/docs/models/shared/SourceSftpBulkCSVFormat.md +++ b/docs/models/shared/SourceSftpBulkCSVFormat.md @@ -5,17 +5,17 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `delimiter` | *Optional* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | -| `doubleQuote` | *Optional* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | -| `encoding` | *Optional* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | -| `escapeChar` | *Optional* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | -| `falseValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | -| `filetype` | [Optional](../../models/shared/SourceSftpBulkSchemasFiletype.md) | :heavy_minus_sign: | N/A | -| `headerDefinition` | [Optional](../../models/shared/SourceSftpBulkCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | -| `ignoreErrorsOnFieldsMismatch` | *Optional* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | -| `nullValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | -| `quoteChar` | *Optional* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | -| `skipRowsAfterHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip after the header row. | -| `skipRowsBeforeHeader` | *Optional* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | -| `stringsCanBeNull` | *Optional* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | -| `trueValues` | List<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file +| `delimiter` | *Optional\* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | +| `doubleQuote` | *Optional\* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | +| `encoding` | *Optional\* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | +| `escapeChar` | *Optional\* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | +| `falseValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | +| `filetype` | [Optional\](../../models/shared/SourceSftpBulkSchemasFiletype.md) | :heavy_minus_sign: | N/A | +| `headerDefinition` | [Optional\](../../models/shared/SourceSftpBulkCSVHeaderDefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignoreErrorsOnFieldsMismatch` | *Optional\* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | +| `nullValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | +| `quoteChar` | *Optional\* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | +| `skipRowsAfterHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip after the header row. | +| `skipRowsBeforeHeader` | *Optional\* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | +| `stringsCanBeNull` | *Optional\* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | +| `trueValues` | List\<*String*> | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkCopyRawFiles.md b/docs/models/shared/SourceSftpBulkCopyRawFiles.md new file mode 100644 index 000000000..3787c2982 --- /dev/null +++ b/docs/models/shared/SourceSftpBulkCopyRawFiles.md @@ -0,0 +1,10 @@ +# SourceSftpBulkCopyRawFiles + +Copy raw files without parsing their contents. Bits are copied into the destination exactly as they appeared in the source. Recommended for use with unstructured text data, non-text and compressed files. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `deliveryType` | [Optional\](../../models/shared/SourceSftpBulkSchemasDeliveryType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkDeliveryMethod.md b/docs/models/shared/SourceSftpBulkDeliveryMethod.md new file mode 100644 index 000000000..2c0cafc96 --- /dev/null +++ b/docs/models/shared/SourceSftpBulkDeliveryMethod.md @@ -0,0 +1,2 @@ +# SourceSftpBulkDeliveryMethod + diff --git a/docs/models/shared/SourceSftpBulkDeliveryType.md b/docs/models/shared/SourceSftpBulkDeliveryType.md new file mode 100644 index 000000000..375933d87 --- /dev/null +++ b/docs/models/shared/SourceSftpBulkDeliveryType.md @@ -0,0 +1,8 @@ +# SourceSftpBulkDeliveryType + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `USE_RECORDS_TRANSFER` | use_records_transfer | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkExcelFormat.md b/docs/models/shared/SourceSftpBulkExcelFormat.md index ac96387ee..48208840d 100644 --- a/docs/models/shared/SourceSftpBulkExcelFormat.md +++ b/docs/models/shared/SourceSftpBulkExcelFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkFileBasedStreamConfig.md b/docs/models/shared/SourceSftpBulkFileBasedStreamConfig.md index ed79e1274..2267fe91f 100644 --- a/docs/models/shared/SourceSftpBulkFileBasedStreamConfig.md +++ b/docs/models/shared/SourceSftpBulkFileBasedStreamConfig.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `daysToSyncIfHistoryIsFull` | *Optional* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | -| `format` | [com.airbyte.api.models.shared.SourceSftpBulkFormat](../../models/shared/SourceSftpBulkFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | -| `globs` | List<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | -| `inputSchema` | *Optional* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | +| `daysToSyncIfHistoryIsFull` | *Optional\* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | +| `format` | [SourceSftpBulkFormat](../../models/shared/SourceSftpBulkFormat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | +| `globs` | List\<*String*> | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | +| `inputSchema` | *Optional\* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | | `name` | *String* | :heavy_check_mark: | The name of the stream. | -| `recentNFilesToReadForSchemaDiscovery` | *Optional* | :heavy_minus_sign: | The number of resent files which will be used to discover the schema for this stream. | -| `schemaless` | *Optional* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | -| `validationPolicy` | [Optional](../../models/shared/SourceSftpBulkValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file +| `recentNFilesToReadForSchemaDiscovery` | *Optional\* | :heavy_minus_sign: | The number of resent files which will be used to discover the schema for this stream. | +| `schemaless` | *Optional\* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | +| `validationPolicy` | [Optional\](../../models/shared/SourceSftpBulkValidationPolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkFromCSV.md b/docs/models/shared/SourceSftpBulkFromCSV.md index b40342d12..5936f94b1 100644 --- a/docs/models/shared/SourceSftpBulkFromCSV.md +++ b/docs/models/shared/SourceSftpBulkFromCSV.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -| `headerDefinitionType` | [Optional](../../models/shared/SourceSftpBulkHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceSftpBulkHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkJsonlFormat.md b/docs/models/shared/SourceSftpBulkJsonlFormat.md index 9a2a3d167..0c9ac3ad4 100644 --- a/docs/models/shared/SourceSftpBulkJsonlFormat.md +++ b/docs/models/shared/SourceSftpBulkJsonlFormat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceSftpBulkSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional\](../../models/shared/SourceSftpBulkSchemasStreamsFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkLocal.md b/docs/models/shared/SourceSftpBulkLocal.md index 9be965eaf..49f5bf1f4 100644 --- a/docs/models/shared/SourceSftpBulkLocal.md +++ b/docs/models/shared/SourceSftpBulkLocal.md @@ -5,6 +5,6 @@ Process files locally, supporting `fast` and `ocr` modes. This is the default op ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `mode` | [Optional](../../models/shared/SourceSftpBulkMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `mode` | [Optional\](../../models/shared/SourceSftpBulkMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkParquetFormat.md b/docs/models/shared/SourceSftpBulkParquetFormat.md index fee151747..61ae83ff2 100644 --- a/docs/models/shared/SourceSftpBulkParquetFormat.md +++ b/docs/models/shared/SourceSftpBulkParquetFormat.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `decimalAsFloat` | *Optional* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | -| `filetype` | [Optional](../../models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `decimalAsFloat` | *Optional\* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | +| `filetype` | [Optional\](../../models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkReplicateRecords.md b/docs/models/shared/SourceSftpBulkReplicateRecords.md new file mode 100644 index 000000000..6739a6382 --- /dev/null +++ b/docs/models/shared/SourceSftpBulkReplicateRecords.md @@ -0,0 +1,10 @@ +# SourceSftpBulkReplicateRecords + +Recommended - Extract and load structured records into your destination of choice. This is the classic method of moving data in Airbyte. It allows for blocking and hashing individual fields or files from a structured schema. Data can be flattened, typed and deduped depending on the destination. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `deliveryType` | [Optional\](../../models/shared/SourceSftpBulkDeliveryType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkSchemasDeliveryType.md b/docs/models/shared/SourceSftpBulkSchemasDeliveryType.md new file mode 100644 index 000000000..8be272876 --- /dev/null +++ b/docs/models/shared/SourceSftpBulkSchemasDeliveryType.md @@ -0,0 +1,8 @@ +# SourceSftpBulkSchemasDeliveryType + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `USE_FILE_TRANSFER` | use_file_transfer | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkUnstructuredDocumentFormat.md b/docs/models/shared/SourceSftpBulkUnstructuredDocumentFormat.md index 22e8ef7b2..9e741d871 100644 --- a/docs/models/shared/SourceSftpBulkUnstructuredDocumentFormat.md +++ b/docs/models/shared/SourceSftpBulkUnstructuredDocumentFormat.md @@ -7,7 +7,7 @@ Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one rec | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | -| `processing` | [Optional](../../models/shared/SourceSftpBulkProcessing.md) | :heavy_minus_sign: | Processing configuration | -| `skipUnprocessableFiles` | *Optional* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | -| `strategy` | [Optional](../../models/shared/SourceSftpBulkParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file +| `filetype` | [Optional\](../../models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | +| `processing` | [Optional\](../../models/shared/SourceSftpBulkProcessing.md) | :heavy_minus_sign: | Processing configuration | +| `skipUnprocessableFiles` | *Optional\* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | +| `strategy` | [Optional\](../../models/shared/SourceSftpBulkParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkUserProvided.md b/docs/models/shared/SourceSftpBulkUserProvided.md index d9314350b..eb449a074 100644 --- a/docs/models/shared/SourceSftpBulkUserProvided.md +++ b/docs/models/shared/SourceSftpBulkUserProvided.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `columnNames` | List<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | -| `headerDefinitionType` | [Optional](../../models/shared/SourceSftpBulkSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `columnNames` | List\<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceSftpBulkSchemasStreamsHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpBulkViaAPI.md b/docs/models/shared/SourceSftpBulkViaAPI.md index d8cbd00ae..9bb771cff 100644 --- a/docs/models/shared/SourceSftpBulkViaAPI.md +++ b/docs/models/shared/SourceSftpBulkViaAPI.md @@ -5,9 +5,9 @@ Process files via an API, using the `hi_res` mode. This option is useful for inc ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | The API key to use matching the environment | | -| `apiUrl` | *Optional* | :heavy_minus_sign: | The URL of the unstructured API to use | https://api.unstructured.com | -| `mode` | [Optional](../../models/shared/SourceSftpBulkSchemasMode.md) | :heavy_minus_sign: | N/A | | -| `parameters` | List<[com.airbyte.api.models.shared.SourceSftpBulkAPIParameterConfigModel](../../models/shared/SourceSftpBulkAPIParameterConfigModel.md)> | :heavy_minus_sign: | List of parameters send to the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `apiKey` | *Optional\* | :heavy_minus_sign: | The API key to use matching the environment | | +| `apiUrl` | *Optional\* | :heavy_minus_sign: | The URL of the unstructured API to use | https://api.unstructured.com | +| `mode` | [Optional\](../../models/shared/SourceSftpBulkSchemasMode.md) | :heavy_minus_sign: | N/A | | +| `parameters` | List\<[SourceSftpBulkAPIParameterConfigModel](../../models/shared/SourceSftpBulkAPIParameterConfigModel.md)> | :heavy_minus_sign: | List of parameters send to the API | | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpPasswordAuthentication.md b/docs/models/shared/SourceSftpPasswordAuthentication.md index f8d7b0a0f..164dcec5d 100644 --- a/docs/models/shared/SourceSftpPasswordAuthentication.md +++ b/docs/models/shared/SourceSftpPasswordAuthentication.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `authMethod` | [com.airbyte.api.models.shared.SourceSftpAuthMethod](../../models/shared/SourceSftpAuthMethod.md) | :heavy_check_mark: | Connect through password authentication | -| `authUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `authMethod` | [SourceSftpAuthMethod](../../models/shared/SourceSftpAuthMethod.md) | :heavy_check_mark: | Connect through password authentication | +| `authUserPassword` | *String* | :heavy_check_mark: | OS-level password for logging into the jump server host | \ No newline at end of file diff --git a/docs/models/shared/SourceSftpSSHKeyAuthentication.md b/docs/models/shared/SourceSftpSSHKeyAuthentication.md index 08f16adc4..aa18ff49d 100644 --- a/docs/models/shared/SourceSftpSSHKeyAuthentication.md +++ b/docs/models/shared/SourceSftpSSHKeyAuthentication.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `authMethod` | [com.airbyte.api.models.shared.SourceSftpSchemasAuthMethod](../../models/shared/SourceSftpSchemasAuthMethod.md) | :heavy_check_mark: | Connect through ssh key | +| `authMethod` | [SourceSftpSchemasAuthMethod](../../models/shared/SourceSftpSchemasAuthMethod.md) | :heavy_check_mark: | Connect through ssh key | | `authSshKey` | *String* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | \ No newline at end of file diff --git a/docs/models/shared/SourceSharetribe.md b/docs/models/shared/SourceSharetribe.md new file mode 100644 index 000000000..10651f793 --- /dev/null +++ b/docs/models/shared/SourceSharetribe.md @@ -0,0 +1,13 @@ +# SourceSharetribe + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `oauthAccessToken` | *Optional\* | :heavy_minus_sign: | The current access token. This field might be overridden by the connector based on the token refresh endpoint response. | +| `oauthTokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. | +| `sourceType` | [Sharetribe](../../models/shared/Sharetribe.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceShippo.md b/docs/models/shared/SourceShippo.md new file mode 100644 index 000000000..249bcfbeb --- /dev/null +++ b/docs/models/shared/SourceShippo.md @@ -0,0 +1,10 @@ +# SourceShippo + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `shippoToken` | *String* | :heavy_check_mark: | The bearer token used for making requests | +| `sourceType` | [Shippo](../../models/shared/Shippo.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceShopify.md b/docs/models/shared/SourceShopify.md index 98a5a5f52..ffbf08117 100644 --- a/docs/models/shared/SourceShopify.md +++ b/docs/models/shared/SourceShopify.md @@ -5,12 +5,12 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `bulkWindowInDays` | *Optional* | :heavy_minus_sign: | Defines what would be a date range per single BULK Job | | -| `credentials` | [Optional](../../models/shared/ShopifyAuthorizationMethod.md) | :heavy_minus_sign: | The authorization method to use to retrieve data from Shopify | | -| `fetchTransactionsUserId` | *Optional* | :heavy_minus_sign: | Defines which API type (REST/BULK) to use to fetch `Transactions` data. If you are a `Shopify Plus` user, leave the default value to speed up the fetch. | | -| `jobCheckpointInterval` | *Optional* | :heavy_minus_sign: | The threshold, after which the single BULK Job should be checkpointed. | | -| `jobProductVariantsIncludePresPrices` | *Optional* | :heavy_minus_sign: | If enabled, the `Product Variants` stream attempts to include `Presentment prices` field (may affect the performance). | | -| `jobTerminationThreshold` | *Optional* | :heavy_minus_sign: | The max time in seconds, after which the single BULK Job should be `CANCELED` and retried. The bigger the value the longer the BULK Job is allowed to run. | | +| `bulkWindowInDays` | *Optional\* | :heavy_minus_sign: | Defines what would be a date range per single BULK Job | | +| `credentials` | [Optional\](../../models/shared/ShopifyAuthorizationMethod.md) | :heavy_minus_sign: | The authorization method to use to retrieve data from Shopify | | +| `fetchTransactionsUserId` | *Optional\* | :heavy_minus_sign: | Defines which API type (REST/BULK) to use to fetch `Transactions` data. If you are a `Shopify Plus` user, leave the default value to speed up the fetch. | | +| `jobCheckpointInterval` | *Optional\* | :heavy_minus_sign: | The threshold, after which the single BULK Job should be checkpointed. | | +| `jobProductVariantsIncludePresPrices` | *Optional\* | :heavy_minus_sign: | If enabled, the `Product Variants` stream attempts to include `Presentment prices` field (may affect the performance). | | +| `jobTerminationThreshold` | *Optional\* | :heavy_minus_sign: | The max time in seconds, after which the single BULK Job should be `CANCELED` and retried. The bigger the value the longer the BULK Job is allowed to run. | | | `shop` | *String* | :heavy_check_mark: | The name of your Shopify store found in the URL. For example, if your URL was https://NAME.myshopify.com, then the name would be 'NAME' or 'NAME.myshopify.com'. | my-store | -| `sourceType` | [com.airbyte.api.models.shared.SourceShopifyShopify](../../models/shared/SourceShopifyShopify.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [SourceShopifyShopify](../../models/shared/SourceShopifyShopify.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date you would like to replicate data from. Format: YYYY-MM-DD. Any data before this date will not be replicated. | | \ No newline at end of file diff --git a/docs/models/shared/SourceShopifyOAuth20.md b/docs/models/shared/SourceShopifyOAuth20.md index d1ea9551b..19e98357a 100644 --- a/docs/models/shared/SourceShopifyOAuth20.md +++ b/docs/models/shared/SourceShopifyOAuth20.md @@ -5,9 +5,9 @@ OAuth2.0 ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `accessToken` | *Optional* | :heavy_minus_sign: | The Access Token for making authenticated requests. | -| `authMethod` | [com.airbyte.api.models.shared.SourceShopifyAuthMethod](../../models/shared/SourceShopifyAuthMethod.md) | :heavy_check_mark: | N/A | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of the Shopify developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of the Shopify developer application. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `accessToken` | *Optional\* | :heavy_minus_sign: | The Access Token for making authenticated requests. | +| `authMethod` | [SourceShopifyAuthMethod](../../models/shared/SourceShopifyAuthMethod.md) | :heavy_check_mark: | N/A | +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of the Shopify developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of the Shopify developer application. | \ No newline at end of file diff --git a/docs/models/shared/SourceShortcut.md b/docs/models/shared/SourceShortcut.md index 7fe22125e..f0cae238b 100644 --- a/docs/models/shared/SourceShortcut.md +++ b/docs/models/shared/SourceShortcut.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey2` | *String* | :heavy_check_mark: | N/A | -| `query` | *Optional* | :heavy_minus_sign: | Query for searching as defined in `https://help.shortcut.com/hc/en-us/articles/360000046646-Searching-in-Shortcut-Using-Search-Operators` | -| `sourceType` | [com.airbyte.api.models.shared.Shortcut](../../models/shared/Shortcut.md) | :heavy_check_mark: | N/A | +| `query` | *Optional\* | :heavy_minus_sign: | Query for searching as defined in `https://help.shortcut.com/hc/en-us/articles/360000046646-Searching-in-Shortcut-Using-Search-Operators` | +| `sourceType` | [Shortcut](../../models/shared/Shortcut.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceShortio.md b/docs/models/shared/SourceShortio.md index 59d90144b..5c6f97931 100644 --- a/docs/models/shared/SourceShortio.md +++ b/docs/models/shared/SourceShortio.md @@ -7,5 +7,5 @@ | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `domainId` | *String* | :heavy_check_mark: | N/A | | | `secretKey` | *String* | :heavy_check_mark: | Short.io Secret Key | | -| `sourceType` | [com.airbyte.api.models.shared.Shortio](../../models/shared/Shortio.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Shortio](../../models/shared/Shortio.md) | :heavy_check_mark: | N/A | | | `startDate` | *String* | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2023-07-30T03:43:59.244Z | \ No newline at end of file diff --git a/docs/models/shared/SourceSigmaComputing.md b/docs/models/shared/SourceSigmaComputing.md new file mode 100644 index 000000000..99ea51bf2 --- /dev/null +++ b/docs/models/shared/SourceSigmaComputing.md @@ -0,0 +1,14 @@ +# SourceSigmaComputing + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `baseUrl` | *String* | :heavy_check_mark: | The base url of your sigma organization | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `oauthAccessToken` | *Optional\* | :heavy_minus_sign: | The current access token. This field might be overridden by the connector based on the token refresh endpoint response. | +| `oauthTokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. | +| `sourceType` | [SigmaComputing](../../models/shared/SigmaComputing.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSimfin.md b/docs/models/shared/SourceSimfin.md new file mode 100644 index 000000000..9abf507b9 --- /dev/null +++ b/docs/models/shared/SourceSimfin.md @@ -0,0 +1,9 @@ +# SourceSimfin + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Simfin](../../models/shared/Simfin.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSimplecast.md b/docs/models/shared/SourceSimplecast.md new file mode 100644 index 000000000..938deb802 --- /dev/null +++ b/docs/models/shared/SourceSimplecast.md @@ -0,0 +1,9 @@ +# SourceSimplecast + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API token to use. Find it at your Private Apps page on the Simplecast dashboard. | +| `sourceType` | [Simplecast](../../models/shared/Simplecast.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSimplesat.md b/docs/models/shared/SourceSimplesat.md new file mode 100644 index 000000000..798aba697 --- /dev/null +++ b/docs/models/shared/SourceSimplesat.md @@ -0,0 +1,11 @@ +# SourceSimplesat + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date till when the sync should end | +| `sourceType` | [Simplesat](../../models/shared/Simplesat.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date from when the sync should start | \ No newline at end of file diff --git a/docs/models/shared/SourceSlack.md b/docs/models/shared/SourceSlack.md index 30a11a71b..156550a33 100644 --- a/docs/models/shared/SourceSlack.md +++ b/docs/models/shared/SourceSlack.md @@ -5,10 +5,10 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `channelFilter` | List<*String*> | :heavy_minus_sign: | A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. | channel_one | -| `credentials` | [Optional](../../models/shared/SourceSlackAuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate into Slack | | -| `includePrivateChannels` | *Optional* | :heavy_minus_sign: | Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. | | -| `joinChannels` | *Optional* | :heavy_minus_sign: | Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages. | | -| `lookbackWindow` | *Optional* | :heavy_minus_sign: | How far into the past to look for messages in threads, default is 0 days | 7 | -| `sourceType` | [com.airbyte.api.models.shared.SourceSlackSlack](../../models/shared/SourceSlackSlack.md) | :heavy_check_mark: | N/A | | +| `channelFilter` | List\<*String*> | :heavy_minus_sign: | A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. | channel_one | +| `credentials` | [Optional\](../../models/shared/SourceSlackAuthenticationMechanism.md) | :heavy_minus_sign: | Choose how to authenticate into Slack | | +| `includePrivateChannels` | *Optional\* | :heavy_minus_sign: | Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. | | +| `joinChannels` | *Optional\* | :heavy_minus_sign: | Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages. | | +| `lookbackWindow` | *Optional\* | :heavy_minus_sign: | How far into the past to look for messages in threads, default is 0 days | 7 | +| `sourceType` | [SourceSlackSlack](../../models/shared/SourceSlackSlack.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceSlackAPIToken.md b/docs/models/shared/SourceSlackAPIToken.md index eaef34382..aac53b7f5 100644 --- a/docs/models/shared/SourceSlackAPIToken.md +++ b/docs/models/shared/SourceSlackAPIToken.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | `apiToken` | *String* | :heavy_check_mark: | A Slack bot token. See the docs for instructions on how to generate it. | -| `optionTitle` | [com.airbyte.api.models.shared.SourceSlackSchemasOptionTitle](../../models/shared/SourceSlackSchemasOptionTitle.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `optionTitle` | [SourceSlackSchemasOptionTitle](../../models/shared/SourceSlackSchemasOptionTitle.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSmaily.md b/docs/models/shared/SourceSmaily.md index 848929894..924665b0d 100644 --- a/docs/models/shared/SourceSmaily.md +++ b/docs/models/shared/SourceSmaily.md @@ -8,4 +8,4 @@ | `apiPassword` | *String* | :heavy_check_mark: | API user password. See https://smaily.com/help/api/general/create-api-user/ | | `apiSubdomain` | *String* | :heavy_check_mark: | API Subdomain. See https://smaily.com/help/api/general/create-api-user/ | | `apiUsername` | *String* | :heavy_check_mark: | API user username. See https://smaily.com/help/api/general/create-api-user/ | -| `sourceType` | [com.airbyte.api.models.shared.Smaily](../../models/shared/Smaily.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Smaily](../../models/shared/Smaily.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSmartengage.md b/docs/models/shared/SourceSmartengage.md index 3cf11b8dc..75fdf16e5 100644 --- a/docs/models/shared/SourceSmartengage.md +++ b/docs/models/shared/SourceSmartengage.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | API Key | -| `sourceType` | [com.airbyte.api.models.shared.Smartengage](../../models/shared/Smartengage.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API Key | +| `sourceType` | [Smartengage](../../models/shared/Smartengage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSmartreach.md b/docs/models/shared/SourceSmartreach.md new file mode 100644 index 000000000..04b896595 --- /dev/null +++ b/docs/models/shared/SourceSmartreach.md @@ -0,0 +1,10 @@ +# SourceSmartreach + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Smartreach](../../models/shared/Smartreach.md) | :heavy_check_mark: | N/A | +| `teamid` | *double* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSmartsheets.md b/docs/models/shared/SourceSmartsheets.md index f43613014..ea35f8ca5 100644 --- a/docs/models/shared/SourceSmartsheets.md +++ b/docs/models/shared/SourceSmartsheets.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SourceSmartsheetsAuthorizationMethod](../../models/shared/SourceSmartsheetsAuthorizationMethod.md) | :heavy_check_mark: | N/A | -| `metadataFields` | List<[com.airbyte.api.models.shared.Validenums](../../models/shared/Validenums.md)> | :heavy_minus_sign: | A List of available columns which metadata can be pulled from. | -| `sourceType` | [com.airbyte.api.models.shared.SourceSmartsheetsSmartsheets](../../models/shared/SourceSmartsheetsSmartsheets.md) | :heavy_check_mark: | N/A | -| `spreadsheetId` | *String* | :heavy_check_mark: | The spreadsheet ID. Find it by opening the spreadsheet then navigating to File > Properties | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `credentials` | [SourceSmartsheetsAuthorizationMethod](../../models/shared/SourceSmartsheetsAuthorizationMethod.md) | :heavy_check_mark: | N/A | +| `metadataFields` | List\<[Validenums](../../models/shared/Validenums.md)> | :heavy_minus_sign: | A List of available columns which metadata can be pulled from. | +| `sourceType` | [SourceSmartsheetsSmartsheets](../../models/shared/SourceSmartsheetsSmartsheets.md) | :heavy_check_mark: | N/A | +| `spreadsheetId` | *String* | :heavy_check_mark: | The spreadsheet ID. Find it by opening the spreadsheet then navigating to File > Properties | \ No newline at end of file diff --git a/docs/models/shared/SourceSmartsheetsOAuth20.md b/docs/models/shared/SourceSmartsheetsOAuth20.md index eeab4b162..820053caf 100644 --- a/docs/models/shared/SourceSmartsheetsOAuth20.md +++ b/docs/models/shared/SourceSmartsheetsOAuth20.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | -| `authType` | [Optional](../../models/shared/SourceSmartsheetsAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The API ID of the SmartSheets developer application. | -| `clientSecret` | *String* | :heavy_check_mark: | The API Secret the SmartSheets developer application. | -| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access_token. | -| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | +| `authType` | [Optional\](../../models/shared/SourceSmartsheetsAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The API ID of the SmartSheets developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The API Secret the SmartSheets developer application. | +| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access_token. | +| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file diff --git a/docs/models/shared/SourceSmartwaiver.md b/docs/models/shared/SourceSmartwaiver.md new file mode 100644 index 000000000..9c5067111 --- /dev/null +++ b/docs/models/shared/SourceSmartwaiver.md @@ -0,0 +1,11 @@ +# SourceSmartwaiver + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | You can retrieve your token by visiting your dashboard then click on My Account then click on API keys. | +| `sourceType` | [Smartwaiver](../../models/shared/Smartwaiver.md) | :heavy_check_mark: | N/A | +| `startDate` | *Optional\* | :heavy_minus_sign: | N/A | +| `startDate2` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSnapchatMarketing.md b/docs/models/shared/SourceSnapchatMarketing.md index 3e9391ce5..514f6f2e9 100644 --- a/docs/models/shared/SourceSnapchatMarketing.md +++ b/docs/models/shared/SourceSnapchatMarketing.md @@ -3,14 +3,14 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `actionReportTime` | [Optional](../../models/shared/ActionReportTime.md) | :heavy_minus_sign: | Specifies the principle for conversion reporting. | | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Snapchat developer application. | | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Snapchat developer application. | | -| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | Date in the format 2017-01-25. Any data after this date will not be replicated. | 2022-01-30 | -| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token to renew the expired Access Token. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceSnapchatMarketingSnapchatMarketing](../../models/shared/SourceSnapchatMarketingSnapchatMarketing.md) | :heavy_check_mark: | N/A | | -| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | Date in the format 2022-01-01. Any data before this date will not be replicated. | 2022-01-01 | -| `swipeUpAttributionWindow` | [Optional](../../models/shared/SwipeUpAttributionWindow.md) | :heavy_minus_sign: | Attribution window for swipe ups. | | -| `viewAttributionWindow` | [Optional](../../models/shared/ViewAttributionWindow.md) | :heavy_minus_sign: | Attribution window for views. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `actionReportTime` | [Optional\](../../models/shared/ActionReportTime.md) | :heavy_minus_sign: | Specifies the principle for conversion reporting. | | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Snapchat developer application. | | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Snapchat developer application. | | +| `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | Date in the format 2017-01-25. Any data after this date will not be replicated. | 2022-01-30 | +| `refreshToken` | *String* | :heavy_check_mark: | Refresh Token to renew the expired Access Token. | | +| `sourceType` | [SourceSnapchatMarketingSnapchatMarketing](../../models/shared/SourceSnapchatMarketingSnapchatMarketing.md) | :heavy_check_mark: | N/A | | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | Date in the format 2022-01-01. Any data before this date will not be replicated. | 2022-01-01 | +| `swipeUpAttributionWindow` | [Optional\](../../models/shared/SwipeUpAttributionWindow.md) | :heavy_minus_sign: | Attribution window for swipe ups. | | +| `viewAttributionWindow` | [Optional\](../../models/shared/ViewAttributionWindow.md) | :heavy_minus_sign: | Attribution window for views. | | \ No newline at end of file diff --git a/docs/models/shared/SourceSnowflake.md b/docs/models/shared/SourceSnowflake.md index 0a1317528..c90ecb6d8 100644 --- a/docs/models/shared/SourceSnowflake.md +++ b/docs/models/shared/SourceSnowflake.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `credentials` | [Optional](../../models/shared/SourceSnowflakeAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | +| `credentials` | [Optional\](../../models/shared/SourceSnowflakeAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | | `database` | *String* | :heavy_check_mark: | The database you created for Airbyte to access data. | AIRBYTE_DATABASE | | `host` | *String* | :heavy_check_mark: | The host domain of the snowflake instance (must include the account, region, cloud environment, and end with snowflakecomputing.com). | accountname.us-east-2.aws.snowflakecomputing.com | -| `jdbcUrlParams` | *Optional* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `jdbcUrlParams` | *Optional\* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | | `role` | *String* | :heavy_check_mark: | The role you created for Airbyte to access Snowflake. | AIRBYTE_ROLE | -| `schema` | *Optional* | :heavy_minus_sign: | The source Snowflake schema tables. Leave empty to access tables from multiple schemas. | AIRBYTE_SCHEMA | -| `sourceType` | [com.airbyte.api.models.shared.SourceSnowflakeSnowflake](../../models/shared/SourceSnowflakeSnowflake.md) | :heavy_check_mark: | N/A | | +| `schema` | *Optional\* | :heavy_minus_sign: | The source Snowflake schema tables. Leave empty to access tables from multiple schemas. | AIRBYTE_SCHEMA | +| `sourceType` | [SourceSnowflakeSnowflake](../../models/shared/SourceSnowflakeSnowflake.md) | :heavy_check_mark: | N/A | | | `warehouse` | *String* | :heavy_check_mark: | The warehouse you created for Airbyte to access data. | AIRBYTE_WAREHOUSE | \ No newline at end of file diff --git a/docs/models/shared/SourceSnowflakeKeyPairAuthentication.md b/docs/models/shared/SourceSnowflakeKeyPairAuthentication.md index 48910780a..8e9fe9816 100644 --- a/docs/models/shared/SourceSnowflakeKeyPairAuthentication.md +++ b/docs/models/shared/SourceSnowflakeKeyPairAuthentication.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceSnowflakeSchemasAuthType.md) | :heavy_minus_sign: | N/A | | +| `authType` | [Optional\](../../models/shared/SourceSnowflakeSchemasAuthType.md) | :heavy_minus_sign: | N/A | | | `privateKey` | *String* | :heavy_check_mark: | RSA Private key to use for Snowflake connection. See the docs for more information on how to obtain this key. | | -| `privateKeyPassword` | *Optional* | :heavy_minus_sign: | Passphrase for private key | | +| `privateKeyPassword` | *Optional\* | :heavy_minus_sign: | Passphrase for private key | | | `username` | *String* | :heavy_check_mark: | The username you created to allow Airbyte to access the database. | AIRBYTE_USER | \ No newline at end of file diff --git a/docs/models/shared/SourceSnowflakeOAuth20.md b/docs/models/shared/SourceSnowflakeOAuth20.md index a42423a6e..239105cc6 100644 --- a/docs/models/shared/SourceSnowflakeOAuth20.md +++ b/docs/models/shared/SourceSnowflakeOAuth20.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `accessToken` | *Optional* | :heavy_minus_sign: | Access Token for making authenticated requests. | -| `authType` | [com.airbyte.api.models.shared.SourceSnowflakeAuthType](../../models/shared/SourceSnowflakeAuthType.md) | :heavy_check_mark: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Snowflake developer application. | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Snowflake developer application. | -| `refreshToken` | *Optional* | :heavy_minus_sign: | Refresh Token for making authenticated requests. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `accessToken` | *Optional\* | :heavy_minus_sign: | Access Token for making authenticated requests. | +| `authType` | [SourceSnowflakeAuthType](../../models/shared/SourceSnowflakeAuthType.md) | :heavy_check_mark: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Snowflake developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Snowflake developer application. | +| `refreshToken` | *Optional\* | :heavy_minus_sign: | Refresh Token for making authenticated requests. | \ No newline at end of file diff --git a/docs/models/shared/SourceSnowflakeUsernameAndPassword.md b/docs/models/shared/SourceSnowflakeUsernameAndPassword.md index 2520c5d11..f46af5c65 100644 --- a/docs/models/shared/SourceSnowflakeUsernameAndPassword.md +++ b/docs/models/shared/SourceSnowflakeUsernameAndPassword.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [com.airbyte.api.models.shared.SourceSnowflakeSchemasCredentialsAuthType](../../models/shared/SourceSnowflakeSchemasCredentialsAuthType.md) | :heavy_check_mark: | N/A | | -| `password` | *String* | :heavy_check_mark: | The password associated with the username. | | -| `username` | *String* | :heavy_check_mark: | The username you created to allow Airbyte to access the database. | AIRBYTE_USER | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `authType` | [SourceSnowflakeSchemasCredentialsAuthType](../../models/shared/SourceSnowflakeSchemasCredentialsAuthType.md) | :heavy_check_mark: | N/A | | +| `password` | *String* | :heavy_check_mark: | The password associated with the username. | | +| `username` | *String* | :heavy_check_mark: | The username you created to allow Airbyte to access the database. | AIRBYTE_USER | \ No newline at end of file diff --git a/docs/models/shared/AuthenticateViaGoogleOauth.md b/docs/models/shared/SourceSolarwindsServiceDesk.md similarity index 55% rename from docs/models/shared/AuthenticateViaGoogleOauth.md rename to docs/models/shared/SourceSolarwindsServiceDesk.md index e40168fb2..c1f6cb78b 100644 --- a/docs/models/shared/AuthenticateViaGoogleOauth.md +++ b/docs/models/shared/SourceSolarwindsServiceDesk.md @@ -1,12 +1,10 @@ -# AuthenticateViaGoogleOauth +# SourceSolarwindsServiceDesk ## Fields | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *Optional* | :heavy_minus_sign: | Access Token for making authenticated requests. | -| `authType` | [Optional](../../models/shared/SourceGoogleAnalyticsDataApiAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Google Analytics developer application. | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Google Analytics developer application. | -| `refreshToken` | *String* | :heavy_check_mark: | The token for obtaining a new access token. | \ No newline at end of file +| `apiKey2` | *String* | :heavy_check_mark: | Refer to `https://documentation.solarwinds.com/en/success_center/swsd/content/completeguidetoswsd/token-authentication-for-api-integration.htm#link4` | +| `sourceType` | [SolarwindsServiceDesk](../../models/shared/SolarwindsServiceDesk.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSonarCloud.md b/docs/models/shared/SourceSonarCloud.md index 400ef64f4..738660987 100644 --- a/docs/models/shared/SourceSonarCloud.md +++ b/docs/models/shared/SourceSonarCloud.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `componentKeys` | List<*java.lang.Object*> | :heavy_check_mark: | Comma-separated list of component keys. | airbyte-ws-order | +| `componentKeys` | List\<*Object*> | :heavy_check_mark: | Comma-separated list of component keys. | airbyte-ws-order | | `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | To retrieve issues created before the given date (inclusive). | YYYY-MM-DD | | `organization` | *String* | :heavy_check_mark: | Organization key. See here. | airbyte | -| `sourceType` | [com.airbyte.api.models.shared.SonarCloud](../../models/shared/SonarCloud.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [SonarCloud](../../models/shared/SonarCloud.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | To retrieve issues created after the given date (inclusive). | YYYY-MM-DD | | `userToken` | *String* | :heavy_check_mark: | Your User Token. See here. The token is case sensitive. | | \ No newline at end of file diff --git a/docs/models/shared/SourceSpacexApi.md b/docs/models/shared/SourceSpacexApi.md index 5179502a1..02a572b84 100644 --- a/docs/models/shared/SourceSpacexApi.md +++ b/docs/models/shared/SourceSpacexApi.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `id` | *Optional* | :heavy_minus_sign: | N/A | -| `options` | *Optional* | :heavy_minus_sign: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.SpacexApi](../../models/shared/SpacexApi.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `id` | *Optional\* | :heavy_minus_sign: | N/A | +| `options` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [SpacexApi](../../models/shared/SpacexApi.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSparkpost.md b/docs/models/shared/SourceSparkpost.md new file mode 100644 index 000000000..dbb072df3 --- /dev/null +++ b/docs/models/shared/SourceSparkpost.md @@ -0,0 +1,11 @@ +# SourceSparkpost + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `apiPrefix` | [Optional\](../../models/shared/APIEndpointPrefix.md) | :heavy_minus_sign: | N/A | +| `sourceType` | [Sparkpost](../../models/shared/Sparkpost.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSplitIo.md b/docs/models/shared/SourceSplitIo.md new file mode 100644 index 000000000..f994f5954 --- /dev/null +++ b/docs/models/shared/SourceSplitIo.md @@ -0,0 +1,10 @@ +# SourceSplitIo + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [SplitIo](../../models/shared/SplitIo.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSpotlercrm.md b/docs/models/shared/SourceSpotlercrm.md new file mode 100644 index 000000000..2e5dfcba0 --- /dev/null +++ b/docs/models/shared/SourceSpotlercrm.md @@ -0,0 +1,9 @@ +# SourceSpotlercrm + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `accessToken` | *String* | :heavy_check_mark: | Access Token to authenticate API requests. Generate it by logging into your CRM system, navigating to Settings / Integrations / API V4, and clicking 'generate new key'. | +| `sourceType` | [Spotlercrm](../../models/shared/Spotlercrm.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSquare.md b/docs/models/shared/SourceSquare.md index 0d1d78918..73d422e9a 100644 --- a/docs/models/shared/SourceSquare.md +++ b/docs/models/shared/SourceSquare.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceSquareAuthentication.md) | :heavy_minus_sign: | Choose how to authenticate to Square. | -| `includeDeletedObjects` | *Optional* | :heavy_minus_sign: | In some streams there is an option to include deleted objects (Items, Categories, Discounts, Taxes) | -| `isSandbox` | *Optional* | :heavy_minus_sign: | Determines whether to use the sandbox or production environment. | -| `sourceType` | [com.airbyte.api.models.shared.SourceSquareSquare](../../models/shared/SourceSquareSquare.md) | :heavy_check_mark: | N/A | -| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. If not set, all data will be replicated. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceSquareAuthentication.md) | :heavy_minus_sign: | Choose how to authenticate to Square. | +| `includeDeletedObjects` | *Optional\* | :heavy_minus_sign: | In some streams there is an option to include deleted objects (Items, Categories, Discounts, Taxes) | +| `isSandbox` | *Optional\* | :heavy_minus_sign: | Determines whether to use the sandbox or production environment. | +| `sourceType` | [Square](../../models/shared/Square.md) | :heavy_check_mark: | N/A | +| `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. If not set, all data will be replicated. | \ No newline at end of file diff --git a/docs/models/shared/SourceSquareAPIKey.md b/docs/models/shared/SourceSquareAPIKey.md index f8626199a..6772c119e 100644 --- a/docs/models/shared/SourceSquareAPIKey.md +++ b/docs/models/shared/SourceSquareAPIKey.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *String* | :heavy_check_mark: | The API key for a Square application | -| `authType` | [com.airbyte.api.models.shared.SourceSquareSchemasAuthType](../../models/shared/SourceSquareSchemasAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | The API key for a Square application | +| `authType` | [SourceSquareSchemasAuthType](../../models/shared/SourceSquareSchemasAuthType.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSquarespace.md b/docs/models/shared/SourceSquarespace.md new file mode 100644 index 000000000..51ba378a8 --- /dev/null +++ b/docs/models/shared/SourceSquarespace.md @@ -0,0 +1,10 @@ +# SourceSquarespace + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://developers.squarespace.com/commerce-apis/authentication-and-permissions | +| `sourceType` | [Squarespace](../../models/shared/Squarespace.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | Any data before this date will not be replicated. | \ No newline at end of file diff --git a/docs/models/shared/SourceStatsig.md b/docs/models/shared/SourceStatsig.md new file mode 100644 index 000000000..f1e76f6fc --- /dev/null +++ b/docs/models/shared/SourceStatsig.md @@ -0,0 +1,11 @@ +# SourceStatsig + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `sourceType` | [Statsig](../../models/shared/Statsig.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceStatuspage.md b/docs/models/shared/SourceStatuspage.md new file mode 100644 index 000000000..3bed6cd48 --- /dev/null +++ b/docs/models/shared/SourceStatuspage.md @@ -0,0 +1,9 @@ +# SourceStatuspage + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Your API Key. See here. | +| `sourceType` | [Statuspage](../../models/shared/Statuspage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceStockdata.md b/docs/models/shared/SourceStockdata.md new file mode 100644 index 000000000..e2f3de379 --- /dev/null +++ b/docs/models/shared/SourceStockdata.md @@ -0,0 +1,13 @@ +# SourceStockdata + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `filterEntities` | *Optional\* | :heavy_minus_sign: | N/A | +| `industries` | List\<*Object*> | :heavy_minus_sign: | Specify the industries of entities which have been identified within the article. | +| `sourceType` | [Stockdata](../../models/shared/Stockdata.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `symbols` | List\<*Object*> | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceStrava.md b/docs/models/shared/SourceStrava.md index 4d3b1e39a..180a0465e 100644 --- a/docs/models/shared/SourceStrava.md +++ b/docs/models/shared/SourceStrava.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `athleteId` | *long* | :heavy_check_mark: | The Athlete ID of your Strava developer application. | 17831421 | -| `authType` | [Optional](../../models/shared/SourceStravaAuthType.md) | :heavy_minus_sign: | N/A | | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Strava developer application. | 12345 | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Strava developer application. | fc6243f283e51f6ca989aab298b17da125496f50 | -| `refreshToken` | *String* | :heavy_check_mark: | The Refresh Token with the activity: read_all permissions. | fc6243f283e51f6ca989aab298b17da125496f50 | -| `sourceType` | [com.airbyte.api.models.shared.Strava](../../models/shared/Strava.md) | :heavy_check_mark: | N/A | | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time. Any data before this date will not be replicated. | 2021-03-01T00:00:00Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `athleteId` | *long* | :heavy_check_mark: | The Athlete ID of your Strava developer application. | 17831421 | +| `authType` | [Optional\](../../models/shared/SourceStravaAuthType.md) | :heavy_minus_sign: | N/A | | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your Strava developer application. | 12345 | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your Strava developer application. | fc6243f283e51f6ca989aab298b17da125496f50 | +| `refreshToken` | *String* | :heavy_check_mark: | The Refresh Token with the activity: read_all permissions. | fc6243f283e51f6ca989aab298b17da125496f50 | +| `sourceType` | [Strava](../../models/shared/Strava.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time. Any data before this date will not be replicated. | 2021-03-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceStripe.md b/docs/models/shared/SourceStripe.md index 9be4ac811..b14648778 100644 --- a/docs/models/shared/SourceStripe.md +++ b/docs/models/shared/SourceStripe.md @@ -6,10 +6,10 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accountId` | *String* | :heavy_check_mark: | Your Stripe account ID (starts with 'acct_', find yours here). | | -| `callRateLimit` | *Optional* | :heavy_minus_sign: | The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively. | 25 | +| `callRateLimit` | *Optional\* | :heavy_minus_sign: | The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively. | 25 | | `clientSecret` | *String* | :heavy_check_mark: | Stripe API key (usually starts with 'sk_live_'; find yours here). | | -| `lookbackWindowDays` | *Optional* | :heavy_minus_sign: | When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info here | | -| `numWorkers` | *Optional* | :heavy_minus_sign: | The number of worker thread to use for the sync. The performance upper boundary depends on call_rate_limit setting and type of account. | 1 | -| `sliceRange` | *Optional* | :heavy_minus_sign: | The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. | 1 | -| `sourceType` | [com.airbyte.api.models.shared.Stripe](../../models/shared/Stripe.md) | :heavy_check_mark: | N/A | | +| `lookbackWindowDays` | *Optional\* | :heavy_minus_sign: | When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info here | | +| `numWorkers` | *Optional\* | :heavy_minus_sign: | The number of worker thread to use for the sync. The performance upper boundary depends on call_rate_limit setting and type of account. | 1 | +| `sliceRange` | *Optional\* | :heavy_minus_sign: | The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. | 1 | +| `sourceType` | [Stripe](../../models/shared/Stripe.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. | 2017-01-25T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceSurveySparrow.md b/docs/models/shared/SourceSurveySparrow.md index 0f38805ba..64106b1c4 100644 --- a/docs/models/shared/SourceSurveySparrow.md +++ b/docs/models/shared/SourceSurveySparrow.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | Your access token. See here. The key is case sensitive. | -| `region` | [Optional](../../models/shared/BaseURL.md) | :heavy_minus_sign: | Is your account location is EU based? If yes, the base url to retrieve data will be different. | -| `sourceType` | [com.airbyte.api.models.shared.SurveySparrow](../../models/shared/SurveySparrow.md) | :heavy_check_mark: | N/A | -| `surveyId` | List<*java.lang.Object*> | :heavy_minus_sign: | A List of your survey ids for survey-specific stream | \ No newline at end of file +| `region` | [Optional\](../../models/shared/BaseURL.md) | :heavy_minus_sign: | Is your account location is EU based? If yes, the base url to retrieve data will be different. | +| `sourceType` | [SurveySparrow](../../models/shared/SurveySparrow.md) | :heavy_check_mark: | N/A | +| `surveyId` | List\<*Object*> | :heavy_minus_sign: | A List of your survey ids for survey-specific stream | \ No newline at end of file diff --git a/docs/models/shared/SourceSurveymonkey.md b/docs/models/shared/SourceSurveymonkey.md index 45b32b5c4..b43c7cba1 100644 --- a/docs/models/shared/SourceSurveymonkey.md +++ b/docs/models/shared/SourceSurveymonkey.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SurveyMonkeyAuthorizationMethod](../../models/shared/SurveyMonkeyAuthorizationMethod.md) | :heavy_check_mark: | The authorization method to use to retrieve data from SurveyMonkey | | -| `origin` | [Optional](../../models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.md) | :heavy_minus_sign: | Depending on the originating datacenter of the SurveyMonkey account, the API access URL may be different. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceSurveymonkeySurveymonkey](../../models/shared/SourceSurveymonkeySurveymonkey.md) | :heavy_check_mark: | N/A | | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2021-01-01T00:00:00Z | -| `surveyIds` | List<*String*> | :heavy_minus_sign: | IDs of the surveys from which you'd like to replicate data. If left empty, data from all boards to which you have access will be replicated. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [SurveyMonkeyAuthorizationMethod](../../models/shared/SurveyMonkeyAuthorizationMethod.md) | :heavy_check_mark: | The authorization method to use to retrieve data from SurveyMonkey | | +| `origin` | [Optional\](../../models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.md) | :heavy_minus_sign: | Depending on the originating datacenter of the SurveyMonkey account, the API access URL may be different. | | +| `sourceType` | [SourceSurveymonkeySurveymonkey](../../models/shared/SourceSurveymonkeySurveymonkey.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2021-01-01T00:00:00Z | +| `surveyIds` | List\<*String*> | :heavy_minus_sign: | IDs of the surveys from which you'd like to replicate data. If left empty, data from all boards to which you have access will be replicated. | | \ No newline at end of file diff --git a/docs/models/shared/SourceSurvicate.md b/docs/models/shared/SourceSurvicate.md index 97cb95019..2881b0c90 100644 --- a/docs/models/shared/SourceSurvicate.md +++ b/docs/models/shared/SourceSurvicate.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.Survicate](../../models/shared/Survicate.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Survicate](../../models/shared/Survicate.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceSysteme.md b/docs/models/shared/SourceSysteme.md new file mode 100644 index 000000000..64b6193e9 --- /dev/null +++ b/docs/models/shared/SourceSysteme.md @@ -0,0 +1,9 @@ +# SourceSysteme + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Systeme](../../models/shared/Systeme.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTaboola.md b/docs/models/shared/SourceTaboola.md new file mode 100644 index 000000000..92fdd81b7 --- /dev/null +++ b/docs/models/shared/SourceTaboola.md @@ -0,0 +1,11 @@ +# SourceTaboola + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `accountId` | *String* | :heavy_check_mark: | The ID associated with your taboola account | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Taboola](../../models/shared/Taboola.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTeamtailor.md b/docs/models/shared/SourceTeamtailor.md new file mode 100644 index 000000000..c3955ddf2 --- /dev/null +++ b/docs/models/shared/SourceTeamtailor.md @@ -0,0 +1,10 @@ +# SourceTeamtailor + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `api` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Teamtailor](../../models/shared/Teamtailor.md) | :heavy_check_mark: | N/A | +| `xApiVersion` | *String* | :heavy_check_mark: | The version of the API | \ No newline at end of file diff --git a/docs/models/shared/SourceTeamwork.md b/docs/models/shared/SourceTeamwork.md index ab6cc832b..540008cd6 100644 --- a/docs/models/shared/SourceTeamwork.md +++ b/docs/models/shared/SourceTeamwork.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `password` | *Optional* | :heavy_minus_sign: | N/A | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | | `siteName` | *String* | :heavy_check_mark: | The teamwork site name appearing at the url | -| `sourceType` | [com.airbyte.api.models.shared.Teamwork](../../models/shared/Teamwork.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Teamwork](../../models/shared/Teamwork.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | | `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTempo.md b/docs/models/shared/SourceTempo.md index 4cb1e86b9..923b3aebd 100644 --- a/docs/models/shared/SourceTempo.md +++ b/docs/models/shared/SourceTempo.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | `apiToken` | *String* | :heavy_check_mark: | Tempo API Token. Go to Tempo>Settings, scroll down to Data Access and select API integration. | -| `sourceType` | [com.airbyte.api.models.shared.Tempo](../../models/shared/Tempo.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Tempo](../../models/shared/Tempo.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTestrail.md b/docs/models/shared/SourceTestrail.md new file mode 100644 index 000000000..899fb1fa6 --- /dev/null +++ b/docs/models/shared/SourceTestrail.md @@ -0,0 +1,12 @@ +# SourceTestrail + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `domainName` | *String* | :heavy_check_mark: | The unique domain name for accessing testrail | +| `password` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceType` | [Testrail](../../models/shared/Testrail.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `username` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTheGuardianApi.md b/docs/models/shared/SourceTheGuardianApi.md index 5a25a6c48..df5c58734 100644 --- a/docs/models/shared/SourceTheGuardianApi.md +++ b/docs/models/shared/SourceTheGuardianApi.md @@ -6,9 +6,9 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Your API Key. See here. The key is case sensitive. | | -| `endDate` | *Optional* | :heavy_minus_sign: | (Optional) Use this to set the maximum date (YYYY-MM-DD) of the results. Results newer than the end_date will not be shown. Default is set to the current date (today) for incremental syncs. | YYYY-MM-DD | -| `query` | *Optional* | :heavy_minus_sign: | (Optional) The query (q) parameter filters the results to only those that include that search term. The q parameter supports AND, OR and NOT operators. | environment AND NOT water | -| `section` | *Optional* | :heavy_minus_sign: | (Optional) Use this to filter the results by a particular section. See here for a list of all sections, and here for the sections endpoint documentation. | media | -| `sourceType` | [com.airbyte.api.models.shared.TheGuardianApi](../../models/shared/TheGuardianApi.md) | :heavy_check_mark: | N/A | | +| `endDate` | *Optional\* | :heavy_minus_sign: | (Optional) Use this to set the maximum date (YYYY-MM-DD) of the results. Results newer than the end_date will not be shown. Default is set to the current date (today) for incremental syncs. | YYYY-MM-DD | +| `query` | *Optional\* | :heavy_minus_sign: | (Optional) The query (q) parameter filters the results to only those that include that search term. The q parameter supports AND, OR and NOT operators. | environment AND NOT water | +| `section` | *Optional\* | :heavy_minus_sign: | (Optional) Use this to filter the results by a particular section. See here for a list of all sections, and here for the sections endpoint documentation. | media | +| `sourceType` | [TheGuardianApi](../../models/shared/TheGuardianApi.md) | :heavy_check_mark: | N/A | | | `startDate` | *String* | :heavy_check_mark: | Use this to set the minimum date (YYYY-MM-DD) of the results. Results older than the start_date will not be shown. | YYYY-MM-DD | -| `tag` | *Optional* | :heavy_minus_sign: | (Optional) A tag is a piece of data that is used by The Guardian to categorise content. Use this parameter to filter results by showing only the ones matching the entered tag. See here for a list of all tags, and here for the tags endpoint documentation. | environment/recycling | \ No newline at end of file +| `tag` | *Optional\* | :heavy_minus_sign: | (Optional) A tag is a piece of data that is used by The Guardian to categorise content. Use this parameter to filter results by showing only the ones matching the entered tag. See here for a list of all tags, and here for the tags endpoint documentation. | environment/recycling | \ No newline at end of file diff --git a/docs/models/shared/SourceThinkific.md b/docs/models/shared/SourceThinkific.md new file mode 100644 index 000000000..522ecae2e --- /dev/null +++ b/docs/models/shared/SourceThinkific.md @@ -0,0 +1,10 @@ +# SourceThinkific + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Your Thinkific API key for authentication. | +| `sourceType` | [Thinkific](../../models/shared/Thinkific.md) | :heavy_check_mark: | N/A | +| `subdomain` | *String* | :heavy_check_mark: | The subdomain of your Thinkific URL (e.g., if your URL is example.thinkific.com, your subdomain is "example". | \ No newline at end of file diff --git a/docs/models/shared/SourceTicketmaster.md b/docs/models/shared/SourceTicketmaster.md new file mode 100644 index 000000000..2d4273603 --- /dev/null +++ b/docs/models/shared/SourceTicketmaster.md @@ -0,0 +1,9 @@ +# SourceTicketmaster + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Ticketmaster](../../models/shared/Ticketmaster.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTickettailor.md b/docs/models/shared/SourceTickettailor.md new file mode 100644 index 000000000..140cbff93 --- /dev/null +++ b/docs/models/shared/SourceTickettailor.md @@ -0,0 +1,9 @@ +# SourceTickettailor + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. Find it at https://www.getdrip.com/user/edit | +| `sourceType` | [Tickettailor](../../models/shared/Tickettailor.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTiktokMarketing.md b/docs/models/shared/SourceTiktokMarketing.md index 93883f6a6..d10036754 100644 --- a/docs/models/shared/SourceTiktokMarketing.md +++ b/docs/models/shared/SourceTiktokMarketing.md @@ -5,9 +5,9 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `attributionWindow` | *Optional* | :heavy_minus_sign: | The attribution window in days. | -| `credentials` | [Optional](../../models/shared/SourceTiktokMarketingAuthenticationMethod.md) | :heavy_minus_sign: | Authentication method | +| `attributionWindow` | *Optional\* | :heavy_minus_sign: | The attribution window in days. | +| `credentials` | [Optional\](../../models/shared/SourceTiktokMarketingAuthenticationMethod.md) | :heavy_minus_sign: | Authentication method | | `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DD. All data generated between start_date and this date will be replicated. Not setting this option will result in always syncing the data till the current date. | -| `includeDeleted` | *Optional* | :heavy_minus_sign: | Set to active if you want to include deleted data in report based streams and Ads, Ad Groups and Campaign streams. | -| `sourceType` | [Optional](../../models/shared/SourceTiktokMarketingTiktokMarketing.md) | :heavy_minus_sign: | N/A | +| `includeDeleted` | *Optional\* | :heavy_minus_sign: | Set to active if you want to include deleted data in report based streams and Ads, Ad Groups and Campaign streams. | +| `sourceType` | [Optional\](../../models/shared/SourceTiktokMarketingTiktokMarketing.md) | :heavy_minus_sign: | N/A | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | The Start Date in format: YYYY-MM-DD. Any data before this date will not be replicated. If this parameter is not set, all data will be replicated. | \ No newline at end of file diff --git a/docs/models/shared/SourceTiktokMarketingOAuth20.md b/docs/models/shared/SourceTiktokMarketingOAuth20.md index 1b650d495..b63e983e9 100644 --- a/docs/models/shared/SourceTiktokMarketingOAuth20.md +++ b/docs/models/shared/SourceTiktokMarketingOAuth20.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Long-term Authorized Access Token. | -| `advertiserId` | *Optional* | :heavy_minus_sign: | The Advertiser ID to filter reports and streams. Let this empty to retrieve all. | -| `appId` | *String* | :heavy_check_mark: | The Developer Application App ID. | -| `authType` | [Optional](../../models/shared/SourceTiktokMarketingAuthType.md) | :heavy_minus_sign: | N/A | -| `secret` | *String* | :heavy_check_mark: | The Developer Application Secret. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `accessToken` | *String* | :heavy_check_mark: | Long-term Authorized Access Token. | +| `advertiserId` | *Optional\* | :heavy_minus_sign: | The Advertiser ID to filter reports and streams. Let this empty to retrieve all. | +| `appId` | *String* | :heavy_check_mark: | The Developer Application App ID. | +| `authType` | [Optional\](../../models/shared/SourceTiktokMarketingAuthType.md) | :heavy_minus_sign: | N/A | +| `secret` | *String* | :heavy_check_mark: | The Developer Application Secret. | \ No newline at end of file diff --git a/docs/models/shared/SourceTimely.md b/docs/models/shared/SourceTimely.md new file mode 100644 index 000000000..813913084 --- /dev/null +++ b/docs/models/shared/SourceTimely.md @@ -0,0 +1,11 @@ +# SourceTimely + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `accountId` | *String* | :heavy_check_mark: | Timely account id | | +| `bearerToken` | *String* | :heavy_check_mark: | Timely bearer token | | +| `sourceType` | [Timely](../../models/shared/Timely.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | start date | 2022-05-06 | \ No newline at end of file diff --git a/docs/models/shared/SourceTinyemail.md b/docs/models/shared/SourceTinyemail.md new file mode 100644 index 000000000..05c7fc6ba --- /dev/null +++ b/docs/models/shared/SourceTinyemail.md @@ -0,0 +1,9 @@ +# SourceTinyemail + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Tinyemail](../../models/shared/Tinyemail.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTodoist.md b/docs/models/shared/SourceTodoist.md new file mode 100644 index 000000000..c5fdd91a9 --- /dev/null +++ b/docs/models/shared/SourceTodoist.md @@ -0,0 +1,9 @@ +# SourceTodoist + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `sourceType` | [Todoist](../../models/shared/Todoist.md) | :heavy_check_mark: | N/A | +| `token` | *String* | :heavy_check_mark: | API authorization bearer token for authenticating the API | \ No newline at end of file diff --git a/docs/models/shared/SourceTrackPms.md b/docs/models/shared/SourceTrackPms.md new file mode 100644 index 000000000..f5f5be3bd --- /dev/null +++ b/docs/models/shared/SourceTrackPms.md @@ -0,0 +1,11 @@ +# SourceTrackPms + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `apiSecret` | *Optional\* | :heavy_minus_sign: | N/A | +| `customerDomain` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [TrackPms](../../models/shared/TrackPms.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTrello.md b/docs/models/shared/SourceTrello.md index e24de68c5..130ab96df 100644 --- a/docs/models/shared/SourceTrello.md +++ b/docs/models/shared/SourceTrello.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `boardIds` | List<*String*> | :heavy_minus_sign: | IDs of the boards to replicate data from. If left empty, data from all boards to which you have access will be replicated. Please note that this is not the 8-character ID in the board's shortLink (URL of the board). Rather, what is required here is the 24-character ID usually returned by the API | | +| `boardIds` | List\<*String*> | :heavy_minus_sign: | IDs of the boards to replicate data from. If left empty, data from all boards to which you have access will be replicated. Please note that this is not the 8-character ID in the board's shortLink (URL of the board). Rather, what is required here is the 24-character ID usually returned by the API | | | `key` | *String* | :heavy_check_mark: | Trello API key. See the docs for instructions on how to generate it. | | -| `sourceType` | [com.airbyte.api.models.shared.Trello](../../models/shared/Trello.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Trello](../../models/shared/Trello.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2021-03-01T00:00:00Z | | `token` | *String* | :heavy_check_mark: | Trello API token. See the docs for instructions on how to generate it. | | \ No newline at end of file diff --git a/docs/models/shared/SourceTremendous.md b/docs/models/shared/SourceTremendous.md new file mode 100644 index 000000000..3f2cd8c33 --- /dev/null +++ b/docs/models/shared/SourceTremendous.md @@ -0,0 +1,10 @@ +# SourceTremendous + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | API key to use. You can generate an API key through the Tremendous dashboard under Team Settings > Developers. Save the key once you’ve generated it. | +| `environment` | [SourceTremendousEnvironment](../../models/shared/SourceTremendousEnvironment.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Tremendous](../../models/shared/Tremendous.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTremendousEnvironment.md b/docs/models/shared/SourceTremendousEnvironment.md new file mode 100644 index 000000000..924d36d50 --- /dev/null +++ b/docs/models/shared/SourceTremendousEnvironment.md @@ -0,0 +1,9 @@ +# SourceTremendousEnvironment + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `API` | api | +| `TESTFLIGHT` | testflight | \ No newline at end of file diff --git a/docs/models/shared/SourceTrustpilot.md b/docs/models/shared/SourceTrustpilot.md index 0a5682a95..113c55c7f 100644 --- a/docs/models/shared/SourceTrustpilot.md +++ b/docs/models/shared/SourceTrustpilot.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `businessUnits` | List<*String*> | :heavy_check_mark: | The names of business units which shall be synchronized. Some streams e.g. configured_business_units or private_reviews use this configuration. | mydomain.com | -| `credentials` | [com.airbyte.api.models.shared.SourceTrustpilotAuthorizationMethod](../../models/shared/SourceTrustpilotAuthorizationMethod.md) | :heavy_check_mark: | N/A | | -| `sourceType` | [com.airbyte.api.models.shared.Trustpilot](../../models/shared/Trustpilot.md) | :heavy_check_mark: | N/A | | +| `businessUnits` | List\<*String*> | :heavy_check_mark: | The names of business units which shall be synchronized. Some streams e.g. configured_business_units or private_reviews use this configuration. | mydomain.com | +| `credentials` | [SourceTrustpilotAuthorizationMethod](../../models/shared/SourceTrustpilotAuthorizationMethod.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Trustpilot](../../models/shared/Trustpilot.md) | :heavy_check_mark: | N/A | | | `startDate` | *String* | :heavy_check_mark: | For streams with sync. method incremental the start date time to be used | %Y-%m-%dT%H:%M:%SZ | \ No newline at end of file diff --git a/docs/models/shared/SourceTrustpilotAPIKey.md b/docs/models/shared/SourceTrustpilotAPIKey.md index c163c16aa..06ff53f96 100644 --- a/docs/models/shared/SourceTrustpilotAPIKey.md +++ b/docs/models/shared/SourceTrustpilotAPIKey.md @@ -5,7 +5,7 @@ The API key authentication method gives you access to only the streams which are ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/SourceTrustpilotSchemasAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The API key of the Trustpilot API application. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `authType` | [Optional\](../../models/shared/SourceTrustpilotSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The API key of the Trustpilot API application. | \ No newline at end of file diff --git a/docs/models/shared/SourceTrustpilotOAuth20.md b/docs/models/shared/SourceTrustpilotOAuth20.md index 09cd3a47c..de2ef5677 100644 --- a/docs/models/shared/SourceTrustpilotOAuth20.md +++ b/docs/models/shared/SourceTrustpilotOAuth20.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | -| `authType` | [Optional](../../models/shared/SourceTrustpilotAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The API key of the Trustpilot API application. (represents the OAuth Client ID) | -| `clientSecret` | *String* | :heavy_check_mark: | The Secret of the Trustpilot API application. (represents the OAuth Client Secret) | -| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access_token. | -| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | +| `authType` | [Optional\](../../models/shared/SourceTrustpilotAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The API key of the Trustpilot API application. (represents the OAuth Client ID) | +| `clientSecret` | *String* | :heavy_check_mark: | The Secret of the Trustpilot API application. (represents the OAuth Client Secret) | +| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access_token. | +| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file diff --git a/docs/models/shared/SourceTvmazeSchedule.md b/docs/models/shared/SourceTvmazeSchedule.md index 2ee37f64a..15c1bd174 100644 --- a/docs/models/shared/SourceTvmazeSchedule.md +++ b/docs/models/shared/SourceTvmazeSchedule.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `domesticScheduleCountryCode` | *String* | :heavy_check_mark: | Country code for domestic TV schedule retrieval. | US | -| `endDate` | *Optional* | :heavy_minus_sign: | End date for TV schedule retrieval. May be in the future. Optional.
    | | -| `sourceType` | [com.airbyte.api.models.shared.TvmazeSchedule](../../models/shared/TvmazeSchedule.md) | :heavy_check_mark: | N/A | | +| `endDate` | *Optional\* | :heavy_minus_sign: | End date for TV schedule retrieval. May be in the future. Optional.
    | | +| `sourceType` | [TvmazeSchedule](../../models/shared/TvmazeSchedule.md) | :heavy_check_mark: | N/A | | | `startDate` | *String* | :heavy_check_mark: | Start date for TV schedule retrieval. May be in the future. | | -| `webScheduleCountryCode` | *Optional* | :heavy_minus_sign: | ISO 3166-1 country code for web TV schedule retrieval. Leave blank for
    all countries plus global web channels (e.g. Netflix). Alternatively,
    set to 'global' for just global web channels.
    | US | \ No newline at end of file +| `webScheduleCountryCode` | *Optional\* | :heavy_minus_sign: | ISO 3166-1 country code for web TV schedule retrieval. Leave blank for
    all countries plus global web channels (e.g. Netflix). Alternatively,
    set to 'global' for just global web channels.
    | US | \ No newline at end of file diff --git a/docs/models/shared/SourceTwelveData.md b/docs/models/shared/SourceTwelveData.md new file mode 100644 index 000000000..7ef7fc241 --- /dev/null +++ b/docs/models/shared/SourceTwelveData.md @@ -0,0 +1,13 @@ +# SourceTwelveData + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `country` | *Optional\* | :heavy_minus_sign: | Where instrument is traded | +| `exchange` | *Optional\* | :heavy_minus_sign: | Where instrument is traded | +| `interval` | [Optional\](../../models/shared/Interval.md) | :heavy_minus_sign: | Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month | +| `sourceType` | [TwelveData](../../models/shared/TwelveData.md) | :heavy_check_mark: | N/A | +| `symbol` | *Optional\* | :heavy_minus_sign: | Ticker of the instrument | \ No newline at end of file diff --git a/docs/models/shared/SourceTwilio.md b/docs/models/shared/SourceTwilio.md index 805ab04f7..dae56a3ba 100644 --- a/docs/models/shared/SourceTwilio.md +++ b/docs/models/shared/SourceTwilio.md @@ -7,6 +7,6 @@ | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | `accountSid` | *String* | :heavy_check_mark: | Twilio account SID | | | `authToken` | *String* | :heavy_check_mark: | Twilio Auth Token. | | -| `lookbackWindow` | *Optional* | :heavy_minus_sign: | How far into the past to look for records. (in minutes) | 60 | -| `sourceType` | [com.airbyte.api.models.shared.Twilio](../../models/shared/Twilio.md) | :heavy_check_mark: | N/A | | +| `lookbackWindow` | *Optional\* | :heavy_minus_sign: | How far into the past to look for records. (in minutes) | 60 | +| `sourceType` | [Twilio](../../models/shared/Twilio.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | UTC date and time in the format 2020-10-01T00:00:00Z. Any data before this date will not be replicated. | 2020-10-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceTwilioTaskrouter.md b/docs/models/shared/SourceTwilioTaskrouter.md index 156659eee..d664e3bf5 100644 --- a/docs/models/shared/SourceTwilioTaskrouter.md +++ b/docs/models/shared/SourceTwilioTaskrouter.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `accountSid` | *String* | :heavy_check_mark: | Twilio Account ID | -| `authToken` | *String* | :heavy_check_mark: | Twilio Auth Token | -| `sourceType` | [com.airbyte.api.models.shared.TwilioTaskrouter](../../models/shared/TwilioTaskrouter.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `accountSid` | *String* | :heavy_check_mark: | Twilio Account ID | +| `authToken` | *String* | :heavy_check_mark: | Twilio Auth Token | +| `sourceType` | [TwilioTaskrouter](../../models/shared/TwilioTaskrouter.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceTwitter.md b/docs/models/shared/SourceTwitter.md index cce2f37d3..d9f627ea8 100644 --- a/docs/models/shared/SourceTwitter.md +++ b/docs/models/shared/SourceTwitter.md @@ -8,5 +8,5 @@ | `apiKey` | *String* | :heavy_check_mark: | App only Bearer Token. See the docs for more information on how to obtain this token. | | `endDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The end date for retrieving tweets must be a minimum of 10 seconds prior to the request time. | | `query` | *String* | :heavy_check_mark: | Query for matching Tweets. You can learn how to build this query by reading build a query guide . | -| `sourceType` | [com.airbyte.api.models.shared.Twitter](../../models/shared/Twitter.md) | :heavy_check_mark: | N/A | +| `sourceType` | [Twitter](../../models/shared/Twitter.md) | :heavy_check_mark: | N/A | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The start date for retrieving tweets cannot be more than 7 days in the past. | \ No newline at end of file diff --git a/docs/models/shared/SourceTypeform.md b/docs/models/shared/SourceTypeform.md index 5e4360d56..bf3c4c29b 100644 --- a/docs/models/shared/SourceTypeform.md +++ b/docs/models/shared/SourceTypeform.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [com.airbyte.api.models.shared.SourceTypeformAuthorizationMethod](../../models/shared/SourceTypeformAuthorizationMethod.md) | :heavy_check_mark: | N/A | | -| `formIds` | List<*String*> | :heavy_minus_sign: | When this parameter is set, the connector will replicate data only from the input forms. Otherwise, all forms in your Typeform account will be replicated. You can find form IDs in your form URLs. For example, in the URL "https://mysite.typeform.com/to/u6nXL7" the form_id is u6nXL7. You can find form URLs on Share panel | | -| `sourceType` | [com.airbyte.api.models.shared.SourceTypeformTypeform](../../models/shared/SourceTypeformTypeform.md) | :heavy_check_mark: | N/A | | +| `credentials` | [SourceTypeformAuthorizationMethod](../../models/shared/SourceTypeformAuthorizationMethod.md) | :heavy_check_mark: | N/A | | +| `formIds` | List\<*String*> | :heavy_minus_sign: | When this parameter is set, the connector will replicate data only from the input forms. Otherwise, all forms in your Typeform account will be replicated. You can find form IDs in your form URLs. For example, in the URL "https://mysite.typeform.com/to/u6nXL7" the form_id is u6nXL7. You can find form URLs on Share panel | | +| `sourceType` | [SourceTypeformTypeform](../../models/shared/SourceTypeformTypeform.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date from which you'd like to replicate data for Typeform API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2021-03-01T00:00:00Z | \ No newline at end of file diff --git a/docs/models/shared/SourceTypeformOAuth20.md b/docs/models/shared/SourceTypeformOAuth20.md index 6ba78dae0..5604a5a6e 100644 --- a/docs/models/shared/SourceTypeformOAuth20.md +++ b/docs/models/shared/SourceTypeformOAuth20.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | -| `authType` | [Optional](../../models/shared/SourceTypeformAuthType.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of the Typeform developer application. | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret the Typeform developer application. | -| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access_token. | -| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. | +| `authType` | [Optional\](../../models/shared/SourceTypeformAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of the Typeform developer application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret the Typeform developer application. | +| `refreshToken` | *String* | :heavy_check_mark: | The key to refresh the expired access_token. | +| `tokenExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date-time when the access token should be refreshed. | \ No newline at end of file diff --git a/docs/models/shared/SourceTypeformPrivateToken.md b/docs/models/shared/SourceTypeformPrivateToken.md index 9b1998643..edd81b116 100644 --- a/docs/models/shared/SourceTypeformPrivateToken.md +++ b/docs/models/shared/SourceTypeformPrivateToken.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Log into your Typeform account and then generate a personal Access Token. | -| `authType` | [Optional](../../models/shared/SourceTypeformSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `accessToken` | *String* | :heavy_check_mark: | Log into your Typeform account and then generate a personal Access Token. | +| `authType` | [Optional\](../../models/shared/SourceTypeformSchemasAuthType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceUbidots.md b/docs/models/shared/SourceUbidots.md new file mode 100644 index 000000000..9e65fbc22 --- /dev/null +++ b/docs/models/shared/SourceUbidots.md @@ -0,0 +1,9 @@ +# SourceUbidots + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API token to use for authentication. Obtain it from your Ubidots account. | +| `sourceType` | [Ubidots](../../models/shared/Ubidots.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceUnleash.md b/docs/models/shared/SourceUnleash.md new file mode 100644 index 000000000..c7dcbc113 --- /dev/null +++ b/docs/models/shared/SourceUnleash.md @@ -0,0 +1,12 @@ +# SourceUnleash + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | Your API Token (Server-Side SDK [Client]). See here. The token is case sensitive. | project:environment.be44368985f7fb3237c584ef86f3d6bdada42ddbd63a019d26955178 | +| `apiUrl` | *String* | :heavy_check_mark: | Your API URL. No trailing slash. ex: https://unleash.host.com/api | | +| `nameprefix` | *Optional\* | :heavy_minus_sign: | Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See here | | +| `projectName` | *Optional\* | :heavy_minus_sign: | Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See here | | +| `sourceType` | [Unleash](../../models/shared/Unleash.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceUppromote.md b/docs/models/shared/SourceUppromote.md new file mode 100644 index 000000000..a67159d3d --- /dev/null +++ b/docs/models/shared/SourceUppromote.md @@ -0,0 +1,10 @@ +# SourceUppromote + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | For developing your own custom integration with UpPromote, you can create an API key. This is available from Professional plan. Simply go to Settings > Integration > API > Create API Key. | +| `sourceType` | [Uppromote](../../models/shared/Uppromote.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | Data before this date will not be fetched. | \ No newline at end of file diff --git a/docs/models/shared/SourceUsCensus.md b/docs/models/shared/SourceUsCensus.md index 548409b3e..398778fb6 100644 --- a/docs/models/shared/SourceUsCensus.md +++ b/docs/models/shared/SourceUsCensus.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | | `apiKey` | *String* | :heavy_check_mark: | Your API Key. Get your key here. | | -| `queryParams` | *Optional* | :heavy_minus_sign: | The query parameters portion of the GET request, without the api key | get=NAME,NAICS2017_LABEL,LFO_LABEL,EMPSZES_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=us:*&NAICS2017=72&LFO=001&EMPSZES=001 | +| `queryParams` | *Optional\* | :heavy_minus_sign: | The query parameters portion of the GET request, without the api key | get=NAME,NAICS2017_LABEL,LFO_LABEL,EMPSZES_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=us:*&NAICS2017=72&LFO=001&EMPSZES=001 | | `queryPath` | *String* | :heavy_check_mark: | The path portion of the GET request | data/2019/cbp | -| `sourceType` | [com.airbyte.api.models.shared.UsCensus](../../models/shared/UsCensus.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `sourceType` | [UsCensus](../../models/shared/UsCensus.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceUservoice.md b/docs/models/shared/SourceUservoice.md new file mode 100644 index 000000000..6095e3ee4 --- /dev/null +++ b/docs/models/shared/SourceUservoice.md @@ -0,0 +1,11 @@ +# SourceUservoice + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Uservoice](../../models/shared/Uservoice.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | +| `subdomain` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceVantage.md b/docs/models/shared/SourceVantage.md index 3c009985d..df64b515c 100644 --- a/docs/models/shared/SourceVantage.md +++ b/docs/models/shared/SourceVantage.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | Your API Access token. See here. | -| `sourceType` | [com.airbyte.api.models.shared.Vantage](../../models/shared/Vantage.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Vantage](../../models/shared/Vantage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceVeeqo.md b/docs/models/shared/SourceVeeqo.md new file mode 100644 index 000000000..e2b578af1 --- /dev/null +++ b/docs/models/shared/SourceVeeqo.md @@ -0,0 +1,10 @@ +# SourceVeeqo + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Veeqo](../../models/shared/Veeqo.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceVercel.md b/docs/models/shared/SourceVercel.md new file mode 100644 index 000000000..365c4a63a --- /dev/null +++ b/docs/models/shared/SourceVercel.md @@ -0,0 +1,10 @@ +# SourceVercel + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Access token to authenticate with the Vercel API. Create and manage tokens in your Vercel account settings. | +| `sourceType` | [Vercel](../../models/shared/Vercel.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceVismaEconomic.md b/docs/models/shared/SourceVismaEconomic.md new file mode 100644 index 000000000..114ccde39 --- /dev/null +++ b/docs/models/shared/SourceVismaEconomic.md @@ -0,0 +1,10 @@ +# SourceVismaEconomic + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `agreementGrantToken` | *String* | :heavy_check_mark: | Identifier for the grant issued by an agreement | +| `appSecretToken` | *String* | :heavy_check_mark: | Identification token for app accessing data | +| `sourceType` | [VismaEconomic](../../models/shared/VismaEconomic.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceVitally.md b/docs/models/shared/SourceVitally.md new file mode 100644 index 000000000..221bdeb22 --- /dev/null +++ b/docs/models/shared/SourceVitally.md @@ -0,0 +1,10 @@ +# SourceVitally + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | The API Token for a Vitally account. | +| `sourceType` | [Vitally](../../models/shared/Vitally.md) | :heavy_check_mark: | N/A | +| `status` | [SourceVitallyStatus](../../models/shared/SourceVitallyStatus.md) | :heavy_check_mark: | Status of the Vitally accounts. One of the following values; active, churned, activeOrChurned. | \ No newline at end of file diff --git a/docs/models/shared/SourceVitallyStatus.md b/docs/models/shared/SourceVitallyStatus.md new file mode 100644 index 000000000..2f6e33cf2 --- /dev/null +++ b/docs/models/shared/SourceVitallyStatus.md @@ -0,0 +1,12 @@ +# SourceVitallyStatus + +Status of the Vitally accounts. One of the following values; active, churned, activeOrChurned. + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `ACTIVE` | active | +| `CHURNED` | churned | +| `ACTIVE_OR_CHURNED` | activeOrChurned | \ No newline at end of file diff --git a/docs/models/shared/SourceVwo.md b/docs/models/shared/SourceVwo.md new file mode 100644 index 000000000..6971d42b5 --- /dev/null +++ b/docs/models/shared/SourceVwo.md @@ -0,0 +1,10 @@ +# SourceVwo + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Vwo](../../models/shared/Vwo.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceWaiteraid.md b/docs/models/shared/SourceWaiteraid.md new file mode 100644 index 000000000..3679309c4 --- /dev/null +++ b/docs/models/shared/SourceWaiteraid.md @@ -0,0 +1,11 @@ +# SourceWaiteraid + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `authHash` | *String* | :heavy_check_mark: | Your WaiterAid API key, obtained from API request with Username and Password | | +| `restid` | *String* | :heavy_check_mark: | Your WaiterAid restaurant id from API request to getRestaurants | | +| `sourceType` | [Waiteraid](../../models/shared/Waiteraid.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | Start getting data from that date. | YYYY-MM-DD | \ No newline at end of file diff --git a/docs/models/shared/SourceWasabiStatsApi.md b/docs/models/shared/SourceWasabiStatsApi.md new file mode 100644 index 000000000..ec89fcbaa --- /dev/null +++ b/docs/models/shared/SourceWasabiStatsApi.md @@ -0,0 +1,10 @@ +# SourceWasabiStatsApi + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | The API key format is `AccessKey:SecretKey` | +| `sourceType` | [WasabiStatsApi](../../models/shared/WasabiStatsApi.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceWeatherstack.md b/docs/models/shared/SourceWeatherstack.md new file mode 100644 index 000000000..39d5e7859 --- /dev/null +++ b/docs/models/shared/SourceWeatherstack.md @@ -0,0 +1,11 @@ +# SourceWeatherstack + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessKey` | *String* | :heavy_check_mark: | API access key used to retrieve data from the Weatherstack API.(https://weatherstack.com/product) | | +| `historicalDate` | *String* | :heavy_check_mark: | This is required for enabling the Historical date API with format- (YYYY-MM-DD). * Note, only supported by paid accounts | 2015-01-21 | +| `query` | *String* | :heavy_check_mark: | A location to query such as city, IP, latitudeLongitude, or zipcode. Multiple locations with semicolon seperated if using a professional plan or higher. For more info- (https://weatherstack.com/documentation#query_parameter) | New York | +| `sourceType` | [Weatherstack](../../models/shared/Weatherstack.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceWebScrapper.md b/docs/models/shared/SourceWebScrapper.md new file mode 100644 index 000000000..2ccbe0aed --- /dev/null +++ b/docs/models/shared/SourceWebScrapper.md @@ -0,0 +1,9 @@ +# SourceWebScrapper + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `apiToken` | *String* | :heavy_check_mark: | API token to use. Find it at https://cloud.webscraper.io/api | +| `sourceType` | [WebScrapper](../../models/shared/WebScrapper.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceWebflow.md b/docs/models/shared/SourceWebflow.md index 17990aaa4..a5c505744 100644 --- a/docs/models/shared/SourceWebflow.md +++ b/docs/models/shared/SourceWebflow.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `acceptVersion` | *Optional* | :heavy_minus_sign: | The version of the Webflow API to use. See https://developers.webflow.com/#versioning | 1.0.0 | +| `acceptVersion` | *Optional\* | :heavy_minus_sign: | The version of the Webflow API to use. See https://developers.webflow.com/#versioning | 1.0.0 | | `apiKey` | *String* | :heavy_check_mark: | The API token for authenticating to Webflow. See https://university.webflow.com/lesson/intro-to-the-webflow-api | a very long hex sequence | | `siteId` | *String* | :heavy_check_mark: | The id of the Webflow site you are requesting data from. See https://developers.webflow.com/#sites | a relatively long hex sequence | -| `sourceType` | [com.airbyte.api.models.shared.Webflow](../../models/shared/Webflow.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `sourceType` | [Webflow](../../models/shared/Webflow.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/SourceWhenIWork.md b/docs/models/shared/SourceWhenIWork.md index 60f17a1ac..6864380bd 100644 --- a/docs/models/shared/SourceWhenIWork.md +++ b/docs/models/shared/SourceWhenIWork.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `email` | *String* | :heavy_check_mark: | Email of your when-i-work account | -| `password` | *String* | :heavy_check_mark: | Password for your when-i-work account | -| `sourceType` | [com.airbyte.api.models.shared.WhenIWork](../../models/shared/WhenIWork.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `email` | *String* | :heavy_check_mark: | Email of your when-i-work account | +| `password` | *String* | :heavy_check_mark: | Password for your when-i-work account | +| `sourceType` | [WhenIWork](../../models/shared/WhenIWork.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceWhiskyHunter.md b/docs/models/shared/SourceWhiskyHunter.md index 8636843a8..ede11563f 100644 --- a/docs/models/shared/SourceWhiskyHunter.md +++ b/docs/models/shared/SourceWhiskyHunter.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `sourceType` | [com.airbyte.api.models.shared.WhiskyHunter](../../models/shared/WhiskyHunter.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `sourceType` | [WhiskyHunter](../../models/shared/WhiskyHunter.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceWikipediaPageviews.md b/docs/models/shared/SourceWikipediaPageviews.md index 417be89bf..fdf86a80a 100644 --- a/docs/models/shared/SourceWikipediaPageviews.md +++ b/docs/models/shared/SourceWikipediaPageviews.md @@ -11,5 +11,5 @@ | `country` | *String* | :heavy_check_mark: | The ISO 3166-1 alpha-2 code of a country for which to retrieve top articles. | FR | | `end` | *String* | :heavy_check_mark: | The date of the last day to include, in YYYYMMDD or YYYYMMDDHH format. | | | `project` | *String* | :heavy_check_mark: | If you want to filter by project, use the domain of any Wikimedia project. | en.wikipedia.org | -| `sourceType` | [com.airbyte.api.models.shared.WikipediaPageviews](../../models/shared/WikipediaPageviews.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [WikipediaPageviews](../../models/shared/WikipediaPageviews.md) | :heavy_check_mark: | N/A | | | `start` | *String* | :heavy_check_mark: | The date of the first day to include, in YYYYMMDD or YYYYMMDDHH format. Also serves as the date to retrieve data for the top articles. | | \ No newline at end of file diff --git a/docs/models/shared/SourceWoocommerce.md b/docs/models/shared/SourceWoocommerce.md index adb089824..4c655a3ae 100644 --- a/docs/models/shared/SourceWoocommerce.md +++ b/docs/models/shared/SourceWoocommerce.md @@ -8,5 +8,5 @@ | `apiKey` | *String* | :heavy_check_mark: | Customer Key for API in WooCommerce shop | | | `apiSecret` | *String* | :heavy_check_mark: | Customer Secret for API in WooCommerce shop | | | `shop` | *String* | :heavy_check_mark: | The name of the store. For https://EXAMPLE.com, the shop name is 'EXAMPLE.com'. | | -| `sourceType` | [com.airbyte.api.models.shared.Woocommerce](../../models/shared/Woocommerce.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [Woocommerce](../../models/shared/Woocommerce.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | The date you would like to replicate data from. Format: YYYY-MM-DD | 2021-01-01 | \ No newline at end of file diff --git a/docs/models/shared/SourceWordpress.md b/docs/models/shared/SourceWordpress.md new file mode 100644 index 000000000..475be4613 --- /dev/null +++ b/docs/models/shared/SourceWordpress.md @@ -0,0 +1,12 @@ +# SourceWordpress + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `domain` | *String* | :heavy_check_mark: | The domain of the WordPress site. Example: my-wordpress-website.host.com | +| `password` | *Optional\* | :heavy_minus_sign: | Placeholder for basic HTTP auth password - should be set to empty string | +| `sourceType` | [Wordpress](../../models/shared/Wordpress.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | Minimal Date to Retrieve Records when stream allow incremental. | +| `username` | *Optional\* | :heavy_minus_sign: | Placeholder for basic HTTP auth username - should be set to empty string | \ No newline at end of file diff --git a/docs/models/shared/SourceWorkable.md b/docs/models/shared/SourceWorkable.md new file mode 100644 index 000000000..012bf9f87 --- /dev/null +++ b/docs/models/shared/SourceWorkable.md @@ -0,0 +1,11 @@ +# SourceWorkable + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `accountSubdomain` | *String* | :heavy_check_mark: | Your Workable account subdomain, e.g. https://your_account_subdomain.workable.com. | | +| `apiKey` | *String* | :heavy_check_mark: | Your Workable API Key. See here. | | +| `sourceType` | [Workable](../../models/shared/Workable.md) | :heavy_check_mark: | N/A | | +| `startDate` | *String* | :heavy_check_mark: | Get data that was created since this date (format: YYYYMMDDTHHMMSSZ). | 20150708T115616Z | \ No newline at end of file diff --git a/docs/models/shared/SourceWorkflowmax.md b/docs/models/shared/SourceWorkflowmax.md new file mode 100644 index 000000000..c0df742b2 --- /dev/null +++ b/docs/models/shared/SourceWorkflowmax.md @@ -0,0 +1,11 @@ +# SourceWorkflowmax + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `accountId` | *String* | :heavy_check_mark: | The account id for workflowmax | +| `apiKey2` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [Workflowmax](../../models/shared/Workflowmax.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceWorkramp.md b/docs/models/shared/SourceWorkramp.md new file mode 100644 index 000000000..c3e426d72 --- /dev/null +++ b/docs/models/shared/SourceWorkramp.md @@ -0,0 +1,10 @@ +# SourceWorkramp + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `academyId` | *String* | :heavy_check_mark: | The id of the Academy | +| `apiKey` | *String* | :heavy_check_mark: | The API Token for Workramp | +| `sourceType` | [Workramp](../../models/shared/Workramp.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceWrike.md b/docs/models/shared/SourceWrike.md new file mode 100644 index 000000000..2d4b9db8f --- /dev/null +++ b/docs/models/shared/SourceWrike.md @@ -0,0 +1,11 @@ +# SourceWrike + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Permanent access token. You can find documentation on how to acquire a permanent access token here | | +| `sourceType` | [Wrike](../../models/shared/Wrike.md) | :heavy_check_mark: | N/A | | +| `startDate` | *Optional\* | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Only comments after this date will be replicated. | 2017-01-25T00:00:00Z | +| `wrikeInstance` | *Optional\* | :heavy_minus_sign: | Wrike's instance such as `app-us2.wrike.com` | | \ No newline at end of file diff --git a/docs/models/shared/SourceWufoo.md b/docs/models/shared/SourceWufoo.md new file mode 100644 index 000000000..890a8bbd7 --- /dev/null +++ b/docs/models/shared/SourceWufoo.md @@ -0,0 +1,10 @@ +# SourceWufoo + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | Your Wufoo API Key. You can find it by logging into your Wufoo account, selecting 'API Information' from the 'More' dropdown on any form, and locating the 16-digit code. | +| `sourceType` | [Wufoo](../../models/shared/Wufoo.md) | :heavy_check_mark: | N/A | +| `subdomain` | *String* | :heavy_check_mark: | Your account subdomain/username for Wufoo. | \ No newline at end of file diff --git a/docs/models/shared/SourceXkcd.md b/docs/models/shared/SourceXkcd.md index b273707e8..f5047029b 100644 --- a/docs/models/shared/SourceXkcd.md +++ b/docs/models/shared/SourceXkcd.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `comicNumber` | *Optional* | :heavy_minus_sign: | Specifies the comic number in which details are to be extracted, pagination will begin with that number to end of available comics | -| `sourceType` | [Optional](../../models/shared/Xkcd.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `comicNumber` | *Optional\* | :heavy_minus_sign: | Specifies the comic number in which details are to be extracted, pagination will begin with that number to end of available comics | +| `sourceType` | [Optional\](../../models/shared/Xkcd.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceXsolla.md b/docs/models/shared/SourceXsolla.md new file mode 100644 index 000000000..9b68819d2 --- /dev/null +++ b/docs/models/shared/SourceXsolla.md @@ -0,0 +1,10 @@ +# SourceXsolla + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `apiKey` | *String* | :heavy_check_mark: | Go to Xsolla Dashboard and from company setting get the api_key | +| `projectId` | *double* | :heavy_check_mark: | You can find this parameter in your Publisher Account next to the name of the project . Example: 44056 | +| `sourceType` | [Xsolla](../../models/shared/Xsolla.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceYahooFinancePrice.md b/docs/models/shared/SourceYahooFinancePrice.md new file mode 100644 index 000000000..43e92c2a8 --- /dev/null +++ b/docs/models/shared/SourceYahooFinancePrice.md @@ -0,0 +1,11 @@ +# SourceYahooFinancePrice + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `interval` | [Optional\](../../models/shared/SourceYahooFinancePriceInterval.md) | :heavy_minus_sign: | The interval of between prices queried. | +| `range` | [Optional\](../../models/shared/Range.md) | :heavy_minus_sign: | The range of prices to be queried. | +| `sourceType` | [YahooFinancePrice](../../models/shared/YahooFinancePrice.md) | :heavy_check_mark: | N/A | +| `tickers` | *String* | :heavy_check_mark: | Comma-separated identifiers for the stocks to be queried. Whitespaces are allowed. | \ No newline at end of file diff --git a/docs/models/shared/SourceYahooFinancePriceInterval.md b/docs/models/shared/SourceYahooFinancePriceInterval.md new file mode 100644 index 000000000..16d063049 --- /dev/null +++ b/docs/models/shared/SourceYahooFinancePriceInterval.md @@ -0,0 +1,20 @@ +# SourceYahooFinancePriceInterval + +The interval of between prices queried. + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `ONEM` | 1m | +| `FIVEM` | 5m | +| `FIFTEENM` | 15m | +| `THIRTYM` | 30m | +| `NINETYM` | 90m | +| `ONEH` | 1h | +| `ONED` | 1d | +| `FIVED` | 5d | +| `ONEWK` | 1wk | +| `ONEMO` | 1mo | +| `THREEMO` | 3mo | \ No newline at end of file diff --git a/docs/models/shared/SourceYandexMetrica.md b/docs/models/shared/SourceYandexMetrica.md index 5ff7cc1e3..38f8267d4 100644 --- a/docs/models/shared/SourceYandexMetrica.md +++ b/docs/models/shared/SourceYandexMetrica.md @@ -8,5 +8,5 @@ | `authToken` | *String* | :heavy_check_mark: | Your Yandex Metrica API access token | | | `counterId` | *String* | :heavy_check_mark: | Counter ID | | | `endDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | Starting point for your data replication, in format of "YYYY-MM-DD". If not provided will sync till most recent date. | 2022-01-01 | -| `sourceType` | [com.airbyte.api.models.shared.YandexMetrica](../../models/shared/YandexMetrica.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [YandexMetrica](../../models/shared/YandexMetrica.md) | :heavy_check_mark: | N/A | | | `startDate` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | Starting point for your data replication, in format of "YYYY-MM-DD". | 2022-01-01 | \ No newline at end of file diff --git a/docs/models/shared/SourceYotpo.md b/docs/models/shared/SourceYotpo.md index b83570db7..8bfbc1038 100644 --- a/docs/models/shared/SourceYotpo.md +++ b/docs/models/shared/SourceYotpo.md @@ -7,6 +7,6 @@ | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | Access token recieved as a result of API call to https://api.yotpo.com/oauth/token (Ref- https://apidocs.yotpo.com/reference/yotpo-authentication) | | | `appKey` | *String* | :heavy_check_mark: | App key found at settings (Ref- https://settings.yotpo.com/#/general_settings) | | -| `email` | *Optional* | :heavy_minus_sign: | Email address registered with yotpo. | | -| `sourceType` | [com.airbyte.api.models.shared.Yotpo](../../models/shared/Yotpo.md) | :heavy_check_mark: | N/A | | +| `email` | *Optional\* | :heavy_minus_sign: | Email address registered with yotpo. | | +| `sourceType` | [Yotpo](../../models/shared/Yotpo.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | Date time filter for incremental filter, Specify which date to extract from. | 2022-03-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/shared/SourceYouNeedABudgetYnab.md b/docs/models/shared/SourceYouNeedABudgetYnab.md new file mode 100644 index 000000000..743b29ae2 --- /dev/null +++ b/docs/models/shared/SourceYouNeedABudgetYnab.md @@ -0,0 +1,9 @@ +# SourceYouNeedABudgetYnab + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [YouNeedABudgetYnab](../../models/shared/YouNeedABudgetYnab.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceYoutubeAnalytics.md b/docs/models/shared/SourceYoutubeAnalytics.md index ae78a5fa7..5f62e19dc 100644 --- a/docs/models/shared/SourceYoutubeAnalytics.md +++ b/docs/models/shared/SourceYoutubeAnalytics.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | Map | :heavy_check_mark: | N/A | -| `sourceType` | [com.airbyte.api.models.shared.SourceYoutubeAnalyticsYoutubeAnalytics](../../models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `credentials` | [AuthenticateViaOAuth20](../../models/shared/AuthenticateViaOAuth20.md) | :heavy_check_mark: | N/A | +| `sourceType` | [SourceYoutubeAnalyticsYoutubeAnalytics](../../models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceYoutubeData.md b/docs/models/shared/SourceYoutubeData.md new file mode 100644 index 000000000..404468bd8 --- /dev/null +++ b/docs/models/shared/SourceYoutubeData.md @@ -0,0 +1,10 @@ +# SourceYoutubeData + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `apiKey` | *String* | :heavy_check_mark: | N/A | +| `channelIds` | List\<*Object*> | :heavy_check_mark: | N/A | +| `sourceType` | [YoutubeData](../../models/shared/YoutubeData.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZapierSupportedStorage.md b/docs/models/shared/SourceZapierSupportedStorage.md new file mode 100644 index 000000000..4bd0e3642 --- /dev/null +++ b/docs/models/shared/SourceZapierSupportedStorage.md @@ -0,0 +1,9 @@ +# SourceZapierSupportedStorage + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `secret` | *String* | :heavy_check_mark: | Secret key supplied by zapier | +| `sourceType` | [ZapierSupportedStorage](../../models/shared/ZapierSupportedStorage.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskChat.md b/docs/models/shared/SourceZendeskChat.md index 798067bde..4037b2adb 100644 --- a/docs/models/shared/SourceZendeskChat.md +++ b/docs/models/shared/SourceZendeskChat.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceZendeskChatAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | -| `sourceType` | [com.airbyte.api.models.shared.SourceZendeskChatZendeskChat](../../models/shared/SourceZendeskChatZendeskChat.md) | :heavy_check_mark: | N/A | | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for Zendesk Chat API, in the format YYYY-MM-DDT00:00:00Z. | 2021-02-01T00:00:00Z | -| `subdomain` | *Optional* | :heavy_minus_sign: | Required if you access Zendesk Chat from a Zendesk Support subdomain. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceZendeskChatAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | +| `sourceType` | [SourceZendeskChatZendeskChat](../../models/shared/SourceZendeskChatZendeskChat.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for Zendesk Chat API, in the format YYYY-MM-DDT00:00:00Z. | 2021-02-01T00:00:00Z | +| `subdomain` | *Optional\* | :heavy_minus_sign: | The unique subdomain of your Zendesk account (without https://). See the Zendesk docs to find your subdomain | myzendeskchat | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskChatAccessToken.md b/docs/models/shared/SourceZendeskChatAccessToken.md index 0cc9de204..542fe81b2 100644 --- a/docs/models/shared/SourceZendeskChatAccessToken.md +++ b/docs/models/shared/SourceZendeskChatAccessToken.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | The Access Token to make authenticated requests. | -| `credentials` | [com.airbyte.api.models.shared.SourceZendeskChatSchemasCredentials](../../models/shared/SourceZendeskChatSchemasCredentials.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | The Access Token to make authenticated requests. | +| `credentials` | [SourceZendeskChatSchemasCredentials](../../models/shared/SourceZendeskChatSchemasCredentials.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskChatOAuth20.md b/docs/models/shared/SourceZendeskChatOAuth20.md index 149d15907..7955ac4ce 100644 --- a/docs/models/shared/SourceZendeskChatOAuth20.md +++ b/docs/models/shared/SourceZendeskChatOAuth20.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *Optional* | :heavy_minus_sign: | Access Token for making authenticated requests. | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your OAuth application | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your OAuth application. | -| `credentials` | [com.airbyte.api.models.shared.SourceZendeskChatCredentials](../../models/shared/SourceZendeskChatCredentials.md) | :heavy_check_mark: | N/A | -| `refreshToken` | *Optional* | :heavy_minus_sign: | Refresh Token to obtain new Access Token, when it's expired. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `accessToken` | *Optional\* | :heavy_minus_sign: | Access Token for making authenticated requests. | +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your OAuth application | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your OAuth application. | +| `credentials` | [SourceZendeskChatCredentials](../../models/shared/SourceZendeskChatCredentials.md) | :heavy_check_mark: | N/A | +| `refreshToken` | *Optional\* | :heavy_minus_sign: | Refresh Token to obtain new Access Token, when it's expired. | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskSunshine.md b/docs/models/shared/SourceZendeskSunshine.md index c5604ac6a..acce0b1ce 100644 --- a/docs/models/shared/SourceZendeskSunshine.md +++ b/docs/models/shared/SourceZendeskSunshine.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SourceZendeskSunshineAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | -| `sourceType` | [com.airbyte.api.models.shared.SourceZendeskSunshineZendeskSunshine](../../models/shared/SourceZendeskSunshineZendeskSunshine.md) | :heavy_check_mark: | N/A | | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for Zendesk Sunshine API, in the format YYYY-MM-DDT00:00:00Z. | 2021-01-01T00:00:00Z | -| `subdomain` | *String* | :heavy_check_mark: | The subdomain for your Zendesk Account. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceZendeskSunshineAuthorizationMethod.md) | :heavy_minus_sign: | N/A | | +| `sourceType` | [ZendeskSunshine](../../models/shared/ZendeskSunshine.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for Zendesk Sunshine API, in the format YYYY-MM-DDT00:00:00Z. | 2021-01-01T00:00:00Z | +| `subdomain` | *String* | :heavy_check_mark: | The subdomain for your Zendesk Account. | | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskSunshineAPIToken.md b/docs/models/shared/SourceZendeskSunshineAPIToken.md index 441400c55..2e1b1dc14 100644 --- a/docs/models/shared/SourceZendeskSunshineAPIToken.md +++ b/docs/models/shared/SourceZendeskSunshineAPIToken.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiToken` | *String* | :heavy_check_mark: | API Token. See the docs for information on how to generate this key. | -| `authMethod` | [Optional](../../models/shared/SourceZendeskSunshineSchemasAuthMethod.md) | :heavy_minus_sign: | N/A | -| `email` | *String* | :heavy_check_mark: | The user email for your Zendesk account | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| `apiToken` | *String* | :heavy_check_mark: | API Token. See the docs for information on how to generate this key. | +| `authMethod` | [Optional\](../../models/shared/SourceZendeskSunshineSchemasAuthMethod.md) | :heavy_minus_sign: | N/A | +| `email` | *String* | :heavy_check_mark: | The user email for your Zendesk account | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskSunshineOAuth20.md b/docs/models/shared/SourceZendeskSunshineOAuth20.md index bd55c6233..8a9389623 100644 --- a/docs/models/shared/SourceZendeskSunshineOAuth20.md +++ b/docs/models/shared/SourceZendeskSunshineOAuth20.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `accessToken` | *String* | :heavy_check_mark: | Long-term access Token for making authenticated requests. | -| `authMethod` | [Optional](../../models/shared/SourceZendeskSunshineAuthMethod.md) | :heavy_minus_sign: | N/A | -| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application. | -| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your OAuth application. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `accessToken` | *String* | :heavy_check_mark: | Long-term access Token for making authenticated requests. | +| `authMethod` | [Optional\](../../models/shared/SourceZendeskSunshineAuthMethod.md) | :heavy_minus_sign: | N/A | +| `clientId` | *String* | :heavy_check_mark: | The Client ID of your OAuth application. | +| `clientSecret` | *String* | :heavy_check_mark: | The Client Secret of your OAuth application. | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskSupport.md b/docs/models/shared/SourceZendeskSupport.md index eae935bfc..b1d50eddd 100644 --- a/docs/models/shared/SourceZendeskSupport.md +++ b/docs/models/shared/SourceZendeskSupport.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | *Optional* | :heavy_minus_sign: | Zendesk allows two authentication methods. We recommend using `OAuth2.0` for Airbyte Cloud users and `API token` for Airbyte Open Source users. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceZendeskSupportZendeskSupport](../../models/shared/SourceZendeskSupportZendeskSupport.md) | :heavy_check_mark: | N/A | | -| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The UTC date and time from which you'd like to replicate data, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2020-10-15T00:00:00Z | -| `subdomain` | *String* | :heavy_check_mark: | This is your unique Zendesk subdomain that can be found in your account URL. For example, in https://MY_SUBDOMAIN.zendesk.com/, MY_SUBDOMAIN is the value of your subdomain. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/SourceZendeskSupportAuthentication.md) | :heavy_minus_sign: | Zendesk allows two authentication methods. We recommend using `OAuth2.0` for Airbyte Cloud users and `API token` for Airbyte Open Source users. | | +| `numWorkers` | *Optional\* | :heavy_minus_sign: | The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Zendesk Support plan. More info about the rate limit plan tiers can be found on Zendesk's API docs. | 1 | +| `sourceType` | [SourceZendeskSupportZendeskSupport](../../models/shared/SourceZendeskSupportZendeskSupport.md) | :heavy_check_mark: | N/A | | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The UTC date and time from which you'd like to replicate data, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2020-10-15T00:00:00Z | +| `subdomain` | *String* | :heavy_check_mark: | This is your unique Zendesk subdomain that can be found in your account URL. For example, in https://MY_SUBDOMAIN.zendesk.com/, MY_SUBDOMAIN is the value of your subdomain. | | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskSupportAPIToken.md b/docs/models/shared/SourceZendeskSupportAPIToken.md new file mode 100644 index 000000000..b90bedab3 --- /dev/null +++ b/docs/models/shared/SourceZendeskSupportAPIToken.md @@ -0,0 +1,11 @@ +# SourceZendeskSupportAPIToken + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `apiToken` | *String* | :heavy_check_mark: | The value of the API token generated. See our full documentation for more information on generating this token. | +| `credentials` | [Optional\](../../models/shared/SourceZendeskSupportSchemasCredentials.md) | :heavy_minus_sign: | N/A | +| `email` | *String* | :heavy_check_mark: | The user email for your Zendesk account. | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskSupportAuthentication.md b/docs/models/shared/SourceZendeskSupportAuthentication.md new file mode 100644 index 000000000..02984c83a --- /dev/null +++ b/docs/models/shared/SourceZendeskSupportAuthentication.md @@ -0,0 +1,4 @@ +# SourceZendeskSupportAuthentication + +Zendesk allows two authentication methods. We recommend using `OAuth2.0` for Airbyte Cloud users and `API token` for Airbyte Open Source users. + diff --git a/docs/models/shared/SourceZendeskSupportCredentials.md b/docs/models/shared/SourceZendeskSupportCredentials.md new file mode 100644 index 000000000..b8db1e69b --- /dev/null +++ b/docs/models/shared/SourceZendeskSupportCredentials.md @@ -0,0 +1,8 @@ +# SourceZendeskSupportCredentials + + +## Values + +| Name | Value | +| --------- | --------- | +| `OAUTH20` | oauth2.0 | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskSupportOAuth20.md b/docs/models/shared/SourceZendeskSupportOAuth20.md new file mode 100644 index 000000000..0dca3801a --- /dev/null +++ b/docs/models/shared/SourceZendeskSupportOAuth20.md @@ -0,0 +1,12 @@ +# SourceZendeskSupportOAuth20 + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `accessToken` | *String* | :heavy_check_mark: | The OAuth access token. See the Zendesk docs for more information on generating this token. | +| `clientId` | *Optional\* | :heavy_minus_sign: | The OAuth client's ID. See this guide for more information. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The OAuth client secret. See this guide for more information. | +| `credentials` | [Optional\](../../models/shared/SourceZendeskSupportCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskSupportSchemasCredentials.md b/docs/models/shared/SourceZendeskSupportSchemasCredentials.md new file mode 100644 index 000000000..71d36eb47 --- /dev/null +++ b/docs/models/shared/SourceZendeskSupportSchemasCredentials.md @@ -0,0 +1,8 @@ +# SourceZendeskSupportSchemasCredentials + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `API_TOKEN` | api_token | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskTalk.md b/docs/models/shared/SourceZendeskTalk.md index 4fb8b8add..cebe34af3 100644 --- a/docs/models/shared/SourceZendeskTalk.md +++ b/docs/models/shared/SourceZendeskTalk.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | *Optional* | :heavy_minus_sign: | Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. | | -| `sourceType` | [com.airbyte.api.models.shared.SourceZendeskTalkZendeskTalk](../../models/shared/SourceZendeskTalkZendeskTalk.md) | :heavy_check_mark: | N/A | | +| `credentials` | [Optional\](../../models/shared/SourceZendeskTalkAuthentication.md) | :heavy_minus_sign: | Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. | | +| `sourceType` | [SourceZendeskTalkZendeskTalk](../../models/shared/SourceZendeskTalkZendeskTalk.md) | :heavy_check_mark: | N/A | | | `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date from which you'd like to replicate data for Zendesk Talk API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2020-10-15T00:00:00Z | | `subdomain` | *String* | :heavy_check_mark: | This is your Zendesk subdomain that can be found in your account URL. For example, in https://{MY_SUBDOMAIN}.zendesk.com/, where MY_SUBDOMAIN is the value of your subdomain. | | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskTalkAPIToken.md b/docs/models/shared/SourceZendeskTalkAPIToken.md new file mode 100644 index 000000000..729a55216 --- /dev/null +++ b/docs/models/shared/SourceZendeskTalkAPIToken.md @@ -0,0 +1,11 @@ +# SourceZendeskTalkAPIToken + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `apiToken` | *String* | :heavy_check_mark: | The value of the API token generated. See the docs for more information. | +| `authType` | [Optional\](../../models/shared/SourceZendeskTalkSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `email` | *String* | :heavy_check_mark: | The user email for your Zendesk account. | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskTalkAuthType.md b/docs/models/shared/SourceZendeskTalkAuthType.md new file mode 100644 index 000000000..3f276aaaa --- /dev/null +++ b/docs/models/shared/SourceZendeskTalkAuthType.md @@ -0,0 +1,8 @@ +# SourceZendeskTalkAuthType + + +## Values + +| Name | Value | +| --------- | --------- | +| `OAUTH20` | oauth2.0 | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskTalkAuthentication.md b/docs/models/shared/SourceZendeskTalkAuthentication.md new file mode 100644 index 000000000..138038f54 --- /dev/null +++ b/docs/models/shared/SourceZendeskTalkAuthentication.md @@ -0,0 +1,4 @@ +# SourceZendeskTalkAuthentication + +Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. + diff --git a/docs/models/shared/SourceZendeskTalkOAuth20.md b/docs/models/shared/SourceZendeskTalkOAuth20.md new file mode 100644 index 000000000..19d0802d5 --- /dev/null +++ b/docs/models/shared/SourceZendeskTalkOAuth20.md @@ -0,0 +1,12 @@ +# SourceZendeskTalkOAuth20 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `accessToken` | *String* | :heavy_check_mark: | The value of the API token generated. See the docs for more information. | +| `authType` | [Optional\](../../models/shared/SourceZendeskTalkAuthType.md) | :heavy_minus_sign: | N/A | +| `clientId` | *Optional\* | :heavy_minus_sign: | Client ID | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret | \ No newline at end of file diff --git a/docs/models/shared/SourceZendeskTalkSchemasAuthType.md b/docs/models/shared/SourceZendeskTalkSchemasAuthType.md new file mode 100644 index 000000000..987135537 --- /dev/null +++ b/docs/models/shared/SourceZendeskTalkSchemasAuthType.md @@ -0,0 +1,8 @@ +# SourceZendeskTalkSchemasAuthType + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `API_TOKEN` | api_token | \ No newline at end of file diff --git a/docs/models/shared/SourceZenefits.md b/docs/models/shared/SourceZenefits.md new file mode 100644 index 000000000..6d2aecb7a --- /dev/null +++ b/docs/models/shared/SourceZenefits.md @@ -0,0 +1,9 @@ +# SourceZenefits + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `sourceType` | [Zenefits](../../models/shared/Zenefits.md) | :heavy_check_mark: | N/A | +| `token` | *String* | :heavy_check_mark: | Use Sync with Zenefits button on the link given on the readme file, and get the token to access the api | \ No newline at end of file diff --git a/docs/models/shared/SourceZenloop.md b/docs/models/shared/SourceZenloop.md index 0eca5f239..142346914 100644 --- a/docs/models/shared/SourceZenloop.md +++ b/docs/models/shared/SourceZenloop.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | `apiToken` | *String* | :heavy_check_mark: | Zenloop API Token. You can get the API token in settings page here | | -| `dateFrom` | *Optional* | :heavy_minus_sign: | Zenloop date_from. Format: 2021-10-24T03:30:30Z or 2021-10-24. Leave empty if only data from current data should be synced | 2021-10-24T03:30:30Z | -| `sourceType` | [com.airbyte.api.models.shared.Zenloop](../../models/shared/Zenloop.md) | :heavy_check_mark: | N/A | | -| `surveyGroupId` | *Optional* | :heavy_minus_sign: | Zenloop Survey Group ID. Can be found by pulling All Survey Groups via SurveyGroups stream. Leave empty to pull answers from all survey groups | | -| `surveyId` | *Optional* | :heavy_minus_sign: | Zenloop Survey ID. Can be found here. Leave empty to pull answers from all surveys | | \ No newline at end of file +| `dateFrom` | *Optional\* | :heavy_minus_sign: | Zenloop date_from. Format: 2021-10-24T03:30:30Z or 2021-10-24. Leave empty if only data from current data should be synced | 2021-10-24T03:30:30Z | +| `sourceType` | [Zenloop](../../models/shared/Zenloop.md) | :heavy_check_mark: | N/A | | +| `surveyGroupId` | *Optional\* | :heavy_minus_sign: | Zenloop Survey Group ID. Can be found by pulling All Survey Groups via SurveyGroups stream. Leave empty to pull answers from all survey groups | | +| `surveyId` | *Optional\* | :heavy_minus_sign: | Zenloop Survey ID. Can be found here. Leave empty to pull answers from all surveys | | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoAnalyticsMetadataApi.md b/docs/models/shared/SourceZohoAnalyticsMetadataApi.md new file mode 100644 index 000000000..3c60ecfb5 --- /dev/null +++ b/docs/models/shared/SourceZohoAnalyticsMetadataApi.md @@ -0,0 +1,13 @@ +# SourceZohoAnalyticsMetadataApi + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `dataCenter` | [Optional\](../../models/shared/SourceZohoAnalyticsMetadataApiDataCenter.md) | :heavy_minus_sign: | N/A | +| `orgId` | *double* | :heavy_check_mark: | N/A | +| `refreshToken` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [ZohoAnalyticsMetadataApi](../../models/shared/ZohoAnalyticsMetadataApi.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.md b/docs/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.md new file mode 100644 index 000000000..1b23969a8 --- /dev/null +++ b/docs/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.md @@ -0,0 +1,13 @@ +# SourceZohoAnalyticsMetadataApiDataCenter + + +## Values + +| Name | Value | +| -------- | -------- | +| `COM` | com | +| `EU` | eu | +| `IN` | in | +| `COM_AU` | com.au | +| `COM_CN` | com.cn | +| `JP` | jp | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoBigin.md b/docs/models/shared/SourceZohoBigin.md new file mode 100644 index 000000000..8671cd95b --- /dev/null +++ b/docs/models/shared/SourceZohoBigin.md @@ -0,0 +1,13 @@ +# SourceZohoBigin + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `dataCenter` | [Optional\](../../models/shared/SourceZohoBiginDataCenter.md) | :heavy_minus_sign: | The data center where the Bigin account's resources are hosted | +| `moduleName` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [ZohoBigin](../../models/shared/ZohoBigin.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoBiginDataCenter.md b/docs/models/shared/SourceZohoBiginDataCenter.md new file mode 100644 index 000000000..bd2d13740 --- /dev/null +++ b/docs/models/shared/SourceZohoBiginDataCenter.md @@ -0,0 +1,15 @@ +# SourceZohoBiginDataCenter + +The data center where the Bigin account's resources are hosted + + +## Values + +| Name | Value | +| -------- | -------- | +| `COM` | com | +| `COM_AU` | com.au | +| `EU` | eu | +| `IN` | in | +| `COM_CN` | com.cn | +| `JP` | jp | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoBilling.md b/docs/models/shared/SourceZohoBilling.md new file mode 100644 index 000000000..0de4a7574 --- /dev/null +++ b/docs/models/shared/SourceZohoBilling.md @@ -0,0 +1,12 @@ +# SourceZohoBilling + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `refreshToken` | *String* | :heavy_check_mark: | N/A | +| `region` | [SourceZohoBillingRegion](../../models/shared/SourceZohoBillingRegion.md) | :heavy_check_mark: | N/A | +| `sourceType` | [ZohoBilling](../../models/shared/ZohoBilling.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoBillingRegion.md b/docs/models/shared/SourceZohoBillingRegion.md new file mode 100644 index 000000000..8eb085c5e --- /dev/null +++ b/docs/models/shared/SourceZohoBillingRegion.md @@ -0,0 +1,15 @@ +# SourceZohoBillingRegion + + +## Values + +| Name | Value | +| -------- | -------- | +| `COM` | com | +| `EU` | eu | +| `IN` | in | +| `COM_CN` | com.cn | +| `COM_AU` | com.au | +| `JP` | jp | +| `SA` | sa | +| `CA` | ca | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoBooks.md b/docs/models/shared/SourceZohoBooks.md new file mode 100644 index 000000000..7284eef22 --- /dev/null +++ b/docs/models/shared/SourceZohoBooks.md @@ -0,0 +1,13 @@ +# SourceZohoBooks + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `refreshToken` | *String* | :heavy_check_mark: | N/A | +| `region` | [SourceZohoBooksRegion](../../models/shared/SourceZohoBooksRegion.md) | :heavy_check_mark: | The region code for the Zoho Books API, such as 'com', 'eu', 'in', etc. | +| `sourceType` | [ZohoBooks](../../models/shared/ZohoBooks.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoBooksRegion.md b/docs/models/shared/SourceZohoBooksRegion.md new file mode 100644 index 000000000..7a898fb39 --- /dev/null +++ b/docs/models/shared/SourceZohoBooksRegion.md @@ -0,0 +1,17 @@ +# SourceZohoBooksRegion + +The region code for the Zoho Books API, such as 'com', 'eu', 'in', etc. + + +## Values + +| Name | Value | +| -------- | -------- | +| `COM` | com | +| `EU` | eu | +| `IN` | in | +| `COM_CN` | com.cn | +| `COM_AU` | com.au | +| `JP` | jp | +| `SA` | sa | +| `CA` | ca | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoCampaign.md b/docs/models/shared/SourceZohoCampaign.md new file mode 100644 index 000000000..f35e06f72 --- /dev/null +++ b/docs/models/shared/SourceZohoCampaign.md @@ -0,0 +1,12 @@ +# SourceZohoCampaign + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `clientId2` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken` | *String* | :heavy_check_mark: | N/A | +| `clientSecret2` | *String* | :heavy_check_mark: | N/A | +| `dataCenter` | [SourceZohoCampaignDataCenter](../../models/shared/SourceZohoCampaignDataCenter.md) | :heavy_check_mark: | N/A | +| `sourceType` | [ZohoCampaign](../../models/shared/ZohoCampaign.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoCampaignDataCenter.md b/docs/models/shared/SourceZohoCampaignDataCenter.md new file mode 100644 index 000000000..53958e31f --- /dev/null +++ b/docs/models/shared/SourceZohoCampaignDataCenter.md @@ -0,0 +1,13 @@ +# SourceZohoCampaignDataCenter + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `COM` | com | +| `EU` | eu | +| `IN` | in | +| `COM_AU` | com.au | +| `DOT_JP` | .jp | +| `DOT_COM_CN` | .com.cn | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoCrm.md b/docs/models/shared/SourceZohoCrm.md index 8c3e7d456..267a9b347 100644 --- a/docs/models/shared/SourceZohoCrm.md +++ b/docs/models/shared/SourceZohoCrm.md @@ -7,9 +7,9 @@ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | `clientId` | *String* | :heavy_check_mark: | OAuth2.0 Client ID | | | `clientSecret` | *String* | :heavy_check_mark: | OAuth2.0 Client Secret | | -| `dcRegion` | [com.airbyte.api.models.shared.DataCenterLocation](../../models/shared/DataCenterLocation.md) | :heavy_check_mark: | Please choose the region of your Data Center location. More info by this Link | | -| `edition` | [Optional](../../models/shared/ZohoCRMEdition.md) | :heavy_minus_sign: | Choose your Edition of Zoho CRM to determine API Concurrency Limits | | -| `environment` | [com.airbyte.api.models.shared.SourceZohoCrmEnvironment](../../models/shared/SourceZohoCrmEnvironment.md) | :heavy_check_mark: | Please choose the environment | | +| `dcRegion` | [DataCenterLocation](../../models/shared/DataCenterLocation.md) | :heavy_check_mark: | Please choose the region of your Data Center location. More info by this Link | | +| `edition` | [Optional\](../../models/shared/ZohoCRMEdition.md) | :heavy_minus_sign: | Choose your Edition of Zoho CRM to determine API Concurrency Limits | | +| `environment` | [SourceZohoCrmEnvironment](../../models/shared/SourceZohoCrmEnvironment.md) | :heavy_check_mark: | Please choose the environment | | | `refreshToken` | *String* | :heavy_check_mark: | OAuth2.0 Refresh Token | | -| `sourceType` | [com.airbyte.api.models.shared.ZohoCrm](../../models/shared/ZohoCrm.md) | :heavy_check_mark: | N/A | | +| `sourceType` | [ZohoCrm](../../models/shared/ZohoCrm.md) | :heavy_check_mark: | N/A | | | `startDatetime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | ISO 8601, for instance: `YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS+HH:MM` | 2000-01-01 | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoDesk.md b/docs/models/shared/SourceZohoDesk.md new file mode 100644 index 000000000..b0c263914 --- /dev/null +++ b/docs/models/shared/SourceZohoDesk.md @@ -0,0 +1,13 @@ +# SourceZohoDesk + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `includeCustomDomain` | *Optional\* | :heavy_minus_sign: | N/A | +| `refreshToken` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [ZohoDesk](../../models/shared/ZohoDesk.md) | :heavy_check_mark: | N/A | +| `tokenRefreshEndpoint` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoExpense.md b/docs/models/shared/SourceZohoExpense.md new file mode 100644 index 000000000..78ea4301f --- /dev/null +++ b/docs/models/shared/SourceZohoExpense.md @@ -0,0 +1,12 @@ +# SourceZohoExpense + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `dataCenter` | [Optional\](../../models/shared/SourceZohoExpenseDataCenter.md) | :heavy_minus_sign: | The domain suffix for the Zoho Expense API based on your data center location (e.g., 'com', 'eu', 'in', etc.) | +| `refreshToken` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [ZohoExpense](../../models/shared/ZohoExpense.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoExpenseDataCenter.md b/docs/models/shared/SourceZohoExpenseDataCenter.md new file mode 100644 index 000000000..013f1c15a --- /dev/null +++ b/docs/models/shared/SourceZohoExpenseDataCenter.md @@ -0,0 +1,17 @@ +# SourceZohoExpenseDataCenter + +The domain suffix for the Zoho Expense API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + + +## Values + +| Name | Value | +| -------- | -------- | +| `COM` | com | +| `IN` | in | +| `JP` | jp | +| `CA` | ca | +| `COM_CN` | com.cn | +| `SA` | sa | +| `COM_AU` | com.au | +| `EU` | eu | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoInventory.md b/docs/models/shared/SourceZohoInventory.md new file mode 100644 index 000000000..a5b940aa0 --- /dev/null +++ b/docs/models/shared/SourceZohoInventory.md @@ -0,0 +1,13 @@ +# SourceZohoInventory + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `domain` | [Optional\](../../models/shared/Domain.md) | :heavy_minus_sign: | The domain suffix for the Zoho Inventory API based on your data center location (e.g., 'com', 'eu', 'in', etc.) | +| `refreshToken` | *String* | :heavy_check_mark: | N/A | +| `sourceType` | [ZohoInventory](../../models/shared/ZohoInventory.md) | :heavy_check_mark: | N/A | +| `startDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoInvoice.md b/docs/models/shared/SourceZohoInvoice.md new file mode 100644 index 000000000..a5bb841dc --- /dev/null +++ b/docs/models/shared/SourceZohoInvoice.md @@ -0,0 +1,13 @@ +# SourceZohoInvoice + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `clientId` | *String* | :heavy_check_mark: | N/A | +| `clientRefreshToken` | *String* | :heavy_check_mark: | N/A | +| `clientSecret` | *String* | :heavy_check_mark: | N/A | +| `organizationId` | *Optional\* | :heavy_minus_sign: | To be provided if a user belongs to multiple organizations | +| `region` | [SourceZohoInvoiceRegion](../../models/shared/SourceZohoInvoiceRegion.md) | :heavy_check_mark: | N/A | +| `sourceType` | [ZohoInvoice](../../models/shared/ZohoInvoice.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZohoInvoiceRegion.md b/docs/models/shared/SourceZohoInvoiceRegion.md new file mode 100644 index 000000000..a3f4c17cc --- /dev/null +++ b/docs/models/shared/SourceZohoInvoiceRegion.md @@ -0,0 +1,15 @@ +# SourceZohoInvoiceRegion + + +## Values + +| Name | Value | +| -------- | -------- | +| `COM` | com | +| `EU` | eu | +| `IN` | in | +| `COM_CN` | com.cn | +| `COM_AU` | com.au | +| `JP` | jp | +| `SA` | sa | +| `CA` | ca | \ No newline at end of file diff --git a/docs/models/shared/SourceZonkaFeedback.md b/docs/models/shared/SourceZonkaFeedback.md new file mode 100644 index 000000000..65b8e0536 --- /dev/null +++ b/docs/models/shared/SourceZonkaFeedback.md @@ -0,0 +1,10 @@ +# SourceZonkaFeedback + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `authToken` | *String* | :heavy_check_mark: | Auth token to use. Generate it by navigating to Company Settings > Developers > API in your Zonka Feedback account. | +| `datacenter` | [DataCenterID](../../models/shared/DataCenterID.md) | :heavy_check_mark: | The identifier for the data center, such as 'us1' or 'e' for EU. | +| `sourceType` | [ZonkaFeedback](../../models/shared/ZonkaFeedback.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourceZoom.md b/docs/models/shared/SourceZoom.md index 75e7ee368..c6dcfc9d2 100644 --- a/docs/models/shared/SourceZoom.md +++ b/docs/models/shared/SourceZoom.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | | `accountId` | *String* | :heavy_check_mark: | The account ID for your Zoom account. You can find this in the Zoom Marketplace under the "Manage" tab for your app. | -| `authorizationEndpoint` | *Optional* | :heavy_minus_sign: | N/A | +| `authorizationEndpoint` | *Optional\* | :heavy_minus_sign: | N/A | | `clientId` | *String* | :heavy_check_mark: | The client ID for your Zoom app. You can find this in the Zoom Marketplace under the "Manage" tab for your app. | | `clientSecret` | *String* | :heavy_check_mark: | The client secret for your Zoom app. You can find this in the Zoom Marketplace under the "Manage" tab for your app. | -| `sourceType` | [com.airbyte.api.models.shared.Zoom](../../models/shared/Zoom.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `sourceType` | [Zoom](../../models/shared/Zoom.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SourcesResponse.md b/docs/models/shared/SourcesResponse.md index 6de915f14..a614492ae 100644 --- a/docs/models/shared/SourcesResponse.md +++ b/docs/models/shared/SourcesResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `data` | List<[com.airbyte.api.models.shared.SourceResponse](../../models/shared/SourceResponse.md)> | :heavy_check_mark: | N/A | -| `next` | *Optional* | :heavy_minus_sign: | N/A | -| `previous` | *Optional* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `data` | List\<[SourceResponse](../../models/shared/SourceResponse.md)> | :heavy_check_mark: | N/A | +| `next` | *Optional\* | :heavy_minus_sign: | N/A | +| `previous` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Sparkpost.md b/docs/models/shared/Sparkpost.md new file mode 100644 index 000000000..47d757781 --- /dev/null +++ b/docs/models/shared/Sparkpost.md @@ -0,0 +1,8 @@ +# Sparkpost + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `SPARKPOST` | sparkpost | \ No newline at end of file diff --git a/docs/models/shared/SplitIo.md b/docs/models/shared/SplitIo.md new file mode 100644 index 000000000..b7ee3f847 --- /dev/null +++ b/docs/models/shared/SplitIo.md @@ -0,0 +1,8 @@ +# SplitIo + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `SPLIT_IO` | split-io | \ No newline at end of file diff --git a/docs/models/shared/Spotlercrm.md b/docs/models/shared/Spotlercrm.md new file mode 100644 index 000000000..1c37d9f4d --- /dev/null +++ b/docs/models/shared/Spotlercrm.md @@ -0,0 +1,8 @@ +# Spotlercrm + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `SPOTLERCRM` | spotlercrm | \ No newline at end of file diff --git a/docs/models/shared/Square.md b/docs/models/shared/Square.md index 821f7321f..ea111e904 100644 --- a/docs/models/shared/Square.md +++ b/docs/models/shared/Square.md @@ -1,8 +1,8 @@ # Square -## Fields +## Values -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SquareCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Name | Value | +| -------- | -------- | +| `SQUARE` | square | \ No newline at end of file diff --git a/docs/models/shared/SquareCredentials.md b/docs/models/shared/SquareCredentials.md deleted file mode 100644 index 81a34ab22..000000000 --- a/docs/models/shared/SquareCredentials.md +++ /dev/null @@ -1,9 +0,0 @@ -# SquareCredentials - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Square-issued ID of your application | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Square-issued application secret for your application | \ No newline at end of file diff --git a/docs/models/shared/Squarespace.md b/docs/models/shared/Squarespace.md new file mode 100644 index 000000000..f83996b00 --- /dev/null +++ b/docs/models/shared/Squarespace.md @@ -0,0 +1,8 @@ +# Squarespace + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `SQUARESPACE` | squarespace | \ No newline at end of file diff --git a/docs/models/shared/StandaloneMongoDbInstance.md b/docs/models/shared/StandaloneMongoDbInstance.md index f7532babc..f5369226c 100644 --- a/docs/models/shared/StandaloneMongoDbInstance.md +++ b/docs/models/shared/StandaloneMongoDbInstance.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `host` | *String* | :heavy_check_mark: | The Host of a Mongo database to be replicated. | | -| `instance` | [Optional](../../models/shared/Instance.md) | :heavy_minus_sign: | N/A | | -| `port` | *Optional* | :heavy_minus_sign: | The Port of a Mongo database to be replicated. | 27017 | -| `tls` | *Optional* | :heavy_minus_sign: | Indicates whether TLS encryption protocol will be used to connect to MongoDB. It is recommended to use TLS connection if possible. For more information see documentation. | | \ No newline at end of file +| `instance` | [Optional\](../../models/shared/Instance.md) | :heavy_minus_sign: | N/A | | +| `port` | *Optional\* | :heavy_minus_sign: | The Port of a Mongo database to be replicated. | 27017 | +| `tls` | *Optional\* | :heavy_minus_sign: | Indicates whether TLS encryption protocol will be used to connect to MongoDB. It is recommended to use TLS connection if possible. For more information see documentation. | | \ No newline at end of file diff --git a/docs/models/shared/StateFilter.md b/docs/models/shared/StateFilterEnum.md similarity index 81% rename from docs/models/shared/StateFilter.md rename to docs/models/shared/StateFilterEnum.md index ad988aee6..c2e157531 100644 --- a/docs/models/shared/StateFilter.md +++ b/docs/models/shared/StateFilterEnum.md @@ -1,4 +1,6 @@ -# StateFilter +# StateFilterEnum + +An enumeration. ## Values diff --git a/docs/models/shared/StatisticsInterval.md b/docs/models/shared/StatisticsInterval.md new file mode 100644 index 000000000..a8f246881 --- /dev/null +++ b/docs/models/shared/StatisticsInterval.md @@ -0,0 +1,12 @@ +# StatisticsInterval + +Periodicity of statistics returned. it may be daily(P1D), weekly(P1W) or monthly(P1M). + + +## Values + +| Name | Value | +| ------ | ------ | +| `P1_D` | P1D | +| `P1_W` | P1W | +| `P1_M` | P1M | \ No newline at end of file diff --git a/docs/models/shared/Statsig.md b/docs/models/shared/Statsig.md new file mode 100644 index 000000000..d4023b5d8 --- /dev/null +++ b/docs/models/shared/Statsig.md @@ -0,0 +1,8 @@ +# Statsig + + +## Values + +| Name | Value | +| --------- | --------- | +| `STATSIG` | statsig | \ No newline at end of file diff --git a/docs/models/shared/Statuspage.md b/docs/models/shared/Statuspage.md new file mode 100644 index 000000000..126c8acce --- /dev/null +++ b/docs/models/shared/Statuspage.md @@ -0,0 +1,8 @@ +# Statuspage + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `STATUSPAGE` | statuspage | \ No newline at end of file diff --git a/docs/models/shared/Stockdata.md b/docs/models/shared/Stockdata.md new file mode 100644 index 000000000..b7c8cee08 --- /dev/null +++ b/docs/models/shared/Stockdata.md @@ -0,0 +1,8 @@ +# Stockdata + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `STOCKDATA` | stockdata | \ No newline at end of file diff --git a/docs/models/shared/StorageConfig.md b/docs/models/shared/StorageConfig.md new file mode 100644 index 000000000..4ae5c3a39 --- /dev/null +++ b/docs/models/shared/StorageConfig.md @@ -0,0 +1,4 @@ +# StorageConfig + +Storage config of Iceberg. + diff --git a/docs/models/shared/StorageType.md b/docs/models/shared/StorageType.md new file mode 100644 index 000000000..47e50aa71 --- /dev/null +++ b/docs/models/shared/StorageType.md @@ -0,0 +1,8 @@ +# StorageType + + +## Values + +| Name | Value | +| ----- | ----- | +| `S3` | S3 | \ No newline at end of file diff --git a/docs/models/shared/StreamConfiguration.md b/docs/models/shared/StreamConfiguration.md index 7ff242068..15d904313 100644 --- a/docs/models/shared/StreamConfiguration.md +++ b/docs/models/shared/StreamConfiguration.md @@ -7,8 +7,9 @@ Configurations for a single stream. | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `cursorField` | List<*String*> | :heavy_minus_sign: | Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if `sync_mode` is `incremental` unless there is a default. | +| `cursorField` | List\<*String*> | :heavy_minus_sign: | Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if `sync_mode` is `incremental` unless there is a default. | +| `mappers` | List\<[ConfiguredStreamMapper](../../models/shared/ConfiguredStreamMapper.md)> | :heavy_minus_sign: | Mappers that should be applied to the stream before writing to the destination. | | `name` | *String* | :heavy_check_mark: | N/A | -| `primaryKey` | List> | :heavy_minus_sign: | Paths to the fields that will be used as primary key. This field is REQUIRED if `destination_sync_mode` is `*_dedup` unless it is already supplied by the source schema. | -| `selectedFields` | List<[com.airbyte.api.models.shared.SelectedFieldInfo](../../models/shared/SelectedFieldInfo.md)> | :heavy_minus_sign: | Paths to the fields that will be included in the configured catalog. | -| `syncMode` | [Optional](../../models/shared/ConnectionSyncModeEnum.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `primaryKey` | List\> | :heavy_minus_sign: | Paths to the fields that will be used as primary key. This field is REQUIRED if `destination_sync_mode` is `*_dedup` unless it is already supplied by the source schema. | +| `selectedFields` | List\<[SelectedFieldInfo](../../models/shared/SelectedFieldInfo.md)> | :heavy_minus_sign: | Paths to the fields that will be included in the configured catalog. | +| `syncMode` | [Optional\](../../models/shared/ConnectionSyncModeEnum.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/StreamConfigurations.md b/docs/models/shared/StreamConfigurations.md index 5b828573d..688f8b5c3 100644 --- a/docs/models/shared/StreamConfigurations.md +++ b/docs/models/shared/StreamConfigurations.md @@ -5,6 +5,6 @@ A list of configured stream options for a connection. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `streams` | List<[com.airbyte.api.models.shared.StreamConfiguration](../../models/shared/StreamConfiguration.md)> | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `streams` | List\<[StreamConfiguration](../../models/shared/StreamConfiguration.md)> | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/StreamMapperType.md b/docs/models/shared/StreamMapperType.md new file mode 100644 index 000000000..535eb1a77 --- /dev/null +++ b/docs/models/shared/StreamMapperType.md @@ -0,0 +1,11 @@ +# StreamMapperType + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `HASHING` | hashing | +| `FIELD_RENAMING` | field-renaming | +| `ROW_FILTERING` | row-filtering | +| `ENCRYPTION` | encryption | \ No newline at end of file diff --git a/docs/models/shared/StreamProperties.md b/docs/models/shared/StreamProperties.md index e0fbcb7f0..dd9a079c0 100644 --- a/docs/models/shared/StreamProperties.md +++ b/docs/models/shared/StreamProperties.md @@ -5,11 +5,11 @@ The stream properties associated with a connection. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `defaultCursorField` | List<*String*> | :heavy_minus_sign: | N/A | -| `propertyFields` | List> | :heavy_minus_sign: | N/A | -| `sourceDefinedCursorField` | *Optional* | :heavy_minus_sign: | N/A | -| `sourceDefinedPrimaryKey` | List> | :heavy_minus_sign: | N/A | -| `streamName` | *Optional* | :heavy_minus_sign: | N/A | -| `syncModes` | List<[com.airbyte.api.models.shared.ConnectionSyncModeEnum](../../models/shared/ConnectionSyncModeEnum.md)> | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `defaultCursorField` | List\<*String*> | :heavy_minus_sign: | N/A | +| `propertyFields` | List\> | :heavy_minus_sign: | N/A | +| `sourceDefinedCursorField` | *Optional\* | :heavy_minus_sign: | N/A | +| `sourceDefinedPrimaryKey` | List\> | :heavy_minus_sign: | N/A | +| `streamName` | *Optional\* | :heavy_minus_sign: | N/A | +| `syncModes` | List\<[ConnectionSyncModeEnum](../../models/shared/ConnectionSyncModeEnum.md)> | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/StreamsCriteria.md b/docs/models/shared/StreamsCriteria.md index 98bbbcb5e..fe40db5d6 100644 --- a/docs/models/shared/StreamsCriteria.md +++ b/docs/models/shared/StreamsCriteria.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `criteria` | [Optional](../../models/shared/SearchCriteria.md) | :heavy_minus_sign: | N/A | -| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `criteria` | [Optional\](../../models/shared/SearchCriteria.md) | :heavy_minus_sign: | N/A | +| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/StringFilter.md b/docs/models/shared/StringFilter.md index df85af02a..4bca8a015 100644 --- a/docs/models/shared/StringFilter.md +++ b/docs/models/shared/StringFilter.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `caseSensitive` | *Optional* | :heavy_minus_sign: | N/A | -| `filterName` | [com.airbyte.api.models.shared.FilterName](../../models/shared/FilterName.md) | :heavy_check_mark: | N/A | -| `matchType` | List<[com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiValidEnums.md)> | :heavy_minus_sign: | N/A | -| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `caseSensitive` | *Optional\* | :heavy_minus_sign: | N/A | +| `filterName` | [FilterName](../../models/shared/FilterName.md) | :heavy_check_mark: | N/A | +| `matchType` | List\<[SourceGoogleAnalyticsDataApiValidEnums](../../models/shared/SourceGoogleAnalyticsDataApiValidEnums.md)> | :heavy_minus_sign: | N/A | +| `value` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SurveyMonkeyAuthorizationMethod.md b/docs/models/shared/SurveyMonkeyAuthorizationMethod.md index b8d21b322..7bafb8f6c 100644 --- a/docs/models/shared/SurveyMonkeyAuthorizationMethod.md +++ b/docs/models/shared/SurveyMonkeyAuthorizationMethod.md @@ -8,6 +8,6 @@ The authorization method to use to retrieve data from SurveyMonkey | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `accessToken` | *String* | :heavy_check_mark: | Access Token for making authenticated requests. See the docs for information on how to generate this key. | -| `authMethod` | [com.airbyte.api.models.shared.SourceSurveymonkeyAuthMethod](../../models/shared/SourceSurveymonkeyAuthMethod.md) | :heavy_check_mark: | N/A | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of the SurveyMonkey developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of the SurveyMonkey developer application. | \ No newline at end of file +| `authMethod` | [SourceSurveymonkeyAuthMethod](../../models/shared/SourceSurveymonkeyAuthMethod.md) | :heavy_check_mark: | N/A | +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of the SurveyMonkey developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of the SurveyMonkey developer application. | \ No newline at end of file diff --git a/docs/models/shared/Surveymonkey.md b/docs/models/shared/Surveymonkey.md index e1eae6722..d8dbc6a4d 100644 --- a/docs/models/shared/Surveymonkey.md +++ b/docs/models/shared/Surveymonkey.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/SurveymonkeyCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/SurveymonkeyCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/SurveymonkeyCredentials.md b/docs/models/shared/SurveymonkeyCredentials.md index c34627a30..f4f0ea6dd 100644 --- a/docs/models/shared/SurveymonkeyCredentials.md +++ b/docs/models/shared/SurveymonkeyCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of the SurveyMonkey developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of the SurveyMonkey developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of the SurveyMonkey developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of the SurveyMonkey developer application. | \ No newline at end of file diff --git a/docs/models/shared/SystemIDSID.md b/docs/models/shared/SystemIDSID.md index 7faeba70d..ce3d0b195 100644 --- a/docs/models/shared/SystemIDSID.md +++ b/docs/models/shared/SystemIDSID.md @@ -5,7 +5,7 @@ Use SID (Oracle System Identifier) ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `connectionType` | [Optional](../../models/shared/SourceOracleConnectionType.md) | :heavy_minus_sign: | N/A | -| `sid` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `connectionType` | [Optional\](../../models/shared/SourceOracleConnectionType.md) | :heavy_minus_sign: | N/A | +| `sid` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Systeme.md b/docs/models/shared/Systeme.md new file mode 100644 index 000000000..bc5eac741 --- /dev/null +++ b/docs/models/shared/Systeme.md @@ -0,0 +1,8 @@ +# Systeme + + +## Values + +| Name | Value | +| --------- | --------- | +| `SYSTEME` | systeme | \ No newline at end of file diff --git a/docs/models/shared/TLSEncryptedVerifyCertificate.md b/docs/models/shared/TLSEncryptedVerifyCertificate.md index 5b008b150..040fc8ac2 100644 --- a/docs/models/shared/TLSEncryptedVerifyCertificate.md +++ b/docs/models/shared/TLSEncryptedVerifyCertificate.md @@ -5,7 +5,7 @@ Verify and use the certificate provided by the server. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `encryptionMethod` | [Optional](../../models/shared/DestinationOracleSchemasEncryptionMethod.md) | :heavy_minus_sign: | N/A | -| `sslCertificate` | *String* | :heavy_check_mark: | Privacy Enhanced Mail (PEM) files are concatenated certificate containers frequently used in certificate installations. | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `encryptionMethod` | [Optional\](../../models/shared/DestinationOracleSchemasEncryptionMethod.md) | :heavy_minus_sign: | N/A | +| `sslCertificate` | *String* | :heavy_check_mark: | Privacy Enhanced Mail (PEM) files are concatenated certificate containers frequently used in certificate installations. | \ No newline at end of file diff --git a/docs/models/shared/Taboola.md b/docs/models/shared/Taboola.md new file mode 100644 index 000000000..13064a00c --- /dev/null +++ b/docs/models/shared/Taboola.md @@ -0,0 +1,8 @@ +# Taboola + + +## Values + +| Name | Value | +| --------- | --------- | +| `TABOOLA` | taboola | \ No newline at end of file diff --git a/docs/models/shared/Teamtailor.md b/docs/models/shared/Teamtailor.md new file mode 100644 index 000000000..4a98c9a4f --- /dev/null +++ b/docs/models/shared/Teamtailor.md @@ -0,0 +1,8 @@ +# Teamtailor + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `TEAMTAILOR` | teamtailor | \ No newline at end of file diff --git a/docs/models/shared/TechnicalIndicatorType.md b/docs/models/shared/TechnicalIndicatorType.md new file mode 100644 index 000000000..9b2eb5399 --- /dev/null +++ b/docs/models/shared/TechnicalIndicatorType.md @@ -0,0 +1,17 @@ +# TechnicalIndicatorType + +One of DEMA, EMA, SMA, WMA, RSI, TEMA, Williams, ADX + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `DEMA` | DEMA | +| `EMA` | EMA | +| `SMA` | SMA | +| `WMA` | WMA | +| `RSI` | RSI | +| `TEMA` | TEMA | +| `WILLIAMS` | Williams | +| `ADX` | ADX | \ No newline at end of file diff --git a/docs/models/shared/TestDestination.md b/docs/models/shared/TestDestination.md new file mode 100644 index 000000000..0cb393709 --- /dev/null +++ b/docs/models/shared/TestDestination.md @@ -0,0 +1,4 @@ +# TestDestination + +The type of destination to be used + diff --git a/docs/models/shared/TestDestinationType.md b/docs/models/shared/TestDestinationType.md new file mode 100644 index 000000000..2ad56cb2c --- /dev/null +++ b/docs/models/shared/TestDestinationType.md @@ -0,0 +1,8 @@ +# TestDestinationType + + +## Values + +| Name | Value | +| --------- | --------- | +| `LOGGING` | LOGGING | \ No newline at end of file diff --git a/docs/models/shared/Testrail.md b/docs/models/shared/Testrail.md new file mode 100644 index 000000000..dfedfaa1a --- /dev/null +++ b/docs/models/shared/Testrail.md @@ -0,0 +1,8 @@ +# Testrail + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `TESTRAIL` | testrail | \ No newline at end of file diff --git a/docs/models/shared/Thinkific.md b/docs/models/shared/Thinkific.md new file mode 100644 index 000000000..015092d0b --- /dev/null +++ b/docs/models/shared/Thinkific.md @@ -0,0 +1,8 @@ +# Thinkific + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `THINKIFIC` | thinkific | \ No newline at end of file diff --git a/docs/models/shared/Throttled.md b/docs/models/shared/Throttled.md new file mode 100644 index 000000000..6ff1c3a68 --- /dev/null +++ b/docs/models/shared/Throttled.md @@ -0,0 +1,10 @@ +# Throttled + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | +| `millisPerRecord` | *long* | :heavy_check_mark: | The number of milliseconds to wait between each record. | +| `testDestinationType` | [Optional\](../../models/shared/DestinationDevNullSchemasTestDestinationType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Ticketmaster.md b/docs/models/shared/Ticketmaster.md new file mode 100644 index 000000000..a1b39819a --- /dev/null +++ b/docs/models/shared/Ticketmaster.md @@ -0,0 +1,8 @@ +# Ticketmaster + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `TICKETMASTER` | ticketmaster | \ No newline at end of file diff --git a/docs/models/shared/Tickettailor.md b/docs/models/shared/Tickettailor.md new file mode 100644 index 000000000..9877d3f85 --- /dev/null +++ b/docs/models/shared/Tickettailor.md @@ -0,0 +1,8 @@ +# Tickettailor + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `TICKETTAILOR` | tickettailor | \ No newline at end of file diff --git a/docs/models/shared/TiktokMarketing.md b/docs/models/shared/TiktokMarketing.md index 113ec1830..d4d814ff3 100644 --- a/docs/models/shared/TiktokMarketing.md +++ b/docs/models/shared/TiktokMarketing.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/TiktokMarketingCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `credentials` | [Optional\](../../models/shared/TiktokMarketingCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/TiktokMarketingCredentials.md b/docs/models/shared/TiktokMarketingCredentials.md index dd833974c..67e6d961c 100644 --- a/docs/models/shared/TiktokMarketingCredentials.md +++ b/docs/models/shared/TiktokMarketingCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `appId` | *Optional* | :heavy_minus_sign: | The Developer Application App ID. | -| `secret` | *Optional* | :heavy_minus_sign: | The Developer Application Secret. | \ No newline at end of file +| `appId` | *Optional\* | :heavy_minus_sign: | The Developer Application App ID. | +| `secret` | *Optional\* | :heavy_minus_sign: | The Developer Application Secret. | \ No newline at end of file diff --git a/docs/models/shared/TimeAggregates.md b/docs/models/shared/TimeAggregates.md new file mode 100644 index 000000000..e9dd73ca6 --- /dev/null +++ b/docs/models/shared/TimeAggregates.md @@ -0,0 +1,16 @@ +# TimeAggregates + +Size of the time + + +## Values + +| Name | Value | +| --------- | --------- | +| `MINUTE` | minute | +| `HOUR` | hour | +| `DAY` | day | +| `WEEK` | week | +| `MONTH` | month | +| `QUARTER` | quarter | +| `YEAR` | year | \ No newline at end of file diff --git a/docs/models/shared/TimeFrame.md b/docs/models/shared/TimeFrame.md new file mode 100644 index 000000000..d9e4724f1 --- /dev/null +++ b/docs/models/shared/TimeFrame.md @@ -0,0 +1,15 @@ +# TimeFrame + +For example 1min, 5min, 15min, 30min, 1hour, 4hour + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `ONEMIN` | 1min | +| `FIVEMIN` | 5min | +| `FIFTEENMIN` | 15min | +| `THIRTYMIN` | 30min | +| `ONEHOUR` | 1hour | +| `FOURHOUR` | 4hour | \ No newline at end of file diff --git a/docs/models/shared/TimeInterval.md b/docs/models/shared/TimeInterval.md new file mode 100644 index 000000000..fe9a99880 --- /dev/null +++ b/docs/models/shared/TimeInterval.md @@ -0,0 +1,14 @@ +# TimeInterval + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `DAILY` | daily | +| `ONEMIN` | 1min | +| `FIVEMIN` | 5min | +| `FIFTEENMIN` | 15min | +| `THIRTYMIN` | 30min | +| `ONEHOUR` | 1hour | +| `FOURHOUR` | 4hour | \ No newline at end of file diff --git a/docs/models/shared/TimePeriod.md b/docs/models/shared/TimePeriod.md new file mode 100644 index 000000000..4ae799f9d --- /dev/null +++ b/docs/models/shared/TimePeriod.md @@ -0,0 +1,11 @@ +# TimePeriod + +Time Period for cash flow stmts + + +## Values + +| Name | Value | +| --------- | --------- | +| `ANNUAL` | annual | +| `QUARTER` | quarter | \ No newline at end of file diff --git a/docs/models/shared/Timely.md b/docs/models/shared/Timely.md new file mode 100644 index 000000000..839146bb1 --- /dev/null +++ b/docs/models/shared/Timely.md @@ -0,0 +1,8 @@ +# Timely + + +## Values + +| Name | Value | +| -------- | -------- | +| `TIMELY` | timely | \ No newline at end of file diff --git a/docs/models/shared/Tinyemail.md b/docs/models/shared/Tinyemail.md new file mode 100644 index 000000000..a1b0a19bc --- /dev/null +++ b/docs/models/shared/Tinyemail.md @@ -0,0 +1,8 @@ +# Tinyemail + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `TINYEMAIL` | tinyemail | \ No newline at end of file diff --git a/docs/models/shared/Todoist.md b/docs/models/shared/Todoist.md new file mode 100644 index 000000000..95d354eab --- /dev/null +++ b/docs/models/shared/Todoist.md @@ -0,0 +1,8 @@ +# Todoist + + +## Values + +| Name | Value | +| --------- | --------- | +| `TODOIST` | todoist | \ No newline at end of file diff --git a/docs/models/shared/TrackPms.md b/docs/models/shared/TrackPms.md new file mode 100644 index 000000000..c9494fe4c --- /dev/null +++ b/docs/models/shared/TrackPms.md @@ -0,0 +1,8 @@ +# TrackPms + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `TRACK_PMS` | track-pms | \ No newline at end of file diff --git a/docs/models/shared/Tremendous.md b/docs/models/shared/Tremendous.md new file mode 100644 index 000000000..7293493c7 --- /dev/null +++ b/docs/models/shared/Tremendous.md @@ -0,0 +1,8 @@ +# Tremendous + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `TREMENDOUS` | tremendous | \ No newline at end of file diff --git a/docs/models/shared/TwelveData.md b/docs/models/shared/TwelveData.md new file mode 100644 index 000000000..2bd4328d6 --- /dev/null +++ b/docs/models/shared/TwelveData.md @@ -0,0 +1,8 @@ +# TwelveData + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `TWELVE_DATA` | twelve-data | \ No newline at end of file diff --git a/docs/models/shared/Typeform.md b/docs/models/shared/Typeform.md index c319c9f69..a6503a966 100644 --- a/docs/models/shared/Typeform.md +++ b/docs/models/shared/Typeform.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/TypeformCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/TypeformCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/TypeformCredentials.md b/docs/models/shared/TypeformCredentials.md index 73c378578..490226484 100644 --- a/docs/models/shared/TypeformCredentials.md +++ b/docs/models/shared/TypeformCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of the Typeform developer application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret the Typeform developer application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of the Typeform developer application. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret the Typeform developer application. | \ No newline at end of file diff --git a/docs/models/shared/URLRegion.md b/docs/models/shared/URLRegion.md new file mode 100644 index 000000000..4cdcaa99b --- /dev/null +++ b/docs/models/shared/URLRegion.md @@ -0,0 +1,12 @@ +# URLRegion + +The url region given at time of registration + + +## Values + +| Name | Value | +| ----- | ----- | +| `UK` | uk | +| `NL` | nl | +| `US` | us | \ No newline at end of file diff --git a/docs/models/shared/Ubidots.md b/docs/models/shared/Ubidots.md new file mode 100644 index 000000000..c56d414f8 --- /dev/null +++ b/docs/models/shared/Ubidots.md @@ -0,0 +1,8 @@ +# Ubidots + + +## Values + +| Name | Value | +| --------- | --------- | +| `UBIDOTS` | ubidots | \ No newline at end of file diff --git a/docs/models/shared/Unencrypted.md b/docs/models/shared/Unencrypted.md index b53b7b13d..146f1d881 100644 --- a/docs/models/shared/Unencrypted.md +++ b/docs/models/shared/Unencrypted.md @@ -5,6 +5,6 @@ The data transfer will not be encrypted. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `sslMethod` | [Optional](../../models/shared/DestinationMssqlSslMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `sslMethod` | [Optional\](../../models/shared/DestinationMssqlSslMethod.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Units.md b/docs/models/shared/Units.md new file mode 100644 index 000000000..9437947ff --- /dev/null +++ b/docs/models/shared/Units.md @@ -0,0 +1,12 @@ +# Units + +Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `STANDARD` | standard | +| `METRIC` | metric | +| `IMPERIAL` | imperial | \ No newline at end of file diff --git a/docs/models/shared/Unleash.md b/docs/models/shared/Unleash.md new file mode 100644 index 000000000..e87304e05 --- /dev/null +++ b/docs/models/shared/Unleash.md @@ -0,0 +1,8 @@ +# Unleash + + +## Values + +| Name | Value | +| --------- | --------- | +| `UNLEASH` | unleash | \ No newline at end of file diff --git a/docs/models/shared/UnstructuredDocumentFormat.md b/docs/models/shared/UnstructuredDocumentFormat.md index 532c1ece0..02d8b1528 100644 --- a/docs/models/shared/UnstructuredDocumentFormat.md +++ b/docs/models/shared/UnstructuredDocumentFormat.md @@ -7,7 +7,7 @@ Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one rec | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `filetype` | [Optional](../../models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | -| `processing` | [Optional](../../models/shared/SourceGcsProcessing.md) | :heavy_minus_sign: | Processing configuration | -| `skipUnprocessableFiles` | *Optional* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | -| `strategy` | [Optional](../../models/shared/SourceGcsParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file +| `filetype` | [Optional\](../../models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.md) | :heavy_minus_sign: | N/A | +| `processing` | [Optional\](../../models/shared/SourceGcsProcessing.md) | :heavy_minus_sign: | Processing configuration | +| `skipUnprocessableFiles` | *Optional\* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | +| `strategy` | [Optional\](../../models/shared/SourceGcsParsingStrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file diff --git a/docs/models/shared/Uppromote.md b/docs/models/shared/Uppromote.md new file mode 100644 index 000000000..2fa23de0d --- /dev/null +++ b/docs/models/shared/Uppromote.md @@ -0,0 +1,8 @@ +# Uppromote + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `UPPROMOTE` | uppromote | \ No newline at end of file diff --git a/docs/models/shared/UserProvided.md b/docs/models/shared/UserProvided.md index 9142cc3d2..61ed90489 100644 --- a/docs/models/shared/UserProvided.md +++ b/docs/models/shared/UserProvided.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `columnNames` | List<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | -| `headerDefinitionType` | [Optional](../../models/shared/SourceAzureBlobStorageSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `columnNames` | List\<*String*> | :heavy_check_mark: | The column names that will be used while emitting the CSV records | +| `headerDefinitionType` | [Optional\](../../models/shared/SourceAzureBlobStorageSchemasHeaderDefinitionType.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/UsernameAndPassword.md b/docs/models/shared/UsernameAndPassword.md index c0e2ea1a2..9251440e6 100644 --- a/docs/models/shared/UsernameAndPassword.md +++ b/docs/models/shared/UsernameAndPassword.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -| `authType` | [Optional](../../models/shared/DestinationSnowflakeSchemasAuthType.md) | :heavy_minus_sign: | N/A | -| `password` | *String* | :heavy_check_mark: | Enter the password associated with the username. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `authType` | [Optional\](../../models/shared/DestinationSnowflakeSchemasAuthType.md) | :heavy_minus_sign: | N/A | +| `password` | *String* | :heavy_check_mark: | Enter the password associated with the username. | \ No newline at end of file diff --git a/docs/models/shared/UsernamePassword.md b/docs/models/shared/UsernamePassword.md index 767ddd4c9..42259f384 100644 --- a/docs/models/shared/UsernamePassword.md +++ b/docs/models/shared/UsernamePassword.md @@ -5,8 +5,8 @@ Basic auth header with a username and password ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `method` | [com.airbyte.api.models.shared.DestinationElasticsearchSchemasAuthenticationMethodMethod](../../models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.md) | :heavy_check_mark: | N/A | -| `password` | *String* | :heavy_check_mark: | Basic auth password to access a secure Elasticsearch server | -| `username` | *String* | :heavy_check_mark: | Basic auth username to access a secure Elasticsearch server | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `method` | [DestinationElasticsearchSchemasAuthenticationMethodMethod](../../models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.md) | :heavy_check_mark: | N/A | +| `password` | *String* | :heavy_check_mark: | Basic auth password to access a secure Elasticsearch server | +| `username` | *String* | :heavy_check_mark: | Basic auth username to access a secure Elasticsearch server | \ No newline at end of file diff --git a/docs/models/shared/UsersResponse.md b/docs/models/shared/UsersResponse.md index 26ea5b82e..90e333094 100644 --- a/docs/models/shared/UsersResponse.md +++ b/docs/models/shared/UsersResponse.md @@ -5,6 +5,6 @@ List/Array of multiple users in an organization ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `data` | List<[com.airbyte.api.models.shared.UserResponse](../../models/shared/UserResponse.md)> | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `data` | List\<[UserResponse](../../models/shared/UserResponse.md)> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Uservoice.md b/docs/models/shared/Uservoice.md new file mode 100644 index 000000000..1b4ccc697 --- /dev/null +++ b/docs/models/shared/Uservoice.md @@ -0,0 +1,8 @@ +# Uservoice + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `USERVOICE` | uservoice | \ No newline at end of file diff --git a/docs/models/shared/Veeqo.md b/docs/models/shared/Veeqo.md new file mode 100644 index 000000000..8187257a2 --- /dev/null +++ b/docs/models/shared/Veeqo.md @@ -0,0 +1,8 @@ +# Veeqo + + +## Values + +| Name | Value | +| ------- | ------- | +| `VEEQO` | veeqo | \ No newline at end of file diff --git a/docs/models/shared/Vercel.md b/docs/models/shared/Vercel.md new file mode 100644 index 000000000..c46448dd9 --- /dev/null +++ b/docs/models/shared/Vercel.md @@ -0,0 +1,8 @@ +# Vercel + + +## Values + +| Name | Value | +| -------- | -------- | +| `VERCEL` | vercel | \ No newline at end of file diff --git a/docs/models/shared/VerifyCa.md b/docs/models/shared/VerifyCa.md index 2aa07b653..d1b6743a3 100644 --- a/docs/models/shared/VerifyCa.md +++ b/docs/models/shared/VerifyCa.md @@ -5,8 +5,8 @@ Verify-ca SSL mode. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | -| `clientKeyPassword` | *Optional* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | -| `mode` | [Optional](../../models/shared/DestinationPostgresSchemasSSLModeSSLModesMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | +| `clientKeyPassword` | *Optional\* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | +| `mode` | [Optional\](../../models/shared/DestinationPostgresSchemasSSLModeSSLModesMode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/VerifyFull.md b/docs/models/shared/VerifyFull.md index 3a6a17b58..97d8cebdf 100644 --- a/docs/models/shared/VerifyFull.md +++ b/docs/models/shared/VerifyFull.md @@ -5,10 +5,10 @@ Verify-full SSL mode. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | -| `clientCertificate` | *String* | :heavy_check_mark: | Client certificate | -| `clientKey` | *String* | :heavy_check_mark: | Client key | -| `clientKeyPassword` | *Optional* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | -| `mode` | [Optional](../../models/shared/DestinationPostgresSchemasSSLModeSSLModes6Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | +| `clientCertificate` | *String* | :heavy_check_mark: | Client certificate | +| `clientKey` | *String* | :heavy_check_mark: | Client key | +| `clientKeyPassword` | *Optional\* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | +| `mode` | [Optional\](../../models/shared/DestinationPostgresSchemasSSLModeSSLModes6Mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/VerifyIdentity.md b/docs/models/shared/VerifyIdentity.md index c1d90fc9c..a3ae9b077 100644 --- a/docs/models/shared/VerifyIdentity.md +++ b/docs/models/shared/VerifyIdentity.md @@ -5,10 +5,10 @@ Always connect with SSL. Verify both CA and Hostname. ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | -| `clientCertificate` | *Optional* | :heavy_minus_sign: | Client certificate (this is not a required field, but if you want to use it, you will need to add the Client key as well) | -| `clientKey` | *Optional* | :heavy_minus_sign: | Client key (this is not a required field, but if you want to use it, you will need to add the Client certificate as well) | -| `clientKeyPassword` | *Optional* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | -| `mode` | [com.airbyte.api.models.shared.SourceMysqlSchemasSSLModeSSLModesMode](../../models/shared/SourceMysqlSchemasSSLModeSSLModesMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `caCertificate` | *String* | :heavy_check_mark: | CA certificate | +| `clientCertificate` | *Optional\* | :heavy_minus_sign: | Client certificate (this is not a required field, but if you want to use it, you will need to add the Client key as well) | +| `clientKey` | *Optional\* | :heavy_minus_sign: | Client key (this is not a required field, but if you want to use it, you will need to add the Client certificate as well) | +| `clientKeyPassword` | *Optional\* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | +| `mode` | [SourceMysqlSchemasSSLModeSSLModesMode](../../models/shared/SourceMysqlSchemasSSLModeSSLModesMode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ViaAPI.md b/docs/models/shared/ViaAPI.md index 2ef23e1d0..b6f1e1162 100644 --- a/docs/models/shared/ViaAPI.md +++ b/docs/models/shared/ViaAPI.md @@ -5,9 +5,9 @@ Process files via an API, using the `hi_res` mode. This option is useful for inc ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `apiKey` | *Optional* | :heavy_minus_sign: | The API key to use matching the environment | | -| `apiUrl` | *Optional* | :heavy_minus_sign: | The URL of the unstructured API to use | https://api.unstructured.com | -| `mode` | [Optional](../../models/shared/SourceGcsSchemasMode.md) | :heavy_minus_sign: | N/A | | -| `parameters` | List<[com.airbyte.api.models.shared.APIParameterConfigModel](../../models/shared/APIParameterConfigModel.md)> | :heavy_minus_sign: | List of parameters send to the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `apiKey` | *Optional\* | :heavy_minus_sign: | The API key to use matching the environment | | +| `apiUrl` | *Optional\* | :heavy_minus_sign: | The URL of the unstructured API to use | https://api.unstructured.com | +| `mode` | [Optional\](../../models/shared/SourceGcsSchemasMode.md) | :heavy_minus_sign: | N/A | | +| `parameters` | List\<[APIParameterConfigModel](../../models/shared/APIParameterConfigModel.md)> | :heavy_minus_sign: | List of parameters send to the API | | \ No newline at end of file diff --git a/docs/models/shared/VismaEconomic.md b/docs/models/shared/VismaEconomic.md new file mode 100644 index 000000000..ea07794a8 --- /dev/null +++ b/docs/models/shared/VismaEconomic.md @@ -0,0 +1,8 @@ +# VismaEconomic + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `VISMA_ECONOMIC` | visma-economic | \ No newline at end of file diff --git a/docs/models/shared/Vitally.md b/docs/models/shared/Vitally.md new file mode 100644 index 000000000..ce32048a0 --- /dev/null +++ b/docs/models/shared/Vitally.md @@ -0,0 +1,8 @@ +# Vitally + + +## Values + +| Name | Value | +| --------- | --------- | +| `VITALLY` | vitally | \ No newline at end of file diff --git a/docs/models/shared/Vwo.md b/docs/models/shared/Vwo.md new file mode 100644 index 000000000..0ac11ef7b --- /dev/null +++ b/docs/models/shared/Vwo.md @@ -0,0 +1,8 @@ +# Vwo + + +## Values + +| Name | Value | +| ----- | ----- | +| `VWO` | vwo | \ No newline at end of file diff --git a/docs/models/shared/Waiteraid.md b/docs/models/shared/Waiteraid.md new file mode 100644 index 000000000..4aea49972 --- /dev/null +++ b/docs/models/shared/Waiteraid.md @@ -0,0 +1,8 @@ +# Waiteraid + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `WAITERAID` | waiteraid | \ No newline at end of file diff --git a/docs/models/shared/WasabiStatsApi.md b/docs/models/shared/WasabiStatsApi.md new file mode 100644 index 000000000..d0aa303ba --- /dev/null +++ b/docs/models/shared/WasabiStatsApi.md @@ -0,0 +1,8 @@ +# WasabiStatsApi + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `WASABI_STATS_API` | wasabi-stats-api | \ No newline at end of file diff --git a/docs/models/shared/Weatherstack.md b/docs/models/shared/Weatherstack.md new file mode 100644 index 000000000..7c62881c2 --- /dev/null +++ b/docs/models/shared/Weatherstack.md @@ -0,0 +1,8 @@ +# Weatherstack + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `WEATHERSTACK` | weatherstack | \ No newline at end of file diff --git a/docs/models/shared/WebScrapper.md b/docs/models/shared/WebScrapper.md new file mode 100644 index 000000000..34f003f86 --- /dev/null +++ b/docs/models/shared/WebScrapper.md @@ -0,0 +1,8 @@ +# WebScrapper + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `WEB_SCRAPPER` | web-scrapper | \ No newline at end of file diff --git a/docs/models/shared/Wordpress.md b/docs/models/shared/Wordpress.md new file mode 100644 index 000000000..73fe2446a --- /dev/null +++ b/docs/models/shared/Wordpress.md @@ -0,0 +1,8 @@ +# Wordpress + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `WORDPRESS` | wordpress | \ No newline at end of file diff --git a/docs/models/shared/Workable.md b/docs/models/shared/Workable.md new file mode 100644 index 000000000..bc9ef3227 --- /dev/null +++ b/docs/models/shared/Workable.md @@ -0,0 +1,8 @@ +# Workable + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `WORKABLE` | workable | \ No newline at end of file diff --git a/docs/models/shared/Workflowmax.md b/docs/models/shared/Workflowmax.md new file mode 100644 index 000000000..b05681355 --- /dev/null +++ b/docs/models/shared/Workflowmax.md @@ -0,0 +1,8 @@ +# Workflowmax + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `WORKFLOWMAX` | workflowmax | \ No newline at end of file diff --git a/docs/models/shared/Workramp.md b/docs/models/shared/Workramp.md new file mode 100644 index 000000000..d77c0555e --- /dev/null +++ b/docs/models/shared/Workramp.md @@ -0,0 +1,8 @@ +# Workramp + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `WORKRAMP` | workramp | \ No newline at end of file diff --git a/docs/models/shared/WorkspaceCreateRequest.md b/docs/models/shared/WorkspaceCreateRequest.md index 53f1f13ec..9e9224991 100644 --- a/docs/models/shared/WorkspaceCreateRequest.md +++ b/docs/models/shared/WorkspaceCreateRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | | `name` | *String* | :heavy_check_mark: | Name of the workspace | -| `organizationId` | *Optional* | :heavy_minus_sign: | ID of organization to add workspace to. | \ No newline at end of file +| `organizationId` | *Optional\* | :heavy_minus_sign: | ID of organization to add workspace to. | \ No newline at end of file diff --git a/docs/models/shared/WorkspaceOAuthCredentialsRequest.md b/docs/models/shared/WorkspaceOAuthCredentialsRequest.md index f403de816..7d9c232db 100644 --- a/docs/models/shared/WorkspaceOAuthCredentialsRequest.md +++ b/docs/models/shared/WorkspaceOAuthCredentialsRequest.md @@ -5,8 +5,8 @@ POST body for creating/updating workspace level OAuth credentials ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `actorType` | [com.airbyte.api.models.shared.ActorTypeEnum](../../models/shared/ActorTypeEnum.md) | :heavy_check_mark: | Whether you're setting this override for a source or destination | | -| `configuration` | [com.airbyte.api.models.shared.OAuthCredentialsConfiguration](../../models/shared/OAuthCredentialsConfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
    "user": "charles"
    } | -| `name` | [com.airbyte.api.models.shared.OAuthActorNames](../../models/shared/OAuthActorNames.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `actorType` | [ActorTypeEnum](../../models/shared/ActorTypeEnum.md) | :heavy_check_mark: | Whether you're setting this override for a source or destination | | +| `configuration` | [OAuthCredentialsConfiguration](../../models/shared/OAuthCredentialsConfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
    "user": "charles"
    } | +| `name` | [OAuthActorNames](../../models/shared/OAuthActorNames.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/WorkspaceResponse.md b/docs/models/shared/WorkspaceResponse.md index f7a0c1841..2efd1a4e5 100644 --- a/docs/models/shared/WorkspaceResponse.md +++ b/docs/models/shared/WorkspaceResponse.md @@ -5,8 +5,8 @@ Provides details of a single workspace. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `dataResidency` | [Optional](../../models/shared/GeographyEnum.md) | :heavy_minus_sign: | N/A | -| `name` | *String* | :heavy_check_mark: | N/A | -| `workspaceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `dataResidency` | [Optional\](../../models/shared/GeographyEnum.md) | :heavy_minus_sign: | N/A | +| `name` | *String* | :heavy_check_mark: | N/A | +| `workspaceId` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/WorkspacesResponse.md b/docs/models/shared/WorkspacesResponse.md index 8a425cfc1..3cc03ecf4 100644 --- a/docs/models/shared/WorkspacesResponse.md +++ b/docs/models/shared/WorkspacesResponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `data` | List<[com.airbyte.api.models.shared.WorkspaceResponse](../../models/shared/WorkspaceResponse.md)> | :heavy_check_mark: | N/A | -| `next` | *Optional* | :heavy_minus_sign: | N/A | -| `previous` | *Optional* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `data` | List\<[WorkspaceResponse](../../models/shared/WorkspaceResponse.md)> | :heavy_check_mark: | N/A | +| `next` | *Optional\* | :heavy_minus_sign: | N/A | +| `previous` | *Optional\* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/Wrike.md b/docs/models/shared/Wrike.md new file mode 100644 index 000000000..528407433 --- /dev/null +++ b/docs/models/shared/Wrike.md @@ -0,0 +1,8 @@ +# Wrike + + +## Values + +| Name | Value | +| ------- | ------- | +| `WRIKE` | wrike | \ No newline at end of file diff --git a/docs/models/shared/Wufoo.md b/docs/models/shared/Wufoo.md new file mode 100644 index 000000000..2c7365937 --- /dev/null +++ b/docs/models/shared/Wufoo.md @@ -0,0 +1,8 @@ +# Wufoo + + +## Values + +| Name | Value | +| ------- | ------- | +| `WUFOO` | wufoo | \ No newline at end of file diff --git a/docs/models/shared/Xsolla.md b/docs/models/shared/Xsolla.md new file mode 100644 index 000000000..29cc19b94 --- /dev/null +++ b/docs/models/shared/Xsolla.md @@ -0,0 +1,8 @@ +# Xsolla + + +## Values + +| Name | Value | +| -------- | -------- | +| `XSOLLA` | xsolla | \ No newline at end of file diff --git a/docs/models/shared/Xz.md b/docs/models/shared/Xz.md index 4b399540e..c04e55242 100644 --- a/docs/models/shared/Xz.md +++ b/docs/models/shared/Xz.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationGcsSchemasFormatCodec.md) | :heavy_minus_sign: | N/A | -| `compressionLevel` | *Optional* | :heavy_minus_sign: | The presets 0-3 are fast presets with medium compression. The presets 4-6 are fairly slow presets with high compression. The default preset is 6. The presets 7-9 are like the preset 6 but use bigger dictionaries and have higher compressor and decompressor memory requirements. Unless the uncompressed size of the file exceeds 8 MiB, 16 MiB, or 32 MiB, it is waste of memory to use the presets 7, 8, or 9, respectively. Read more here for details. | \ No newline at end of file +| `codec` | [Optional\](../../models/shared/DestinationGcsSchemasFormatCodec.md) | :heavy_minus_sign: | N/A | +| `compressionLevel` | *Optional\* | :heavy_minus_sign: | The presets 0-3 are fast presets with medium compression. The presets 4-6 are fairly slow presets with high compression. The default preset is 6. The presets 7-9 are like the preset 6 but use bigger dictionaries and have higher compressor and decompressor memory requirements. Unless the uncompressed size of the file exceeds 8 MiB, 16 MiB, or 32 MiB, it is waste of memory to use the presets 7, 8, or 9, respectively. Read more here for details. | \ No newline at end of file diff --git a/docs/models/shared/YahooFinancePrice.md b/docs/models/shared/YahooFinancePrice.md new file mode 100644 index 000000000..d67d652bc --- /dev/null +++ b/docs/models/shared/YahooFinancePrice.md @@ -0,0 +1,8 @@ +# YahooFinancePrice + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `YAHOO_FINANCE_PRICE` | yahoo-finance-price | \ No newline at end of file diff --git a/docs/models/shared/YouNeedABudgetYnab.md b/docs/models/shared/YouNeedABudgetYnab.md new file mode 100644 index 000000000..4e104bb63 --- /dev/null +++ b/docs/models/shared/YouNeedABudgetYnab.md @@ -0,0 +1,8 @@ +# YouNeedABudgetYnab + + +## Values + +| Name | Value | +| ------------------------ | ------------------------ | +| `YOU_NEED_A_BUDGET_YNAB` | you-need-a-budget-ynab | \ No newline at end of file diff --git a/docs/models/shared/YoutubeAnalytics.md b/docs/models/shared/YoutubeAnalytics.md index 21c82634d..c3573066f 100644 --- a/docs/models/shared/YoutubeAnalytics.md +++ b/docs/models/shared/YoutubeAnalytics.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/YoutubeAnalyticsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/YoutubeAnalyticsCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/YoutubeAnalyticsCredentials.md b/docs/models/shared/YoutubeAnalyticsCredentials.md index af91bbe81..69f0ba989 100644 --- a/docs/models/shared/YoutubeAnalyticsCredentials.md +++ b/docs/models/shared/YoutubeAnalyticsCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your developer application | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The client secret of your developer application | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your developer application | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The client secret of your developer application | \ No newline at end of file diff --git a/docs/models/shared/YoutubeData.md b/docs/models/shared/YoutubeData.md new file mode 100644 index 000000000..f2f92939c --- /dev/null +++ b/docs/models/shared/YoutubeData.md @@ -0,0 +1,8 @@ +# YoutubeData + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `YOUTUBE_DATA` | youtube-data | \ No newline at end of file diff --git a/docs/models/shared/ZapierSupportedStorage.md b/docs/models/shared/ZapierSupportedStorage.md new file mode 100644 index 000000000..2ab444f01 --- /dev/null +++ b/docs/models/shared/ZapierSupportedStorage.md @@ -0,0 +1,8 @@ +# ZapierSupportedStorage + + +## Values + +| Name | Value | +| -------------------------- | -------------------------- | +| `ZAPIER_SUPPORTED_STORAGE` | zapier-supported-storage | \ No newline at end of file diff --git a/docs/models/shared/ZendeskChat.md b/docs/models/shared/ZendeskChat.md index 0213acb5f..916c97f91 100644 --- a/docs/models/shared/ZendeskChat.md +++ b/docs/models/shared/ZendeskChat.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/ZendeskChatCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/ZendeskChatCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ZendeskChatCredentials.md b/docs/models/shared/ZendeskChatCredentials.md index 1c6eaeea5..5fd157213 100644 --- a/docs/models/shared/ZendeskChatCredentials.md +++ b/docs/models/shared/ZendeskChatCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your OAuth application | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The Client ID of your OAuth application | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file diff --git a/docs/models/shared/ZendeskSunshine.md b/docs/models/shared/ZendeskSunshine.md index 03195308d..db85cb9e6 100644 --- a/docs/models/shared/ZendeskSunshine.md +++ b/docs/models/shared/ZendeskSunshine.md @@ -1,8 +1,8 @@ # ZendeskSunshine -## Fields +## Values -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/ZendeskSunshineCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Name | Value | +| ------------------ | ------------------ | +| `ZENDESK_SUNSHINE` | zendesk-sunshine | \ No newline at end of file diff --git a/docs/models/shared/ZendeskSunshineCredentials.md b/docs/models/shared/ZendeskSunshineCredentials.md deleted file mode 100644 index 9e66b023c..000000000 --- a/docs/models/shared/ZendeskSunshineCredentials.md +++ /dev/null @@ -1,9 +0,0 @@ -# ZendeskSunshineCredentials - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The Client ID of your OAuth application. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The Client Secret of your OAuth application. | \ No newline at end of file diff --git a/docs/models/shared/ZendeskSupport.md b/docs/models/shared/ZendeskSupport.md index 37a855d9b..3d40ca46c 100644 --- a/docs/models/shared/ZendeskSupport.md +++ b/docs/models/shared/ZendeskSupport.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/ZendeskSupportCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/ZendeskSupportCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ZendeskSupportCredentials.md b/docs/models/shared/ZendeskSupportCredentials.md index ebd172f8e..3ae960175 100644 --- a/docs/models/shared/ZendeskSupportCredentials.md +++ b/docs/models/shared/ZendeskSupportCredentials.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | The OAuth client's ID. See this guide for more information. | -| `clientSecret` | *Optional* | :heavy_minus_sign: | The OAuth client secret. See this guide for more information. | \ No newline at end of file +| `clientId` | *Optional\* | :heavy_minus_sign: | The OAuth client's ID. See this guide for more information. | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | The OAuth client secret. See this guide for more information. | \ No newline at end of file diff --git a/docs/models/shared/ZendeskTalk.md b/docs/models/shared/ZendeskTalk.md index 13c5e65c0..c4f26c6ed 100644 --- a/docs/models/shared/ZendeskTalk.md +++ b/docs/models/shared/ZendeskTalk.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Optional](../../models/shared/ZendeskTalkCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `credentials` | [Optional\](../../models/shared/ZendeskTalkCredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ZendeskTalkCredentials.md b/docs/models/shared/ZendeskTalkCredentials.md index 2a97cb146..fc95a0fbe 100644 --- a/docs/models/shared/ZendeskTalkCredentials.md +++ b/docs/models/shared/ZendeskTalkCredentials.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `clientId` | *Optional* | :heavy_minus_sign: | Client ID | -| `clientSecret` | *Optional* | :heavy_minus_sign: | Client Secret | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `clientId` | *Optional\* | :heavy_minus_sign: | Client ID | +| `clientSecret` | *Optional\* | :heavy_minus_sign: | Client Secret | \ No newline at end of file diff --git a/docs/models/shared/Zenefits.md b/docs/models/shared/Zenefits.md new file mode 100644 index 000000000..9de79bf99 --- /dev/null +++ b/docs/models/shared/Zenefits.md @@ -0,0 +1,8 @@ +# Zenefits + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `ZENEFITS` | zenefits | \ No newline at end of file diff --git a/docs/models/shared/ZohoAnalyticsMetadataApi.md b/docs/models/shared/ZohoAnalyticsMetadataApi.md new file mode 100644 index 000000000..71dc5edb7 --- /dev/null +++ b/docs/models/shared/ZohoAnalyticsMetadataApi.md @@ -0,0 +1,8 @@ +# ZohoAnalyticsMetadataApi + + +## Values + +| Name | Value | +| ----------------------------- | ----------------------------- | +| `ZOHO_ANALYTICS_METADATA_API` | zoho-analytics-metadata-api | \ No newline at end of file diff --git a/docs/models/shared/ZohoBigin.md b/docs/models/shared/ZohoBigin.md new file mode 100644 index 000000000..224af19a4 --- /dev/null +++ b/docs/models/shared/ZohoBigin.md @@ -0,0 +1,8 @@ +# ZohoBigin + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `ZOHO_BIGIN` | zoho-bigin | \ No newline at end of file diff --git a/docs/models/shared/ZohoBilling.md b/docs/models/shared/ZohoBilling.md new file mode 100644 index 000000000..83688f7d9 --- /dev/null +++ b/docs/models/shared/ZohoBilling.md @@ -0,0 +1,8 @@ +# ZohoBilling + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `ZOHO_BILLING` | zoho-billing | \ No newline at end of file diff --git a/docs/models/shared/ZohoBooks.md b/docs/models/shared/ZohoBooks.md new file mode 100644 index 000000000..e3a1b0c68 --- /dev/null +++ b/docs/models/shared/ZohoBooks.md @@ -0,0 +1,8 @@ +# ZohoBooks + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `ZOHO_BOOKS` | zoho-books | \ No newline at end of file diff --git a/docs/models/shared/ZohoCampaign.md b/docs/models/shared/ZohoCampaign.md new file mode 100644 index 000000000..41425bf00 --- /dev/null +++ b/docs/models/shared/ZohoCampaign.md @@ -0,0 +1,8 @@ +# ZohoCampaign + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `ZOHO_CAMPAIGN` | zoho-campaign | \ No newline at end of file diff --git a/docs/models/shared/ZohoDesk.md b/docs/models/shared/ZohoDesk.md new file mode 100644 index 000000000..56d5ba947 --- /dev/null +++ b/docs/models/shared/ZohoDesk.md @@ -0,0 +1,8 @@ +# ZohoDesk + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `ZOHO_DESK` | zoho-desk | \ No newline at end of file diff --git a/docs/models/shared/ZohoExpense.md b/docs/models/shared/ZohoExpense.md new file mode 100644 index 000000000..199ba6e9f --- /dev/null +++ b/docs/models/shared/ZohoExpense.md @@ -0,0 +1,8 @@ +# ZohoExpense + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `ZOHO_EXPENSE` | zoho-expense | \ No newline at end of file diff --git a/docs/models/shared/ZohoInventory.md b/docs/models/shared/ZohoInventory.md new file mode 100644 index 000000000..c9c8e1c8b --- /dev/null +++ b/docs/models/shared/ZohoInventory.md @@ -0,0 +1,8 @@ +# ZohoInventory + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `ZOHO_INVENTORY` | zoho-inventory | \ No newline at end of file diff --git a/docs/models/shared/ZohoInvoice.md b/docs/models/shared/ZohoInvoice.md new file mode 100644 index 000000000..8c403135c --- /dev/null +++ b/docs/models/shared/ZohoInvoice.md @@ -0,0 +1,8 @@ +# ZohoInvoice + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `ZOHO_INVOICE` | zoho-invoice | \ No newline at end of file diff --git a/docs/models/shared/ZonkaFeedback.md b/docs/models/shared/ZonkaFeedback.md new file mode 100644 index 000000000..86fc47a99 --- /dev/null +++ b/docs/models/shared/ZonkaFeedback.md @@ -0,0 +1,8 @@ +# ZonkaFeedback + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `ZONKA_FEEDBACK` | zonka-feedback | \ No newline at end of file diff --git a/docs/models/shared/Zstandard.md b/docs/models/shared/Zstandard.md index 0af9b0f2e..0a8434abb 100644 --- a/docs/models/shared/Zstandard.md +++ b/docs/models/shared/Zstandard.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `codec` | [Optional](../../models/shared/DestinationGcsSchemasFormatOutputFormatCodec.md) | :heavy_minus_sign: | N/A | -| `compressionLevel` | *Optional* | :heavy_minus_sign: | Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. | -| `includeChecksum` | *Optional* | :heavy_minus_sign: | If true, include a checksum with each data block. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `codec` | [Optional\](../../models/shared/DestinationGcsSchemasFormatOutputFormatCodec.md) | :heavy_minus_sign: | N/A | +| `compressionLevel` | *Optional\* | :heavy_minus_sign: | Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. | +| `includeChecksum` | *Optional\* | :heavy_minus_sign: | If true, include a checksum with each data block. | \ No newline at end of file diff --git a/docs/sdks/airbyte/README.md b/docs/sdks/airbyte/README.md index 084117b37..ce6e75746 100644 --- a/docs/sdks/airbyte/README.md +++ b/docs/sdks/airbyte/README.md @@ -1,9 +1,7 @@ # Airbyte SDK - ## Overview -airbyte-api: Programatically control Airbyte Cloud, OSS & Enterprise. +airbyte-api: Programmatically control Airbyte Cloud, OSS & Enterprise. ### Available Operations - diff --git a/docs/sdks/connections/README.md b/docs/sdks/connections/README.md index 434c95840..760ecd365 100644 --- a/docs/sdks/connections/README.md +++ b/docs/sdks/connections/README.md @@ -1,6 +1,8 @@ # Connections (*connections()*) +## Overview + ### Available Operations * [createConnection](#createconnection) - Create a connection @@ -19,72 +21,57 @@ Create a connection package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.CreateConnectionResponse; +import com.airbyte.api.models.shared.ConnectionCreateRequest; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ConnectionCreateRequest req = ConnectionCreateRequest.builder() - .destinationId("c669dd1e-3620-483e-afc8-55914e0a570f") - .sourceId("6dd427d8-3a55-4584-b835-842325b6c7b3") - .namespaceFormat("${SOURCE_NAMESPACE}") + ConnectionCreateRequest req = ConnectionCreateRequest.builder() + .destinationId("e478de0d-a3a0-475c-b019-25f7dd29e281") + .sourceId("95e66a59-8045-4307-9678-63bc3c9b8c93") + .name("Postgres-to-Bigquery") .build(); - CreateConnectionResponse res = sdk.connections().createConnection() + CreateConnectionResponse res = sdk.connections().createConnection() .request(req) .call(); - if (res.connectionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.connectionResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.shared.ConnectionCreateRequest](../../models/shared/ConnectionCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `request` | [ConnectionCreateRequest](../../models/shared/ConnectionCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.CreateConnectionResponse](../../models/operations/CreateConnectionResponse.md)** +**[CreateConnectionResponse](../../models/operations/CreateConnectionResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## deleteConnection @@ -96,68 +83,53 @@ Delete a Connection package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.DeleteConnectionRequest; +import com.airbyte.api.models.operations.DeleteConnectionResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - DeleteConnectionRequest req = DeleteConnectionRequest.builder() + DeleteConnectionRequest req = DeleteConnectionRequest.builder() .connectionId("") .build(); - DeleteConnectionResponse res = sdk.connections().deleteConnection() + DeleteConnectionResponse res = sdk.connections().deleteConnection() .request(req) .call(); - // handle response - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - + // handle response } } ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.DeleteConnectionRequest](../../models/operations/DeleteConnectionRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [DeleteConnectionRequest](../../models/operations/DeleteConnectionRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.DeleteConnectionResponse](../../models/operations/DeleteConnectionResponse.md)** +**[DeleteConnectionResponse](../../models/operations/DeleteConnectionResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## getConnection @@ -169,70 +141,55 @@ Get Connection details package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.GetConnectionRequest; +import com.airbyte.api.models.operations.GetConnectionResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - GetConnectionRequest req = GetConnectionRequest.builder() + GetConnectionRequest req = GetConnectionRequest.builder() .connectionId("") .build(); - GetConnectionResponse res = sdk.connections().getConnection() + GetConnectionResponse res = sdk.connections().getConnection() .request(req) .call(); - if (res.connectionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.connectionResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.GetConnectionRequest](../../models/operations/GetConnectionRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `request` | [GetConnectionRequest](../../models/operations/GetConnectionRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.GetConnectionResponse](../../models/operations/GetConnectionResponse.md)** +**[GetConnectionResponse](../../models/operations/GetConnectionResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## listConnections @@ -244,69 +201,54 @@ List connections package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.ListConnectionsRequest; +import com.airbyte.api.models.operations.ListConnectionsResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ListConnectionsRequest req = ListConnectionsRequest.builder() + ListConnectionsRequest req = ListConnectionsRequest.builder() .build(); - ListConnectionsResponse res = sdk.connections().listConnections() + ListConnectionsResponse res = sdk.connections().listConnections() .request(req) .call(); - if (res.connectionsResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.connectionsResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.ListConnectionsRequest](../../models/operations/ListConnectionsRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [ListConnectionsRequest](../../models/operations/ListConnectionsRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.ListConnectionsResponse](../../models/operations/ListConnectionsResponse.md)** +**[ListConnectionsResponse](../../models/operations/ListConnectionsResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## patchConnection @@ -318,70 +260,56 @@ Update Connection details package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.PatchConnectionRequest; +import com.airbyte.api.models.operations.PatchConnectionResponse; +import com.airbyte.api.models.shared.ConnectionPatchRequest; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - PatchConnectionRequest req = PatchConnectionRequest.builder() + PatchConnectionRequest req = PatchConnectionRequest.builder() .connectionPatchRequest(ConnectionPatchRequest.builder() - .namespaceFormat("${SOURCE_NAMESPACE}") - .build()) + .name("Postgres-to-Bigquery") + .build()) .connectionId("") .build(); - PatchConnectionResponse res = sdk.connections().patchConnection() + PatchConnectionResponse res = sdk.connections().patchConnection() .request(req) .call(); - if (res.connectionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.connectionResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.PatchConnectionRequest](../../models/operations/PatchConnectionRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [PatchConnectionRequest](../../models/operations/PatchConnectionRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.PatchConnectionResponse](../../models/operations/PatchConnectionResponse.md)** +**[PatchConnectionResponse](../../models/operations/PatchConnectionResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/destinations/README.md b/docs/sdks/destinations/README.md index a8d70662f..d8702cbc8 100644 --- a/docs/sdks/destinations/README.md +++ b/docs/sdks/destinations/README.md @@ -1,6 +1,8 @@ # Destinations (*destinations()*) +## Overview + ### Available Operations * [createDestination](#createdestination) - Create a destination @@ -20,79 +22,85 @@ Creates a destination given a name, workspace id, and a json blob containing the package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.CreateDestinationResponse; +import com.airbyte.api.models.shared.DestinationConfiguration; +import com.airbyte.api.models.shared.DestinationCreateRequest; +import com.airbyte.api.models.shared.DestinationPgvector; +import com.airbyte.api.models.shared.DestinationPgvectorCredentials; +import com.airbyte.api.models.shared.DestinationPgvectorEmbedding; +import com.airbyte.api.models.shared.DestinationPgvectorFake; +import com.airbyte.api.models.shared.DestinationPgvectorProcessingConfigModel; +import com.airbyte.api.models.shared.PostgresConnection; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; +import java.util.List; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) + .build(); + + DestinationCreateRequest req = DestinationCreateRequest.builder() + .configuration(DestinationConfiguration.of(DestinationPgvector.builder() + .embedding(DestinationPgvectorEmbedding.of(DestinationPgvectorFake.builder() + .build())) + .indexing(PostgresConnection.builder() + .credentials(DestinationPgvectorCredentials.builder() + .password("AIRBYTE_PASSWORD") + .build()) + .database("AIRBYTE_DATABASE") + .host("AIRBYTE_ACCOUNT") + .username("AIRBYTE_USER") + .defaultSchema("AIRBYTE_SCHEMA") + .port(5432L) + .build()) + .processing(DestinationPgvectorProcessingConfigModel.builder() + .chunkSize(540943L) + .metadataFields(List.of( + "age")) + .textFields(List.of( + "users.*.name")) + .build()) + .build())) + .name("Postgres") + .workspaceId("2155ae5a-de39-4808-af6a-16fe7b8b4ed2") .build(); - DestinationCreateRequest req = DestinationCreateRequest.builder() - .configuration(DestinationConfiguration.of(DestinationGoogleSheets.builder() - .credentials(AuthenticationViaGoogleOAuth.builder() - .clientId("") - .clientSecret("") - .refreshToken("") - .build()) - .spreadsheetId("https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit") - .build())) - .name("") - .workspaceId("8360860a-d46e-48e6-af62-08e5ba5019ef") - .build(); - - CreateDestinationResponse res = sdk.destinations().createDestination() + CreateDestinationResponse res = sdk.destinations().createDestination() .request(req) .call(); - if (res.destinationResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.destinationResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.shared.DestinationCreateRequest](../../models/shared/DestinationCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [DestinationCreateRequest](../../models/shared/DestinationCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.CreateDestinationResponse](../../models/operations/CreateDestinationResponse.md)** +**[CreateDestinationResponse](../../models/operations/CreateDestinationResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## deleteDestination @@ -104,68 +112,53 @@ Delete a Destination package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.DeleteDestinationRequest; +import com.airbyte.api.models.operations.DeleteDestinationResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - DeleteDestinationRequest req = DeleteDestinationRequest.builder() + DeleteDestinationRequest req = DeleteDestinationRequest.builder() .destinationId("") .build(); - DeleteDestinationResponse res = sdk.destinations().deleteDestination() + DeleteDestinationResponse res = sdk.destinations().deleteDestination() .request(req) .call(); - // handle response - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - + // handle response } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.DeleteDestinationRequest](../../models/operations/DeleteDestinationRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `request` | [DeleteDestinationRequest](../../models/operations/DeleteDestinationRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.DeleteDestinationResponse](../../models/operations/DeleteDestinationResponse.md)** +**[DeleteDestinationResponse](../../models/operations/DeleteDestinationResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## getDestination @@ -177,70 +170,55 @@ Get Destination details package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.GetDestinationRequest; +import com.airbyte.api.models.operations.GetDestinationResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - GetDestinationRequest req = GetDestinationRequest.builder() + GetDestinationRequest req = GetDestinationRequest.builder() .destinationId("") .build(); - GetDestinationResponse res = sdk.destinations().getDestination() + GetDestinationResponse res = sdk.destinations().getDestination() .request(req) .call(); - if (res.destinationResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.destinationResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.GetDestinationRequest](../../models/operations/GetDestinationRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `request` | [GetDestinationRequest](../../models/operations/GetDestinationRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.GetDestinationResponse](../../models/operations/GetDestinationResponse.md)** +**[GetDestinationResponse](../../models/operations/GetDestinationResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## listDestinations @@ -252,69 +230,54 @@ List destinations package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.ListDestinationsRequest; +import com.airbyte.api.models.operations.ListDestinationsResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ListDestinationsRequest req = ListDestinationsRequest.builder() + ListDestinationsRequest req = ListDestinationsRequest.builder() .build(); - ListDestinationsResponse res = sdk.destinations().listDestinations() + ListDestinationsResponse res = sdk.destinations().listDestinations() .request(req) .call(); - if (res.destinationsResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.destinationsResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.ListDestinationsRequest](../../models/operations/ListDestinationsRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [ListDestinationsRequest](../../models/operations/ListDestinationsRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.ListDestinationsResponse](../../models/operations/ListDestinationsResponse.md)** +**[ListDestinationsResponse](../../models/operations/ListDestinationsResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## patchDestination @@ -326,80 +289,64 @@ Update a Destination package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.PatchDestinationRequest; +import com.airbyte.api.models.operations.PatchDestinationResponse; +import com.airbyte.api.models.shared.DestinationConfiguration; +import com.airbyte.api.models.shared.DestinationDuckdb; +import com.airbyte.api.models.shared.DestinationPatchRequest; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - PatchDestinationRequest req = PatchDestinationRequest.builder() + PatchDestinationRequest req = PatchDestinationRequest.builder() .destinationId("") .destinationPatchRequest(DestinationPatchRequest.builder() - .configuration(DestinationConfiguration.of(DestinationGoogleSheets.builder() - .credentials(AuthenticationViaGoogleOAuth.builder() - .clientId("") - .clientSecret("") - .refreshToken("") - .build()) - .spreadsheetId("https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit") - .build())) + .configuration(DestinationConfiguration.of(DestinationDuckdb.builder() + .destinationPath("motherduck:") + .build())) + .name("My Destination") .build()) .build(); - PatchDestinationResponse res = sdk.destinations().patchDestination() + PatchDestinationResponse res = sdk.destinations().patchDestination() .request(req) .call(); - if (res.destinationResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.destinationResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.PatchDestinationRequest](../../models/operations/PatchDestinationRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [PatchDestinationRequest](../../models/operations/PatchDestinationRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.PatchDestinationResponse](../../models/operations/PatchDestinationResponse.md)** +**[PatchDestinationResponse](../../models/operations/PatchDestinationResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## putDestination @@ -411,78 +358,63 @@ Update a Destination and fully overwrite it package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.PutDestinationRequest; +import com.airbyte.api.models.operations.PutDestinationResponse; +import com.airbyte.api.models.shared.DestinationClickhouse; +import com.airbyte.api.models.shared.DestinationConfiguration; +import com.airbyte.api.models.shared.DestinationPutRequest; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - PutDestinationRequest req = PutDestinationRequest.builder() + PutDestinationRequest req = PutDestinationRequest.builder() .destinationId("") .destinationPutRequest(DestinationPutRequest.builder() - .configuration(DestinationConfiguration.of(DestinationGoogleSheets.builder() - .credentials(AuthenticationViaGoogleOAuth.builder() - .clientId("") - .clientSecret("") - .refreshToken("") - .build()) - .spreadsheetId("https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit") - .build())) - .name("") + .configuration(DestinationConfiguration.of(DestinationClickhouse.builder() + .database("") + .host("urban-receptor.org") + .username("Kaylie_Terry") + .build())) + .name("My Destination") .build()) .build(); - PutDestinationResponse res = sdk.destinations().putDestination() + PutDestinationResponse res = sdk.destinations().putDestination() .request(req) .call(); - if (res.destinationResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.destinationResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.PutDestinationRequest](../../models/operations/PutDestinationRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `request` | [PutDestinationRequest](../../models/operations/PutDestinationRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.PutDestinationResponse](../../models/operations/PutDestinationResponse.md)** +**[PutDestinationResponse](../../models/operations/PutDestinationResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/health/README.md b/docs/sdks/health/README.md index 38ed93e34..45fc320fa 100644 --- a/docs/sdks/health/README.md +++ b/docs/sdks/health/README.md @@ -1,6 +1,8 @@ # Health (*health()*) +## Overview + ### Available Operations * [getHealthCheck](#gethealthcheck) - Health Check @@ -15,47 +17,30 @@ Health Check package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import com.airbyte.api.models.operations.GetHealthCheckResponse; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() - .build(); - GetHealthCheckResponse res = sdk.health().getHealthCheck() - .call(); + Airbyte sdk = Airbyte.builder() + .build(); - // handle response - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } + GetHealthCheckResponse res = sdk.health().getHealthCheck() + .call(); + // handle response } } ``` - ### Response -**[com.airbyte.api.models.operations.GetHealthCheckResponse](../../models/operations/GetHealthCheckResponse.md)** +**[GetHealthCheckResponse](../../models/operations/GetHealthCheckResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/jobs/README.md b/docs/sdks/jobs/README.md index 735c1577a..605a4b1c9 100644 --- a/docs/sdks/jobs/README.md +++ b/docs/sdks/jobs/README.md @@ -1,6 +1,8 @@ # Jobs (*jobs()*) +## Overview + ### Available Operations * [cancelJob](#canceljob) - Cancel a running Job @@ -18,70 +20,55 @@ Cancel a running Job package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.CancelJobRequest; +import com.airbyte.api.models.operations.CancelJobResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - CancelJobRequest req = CancelJobRequest.builder() + CancelJobRequest req = CancelJobRequest.builder() .jobId(801771L) .build(); - CancelJobResponse res = sdk.jobs().cancelJob() + CancelJobResponse res = sdk.jobs().cancelJob() .request(req) .call(); - if (res.jobResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.jobResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.CancelJobRequest](../../models/operations/CancelJobRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [CancelJobRequest](../../models/operations/CancelJobRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.CancelJobResponse](../../models/operations/CancelJobResponse.md)** +**[CancelJobResponse](../../models/operations/CancelJobResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## createJob @@ -93,71 +80,57 @@ Trigger a sync or reset job of a connection package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.CreateJobResponse; +import com.airbyte.api.models.shared.JobCreateRequest; +import com.airbyte.api.models.shared.JobTypeEnum; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - JobCreateRequest req = JobCreateRequest.builder() - .connectionId("") - .jobType(JobTypeEnum.RESET) + JobCreateRequest req = JobCreateRequest.builder() + .connectionId("e735894a-e773-4938-969f-45f53957b75b") + .jobType(JobTypeEnum.SYNC) .build(); - CreateJobResponse res = sdk.jobs().createJob() + CreateJobResponse res = sdk.jobs().createJob() .request(req) .call(); - if (res.jobResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.jobResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.shared.JobCreateRequest](../../models/shared/JobCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `request` | [JobCreateRequest](../../models/shared/JobCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.CreateJobResponse](../../models/operations/CreateJobResponse.md)** +**[CreateJobResponse](../../models/operations/CreateJobResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## getJob @@ -169,70 +142,55 @@ Get Job status and details package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.GetJobRequest; +import com.airbyte.api.models.operations.GetJobResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - GetJobRequest req = GetJobRequest.builder() + GetJobRequest req = GetJobRequest.builder() .jobId(131101L) .build(); - GetJobResponse res = sdk.jobs().getJob() + GetJobResponse res = sdk.jobs().getJob() .request(req) .call(); - if (res.jobResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.jobResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.GetJobRequest](../../models/operations/GetJobRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `request` | [GetJobRequest](../../models/operations/GetJobRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.GetJobResponse](../../models/operations/GetJobResponse.md)** +**[GetJobResponse](../../models/operations/GetJobResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## listJobs @@ -244,33 +202,27 @@ List Jobs by sync type package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.ListJobsRequest; +import com.airbyte.api.models.operations.ListJobsResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; +import java.lang.Exception; import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ListJobsRequest req = ListJobsRequest.builder() + ListJobsRequest req = ListJobsRequest.builder() .createdAtEnd(OffsetDateTime.parse("1687450500000")) .createdAtStart(OffsetDateTime.parse("1687450500000")) .orderBy("updatedAt|DESC") @@ -278,37 +230,29 @@ public class Application { .updatedAtStart(OffsetDateTime.parse("1687450500000")) .build(); - ListJobsResponse res = sdk.jobs().listJobs() + ListJobsResponse res = sdk.jobs().listJobs() .request(req) .call(); - if (res.jobsResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.jobsResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.ListJobsRequest](../../models/operations/ListJobsRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `request` | [ListJobsRequest](../../models/operations/ListJobsRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.ListJobsResponse](../../models/operations/ListJobsResponse.md)** +**[ListJobsResponse](../../models/operations/ListJobsResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/organizations/README.md b/docs/sdks/organizations/README.md index 9bf132b13..6ceb2a499 100644 --- a/docs/sdks/organizations/README.md +++ b/docs/sdks/organizations/README.md @@ -1,6 +1,8 @@ # Organizations (*organizations()*) +## Overview + ### Available Operations * [listOrganizationsForUser](#listorganizationsforuser) - List all organizations for a user @@ -15,56 +17,40 @@ Lists users organizations. package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.ListOrganizationsForUserResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ListOrganizationsForUserResponse res = sdk.organizations().listOrganizationsForUser() + ListOrganizationsForUserResponse res = sdk.organizations().listOrganizationsForUser() .call(); - if (res.organizationsResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.organizationsResponse().isPresent()) { + // handle response } - } } ``` - ### Response -**[com.airbyte.api.models.operations.ListOrganizationsForUserResponse](../../models/operations/ListOrganizationsForUserResponse.md)** +**[ListOrganizationsForUserResponse](../../models/operations/ListOrganizationsForUserResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/permissions/README.md b/docs/sdks/permissions/README.md index 2e0266709..f8314155b 100644 --- a/docs/sdks/permissions/README.md +++ b/docs/sdks/permissions/README.md @@ -1,6 +1,8 @@ # Permissions (*permissions()*) +## Overview + ### Available Operations * [createPermission](#createpermission) - Create a permission @@ -19,71 +21,58 @@ Create a permission package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.CreatePermissionResponse; +import com.airbyte.api.models.shared.PermissionCreateRequest; +import com.airbyte.api.models.shared.PublicPermissionType; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - PermissionCreateRequest req = PermissionCreateRequest.builder() - .permissionType(PublicPermissionType.ORGANIZATION_EDITOR) - .userId("297cb6ba-4669-43f1-b750-c800e1a1986b") + PermissionCreateRequest req = PermissionCreateRequest.builder() + .permissionType(PublicPermissionType.WORKSPACE_ADMIN) + .userId("7d08fd6c-531e-4a00-937e-3d355f253e63") + .workspaceId("9924bcd0-99be-453d-ba47-c2c9766f7da5") .build(); - CreatePermissionResponse res = sdk.permissions().createPermission() + CreatePermissionResponse res = sdk.permissions().createPermission() .request(req) .call(); - if (res.permissionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.permissionResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.shared.PermissionCreateRequest](../../models/shared/PermissionCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `request` | [PermissionCreateRequest](../../models/shared/PermissionCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.CreatePermissionResponse](../../models/operations/CreatePermissionResponse.md)** +**[CreatePermissionResponse](../../models/operations/CreatePermissionResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## deletePermission @@ -95,68 +84,53 @@ Delete a Permission package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.DeletePermissionRequest; +import com.airbyte.api.models.operations.DeletePermissionResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - DeletePermissionRequest req = DeletePermissionRequest.builder() + DeletePermissionRequest req = DeletePermissionRequest.builder() .permissionId("") .build(); - DeletePermissionResponse res = sdk.permissions().deletePermission() + DeletePermissionResponse res = sdk.permissions().deletePermission() .request(req) .call(); - // handle response - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - + // handle response } } ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.DeletePermissionRequest](../../models/operations/DeletePermissionRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [DeletePermissionRequest](../../models/operations/DeletePermissionRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.DeletePermissionResponse](../../models/operations/DeletePermissionResponse.md)** +**[DeletePermissionResponse](../../models/operations/DeletePermissionResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## getPermission @@ -168,70 +142,55 @@ Get Permission details package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.GetPermissionRequest; +import com.airbyte.api.models.operations.GetPermissionResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - GetPermissionRequest req = GetPermissionRequest.builder() + GetPermissionRequest req = GetPermissionRequest.builder() .permissionId("") .build(); - GetPermissionResponse res = sdk.permissions().getPermission() + GetPermissionResponse res = sdk.permissions().getPermission() .request(req) .call(); - if (res.permissionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.permissionResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.GetPermissionRequest](../../models/operations/GetPermissionRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `request` | [GetPermissionRequest](../../models/operations/GetPermissionRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.GetPermissionResponse](../../models/operations/GetPermissionResponse.md)** +**[GetPermissionResponse](../../models/operations/GetPermissionResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## listPermissions @@ -243,69 +202,54 @@ List Permissions by user id package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.ListPermissionsRequest; +import com.airbyte.api.models.operations.ListPermissionsResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ListPermissionsRequest req = ListPermissionsRequest.builder() + ListPermissionsRequest req = ListPermissionsRequest.builder() .build(); - ListPermissionsResponse res = sdk.permissions().listPermissions() + ListPermissionsResponse res = sdk.permissions().listPermissions() .request(req) .call(); - if (res.permissionsResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.permissionsResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.ListPermissionsRequest](../../models/operations/ListPermissionsRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [ListPermissionsRequest](../../models/operations/ListPermissionsRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.ListPermissionsResponse](../../models/operations/ListPermissionsResponse.md)** +**[ListPermissionsResponse](../../models/operations/ListPermissionsResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## updatePermission @@ -317,70 +261,57 @@ Update a permission package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.UpdatePermissionRequest; +import com.airbyte.api.models.operations.UpdatePermissionResponse; +import com.airbyte.api.models.shared.PermissionType; +import com.airbyte.api.models.shared.PermissionUpdateRequest; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - UpdatePermissionRequest req = UpdatePermissionRequest.builder() + UpdatePermissionRequest req = UpdatePermissionRequest.builder() .permissionUpdateRequest(PermissionUpdateRequest.builder() - .permissionType(PermissionType.ORGANIZATION_MEMBER) - .build()) + .permissionType(PermissionType.WORKSPACE_OWNER) + .build()) .permissionId("") .build(); - UpdatePermissionResponse res = sdk.permissions().updatePermission() + UpdatePermissionResponse res = sdk.permissions().updatePermission() .request(req) .call(); - if (res.permissionResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.permissionResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.UpdatePermissionRequest](../../models/operations/UpdatePermissionRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `request` | [UpdatePermissionRequest](../../models/operations/UpdatePermissionRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.UpdatePermissionResponse](../../models/operations/UpdatePermissionResponse.md)** +**[UpdatePermissionResponse](../../models/operations/UpdatePermissionResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/sources/README.md b/docs/sdks/sources/README.md index 6413ca474..7eea9357e 100644 --- a/docs/sdks/sources/README.md +++ b/docs/sdks/sources/README.md @@ -1,6 +1,8 @@ # Sources (*sources()*) +## Overview + ### Available Operations * [createSource](#createsource) - Create a source @@ -21,76 +23,63 @@ Creates a source given a name, workspace id, and a json blob containing the conf package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; -import com.airbyte.api.models.shared.Iterable; +import com.airbyte.api.models.operations.CreateSourceResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; +import com.airbyte.api.models.shared.SourceConfiguration; +import com.airbyte.api.models.shared.SourceCreateRequest; +import com.airbyte.api.models.shared.SourcePosthog; +import java.lang.Exception; import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) + .build(); + + SourceCreateRequest req = SourceCreateRequest.builder() + .configuration(SourceConfiguration.of(SourcePosthog.builder() + .apiKey("") + .startDate(OffsetDateTime.parse("2021-01-01T00:00:00Z")) + .build())) + .name("My Source") + .workspaceId("744cc0ed-7f05-4949-9e60-2a814f90c035") .build(); - SourceCreateRequest req = SourceCreateRequest.builder() - .configuration(SourceConfiguration.of(SourceAha.builder() - .apiKey("") - .url("") - .build())) - .name("") - .workspaceId("a2cf0f31-f3dd-4c98-88c3-4bdfb109056a") - .build(); - - CreateSourceResponse res = sdk.sources().createSource() + CreateSourceResponse res = sdk.sources().createSource() .request(req) .call(); - if (res.sourceResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.sourceResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.shared.SourceCreateRequest](../../models/shared/SourceCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [SourceCreateRequest](../../models/shared/SourceCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.CreateSourceResponse](../../models/operations/CreateSourceResponse.md)** +**[CreateSourceResponse](../../models/operations/CreateSourceResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## deleteSource @@ -102,68 +91,53 @@ Delete a Source package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.DeleteSourceRequest; +import com.airbyte.api.models.operations.DeleteSourceResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - DeleteSourceRequest req = DeleteSourceRequest.builder() + DeleteSourceRequest req = DeleteSourceRequest.builder() .sourceId("") .build(); - DeleteSourceResponse res = sdk.sources().deleteSource() + DeleteSourceResponse res = sdk.sources().deleteSource() .request(req) .call(); - // handle response - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - + // handle response } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.DeleteSourceRequest](../../models/operations/DeleteSourceRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `request` | [DeleteSourceRequest](../../models/operations/DeleteSourceRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.DeleteSourceResponse](../../models/operations/DeleteSourceResponse.md)** +**[DeleteSourceResponse](../../models/operations/DeleteSourceResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## getSource @@ -175,70 +149,55 @@ Get Source details package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.GetSourceRequest; +import com.airbyte.api.models.operations.GetSourceResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - GetSourceRequest req = GetSourceRequest.builder() + GetSourceRequest req = GetSourceRequest.builder() .sourceId("") .build(); - GetSourceResponse res = sdk.sources().getSource() + GetSourceResponse res = sdk.sources().getSource() .request(req) .call(); - if (res.sourceResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.sourceResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.GetSourceRequest](../../models/operations/GetSourceRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [GetSourceRequest](../../models/operations/GetSourceRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.GetSourceResponse](../../models/operations/GetSourceResponse.md)** +**[GetSourceResponse](../../models/operations/GetSourceResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## initiateOAuth @@ -254,70 +213,56 @@ That secret ID can be used to create a source with credentials in place of actua package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.InitiateOAuthResponse; +import com.airbyte.api.models.shared.InitiateOauthRequest; +import com.airbyte.api.models.shared.OAuthActorNames; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - InitiateOauthRequest req = InitiateOauthRequest.builder() - .redirectUrl("") - .sourceType(OAuthActorNames.GITLAB) - .workspaceId("fd28130d-9919-4ffa-a67d-4e12eb099447") + InitiateOauthRequest req = InitiateOauthRequest.builder() + .redirectUrl("https://cloud.airbyte.io/v1/api/oauth/callback") + .sourceType(OAuthActorNames.GCS) + .workspaceId("871d9b60-11d1-44cb-8c92-c246d53bf87e") .build(); - InitiateOAuthResponse res = sdk.sources().initiateOAuth() + InitiateOAuthResponse res = sdk.sources().initiateOAuth() .request(req) .call(); - // handle response - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - + // handle response } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.shared.InitiateOauthRequest](../../models/shared/InitiateOauthRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [InitiateOauthRequest](../../models/shared/InitiateOauthRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.InitiateOAuthResponse](../../models/operations/InitiateOAuthResponse.md)** +**[InitiateOAuthResponse](../../models/operations/InitiateOAuthResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## listSources @@ -329,143 +274,57 @@ List sources package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.ListSourcesRequest; +import com.airbyte.api.models.operations.ListSourcesResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; +import java.util.List; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ListSourcesRequest req = ListSourcesRequest.builder() - .workspaceIds(java.util.List.of( - "d", - "f", - "0", - "8", - "f", - "6", - "b", - "0", - "-", - "b", - "3", - "6", - "4", - "-", - "4", - "c", - "c", - "1", - "-", - "9", - "b", - "3", - "f", - "-", - "9", - "6", - "f", - "5", - "d", - "2", - "f", - "c", - "c", - "f", - "b", - "2", - ",", - "b", - "0", - "7", - "9", - "6", - "7", - "9", - "7", - "-", - "d", - "e", - "2", - "3", - "-", - "4", - "f", - "c", - "7", - "-", - "a", - "5", - "e", - "2", - "-", - "7", - "e", - "1", - "3", - "1", - "3", - "1", - "4", - "7", - "1", - "8", - "c")) + ListSourcesRequest req = ListSourcesRequest.builder() + .workspaceIds(List.of( + "df08f6b0-b364-4cc1-9b3f-96f5d2fccfb2,b0796797-de23-4fc7-a5e2-7e131314718c")) .build(); - ListSourcesResponse res = sdk.sources().listSources() + ListSourcesResponse res = sdk.sources().listSources() .request(req) .call(); - if (res.sourcesResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.sourcesResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.ListSourcesRequest](../../models/operations/ListSourcesRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [ListSourcesRequest](../../models/operations/ListSourcesRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.ListSourcesResponse](../../models/operations/ListSourcesResponse.md)** +**[ListSourcesResponse](../../models/operations/ListSourcesResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## patchSource @@ -477,78 +336,65 @@ Update a Source package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; -import com.airbyte.api.models.shared.Iterable; +import com.airbyte.api.models.operations.PatchSourceRequest; +import com.airbyte.api.models.operations.PatchSourceResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import com.airbyte.api.models.shared.SourceConfiguration; +import com.airbyte.api.models.shared.SourceEventzilla; +import com.airbyte.api.models.shared.SourcePatchRequest; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - PatchSourceRequest req = PatchSourceRequest.builder() + PatchSourceRequest req = PatchSourceRequest.builder() .sourceId("") .sourcePatchRequest(SourcePatchRequest.builder() - .configuration(SourceConfiguration.of(SourceAha.builder() - .apiKey("") - .url("") - .build())) - .name("My source") + .configuration(SourceConfiguration.of(SourceEventzilla.builder() + .xApiKey("") + .build())) + .name("My Source") + .workspaceId("744cc0ed-7f05-4949-9e60-2a814f90c035") .build()) .build(); - PatchSourceResponse res = sdk.sources().patchSource() + PatchSourceResponse res = sdk.sources().patchSource() .request(req) .call(); - if (res.sourceResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.sourceResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.PatchSourceRequest](../../models/operations/PatchSourceRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [PatchSourceRequest](../../models/operations/PatchSourceRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.PatchSourceResponse](../../models/operations/PatchSourceResponse.md)** +**[PatchSourceResponse](../../models/operations/PatchSourceResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## putSource @@ -560,75 +406,62 @@ Update a Source and fully overwrite it package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; -import com.airbyte.api.models.shared.Iterable; +import com.airbyte.api.models.operations.PutSourceRequest; +import com.airbyte.api.models.operations.PutSourceResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import com.airbyte.api.models.shared.SourceConfiguration; +import com.airbyte.api.models.shared.SourceGridly; +import com.airbyte.api.models.shared.SourcePutRequest; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - PutSourceRequest req = PutSourceRequest.builder() + PutSourceRequest req = PutSourceRequest.builder() .sourceId("") .sourcePutRequest(SourcePutRequest.builder() - .configuration(SourceConfiguration.of(SourceAha.builder() - .apiKey("") - .url("") - .build())) - .name("") + .configuration(SourceConfiguration.of(SourceGridly.builder() + .apiKey("") + .gridId("") + .build())) + .name("My Source") .build()) .build(); - PutSourceResponse res = sdk.sources().putSource() + PutSourceResponse res = sdk.sources().putSource() .request(req) .call(); - if (res.sourceResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.sourceResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.PutSourceRequest](../../models/operations/PutSourceRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [PutSourceRequest](../../models/operations/PutSourceRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.PutSourceResponse](../../models/operations/PutSourceResponse.md)** +**[PutSourceResponse](../../models/operations/PutSourceResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/streams/README.md b/docs/sdks/streams/README.md index fee7c9af8..1517d61ea 100644 --- a/docs/sdks/streams/README.md +++ b/docs/sdks/streams/README.md @@ -1,6 +1,8 @@ # Streams (*streams()*) +## Overview + ### Available Operations * [getStreamProperties](#getstreamproperties) - Get stream properties @@ -15,67 +17,52 @@ Get stream properties package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.GetStreamPropertiesRequest; +import com.airbyte.api.models.operations.GetStreamPropertiesResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - GetStreamPropertiesRequest req = GetStreamPropertiesRequest.builder() + GetStreamPropertiesRequest req = GetStreamPropertiesRequest.builder() .sourceId("") .build(); - GetStreamPropertiesResponse res = sdk.streams().getStreamProperties() + GetStreamPropertiesResponse res = sdk.streams().getStreamProperties() .request(req) .call(); - if (res.streamPropertiesResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.streamPropertiesResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.GetStreamPropertiesRequest](../../models/operations/GetStreamPropertiesRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `request` | [GetStreamPropertiesRequest](../../models/operations/GetStreamPropertiesRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.GetStreamPropertiesResponse](../../models/operations/GetStreamPropertiesResponse.md)** +**[GetStreamPropertiesResponse](../../models/operations/GetStreamPropertiesResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/users/README.md b/docs/sdks/users/README.md index 49bc6e0e1..4c2cad3a6 100644 --- a/docs/sdks/users/README.md +++ b/docs/sdks/users/README.md @@ -1,6 +1,8 @@ # Users (*users()*) +## Overview + ### Available Operations * [listUsersWithinAnOrganization](#listuserswithinanorganization) - List all users within an organization @@ -15,67 +17,52 @@ Organization Admin user can list all users within the same organization. Also pr package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequest; +import com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ListUsersWithinAnOrganizationRequest req = ListUsersWithinAnOrganizationRequest.builder() + ListUsersWithinAnOrganizationRequest req = ListUsersWithinAnOrganizationRequest.builder() .organizationId("") .build(); - ListUsersWithinAnOrganizationResponse res = sdk.users().listUsersWithinAnOrganization() + ListUsersWithinAnOrganizationResponse res = sdk.users().listUsersWithinAnOrganization() .request(req) .call(); - if (res.usersResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.usersResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequest](../../models/operations/ListUsersWithinAnOrganizationRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `request` | [ListUsersWithinAnOrganizationRequest](../../models/operations/ListUsersWithinAnOrganizationRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse](../../models/operations/ListUsersWithinAnOrganizationResponse.md)** +**[ListUsersWithinAnOrganizationResponse](../../models/operations/ListUsersWithinAnOrganizationResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/workspaces/README.md b/docs/sdks/workspaces/README.md index 92763c126..43d4b5938 100644 --- a/docs/sdks/workspaces/README.md +++ b/docs/sdks/workspaces/README.md @@ -1,6 +1,8 @@ # Workspaces (*workspaces()*) +## Overview + ### Available Operations * [createOrUpdateWorkspaceOAuthCredentials](#createorupdateworkspaceoauthcredentials) - Create OAuth override credentials for a workspace and source type. @@ -21,74 +23,63 @@ In order to determine what the credential configuration needs to be, please see package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequest; +import com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse; +import com.airbyte.api.models.shared.ActorTypeEnum; +import com.airbyte.api.models.shared.OAuthActorNames; +import com.airbyte.api.models.shared.OAuthCredentialsConfiguration; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest; +import java.lang.Exception; +import java.util.Map; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - CreateOrUpdateWorkspaceOAuthCredentialsRequest req = CreateOrUpdateWorkspaceOAuthCredentialsRequest.builder() + CreateOrUpdateWorkspaceOAuthCredentialsRequest req = CreateOrUpdateWorkspaceOAuthCredentialsRequest.builder() .workspaceOAuthCredentialsRequest(WorkspaceOAuthCredentialsRequest.builder() - .actorType(ActorTypeEnum.DESTINATION) - .configuration(OAuthCredentialsConfiguration.of(Airtable.builder() - .build())) - .name(OAuthActorNames.AMAZON_ADS) - .build()) + .actorType(ActorTypeEnum.DESTINATION) + .configuration(OAuthCredentialsConfiguration.of(Map.ofEntries(\n Map.entry("user", "charles")))) + .name(OAuthActorNames.AIRTABLE) + .build()) .workspaceId("") .build(); - CreateOrUpdateWorkspaceOAuthCredentialsResponse res = sdk.workspaces().createOrUpdateWorkspaceOAuthCredentials() + CreateOrUpdateWorkspaceOAuthCredentialsResponse res = sdk.workspaces().createOrUpdateWorkspaceOAuthCredentials() .request(req) .call(); - // handle response - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - + // handle response } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequest](../../models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `request` | [CreateOrUpdateWorkspaceOAuthCredentialsRequest](../../models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse](../../models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.md)** +**[CreateOrUpdateWorkspaceOAuthCredentialsResponse](../../models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## createWorkspace @@ -100,70 +91,55 @@ Create a workspace package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.CreateWorkspaceResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import com.airbyte.api.models.shared.WorkspaceCreateRequest; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - WorkspaceCreateRequest req = WorkspaceCreateRequest.builder() - .name("") + WorkspaceCreateRequest req = WorkspaceCreateRequest.builder() + .name("Company Workspace Name") .build(); - CreateWorkspaceResponse res = sdk.workspaces().createWorkspace() + CreateWorkspaceResponse res = sdk.workspaces().createWorkspace() .request(req) .call(); - if (res.workspaceResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.workspaceResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.shared.WorkspaceCreateRequest](../../models/shared/WorkspaceCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `request` | [WorkspaceCreateRequest](../../models/shared/WorkspaceCreateRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.CreateWorkspaceResponse](../../models/operations/CreateWorkspaceResponse.md)** +**[CreateWorkspaceResponse](../../models/operations/CreateWorkspaceResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## deleteWorkspace @@ -175,68 +151,53 @@ Delete a Workspace package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.DeleteWorkspaceRequest; +import com.airbyte.api.models.operations.DeleteWorkspaceResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - DeleteWorkspaceRequest req = DeleteWorkspaceRequest.builder() + DeleteWorkspaceRequest req = DeleteWorkspaceRequest.builder() .workspaceId("") .build(); - DeleteWorkspaceResponse res = sdk.workspaces().deleteWorkspace() + DeleteWorkspaceResponse res = sdk.workspaces().deleteWorkspace() .request(req) .call(); - // handle response - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; - } - + // handle response } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.DeleteWorkspaceRequest](../../models/operations/DeleteWorkspaceRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [DeleteWorkspaceRequest](../../models/operations/DeleteWorkspaceRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.DeleteWorkspaceResponse](../../models/operations/DeleteWorkspaceResponse.md)** +**[DeleteWorkspaceResponse](../../models/operations/DeleteWorkspaceResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## getWorkspace @@ -248,70 +209,55 @@ Get Workspace details package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.GetWorkspaceRequest; +import com.airbyte.api.models.operations.GetWorkspaceResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - GetWorkspaceRequest req = GetWorkspaceRequest.builder() + GetWorkspaceRequest req = GetWorkspaceRequest.builder() .workspaceId("") .build(); - GetWorkspaceResponse res = sdk.workspaces().getWorkspace() + GetWorkspaceResponse res = sdk.workspaces().getWorkspace() .request(req) .call(); - if (res.workspaceResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.workspaceResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.GetWorkspaceRequest](../../models/operations/GetWorkspaceRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `request` | [GetWorkspaceRequest](../../models/operations/GetWorkspaceRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.GetWorkspaceResponse](../../models/operations/GetWorkspaceResponse.md)** +**[GetWorkspaceResponse](../../models/operations/GetWorkspaceResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## listWorkspaces @@ -323,69 +269,54 @@ List workspaces package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.ListWorkspacesRequest; +import com.airbyte.api.models.operations.ListWorkspacesResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - ListWorkspacesRequest req = ListWorkspacesRequest.builder() + ListWorkspacesRequest req = ListWorkspacesRequest.builder() .build(); - ListWorkspacesResponse res = sdk.workspaces().listWorkspaces() + ListWorkspacesResponse res = sdk.workspaces().listWorkspaces() .request(req) .call(); - if (res.workspacesResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.workspacesResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.ListWorkspacesRequest](../../models/operations/ListWorkspacesRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `request` | [ListWorkspacesRequest](../../models/operations/ListWorkspacesRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.ListWorkspacesResponse](../../models/operations/ListWorkspacesResponse.md)** +**[ListWorkspacesResponse](../../models/operations/ListWorkspacesResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | ## updateWorkspace @@ -397,70 +328,56 @@ Update a workspace package hello.world; import com.airbyte.api.Airbyte; -import com.airbyte.api.models.operations.*; -import com.airbyte.api.models.shared.*; +import com.airbyte.api.models.operations.UpdateWorkspaceRequest; +import com.airbyte.api.models.operations.UpdateWorkspaceResponse; +import com.airbyte.api.models.shared.SchemeBasicAuth; import com.airbyte.api.models.shared.Security; -import com.airbyte.api.utils.EventStream; -import java.math.BigDecimal; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; -import static java.util.Map.entry; +import com.airbyte.api.models.shared.WorkspaceUpdateRequest; +import java.lang.Exception; public class Application { public static void main(String[] args) throws Exception { - try { - Airbyte sdk = Airbyte.builder() + + Airbyte sdk = Airbyte.builder() .security(Security.builder() .basicAuth(SchemeBasicAuth.builder() .password("") .username("") .build()) .build()) - .build(); + .build(); - UpdateWorkspaceRequest req = UpdateWorkspaceRequest.builder() + UpdateWorkspaceRequest req = UpdateWorkspaceRequest.builder() .workspaceUpdateRequest(WorkspaceUpdateRequest.builder() - .name("") - .build()) + .name("Company Workspace Name") + .build()) .workspaceId("") .build(); - UpdateWorkspaceResponse res = sdk.workspaces().updateWorkspace() + UpdateWorkspaceResponse res = sdk.workspaces().updateWorkspace() .request(req) .call(); - if (res.workspaceResponse().isPresent()) { - // handle response - } - } catch (com.airbyte.api.models.errors.SDKError e) { - // handle exception - throw e; - } catch (Exception e) { - // handle exception - throw e; + if (res.workspaceResponse().isPresent()) { + // handle response } - } } ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | -| `request` | [com.airbyte.api.models.operations.UpdateWorkspaceRequest](../../models/operations/UpdateWorkspaceRequest.md) | :heavy_check_mark: | The request object to use for the request. | - +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [UpdateWorkspaceRequest](../../models/operations/UpdateWorkspaceRequest.md) | :heavy_check_mark: | The request object to use for the request. | ### Response -**[com.airbyte.api.models.operations.UpdateWorkspaceResponse](../../models/operations/UpdateWorkspaceResponse.md)** +**[UpdateWorkspaceResponse](../../models/operations/UpdateWorkspaceResponse.md)** + ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------- | ---------------------- | ---------------------- | -| models/errors/SDKError | 4xx-5xx | \*\/* | +| models/errors/SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 6740c6346..0609ffdad 100644 --- a/gen.yaml +++ b/gen.yaml @@ -10,8 +10,9 @@ generation: requestResponseComponentNamesFeb2024: false auth: oAuth2ClientCredentialsEnabled: true + oAuth2PasswordEnabled: false java: - version: 1.5.10 + version: 1.6.0 additionalDependencies: [] additionalPlugins: [] artifactID: api @@ -19,6 +20,7 @@ java: companyEmail: info@airbyte.com companyName: Airbyte companyURL: www.airbyte.com + defaultErrorName: SDKError flattenGlobalSecurity: false githubURL: github.com/airbytehq/airbyte-api-java-sdk groupID: com.airbyte diff --git a/src/main/java/com/airbyte/api/Airbyte.java b/src/main/java/com/airbyte/api/Airbyte.java index e071658d6..5114936ed 100644 --- a/src/main/java/com/airbyte/api/Airbyte.java +++ b/src/main/java/com/airbyte/api/Airbyte.java @@ -1,30 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; import com.airbyte.api.utils.HTTPClient; -import com.airbyte.api.utils.Hook.AfterErrorContextImpl; -import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; -import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.RetryConfig; import com.airbyte.api.utils.SpeakeasyHTTPClient; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.net.http.HttpRequest; -import java.time.LocalDate; -import java.time.OffsetDateTime; +import java.lang.String; +import java.util.Map; import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.function.Consumer; /** - * airbyte-api: Programatically control Airbyte Cloud, OSS & Enterprise. + * airbyte-api: Programmatically control Airbyte Cloud, OSS & Enterprise. */ public class Airbyte { @@ -161,8 +152,8 @@ public Builder serverURL(String serverUrl) { * @param params The parameters to use when templating the URL. * @return The builder instance. */ - public Builder serverURL(String serverUrl, java.util.Map params) { - this.sdkConfiguration.serverUrl = com.airbyte.api.utils.Utils.templateUrl(serverUrl, params); + public Builder serverURL(String serverUrl, Map params) { + this.sdkConfiguration.serverUrl = Utils.templateUrl(serverUrl, params); return this; } @@ -188,9 +179,16 @@ public Builder retryConfig(RetryConfig retryConfig) { this.sdkConfiguration.retryConfig = Optional.of(retryConfig); return this; } - // Visible for testing, will be accessed via reflection - void _hooks(com.airbyte.api.utils.Hooks hooks) { - sdkConfiguration.setHooks(hooks); + // Visible for testing, may be accessed via reflection in tests + Builder _hooks(com.airbyte.api.utils.Hooks hooks) { + sdkConfiguration.setHooks(hooks); + return this; + } + + // Visible for testing, may be accessed via reflection in tests + Builder _hooks(Consumer consumer) { + consumer.accept(sdkConfiguration.hooks()); + return this; } /** diff --git a/src/main/java/com/airbyte/api/Connections.java b/src/main/java/com/airbyte/api/Connections.java index d42b97f88..dfda65643 100644 --- a/src/main/java/com/airbyte/api/Connections.java +++ b/src/main/java/com/airbyte/api/Connections.java @@ -1,31 +1,45 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.CreateConnectionRequestBuilder; +import com.airbyte.api.models.operations.CreateConnectionResponse; +import com.airbyte.api.models.operations.DeleteConnectionRequest; +import com.airbyte.api.models.operations.DeleteConnectionRequestBuilder; +import com.airbyte.api.models.operations.DeleteConnectionResponse; +import com.airbyte.api.models.operations.GetConnectionRequest; +import com.airbyte.api.models.operations.GetConnectionRequestBuilder; +import com.airbyte.api.models.operations.GetConnectionResponse; +import com.airbyte.api.models.operations.ListConnectionsRequest; +import com.airbyte.api.models.operations.ListConnectionsRequestBuilder; +import com.airbyte.api.models.operations.ListConnectionsResponse; +import com.airbyte.api.models.operations.PatchConnectionRequest; +import com.airbyte.api.models.operations.PatchConnectionRequestBuilder; +import com.airbyte.api.models.operations.PatchConnectionResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; +import com.airbyte.api.models.shared.ConnectionCreateRequest; +import com.airbyte.api.models.shared.ConnectionResponse; +import com.airbyte.api.models.shared.ConnectionsResponse; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.JSON; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.SerializedBody; +import com.airbyte.api.utils.Utils.JsonShape; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.Object; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.util.Optional; -import org.apache.http.NameValuePair; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Connections implements MethodCallCreateConnection, @@ -45,8 +59,8 @@ public class Connections implements * Create a connection * @return The call builder */ - public com.airbyte.api.models.operations.CreateConnectionRequestBuilder createConnection() { - return new com.airbyte.api.models.operations.CreateConnectionRequestBuilder(this); + public CreateConnectionRequestBuilder createConnection() { + return new CreateConnectionRequestBuilder(this); } /** @@ -55,34 +69,42 @@ public com.airbyte.api.models.operations.CreateConnectionRequestBuilder createCo * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CreateConnectionResponse createConnection( - com.airbyte.api.models.shared.ConnectionCreateRequest request) throws Exception { + public CreateConnectionResponse createConnection( + ConnectionCreateRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, "/connections"); HTTPRequest _req = new HTTPRequest(_url, "POST"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "request", "json", false); + _convertedRequest, + "request", + "json", + false); if (_serializedRequestBody == null) { throw new Exception("Request body is required"); } _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("createConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "createConnection", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -90,18 +112,28 @@ public com.airbyte.api.models.operations.CreateConnectionResponse createConnecti if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("createConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "createConnection", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("createConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "createConnection", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("createConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "createConnection", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -109,28 +141,28 @@ public com.airbyte.api.models.operations.CreateConnectionResponse createConnecti .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.CreateConnectionResponse.Builder _resBuilder = - com.airbyte.api.models.operations.CreateConnectionResponse + CreateConnectionResponse.Builder _resBuilder = + CreateConnectionResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.CreateConnectionResponse _res = _resBuilder.build(); + CreateConnectionResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.ConnectionResponse _out = Utils.mapper().readValue( + ConnectionResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withConnectionResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withConnectionResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { @@ -139,13 +171,13 @@ public com.airbyte.api.models.operations.CreateConnectionResponse createConnecti _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -154,8 +186,8 @@ public com.airbyte.api.models.operations.CreateConnectionResponse createConnecti * Delete a Connection * @return The call builder */ - public com.airbyte.api.models.operations.DeleteConnectionRequestBuilder deleteConnection() { - return new com.airbyte.api.models.operations.DeleteConnectionRequestBuilder(this); + public DeleteConnectionRequestBuilder deleteConnection() { + return new DeleteConnectionRequestBuilder(this); } /** @@ -164,11 +196,11 @@ public com.airbyte.api.models.operations.DeleteConnectionRequestBuilder deleteCo * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnection( - com.airbyte.api.models.operations.DeleteConnectionRequest request) throws Exception { + public DeleteConnectionResponse deleteConnection( + DeleteConnectionRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.DeleteConnectionRequest.class, + DeleteConnectionRequest.class, _baseUrl, "/connections/{connectionId}", request, null); @@ -176,16 +208,19 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti HTTPRequest _req = new HTTPRequest(_url, "DELETE"); _req.addHeader("Accept", "*/*") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("deleteConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "deleteConnection", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -193,18 +228,28 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("deleteConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "deleteConnection", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("deleteConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "deleteConnection", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("deleteConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "deleteConnection", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -212,14 +257,14 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.DeleteConnectionResponse.Builder _resBuilder = - com.airbyte.api.models.operations.DeleteConnectionResponse + DeleteConnectionResponse.Builder _resBuilder = + DeleteConnectionResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.DeleteConnectionResponse _res = _resBuilder.build(); + DeleteConnectionResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "204")) { // no content @@ -231,13 +276,13 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -246,8 +291,8 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti * Get Connection details * @return The call builder */ - public com.airbyte.api.models.operations.GetConnectionRequestBuilder getConnection() { - return new com.airbyte.api.models.operations.GetConnectionRequestBuilder(this); + public GetConnectionRequestBuilder getConnection() { + return new GetConnectionRequestBuilder(this); } /** @@ -256,11 +301,11 @@ public com.airbyte.api.models.operations.GetConnectionRequestBuilder getConnecti * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.GetConnectionResponse getConnection( - com.airbyte.api.models.operations.GetConnectionRequest request) throws Exception { + public GetConnectionResponse getConnection( + GetConnectionRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.GetConnectionRequest.class, + GetConnectionRequest.class, _baseUrl, "/connections/{connectionId}", request, null); @@ -268,16 +313,19 @@ public com.airbyte.api.models.operations.GetConnectionResponse getConnection( HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("getConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "getConnection", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -285,18 +333,28 @@ public com.airbyte.api.models.operations.GetConnectionResponse getConnection( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("getConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "getConnection", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("getConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "getConnection", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("getConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "getConnection", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -304,28 +362,28 @@ public com.airbyte.api.models.operations.GetConnectionResponse getConnection( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.GetConnectionResponse.Builder _resBuilder = - com.airbyte.api.models.operations.GetConnectionResponse + GetConnectionResponse.Builder _resBuilder = + GetConnectionResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.GetConnectionResponse _res = _resBuilder.build(); + GetConnectionResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.ConnectionResponse _out = Utils.mapper().readValue( + ConnectionResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withConnectionResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withConnectionResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -334,13 +392,13 @@ public com.airbyte.api.models.operations.GetConnectionResponse getConnection( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -349,8 +407,8 @@ public com.airbyte.api.models.operations.GetConnectionResponse getConnection( * List connections * @return The call builder */ - public com.airbyte.api.models.operations.ListConnectionsRequestBuilder listConnections() { - return new com.airbyte.api.models.operations.ListConnectionsRequestBuilder(this); + public ListConnectionsRequestBuilder listConnections() { + return new ListConnectionsRequestBuilder(this); } /** @@ -359,8 +417,8 @@ public com.airbyte.api.models.operations.ListConnectionsRequestBuilder listConne * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.ListConnectionsResponse listConnections( - com.airbyte.api.models.operations.ListConnectionsRequest request) throws Exception { + public ListConnectionsResponse listConnections( + ListConnectionsRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -369,21 +427,24 @@ public com.airbyte.api.models.operations.ListConnectionsResponse listConnections HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); + SDKConfiguration.USER_AGENT); _req.addQueryParams(Utils.getQueryParams( - com.airbyte.api.models.operations.ListConnectionsRequest.class, + ListConnectionsRequest.class, request, null)); - + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("listConnections", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "listConnections", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -391,18 +452,28 @@ public com.airbyte.api.models.operations.ListConnectionsResponse listConnections if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("listConnections", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "listConnections", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("listConnections", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "listConnections", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("listConnections", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "listConnections", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -410,28 +481,28 @@ public com.airbyte.api.models.operations.ListConnectionsResponse listConnections .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.ListConnectionsResponse.Builder _resBuilder = - com.airbyte.api.models.operations.ListConnectionsResponse + ListConnectionsResponse.Builder _resBuilder = + ListConnectionsResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.ListConnectionsResponse _res = _resBuilder.build(); + ListConnectionsResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.ConnectionsResponse _out = Utils.mapper().readValue( + ConnectionsResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withConnectionsResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withConnectionsResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -440,13 +511,13 @@ public com.airbyte.api.models.operations.ListConnectionsResponse listConnections _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -455,8 +526,8 @@ public com.airbyte.api.models.operations.ListConnectionsResponse listConnections * Update Connection details * @return The call builder */ - public com.airbyte.api.models.operations.PatchConnectionRequestBuilder patchConnection() { - return new com.airbyte.api.models.operations.PatchConnectionRequestBuilder(this); + public PatchConnectionRequestBuilder patchConnection() { + return new PatchConnectionRequestBuilder(this); } /** @@ -465,36 +536,44 @@ public com.airbyte.api.models.operations.PatchConnectionRequestBuilder patchConn * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.PatchConnectionResponse patchConnection( - com.airbyte.api.models.operations.PatchConnectionRequest request) throws Exception { + public PatchConnectionResponse patchConnection( + PatchConnectionRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.PatchConnectionRequest.class, + PatchConnectionRequest.class, _baseUrl, "/connections/{connectionId}", request, null); HTTPRequest _req = new HTTPRequest(_url, "PATCH"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "connectionPatchRequest", "json", false); + _convertedRequest, + "connectionPatchRequest", + "json", + false); if (_serializedRequestBody == null) { throw new Exception("Request body is required"); } _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("patchConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "patchConnection", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -502,18 +581,28 @@ public com.airbyte.api.models.operations.PatchConnectionResponse patchConnection if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("patchConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "patchConnection", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("patchConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "patchConnection", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("patchConnection", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "patchConnection", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -521,28 +610,28 @@ public com.airbyte.api.models.operations.PatchConnectionResponse patchConnection .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.PatchConnectionResponse.Builder _resBuilder = - com.airbyte.api.models.operations.PatchConnectionResponse + PatchConnectionResponse.Builder _resBuilder = + PatchConnectionResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.PatchConnectionResponse _res = _resBuilder.build(); + PatchConnectionResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.ConnectionResponse _out = Utils.mapper().readValue( + ConnectionResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withConnectionResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withConnectionResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -551,13 +640,13 @@ public com.airbyte.api.models.operations.PatchConnectionResponse patchConnection _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/Destinations.java b/src/main/java/com/airbyte/api/Destinations.java index 8e6c79bcf..adab4b209 100644 --- a/src/main/java/com/airbyte/api/Destinations.java +++ b/src/main/java/com/airbyte/api/Destinations.java @@ -1,31 +1,48 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.CreateDestinationRequestBuilder; +import com.airbyte.api.models.operations.CreateDestinationResponse; +import com.airbyte.api.models.operations.DeleteDestinationRequest; +import com.airbyte.api.models.operations.DeleteDestinationRequestBuilder; +import com.airbyte.api.models.operations.DeleteDestinationResponse; +import com.airbyte.api.models.operations.GetDestinationRequest; +import com.airbyte.api.models.operations.GetDestinationRequestBuilder; +import com.airbyte.api.models.operations.GetDestinationResponse; +import com.airbyte.api.models.operations.ListDestinationsRequest; +import com.airbyte.api.models.operations.ListDestinationsRequestBuilder; +import com.airbyte.api.models.operations.ListDestinationsResponse; +import com.airbyte.api.models.operations.PatchDestinationRequest; +import com.airbyte.api.models.operations.PatchDestinationRequestBuilder; +import com.airbyte.api.models.operations.PatchDestinationResponse; +import com.airbyte.api.models.operations.PutDestinationRequest; +import com.airbyte.api.models.operations.PutDestinationRequestBuilder; +import com.airbyte.api.models.operations.PutDestinationResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; +import com.airbyte.api.models.shared.DestinationCreateRequest; +import com.airbyte.api.models.shared.DestinationResponse; +import com.airbyte.api.models.shared.DestinationsResponse; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.JSON; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.SerializedBody; +import com.airbyte.api.utils.Utils.JsonShape; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.Object; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.util.Optional; -import org.apache.http.NameValuePair; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Destinations implements MethodCallCreateDestination, @@ -47,8 +64,8 @@ public class Destinations implements * Creates a destination given a name, workspace id, and a json blob containing the configuration for the source. * @return The call builder */ - public com.airbyte.api.models.operations.CreateDestinationRequestBuilder createDestination() { - return new com.airbyte.api.models.operations.CreateDestinationRequestBuilder(this); + public CreateDestinationRequestBuilder createDestination() { + return new CreateDestinationRequestBuilder(this); } /** @@ -57,9 +74,10 @@ public com.airbyte.api.models.operations.CreateDestinationRequestBuilder createD * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CreateDestinationResponse createDestinationDirect() throws Exception { + public CreateDestinationResponse createDestinationDirect() throws Exception { return createDestination(Optional.empty()); } + /** * Create a destination * Creates a destination given a name, workspace id, and a json blob containing the configuration for the source. @@ -67,31 +85,39 @@ public com.airbyte.api.models.operations.CreateDestinationResponse createDestina * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CreateDestinationResponse createDestination( - Optional request) throws Exception { + public CreateDestinationResponse createDestination( + Optional request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, "/destinations"); HTTPRequest _req = new HTTPRequest(_url, "POST"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference>() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference>() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "request", "json", false); + _convertedRequest, + "request", + "json", + false); _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("createDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "createDestination", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -99,18 +125,28 @@ public com.airbyte.api.models.operations.CreateDestinationResponse createDestina if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("createDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "createDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("createDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "createDestination", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("createDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "createDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -118,28 +154,28 @@ public com.airbyte.api.models.operations.CreateDestinationResponse createDestina .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.CreateDestinationResponse.Builder _resBuilder = - com.airbyte.api.models.operations.CreateDestinationResponse + CreateDestinationResponse.Builder _resBuilder = + CreateDestinationResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.CreateDestinationResponse _res = _resBuilder.build(); + CreateDestinationResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.DestinationResponse _out = Utils.mapper().readValue( + DestinationResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withDestinationResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withDestinationResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "404", "4XX", "5XX")) { @@ -148,13 +184,13 @@ public com.airbyte.api.models.operations.CreateDestinationResponse createDestina _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -163,8 +199,8 @@ public com.airbyte.api.models.operations.CreateDestinationResponse createDestina * Delete a Destination * @return The call builder */ - public com.airbyte.api.models.operations.DeleteDestinationRequestBuilder deleteDestination() { - return new com.airbyte.api.models.operations.DeleteDestinationRequestBuilder(this); + public DeleteDestinationRequestBuilder deleteDestination() { + return new DeleteDestinationRequestBuilder(this); } /** @@ -173,11 +209,11 @@ public com.airbyte.api.models.operations.DeleteDestinationRequestBuilder deleteD * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestination( - com.airbyte.api.models.operations.DeleteDestinationRequest request) throws Exception { + public DeleteDestinationResponse deleteDestination( + DeleteDestinationRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.DeleteDestinationRequest.class, + DeleteDestinationRequest.class, _baseUrl, "/destinations/{destinationId}", request, null); @@ -185,16 +221,19 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina HTTPRequest _req = new HTTPRequest(_url, "DELETE"); _req.addHeader("Accept", "*/*") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("deleteDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "deleteDestination", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -202,18 +241,28 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("deleteDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "deleteDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("deleteDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "deleteDestination", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("deleteDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "deleteDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -221,14 +270,14 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.DeleteDestinationResponse.Builder _resBuilder = - com.airbyte.api.models.operations.DeleteDestinationResponse + DeleteDestinationResponse.Builder _resBuilder = + DeleteDestinationResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.DeleteDestinationResponse _res = _resBuilder.build(); + DeleteDestinationResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "204")) { // no content @@ -240,13 +289,13 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -255,8 +304,8 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina * Get Destination details * @return The call builder */ - public com.airbyte.api.models.operations.GetDestinationRequestBuilder getDestination() { - return new com.airbyte.api.models.operations.GetDestinationRequestBuilder(this); + public GetDestinationRequestBuilder getDestination() { + return new GetDestinationRequestBuilder(this); } /** @@ -265,11 +314,11 @@ public com.airbyte.api.models.operations.GetDestinationRequestBuilder getDestina * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.GetDestinationResponse getDestination( - com.airbyte.api.models.operations.GetDestinationRequest request) throws Exception { + public GetDestinationResponse getDestination( + GetDestinationRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.GetDestinationRequest.class, + GetDestinationRequest.class, _baseUrl, "/destinations/{destinationId}", request, null); @@ -277,16 +326,19 @@ public com.airbyte.api.models.operations.GetDestinationResponse getDestination( HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("getDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "getDestination", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -294,18 +346,28 @@ public com.airbyte.api.models.operations.GetDestinationResponse getDestination( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("getDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "getDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("getDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "getDestination", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("getDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "getDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -313,28 +375,28 @@ public com.airbyte.api.models.operations.GetDestinationResponse getDestination( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.GetDestinationResponse.Builder _resBuilder = - com.airbyte.api.models.operations.GetDestinationResponse + GetDestinationResponse.Builder _resBuilder = + GetDestinationResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.GetDestinationResponse _res = _resBuilder.build(); + GetDestinationResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.DestinationResponse _out = Utils.mapper().readValue( + DestinationResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withDestinationResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withDestinationResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -343,13 +405,13 @@ public com.airbyte.api.models.operations.GetDestinationResponse getDestination( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -358,8 +420,8 @@ public com.airbyte.api.models.operations.GetDestinationResponse getDestination( * List destinations * @return The call builder */ - public com.airbyte.api.models.operations.ListDestinationsRequestBuilder listDestinations() { - return new com.airbyte.api.models.operations.ListDestinationsRequestBuilder(this); + public ListDestinationsRequestBuilder listDestinations() { + return new ListDestinationsRequestBuilder(this); } /** @@ -368,8 +430,8 @@ public com.airbyte.api.models.operations.ListDestinationsRequestBuilder listDest * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.ListDestinationsResponse listDestinations( - com.airbyte.api.models.operations.ListDestinationsRequest request) throws Exception { + public ListDestinationsResponse listDestinations( + ListDestinationsRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -378,21 +440,24 @@ public com.airbyte.api.models.operations.ListDestinationsResponse listDestinatio HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); + SDKConfiguration.USER_AGENT); _req.addQueryParams(Utils.getQueryParams( - com.airbyte.api.models.operations.ListDestinationsRequest.class, + ListDestinationsRequest.class, request, null)); - + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("listDestinations", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "listDestinations", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -400,18 +465,28 @@ public com.airbyte.api.models.operations.ListDestinationsResponse listDestinatio if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("listDestinations", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "listDestinations", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("listDestinations", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "listDestinations", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("listDestinations", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "listDestinations", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -419,28 +494,28 @@ public com.airbyte.api.models.operations.ListDestinationsResponse listDestinatio .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.ListDestinationsResponse.Builder _resBuilder = - com.airbyte.api.models.operations.ListDestinationsResponse + ListDestinationsResponse.Builder _resBuilder = + ListDestinationsResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.ListDestinationsResponse _res = _resBuilder.build(); + ListDestinationsResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.DestinationsResponse _out = Utils.mapper().readValue( + DestinationsResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withDestinationsResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withDestinationsResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -449,13 +524,13 @@ public com.airbyte.api.models.operations.ListDestinationsResponse listDestinatio _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -464,8 +539,8 @@ public com.airbyte.api.models.operations.ListDestinationsResponse listDestinatio * Update a Destination * @return The call builder */ - public com.airbyte.api.models.operations.PatchDestinationRequestBuilder patchDestination() { - return new com.airbyte.api.models.operations.PatchDestinationRequestBuilder(this); + public PatchDestinationRequestBuilder patchDestination() { + return new PatchDestinationRequestBuilder(this); } /** @@ -474,33 +549,41 @@ public com.airbyte.api.models.operations.PatchDestinationRequestBuilder patchDes * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.PatchDestinationResponse patchDestination( - com.airbyte.api.models.operations.PatchDestinationRequest request) throws Exception { + public PatchDestinationResponse patchDestination( + PatchDestinationRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.PatchDestinationRequest.class, + PatchDestinationRequest.class, _baseUrl, "/destinations/{destinationId}", request, null); HTTPRequest _req = new HTTPRequest(_url, "PATCH"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "destinationPatchRequest", "json", false); + _convertedRequest, + "destinationPatchRequest", + "json", + false); _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("patchDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "patchDestination", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -508,18 +591,28 @@ public com.airbyte.api.models.operations.PatchDestinationResponse patchDestinati if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("patchDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "patchDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("patchDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "patchDestination", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("patchDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "patchDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -527,28 +620,28 @@ public com.airbyte.api.models.operations.PatchDestinationResponse patchDestinati .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.PatchDestinationResponse.Builder _resBuilder = - com.airbyte.api.models.operations.PatchDestinationResponse + PatchDestinationResponse.Builder _resBuilder = + PatchDestinationResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.PatchDestinationResponse _res = _resBuilder.build(); + PatchDestinationResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.DestinationResponse _out = Utils.mapper().readValue( + DestinationResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withDestinationResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withDestinationResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -557,13 +650,13 @@ public com.airbyte.api.models.operations.PatchDestinationResponse patchDestinati _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -572,8 +665,8 @@ public com.airbyte.api.models.operations.PatchDestinationResponse patchDestinati * Update a Destination and fully overwrite it * @return The call builder */ - public com.airbyte.api.models.operations.PutDestinationRequestBuilder putDestination() { - return new com.airbyte.api.models.operations.PutDestinationRequestBuilder(this); + public PutDestinationRequestBuilder putDestination() { + return new PutDestinationRequestBuilder(this); } /** @@ -582,33 +675,41 @@ public com.airbyte.api.models.operations.PutDestinationRequestBuilder putDestina * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.PutDestinationResponse putDestination( - com.airbyte.api.models.operations.PutDestinationRequest request) throws Exception { + public PutDestinationResponse putDestination( + PutDestinationRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.PutDestinationRequest.class, + PutDestinationRequest.class, _baseUrl, "/destinations/{destinationId}", request, null); HTTPRequest _req = new HTTPRequest(_url, "PUT"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "destinationPutRequest", "json", false); + _convertedRequest, + "destinationPutRequest", + "json", + false); _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("putDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "putDestination", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -616,18 +717,28 @@ public com.airbyte.api.models.operations.PutDestinationResponse putDestination( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("putDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "putDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("putDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "putDestination", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("putDestination", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "putDestination", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -635,28 +746,28 @@ public com.airbyte.api.models.operations.PutDestinationResponse putDestination( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.PutDestinationResponse.Builder _resBuilder = - com.airbyte.api.models.operations.PutDestinationResponse + PutDestinationResponse.Builder _resBuilder = + PutDestinationResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.PutDestinationResponse _res = _resBuilder.build(); + PutDestinationResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.DestinationResponse _out = Utils.mapper().readValue( + DestinationResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withDestinationResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withDestinationResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -665,13 +776,13 @@ public com.airbyte.api.models.operations.PutDestinationResponse putDestination( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/Health.java b/src/main/java/com/airbyte/api/Health.java index 924caa134..add0c6094 100644 --- a/src/main/java/com/airbyte/api/Health.java +++ b/src/main/java/com/airbyte/api/Health.java @@ -1,26 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.GetHealthCheckRequestBuilder; +import com.airbyte.api.models.operations.GetHealthCheckResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Health implements MethodCallGetHealthCheck { @@ -36,8 +36,8 @@ public class Health implements * Health Check * @return The call builder */ - public com.airbyte.api.models.operations.GetHealthCheckRequestBuilder getHealthCheck() { - return new com.airbyte.api.models.operations.GetHealthCheckRequestBuilder(this); + public GetHealthCheckRequestBuilder getHealthCheck() { + return new GetHealthCheckRequestBuilder(this); } /** @@ -45,7 +45,7 @@ public com.airbyte.api.models.operations.GetHealthCheckRequestBuilder getHealthC * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.GetHealthCheckResponse getHealthCheckDirect() throws Exception { + public GetHealthCheckResponse getHealthCheckDirect() throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -54,13 +54,16 @@ public com.airbyte.api.models.operations.GetHealthCheckResponse getHealthCheckDi HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "*/*") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + Optional _hookSecuritySource = Optional.empty(); HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("getHealthCheck", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "getHealthCheck", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -68,18 +71,28 @@ public com.airbyte.api.models.operations.GetHealthCheckResponse getHealthCheckDi if (Utils.statusCodeMatches(_httpRes.statusCode(), "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("getHealthCheck", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "getHealthCheck", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("getHealthCheck", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "getHealthCheck", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("getHealthCheck", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "getHealthCheck", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -87,14 +100,14 @@ public com.airbyte.api.models.operations.GetHealthCheckResponse getHealthCheckDi .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.GetHealthCheckResponse.Builder _resBuilder = - com.airbyte.api.models.operations.GetHealthCheckResponse + GetHealthCheckResponse.Builder _resBuilder = + GetHealthCheckResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.GetHealthCheckResponse _res = _resBuilder.build(); + GetHealthCheckResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { // no content @@ -106,13 +119,13 @@ public com.airbyte.api.models.operations.GetHealthCheckResponse getHealthCheckDi _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/Jobs.java b/src/main/java/com/airbyte/api/Jobs.java index fe14a5e8f..74d5c9f0e 100644 --- a/src/main/java/com/airbyte/api/Jobs.java +++ b/src/main/java/com/airbyte/api/Jobs.java @@ -1,31 +1,42 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.CancelJobRequest; +import com.airbyte.api.models.operations.CancelJobRequestBuilder; +import com.airbyte.api.models.operations.CancelJobResponse; +import com.airbyte.api.models.operations.CreateJobRequestBuilder; +import com.airbyte.api.models.operations.CreateJobResponse; +import com.airbyte.api.models.operations.GetJobRequest; +import com.airbyte.api.models.operations.GetJobRequestBuilder; +import com.airbyte.api.models.operations.GetJobResponse; +import com.airbyte.api.models.operations.ListJobsRequest; +import com.airbyte.api.models.operations.ListJobsRequestBuilder; +import com.airbyte.api.models.operations.ListJobsResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; +import com.airbyte.api.models.shared.JobCreateRequest; +import com.airbyte.api.models.shared.JobResponse; +import com.airbyte.api.models.shared.JobsResponse; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.JSON; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.SerializedBody; +import com.airbyte.api.utils.Utils.JsonShape; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.Object; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.util.Optional; -import org.apache.http.NameValuePair; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Jobs implements MethodCallCancelJob, @@ -44,8 +55,8 @@ public class Jobs implements * Cancel a running Job * @return The call builder */ - public com.airbyte.api.models.operations.CancelJobRequestBuilder cancelJob() { - return new com.airbyte.api.models.operations.CancelJobRequestBuilder(this); + public CancelJobRequestBuilder cancelJob() { + return new CancelJobRequestBuilder(this); } /** @@ -54,11 +65,11 @@ public com.airbyte.api.models.operations.CancelJobRequestBuilder cancelJob() { * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CancelJobResponse cancelJob( - com.airbyte.api.models.operations.CancelJobRequest request) throws Exception { + public CancelJobResponse cancelJob( + CancelJobRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.CancelJobRequest.class, + CancelJobRequest.class, _baseUrl, "/jobs/{jobId}", request, null); @@ -66,16 +77,19 @@ public com.airbyte.api.models.operations.CancelJobResponse cancelJob( HTTPRequest _req = new HTTPRequest(_url, "DELETE"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("cancelJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "cancelJob", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -83,18 +97,28 @@ public com.airbyte.api.models.operations.CancelJobResponse cancelJob( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("cancelJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "cancelJob", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("cancelJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "cancelJob", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("cancelJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "cancelJob", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -102,28 +126,28 @@ public com.airbyte.api.models.operations.CancelJobResponse cancelJob( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.CancelJobResponse.Builder _resBuilder = - com.airbyte.api.models.operations.CancelJobResponse + CancelJobResponse.Builder _resBuilder = + CancelJobResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.CancelJobResponse _res = _resBuilder.build(); + CancelJobResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.JobResponse _out = Utils.mapper().readValue( + JobResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withJobResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withJobResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -132,13 +156,13 @@ public com.airbyte.api.models.operations.CancelJobResponse cancelJob( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -147,8 +171,8 @@ public com.airbyte.api.models.operations.CancelJobResponse cancelJob( * Trigger a sync or reset job of a connection * @return The call builder */ - public com.airbyte.api.models.operations.CreateJobRequestBuilder createJob() { - return new com.airbyte.api.models.operations.CreateJobRequestBuilder(this); + public CreateJobRequestBuilder createJob() { + return new CreateJobRequestBuilder(this); } /** @@ -157,34 +181,42 @@ public com.airbyte.api.models.operations.CreateJobRequestBuilder createJob() { * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CreateJobResponse createJob( - com.airbyte.api.models.shared.JobCreateRequest request) throws Exception { + public CreateJobResponse createJob( + JobCreateRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, "/jobs"); HTTPRequest _req = new HTTPRequest(_url, "POST"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "request", "json", false); + _convertedRequest, + "request", + "json", + false); if (_serializedRequestBody == null) { throw new Exception("Request body is required"); } _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("createJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "createJob", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -192,18 +224,28 @@ public com.airbyte.api.models.operations.CreateJobResponse createJob( if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("createJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "createJob", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("createJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "createJob", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("createJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "createJob", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -211,28 +253,28 @@ public com.airbyte.api.models.operations.CreateJobResponse createJob( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.CreateJobResponse.Builder _resBuilder = - com.airbyte.api.models.operations.CreateJobResponse + CreateJobResponse.Builder _resBuilder = + CreateJobResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.CreateJobResponse _res = _resBuilder.build(); + CreateJobResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.JobResponse _out = Utils.mapper().readValue( + JobResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withJobResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withJobResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { @@ -241,13 +283,13 @@ public com.airbyte.api.models.operations.CreateJobResponse createJob( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -256,8 +298,8 @@ public com.airbyte.api.models.operations.CreateJobResponse createJob( * Get Job status and details * @return The call builder */ - public com.airbyte.api.models.operations.GetJobRequestBuilder getJob() { - return new com.airbyte.api.models.operations.GetJobRequestBuilder(this); + public GetJobRequestBuilder getJob() { + return new GetJobRequestBuilder(this); } /** @@ -266,11 +308,11 @@ public com.airbyte.api.models.operations.GetJobRequestBuilder getJob() { * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.GetJobResponse getJob( - com.airbyte.api.models.operations.GetJobRequest request) throws Exception { + public GetJobResponse getJob( + GetJobRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.GetJobRequest.class, + GetJobRequest.class, _baseUrl, "/jobs/{jobId}", request, null); @@ -278,16 +320,19 @@ public com.airbyte.api.models.operations.GetJobResponse getJob( HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("getJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "getJob", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -295,18 +340,28 @@ public com.airbyte.api.models.operations.GetJobResponse getJob( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("getJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "getJob", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("getJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "getJob", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("getJob", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "getJob", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -314,28 +369,28 @@ public com.airbyte.api.models.operations.GetJobResponse getJob( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.GetJobResponse.Builder _resBuilder = - com.airbyte.api.models.operations.GetJobResponse + GetJobResponse.Builder _resBuilder = + GetJobResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.GetJobResponse _res = _resBuilder.build(); + GetJobResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.JobResponse _out = Utils.mapper().readValue( + JobResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withJobResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withJobResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -344,13 +399,13 @@ public com.airbyte.api.models.operations.GetJobResponse getJob( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -359,8 +414,8 @@ public com.airbyte.api.models.operations.GetJobResponse getJob( * List Jobs by sync type * @return The call builder */ - public com.airbyte.api.models.operations.ListJobsRequestBuilder listJobs() { - return new com.airbyte.api.models.operations.ListJobsRequestBuilder(this); + public ListJobsRequestBuilder listJobs() { + return new ListJobsRequestBuilder(this); } /** @@ -369,8 +424,8 @@ public com.airbyte.api.models.operations.ListJobsRequestBuilder listJobs() { * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.ListJobsResponse listJobs( - com.airbyte.api.models.operations.ListJobsRequest request) throws Exception { + public ListJobsResponse listJobs( + ListJobsRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -379,21 +434,24 @@ public com.airbyte.api.models.operations.ListJobsResponse listJobs( HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); + SDKConfiguration.USER_AGENT); _req.addQueryParams(Utils.getQueryParams( - com.airbyte.api.models.operations.ListJobsRequest.class, + ListJobsRequest.class, request, null)); - + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("listJobs", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "listJobs", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -401,18 +459,28 @@ public com.airbyte.api.models.operations.ListJobsResponse listJobs( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("listJobs", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "listJobs", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("listJobs", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "listJobs", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("listJobs", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "listJobs", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -420,28 +488,28 @@ public com.airbyte.api.models.operations.ListJobsResponse listJobs( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.ListJobsResponse.Builder _resBuilder = - com.airbyte.api.models.operations.ListJobsResponse + ListJobsResponse.Builder _resBuilder = + ListJobsResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.ListJobsResponse _res = _resBuilder.build(); + ListJobsResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.JobsResponse _out = Utils.mapper().readValue( + JobsResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withJobsResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withJobsResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "4XX", "5XX")) { @@ -450,13 +518,13 @@ public com.airbyte.api.models.operations.ListJobsResponse listJobs( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/Organizations.java b/src/main/java/com/airbyte/api/Organizations.java index dfa4b11b7..9d8874782 100644 --- a/src/main/java/com/airbyte/api/Organizations.java +++ b/src/main/java/com/airbyte/api/Organizations.java @@ -1,29 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.ListOrganizationsForUserRequestBuilder; +import com.airbyte.api.models.operations.ListOrganizationsForUserResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; +import com.airbyte.api.models.shared.OrganizationsResponse; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.JSON; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Organizations implements MethodCallListOrganizationsForUser { @@ -40,8 +39,8 @@ public class Organizations implements * Lists users organizations. * @return The call builder */ - public com.airbyte.api.models.operations.ListOrganizationsForUserRequestBuilder listOrganizationsForUser() { - return new com.airbyte.api.models.operations.ListOrganizationsForUserRequestBuilder(this); + public ListOrganizationsForUserRequestBuilder listOrganizationsForUser() { + return new ListOrganizationsForUserRequestBuilder(this); } /** @@ -50,7 +49,7 @@ public com.airbyte.api.models.operations.ListOrganizationsForUserRequestBuilder * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.ListOrganizationsForUserResponse listOrganizationsForUserDirect() throws Exception { + public ListOrganizationsForUserResponse listOrganizationsForUserDirect() throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -59,16 +58,19 @@ public com.airbyte.api.models.operations.ListOrganizationsForUserResponse listOr HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("listOrganizationsForUser", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "listOrganizationsForUser", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -76,18 +78,28 @@ public com.airbyte.api.models.operations.ListOrganizationsForUserResponse listOr if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("listOrganizationsForUser", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "listOrganizationsForUser", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("listOrganizationsForUser", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "listOrganizationsForUser", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("listOrganizationsForUser", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "listOrganizationsForUser", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -95,28 +107,28 @@ public com.airbyte.api.models.operations.ListOrganizationsForUserResponse listOr .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.ListOrganizationsForUserResponse.Builder _resBuilder = - com.airbyte.api.models.operations.ListOrganizationsForUserResponse + ListOrganizationsForUserResponse.Builder _resBuilder = + ListOrganizationsForUserResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.ListOrganizationsForUserResponse _res = _resBuilder.build(); + ListOrganizationsForUserResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.OrganizationsResponse _out = Utils.mapper().readValue( + OrganizationsResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withOrganizationsResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withOrganizationsResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -125,13 +137,13 @@ public com.airbyte.api.models.operations.ListOrganizationsForUserResponse listOr _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/Permissions.java b/src/main/java/com/airbyte/api/Permissions.java index e596d7acc..dd3169971 100644 --- a/src/main/java/com/airbyte/api/Permissions.java +++ b/src/main/java/com/airbyte/api/Permissions.java @@ -1,31 +1,45 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.CreatePermissionRequestBuilder; +import com.airbyte.api.models.operations.CreatePermissionResponse; +import com.airbyte.api.models.operations.DeletePermissionRequest; +import com.airbyte.api.models.operations.DeletePermissionRequestBuilder; +import com.airbyte.api.models.operations.DeletePermissionResponse; +import com.airbyte.api.models.operations.GetPermissionRequest; +import com.airbyte.api.models.operations.GetPermissionRequestBuilder; +import com.airbyte.api.models.operations.GetPermissionResponse; +import com.airbyte.api.models.operations.ListPermissionsRequest; +import com.airbyte.api.models.operations.ListPermissionsRequestBuilder; +import com.airbyte.api.models.operations.ListPermissionsResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; +import com.airbyte.api.models.operations.UpdatePermissionRequest; +import com.airbyte.api.models.operations.UpdatePermissionRequestBuilder; +import com.airbyte.api.models.operations.UpdatePermissionResponse; +import com.airbyte.api.models.shared.PermissionCreateRequest; +import com.airbyte.api.models.shared.PermissionResponse; +import com.airbyte.api.models.shared.PermissionsResponse; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.JSON; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.SerializedBody; +import com.airbyte.api.utils.Utils.JsonShape; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.Object; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.util.Optional; -import org.apache.http.NameValuePair; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Permissions implements MethodCallCreatePermission, @@ -45,8 +59,8 @@ public class Permissions implements * Create a permission * @return The call builder */ - public com.airbyte.api.models.operations.CreatePermissionRequestBuilder createPermission() { - return new com.airbyte.api.models.operations.CreatePermissionRequestBuilder(this); + public CreatePermissionRequestBuilder createPermission() { + return new CreatePermissionRequestBuilder(this); } /** @@ -55,34 +69,42 @@ public com.airbyte.api.models.operations.CreatePermissionRequestBuilder createPe * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CreatePermissionResponse createPermission( - com.airbyte.api.models.shared.PermissionCreateRequest request) throws Exception { + public CreatePermissionResponse createPermission( + PermissionCreateRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, "/permissions"); HTTPRequest _req = new HTTPRequest(_url, "POST"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "request", "json", false); + _convertedRequest, + "request", + "json", + false); if (_serializedRequestBody == null) { throw new Exception("Request body is required"); } _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("createPermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "createPermission", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -90,18 +112,28 @@ public com.airbyte.api.models.operations.CreatePermissionResponse createPermissi if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("createPermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "createPermission", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("createPermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "createPermission", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("createPermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "createPermission", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -109,28 +141,28 @@ public com.airbyte.api.models.operations.CreatePermissionResponse createPermissi .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.CreatePermissionResponse.Builder _resBuilder = - com.airbyte.api.models.operations.CreatePermissionResponse + CreatePermissionResponse.Builder _resBuilder = + CreatePermissionResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.CreatePermissionResponse _res = _resBuilder.build(); + CreatePermissionResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.PermissionResponse _out = Utils.mapper().readValue( + PermissionResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withPermissionResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPermissionResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { @@ -139,13 +171,13 @@ public com.airbyte.api.models.operations.CreatePermissionResponse createPermissi _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -154,8 +186,8 @@ public com.airbyte.api.models.operations.CreatePermissionResponse createPermissi * Delete a Permission * @return The call builder */ - public com.airbyte.api.models.operations.DeletePermissionRequestBuilder deletePermission() { - return new com.airbyte.api.models.operations.DeletePermissionRequestBuilder(this); + public DeletePermissionRequestBuilder deletePermission() { + return new DeletePermissionRequestBuilder(this); } /** @@ -164,11 +196,11 @@ public com.airbyte.api.models.operations.DeletePermissionRequestBuilder deletePe * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.DeletePermissionResponse deletePermission( - com.airbyte.api.models.operations.DeletePermissionRequest request) throws Exception { + public DeletePermissionResponse deletePermission( + DeletePermissionRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.DeletePermissionRequest.class, + DeletePermissionRequest.class, _baseUrl, "/permissions/{permissionId}", request, null); @@ -176,16 +208,19 @@ public com.airbyte.api.models.operations.DeletePermissionResponse deletePermissi HTTPRequest _req = new HTTPRequest(_url, "DELETE"); _req.addHeader("Accept", "*/*") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("deletePermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "deletePermission", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -193,18 +228,28 @@ public com.airbyte.api.models.operations.DeletePermissionResponse deletePermissi if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "422", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("deletePermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "deletePermission", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("deletePermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "deletePermission", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("deletePermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "deletePermission", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -212,14 +257,14 @@ public com.airbyte.api.models.operations.DeletePermissionResponse deletePermissi .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.DeletePermissionResponse.Builder _resBuilder = - com.airbyte.api.models.operations.DeletePermissionResponse + DeletePermissionResponse.Builder _resBuilder = + DeletePermissionResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.DeletePermissionResponse _res = _resBuilder.build(); + DeletePermissionResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "204")) { // no content @@ -231,13 +276,13 @@ public com.airbyte.api.models.operations.DeletePermissionResponse deletePermissi _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -246,8 +291,8 @@ public com.airbyte.api.models.operations.DeletePermissionResponse deletePermissi * Get Permission details * @return The call builder */ - public com.airbyte.api.models.operations.GetPermissionRequestBuilder getPermission() { - return new com.airbyte.api.models.operations.GetPermissionRequestBuilder(this); + public GetPermissionRequestBuilder getPermission() { + return new GetPermissionRequestBuilder(this); } /** @@ -256,11 +301,11 @@ public com.airbyte.api.models.operations.GetPermissionRequestBuilder getPermissi * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.GetPermissionResponse getPermission( - com.airbyte.api.models.operations.GetPermissionRequest request) throws Exception { + public GetPermissionResponse getPermission( + GetPermissionRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.GetPermissionRequest.class, + GetPermissionRequest.class, _baseUrl, "/permissions/{permissionId}", request, null); @@ -268,16 +313,19 @@ public com.airbyte.api.models.operations.GetPermissionResponse getPermission( HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("getPermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "getPermission", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -285,18 +333,28 @@ public com.airbyte.api.models.operations.GetPermissionResponse getPermission( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "422", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("getPermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "getPermission", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("getPermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "getPermission", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("getPermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "getPermission", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -304,28 +362,28 @@ public com.airbyte.api.models.operations.GetPermissionResponse getPermission( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.GetPermissionResponse.Builder _resBuilder = - com.airbyte.api.models.operations.GetPermissionResponse + GetPermissionResponse.Builder _resBuilder = + GetPermissionResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.GetPermissionResponse _res = _resBuilder.build(); + GetPermissionResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.PermissionResponse _out = Utils.mapper().readValue( + PermissionResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withPermissionResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPermissionResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "422", "4XX", "5XX")) { @@ -334,13 +392,13 @@ public com.airbyte.api.models.operations.GetPermissionResponse getPermission( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -349,8 +407,8 @@ public com.airbyte.api.models.operations.GetPermissionResponse getPermission( * List Permissions by user id * @return The call builder */ - public com.airbyte.api.models.operations.ListPermissionsRequestBuilder listPermissions() { - return new com.airbyte.api.models.operations.ListPermissionsRequestBuilder(this); + public ListPermissionsRequestBuilder listPermissions() { + return new ListPermissionsRequestBuilder(this); } /** @@ -359,8 +417,8 @@ public com.airbyte.api.models.operations.ListPermissionsRequestBuilder listPermi * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.ListPermissionsResponse listPermissions( - com.airbyte.api.models.operations.ListPermissionsRequest request) throws Exception { + public ListPermissionsResponse listPermissions( + ListPermissionsRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -369,21 +427,24 @@ public com.airbyte.api.models.operations.ListPermissionsResponse listPermissions HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); + SDKConfiguration.USER_AGENT); _req.addQueryParams(Utils.getQueryParams( - com.airbyte.api.models.operations.ListPermissionsRequest.class, + ListPermissionsRequest.class, request, null)); - + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("listPermissions", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "listPermissions", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -391,18 +452,28 @@ public com.airbyte.api.models.operations.ListPermissionsResponse listPermissions if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("listPermissions", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "listPermissions", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("listPermissions", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "listPermissions", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("listPermissions", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "listPermissions", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -410,28 +481,28 @@ public com.airbyte.api.models.operations.ListPermissionsResponse listPermissions .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.ListPermissionsResponse.Builder _resBuilder = - com.airbyte.api.models.operations.ListPermissionsResponse + ListPermissionsResponse.Builder _resBuilder = + ListPermissionsResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.ListPermissionsResponse _res = _resBuilder.build(); + ListPermissionsResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.PermissionsResponse _out = Utils.mapper().readValue( + PermissionsResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withPermissionsResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPermissionsResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -440,13 +511,13 @@ public com.airbyte.api.models.operations.ListPermissionsResponse listPermissions _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -455,8 +526,8 @@ public com.airbyte.api.models.operations.ListPermissionsResponse listPermissions * Update a permission * @return The call builder */ - public com.airbyte.api.models.operations.UpdatePermissionRequestBuilder updatePermission() { - return new com.airbyte.api.models.operations.UpdatePermissionRequestBuilder(this); + public UpdatePermissionRequestBuilder updatePermission() { + return new UpdatePermissionRequestBuilder(this); } /** @@ -465,36 +536,44 @@ public com.airbyte.api.models.operations.UpdatePermissionRequestBuilder updatePe * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.UpdatePermissionResponse updatePermission( - com.airbyte.api.models.operations.UpdatePermissionRequest request) throws Exception { + public UpdatePermissionResponse updatePermission( + UpdatePermissionRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.UpdatePermissionRequest.class, + UpdatePermissionRequest.class, _baseUrl, "/permissions/{permissionId}", request, null); HTTPRequest _req = new HTTPRequest(_url, "PATCH"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "permissionUpdateRequest", "json", false); + _convertedRequest, + "permissionUpdateRequest", + "json", + false); if (_serializedRequestBody == null) { throw new Exception("Request body is required"); } _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("updatePermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "updatePermission", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -502,18 +581,28 @@ public com.airbyte.api.models.operations.UpdatePermissionResponse updatePermissi if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "404", "422", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("updatePermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "updatePermission", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("updatePermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "updatePermission", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("updatePermission", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "updatePermission", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -521,28 +610,28 @@ public com.airbyte.api.models.operations.UpdatePermissionResponse updatePermissi .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.UpdatePermissionResponse.Builder _resBuilder = - com.airbyte.api.models.operations.UpdatePermissionResponse + UpdatePermissionResponse.Builder _resBuilder = + UpdatePermissionResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.UpdatePermissionResponse _res = _resBuilder.build(); + UpdatePermissionResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.PermissionResponse _out = Utils.mapper().readValue( + PermissionResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withPermissionResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPermissionResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "404", "422", "4XX", "5XX")) { @@ -551,13 +640,13 @@ public com.airbyte.api.models.operations.UpdatePermissionResponse updatePermissi _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/SDKConfiguration.java b/src/main/java/com/airbyte/api/SDKConfiguration.java index 490825561..762a44f85 100644 --- a/src/main/java/com/airbyte/api/SDKConfiguration.java +++ b/src/main/java/com/airbyte/api/SDKConfiguration.java @@ -1,14 +1,16 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.hooks.ClientCredentialsHook; -import com.airbyte.api.utils.Hook.SdkInitData; +import com.airbyte.api.hooks.SDKHooks; import com.airbyte.api.utils.HTTPClient; +import com.airbyte.api.utils.Hook.SdkInitData; +import com.airbyte.api.utils.Hooks; import com.airbyte.api.utils.RetryConfig; -import com.airbyte.api.models.shared.Security; +import java.lang.String; import java.util.Optional; class SDKConfiguration { @@ -17,32 +19,42 @@ class SDKConfiguration { public Optional securitySource() { return Optional.ofNullable(securitySource); } + public HTTPClient defaultClient; - public String serverUrl; + + public String serverUrl; + + public String resolvedServerUrl() { + return serverUrl; + } public int serverIdx = 0; - public String language = "java"; - public String openapiDocVersion = "1.0.0"; - public String sdkVersion = "1.5.10"; - public String genVersion = "2.373.2"; - public String userAgent = "speakeasy-sdk/java 1.5.10 2.373.2 1.0.0 com.airbyte.api"; - - private com.airbyte.api.utils.Hooks _hooks = createHooks(); - - private static com.airbyte.api.utils.Hooks createHooks() { - com.airbyte.api.utils.Hooks hooks = new com.airbyte.api.utils.Hooks(); - // register client credentials hooks - ClientCredentialsHook h = new ClientCredentialsHook(); - hooks.registerSdkInit(h); - hooks.registerBeforeRequest(h); - hooks.registerAfterError(h); + private static final String LANGUAGE = "java"; + public static final String OPENAPI_DOC_VERSION = "1.0.0"; + public static final String SDK_VERSION = "1.6.0"; + public static final String GEN_VERSION = "2.474.15"; + private static final String BASE_PACKAGE = "com.airbyte.api"; + public static final String USER_AGENT = + String.format("speakeasy-sdk/%s %s %s %s %s", + LANGUAGE, SDK_VERSION, GEN_VERSION, OPENAPI_DOC_VERSION, BASE_PACKAGE); + + private Hooks _hooks = createHooks(); + + private static Hooks createHooks() { + Hooks hooks = new Hooks(); + { + ClientCredentialsHook h = new ClientCredentialsHook(); + hooks.registerSdkInit(h); + hooks.registerBeforeRequest(h); + hooks.registerAfterError(h); + } return hooks; } - public com.airbyte.api.utils.Hooks hooks() { + public Hooks hooks() { return _hooks; } - public void setHooks(com.airbyte.api.utils.Hooks hooks) { + public void setHooks(Hooks hooks) { this._hooks = hooks; } @@ -50,9 +62,9 @@ public void setHooks(com.airbyte.api.utils.Hooks hooks) { * Initializes state (for example hooks). **/ public void initialize() { - com.airbyte.api.hooks.SDKHooks.initialize(_hooks); + SDKHooks.initialize(_hooks); // apply the sdk init hook immediately - SdkInitData data = _hooks.sdkInit(new SdkInitData(serverUrl, defaultClient)); + SdkInitData data = _hooks.sdkInit(new SdkInitData(resolvedServerUrl(), defaultClient)); this.serverUrl = data.baseUrl(); this.defaultClient = data.client(); } diff --git a/src/main/java/com/airbyte/api/SecuritySource.java b/src/main/java/com/airbyte/api/SecuritySource.java index 33f872bb4..45d6ae7b7 100644 --- a/src/main/java/com/airbyte/api/SecuritySource.java +++ b/src/main/java/com/airbyte/api/SecuritySource.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; diff --git a/src/main/java/com/airbyte/api/Sources.java b/src/main/java/com/airbyte/api/Sources.java index 5d87cedf3..df570b300 100644 --- a/src/main/java/com/airbyte/api/Sources.java +++ b/src/main/java/com/airbyte/api/Sources.java @@ -1,31 +1,51 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.CreateSourceRequestBuilder; +import com.airbyte.api.models.operations.CreateSourceResponse; +import com.airbyte.api.models.operations.DeleteSourceRequest; +import com.airbyte.api.models.operations.DeleteSourceRequestBuilder; +import com.airbyte.api.models.operations.DeleteSourceResponse; +import com.airbyte.api.models.operations.GetSourceRequest; +import com.airbyte.api.models.operations.GetSourceRequestBuilder; +import com.airbyte.api.models.operations.GetSourceResponse; +import com.airbyte.api.models.operations.InitiateOAuthRequestBuilder; +import com.airbyte.api.models.operations.InitiateOAuthResponse; +import com.airbyte.api.models.operations.ListSourcesRequest; +import com.airbyte.api.models.operations.ListSourcesRequestBuilder; +import com.airbyte.api.models.operations.ListSourcesResponse; +import com.airbyte.api.models.operations.PatchSourceRequest; +import com.airbyte.api.models.operations.PatchSourceRequestBuilder; +import com.airbyte.api.models.operations.PatchSourceResponse; +import com.airbyte.api.models.operations.PutSourceRequest; +import com.airbyte.api.models.operations.PutSourceRequestBuilder; +import com.airbyte.api.models.operations.PutSourceResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; +import com.airbyte.api.models.shared.InitiateOauthRequest; +import com.airbyte.api.models.shared.SourceCreateRequest; +import com.airbyte.api.models.shared.SourceResponse; +import com.airbyte.api.models.shared.SourcesResponse; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.JSON; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.SerializedBody; +import com.airbyte.api.utils.Utils.JsonShape; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.Object; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.util.Optional; -import org.apache.http.NameValuePair; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Sources implements MethodCallCreateSource, @@ -48,8 +68,8 @@ public class Sources implements * Creates a source given a name, workspace id, and a json blob containing the configuration for the source. * @return The call builder */ - public com.airbyte.api.models.operations.CreateSourceRequestBuilder createSource() { - return new com.airbyte.api.models.operations.CreateSourceRequestBuilder(this); + public CreateSourceRequestBuilder createSource() { + return new CreateSourceRequestBuilder(this); } /** @@ -58,9 +78,10 @@ public com.airbyte.api.models.operations.CreateSourceRequestBuilder createSource * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CreateSourceResponse createSourceDirect() throws Exception { + public CreateSourceResponse createSourceDirect() throws Exception { return createSource(Optional.empty()); } + /** * Create a source * Creates a source given a name, workspace id, and a json blob containing the configuration for the source. @@ -68,31 +89,39 @@ public com.airbyte.api.models.operations.CreateSourceResponse createSourceDirect * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CreateSourceResponse createSource( - Optional request) throws Exception { + public CreateSourceResponse createSource( + Optional request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, "/sources"); HTTPRequest _req = new HTTPRequest(_url, "POST"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference>() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference>() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "request", "json", false); + _convertedRequest, + "request", + "json", + false); _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("createSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "createSource", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -100,18 +129,28 @@ public com.airbyte.api.models.operations.CreateSourceResponse createSource( if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("createSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "createSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("createSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "createSource", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("createSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "createSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -119,28 +158,28 @@ public com.airbyte.api.models.operations.CreateSourceResponse createSource( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.CreateSourceResponse.Builder _resBuilder = - com.airbyte.api.models.operations.CreateSourceResponse + CreateSourceResponse.Builder _resBuilder = + CreateSourceResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.CreateSourceResponse _res = _resBuilder.build(); + CreateSourceResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.SourceResponse _out = Utils.mapper().readValue( + SourceResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withSourceResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withSourceResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { @@ -149,13 +188,13 @@ public com.airbyte.api.models.operations.CreateSourceResponse createSource( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -164,8 +203,8 @@ public com.airbyte.api.models.operations.CreateSourceResponse createSource( * Delete a Source * @return The call builder */ - public com.airbyte.api.models.operations.DeleteSourceRequestBuilder deleteSource() { - return new com.airbyte.api.models.operations.DeleteSourceRequestBuilder(this); + public DeleteSourceRequestBuilder deleteSource() { + return new DeleteSourceRequestBuilder(this); } /** @@ -174,11 +213,11 @@ public com.airbyte.api.models.operations.DeleteSourceRequestBuilder deleteSource * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource( - com.airbyte.api.models.operations.DeleteSourceRequest request) throws Exception { + public DeleteSourceResponse deleteSource( + DeleteSourceRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.DeleteSourceRequest.class, + DeleteSourceRequest.class, _baseUrl, "/sources/{sourceId}", request, null); @@ -186,16 +225,19 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource( HTTPRequest _req = new HTTPRequest(_url, "DELETE"); _req.addHeader("Accept", "*/*") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("deleteSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "deleteSource", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -203,18 +245,28 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("deleteSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "deleteSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("deleteSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "deleteSource", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("deleteSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "deleteSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -222,14 +274,14 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.DeleteSourceResponse.Builder _resBuilder = - com.airbyte.api.models.operations.DeleteSourceResponse + DeleteSourceResponse.Builder _resBuilder = + DeleteSourceResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.DeleteSourceResponse _res = _resBuilder.build(); + DeleteSourceResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "204")) { // no content @@ -241,13 +293,13 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -256,8 +308,8 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource( * Get Source details * @return The call builder */ - public com.airbyte.api.models.operations.GetSourceRequestBuilder getSource() { - return new com.airbyte.api.models.operations.GetSourceRequestBuilder(this); + public GetSourceRequestBuilder getSource() { + return new GetSourceRequestBuilder(this); } /** @@ -266,11 +318,11 @@ public com.airbyte.api.models.operations.GetSourceRequestBuilder getSource() { * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.GetSourceResponse getSource( - com.airbyte.api.models.operations.GetSourceRequest request) throws Exception { + public GetSourceResponse getSource( + GetSourceRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.GetSourceRequest.class, + GetSourceRequest.class, _baseUrl, "/sources/{sourceId}", request, null); @@ -278,16 +330,19 @@ public com.airbyte.api.models.operations.GetSourceResponse getSource( HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("getSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "getSource", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -295,18 +350,28 @@ public com.airbyte.api.models.operations.GetSourceResponse getSource( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("getSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "getSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("getSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "getSource", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("getSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "getSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -314,28 +379,28 @@ public com.airbyte.api.models.operations.GetSourceResponse getSource( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.GetSourceResponse.Builder _resBuilder = - com.airbyte.api.models.operations.GetSourceResponse + GetSourceResponse.Builder _resBuilder = + GetSourceResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.GetSourceResponse _res = _resBuilder.build(); + GetSourceResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.SourceResponse _out = Utils.mapper().readValue( + SourceResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withSourceResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withSourceResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -344,13 +409,13 @@ public com.airbyte.api.models.operations.GetSourceResponse getSource( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -364,8 +429,8 @@ public com.airbyte.api.models.operations.GetSourceResponse getSource( * That secret ID can be used to create a source with credentials in place of actual tokens. * @return The call builder */ - public com.airbyte.api.models.operations.InitiateOAuthRequestBuilder initiateOAuth() { - return new com.airbyte.api.models.operations.InitiateOAuthRequestBuilder(this); + public InitiateOAuthRequestBuilder initiateOAuth() { + return new InitiateOAuthRequestBuilder(this); } /** @@ -379,34 +444,42 @@ public com.airbyte.api.models.operations.InitiateOAuthRequestBuilder initiateOAu * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth( - com.airbyte.api.models.shared.InitiateOauthRequest request) throws Exception { + public InitiateOAuthResponse initiateOAuth( + InitiateOauthRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, "/sources/initiateOAuth"); HTTPRequest _req = new HTTPRequest(_url, "POST"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "request", "json", false); + _convertedRequest, + "request", + "json", + false); if (_serializedRequestBody == null) { throw new Exception("Request body is required"); } _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "*/*") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("initiateOAuth", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "initiateOAuth", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -414,18 +487,28 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth( if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("initiateOAuth", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "initiateOAuth", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("initiateOAuth", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "initiateOAuth", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("initiateOAuth", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "initiateOAuth", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -433,14 +516,14 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.InitiateOAuthResponse.Builder _resBuilder = - com.airbyte.api.models.operations.InitiateOAuthResponse + InitiateOAuthResponse.Builder _resBuilder = + InitiateOAuthResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.InitiateOAuthResponse _res = _resBuilder.build(); + InitiateOAuthResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { // no content @@ -452,13 +535,13 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -467,8 +550,8 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth( * List sources * @return The call builder */ - public com.airbyte.api.models.operations.ListSourcesRequestBuilder listSources() { - return new com.airbyte.api.models.operations.ListSourcesRequestBuilder(this); + public ListSourcesRequestBuilder listSources() { + return new ListSourcesRequestBuilder(this); } /** @@ -477,8 +560,8 @@ public com.airbyte.api.models.operations.ListSourcesRequestBuilder listSources() * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.ListSourcesResponse listSources( - com.airbyte.api.models.operations.ListSourcesRequest request) throws Exception { + public ListSourcesResponse listSources( + ListSourcesRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -487,21 +570,24 @@ public com.airbyte.api.models.operations.ListSourcesResponse listSources( HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); + SDKConfiguration.USER_AGENT); _req.addQueryParams(Utils.getQueryParams( - com.airbyte.api.models.operations.ListSourcesRequest.class, + ListSourcesRequest.class, request, null)); - + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("listSources", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "listSources", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -509,18 +595,28 @@ public com.airbyte.api.models.operations.ListSourcesResponse listSources( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("listSources", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "listSources", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("listSources", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "listSources", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("listSources", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "listSources", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -528,28 +624,28 @@ public com.airbyte.api.models.operations.ListSourcesResponse listSources( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.ListSourcesResponse.Builder _resBuilder = - com.airbyte.api.models.operations.ListSourcesResponse + ListSourcesResponse.Builder _resBuilder = + ListSourcesResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.ListSourcesResponse _res = _resBuilder.build(); + ListSourcesResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.SourcesResponse _out = Utils.mapper().readValue( + SourcesResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withSourcesResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withSourcesResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -558,13 +654,13 @@ public com.airbyte.api.models.operations.ListSourcesResponse listSources( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -573,8 +669,8 @@ public com.airbyte.api.models.operations.ListSourcesResponse listSources( * Update a Source * @return The call builder */ - public com.airbyte.api.models.operations.PatchSourceRequestBuilder patchSource() { - return new com.airbyte.api.models.operations.PatchSourceRequestBuilder(this); + public PatchSourceRequestBuilder patchSource() { + return new PatchSourceRequestBuilder(this); } /** @@ -583,33 +679,41 @@ public com.airbyte.api.models.operations.PatchSourceRequestBuilder patchSource() * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.PatchSourceResponse patchSource( - com.airbyte.api.models.operations.PatchSourceRequest request) throws Exception { + public PatchSourceResponse patchSource( + PatchSourceRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.PatchSourceRequest.class, + PatchSourceRequest.class, _baseUrl, "/sources/{sourceId}", request, null); HTTPRequest _req = new HTTPRequest(_url, "PATCH"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "sourcePatchRequest", "json", false); + _convertedRequest, + "sourcePatchRequest", + "json", + false); _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("patchSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "patchSource", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -617,18 +721,28 @@ public com.airbyte.api.models.operations.PatchSourceResponse patchSource( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("patchSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "patchSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("patchSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "patchSource", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("patchSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "patchSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -636,28 +750,28 @@ public com.airbyte.api.models.operations.PatchSourceResponse patchSource( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.PatchSourceResponse.Builder _resBuilder = - com.airbyte.api.models.operations.PatchSourceResponse + PatchSourceResponse.Builder _resBuilder = + PatchSourceResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.PatchSourceResponse _res = _resBuilder.build(); + PatchSourceResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.SourceResponse _out = Utils.mapper().readValue( + SourceResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withSourceResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withSourceResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -666,13 +780,13 @@ public com.airbyte.api.models.operations.PatchSourceResponse patchSource( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -681,8 +795,8 @@ public com.airbyte.api.models.operations.PatchSourceResponse patchSource( * Update a Source and fully overwrite it * @return The call builder */ - public com.airbyte.api.models.operations.PutSourceRequestBuilder putSource() { - return new com.airbyte.api.models.operations.PutSourceRequestBuilder(this); + public PutSourceRequestBuilder putSource() { + return new PutSourceRequestBuilder(this); } /** @@ -691,33 +805,41 @@ public com.airbyte.api.models.operations.PutSourceRequestBuilder putSource() { * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.PutSourceResponse putSource( - com.airbyte.api.models.operations.PutSourceRequest request) throws Exception { + public PutSourceResponse putSource( + PutSourceRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.PutSourceRequest.class, + PutSourceRequest.class, _baseUrl, "/sources/{sourceId}", request, null); HTTPRequest _req = new HTTPRequest(_url, "PUT"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "sourcePutRequest", "json", false); + _convertedRequest, + "sourcePutRequest", + "json", + false); _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("putSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "putSource", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -725,18 +847,28 @@ public com.airbyte.api.models.operations.PutSourceResponse putSource( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("putSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "putSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("putSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "putSource", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("putSource", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "putSource", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -744,28 +876,28 @@ public com.airbyte.api.models.operations.PutSourceResponse putSource( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.PutSourceResponse.Builder _resBuilder = - com.airbyte.api.models.operations.PutSourceResponse + PutSourceResponse.Builder _resBuilder = + PutSourceResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.PutSourceResponse _res = _resBuilder.build(); + PutSourceResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.SourceResponse _out = Utils.mapper().readValue( + SourceResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withSourceResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withSourceResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -774,13 +906,13 @@ public com.airbyte.api.models.operations.PutSourceResponse putSource( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/Streams.java b/src/main/java/com/airbyte/api/Streams.java index 7c55c1b2d..a5afd38b4 100644 --- a/src/main/java/com/airbyte/api/Streams.java +++ b/src/main/java/com/airbyte/api/Streams.java @@ -1,30 +1,29 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.GetStreamPropertiesRequest; +import com.airbyte.api.models.operations.GetStreamPropertiesRequestBuilder; +import com.airbyte.api.models.operations.GetStreamPropertiesResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; +import com.airbyte.api.models.shared.StreamProperties; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.JSON; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.util.Optional; -import org.apache.http.NameValuePair; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Streams implements MethodCallGetStreamProperties { @@ -40,8 +39,8 @@ public class Streams implements * Get stream properties * @return The call builder */ - public com.airbyte.api.models.operations.GetStreamPropertiesRequestBuilder getStreamProperties() { - return new com.airbyte.api.models.operations.GetStreamPropertiesRequestBuilder(this); + public GetStreamPropertiesRequestBuilder getStreamProperties() { + return new GetStreamPropertiesRequestBuilder(this); } /** @@ -50,8 +49,8 @@ public com.airbyte.api.models.operations.GetStreamPropertiesRequestBuilder getSt * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamProperties( - com.airbyte.api.models.operations.GetStreamPropertiesRequest request) throws Exception { + public GetStreamPropertiesResponse getStreamProperties( + GetStreamPropertiesRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -60,21 +59,24 @@ public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamPr HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); + SDKConfiguration.USER_AGENT); _req.addQueryParams(Utils.getQueryParams( - com.airbyte.api.models.operations.GetStreamPropertiesRequest.class, + GetStreamPropertiesRequest.class, request, null)); - + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("getStreamProperties", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "getStreamProperties", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -82,18 +84,28 @@ public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamPr if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("getStreamProperties", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "getStreamProperties", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("getStreamProperties", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "getStreamProperties", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("getStreamProperties", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "getStreamProperties", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -101,28 +113,28 @@ public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamPr .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.GetStreamPropertiesResponse.Builder _resBuilder = - com.airbyte.api.models.operations.GetStreamPropertiesResponse + GetStreamPropertiesResponse.Builder _resBuilder = + GetStreamPropertiesResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.GetStreamPropertiesResponse _res = _resBuilder.build(); + GetStreamPropertiesResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - java.util.List _out = Utils.mapper().readValue( + List _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference>() {}); - _res.withStreamPropertiesResponse(java.util.Optional.ofNullable(_out)); + new TypeReference>() {}); + _res.withStreamPropertiesResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "404", "4XX", "5XX")) { @@ -131,13 +143,13 @@ public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamPr _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/Users.java b/src/main/java/com/airbyte/api/Users.java index e79073b40..a0f6127d4 100644 --- a/src/main/java/com/airbyte/api/Users.java +++ b/src/main/java/com/airbyte/api/Users.java @@ -1,30 +1,29 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequest; +import com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequestBuilder; +import com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; +import com.airbyte.api.models.shared.UsersResponse; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.JSON; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.util.Optional; -import org.apache.http.NameValuePair; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Users implements MethodCallListUsersWithinAnOrganization { @@ -41,8 +40,8 @@ public class Users implements * Organization Admin user can list all users within the same organization. Also provide filtering on a list of user IDs or/and a list of user emails. * @return The call builder */ - public com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequestBuilder listUsersWithinAnOrganization() { - return new com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequestBuilder(this); + public ListUsersWithinAnOrganizationRequestBuilder listUsersWithinAnOrganization() { + return new ListUsersWithinAnOrganizationRequestBuilder(this); } /** @@ -52,8 +51,8 @@ public com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequestBui * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse listUsersWithinAnOrganization( - com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequest request) throws Exception { + public ListUsersWithinAnOrganizationResponse listUsersWithinAnOrganization( + ListUsersWithinAnOrganizationRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -62,21 +61,24 @@ public com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse l HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); + SDKConfiguration.USER_AGENT); _req.addQueryParams(Utils.getQueryParams( - com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequest.class, + ListUsersWithinAnOrganizationRequest.class, request, null)); - + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("listUsersWithinAnOrganization", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "listUsersWithinAnOrganization", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -84,18 +86,28 @@ public com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse l if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("listUsersWithinAnOrganization", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "listUsersWithinAnOrganization", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("listUsersWithinAnOrganization", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "listUsersWithinAnOrganization", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("listUsersWithinAnOrganization", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "listUsersWithinAnOrganization", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -103,28 +115,28 @@ public com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse l .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse.Builder _resBuilder = - com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse + ListUsersWithinAnOrganizationResponse.Builder _resBuilder = + ListUsersWithinAnOrganizationResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse _res = _resBuilder.build(); + ListUsersWithinAnOrganizationResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.UsersResponse _out = Utils.mapper().readValue( + UsersResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withUsersResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withUsersResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -133,13 +145,13 @@ public com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse l _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/Workspaces.java b/src/main/java/com/airbyte/api/Workspaces.java index 68431099e..74bdb7735 100644 --- a/src/main/java/com/airbyte/api/Workspaces.java +++ b/src/main/java/com/airbyte/api/Workspaces.java @@ -1,31 +1,48 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api; import com.airbyte.api.models.errors.SDKError; +import com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequest; +import com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder; +import com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse; +import com.airbyte.api.models.operations.CreateWorkspaceRequestBuilder; +import com.airbyte.api.models.operations.CreateWorkspaceResponse; +import com.airbyte.api.models.operations.DeleteWorkspaceRequest; +import com.airbyte.api.models.operations.DeleteWorkspaceRequestBuilder; +import com.airbyte.api.models.operations.DeleteWorkspaceResponse; +import com.airbyte.api.models.operations.GetWorkspaceRequest; +import com.airbyte.api.models.operations.GetWorkspaceRequestBuilder; +import com.airbyte.api.models.operations.GetWorkspaceResponse; +import com.airbyte.api.models.operations.ListWorkspacesRequest; +import com.airbyte.api.models.operations.ListWorkspacesRequestBuilder; +import com.airbyte.api.models.operations.ListWorkspacesResponse; import com.airbyte.api.models.operations.SDKMethodInterfaces.*; +import com.airbyte.api.models.operations.UpdateWorkspaceRequest; +import com.airbyte.api.models.operations.UpdateWorkspaceRequestBuilder; +import com.airbyte.api.models.operations.UpdateWorkspaceResponse; +import com.airbyte.api.models.shared.WorkspaceCreateRequest; +import com.airbyte.api.models.shared.WorkspaceResponse; +import com.airbyte.api.models.shared.WorkspacesResponse; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.HTTPRequest; import com.airbyte.api.utils.Hook.AfterErrorContextImpl; import com.airbyte.api.utils.Hook.AfterSuccessContextImpl; import com.airbyte.api.utils.Hook.BeforeRequestContextImpl; -import com.airbyte.api.utils.JSON; -import com.airbyte.api.utils.Retries.NonRetryableException; import com.airbyte.api.utils.SerializedBody; +import com.airbyte.api.utils.Utils.JsonShape; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import java.io.InputStream; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Exception; +import java.lang.Object; +import java.lang.String; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.util.Optional; -import org.apache.http.NameValuePair; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.List; +import java.util.Optional; public class Workspaces implements MethodCallCreateOrUpdateWorkspaceOAuthCredentials, @@ -48,8 +65,8 @@ public class Workspaces implements * In order to determine what the credential configuration needs to be, please see the connector specification of the relevant source/destination. * @return The call builder */ - public com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder createOrUpdateWorkspaceOAuthCredentials() { - return new com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder(this); + public CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder createOrUpdateWorkspaceOAuthCredentials() { + return new CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder(this); } /** @@ -60,36 +77,44 @@ public com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentials * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse createOrUpdateWorkspaceOAuthCredentials( - com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequest request) throws Exception { + public CreateOrUpdateWorkspaceOAuthCredentialsResponse createOrUpdateWorkspaceOAuthCredentials( + CreateOrUpdateWorkspaceOAuthCredentialsRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequest.class, + CreateOrUpdateWorkspaceOAuthCredentialsRequest.class, _baseUrl, "/workspaces/{workspaceId}/oauthCredentials", request, null); HTTPRequest _req = new HTTPRequest(_url, "PUT"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "workspaceOAuthCredentialsRequest", "json", false); + _convertedRequest, + "workspaceOAuthCredentialsRequest", + "json", + false); if (_serializedRequestBody == null) { throw new Exception("Request body is required"); } _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "*/*") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("createOrUpdateWorkspaceOAuthCredentials", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "createOrUpdateWorkspaceOAuthCredentials", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -97,18 +122,28 @@ public com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentials if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("createOrUpdateWorkspaceOAuthCredentials", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "createOrUpdateWorkspaceOAuthCredentials", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("createOrUpdateWorkspaceOAuthCredentials", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "createOrUpdateWorkspaceOAuthCredentials", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("createOrUpdateWorkspaceOAuthCredentials", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "createOrUpdateWorkspaceOAuthCredentials", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -116,14 +151,14 @@ public com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentials .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse.Builder _resBuilder = - com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse + CreateOrUpdateWorkspaceOAuthCredentialsResponse.Builder _resBuilder = + CreateOrUpdateWorkspaceOAuthCredentialsResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse _res = _resBuilder.build(); + CreateOrUpdateWorkspaceOAuthCredentialsResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { // no content @@ -135,13 +170,13 @@ public com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentials _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -150,8 +185,8 @@ public com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentials * Create a workspace * @return The call builder */ - public com.airbyte.api.models.operations.CreateWorkspaceRequestBuilder createWorkspace() { - return new com.airbyte.api.models.operations.CreateWorkspaceRequestBuilder(this); + public CreateWorkspaceRequestBuilder createWorkspace() { + return new CreateWorkspaceRequestBuilder(this); } /** @@ -160,34 +195,42 @@ public com.airbyte.api.models.operations.CreateWorkspaceRequestBuilder createWor * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.CreateWorkspaceResponse createWorkspace( - com.airbyte.api.models.shared.WorkspaceCreateRequest request) throws Exception { + public CreateWorkspaceResponse createWorkspace( + WorkspaceCreateRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, "/workspaces"); HTTPRequest _req = new HTTPRequest(_url, "POST"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "request", "json", false); + _convertedRequest, + "request", + "json", + false); if (_serializedRequestBody == null) { throw new Exception("Request body is required"); } _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("createWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "createWorkspace", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -195,18 +238,28 @@ public com.airbyte.api.models.operations.CreateWorkspaceResponse createWorkspace if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("createWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "createWorkspace", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("createWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "createWorkspace", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("createWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "createWorkspace", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -214,28 +267,28 @@ public com.airbyte.api.models.operations.CreateWorkspaceResponse createWorkspace .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.CreateWorkspaceResponse.Builder _resBuilder = - com.airbyte.api.models.operations.CreateWorkspaceResponse + CreateWorkspaceResponse.Builder _resBuilder = + CreateWorkspaceResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.CreateWorkspaceResponse _res = _resBuilder.build(); + CreateWorkspaceResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.WorkspaceResponse _out = Utils.mapper().readValue( + WorkspaceResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withWorkspaceResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withWorkspaceResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { @@ -244,13 +297,13 @@ public com.airbyte.api.models.operations.CreateWorkspaceResponse createWorkspace _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -259,8 +312,8 @@ public com.airbyte.api.models.operations.CreateWorkspaceResponse createWorkspace * Delete a Workspace * @return The call builder */ - public com.airbyte.api.models.operations.DeleteWorkspaceRequestBuilder deleteWorkspace() { - return new com.airbyte.api.models.operations.DeleteWorkspaceRequestBuilder(this); + public DeleteWorkspaceRequestBuilder deleteWorkspace() { + return new DeleteWorkspaceRequestBuilder(this); } /** @@ -269,11 +322,11 @@ public com.airbyte.api.models.operations.DeleteWorkspaceRequestBuilder deleteWor * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.DeleteWorkspaceResponse deleteWorkspace( - com.airbyte.api.models.operations.DeleteWorkspaceRequest request) throws Exception { + public DeleteWorkspaceResponse deleteWorkspace( + DeleteWorkspaceRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.DeleteWorkspaceRequest.class, + DeleteWorkspaceRequest.class, _baseUrl, "/workspaces/{workspaceId}", request, null); @@ -281,16 +334,19 @@ public com.airbyte.api.models.operations.DeleteWorkspaceResponse deleteWorkspace HTTPRequest _req = new HTTPRequest(_url, "DELETE"); _req.addHeader("Accept", "*/*") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("deleteWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "deleteWorkspace", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -298,18 +354,28 @@ public com.airbyte.api.models.operations.DeleteWorkspaceResponse deleteWorkspace if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("deleteWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "deleteWorkspace", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("deleteWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "deleteWorkspace", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("deleteWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "deleteWorkspace", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -317,14 +383,14 @@ public com.airbyte.api.models.operations.DeleteWorkspaceResponse deleteWorkspace .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.DeleteWorkspaceResponse.Builder _resBuilder = - com.airbyte.api.models.operations.DeleteWorkspaceResponse + DeleteWorkspaceResponse.Builder _resBuilder = + DeleteWorkspaceResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.DeleteWorkspaceResponse _res = _resBuilder.build(); + DeleteWorkspaceResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "204")) { // no content @@ -336,13 +402,13 @@ public com.airbyte.api.models.operations.DeleteWorkspaceResponse deleteWorkspace _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -351,8 +417,8 @@ public com.airbyte.api.models.operations.DeleteWorkspaceResponse deleteWorkspace * Get Workspace details * @return The call builder */ - public com.airbyte.api.models.operations.GetWorkspaceRequestBuilder getWorkspace() { - return new com.airbyte.api.models.operations.GetWorkspaceRequestBuilder(this); + public GetWorkspaceRequestBuilder getWorkspace() { + return new GetWorkspaceRequestBuilder(this); } /** @@ -361,11 +427,11 @@ public com.airbyte.api.models.operations.GetWorkspaceRequestBuilder getWorkspace * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.GetWorkspaceResponse getWorkspace( - com.airbyte.api.models.operations.GetWorkspaceRequest request) throws Exception { + public GetWorkspaceResponse getWorkspace( + GetWorkspaceRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.GetWorkspaceRequest.class, + GetWorkspaceRequest.class, _baseUrl, "/workspaces/{workspaceId}", request, null); @@ -373,16 +439,19 @@ public com.airbyte.api.models.operations.GetWorkspaceResponse getWorkspace( HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("getWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "getWorkspace", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -390,18 +459,28 @@ public com.airbyte.api.models.operations.GetWorkspaceResponse getWorkspace( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("getWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "getWorkspace", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("getWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "getWorkspace", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("getWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "getWorkspace", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -409,28 +488,28 @@ public com.airbyte.api.models.operations.GetWorkspaceResponse getWorkspace( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.GetWorkspaceResponse.Builder _resBuilder = - com.airbyte.api.models.operations.GetWorkspaceResponse + GetWorkspaceResponse.Builder _resBuilder = + GetWorkspaceResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.GetWorkspaceResponse _res = _resBuilder.build(); + GetWorkspaceResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.WorkspaceResponse _out = Utils.mapper().readValue( + WorkspaceResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withWorkspaceResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withWorkspaceResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -439,13 +518,13 @@ public com.airbyte.api.models.operations.GetWorkspaceResponse getWorkspace( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -454,8 +533,8 @@ public com.airbyte.api.models.operations.GetWorkspaceResponse getWorkspace( * List workspaces * @return The call builder */ - public com.airbyte.api.models.operations.ListWorkspacesRequestBuilder listWorkspaces() { - return new com.airbyte.api.models.operations.ListWorkspacesRequestBuilder(this); + public ListWorkspacesRequestBuilder listWorkspaces() { + return new ListWorkspacesRequestBuilder(this); } /** @@ -464,8 +543,8 @@ public com.airbyte.api.models.operations.ListWorkspacesRequestBuilder listWorksp * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.ListWorkspacesResponse listWorkspaces( - com.airbyte.api.models.operations.ListWorkspacesRequest request) throws Exception { + public ListWorkspacesResponse listWorkspaces( + ListWorkspacesRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( _baseUrl, @@ -474,21 +553,24 @@ public com.airbyte.api.models.operations.ListWorkspacesResponse listWorkspaces( HTTPRequest _req = new HTTPRequest(_url, "GET"); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); + SDKConfiguration.USER_AGENT); _req.addQueryParams(Utils.getQueryParams( - com.airbyte.api.models.operations.ListWorkspacesRequest.class, + ListWorkspacesRequest.class, request, null)); - + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("listWorkspaces", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "listWorkspaces", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -496,18 +578,28 @@ public com.airbyte.api.models.operations.ListWorkspacesResponse listWorkspaces( if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("listWorkspaces", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "listWorkspaces", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("listWorkspaces", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "listWorkspaces", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("listWorkspaces", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "listWorkspaces", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -515,28 +607,28 @@ public com.airbyte.api.models.operations.ListWorkspacesResponse listWorkspaces( .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.ListWorkspacesResponse.Builder _resBuilder = - com.airbyte.api.models.operations.ListWorkspacesResponse + ListWorkspacesResponse.Builder _resBuilder = + ListWorkspacesResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.ListWorkspacesResponse _res = _resBuilder.build(); + ListWorkspacesResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.WorkspacesResponse _out = Utils.mapper().readValue( + WorkspacesResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withWorkspacesResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withWorkspacesResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "403", "404", "4XX", "5XX")) { @@ -545,13 +637,13 @@ public com.airbyte.api.models.operations.ListWorkspacesResponse listWorkspaces( _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } @@ -560,8 +652,8 @@ public com.airbyte.api.models.operations.ListWorkspacesResponse listWorkspaces( * Update a workspace * @return The call builder */ - public com.airbyte.api.models.operations.UpdateWorkspaceRequestBuilder updateWorkspace() { - return new com.airbyte.api.models.operations.UpdateWorkspaceRequestBuilder(this); + public UpdateWorkspaceRequestBuilder updateWorkspace() { + return new UpdateWorkspaceRequestBuilder(this); } /** @@ -570,36 +662,44 @@ public com.airbyte.api.models.operations.UpdateWorkspaceRequestBuilder updateWor * @return The response from the API call * @throws Exception if the API call fails */ - public com.airbyte.api.models.operations.UpdateWorkspaceResponse updateWorkspace( - com.airbyte.api.models.operations.UpdateWorkspaceRequest request) throws Exception { + public UpdateWorkspaceResponse updateWorkspace( + UpdateWorkspaceRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( - com.airbyte.api.models.operations.UpdateWorkspaceRequest.class, + UpdateWorkspaceRequest.class, _baseUrl, "/workspaces/{workspaceId}", request, null); HTTPRequest _req = new HTTPRequest(_url, "PATCH"); - Object _convertedRequest = Utils.convertToShape(request, Utils.JsonShape.DEFAULT, - new TypeReference() {}); + Object _convertedRequest = Utils.convertToShape( + request, + JsonShape.DEFAULT, + new TypeReference() {}); SerializedBody _serializedRequestBody = Utils.serializeRequestBody( - _convertedRequest, "workspaceUpdateRequest", "json", false); + _convertedRequest, + "workspaceUpdateRequest", + "json", + false); if (_serializedRequestBody == null) { throw new Exception("Request body is required"); } _req.setBody(Optional.ofNullable(_serializedRequestBody)); _req.addHeader("Accept", "application/json") .addHeader("user-agent", - this.sdkConfiguration.userAgent); - + SDKConfiguration.USER_AGENT); + + Optional _hookSecuritySource = this.sdkConfiguration.securitySource(); Utils.configureSecurity(_req, this.sdkConfiguration.securitySource.getSecurity()); - HTTPClient _client = this.sdkConfiguration.defaultClient; HttpRequest _r = sdkConfiguration.hooks() .beforeRequest( - new BeforeRequestContextImpl("updateWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new BeforeRequestContextImpl( + "updateWorkspace", + Optional.of(List.of()), + _hookSecuritySource), _req.build()); HttpResponse _httpRes; try { @@ -607,18 +707,28 @@ public com.airbyte.api.models.operations.UpdateWorkspaceResponse updateWorkspace if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { _httpRes = sdkConfiguration.hooks() .afterError( - new AfterErrorContextImpl("updateWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterErrorContextImpl( + "updateWorkspace", + Optional.of(List.of()), + _hookSecuritySource), Optional.of(_httpRes), Optional.empty()); } else { _httpRes = sdkConfiguration.hooks() .afterSuccess( - new AfterSuccessContextImpl("updateWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + new AfterSuccessContextImpl( + "updateWorkspace", + Optional.of(List.of()), + _hookSecuritySource), _httpRes); } } catch (Exception _e) { _httpRes = sdkConfiguration.hooks() - .afterError(new AfterErrorContextImpl("updateWorkspace", Optional.of(java.util.List.of()), sdkConfiguration.securitySource()), + .afterError( + new AfterErrorContextImpl( + "updateWorkspace", + Optional.of(List.of()), + _hookSecuritySource), Optional.empty(), Optional.of(_e)); } @@ -626,28 +736,28 @@ public com.airbyte.api.models.operations.UpdateWorkspaceResponse updateWorkspace .headers() .firstValue("Content-Type") .orElse("application/octet-stream"); - com.airbyte.api.models.operations.UpdateWorkspaceResponse.Builder _resBuilder = - com.airbyte.api.models.operations.UpdateWorkspaceResponse + UpdateWorkspaceResponse.Builder _resBuilder = + UpdateWorkspaceResponse .builder() .contentType(_contentType) .statusCode(_httpRes.statusCode()) .rawResponse(_httpRes); - com.airbyte.api.models.operations.UpdateWorkspaceResponse _res = _resBuilder.build(); + UpdateWorkspaceResponse _res = _resBuilder.build(); if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - com.airbyte.api.models.shared.WorkspaceResponse _out = Utils.mapper().readValue( + WorkspaceResponse _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withWorkspaceResponse(java.util.Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withWorkspaceResponse(Optional.ofNullable(_out)); return _res; } else { throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected content-type received: " + _contentType, - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } if (Utils.statusCodeMatches(_httpRes.statusCode(), "400", "403", "4XX", "5XX")) { @@ -656,13 +766,13 @@ public com.airbyte.api.models.operations.UpdateWorkspaceResponse updateWorkspace _httpRes, _httpRes.statusCode(), "API error occurred", - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } throw new SDKError( _httpRes, _httpRes.statusCode(), "Unexpected status code received: " + _httpRes.statusCode(), - Utils.toByteArrayAndClose(_httpRes.body())); + Utils.extractByteArrayFromBody(_httpRes)); } } diff --git a/src/main/java/com/airbyte/api/hooks/ClientCredentialsHook.java b/src/main/java/com/airbyte/api/hooks/ClientCredentialsHook.java index 8a2186ed0..7bcbf067a 100644 --- a/src/main/java/com/airbyte/api/hooks/ClientCredentialsHook.java +++ b/src/main/java/com/airbyte/api/hooks/ClientCredentialsHook.java @@ -1,23 +1,15 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.hooks; -import java.io.IOException; import java.io.InputStream; +import java.lang.reflect.Field; import java.net.HttpURLConnection; import java.net.URI; -import java.net.URISyntaxException; import java.net.http.HttpRequest; import java.net.http.HttpResponse; -import java.nio.charset.StandardCharsets; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.time.OffsetDateTime; -import java.time.temporal.ChronoUnit; -import java.util.ArrayList; -import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -25,8 +17,6 @@ import java.util.stream.Collectors; import com.airbyte.api.SecuritySource; -import com.airbyte.api.models.errors.AuthException; -import com.airbyte.api.models.shared.SchemeClientCredentials; import com.airbyte.api.utils.Helpers; import com.airbyte.api.utils.HTTPClient; import com.airbyte.api.utils.Hook.AfterError; @@ -35,24 +25,22 @@ import com.airbyte.api.utils.Hook.BeforeRequestContext; import com.airbyte.api.utils.Hook.SdkInit; import com.airbyte.api.utils.Hook.SdkInitData; -import com.airbyte.api.utils.RequestBody; +import com.airbyte.api.utils.SessionManager; +import com.airbyte.api.utils.SessionManager.HasSessionKey; +import com.airbyte.api.utils.SessionManager.Session; +import com.airbyte.api.utils.Security; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonProperty; - public final class ClientCredentialsHook implements SdkInit, BeforeRequest, AfterError { - // VisibleForTesting - static final int REFRESH_BEFORE_EXPIRY_SECONDS = 60; - - private final Map sessions; + private final SessionManager sessions; // set by sdkInit private String baseUrl; private HTTPClient client; public ClientCredentialsHook() { - this.sessions = new HashMap<>(); + this.sessions = new SessionManager(); } @Override @@ -75,44 +63,14 @@ public HttpRequest beforeRequest(BeforeRequestContext context, HttpRequest reque } else { return request; } - - final String sessionKey = sessionKey(credentials); - Optional currentSession = Optional.ofNullable(sessions.get(sessionKey)); - final Session session; - if (shouldCreateNewSession(currentSession, context.oauthScopes())) { - // note that we accumulate scopes. For example if a session existed - // for scope 'read' and this request requires scope 'write' then we - // request a new token for `read, write`. - - // TODO it may be better to rather make `sessions` a Map> - // where the none of the Session scope lists fully contains another in the same map value. - // This would ensure that an operation is always called with a token with the minimum - // permissions required and also would ensure that a token request is not rejected - // because of disallowed scope combinations (yet to see that in the wild). - // For the example above with `read` and `write` scoped requests we would get a token - // for `read` scope, and then get a token for `write` scope and store both tokens in separate - // Session objects in the map value list for the credential pair. - - List scopes = accumulateScopes(context.oauthScopes(), currentSession); - session = doTokenRequest(baseUrl, client, credentials, scopes); - sessions.put(sessionKey, session); - } else { - session = currentSession.get(); - } - + Session session = sessions.getSession(credentials, context.oauthScopes(), + scopes -> doTokenRequest(baseUrl, client, credentials, scopes)); return Helpers.copy(request) // // overwrites any previous value - .setHeader("Authorization", "Bearer " + session.token.orElse("")) // + .setHeader("Authorization", "Bearer " + session.token().orElse("")) // .build(); } - // VisibleForTesting - static boolean shouldCreateNewSession(Optional currentSession, Optional> oauthScopes) { - return !currentSession.isPresent() // - || !hasRequiredScopes(currentSession.get().scopes, oauthScopes) // - || hasTokenExpired(currentSession.get().expiresAt, OffsetDateTime.now()); - } - @Override public HttpResponse afterError(AfterErrorContext context, Optional> response, Optional error) throws Exception { @@ -128,14 +86,14 @@ public HttpResponse afterError(AfterErrorContext context, Optional< } if (response.get().statusCode() == HttpURLConnection.HTTP_UNAUTHORIZED) { - String sessionKey = sessionKey(credentials.get()); + String sessionKey = credentials.get().sessionKey(); sessions.remove(sessionKey); } return response.get(); } - private static Session doTokenRequest(String baseUrl, HTTPClient client, Credentials credentials, List scopes) throws IllegalArgumentException, - IllegalAccessException, IOException, InterruptedException, URISyntaxException { + private static Session doTokenRequest(String baseUrl, HTTPClient client, Credentials credentials, + List scopes) { Map payload = new HashMap<>(); payload.put("grant_type", "client_credentials"); payload.put("client_id", credentials.clientId); @@ -144,63 +102,11 @@ private static Session doTokenRequest(String baseUrl, HTTPClient client, Credent payload.put("scope", scopes.stream().collect(Collectors.joining(" "))); } URI tokenUri = URI.create(baseUrl).resolve(credentials.tokenUrl); - HttpRequest request = HttpRequest // - .newBuilder(tokenUri) // - .header("Content-Type", "application/x-www-form-urlencoded") // - .POST(RequestBody.serializeFormData(payload).body()) // - .build(); - HttpResponse response = client.send(request); - if (response.statusCode() != HttpURLConnection.HTTP_OK) { - String responseBody = Utils.toUtf8AndClose(response.body()); - throw new AuthException(response.statusCode(), "Unexpected status code " + response.statusCode() + ": " + responseBody); - } - TokenResponse t = Utils.mapper().readValue(response.body(), TokenResponse.class); - if (!t.tokenType.orElse("").equals("Bearer")) { - throw new AuthException("Expected 'Bearer' token type but was '" + t.tokenType.orElse("") + "'"); - } - final Optional expiresAt = t.expiresInMs - .map(x -> OffsetDateTime.now().plus(x, ChronoUnit.MILLIS)); - return new Session(credentials, t.accessToken, scopes, expiresAt); - } - - private static List accumulateScopes(Optional> requiredScopes, Optional session) { - if (session.isPresent()) { - List scopes = new ArrayList<>(requiredScopes.orElse(Collections.emptyList())); - scopes.addAll(session.get().scopes); - return scopes.stream() // - .distinct() // - .collect(Collectors.toList()); - } else { - return requiredScopes.orElse(Collections.emptyList()); - } - } - - // VisibleForTesting - static boolean hasTokenExpired(Optional expiresAt, OffsetDateTime now) { - return expiresAt.isEmpty() // - || now.plusSeconds(REFRESH_BEFORE_EXPIRY_SECONDS).isAfter(expiresAt.get()); - } - - // VisibleForTesting - static boolean hasRequiredScopes(List sessionScopes, Optional> requiredScopes) { - return sessionScopes.containsAll(requiredScopes.orElse(Collections.emptyList())); - } - - final static class TokenResponse { - - @JsonProperty("access_token") - Optional accessToken; - - @JsonProperty("token_type") - Optional tokenType; - - @JsonProperty("expires_in") - Optional expiresInMs; - + return SessionManager.requestOAuth2Token(client, credentials, scopes, payload, tokenUri); } // VisibleForTesting - final static class Credentials { + final static class Credentials implements HasSessionKey { final String clientId; final String clientSecret; final String tokenUrl; @@ -213,21 +119,10 @@ final static class Credentials { this.clientSecret = clientSecret; this.tokenUrl = tokenUrl; } - } - // VisibleForTesting - final static class Session { - final Credentials credentials; - final Optional token; - final List scopes; - final Optional expiresAt; - - Session(Credentials credentials, Optional token, List scopes, - Optional expiresAt) { - this.credentials = credentials; - this.token = token; - this.scopes = scopes; - this.expiresAt = expiresAt; + @Override + public String sessionKey() { + return Utils.sessionKey(clientId, clientSecret); } } @@ -235,38 +130,50 @@ private static Optional credentials(Optional source if (!source.isPresent()) { return Optional.empty(); } - // clientID, clientSecret etc will be typed as `Optional` if global security not present - Optional clientId = source.get().getSecurity().clientCredentials().map(SchemeClientCredentials::clientID); - Optional clientSecret = source.get().getSecurity().clientCredentials().map(SchemeClientCredentials::clientSecret); - Optional tokenUrl = source.get().getSecurity().clientCredentials().map(SchemeClientCredentials::tokenURL); + Object security = source.get().getSecurity(); + if (security == null) { + return Optional.empty(); + } + + // look for a field with name=Authorization (and is client credentials) + // if present then is nested security and we treat the field value as the + // security object + Optional sec = Security.findValueWhereMetadataContainsRegexes(security, "\\bscheme=true\\b", + "\\btype=oauth2\\b", "\\bsubtype=client_credentials\\b", "\\bname=Authorization\\b"); + if (sec.isPresent()) { + security = sec.get(); + } + + // clientID, clientSecret etc will be `Optional.empty()` if global security not + // present + Optional clientId = oauth2FieldValue(security, "clientID"); + Optional clientSecret = oauth2FieldValue(security, "clientSecret"); + // TODO why is SpeakeasyMetadata missing from tokenURL field? + Optional tokenUrl = fieldValue(security, "tokenURL"); if (clientId.isEmpty() || clientSecret.isEmpty() || tokenUrl.isEmpty()) { return Optional.empty(); } else { - return Optional.of(new Credentials(clientId.get(), clientSecret.get(), tokenUrl.get())); + return Optional.of(new Credentials(clientId.get(), clientSecret.get(), tokenUrl.get())); } } - private static Optional toOptional(String s) { - return Optional.ofNullable(s); - } - - private static Optional toOptional(Optional s) { - return s; + private static Optional oauth2FieldValue(Object security, String name) { + return Security.findStringValueWhereMetadataNameIs(security, name); } - private static String sessionKey(Credentials credentials) { - return sessionKey(credentials.clientId, credentials.clientSecret); - } - - private static String sessionKey(String clientId, String clientSecret) { + @SuppressWarnings("unchecked") + private static Optional fieldValue(Object o, String fieldName) { try { - MessageDigest md = MessageDigest.getInstance("MD5"); - String input = clientId + ":" + clientSecret; - byte[] bytes = md.digest(input.getBytes(StandardCharsets.UTF_8)); - return Utils.bytesToLowerCaseHex(bytes); - } catch (NoSuchAlgorithmException e) { - // not expected, MD5 always available - throw new RuntimeException(e); + Field field = o.getClass().getDeclaredField(fieldName); + field.setAccessible(true); + Object value = field.get(o); + if (value instanceof Optional) { + return (Optional) value; + } else { + return Optional.of((String) value); + } + } catch (NoSuchFieldException | SecurityException | IllegalArgumentException | IllegalAccessException e) { + return Optional.empty(); } } -} +} \ No newline at end of file diff --git a/src/main/java/com/airbyte/api/models/errors/AuthException.java b/src/main/java/com/airbyte/api/models/errors/AuthException.java index f2b97bea4..53a0f3e98 100644 --- a/src/main/java/com/airbyte/api/models/errors/AuthException.java +++ b/src/main/java/com/airbyte/api/models/errors/AuthException.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.errors; diff --git a/src/main/java/com/airbyte/api/models/errors/SDKError.java b/src/main/java/com/airbyte/api/models/errors/SDKError.java index 1ee9ae0e5..778408962 100644 --- a/src/main/java/com/airbyte/api/models/errors/SDKError.java +++ b/src/main/java/com/airbyte/api/models/errors/SDKError.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.errors; diff --git a/src/main/java/com/airbyte/api/models/operations/CancelJobRequest.java b/src/main/java/com/airbyte/api/models/operations/CancelJobRequest.java index aa69dbbac..434088af2 100644 --- a/src/main/java/com/airbyte/api/models/operations/CancelJobRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/CancelJobRequest.java @@ -1,19 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class CancelJobRequest { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } CancelJobRequest other = (CancelJobRequest) o; return - java.util.Objects.deepEquals(this.jobId, other.jobId); + Objects.deepEquals(this.jobId, other.jobId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( jobId); } diff --git a/src/main/java/com/airbyte/api/models/operations/CancelJobRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/CancelJobRequestBuilder.java index 0e86cb33b..d1b2321a0 100644 --- a/src/main/java/com/airbyte/api/models/operations/CancelJobRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/CancelJobRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class CancelJobRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/CancelJobResponse.java b/src/main/java/com/airbyte/api/models/operations/CancelJobResponse.java index bd15c0142..d3aa40845 100644 --- a/src/main/java/com/airbyte/api/models/operations/CancelJobResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/CancelJobResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.JobResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class CancelJobResponse implements com.airbyte.api.utils.Response { + +public class CancelJobResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class CancelJobResponse implements com.airbyte.api.utils.Response { /** * Cancel a Job. */ - private Optional jobResponse; + private Optional jobResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class CancelJobResponse implements com.airbyte.api.utils.Response { @JsonCreator public CancelJobResponse( String contentType, - Optional jobResponse, + Optional jobResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional jobResponse() { - return (Optional) jobResponse; + public Optional jobResponse() { + return (Optional) jobResponse; } /** @@ -110,7 +114,7 @@ public CancelJobResponse withContentType(String contentType) { /** * Cancel a Job. */ - public CancelJobResponse withJobResponse(com.airbyte.api.models.shared.JobResponse jobResponse) { + public CancelJobResponse withJobResponse(JobResponse jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = Optional.ofNullable(jobResponse); return this; @@ -119,7 +123,7 @@ public CancelJobResponse withJobResponse(com.airbyte.api.models.shared.JobRespon /** * Cancel a Job. */ - public CancelJobResponse withJobResponse(Optional jobResponse) { + public CancelJobResponse withJobResponse(Optional jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = jobResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } CancelJobResponse other = (CancelJobResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.jobResponse, other.jobResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.jobResponse, other.jobResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, jobResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional jobResponse = Optional.empty(); + private Optional jobResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Cancel a Job. */ - public Builder jobResponse(com.airbyte.api.models.shared.JobResponse jobResponse) { + public Builder jobResponse(JobResponse jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = Optional.ofNullable(jobResponse); return this; @@ -212,7 +216,7 @@ public Builder jobResponse(com.airbyte.api.models.shared.JobResponse jobResponse /** * Cancel a Job. */ - public Builder jobResponse(Optional jobResponse) { + public Builder jobResponse(Optional jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = jobResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateConnectionRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/CreateConnectionRequestBuilder.java index 9a8d0ad11..1267cc70b 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateConnectionRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateConnectionRequestBuilder.java @@ -1,32 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.models.shared.ConnectionCreateRequest; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class CreateConnectionRequestBuilder { - private com.airbyte.api.models.shared.ConnectionCreateRequest request; + private ConnectionCreateRequest request; private final SDKMethodInterfaces.MethodCallCreateConnection sdk; public CreateConnectionRequestBuilder(SDKMethodInterfaces.MethodCallCreateConnection sdk) { this.sdk = sdk; } - public CreateConnectionRequestBuilder request(com.airbyte.api.models.shared.ConnectionCreateRequest request) { + public CreateConnectionRequestBuilder request(ConnectionCreateRequest request) { Utils.checkNotNull(request, "request"); this.request = request; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateConnectionResponse.java b/src/main/java/com/airbyte/api/models/operations/CreateConnectionResponse.java index 9896ef72c..552afd4a5 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateConnectionResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateConnectionResponse.java @@ -1,27 +1,31 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.ConnectionResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class CreateConnectionResponse implements com.airbyte.api.utils.Response { + +public class CreateConnectionResponse implements Response { /** * Successful operation */ - private Optional connectionResponse; + private Optional connectionResponse; /** * HTTP response content type for this operation @@ -40,7 +44,7 @@ public class CreateConnectionResponse implements com.airbyte.api.utils.Response @JsonCreator public CreateConnectionResponse( - Optional connectionResponse, + Optional connectionResponse, String contentType, int statusCode, HttpResponse rawResponse) { @@ -66,8 +70,8 @@ public CreateConnectionResponse( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional connectionResponse() { - return (Optional) connectionResponse; + public Optional connectionResponse() { + return (Optional) connectionResponse; } /** @@ -101,7 +105,7 @@ public final static Builder builder() { /** * Successful operation */ - public CreateConnectionResponse withConnectionResponse(com.airbyte.api.models.shared.ConnectionResponse connectionResponse) { + public CreateConnectionResponse withConnectionResponse(ConnectionResponse connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = Optional.ofNullable(connectionResponse); return this; @@ -110,7 +114,7 @@ public CreateConnectionResponse withConnectionResponse(com.airbyte.api.models.sh /** * Successful operation */ - public CreateConnectionResponse withConnectionResponse(Optional connectionResponse) { + public CreateConnectionResponse withConnectionResponse(Optional connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = connectionResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } CreateConnectionResponse other = (CreateConnectionResponse) o; return - java.util.Objects.deepEquals(this.connectionResponse, other.connectionResponse) && - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.connectionResponse, other.connectionResponse) && + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionResponse, contentType, statusCode, @@ -179,7 +183,7 @@ public String toString() { public final static class Builder { - private Optional connectionResponse = Optional.empty(); + private Optional connectionResponse = Optional.empty(); private String contentType; @@ -194,7 +198,7 @@ private Builder() { /** * Successful operation */ - public Builder connectionResponse(com.airbyte.api.models.shared.ConnectionResponse connectionResponse) { + public Builder connectionResponse(ConnectionResponse connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = Optional.ofNullable(connectionResponse); return this; @@ -203,7 +207,7 @@ public Builder connectionResponse(com.airbyte.api.models.shared.ConnectionRespon /** * Successful operation */ - public Builder connectionResponse(Optional connectionResponse) { + public Builder connectionResponse(Optional connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = connectionResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateDestinationRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/CreateDestinationRequestBuilder.java index 6722d3a95..fade64100 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateDestinationRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateDestinationRequestBuilder.java @@ -1,38 +1,29 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.models.shared.DestinationCreateRequest; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class CreateDestinationRequestBuilder { - private Optional request = Optional.empty(); + private Optional request = Optional.empty(); private final SDKMethodInterfaces.MethodCallCreateDestination sdk; public CreateDestinationRequestBuilder(SDKMethodInterfaces.MethodCallCreateDestination sdk) { this.sdk = sdk; } - public CreateDestinationRequestBuilder request(com.airbyte.api.models.shared.DestinationCreateRequest request) { + public CreateDestinationRequestBuilder request(DestinationCreateRequest request) { Utils.checkNotNull(request, "request"); this.request = Optional.of(request); return this; } - public CreateDestinationRequestBuilder request(Optional request) { + public CreateDestinationRequestBuilder request(Optional request) { Utils.checkNotNull(request, "request"); this.request = request; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateDestinationResponse.java b/src/main/java/com/airbyte/api/models/operations/CreateDestinationResponse.java index 1c3fc75db..fb2ce082e 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateDestinationResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateDestinationResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.DestinationResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class CreateDestinationResponse implements com.airbyte.api.utils.Response { + +public class CreateDestinationResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class CreateDestinationResponse implements com.airbyte.api.utils.Response /** * Successful operation */ - private Optional destinationResponse; + private Optional destinationResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class CreateDestinationResponse implements com.airbyte.api.utils.Response @JsonCreator public CreateDestinationResponse( String contentType, - Optional destinationResponse, + Optional destinationResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional destinationResponse() { - return (Optional) destinationResponse; + public Optional destinationResponse() { + return (Optional) destinationResponse; } /** @@ -110,7 +114,7 @@ public CreateDestinationResponse withContentType(String contentType) { /** * Successful operation */ - public CreateDestinationResponse withDestinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + public CreateDestinationResponse withDestinationResponse(DestinationResponse destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = Optional.ofNullable(destinationResponse); return this; @@ -119,7 +123,7 @@ public CreateDestinationResponse withDestinationResponse(com.airbyte.api.models. /** * Successful operation */ - public CreateDestinationResponse withDestinationResponse(Optional destinationResponse) { + public CreateDestinationResponse withDestinationResponse(Optional destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = destinationResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } CreateDestinationResponse other = (CreateDestinationResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.destinationResponse, other.destinationResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.destinationResponse, other.destinationResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, destinationResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional destinationResponse = Optional.empty(); + private Optional destinationResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Successful operation */ - public Builder destinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + public Builder destinationResponse(DestinationResponse destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = Optional.ofNullable(destinationResponse); return this; @@ -212,7 +216,7 @@ public Builder destinationResponse(com.airbyte.api.models.shared.DestinationResp /** * Successful operation */ - public Builder destinationResponse(Optional destinationResponse) { + public Builder destinationResponse(Optional destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = destinationResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateJobRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/CreateJobRequestBuilder.java index 1ed3238ce..e8dc7b7c0 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateJobRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateJobRequestBuilder.java @@ -1,32 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.models.shared.JobCreateRequest; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class CreateJobRequestBuilder { - private com.airbyte.api.models.shared.JobCreateRequest request; + private JobCreateRequest request; private final SDKMethodInterfaces.MethodCallCreateJob sdk; public CreateJobRequestBuilder(SDKMethodInterfaces.MethodCallCreateJob sdk) { this.sdk = sdk; } - public CreateJobRequestBuilder request(com.airbyte.api.models.shared.JobCreateRequest request) { + public CreateJobRequestBuilder request(JobCreateRequest request) { Utils.checkNotNull(request, "request"); this.request = request; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateJobResponse.java b/src/main/java/com/airbyte/api/models/operations/CreateJobResponse.java index 90d6bd894..6009e89cd 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateJobResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateJobResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.JobResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class CreateJobResponse implements com.airbyte.api.utils.Response { + +public class CreateJobResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class CreateJobResponse implements com.airbyte.api.utils.Response { /** * Kicks off a new Job based on the JobType. The connectionId is the resource that Job will be run for. */ - private Optional jobResponse; + private Optional jobResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class CreateJobResponse implements com.airbyte.api.utils.Response { @JsonCreator public CreateJobResponse( String contentType, - Optional jobResponse, + Optional jobResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional jobResponse() { - return (Optional) jobResponse; + public Optional jobResponse() { + return (Optional) jobResponse; } /** @@ -110,7 +114,7 @@ public CreateJobResponse withContentType(String contentType) { /** * Kicks off a new Job based on the JobType. The connectionId is the resource that Job will be run for. */ - public CreateJobResponse withJobResponse(com.airbyte.api.models.shared.JobResponse jobResponse) { + public CreateJobResponse withJobResponse(JobResponse jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = Optional.ofNullable(jobResponse); return this; @@ -119,7 +123,7 @@ public CreateJobResponse withJobResponse(com.airbyte.api.models.shared.JobRespon /** * Kicks off a new Job based on the JobType. The connectionId is the resource that Job will be run for. */ - public CreateJobResponse withJobResponse(Optional jobResponse) { + public CreateJobResponse withJobResponse(Optional jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = jobResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } CreateJobResponse other = (CreateJobResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.jobResponse, other.jobResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.jobResponse, other.jobResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, jobResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional jobResponse = Optional.empty(); + private Optional jobResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Kicks off a new Job based on the JobType. The connectionId is the resource that Job will be run for. */ - public Builder jobResponse(com.airbyte.api.models.shared.JobResponse jobResponse) { + public Builder jobResponse(JobResponse jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = Optional.ofNullable(jobResponse); return this; @@ -212,7 +216,7 @@ public Builder jobResponse(com.airbyte.api.models.shared.JobResponse jobResponse /** * Kicks off a new Job based on the JobType. The connectionId is the resource that Job will be run for. */ - public Builder jobResponse(Optional jobResponse) { + public Builder jobResponse(Optional jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = jobResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java b/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java index 264c01679..a1389245b 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java @@ -1,31 +1,31 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class CreateOrUpdateWorkspaceOAuthCredentialsRequest { @SpeakeasyMetadata("request:mediaType=application/json") - private com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest; + private WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest; @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=workspaceId") private String workspaceId; @JsonCreator public CreateOrUpdateWorkspaceOAuthCredentialsRequest( - com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest, + WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest, String workspaceId) { Utils.checkNotNull(workspaceOAuthCredentialsRequest, "workspaceOAuthCredentialsRequest"); Utils.checkNotNull(workspaceId, "workspaceId"); @@ -34,7 +34,7 @@ public CreateOrUpdateWorkspaceOAuthCredentialsRequest( } @JsonIgnore - public com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest() { + public WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest() { return workspaceOAuthCredentialsRequest; } @@ -47,7 +47,7 @@ public final static Builder builder() { return new Builder(); } - public CreateOrUpdateWorkspaceOAuthCredentialsRequest withWorkspaceOAuthCredentialsRequest(com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest) { + public CreateOrUpdateWorkspaceOAuthCredentialsRequest withWorkspaceOAuthCredentialsRequest(WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest) { Utils.checkNotNull(workspaceOAuthCredentialsRequest, "workspaceOAuthCredentialsRequest"); this.workspaceOAuthCredentialsRequest = workspaceOAuthCredentialsRequest; return this; @@ -69,13 +69,13 @@ public boolean equals(java.lang.Object o) { } CreateOrUpdateWorkspaceOAuthCredentialsRequest other = (CreateOrUpdateWorkspaceOAuthCredentialsRequest) o; return - java.util.Objects.deepEquals(this.workspaceOAuthCredentialsRequest, other.workspaceOAuthCredentialsRequest) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.workspaceOAuthCredentialsRequest, other.workspaceOAuthCredentialsRequest) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( workspaceOAuthCredentialsRequest, workspaceId); } @@ -89,7 +89,7 @@ public String toString() { public final static class Builder { - private com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest; + private WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest; private String workspaceId; @@ -97,7 +97,7 @@ private Builder() { // force use of static builder() method } - public Builder workspaceOAuthCredentialsRequest(com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest) { + public Builder workspaceOAuthCredentialsRequest(WorkspaceOAuthCredentialsRequest workspaceOAuthCredentialsRequest) { Utils.checkNotNull(workspaceOAuthCredentialsRequest, "workspaceOAuthCredentialsRequest"); this.workspaceOAuthCredentialsRequest = workspaceOAuthCredentialsRequest; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder.java index ae6ff56aa..50b34d93b 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class CreateOrUpdateWorkspaceOAuthCredentialsRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java b/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java index 3d7455fca..d2f5d0ade 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsResponse.java @@ -1,21 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; import java.net.http.HttpResponse; +import java.util.Objects; + -public class CreateOrUpdateWorkspaceOAuthCredentialsResponse implements com.airbyte.api.utils.Response { +public class CreateOrUpdateWorkspaceOAuthCredentialsResponse implements Response { /** * HTTP response content type for this operation @@ -110,14 +112,14 @@ public boolean equals(java.lang.Object o) { } CreateOrUpdateWorkspaceOAuthCredentialsResponse other = (CreateOrUpdateWorkspaceOAuthCredentialsResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse); diff --git a/src/main/java/com/airbyte/api/models/operations/CreatePermissionRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/CreatePermissionRequestBuilder.java index 6590dcd47..2cdba104e 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreatePermissionRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/CreatePermissionRequestBuilder.java @@ -1,32 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.models.shared.PermissionCreateRequest; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class CreatePermissionRequestBuilder { - private com.airbyte.api.models.shared.PermissionCreateRequest request; + private PermissionCreateRequest request; private final SDKMethodInterfaces.MethodCallCreatePermission sdk; public CreatePermissionRequestBuilder(SDKMethodInterfaces.MethodCallCreatePermission sdk) { this.sdk = sdk; } - public CreatePermissionRequestBuilder request(com.airbyte.api.models.shared.PermissionCreateRequest request) { + public CreatePermissionRequestBuilder request(PermissionCreateRequest request) { Utils.checkNotNull(request, "request"); this.request = request; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreatePermissionResponse.java b/src/main/java/com/airbyte/api/models/operations/CreatePermissionResponse.java index eb3af058e..1ecd0f7db 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreatePermissionResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/CreatePermissionResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.PermissionResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class CreatePermissionResponse implements com.airbyte.api.utils.Response { + +public class CreatePermissionResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class CreatePermissionResponse implements com.airbyte.api.utils.Response /** * Successful operation */ - private Optional permissionResponse; + private Optional permissionResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class CreatePermissionResponse implements com.airbyte.api.utils.Response @JsonCreator public CreatePermissionResponse( String contentType, - Optional permissionResponse, + Optional permissionResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional permissionResponse() { - return (Optional) permissionResponse; + public Optional permissionResponse() { + return (Optional) permissionResponse; } /** @@ -110,7 +114,7 @@ public CreatePermissionResponse withContentType(String contentType) { /** * Successful operation */ - public CreatePermissionResponse withPermissionResponse(com.airbyte.api.models.shared.PermissionResponse permissionResponse) { + public CreatePermissionResponse withPermissionResponse(PermissionResponse permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = Optional.ofNullable(permissionResponse); return this; @@ -119,7 +123,7 @@ public CreatePermissionResponse withPermissionResponse(com.airbyte.api.models.sh /** * Successful operation */ - public CreatePermissionResponse withPermissionResponse(Optional permissionResponse) { + public CreatePermissionResponse withPermissionResponse(Optional permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = permissionResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } CreatePermissionResponse other = (CreatePermissionResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.permissionResponse, other.permissionResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.permissionResponse, other.permissionResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, permissionResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional permissionResponse = Optional.empty(); + private Optional permissionResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Successful operation */ - public Builder permissionResponse(com.airbyte.api.models.shared.PermissionResponse permissionResponse) { + public Builder permissionResponse(PermissionResponse permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = Optional.ofNullable(permissionResponse); return this; @@ -212,7 +216,7 @@ public Builder permissionResponse(com.airbyte.api.models.shared.PermissionRespon /** * Successful operation */ - public Builder permissionResponse(Optional permissionResponse) { + public Builder permissionResponse(Optional permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = permissionResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateSourceRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/CreateSourceRequestBuilder.java index 7b002338f..7cb2d178b 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateSourceRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateSourceRequestBuilder.java @@ -1,38 +1,29 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.models.shared.SourceCreateRequest; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class CreateSourceRequestBuilder { - private Optional request = Optional.empty(); + private Optional request = Optional.empty(); private final SDKMethodInterfaces.MethodCallCreateSource sdk; public CreateSourceRequestBuilder(SDKMethodInterfaces.MethodCallCreateSource sdk) { this.sdk = sdk; } - public CreateSourceRequestBuilder request(com.airbyte.api.models.shared.SourceCreateRequest request) { + public CreateSourceRequestBuilder request(SourceCreateRequest request) { Utils.checkNotNull(request, "request"); this.request = Optional.of(request); return this; } - public CreateSourceRequestBuilder request(Optional request) { + public CreateSourceRequestBuilder request(Optional request) { Utils.checkNotNull(request, "request"); this.request = request; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateSourceResponse.java b/src/main/java/com/airbyte/api/models/operations/CreateSourceResponse.java index 3be6de63f..3613569d7 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateSourceResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateSourceResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.SourceResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class CreateSourceResponse implements com.airbyte.api.utils.Response { + +public class CreateSourceResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class CreateSourceResponse implements com.airbyte.api.utils.Response { /** * Successful operation */ - private Optional sourceResponse; + private Optional sourceResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class CreateSourceResponse implements com.airbyte.api.utils.Response { @JsonCreator public CreateSourceResponse( String contentType, - Optional sourceResponse, + Optional sourceResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional sourceResponse() { - return (Optional) sourceResponse; + public Optional sourceResponse() { + return (Optional) sourceResponse; } /** @@ -110,7 +114,7 @@ public CreateSourceResponse withContentType(String contentType) { /** * Successful operation */ - public CreateSourceResponse withSourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + public CreateSourceResponse withSourceResponse(SourceResponse sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = Optional.ofNullable(sourceResponse); return this; @@ -119,7 +123,7 @@ public CreateSourceResponse withSourceResponse(com.airbyte.api.models.shared.Sou /** * Successful operation */ - public CreateSourceResponse withSourceResponse(Optional sourceResponse) { + public CreateSourceResponse withSourceResponse(Optional sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = sourceResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } CreateSourceResponse other = (CreateSourceResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.sourceResponse, other.sourceResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.sourceResponse, other.sourceResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, sourceResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional sourceResponse = Optional.empty(); + private Optional sourceResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Successful operation */ - public Builder sourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + public Builder sourceResponse(SourceResponse sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = Optional.ofNullable(sourceResponse); return this; @@ -212,7 +216,7 @@ public Builder sourceResponse(com.airbyte.api.models.shared.SourceResponse sourc /** * Successful operation */ - public Builder sourceResponse(Optional sourceResponse) { + public Builder sourceResponse(Optional sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = sourceResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateWorkspaceRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/CreateWorkspaceRequestBuilder.java index a68c6a77d..2c6c18b16 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateWorkspaceRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateWorkspaceRequestBuilder.java @@ -1,32 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.models.shared.WorkspaceCreateRequest; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class CreateWorkspaceRequestBuilder { - private com.airbyte.api.models.shared.WorkspaceCreateRequest request; + private WorkspaceCreateRequest request; private final SDKMethodInterfaces.MethodCallCreateWorkspace sdk; public CreateWorkspaceRequestBuilder(SDKMethodInterfaces.MethodCallCreateWorkspace sdk) { this.sdk = sdk; } - public CreateWorkspaceRequestBuilder request(com.airbyte.api.models.shared.WorkspaceCreateRequest request) { + public CreateWorkspaceRequestBuilder request(WorkspaceCreateRequest request) { Utils.checkNotNull(request, "request"); this.request = request; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/CreateWorkspaceResponse.java b/src/main/java/com/airbyte/api/models/operations/CreateWorkspaceResponse.java index 46570b0a2..4b975378d 100644 --- a/src/main/java/com/airbyte/api/models/operations/CreateWorkspaceResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/CreateWorkspaceResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.WorkspaceResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class CreateWorkspaceResponse implements com.airbyte.api.utils.Response { + +public class CreateWorkspaceResponse implements Response { /** * HTTP response content type for this operation @@ -36,14 +40,14 @@ public class CreateWorkspaceResponse implements com.airbyte.api.utils.Response { /** * Successful operation */ - private Optional workspaceResponse; + private Optional workspaceResponse; @JsonCreator public CreateWorkspaceResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional workspaceResponse) { + Optional workspaceResponse) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); @@ -90,8 +94,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional workspaceResponse() { - return (Optional) workspaceResponse; + public Optional workspaceResponse() { + return (Optional) workspaceResponse; } public final static Builder builder() { @@ -128,7 +132,7 @@ public CreateWorkspaceResponse withRawResponse(HttpResponse rawResp /** * Successful operation */ - public CreateWorkspaceResponse withWorkspaceResponse(com.airbyte.api.models.shared.WorkspaceResponse workspaceResponse) { + public CreateWorkspaceResponse withWorkspaceResponse(WorkspaceResponse workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = Optional.ofNullable(workspaceResponse); return this; @@ -137,7 +141,7 @@ public CreateWorkspaceResponse withWorkspaceResponse(com.airbyte.api.models.shar /** * Successful operation */ - public CreateWorkspaceResponse withWorkspaceResponse(Optional workspaceResponse) { + public CreateWorkspaceResponse withWorkspaceResponse(Optional workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = workspaceResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } CreateWorkspaceResponse other = (CreateWorkspaceResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse) && - java.util.Objects.deepEquals(this.workspaceResponse, other.workspaceResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse) && + Objects.deepEquals(this.workspaceResponse, other.workspaceResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse, @@ -185,7 +189,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional workspaceResponse = Optional.empty(); + private Optional workspaceResponse = Optional.empty(); private Builder() { // force use of static builder() method @@ -221,7 +225,7 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful operation */ - public Builder workspaceResponse(com.airbyte.api.models.shared.WorkspaceResponse workspaceResponse) { + public Builder workspaceResponse(WorkspaceResponse workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = Optional.ofNullable(workspaceResponse); return this; @@ -230,7 +234,7 @@ public Builder workspaceResponse(com.airbyte.api.models.shared.WorkspaceResponse /** * Successful operation */ - public Builder workspaceResponse(Optional workspaceResponse) { + public Builder workspaceResponse(Optional workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = workspaceResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequest.java b/src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequest.java index 4669db291..96170e66b 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DeleteConnectionRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } DeleteConnectionRequest other = (DeleteConnectionRequest) o; return - java.util.Objects.deepEquals(this.connectionId, other.connectionId); + Objects.deepEquals(this.connectionId, other.connectionId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionId); } diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequestBuilder.java index b20854884..643563b52 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class DeleteConnectionRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteConnectionResponse.java b/src/main/java/com/airbyte/api/models/operations/DeleteConnectionResponse.java index 83505f941..c513b2d2f 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteConnectionResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteConnectionResponse.java @@ -1,21 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; import java.net.http.HttpResponse; +import java.util.Objects; + -public class DeleteConnectionResponse implements com.airbyte.api.utils.Response { +public class DeleteConnectionResponse implements Response { /** * HTTP response content type for this operation @@ -110,14 +112,14 @@ public boolean equals(java.lang.Object o) { } DeleteConnectionResponse other = (DeleteConnectionResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse); diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequest.java b/src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequest.java index 83585895b..52b9459fe 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DeleteDestinationRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } DeleteDestinationRequest other = (DeleteDestinationRequest) o; return - java.util.Objects.deepEquals(this.destinationId, other.destinationId); + Objects.deepEquals(this.destinationId, other.destinationId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationId); } diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequestBuilder.java index 2ce4e51e5..476fcb621 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class DeleteDestinationRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteDestinationResponse.java b/src/main/java/com/airbyte/api/models/operations/DeleteDestinationResponse.java index a27bacb06..0b19715dd 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteDestinationResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteDestinationResponse.java @@ -1,21 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; import java.net.http.HttpResponse; +import java.util.Objects; + -public class DeleteDestinationResponse implements com.airbyte.api.utils.Response { +public class DeleteDestinationResponse implements Response { /** * HTTP response content type for this operation @@ -110,14 +112,14 @@ public boolean equals(java.lang.Object o) { } DeleteDestinationResponse other = (DeleteDestinationResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse); diff --git a/src/main/java/com/airbyte/api/models/operations/DeletePermissionRequest.java b/src/main/java/com/airbyte/api/models/operations/DeletePermissionRequest.java index afe3d420d..907a29300 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeletePermissionRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/DeletePermissionRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DeletePermissionRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } DeletePermissionRequest other = (DeletePermissionRequest) o; return - java.util.Objects.deepEquals(this.permissionId, other.permissionId); + Objects.deepEquals(this.permissionId, other.permissionId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( permissionId); } diff --git a/src/main/java/com/airbyte/api/models/operations/DeletePermissionRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/DeletePermissionRequestBuilder.java index c3c1b1ad0..615fe8338 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeletePermissionRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/DeletePermissionRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class DeletePermissionRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/DeletePermissionResponse.java b/src/main/java/com/airbyte/api/models/operations/DeletePermissionResponse.java index 47a105830..b617630a6 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeletePermissionResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/DeletePermissionResponse.java @@ -1,21 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; import java.net.http.HttpResponse; +import java.util.Objects; + -public class DeletePermissionResponse implements com.airbyte.api.utils.Response { +public class DeletePermissionResponse implements Response { /** * HTTP response content type for this operation @@ -110,14 +112,14 @@ public boolean equals(java.lang.Object o) { } DeletePermissionResponse other = (DeletePermissionResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse); diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteSourceRequest.java b/src/main/java/com/airbyte/api/models/operations/DeleteSourceRequest.java index 275fd8397..9655f3917 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteSourceRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteSourceRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DeleteSourceRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } DeleteSourceRequest other = (DeleteSourceRequest) o; return - java.util.Objects.deepEquals(this.sourceId, other.sourceId); + Objects.deepEquals(this.sourceId, other.sourceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourceId); } diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteSourceRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/DeleteSourceRequestBuilder.java index fbcd361dd..c609ab3da 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteSourceRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteSourceRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class DeleteSourceRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteSourceResponse.java b/src/main/java/com/airbyte/api/models/operations/DeleteSourceResponse.java index 34461c7cb..91fb8b7e1 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteSourceResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteSourceResponse.java @@ -1,21 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; import java.net.http.HttpResponse; +import java.util.Objects; + -public class DeleteSourceResponse implements com.airbyte.api.utils.Response { +public class DeleteSourceResponse implements Response { /** * HTTP response content type for this operation @@ -110,14 +112,14 @@ public boolean equals(java.lang.Object o) { } DeleteSourceResponse other = (DeleteSourceResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse); diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequest.java b/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequest.java index 9617ba648..5ee6a1fe7 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DeleteWorkspaceRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } DeleteWorkspaceRequest other = (DeleteWorkspaceRequest) o; return - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( workspaceId); } diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequestBuilder.java index 1d20977fa..31ce801c4 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class DeleteWorkspaceRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceResponse.java b/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceResponse.java index aaa625885..bdba0949d 100644 --- a/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/DeleteWorkspaceResponse.java @@ -1,21 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; import java.net.http.HttpResponse; +import java.util.Objects; + -public class DeleteWorkspaceResponse implements com.airbyte.api.utils.Response { +public class DeleteWorkspaceResponse implements Response { /** * HTTP response content type for this operation @@ -110,14 +112,14 @@ public boolean equals(java.lang.Object o) { } DeleteWorkspaceResponse other = (DeleteWorkspaceResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse); diff --git a/src/main/java/com/airbyte/api/models/operations/GetConnectionRequest.java b/src/main/java/com/airbyte/api/models/operations/GetConnectionRequest.java index dfb55c808..43410b3b3 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetConnectionRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/GetConnectionRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class GetConnectionRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } GetConnectionRequest other = (GetConnectionRequest) o; return - java.util.Objects.deepEquals(this.connectionId, other.connectionId); + Objects.deepEquals(this.connectionId, other.connectionId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionId); } diff --git a/src/main/java/com/airbyte/api/models/operations/GetConnectionRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/GetConnectionRequestBuilder.java index f87148fbd..84fe9514a 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetConnectionRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/GetConnectionRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class GetConnectionRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/GetConnectionResponse.java b/src/main/java/com/airbyte/api/models/operations/GetConnectionResponse.java index 1702df430..6a1cf244d 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetConnectionResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/GetConnectionResponse.java @@ -1,27 +1,31 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.ConnectionResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class GetConnectionResponse implements com.airbyte.api.utils.Response { + +public class GetConnectionResponse implements Response { /** * Get a Connection by the id in the path. */ - private Optional connectionResponse; + private Optional connectionResponse; /** * HTTP response content type for this operation @@ -40,7 +44,7 @@ public class GetConnectionResponse implements com.airbyte.api.utils.Response { @JsonCreator public GetConnectionResponse( - Optional connectionResponse, + Optional connectionResponse, String contentType, int statusCode, HttpResponse rawResponse) { @@ -66,8 +70,8 @@ public GetConnectionResponse( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional connectionResponse() { - return (Optional) connectionResponse; + public Optional connectionResponse() { + return (Optional) connectionResponse; } /** @@ -101,7 +105,7 @@ public final static Builder builder() { /** * Get a Connection by the id in the path. */ - public GetConnectionResponse withConnectionResponse(com.airbyte.api.models.shared.ConnectionResponse connectionResponse) { + public GetConnectionResponse withConnectionResponse(ConnectionResponse connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = Optional.ofNullable(connectionResponse); return this; @@ -110,7 +114,7 @@ public GetConnectionResponse withConnectionResponse(com.airbyte.api.models.share /** * Get a Connection by the id in the path. */ - public GetConnectionResponse withConnectionResponse(Optional connectionResponse) { + public GetConnectionResponse withConnectionResponse(Optional connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = connectionResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } GetConnectionResponse other = (GetConnectionResponse) o; return - java.util.Objects.deepEquals(this.connectionResponse, other.connectionResponse) && - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.connectionResponse, other.connectionResponse) && + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionResponse, contentType, statusCode, @@ -179,7 +183,7 @@ public String toString() { public final static class Builder { - private Optional connectionResponse = Optional.empty(); + private Optional connectionResponse = Optional.empty(); private String contentType; @@ -194,7 +198,7 @@ private Builder() { /** * Get a Connection by the id in the path. */ - public Builder connectionResponse(com.airbyte.api.models.shared.ConnectionResponse connectionResponse) { + public Builder connectionResponse(ConnectionResponse connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = Optional.ofNullable(connectionResponse); return this; @@ -203,7 +207,7 @@ public Builder connectionResponse(com.airbyte.api.models.shared.ConnectionRespon /** * Get a Connection by the id in the path. */ - public Builder connectionResponse(Optional connectionResponse) { + public Builder connectionResponse(Optional connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = connectionResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/GetDestinationRequest.java b/src/main/java/com/airbyte/api/models/operations/GetDestinationRequest.java index 542e01765..4cbec77b4 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetDestinationRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/GetDestinationRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class GetDestinationRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } GetDestinationRequest other = (GetDestinationRequest) o; return - java.util.Objects.deepEquals(this.destinationId, other.destinationId); + Objects.deepEquals(this.destinationId, other.destinationId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationId); } diff --git a/src/main/java/com/airbyte/api/models/operations/GetDestinationRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/GetDestinationRequestBuilder.java index bdffa45d7..5c094eb3c 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetDestinationRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/GetDestinationRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class GetDestinationRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/GetDestinationResponse.java b/src/main/java/com/airbyte/api/models/operations/GetDestinationResponse.java index 32da3b616..13fb58f30 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetDestinationResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/GetDestinationResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.DestinationResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class GetDestinationResponse implements com.airbyte.api.utils.Response { + +public class GetDestinationResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class GetDestinationResponse implements com.airbyte.api.utils.Response { /** * Get a Destination by the id in the path. */ - private Optional destinationResponse; + private Optional destinationResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class GetDestinationResponse implements com.airbyte.api.utils.Response { @JsonCreator public GetDestinationResponse( String contentType, - Optional destinationResponse, + Optional destinationResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional destinationResponse() { - return (Optional) destinationResponse; + public Optional destinationResponse() { + return (Optional) destinationResponse; } /** @@ -110,7 +114,7 @@ public GetDestinationResponse withContentType(String contentType) { /** * Get a Destination by the id in the path. */ - public GetDestinationResponse withDestinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + public GetDestinationResponse withDestinationResponse(DestinationResponse destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = Optional.ofNullable(destinationResponse); return this; @@ -119,7 +123,7 @@ public GetDestinationResponse withDestinationResponse(com.airbyte.api.models.sha /** * Get a Destination by the id in the path. */ - public GetDestinationResponse withDestinationResponse(Optional destinationResponse) { + public GetDestinationResponse withDestinationResponse(Optional destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = destinationResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } GetDestinationResponse other = (GetDestinationResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.destinationResponse, other.destinationResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.destinationResponse, other.destinationResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, destinationResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional destinationResponse = Optional.empty(); + private Optional destinationResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Get a Destination by the id in the path. */ - public Builder destinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + public Builder destinationResponse(DestinationResponse destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = Optional.ofNullable(destinationResponse); return this; @@ -212,7 +216,7 @@ public Builder destinationResponse(com.airbyte.api.models.shared.DestinationResp /** * Get a Destination by the id in the path. */ - public Builder destinationResponse(Optional destinationResponse) { + public Builder destinationResponse(Optional destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = destinationResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/GetHealthCheckRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/GetHealthCheckRequestBuilder.java index 58c273378..fda340648 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetHealthCheckRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/GetHealthCheckRequestBuilder.java @@ -1,21 +1,9 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class GetHealthCheckRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java b/src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java index e0972b590..3b5c3398f 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/GetHealthCheckResponse.java @@ -1,21 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; import java.net.http.HttpResponse; +import java.util.Objects; + -public class GetHealthCheckResponse implements com.airbyte.api.utils.Response { +public class GetHealthCheckResponse implements Response { /** * HTTP response content type for this operation @@ -110,14 +112,14 @@ public boolean equals(java.lang.Object o) { } GetHealthCheckResponse other = (GetHealthCheckResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse); diff --git a/src/main/java/com/airbyte/api/models/operations/GetJobRequest.java b/src/main/java/com/airbyte/api/models/operations/GetJobRequest.java index 2c529b880..2c8eda2d6 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetJobRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/GetJobRequest.java @@ -1,19 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class GetJobRequest { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } GetJobRequest other = (GetJobRequest) o; return - java.util.Objects.deepEquals(this.jobId, other.jobId); + Objects.deepEquals(this.jobId, other.jobId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( jobId); } diff --git a/src/main/java/com/airbyte/api/models/operations/GetJobRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/GetJobRequestBuilder.java index e7f53caae..70a240148 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetJobRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/GetJobRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class GetJobRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/GetJobResponse.java b/src/main/java/com/airbyte/api/models/operations/GetJobResponse.java index dceb3ee38..564dc9296 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetJobResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/GetJobResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.JobResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class GetJobResponse implements com.airbyte.api.utils.Response { + +public class GetJobResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class GetJobResponse implements com.airbyte.api.utils.Response { /** * Get a Job by the id in the path. */ - private Optional jobResponse; + private Optional jobResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class GetJobResponse implements com.airbyte.api.utils.Response { @JsonCreator public GetJobResponse( String contentType, - Optional jobResponse, + Optional jobResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional jobResponse() { - return (Optional) jobResponse; + public Optional jobResponse() { + return (Optional) jobResponse; } /** @@ -110,7 +114,7 @@ public GetJobResponse withContentType(String contentType) { /** * Get a Job by the id in the path. */ - public GetJobResponse withJobResponse(com.airbyte.api.models.shared.JobResponse jobResponse) { + public GetJobResponse withJobResponse(JobResponse jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = Optional.ofNullable(jobResponse); return this; @@ -119,7 +123,7 @@ public GetJobResponse withJobResponse(com.airbyte.api.models.shared.JobResponse /** * Get a Job by the id in the path. */ - public GetJobResponse withJobResponse(Optional jobResponse) { + public GetJobResponse withJobResponse(Optional jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = jobResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } GetJobResponse other = (GetJobResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.jobResponse, other.jobResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.jobResponse, other.jobResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, jobResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional jobResponse = Optional.empty(); + private Optional jobResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Get a Job by the id in the path. */ - public Builder jobResponse(com.airbyte.api.models.shared.JobResponse jobResponse) { + public Builder jobResponse(JobResponse jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = Optional.ofNullable(jobResponse); return this; @@ -212,7 +216,7 @@ public Builder jobResponse(com.airbyte.api.models.shared.JobResponse jobResponse /** * Get a Job by the id in the path. */ - public Builder jobResponse(Optional jobResponse) { + public Builder jobResponse(Optional jobResponse) { Utils.checkNotNull(jobResponse, "jobResponse"); this.jobResponse = jobResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/GetPermissionRequest.java b/src/main/java/com/airbyte/api/models/operations/GetPermissionRequest.java index 0fed79b66..80129da49 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetPermissionRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/GetPermissionRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class GetPermissionRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } GetPermissionRequest other = (GetPermissionRequest) o; return - java.util.Objects.deepEquals(this.permissionId, other.permissionId); + Objects.deepEquals(this.permissionId, other.permissionId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( permissionId); } diff --git a/src/main/java/com/airbyte/api/models/operations/GetPermissionRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/GetPermissionRequestBuilder.java index 0c64acc3f..53ba3fe48 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetPermissionRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/GetPermissionRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class GetPermissionRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/GetPermissionResponse.java b/src/main/java/com/airbyte/api/models/operations/GetPermissionResponse.java index 72fab316e..8e54d6db0 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetPermissionResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/GetPermissionResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.PermissionResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class GetPermissionResponse implements com.airbyte.api.utils.Response { + +public class GetPermissionResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class GetPermissionResponse implements com.airbyte.api.utils.Response { /** * Get a Permission by the id in the path. */ - private Optional permissionResponse; + private Optional permissionResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class GetPermissionResponse implements com.airbyte.api.utils.Response { @JsonCreator public GetPermissionResponse( String contentType, - Optional permissionResponse, + Optional permissionResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional permissionResponse() { - return (Optional) permissionResponse; + public Optional permissionResponse() { + return (Optional) permissionResponse; } /** @@ -110,7 +114,7 @@ public GetPermissionResponse withContentType(String contentType) { /** * Get a Permission by the id in the path. */ - public GetPermissionResponse withPermissionResponse(com.airbyte.api.models.shared.PermissionResponse permissionResponse) { + public GetPermissionResponse withPermissionResponse(PermissionResponse permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = Optional.ofNullable(permissionResponse); return this; @@ -119,7 +123,7 @@ public GetPermissionResponse withPermissionResponse(com.airbyte.api.models.share /** * Get a Permission by the id in the path. */ - public GetPermissionResponse withPermissionResponse(Optional permissionResponse) { + public GetPermissionResponse withPermissionResponse(Optional permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = permissionResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } GetPermissionResponse other = (GetPermissionResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.permissionResponse, other.permissionResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.permissionResponse, other.permissionResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, permissionResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional permissionResponse = Optional.empty(); + private Optional permissionResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Get a Permission by the id in the path. */ - public Builder permissionResponse(com.airbyte.api.models.shared.PermissionResponse permissionResponse) { + public Builder permissionResponse(PermissionResponse permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = Optional.ofNullable(permissionResponse); return this; @@ -212,7 +216,7 @@ public Builder permissionResponse(com.airbyte.api.models.shared.PermissionRespon /** * Get a Permission by the id in the path. */ - public Builder permissionResponse(Optional permissionResponse) { + public Builder permissionResponse(Optional permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = permissionResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/GetSourceRequest.java b/src/main/java/com/airbyte/api/models/operations/GetSourceRequest.java index 1b5bf27e8..3e901b859 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetSourceRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/GetSourceRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class GetSourceRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } GetSourceRequest other = (GetSourceRequest) o; return - java.util.Objects.deepEquals(this.sourceId, other.sourceId); + Objects.deepEquals(this.sourceId, other.sourceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourceId); } diff --git a/src/main/java/com/airbyte/api/models/operations/GetSourceRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/GetSourceRequestBuilder.java index efe6843e3..0e5bb524c 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetSourceRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/GetSourceRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class GetSourceRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/GetSourceResponse.java b/src/main/java/com/airbyte/api/models/operations/GetSourceResponse.java index 917e54639..c0c41e3c4 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetSourceResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/GetSourceResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.SourceResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class GetSourceResponse implements com.airbyte.api.utils.Response { + +public class GetSourceResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class GetSourceResponse implements com.airbyte.api.utils.Response { /** * Get a Source by the id in the path. */ - private Optional sourceResponse; + private Optional sourceResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class GetSourceResponse implements com.airbyte.api.utils.Response { @JsonCreator public GetSourceResponse( String contentType, - Optional sourceResponse, + Optional sourceResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional sourceResponse() { - return (Optional) sourceResponse; + public Optional sourceResponse() { + return (Optional) sourceResponse; } /** @@ -110,7 +114,7 @@ public GetSourceResponse withContentType(String contentType) { /** * Get a Source by the id in the path. */ - public GetSourceResponse withSourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + public GetSourceResponse withSourceResponse(SourceResponse sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = Optional.ofNullable(sourceResponse); return this; @@ -119,7 +123,7 @@ public GetSourceResponse withSourceResponse(com.airbyte.api.models.shared.Source /** * Get a Source by the id in the path. */ - public GetSourceResponse withSourceResponse(Optional sourceResponse) { + public GetSourceResponse withSourceResponse(Optional sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = sourceResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } GetSourceResponse other = (GetSourceResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.sourceResponse, other.sourceResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.sourceResponse, other.sourceResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, sourceResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional sourceResponse = Optional.empty(); + private Optional sourceResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Get a Source by the id in the path. */ - public Builder sourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + public Builder sourceResponse(SourceResponse sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = Optional.ofNullable(sourceResponse); return this; @@ -212,7 +216,7 @@ public Builder sourceResponse(com.airbyte.api.models.shared.SourceResponse sourc /** * Get a Source by the id in the path. */ - public Builder sourceResponse(Optional sourceResponse) { + public Builder sourceResponse(Optional sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = sourceResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequest.java b/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequest.java index 61a244fe3..f45ee5fe5 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequest.java @@ -1,35 +1,36 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class GetStreamPropertiesRequest { /** * ID of the destination */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=destinationId") - private Optional destinationId; + private Optional destinationId; /** * If true pull the latest schema from the source, else pull from cache (default false) */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=ignoreCache") - private Optional ignoreCache; + private Optional ignoreCache; /** * ID of the source @@ -39,8 +40,8 @@ public class GetStreamPropertiesRequest { @JsonCreator public GetStreamPropertiesRequest( - Optional destinationId, - Optional ignoreCache, + Optional destinationId, + Optional ignoreCache, String sourceId) { Utils.checkNotNull(destinationId, "destinationId"); Utils.checkNotNull(ignoreCache, "ignoreCache"); @@ -58,19 +59,17 @@ public GetStreamPropertiesRequest( /** * ID of the destination */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional destinationId() { - return (Optional) destinationId; + return destinationId; } /** * If true pull the latest schema from the source, else pull from cache (default false) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreCache() { - return (Optional) ignoreCache; + return ignoreCache; } /** @@ -97,7 +96,7 @@ public GetStreamPropertiesRequest withDestinationId(String destinationId) { /** * ID of the destination */ - public GetStreamPropertiesRequest withDestinationId(Optional destinationId) { + public GetStreamPropertiesRequest withDestinationId(Optional destinationId) { Utils.checkNotNull(destinationId, "destinationId"); this.destinationId = destinationId; return this; @@ -115,7 +114,7 @@ public GetStreamPropertiesRequest withIgnoreCache(boolean ignoreCache) { /** * If true pull the latest schema from the source, else pull from cache (default false) */ - public GetStreamPropertiesRequest withIgnoreCache(Optional ignoreCache) { + public GetStreamPropertiesRequest withIgnoreCache(Optional ignoreCache) { Utils.checkNotNull(ignoreCache, "ignoreCache"); this.ignoreCache = ignoreCache; return this; @@ -140,14 +139,14 @@ public boolean equals(java.lang.Object o) { } GetStreamPropertiesRequest other = (GetStreamPropertiesRequest) o; return - java.util.Objects.deepEquals(this.destinationId, other.destinationId) && - java.util.Objects.deepEquals(this.ignoreCache, other.ignoreCache) && - java.util.Objects.deepEquals(this.sourceId, other.sourceId); + Objects.deepEquals(this.destinationId, other.destinationId) && + Objects.deepEquals(this.ignoreCache, other.ignoreCache) && + Objects.deepEquals(this.sourceId, other.sourceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationId, ignoreCache, sourceId); @@ -163,9 +162,9 @@ public String toString() { public final static class Builder { - private Optional destinationId = Optional.empty(); + private Optional destinationId = Optional.empty(); - private Optional ignoreCache; + private Optional ignoreCache; private String sourceId; @@ -185,7 +184,7 @@ public Builder destinationId(String destinationId) { /** * ID of the destination */ - public Builder destinationId(Optional destinationId) { + public Builder destinationId(Optional destinationId) { Utils.checkNotNull(destinationId, "destinationId"); this.destinationId = destinationId; return this; @@ -203,7 +202,7 @@ public Builder ignoreCache(boolean ignoreCache) { /** * If true pull the latest schema from the source, else pull from cache (default false) */ - public Builder ignoreCache(Optional ignoreCache) { + public Builder ignoreCache(Optional ignoreCache) { Utils.checkNotNull(ignoreCache, "ignoreCache"); this.ignoreCache = ignoreCache; return this; @@ -221,18 +220,17 @@ public Builder sourceId(String sourceId) { public GetStreamPropertiesRequest build() { if (ignoreCache == null) { ignoreCache = _SINGLETON_VALUE_IgnoreCache.value(); - } - return new GetStreamPropertiesRequest( + } return new GetStreamPropertiesRequest( destinationId, ignoreCache, sourceId); } - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreCache = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreCache = new LazySingletonValue<>( "ignoreCache", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequestBuilder.java index cfe985d7b..40b12eb70 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class GetStreamPropertiesRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java b/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java index 673037b16..f3538aa1b 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java @@ -1,22 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.StreamProperties; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.List; +import java.util.Objects; import java.util.Optional; -public class GetStreamPropertiesResponse implements com.airbyte.api.utils.Response { + +public class GetStreamPropertiesResponse implements Response { /** * HTTP response content type for this operation @@ -36,14 +41,14 @@ public class GetStreamPropertiesResponse implements com.airbyte.api.utils.Respon /** * Get the available streams properties for a source/destination pair. */ - private Optional> streamPropertiesResponse; + private Optional> streamPropertiesResponse; @JsonCreator public GetStreamPropertiesResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional> streamPropertiesResponse) { + Optional> streamPropertiesResponse) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); @@ -90,8 +95,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> streamPropertiesResponse() { - return (Optional>) streamPropertiesResponse; + public Optional> streamPropertiesResponse() { + return (Optional>) streamPropertiesResponse; } public final static Builder builder() { @@ -128,7 +133,7 @@ public GetStreamPropertiesResponse withRawResponse(HttpResponse raw /** * Get the available streams properties for a source/destination pair. */ - public GetStreamPropertiesResponse withStreamPropertiesResponse(java.util.List streamPropertiesResponse) { + public GetStreamPropertiesResponse withStreamPropertiesResponse(List streamPropertiesResponse) { Utils.checkNotNull(streamPropertiesResponse, "streamPropertiesResponse"); this.streamPropertiesResponse = Optional.ofNullable(streamPropertiesResponse); return this; @@ -137,7 +142,7 @@ public GetStreamPropertiesResponse withStreamPropertiesResponse(java.util.List> streamPropertiesResponse) { + public GetStreamPropertiesResponse withStreamPropertiesResponse(Optional> streamPropertiesResponse) { Utils.checkNotNull(streamPropertiesResponse, "streamPropertiesResponse"); this.streamPropertiesResponse = streamPropertiesResponse; return this; @@ -153,15 +158,15 @@ public boolean equals(java.lang.Object o) { } GetStreamPropertiesResponse other = (GetStreamPropertiesResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse) && - java.util.Objects.deepEquals(this.streamPropertiesResponse, other.streamPropertiesResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse) && + Objects.deepEquals(this.streamPropertiesResponse, other.streamPropertiesResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse, @@ -185,7 +190,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional> streamPropertiesResponse = Optional.empty(); + private Optional> streamPropertiesResponse = Optional.empty(); private Builder() { // force use of static builder() method @@ -221,7 +226,7 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Get the available streams properties for a source/destination pair. */ - public Builder streamPropertiesResponse(java.util.List streamPropertiesResponse) { + public Builder streamPropertiesResponse(List streamPropertiesResponse) { Utils.checkNotNull(streamPropertiesResponse, "streamPropertiesResponse"); this.streamPropertiesResponse = Optional.ofNullable(streamPropertiesResponse); return this; @@ -230,7 +235,7 @@ public Builder streamPropertiesResponse(java.util.List> streamPropertiesResponse) { + public Builder streamPropertiesResponse(Optional> streamPropertiesResponse) { Utils.checkNotNull(streamPropertiesResponse, "streamPropertiesResponse"); this.streamPropertiesResponse = streamPropertiesResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequest.java b/src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequest.java index 8e2653281..159f3c816 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class GetWorkspaceRequest { @@ -52,12 +51,12 @@ public boolean equals(java.lang.Object o) { } GetWorkspaceRequest other = (GetWorkspaceRequest) o; return - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( workspaceId); } diff --git a/src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequestBuilder.java index 483c0ec3f..6311fe99d 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/GetWorkspaceRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class GetWorkspaceRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/GetWorkspaceResponse.java b/src/main/java/com/airbyte/api/models/operations/GetWorkspaceResponse.java index 9175b161c..ebdae09b3 100644 --- a/src/main/java/com/airbyte/api/models/operations/GetWorkspaceResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/GetWorkspaceResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.WorkspaceResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class GetWorkspaceResponse implements com.airbyte.api.utils.Response { + +public class GetWorkspaceResponse implements Response { /** * HTTP response content type for this operation @@ -36,14 +40,14 @@ public class GetWorkspaceResponse implements com.airbyte.api.utils.Response { /** * Get a Workspace by the id in the path. */ - private Optional workspaceResponse; + private Optional workspaceResponse; @JsonCreator public GetWorkspaceResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional workspaceResponse) { + Optional workspaceResponse) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); @@ -90,8 +94,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional workspaceResponse() { - return (Optional) workspaceResponse; + public Optional workspaceResponse() { + return (Optional) workspaceResponse; } public final static Builder builder() { @@ -128,7 +132,7 @@ public GetWorkspaceResponse withRawResponse(HttpResponse rawRespons /** * Get a Workspace by the id in the path. */ - public GetWorkspaceResponse withWorkspaceResponse(com.airbyte.api.models.shared.WorkspaceResponse workspaceResponse) { + public GetWorkspaceResponse withWorkspaceResponse(WorkspaceResponse workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = Optional.ofNullable(workspaceResponse); return this; @@ -137,7 +141,7 @@ public GetWorkspaceResponse withWorkspaceResponse(com.airbyte.api.models.shared. /** * Get a Workspace by the id in the path. */ - public GetWorkspaceResponse withWorkspaceResponse(Optional workspaceResponse) { + public GetWorkspaceResponse withWorkspaceResponse(Optional workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = workspaceResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } GetWorkspaceResponse other = (GetWorkspaceResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse) && - java.util.Objects.deepEquals(this.workspaceResponse, other.workspaceResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse) && + Objects.deepEquals(this.workspaceResponse, other.workspaceResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse, @@ -185,7 +189,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional workspaceResponse = Optional.empty(); + private Optional workspaceResponse = Optional.empty(); private Builder() { // force use of static builder() method @@ -221,7 +225,7 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Get a Workspace by the id in the path. */ - public Builder workspaceResponse(com.airbyte.api.models.shared.WorkspaceResponse workspaceResponse) { + public Builder workspaceResponse(WorkspaceResponse workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = Optional.ofNullable(workspaceResponse); return this; @@ -230,7 +234,7 @@ public Builder workspaceResponse(com.airbyte.api.models.shared.WorkspaceResponse /** * Get a Workspace by the id in the path. */ - public Builder workspaceResponse(Optional workspaceResponse) { + public Builder workspaceResponse(Optional workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = workspaceResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/InitiateOAuthRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/InitiateOAuthRequestBuilder.java index bea8b5622..2beca79da 100644 --- a/src/main/java/com/airbyte/api/models/operations/InitiateOAuthRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/InitiateOAuthRequestBuilder.java @@ -1,32 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.models.shared.InitiateOauthRequest; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class InitiateOAuthRequestBuilder { - private com.airbyte.api.models.shared.InitiateOauthRequest request; + private InitiateOauthRequest request; private final SDKMethodInterfaces.MethodCallInitiateOAuth sdk; public InitiateOAuthRequestBuilder(SDKMethodInterfaces.MethodCallInitiateOAuth sdk) { this.sdk = sdk; } - public InitiateOAuthRequestBuilder request(com.airbyte.api.models.shared.InitiateOauthRequest request) { + public InitiateOAuthRequestBuilder request(InitiateOauthRequest request) { Utils.checkNotNull(request, "request"); this.request = request; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java b/src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java index f3ae81de2..4151feaac 100644 --- a/src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java @@ -1,21 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; import java.net.http.HttpResponse; +import java.util.Objects; + -public class InitiateOAuthResponse implements com.airbyte.api.utils.Response { +public class InitiateOAuthResponse implements Response { /** * HTTP response content type for this operation @@ -110,14 +112,14 @@ public boolean equals(java.lang.Object o) { } InitiateOAuthResponse other = (InitiateOAuthResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse); diff --git a/src/main/java/com/airbyte/api/models/operations/ListConnectionsRequest.java b/src/main/java/com/airbyte/api/models/operations/ListConnectionsRequest.java index e1a6726b0..db7ce8e96 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListConnectionsRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/ListConnectionsRequest.java @@ -1,54 +1,58 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class ListConnectionsRequest { /** * Include deleted connections in the returned results. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeDeleted") - private Optional includeDeleted; + private Optional includeDeleted; /** * Set the limit on the number of Connections returned. The default is 20. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit") - private Optional limit; + private Optional limit; /** * Set the offset to start at when returning Connections. The default is 0 */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=offset") - private Optional offset; + private Optional offset; /** * The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=workspaceIds") - private Optional> workspaceIds; + private Optional> workspaceIds; @JsonCreator public ListConnectionsRequest( - Optional includeDeleted, - Optional limit, - Optional offset, - Optional> workspaceIds) { + Optional includeDeleted, + Optional limit, + Optional offset, + Optional> workspaceIds) { Utils.checkNotNull(includeDeleted, "includeDeleted"); Utils.checkNotNull(limit, "limit"); Utils.checkNotNull(offset, "offset"); @@ -66,28 +70,25 @@ public ListConnectionsRequest() { /** * Include deleted connections in the returned results. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeDeleted() { - return (Optional) includeDeleted; + return includeDeleted; } /** * Set the limit on the number of Connections returned. The default is 20. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional limit() { - return (Optional) limit; + return limit; } /** * Set the offset to start at when returning Connections. The default is 0 */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional offset() { - return (Optional) offset; + return offset; } /** @@ -95,8 +96,8 @@ public Optional offset() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> workspaceIds() { - return (Optional>) workspaceIds; + public Optional> workspaceIds() { + return (Optional>) workspaceIds; } public final static Builder builder() { @@ -115,7 +116,7 @@ public ListConnectionsRequest withIncludeDeleted(boolean includeDeleted) { /** * Include deleted connections in the returned results. */ - public ListConnectionsRequest withIncludeDeleted(Optional includeDeleted) { + public ListConnectionsRequest withIncludeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -133,7 +134,7 @@ public ListConnectionsRequest withLimit(int limit) { /** * Set the limit on the number of Connections returned. The default is 20. */ - public ListConnectionsRequest withLimit(Optional limit) { + public ListConnectionsRequest withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -151,7 +152,7 @@ public ListConnectionsRequest withOffset(int offset) { /** * Set the offset to start at when returning Connections. The default is 0 */ - public ListConnectionsRequest withOffset(Optional offset) { + public ListConnectionsRequest withOffset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -160,7 +161,7 @@ public ListConnectionsRequest withOffset(Optional offset) { /** * The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces. */ - public ListConnectionsRequest withWorkspaceIds(java.util.List workspaceIds) { + public ListConnectionsRequest withWorkspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -169,7 +170,7 @@ public ListConnectionsRequest withWorkspaceIds(java.util.List workspaceI /** * The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces. */ - public ListConnectionsRequest withWorkspaceIds(Optional> workspaceIds) { + public ListConnectionsRequest withWorkspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -185,15 +186,15 @@ public boolean equals(java.lang.Object o) { } ListConnectionsRequest other = (ListConnectionsRequest) o; return - java.util.Objects.deepEquals(this.includeDeleted, other.includeDeleted) && - java.util.Objects.deepEquals(this.limit, other.limit) && - java.util.Objects.deepEquals(this.offset, other.offset) && - java.util.Objects.deepEquals(this.workspaceIds, other.workspaceIds); + Objects.deepEquals(this.includeDeleted, other.includeDeleted) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.offset, other.offset) && + Objects.deepEquals(this.workspaceIds, other.workspaceIds); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( includeDeleted, limit, offset, @@ -211,13 +212,13 @@ public String toString() { public final static class Builder { - private Optional includeDeleted; + private Optional includeDeleted; - private Optional limit; + private Optional limit; - private Optional offset; + private Optional offset; - private Optional> workspaceIds = Optional.empty(); + private Optional> workspaceIds = Optional.empty(); private Builder() { // force use of static builder() method @@ -235,7 +236,7 @@ public Builder includeDeleted(boolean includeDeleted) { /** * Include deleted connections in the returned results. */ - public Builder includeDeleted(Optional includeDeleted) { + public Builder includeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -253,7 +254,7 @@ public Builder limit(int limit) { /** * Set the limit on the number of Connections returned. The default is 20. */ - public Builder limit(Optional limit) { + public Builder limit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -271,7 +272,7 @@ public Builder offset(int offset) { /** * Set the offset to start at when returning Connections. The default is 0 */ - public Builder offset(Optional offset) { + public Builder offset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -280,7 +281,7 @@ public Builder offset(Optional offset) { /** * The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(java.util.List workspaceIds) { + public Builder workspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -289,7 +290,7 @@ public Builder workspaceIds(java.util.List workspaceIds) { /** * The UUIDs of the workspaces you wish to list connections for. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(Optional> workspaceIds) { + public Builder workspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -304,31 +305,30 @@ public ListConnectionsRequest build() { } if (offset == null) { offset = _SINGLETON_VALUE_Offset.value(); - } - return new ListConnectionsRequest( + } return new ListConnectionsRequest( includeDeleted, limit, offset, workspaceIds); } - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = new LazySingletonValue<>( "includeDeleted", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = new LazySingletonValue<>( "limit", "20", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Offset = + private static final LazySingletonValue> _SINGLETON_VALUE_Offset = new LazySingletonValue<>( "offset", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/operations/ListConnectionsRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/ListConnectionsRequestBuilder.java index 09ace3f69..e233822ec 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListConnectionsRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/ListConnectionsRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class ListConnectionsRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/ListConnectionsResponse.java b/src/main/java/com/airbyte/api/models/operations/ListConnectionsResponse.java index 6adfbe71c..dba552536 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListConnectionsResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/ListConnectionsResponse.java @@ -1,27 +1,31 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.ConnectionsResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class ListConnectionsResponse implements com.airbyte.api.utils.Response { + +public class ListConnectionsResponse implements Response { /** * Successful operation */ - private Optional connectionsResponse; + private Optional connectionsResponse; /** * HTTP response content type for this operation @@ -40,7 +44,7 @@ public class ListConnectionsResponse implements com.airbyte.api.utils.Response { @JsonCreator public ListConnectionsResponse( - Optional connectionsResponse, + Optional connectionsResponse, String contentType, int statusCode, HttpResponse rawResponse) { @@ -66,8 +70,8 @@ public ListConnectionsResponse( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional connectionsResponse() { - return (Optional) connectionsResponse; + public Optional connectionsResponse() { + return (Optional) connectionsResponse; } /** @@ -101,7 +105,7 @@ public final static Builder builder() { /** * Successful operation */ - public ListConnectionsResponse withConnectionsResponse(com.airbyte.api.models.shared.ConnectionsResponse connectionsResponse) { + public ListConnectionsResponse withConnectionsResponse(ConnectionsResponse connectionsResponse) { Utils.checkNotNull(connectionsResponse, "connectionsResponse"); this.connectionsResponse = Optional.ofNullable(connectionsResponse); return this; @@ -110,7 +114,7 @@ public ListConnectionsResponse withConnectionsResponse(com.airbyte.api.models.sh /** * Successful operation */ - public ListConnectionsResponse withConnectionsResponse(Optional connectionsResponse) { + public ListConnectionsResponse withConnectionsResponse(Optional connectionsResponse) { Utils.checkNotNull(connectionsResponse, "connectionsResponse"); this.connectionsResponse = connectionsResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } ListConnectionsResponse other = (ListConnectionsResponse) o; return - java.util.Objects.deepEquals(this.connectionsResponse, other.connectionsResponse) && - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.connectionsResponse, other.connectionsResponse) && + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionsResponse, contentType, statusCode, @@ -179,7 +183,7 @@ public String toString() { public final static class Builder { - private Optional connectionsResponse = Optional.empty(); + private Optional connectionsResponse = Optional.empty(); private String contentType; @@ -194,7 +198,7 @@ private Builder() { /** * Successful operation */ - public Builder connectionsResponse(com.airbyte.api.models.shared.ConnectionsResponse connectionsResponse) { + public Builder connectionsResponse(ConnectionsResponse connectionsResponse) { Utils.checkNotNull(connectionsResponse, "connectionsResponse"); this.connectionsResponse = Optional.ofNullable(connectionsResponse); return this; @@ -203,7 +207,7 @@ public Builder connectionsResponse(com.airbyte.api.models.shared.ConnectionsResp /** * Successful operation */ - public Builder connectionsResponse(Optional connectionsResponse) { + public Builder connectionsResponse(Optional connectionsResponse) { Utils.checkNotNull(connectionsResponse, "connectionsResponse"); this.connectionsResponse = connectionsResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/ListDestinationsRequest.java b/src/main/java/com/airbyte/api/models/operations/ListDestinationsRequest.java index 34ebeed60..6f1446c4f 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListDestinationsRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/ListDestinationsRequest.java @@ -1,54 +1,58 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class ListDestinationsRequest { /** * Include deleted destinations in the returned results. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeDeleted") - private Optional includeDeleted; + private Optional includeDeleted; /** * Set the limit on the number of destinations returned. The default is 20. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit") - private Optional limit; + private Optional limit; /** * Set the offset to start at when returning destinations. The default is 0 */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=offset") - private Optional offset; + private Optional offset; /** * The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=workspaceIds") - private Optional> workspaceIds; + private Optional> workspaceIds; @JsonCreator public ListDestinationsRequest( - Optional includeDeleted, - Optional limit, - Optional offset, - Optional> workspaceIds) { + Optional includeDeleted, + Optional limit, + Optional offset, + Optional> workspaceIds) { Utils.checkNotNull(includeDeleted, "includeDeleted"); Utils.checkNotNull(limit, "limit"); Utils.checkNotNull(offset, "offset"); @@ -66,28 +70,25 @@ public ListDestinationsRequest() { /** * Include deleted destinations in the returned results. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeDeleted() { - return (Optional) includeDeleted; + return includeDeleted; } /** * Set the limit on the number of destinations returned. The default is 20. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional limit() { - return (Optional) limit; + return limit; } /** * Set the offset to start at when returning destinations. The default is 0 */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional offset() { - return (Optional) offset; + return offset; } /** @@ -95,8 +96,8 @@ public Optional offset() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> workspaceIds() { - return (Optional>) workspaceIds; + public Optional> workspaceIds() { + return (Optional>) workspaceIds; } public final static Builder builder() { @@ -115,7 +116,7 @@ public ListDestinationsRequest withIncludeDeleted(boolean includeDeleted) { /** * Include deleted destinations in the returned results. */ - public ListDestinationsRequest withIncludeDeleted(Optional includeDeleted) { + public ListDestinationsRequest withIncludeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -133,7 +134,7 @@ public ListDestinationsRequest withLimit(int limit) { /** * Set the limit on the number of destinations returned. The default is 20. */ - public ListDestinationsRequest withLimit(Optional limit) { + public ListDestinationsRequest withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -151,7 +152,7 @@ public ListDestinationsRequest withOffset(int offset) { /** * Set the offset to start at when returning destinations. The default is 0 */ - public ListDestinationsRequest withOffset(Optional offset) { + public ListDestinationsRequest withOffset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -160,7 +161,7 @@ public ListDestinationsRequest withOffset(Optional offset) { /** * The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces. */ - public ListDestinationsRequest withWorkspaceIds(java.util.List workspaceIds) { + public ListDestinationsRequest withWorkspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -169,7 +170,7 @@ public ListDestinationsRequest withWorkspaceIds(java.util.List workspace /** * The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces. */ - public ListDestinationsRequest withWorkspaceIds(Optional> workspaceIds) { + public ListDestinationsRequest withWorkspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -185,15 +186,15 @@ public boolean equals(java.lang.Object o) { } ListDestinationsRequest other = (ListDestinationsRequest) o; return - java.util.Objects.deepEquals(this.includeDeleted, other.includeDeleted) && - java.util.Objects.deepEquals(this.limit, other.limit) && - java.util.Objects.deepEquals(this.offset, other.offset) && - java.util.Objects.deepEquals(this.workspaceIds, other.workspaceIds); + Objects.deepEquals(this.includeDeleted, other.includeDeleted) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.offset, other.offset) && + Objects.deepEquals(this.workspaceIds, other.workspaceIds); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( includeDeleted, limit, offset, @@ -211,13 +212,13 @@ public String toString() { public final static class Builder { - private Optional includeDeleted; + private Optional includeDeleted; - private Optional limit; + private Optional limit; - private Optional offset; + private Optional offset; - private Optional> workspaceIds = Optional.empty(); + private Optional> workspaceIds = Optional.empty(); private Builder() { // force use of static builder() method @@ -235,7 +236,7 @@ public Builder includeDeleted(boolean includeDeleted) { /** * Include deleted destinations in the returned results. */ - public Builder includeDeleted(Optional includeDeleted) { + public Builder includeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -253,7 +254,7 @@ public Builder limit(int limit) { /** * Set the limit on the number of destinations returned. The default is 20. */ - public Builder limit(Optional limit) { + public Builder limit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -271,7 +272,7 @@ public Builder offset(int offset) { /** * Set the offset to start at when returning destinations. The default is 0 */ - public Builder offset(Optional offset) { + public Builder offset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -280,7 +281,7 @@ public Builder offset(Optional offset) { /** * The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(java.util.List workspaceIds) { + public Builder workspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -289,7 +290,7 @@ public Builder workspaceIds(java.util.List workspaceIds) { /** * The UUIDs of the workspaces you wish to list destinations for. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(Optional> workspaceIds) { + public Builder workspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -304,31 +305,30 @@ public ListDestinationsRequest build() { } if (offset == null) { offset = _SINGLETON_VALUE_Offset.value(); - } - return new ListDestinationsRequest( + } return new ListDestinationsRequest( includeDeleted, limit, offset, workspaceIds); } - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = new LazySingletonValue<>( "includeDeleted", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = new LazySingletonValue<>( "limit", "20", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Offset = + private static final LazySingletonValue> _SINGLETON_VALUE_Offset = new LazySingletonValue<>( "offset", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/operations/ListDestinationsRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/ListDestinationsRequestBuilder.java index 4b3505f7c..e72ed5d9d 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListDestinationsRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/ListDestinationsRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class ListDestinationsRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/ListDestinationsResponse.java b/src/main/java/com/airbyte/api/models/operations/ListDestinationsResponse.java index dd0e9f35a..9e5fffe14 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListDestinationsResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/ListDestinationsResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.DestinationsResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class ListDestinationsResponse implements com.airbyte.api.utils.Response { + +public class ListDestinationsResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class ListDestinationsResponse implements com.airbyte.api.utils.Response /** * Successful operation */ - private Optional destinationsResponse; + private Optional destinationsResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class ListDestinationsResponse implements com.airbyte.api.utils.Response @JsonCreator public ListDestinationsResponse( String contentType, - Optional destinationsResponse, + Optional destinationsResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional destinationsResponse() { - return (Optional) destinationsResponse; + public Optional destinationsResponse() { + return (Optional) destinationsResponse; } /** @@ -110,7 +114,7 @@ public ListDestinationsResponse withContentType(String contentType) { /** * Successful operation */ - public ListDestinationsResponse withDestinationsResponse(com.airbyte.api.models.shared.DestinationsResponse destinationsResponse) { + public ListDestinationsResponse withDestinationsResponse(DestinationsResponse destinationsResponse) { Utils.checkNotNull(destinationsResponse, "destinationsResponse"); this.destinationsResponse = Optional.ofNullable(destinationsResponse); return this; @@ -119,7 +123,7 @@ public ListDestinationsResponse withDestinationsResponse(com.airbyte.api.models. /** * Successful operation */ - public ListDestinationsResponse withDestinationsResponse(Optional destinationsResponse) { + public ListDestinationsResponse withDestinationsResponse(Optional destinationsResponse) { Utils.checkNotNull(destinationsResponse, "destinationsResponse"); this.destinationsResponse = destinationsResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } ListDestinationsResponse other = (ListDestinationsResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.destinationsResponse, other.destinationsResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.destinationsResponse, other.destinationsResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, destinationsResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional destinationsResponse = Optional.empty(); + private Optional destinationsResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Successful operation */ - public Builder destinationsResponse(com.airbyte.api.models.shared.DestinationsResponse destinationsResponse) { + public Builder destinationsResponse(DestinationsResponse destinationsResponse) { Utils.checkNotNull(destinationsResponse, "destinationsResponse"); this.destinationsResponse = Optional.ofNullable(destinationsResponse); return this; @@ -212,7 +216,7 @@ public Builder destinationsResponse(com.airbyte.api.models.shared.DestinationsRe /** * Successful operation */ - public Builder destinationsResponse(Optional destinationsResponse) { + public Builder destinationsResponse(Optional destinationsResponse) { Utils.checkNotNull(destinationsResponse, "destinationsResponse"); this.destinationsResponse = destinationsResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/ListJobsRequest.java b/src/main/java/com/airbyte/api/models/operations/ListJobsRequest.java index c51e7c44a..cf706b6e2 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListJobsRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/ListJobsRequest.java @@ -1,104 +1,109 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.JobStatusEnum; +import com.airbyte.api.models.shared.JobTypeEnum; import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class ListJobsRequest { /** * Filter the Jobs by connectionId. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=connectionId") - private Optional connectionId; + private Optional connectionId; /** * The end date to filter by */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=createdAtEnd") - private Optional createdAtEnd; + private Optional createdAtEnd; /** * The start date to filter by */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=createdAtStart") - private Optional createdAtStart; + private Optional createdAtStart; /** * Filter the Jobs by jobType. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=jobType") - private Optional jobType; + private Optional jobType; /** * Set the limit on the number of Jobs returned. The default is 20 Jobs. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit") - private Optional limit; + private Optional limit; /** * Set the offset to start at when returning Jobs. The default is 0. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=offset") - private Optional offset; + private Optional offset; /** * The field and method to use for ordering */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=orderBy") - private Optional orderBy; + private Optional orderBy; /** * The Job status you want to filter by */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=status") - private Optional status; + private Optional status; /** * The end date to filter by */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=updatedAtEnd") - private Optional updatedAtEnd; + private Optional updatedAtEnd; /** * The start date to filter by */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=updatedAtStart") - private Optional updatedAtStart; + private Optional updatedAtStart; /** * The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=workspaceIds") - private Optional> workspaceIds; + private Optional> workspaceIds; @JsonCreator public ListJobsRequest( - Optional connectionId, - Optional createdAtEnd, - Optional createdAtStart, - Optional jobType, - Optional limit, - Optional offset, - Optional orderBy, - Optional status, - Optional updatedAtEnd, - Optional updatedAtStart, - Optional> workspaceIds) { + Optional connectionId, + Optional createdAtEnd, + Optional createdAtStart, + Optional jobType, + Optional limit, + Optional offset, + Optional orderBy, + Optional status, + Optional updatedAtEnd, + Optional updatedAtStart, + Optional> workspaceIds) { Utils.checkNotNull(connectionId, "connectionId"); Utils.checkNotNull(createdAtEnd, "createdAtEnd"); Utils.checkNotNull(createdAtStart, "createdAtStart"); @@ -130,28 +135,25 @@ public ListJobsRequest() { /** * Filter the Jobs by connectionId. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional connectionId() { - return (Optional) connectionId; + return connectionId; } /** * The end date to filter by */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional createdAtEnd() { - return (Optional) createdAtEnd; + return createdAtEnd; } /** * The start date to filter by */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional createdAtStart() { - return (Optional) createdAtStart; + return createdAtStart; } /** @@ -159,35 +161,32 @@ public Optional createdAtStart() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional jobType() { - return (Optional) jobType; + public Optional jobType() { + return (Optional) jobType; } /** * Set the limit on the number of Jobs returned. The default is 20 Jobs. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional limit() { - return (Optional) limit; + return limit; } /** * Set the offset to start at when returning Jobs. The default is 0. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional offset() { - return (Optional) offset; + return offset; } /** * The field and method to use for ordering */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional orderBy() { - return (Optional) orderBy; + return orderBy; } /** @@ -195,26 +194,24 @@ public Optional orderBy() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional status() { - return (Optional) status; + public Optional status() { + return (Optional) status; } /** * The end date to filter by */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional updatedAtEnd() { - return (Optional) updatedAtEnd; + return updatedAtEnd; } /** * The start date to filter by */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional updatedAtStart() { - return (Optional) updatedAtStart; + return updatedAtStart; } /** @@ -222,8 +219,8 @@ public Optional updatedAtStart() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> workspaceIds() { - return (Optional>) workspaceIds; + public Optional> workspaceIds() { + return (Optional>) workspaceIds; } public final static Builder builder() { @@ -242,7 +239,7 @@ public ListJobsRequest withConnectionId(String connectionId) { /** * Filter the Jobs by connectionId. */ - public ListJobsRequest withConnectionId(Optional connectionId) { + public ListJobsRequest withConnectionId(Optional connectionId) { Utils.checkNotNull(connectionId, "connectionId"); this.connectionId = connectionId; return this; @@ -260,7 +257,7 @@ public ListJobsRequest withCreatedAtEnd(OffsetDateTime createdAtEnd) { /** * The end date to filter by */ - public ListJobsRequest withCreatedAtEnd(Optional createdAtEnd) { + public ListJobsRequest withCreatedAtEnd(Optional createdAtEnd) { Utils.checkNotNull(createdAtEnd, "createdAtEnd"); this.createdAtEnd = createdAtEnd; return this; @@ -278,7 +275,7 @@ public ListJobsRequest withCreatedAtStart(OffsetDateTime createdAtStart) { /** * The start date to filter by */ - public ListJobsRequest withCreatedAtStart(Optional createdAtStart) { + public ListJobsRequest withCreatedAtStart(Optional createdAtStart) { Utils.checkNotNull(createdAtStart, "createdAtStart"); this.createdAtStart = createdAtStart; return this; @@ -287,7 +284,7 @@ public ListJobsRequest withCreatedAtStart(Optional cre /** * Filter the Jobs by jobType. */ - public ListJobsRequest withJobType(com.airbyte.api.models.shared.JobTypeEnum jobType) { + public ListJobsRequest withJobType(JobTypeEnum jobType) { Utils.checkNotNull(jobType, "jobType"); this.jobType = Optional.ofNullable(jobType); return this; @@ -296,7 +293,7 @@ public ListJobsRequest withJobType(com.airbyte.api.models.shared.JobTypeEnum job /** * Filter the Jobs by jobType. */ - public ListJobsRequest withJobType(Optional jobType) { + public ListJobsRequest withJobType(Optional jobType) { Utils.checkNotNull(jobType, "jobType"); this.jobType = jobType; return this; @@ -314,7 +311,7 @@ public ListJobsRequest withLimit(int limit) { /** * Set the limit on the number of Jobs returned. The default is 20 Jobs. */ - public ListJobsRequest withLimit(Optional limit) { + public ListJobsRequest withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -332,7 +329,7 @@ public ListJobsRequest withOffset(int offset) { /** * Set the offset to start at when returning Jobs. The default is 0. */ - public ListJobsRequest withOffset(Optional offset) { + public ListJobsRequest withOffset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -350,7 +347,7 @@ public ListJobsRequest withOrderBy(String orderBy) { /** * The field and method to use for ordering */ - public ListJobsRequest withOrderBy(Optional orderBy) { + public ListJobsRequest withOrderBy(Optional orderBy) { Utils.checkNotNull(orderBy, "orderBy"); this.orderBy = orderBy; return this; @@ -359,7 +356,7 @@ public ListJobsRequest withOrderBy(Optional orderBy) { /** * The Job status you want to filter by */ - public ListJobsRequest withStatus(com.airbyte.api.models.shared.JobStatusEnum status) { + public ListJobsRequest withStatus(JobStatusEnum status) { Utils.checkNotNull(status, "status"); this.status = Optional.ofNullable(status); return this; @@ -368,7 +365,7 @@ public ListJobsRequest withStatus(com.airbyte.api.models.shared.JobStatusEnum st /** * The Job status you want to filter by */ - public ListJobsRequest withStatus(Optional status) { + public ListJobsRequest withStatus(Optional status) { Utils.checkNotNull(status, "status"); this.status = status; return this; @@ -386,7 +383,7 @@ public ListJobsRequest withUpdatedAtEnd(OffsetDateTime updatedAtEnd) { /** * The end date to filter by */ - public ListJobsRequest withUpdatedAtEnd(Optional updatedAtEnd) { + public ListJobsRequest withUpdatedAtEnd(Optional updatedAtEnd) { Utils.checkNotNull(updatedAtEnd, "updatedAtEnd"); this.updatedAtEnd = updatedAtEnd; return this; @@ -404,7 +401,7 @@ public ListJobsRequest withUpdatedAtStart(OffsetDateTime updatedAtStart) { /** * The start date to filter by */ - public ListJobsRequest withUpdatedAtStart(Optional updatedAtStart) { + public ListJobsRequest withUpdatedAtStart(Optional updatedAtStart) { Utils.checkNotNull(updatedAtStart, "updatedAtStart"); this.updatedAtStart = updatedAtStart; return this; @@ -413,7 +410,7 @@ public ListJobsRequest withUpdatedAtStart(Optional upd /** * The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. */ - public ListJobsRequest withWorkspaceIds(java.util.List workspaceIds) { + public ListJobsRequest withWorkspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -422,7 +419,7 @@ public ListJobsRequest withWorkspaceIds(java.util.List workspaceIds) { /** * The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. */ - public ListJobsRequest withWorkspaceIds(Optional> workspaceIds) { + public ListJobsRequest withWorkspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -438,22 +435,22 @@ public boolean equals(java.lang.Object o) { } ListJobsRequest other = (ListJobsRequest) o; return - java.util.Objects.deepEquals(this.connectionId, other.connectionId) && - java.util.Objects.deepEquals(this.createdAtEnd, other.createdAtEnd) && - java.util.Objects.deepEquals(this.createdAtStart, other.createdAtStart) && - java.util.Objects.deepEquals(this.jobType, other.jobType) && - java.util.Objects.deepEquals(this.limit, other.limit) && - java.util.Objects.deepEquals(this.offset, other.offset) && - java.util.Objects.deepEquals(this.orderBy, other.orderBy) && - java.util.Objects.deepEquals(this.status, other.status) && - java.util.Objects.deepEquals(this.updatedAtEnd, other.updatedAtEnd) && - java.util.Objects.deepEquals(this.updatedAtStart, other.updatedAtStart) && - java.util.Objects.deepEquals(this.workspaceIds, other.workspaceIds); + Objects.deepEquals(this.connectionId, other.connectionId) && + Objects.deepEquals(this.createdAtEnd, other.createdAtEnd) && + Objects.deepEquals(this.createdAtStart, other.createdAtStart) && + Objects.deepEquals(this.jobType, other.jobType) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.offset, other.offset) && + Objects.deepEquals(this.orderBy, other.orderBy) && + Objects.deepEquals(this.status, other.status) && + Objects.deepEquals(this.updatedAtEnd, other.updatedAtEnd) && + Objects.deepEquals(this.updatedAtStart, other.updatedAtStart) && + Objects.deepEquals(this.workspaceIds, other.workspaceIds); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionId, createdAtEnd, createdAtStart, @@ -485,27 +482,27 @@ public String toString() { public final static class Builder { - private Optional connectionId = Optional.empty(); + private Optional connectionId = Optional.empty(); - private Optional createdAtEnd = Optional.empty(); + private Optional createdAtEnd = Optional.empty(); - private Optional createdAtStart = Optional.empty(); + private Optional createdAtStart = Optional.empty(); - private Optional jobType = Optional.empty(); + private Optional jobType = Optional.empty(); - private Optional limit; + private Optional limit; - private Optional offset; + private Optional offset; - private Optional orderBy = Optional.empty(); + private Optional orderBy = Optional.empty(); - private Optional status = Optional.empty(); + private Optional status = Optional.empty(); - private Optional updatedAtEnd = Optional.empty(); + private Optional updatedAtEnd = Optional.empty(); - private Optional updatedAtStart = Optional.empty(); + private Optional updatedAtStart = Optional.empty(); - private Optional> workspaceIds = Optional.empty(); + private Optional> workspaceIds = Optional.empty(); private Builder() { // force use of static builder() method @@ -523,7 +520,7 @@ public Builder connectionId(String connectionId) { /** * Filter the Jobs by connectionId. */ - public Builder connectionId(Optional connectionId) { + public Builder connectionId(Optional connectionId) { Utils.checkNotNull(connectionId, "connectionId"); this.connectionId = connectionId; return this; @@ -541,7 +538,7 @@ public Builder createdAtEnd(OffsetDateTime createdAtEnd) { /** * The end date to filter by */ - public Builder createdAtEnd(Optional createdAtEnd) { + public Builder createdAtEnd(Optional createdAtEnd) { Utils.checkNotNull(createdAtEnd, "createdAtEnd"); this.createdAtEnd = createdAtEnd; return this; @@ -559,7 +556,7 @@ public Builder createdAtStart(OffsetDateTime createdAtStart) { /** * The start date to filter by */ - public Builder createdAtStart(Optional createdAtStart) { + public Builder createdAtStart(Optional createdAtStart) { Utils.checkNotNull(createdAtStart, "createdAtStart"); this.createdAtStart = createdAtStart; return this; @@ -568,7 +565,7 @@ public Builder createdAtStart(Optional createdAtStart) /** * Filter the Jobs by jobType. */ - public Builder jobType(com.airbyte.api.models.shared.JobTypeEnum jobType) { + public Builder jobType(JobTypeEnum jobType) { Utils.checkNotNull(jobType, "jobType"); this.jobType = Optional.ofNullable(jobType); return this; @@ -577,7 +574,7 @@ public Builder jobType(com.airbyte.api.models.shared.JobTypeEnum jobType) { /** * Filter the Jobs by jobType. */ - public Builder jobType(Optional jobType) { + public Builder jobType(Optional jobType) { Utils.checkNotNull(jobType, "jobType"); this.jobType = jobType; return this; @@ -595,7 +592,7 @@ public Builder limit(int limit) { /** * Set the limit on the number of Jobs returned. The default is 20 Jobs. */ - public Builder limit(Optional limit) { + public Builder limit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -613,7 +610,7 @@ public Builder offset(int offset) { /** * Set the offset to start at when returning Jobs. The default is 0. */ - public Builder offset(Optional offset) { + public Builder offset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -631,7 +628,7 @@ public Builder orderBy(String orderBy) { /** * The field and method to use for ordering */ - public Builder orderBy(Optional orderBy) { + public Builder orderBy(Optional orderBy) { Utils.checkNotNull(orderBy, "orderBy"); this.orderBy = orderBy; return this; @@ -640,7 +637,7 @@ public Builder orderBy(Optional orderBy) { /** * The Job status you want to filter by */ - public Builder status(com.airbyte.api.models.shared.JobStatusEnum status) { + public Builder status(JobStatusEnum status) { Utils.checkNotNull(status, "status"); this.status = Optional.ofNullable(status); return this; @@ -649,7 +646,7 @@ public Builder status(com.airbyte.api.models.shared.JobStatusEnum status) { /** * The Job status you want to filter by */ - public Builder status(Optional status) { + public Builder status(Optional status) { Utils.checkNotNull(status, "status"); this.status = status; return this; @@ -667,7 +664,7 @@ public Builder updatedAtEnd(OffsetDateTime updatedAtEnd) { /** * The end date to filter by */ - public Builder updatedAtEnd(Optional updatedAtEnd) { + public Builder updatedAtEnd(Optional updatedAtEnd) { Utils.checkNotNull(updatedAtEnd, "updatedAtEnd"); this.updatedAtEnd = updatedAtEnd; return this; @@ -685,7 +682,7 @@ public Builder updatedAtStart(OffsetDateTime updatedAtStart) { /** * The start date to filter by */ - public Builder updatedAtStart(Optional updatedAtStart) { + public Builder updatedAtStart(Optional updatedAtStart) { Utils.checkNotNull(updatedAtStart, "updatedAtStart"); this.updatedAtStart = updatedAtStart; return this; @@ -694,7 +691,7 @@ public Builder updatedAtStart(Optional updatedAtStart) /** * The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(java.util.List workspaceIds) { + public Builder workspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -703,7 +700,7 @@ public Builder workspaceIds(java.util.List workspaceIds) { /** * The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(Optional> workspaceIds) { + public Builder workspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -715,8 +712,7 @@ public ListJobsRequest build() { } if (offset == null) { offset = _SINGLETON_VALUE_Offset.value(); - } - return new ListJobsRequest( + } return new ListJobsRequest( connectionId, createdAtEnd, createdAtStart, @@ -730,17 +726,17 @@ public ListJobsRequest build() { workspaceIds); } - private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = new LazySingletonValue<>( "limit", "20", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Offset = + private static final LazySingletonValue> _SINGLETON_VALUE_Offset = new LazySingletonValue<>( "offset", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/operations/ListJobsRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/ListJobsRequestBuilder.java index e5a6b7669..29666b4ac 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListJobsRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/ListJobsRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class ListJobsRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/ListJobsResponse.java b/src/main/java/com/airbyte/api/models/operations/ListJobsResponse.java index 603fcfb14..a5cbb719d 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListJobsResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/ListJobsResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.JobsResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class ListJobsResponse implements com.airbyte.api.utils.Response { + +public class ListJobsResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class ListJobsResponse implements com.airbyte.api.utils.Response { /** * List all the Jobs by connectionId. */ - private Optional jobsResponse; + private Optional jobsResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class ListJobsResponse implements com.airbyte.api.utils.Response { @JsonCreator public ListJobsResponse( String contentType, - Optional jobsResponse, + Optional jobsResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional jobsResponse() { - return (Optional) jobsResponse; + public Optional jobsResponse() { + return (Optional) jobsResponse; } /** @@ -110,7 +114,7 @@ public ListJobsResponse withContentType(String contentType) { /** * List all the Jobs by connectionId. */ - public ListJobsResponse withJobsResponse(com.airbyte.api.models.shared.JobsResponse jobsResponse) { + public ListJobsResponse withJobsResponse(JobsResponse jobsResponse) { Utils.checkNotNull(jobsResponse, "jobsResponse"); this.jobsResponse = Optional.ofNullable(jobsResponse); return this; @@ -119,7 +123,7 @@ public ListJobsResponse withJobsResponse(com.airbyte.api.models.shared.JobsRespo /** * List all the Jobs by connectionId. */ - public ListJobsResponse withJobsResponse(Optional jobsResponse) { + public ListJobsResponse withJobsResponse(Optional jobsResponse) { Utils.checkNotNull(jobsResponse, "jobsResponse"); this.jobsResponse = jobsResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } ListJobsResponse other = (ListJobsResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.jobsResponse, other.jobsResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.jobsResponse, other.jobsResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, jobsResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional jobsResponse = Optional.empty(); + private Optional jobsResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * List all the Jobs by connectionId. */ - public Builder jobsResponse(com.airbyte.api.models.shared.JobsResponse jobsResponse) { + public Builder jobsResponse(JobsResponse jobsResponse) { Utils.checkNotNull(jobsResponse, "jobsResponse"); this.jobsResponse = Optional.ofNullable(jobsResponse); return this; @@ -212,7 +216,7 @@ public Builder jobsResponse(com.airbyte.api.models.shared.JobsResponse jobsRespo /** * List all the Jobs by connectionId. */ - public Builder jobsResponse(Optional jobsResponse) { + public Builder jobsResponse(Optional jobsResponse) { Utils.checkNotNull(jobsResponse, "jobsResponse"); this.jobsResponse = jobsResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserRequestBuilder.java index ad850269d..1932c71cc 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserRequestBuilder.java @@ -1,21 +1,9 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class ListOrganizationsForUserRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserResponse.java b/src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserResponse.java index b4638a6c4..1cbec401b 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/ListOrganizationsForUserResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.OrganizationsResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class ListOrganizationsForUserResponse implements com.airbyte.api.utils.Response { + +public class ListOrganizationsForUserResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class ListOrganizationsForUserResponse implements com.airbyte.api.utils.R /** * List user's organizations. */ - private Optional organizationsResponse; + private Optional organizationsResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class ListOrganizationsForUserResponse implements com.airbyte.api.utils.R @JsonCreator public ListOrganizationsForUserResponse( String contentType, - Optional organizationsResponse, + Optional organizationsResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional organizationsResponse() { - return (Optional) organizationsResponse; + public Optional organizationsResponse() { + return (Optional) organizationsResponse; } /** @@ -110,7 +114,7 @@ public ListOrganizationsForUserResponse withContentType(String contentType) { /** * List user's organizations. */ - public ListOrganizationsForUserResponse withOrganizationsResponse(com.airbyte.api.models.shared.OrganizationsResponse organizationsResponse) { + public ListOrganizationsForUserResponse withOrganizationsResponse(OrganizationsResponse organizationsResponse) { Utils.checkNotNull(organizationsResponse, "organizationsResponse"); this.organizationsResponse = Optional.ofNullable(organizationsResponse); return this; @@ -119,7 +123,7 @@ public ListOrganizationsForUserResponse withOrganizationsResponse(com.airbyte.ap /** * List user's organizations. */ - public ListOrganizationsForUserResponse withOrganizationsResponse(Optional organizationsResponse) { + public ListOrganizationsForUserResponse withOrganizationsResponse(Optional organizationsResponse) { Utils.checkNotNull(organizationsResponse, "organizationsResponse"); this.organizationsResponse = organizationsResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } ListOrganizationsForUserResponse other = (ListOrganizationsForUserResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.organizationsResponse, other.organizationsResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.organizationsResponse, other.organizationsResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, organizationsResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional organizationsResponse = Optional.empty(); + private Optional organizationsResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * List user's organizations. */ - public Builder organizationsResponse(com.airbyte.api.models.shared.OrganizationsResponse organizationsResponse) { + public Builder organizationsResponse(OrganizationsResponse organizationsResponse) { Utils.checkNotNull(organizationsResponse, "organizationsResponse"); this.organizationsResponse = Optional.ofNullable(organizationsResponse); return this; @@ -212,7 +216,7 @@ public Builder organizationsResponse(com.airbyte.api.models.shared.Organizations /** * List user's organizations. */ - public Builder organizationsResponse(Optional organizationsResponse) { + public Builder organizationsResponse(Optional organizationsResponse) { Utils.checkNotNull(organizationsResponse, "organizationsResponse"); this.organizationsResponse = organizationsResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/ListPermissionsRequest.java b/src/main/java/com/airbyte/api/models/operations/ListPermissionsRequest.java index 364c98e8d..d3fe8a7bf 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListPermissionsRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/ListPermissionsRequest.java @@ -1,39 +1,38 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class ListPermissionsRequest { /** * This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=organizationId") - private Optional organizationId; + private Optional organizationId; /** * User Id in permission. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=userId") - private Optional userId; + private Optional userId; @JsonCreator public ListPermissionsRequest( - Optional organizationId, - Optional userId) { + Optional organizationId, + Optional userId) { Utils.checkNotNull(organizationId, "organizationId"); Utils.checkNotNull(userId, "userId"); this.organizationId = organizationId; @@ -47,19 +46,17 @@ public ListPermissionsRequest() { /** * This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional organizationId() { - return (Optional) organizationId; + return organizationId; } /** * User Id in permission. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional userId() { - return (Optional) userId; + return userId; } public final static Builder builder() { @@ -78,7 +75,7 @@ public ListPermissionsRequest withOrganizationId(String organizationId) { /** * This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. */ - public ListPermissionsRequest withOrganizationId(Optional organizationId) { + public ListPermissionsRequest withOrganizationId(Optional organizationId) { Utils.checkNotNull(organizationId, "organizationId"); this.organizationId = organizationId; return this; @@ -96,7 +93,7 @@ public ListPermissionsRequest withUserId(String userId) { /** * User Id in permission. */ - public ListPermissionsRequest withUserId(Optional userId) { + public ListPermissionsRequest withUserId(Optional userId) { Utils.checkNotNull(userId, "userId"); this.userId = userId; return this; @@ -112,13 +109,13 @@ public boolean equals(java.lang.Object o) { } ListPermissionsRequest other = (ListPermissionsRequest) o; return - java.util.Objects.deepEquals(this.organizationId, other.organizationId) && - java.util.Objects.deepEquals(this.userId, other.userId); + Objects.deepEquals(this.organizationId, other.organizationId) && + Objects.deepEquals(this.userId, other.userId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( organizationId, userId); } @@ -132,9 +129,9 @@ public String toString() { public final static class Builder { - private Optional organizationId = Optional.empty(); + private Optional organizationId = Optional.empty(); - private Optional userId = Optional.empty(); + private Optional userId = Optional.empty(); private Builder() { // force use of static builder() method @@ -152,7 +149,7 @@ public Builder organizationId(String organizationId) { /** * This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. */ - public Builder organizationId(Optional organizationId) { + public Builder organizationId(Optional organizationId) { Utils.checkNotNull(organizationId, "organizationId"); this.organizationId = organizationId; return this; @@ -170,7 +167,7 @@ public Builder userId(String userId) { /** * User Id in permission. */ - public Builder userId(Optional userId) { + public Builder userId(Optional userId) { Utils.checkNotNull(userId, "userId"); this.userId = userId; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/ListPermissionsRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/ListPermissionsRequestBuilder.java index 406b29010..d6f49be63 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListPermissionsRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/ListPermissionsRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class ListPermissionsRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/ListPermissionsResponse.java b/src/main/java/com/airbyte/api/models/operations/ListPermissionsResponse.java index 9945fe337..e4c2ebd57 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListPermissionsResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/ListPermissionsResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.PermissionsResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class ListPermissionsResponse implements com.airbyte.api.utils.Response { + +public class ListPermissionsResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class ListPermissionsResponse implements com.airbyte.api.utils.Response { /** * List Permissions. */ - private Optional permissionsResponse; + private Optional permissionsResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class ListPermissionsResponse implements com.airbyte.api.utils.Response { @JsonCreator public ListPermissionsResponse( String contentType, - Optional permissionsResponse, + Optional permissionsResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional permissionsResponse() { - return (Optional) permissionsResponse; + public Optional permissionsResponse() { + return (Optional) permissionsResponse; } /** @@ -110,7 +114,7 @@ public ListPermissionsResponse withContentType(String contentType) { /** * List Permissions. */ - public ListPermissionsResponse withPermissionsResponse(com.airbyte.api.models.shared.PermissionsResponse permissionsResponse) { + public ListPermissionsResponse withPermissionsResponse(PermissionsResponse permissionsResponse) { Utils.checkNotNull(permissionsResponse, "permissionsResponse"); this.permissionsResponse = Optional.ofNullable(permissionsResponse); return this; @@ -119,7 +123,7 @@ public ListPermissionsResponse withPermissionsResponse(com.airbyte.api.models.sh /** * List Permissions. */ - public ListPermissionsResponse withPermissionsResponse(Optional permissionsResponse) { + public ListPermissionsResponse withPermissionsResponse(Optional permissionsResponse) { Utils.checkNotNull(permissionsResponse, "permissionsResponse"); this.permissionsResponse = permissionsResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } ListPermissionsResponse other = (ListPermissionsResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.permissionsResponse, other.permissionsResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.permissionsResponse, other.permissionsResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, permissionsResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional permissionsResponse = Optional.empty(); + private Optional permissionsResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * List Permissions. */ - public Builder permissionsResponse(com.airbyte.api.models.shared.PermissionsResponse permissionsResponse) { + public Builder permissionsResponse(PermissionsResponse permissionsResponse) { Utils.checkNotNull(permissionsResponse, "permissionsResponse"); this.permissionsResponse = Optional.ofNullable(permissionsResponse); return this; @@ -212,7 +216,7 @@ public Builder permissionsResponse(com.airbyte.api.models.shared.PermissionsResp /** * List Permissions. */ - public Builder permissionsResponse(Optional permissionsResponse) { + public Builder permissionsResponse(Optional permissionsResponse) { Utils.checkNotNull(permissionsResponse, "permissionsResponse"); this.permissionsResponse = permissionsResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/ListSourcesRequest.java b/src/main/java/com/airbyte/api/models/operations/ListSourcesRequest.java index b1c181822..42a2686b5 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListSourcesRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/ListSourcesRequest.java @@ -1,54 +1,58 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class ListSourcesRequest { /** * Include deleted sources in the returned results. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeDeleted") - private Optional includeDeleted; + private Optional includeDeleted; /** * Set the limit on the number of sources returned. The default is 20. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit") - private Optional limit; + private Optional limit; /** * Set the offset to start at when returning sources. The default is 0 */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=offset") - private Optional offset; + private Optional offset; /** * The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=workspaceIds") - private Optional> workspaceIds; + private Optional> workspaceIds; @JsonCreator public ListSourcesRequest( - Optional includeDeleted, - Optional limit, - Optional offset, - Optional> workspaceIds) { + Optional includeDeleted, + Optional limit, + Optional offset, + Optional> workspaceIds) { Utils.checkNotNull(includeDeleted, "includeDeleted"); Utils.checkNotNull(limit, "limit"); Utils.checkNotNull(offset, "offset"); @@ -66,28 +70,25 @@ public ListSourcesRequest() { /** * Include deleted sources in the returned results. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeDeleted() { - return (Optional) includeDeleted; + return includeDeleted; } /** * Set the limit on the number of sources returned. The default is 20. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional limit() { - return (Optional) limit; + return limit; } /** * Set the offset to start at when returning sources. The default is 0 */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional offset() { - return (Optional) offset; + return offset; } /** @@ -95,8 +96,8 @@ public Optional offset() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> workspaceIds() { - return (Optional>) workspaceIds; + public Optional> workspaceIds() { + return (Optional>) workspaceIds; } public final static Builder builder() { @@ -115,7 +116,7 @@ public ListSourcesRequest withIncludeDeleted(boolean includeDeleted) { /** * Include deleted sources in the returned results. */ - public ListSourcesRequest withIncludeDeleted(Optional includeDeleted) { + public ListSourcesRequest withIncludeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -133,7 +134,7 @@ public ListSourcesRequest withLimit(int limit) { /** * Set the limit on the number of sources returned. The default is 20. */ - public ListSourcesRequest withLimit(Optional limit) { + public ListSourcesRequest withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -151,7 +152,7 @@ public ListSourcesRequest withOffset(int offset) { /** * Set the offset to start at when returning sources. The default is 0 */ - public ListSourcesRequest withOffset(Optional offset) { + public ListSourcesRequest withOffset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -160,7 +161,7 @@ public ListSourcesRequest withOffset(Optional offset) { /** * The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. */ - public ListSourcesRequest withWorkspaceIds(java.util.List workspaceIds) { + public ListSourcesRequest withWorkspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -169,7 +170,7 @@ public ListSourcesRequest withWorkspaceIds(java.util.List workspaceIds) /** * The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. */ - public ListSourcesRequest withWorkspaceIds(Optional> workspaceIds) { + public ListSourcesRequest withWorkspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -185,15 +186,15 @@ public boolean equals(java.lang.Object o) { } ListSourcesRequest other = (ListSourcesRequest) o; return - java.util.Objects.deepEquals(this.includeDeleted, other.includeDeleted) && - java.util.Objects.deepEquals(this.limit, other.limit) && - java.util.Objects.deepEquals(this.offset, other.offset) && - java.util.Objects.deepEquals(this.workspaceIds, other.workspaceIds); + Objects.deepEquals(this.includeDeleted, other.includeDeleted) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.offset, other.offset) && + Objects.deepEquals(this.workspaceIds, other.workspaceIds); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( includeDeleted, limit, offset, @@ -211,13 +212,13 @@ public String toString() { public final static class Builder { - private Optional includeDeleted; + private Optional includeDeleted; - private Optional limit; + private Optional limit; - private Optional offset; + private Optional offset; - private Optional> workspaceIds = Optional.empty(); + private Optional> workspaceIds = Optional.empty(); private Builder() { // force use of static builder() method @@ -235,7 +236,7 @@ public Builder includeDeleted(boolean includeDeleted) { /** * Include deleted sources in the returned results. */ - public Builder includeDeleted(Optional includeDeleted) { + public Builder includeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -253,7 +254,7 @@ public Builder limit(int limit) { /** * Set the limit on the number of sources returned. The default is 20. */ - public Builder limit(Optional limit) { + public Builder limit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -271,7 +272,7 @@ public Builder offset(int offset) { /** * Set the offset to start at when returning sources. The default is 0 */ - public Builder offset(Optional offset) { + public Builder offset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -280,7 +281,7 @@ public Builder offset(Optional offset) { /** * The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(java.util.List workspaceIds) { + public Builder workspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -289,7 +290,7 @@ public Builder workspaceIds(java.util.List workspaceIds) { /** * The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(Optional> workspaceIds) { + public Builder workspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -304,31 +305,30 @@ public ListSourcesRequest build() { } if (offset == null) { offset = _SINGLETON_VALUE_Offset.value(); - } - return new ListSourcesRequest( + } return new ListSourcesRequest( includeDeleted, limit, offset, workspaceIds); } - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = new LazySingletonValue<>( "includeDeleted", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = new LazySingletonValue<>( "limit", "20", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Offset = + private static final LazySingletonValue> _SINGLETON_VALUE_Offset = new LazySingletonValue<>( "offset", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/operations/ListSourcesRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/ListSourcesRequestBuilder.java index bc20cb6e2..9fcd7b48f 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListSourcesRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/ListSourcesRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class ListSourcesRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/ListSourcesResponse.java b/src/main/java/com/airbyte/api/models/operations/ListSourcesResponse.java index fcee1d002..fa1d031df 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListSourcesResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/ListSourcesResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.SourcesResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class ListSourcesResponse implements com.airbyte.api.utils.Response { + +public class ListSourcesResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class ListSourcesResponse implements com.airbyte.api.utils.Response { /** * Successful operation */ - private Optional sourcesResponse; + private Optional sourcesResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class ListSourcesResponse implements com.airbyte.api.utils.Response { @JsonCreator public ListSourcesResponse( String contentType, - Optional sourcesResponse, + Optional sourcesResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional sourcesResponse() { - return (Optional) sourcesResponse; + public Optional sourcesResponse() { + return (Optional) sourcesResponse; } /** @@ -110,7 +114,7 @@ public ListSourcesResponse withContentType(String contentType) { /** * Successful operation */ - public ListSourcesResponse withSourcesResponse(com.airbyte.api.models.shared.SourcesResponse sourcesResponse) { + public ListSourcesResponse withSourcesResponse(SourcesResponse sourcesResponse) { Utils.checkNotNull(sourcesResponse, "sourcesResponse"); this.sourcesResponse = Optional.ofNullable(sourcesResponse); return this; @@ -119,7 +123,7 @@ public ListSourcesResponse withSourcesResponse(com.airbyte.api.models.shared.Sou /** * Successful operation */ - public ListSourcesResponse withSourcesResponse(Optional sourcesResponse) { + public ListSourcesResponse withSourcesResponse(Optional sourcesResponse) { Utils.checkNotNull(sourcesResponse, "sourcesResponse"); this.sourcesResponse = sourcesResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } ListSourcesResponse other = (ListSourcesResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.sourcesResponse, other.sourcesResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.sourcesResponse, other.sourcesResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, sourcesResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional sourcesResponse = Optional.empty(); + private Optional sourcesResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Successful operation */ - public Builder sourcesResponse(com.airbyte.api.models.shared.SourcesResponse sourcesResponse) { + public Builder sourcesResponse(SourcesResponse sourcesResponse) { Utils.checkNotNull(sourcesResponse, "sourcesResponse"); this.sourcesResponse = Optional.ofNullable(sourcesResponse); return this; @@ -212,7 +216,7 @@ public Builder sourcesResponse(com.airbyte.api.models.shared.SourcesResponse sou /** * Successful operation */ - public Builder sourcesResponse(Optional sourcesResponse) { + public Builder sourcesResponse(Optional sourcesResponse) { Utils.checkNotNull(sourcesResponse, "sourcesResponse"); this.sourcesResponse = sourcesResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequest.java b/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequest.java index cbc0320ed..b3549beec 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequest.java @@ -1,42 +1,43 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class ListUsersWithinAnOrganizationRequest { /** * List of user emails to filter by */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=emails") - private Optional> emails; + private Optional> emails; /** * List of user IDs to filter by */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=ids") - private Optional> ids; + private Optional> ids; @SpeakeasyMetadata("queryParam:style=form,explode=true,name=organizationId") private String organizationId; @JsonCreator public ListUsersWithinAnOrganizationRequest( - Optional> emails, - Optional> ids, + Optional> emails, + Optional> ids, String organizationId) { Utils.checkNotNull(emails, "emails"); Utils.checkNotNull(ids, "ids"); @@ -56,8 +57,8 @@ public ListUsersWithinAnOrganizationRequest( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> emails() { - return (Optional>) emails; + public Optional> emails() { + return (Optional>) emails; } /** @@ -65,8 +66,8 @@ public Optional> emails() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> ids() { - return (Optional>) ids; + public Optional> ids() { + return (Optional>) ids; } @JsonIgnore @@ -81,7 +82,7 @@ public final static Builder builder() { /** * List of user emails to filter by */ - public ListUsersWithinAnOrganizationRequest withEmails(java.util.List emails) { + public ListUsersWithinAnOrganizationRequest withEmails(List emails) { Utils.checkNotNull(emails, "emails"); this.emails = Optional.ofNullable(emails); return this; @@ -90,7 +91,7 @@ public ListUsersWithinAnOrganizationRequest withEmails(java.util.List em /** * List of user emails to filter by */ - public ListUsersWithinAnOrganizationRequest withEmails(Optional> emails) { + public ListUsersWithinAnOrganizationRequest withEmails(Optional> emails) { Utils.checkNotNull(emails, "emails"); this.emails = emails; return this; @@ -99,7 +100,7 @@ public ListUsersWithinAnOrganizationRequest withEmails(Optional ids) { + public ListUsersWithinAnOrganizationRequest withIds(List ids) { Utils.checkNotNull(ids, "ids"); this.ids = Optional.ofNullable(ids); return this; @@ -108,7 +109,7 @@ public ListUsersWithinAnOrganizationRequest withIds(java.util.List ids) /** * List of user IDs to filter by */ - public ListUsersWithinAnOrganizationRequest withIds(Optional> ids) { + public ListUsersWithinAnOrganizationRequest withIds(Optional> ids) { Utils.checkNotNull(ids, "ids"); this.ids = ids; return this; @@ -130,14 +131,14 @@ public boolean equals(java.lang.Object o) { } ListUsersWithinAnOrganizationRequest other = (ListUsersWithinAnOrganizationRequest) o; return - java.util.Objects.deepEquals(this.emails, other.emails) && - java.util.Objects.deepEquals(this.ids, other.ids) && - java.util.Objects.deepEquals(this.organizationId, other.organizationId); + Objects.deepEquals(this.emails, other.emails) && + Objects.deepEquals(this.ids, other.ids) && + Objects.deepEquals(this.organizationId, other.organizationId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( emails, ids, organizationId); @@ -153,9 +154,9 @@ public String toString() { public final static class Builder { - private Optional> emails = Optional.empty(); + private Optional> emails = Optional.empty(); - private Optional> ids = Optional.empty(); + private Optional> ids = Optional.empty(); private String organizationId; @@ -166,7 +167,7 @@ private Builder() { /** * List of user emails to filter by */ - public Builder emails(java.util.List emails) { + public Builder emails(List emails) { Utils.checkNotNull(emails, "emails"); this.emails = Optional.ofNullable(emails); return this; @@ -175,7 +176,7 @@ public Builder emails(java.util.List emails) { /** * List of user emails to filter by */ - public Builder emails(Optional> emails) { + public Builder emails(Optional> emails) { Utils.checkNotNull(emails, "emails"); this.emails = emails; return this; @@ -184,7 +185,7 @@ public Builder emails(Optional> emails) { /** * List of user IDs to filter by */ - public Builder ids(java.util.List ids) { + public Builder ids(List ids) { Utils.checkNotNull(ids, "ids"); this.ids = Optional.ofNullable(ids); return this; @@ -193,7 +194,7 @@ public Builder ids(java.util.List ids) { /** * List of user IDs to filter by */ - public Builder ids(Optional> ids) { + public Builder ids(Optional> ids) { Utils.checkNotNull(ids, "ids"); this.ids = ids; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequestBuilder.java index bd49c34f4..29d496174 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class ListUsersWithinAnOrganizationRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationResponse.java b/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationResponse.java index 73e0c3f64..b1fb16731 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/ListUsersWithinAnOrganizationResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.UsersResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class ListUsersWithinAnOrganizationResponse implements com.airbyte.api.utils.Response { + +public class ListUsersWithinAnOrganizationResponse implements Response { /** * HTTP response content type for this operation @@ -36,14 +40,14 @@ public class ListUsersWithinAnOrganizationResponse implements com.airbyte.api.ut /** * List Users. */ - private Optional usersResponse; + private Optional usersResponse; @JsonCreator public ListUsersWithinAnOrganizationResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional usersResponse) { + Optional usersResponse) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); @@ -90,8 +94,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional usersResponse() { - return (Optional) usersResponse; + public Optional usersResponse() { + return (Optional) usersResponse; } public final static Builder builder() { @@ -128,7 +132,7 @@ public ListUsersWithinAnOrganizationResponse withRawResponse(HttpResponse usersResponse) { + public ListUsersWithinAnOrganizationResponse withUsersResponse(Optional usersResponse) { Utils.checkNotNull(usersResponse, "usersResponse"); this.usersResponse = usersResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } ListUsersWithinAnOrganizationResponse other = (ListUsersWithinAnOrganizationResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse) && - java.util.Objects.deepEquals(this.usersResponse, other.usersResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse) && + Objects.deepEquals(this.usersResponse, other.usersResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse, @@ -185,7 +189,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional usersResponse = Optional.empty(); + private Optional usersResponse = Optional.empty(); private Builder() { // force use of static builder() method @@ -221,7 +225,7 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * List Users. */ - public Builder usersResponse(com.airbyte.api.models.shared.UsersResponse usersResponse) { + public Builder usersResponse(UsersResponse usersResponse) { Utils.checkNotNull(usersResponse, "usersResponse"); this.usersResponse = Optional.ofNullable(usersResponse); return this; @@ -230,7 +234,7 @@ public Builder usersResponse(com.airbyte.api.models.shared.UsersResponse usersRe /** * List Users. */ - public Builder usersResponse(Optional usersResponse) { + public Builder usersResponse(Optional usersResponse) { Utils.checkNotNull(usersResponse, "usersResponse"); this.usersResponse = usersResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequest.java b/src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequest.java index 89669eb07..a34b5f660 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequest.java @@ -1,54 +1,58 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class ListWorkspacesRequest { /** * Include deleted workspaces in the returned results. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeDeleted") - private Optional includeDeleted; + private Optional includeDeleted; /** * Set the limit on the number of workspaces returned. The default is 20. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=limit") - private Optional limit; + private Optional limit; /** * Set the offset to start at when returning workspaces. The default is 0 */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=offset") - private Optional offset; + private Optional offset; /** * The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces. */ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=workspaceIds") - private Optional> workspaceIds; + private Optional> workspaceIds; @JsonCreator public ListWorkspacesRequest( - Optional includeDeleted, - Optional limit, - Optional offset, - Optional> workspaceIds) { + Optional includeDeleted, + Optional limit, + Optional offset, + Optional> workspaceIds) { Utils.checkNotNull(includeDeleted, "includeDeleted"); Utils.checkNotNull(limit, "limit"); Utils.checkNotNull(offset, "offset"); @@ -66,28 +70,25 @@ public ListWorkspacesRequest() { /** * Include deleted workspaces in the returned results. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeDeleted() { - return (Optional) includeDeleted; + return includeDeleted; } /** * Set the limit on the number of workspaces returned. The default is 20. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional limit() { - return (Optional) limit; + return limit; } /** * Set the offset to start at when returning workspaces. The default is 0 */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional offset() { - return (Optional) offset; + return offset; } /** @@ -95,8 +96,8 @@ public Optional offset() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> workspaceIds() { - return (Optional>) workspaceIds; + public Optional> workspaceIds() { + return (Optional>) workspaceIds; } public final static Builder builder() { @@ -115,7 +116,7 @@ public ListWorkspacesRequest withIncludeDeleted(boolean includeDeleted) { /** * Include deleted workspaces in the returned results. */ - public ListWorkspacesRequest withIncludeDeleted(Optional includeDeleted) { + public ListWorkspacesRequest withIncludeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -133,7 +134,7 @@ public ListWorkspacesRequest withLimit(int limit) { /** * Set the limit on the number of workspaces returned. The default is 20. */ - public ListWorkspacesRequest withLimit(Optional limit) { + public ListWorkspacesRequest withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -151,7 +152,7 @@ public ListWorkspacesRequest withOffset(int offset) { /** * Set the offset to start at when returning workspaces. The default is 0 */ - public ListWorkspacesRequest withOffset(Optional offset) { + public ListWorkspacesRequest withOffset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -160,7 +161,7 @@ public ListWorkspacesRequest withOffset(Optional offset) { /** * The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces. */ - public ListWorkspacesRequest withWorkspaceIds(java.util.List workspaceIds) { + public ListWorkspacesRequest withWorkspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -169,7 +170,7 @@ public ListWorkspacesRequest withWorkspaceIds(java.util.List workspaceId /** * The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces. */ - public ListWorkspacesRequest withWorkspaceIds(Optional> workspaceIds) { + public ListWorkspacesRequest withWorkspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -185,15 +186,15 @@ public boolean equals(java.lang.Object o) { } ListWorkspacesRequest other = (ListWorkspacesRequest) o; return - java.util.Objects.deepEquals(this.includeDeleted, other.includeDeleted) && - java.util.Objects.deepEquals(this.limit, other.limit) && - java.util.Objects.deepEquals(this.offset, other.offset) && - java.util.Objects.deepEquals(this.workspaceIds, other.workspaceIds); + Objects.deepEquals(this.includeDeleted, other.includeDeleted) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.offset, other.offset) && + Objects.deepEquals(this.workspaceIds, other.workspaceIds); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( includeDeleted, limit, offset, @@ -211,13 +212,13 @@ public String toString() { public final static class Builder { - private Optional includeDeleted; + private Optional includeDeleted; - private Optional limit; + private Optional limit; - private Optional offset; + private Optional offset; - private Optional> workspaceIds = Optional.empty(); + private Optional> workspaceIds = Optional.empty(); private Builder() { // force use of static builder() method @@ -235,7 +236,7 @@ public Builder includeDeleted(boolean includeDeleted) { /** * Include deleted workspaces in the returned results. */ - public Builder includeDeleted(Optional includeDeleted) { + public Builder includeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -253,7 +254,7 @@ public Builder limit(int limit) { /** * Set the limit on the number of workspaces returned. The default is 20. */ - public Builder limit(Optional limit) { + public Builder limit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -271,7 +272,7 @@ public Builder offset(int offset) { /** * Set the offset to start at when returning workspaces. The default is 0 */ - public Builder offset(Optional offset) { + public Builder offset(Optional offset) { Utils.checkNotNull(offset, "offset"); this.offset = offset; return this; @@ -280,7 +281,7 @@ public Builder offset(Optional offset) { /** * The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(java.util.List workspaceIds) { + public Builder workspaceIds(List workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = Optional.ofNullable(workspaceIds); return this; @@ -289,7 +290,7 @@ public Builder workspaceIds(java.util.List workspaceIds) { /** * The UUIDs of the workspaces you wish to fetch. Empty list will retrieve all allowed workspaces. */ - public Builder workspaceIds(Optional> workspaceIds) { + public Builder workspaceIds(Optional> workspaceIds) { Utils.checkNotNull(workspaceIds, "workspaceIds"); this.workspaceIds = workspaceIds; return this; @@ -304,31 +305,30 @@ public ListWorkspacesRequest build() { } if (offset == null) { offset = _SINGLETON_VALUE_Offset.value(); - } - return new ListWorkspacesRequest( + } return new ListWorkspacesRequest( includeDeleted, limit, offset, workspaceIds); } - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = new LazySingletonValue<>( "includeDeleted", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = new LazySingletonValue<>( "limit", "20", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Offset = + private static final LazySingletonValue> _SINGLETON_VALUE_Offset = new LazySingletonValue<>( "offset", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequestBuilder.java index a1919ee9a..1571955c2 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/ListWorkspacesRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class ListWorkspacesRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/ListWorkspacesResponse.java b/src/main/java/com/airbyte/api/models/operations/ListWorkspacesResponse.java index d01508394..cc066f959 100644 --- a/src/main/java/com/airbyte/api/models/operations/ListWorkspacesResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/ListWorkspacesResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.WorkspacesResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class ListWorkspacesResponse implements com.airbyte.api.utils.Response { + +public class ListWorkspacesResponse implements Response { /** * HTTP response content type for this operation @@ -36,14 +40,14 @@ public class ListWorkspacesResponse implements com.airbyte.api.utils.Response { /** * Successful operation */ - private Optional workspacesResponse; + private Optional workspacesResponse; @JsonCreator public ListWorkspacesResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional workspacesResponse) { + Optional workspacesResponse) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); @@ -90,8 +94,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional workspacesResponse() { - return (Optional) workspacesResponse; + public Optional workspacesResponse() { + return (Optional) workspacesResponse; } public final static Builder builder() { @@ -128,7 +132,7 @@ public ListWorkspacesResponse withRawResponse(HttpResponse rawRespo /** * Successful operation */ - public ListWorkspacesResponse withWorkspacesResponse(com.airbyte.api.models.shared.WorkspacesResponse workspacesResponse) { + public ListWorkspacesResponse withWorkspacesResponse(WorkspacesResponse workspacesResponse) { Utils.checkNotNull(workspacesResponse, "workspacesResponse"); this.workspacesResponse = Optional.ofNullable(workspacesResponse); return this; @@ -137,7 +141,7 @@ public ListWorkspacesResponse withWorkspacesResponse(com.airbyte.api.models.shar /** * Successful operation */ - public ListWorkspacesResponse withWorkspacesResponse(Optional workspacesResponse) { + public ListWorkspacesResponse withWorkspacesResponse(Optional workspacesResponse) { Utils.checkNotNull(workspacesResponse, "workspacesResponse"); this.workspacesResponse = workspacesResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } ListWorkspacesResponse other = (ListWorkspacesResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse) && - java.util.Objects.deepEquals(this.workspacesResponse, other.workspacesResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse) && + Objects.deepEquals(this.workspacesResponse, other.workspacesResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse, @@ -185,7 +189,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional workspacesResponse = Optional.empty(); + private Optional workspacesResponse = Optional.empty(); private Builder() { // force use of static builder() method @@ -221,7 +225,7 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful operation */ - public Builder workspacesResponse(com.airbyte.api.models.shared.WorkspacesResponse workspacesResponse) { + public Builder workspacesResponse(WorkspacesResponse workspacesResponse) { Utils.checkNotNull(workspacesResponse, "workspacesResponse"); this.workspacesResponse = Optional.ofNullable(workspacesResponse); return this; @@ -230,7 +234,7 @@ public Builder workspacesResponse(com.airbyte.api.models.shared.WorkspacesRespon /** * Successful operation */ - public Builder workspacesResponse(Optional workspacesResponse) { + public Builder workspacesResponse(Optional workspacesResponse) { Utils.checkNotNull(workspacesResponse, "workspacesResponse"); this.workspacesResponse = workspacesResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java b/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java index 2dfecb455..841984299 100644 --- a/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java @@ -1,31 +1,31 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.ConnectionPatchRequest; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class PatchConnectionRequest { @SpeakeasyMetadata("request:mediaType=application/json") - private com.airbyte.api.models.shared.ConnectionPatchRequest connectionPatchRequest; + private ConnectionPatchRequest connectionPatchRequest; @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=connectionId") private String connectionId; @JsonCreator public PatchConnectionRequest( - com.airbyte.api.models.shared.ConnectionPatchRequest connectionPatchRequest, + ConnectionPatchRequest connectionPatchRequest, String connectionId) { Utils.checkNotNull(connectionPatchRequest, "connectionPatchRequest"); Utils.checkNotNull(connectionId, "connectionId"); @@ -34,7 +34,7 @@ public PatchConnectionRequest( } @JsonIgnore - public com.airbyte.api.models.shared.ConnectionPatchRequest connectionPatchRequest() { + public ConnectionPatchRequest connectionPatchRequest() { return connectionPatchRequest; } @@ -47,7 +47,7 @@ public final static Builder builder() { return new Builder(); } - public PatchConnectionRequest withConnectionPatchRequest(com.airbyte.api.models.shared.ConnectionPatchRequest connectionPatchRequest) { + public PatchConnectionRequest withConnectionPatchRequest(ConnectionPatchRequest connectionPatchRequest) { Utils.checkNotNull(connectionPatchRequest, "connectionPatchRequest"); this.connectionPatchRequest = connectionPatchRequest; return this; @@ -69,13 +69,13 @@ public boolean equals(java.lang.Object o) { } PatchConnectionRequest other = (PatchConnectionRequest) o; return - java.util.Objects.deepEquals(this.connectionPatchRequest, other.connectionPatchRequest) && - java.util.Objects.deepEquals(this.connectionId, other.connectionId); + Objects.deepEquals(this.connectionPatchRequest, other.connectionPatchRequest) && + Objects.deepEquals(this.connectionId, other.connectionId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionPatchRequest, connectionId); } @@ -89,7 +89,7 @@ public String toString() { public final static class Builder { - private com.airbyte.api.models.shared.ConnectionPatchRequest connectionPatchRequest; + private ConnectionPatchRequest connectionPatchRequest; private String connectionId; @@ -97,7 +97,7 @@ private Builder() { // force use of static builder() method } - public Builder connectionPatchRequest(com.airbyte.api.models.shared.ConnectionPatchRequest connectionPatchRequest) { + public Builder connectionPatchRequest(ConnectionPatchRequest connectionPatchRequest) { Utils.checkNotNull(connectionPatchRequest, "connectionPatchRequest"); this.connectionPatchRequest = connectionPatchRequest; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequestBuilder.java index d69955e8f..a64984191 100644 --- a/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class PatchConnectionRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java b/src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java index 99960468e..4e1a4f270 100644 --- a/src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java @@ -1,27 +1,31 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.ConnectionResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class PatchConnectionResponse implements com.airbyte.api.utils.Response { + +public class PatchConnectionResponse implements Response { /** * Update a Connection by the id in the path. */ - private Optional connectionResponse; + private Optional connectionResponse; /** * HTTP response content type for this operation @@ -40,7 +44,7 @@ public class PatchConnectionResponse implements com.airbyte.api.utils.Response { @JsonCreator public PatchConnectionResponse( - Optional connectionResponse, + Optional connectionResponse, String contentType, int statusCode, HttpResponse rawResponse) { @@ -66,8 +70,8 @@ public PatchConnectionResponse( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional connectionResponse() { - return (Optional) connectionResponse; + public Optional connectionResponse() { + return (Optional) connectionResponse; } /** @@ -101,7 +105,7 @@ public final static Builder builder() { /** * Update a Connection by the id in the path. */ - public PatchConnectionResponse withConnectionResponse(com.airbyte.api.models.shared.ConnectionResponse connectionResponse) { + public PatchConnectionResponse withConnectionResponse(ConnectionResponse connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = Optional.ofNullable(connectionResponse); return this; @@ -110,7 +114,7 @@ public PatchConnectionResponse withConnectionResponse(com.airbyte.api.models.sha /** * Update a Connection by the id in the path. */ - public PatchConnectionResponse withConnectionResponse(Optional connectionResponse) { + public PatchConnectionResponse withConnectionResponse(Optional connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = connectionResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } PatchConnectionResponse other = (PatchConnectionResponse) o; return - java.util.Objects.deepEquals(this.connectionResponse, other.connectionResponse) && - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.connectionResponse, other.connectionResponse) && + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionResponse, contentType, statusCode, @@ -179,7 +183,7 @@ public String toString() { public final static class Builder { - private Optional connectionResponse = Optional.empty(); + private Optional connectionResponse = Optional.empty(); private String contentType; @@ -194,7 +198,7 @@ private Builder() { /** * Update a Connection by the id in the path. */ - public Builder connectionResponse(com.airbyte.api.models.shared.ConnectionResponse connectionResponse) { + public Builder connectionResponse(ConnectionResponse connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = Optional.ofNullable(connectionResponse); return this; @@ -203,7 +207,7 @@ public Builder connectionResponse(com.airbyte.api.models.shared.ConnectionRespon /** * Update a Connection by the id in the path. */ - public Builder connectionResponse(Optional connectionResponse) { + public Builder connectionResponse(Optional connectionResponse) { Utils.checkNotNull(connectionResponse, "connectionResponse"); this.connectionResponse = connectionResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java b/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java index 0d0763166..d93212c51 100644 --- a/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java @@ -1,32 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.DestinationPatchRequest; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class PatchDestinationRequest { @SpeakeasyMetadata("request:mediaType=application/json") - private Optional destinationPatchRequest; + private Optional destinationPatchRequest; @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=destinationId") private String destinationId; @JsonCreator public PatchDestinationRequest( - Optional destinationPatchRequest, + Optional destinationPatchRequest, String destinationId) { Utils.checkNotNull(destinationPatchRequest, "destinationPatchRequest"); Utils.checkNotNull(destinationId, "destinationId"); @@ -41,8 +42,8 @@ public PatchDestinationRequest( @SuppressWarnings("unchecked") @JsonIgnore - public Optional destinationPatchRequest() { - return (Optional) destinationPatchRequest; + public Optional destinationPatchRequest() { + return (Optional) destinationPatchRequest; } @JsonIgnore @@ -54,13 +55,13 @@ public final static Builder builder() { return new Builder(); } - public PatchDestinationRequest withDestinationPatchRequest(com.airbyte.api.models.shared.DestinationPatchRequest destinationPatchRequest) { + public PatchDestinationRequest withDestinationPatchRequest(DestinationPatchRequest destinationPatchRequest) { Utils.checkNotNull(destinationPatchRequest, "destinationPatchRequest"); this.destinationPatchRequest = Optional.ofNullable(destinationPatchRequest); return this; } - public PatchDestinationRequest withDestinationPatchRequest(Optional destinationPatchRequest) { + public PatchDestinationRequest withDestinationPatchRequest(Optional destinationPatchRequest) { Utils.checkNotNull(destinationPatchRequest, "destinationPatchRequest"); this.destinationPatchRequest = destinationPatchRequest; return this; @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } PatchDestinationRequest other = (PatchDestinationRequest) o; return - java.util.Objects.deepEquals(this.destinationPatchRequest, other.destinationPatchRequest) && - java.util.Objects.deepEquals(this.destinationId, other.destinationId); + Objects.deepEquals(this.destinationPatchRequest, other.destinationPatchRequest) && + Objects.deepEquals(this.destinationId, other.destinationId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationPatchRequest, destinationId); } @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private Optional destinationPatchRequest = Optional.empty(); + private Optional destinationPatchRequest = Optional.empty(); private String destinationId; @@ -110,13 +111,13 @@ private Builder() { // force use of static builder() method } - public Builder destinationPatchRequest(com.airbyte.api.models.shared.DestinationPatchRequest destinationPatchRequest) { + public Builder destinationPatchRequest(DestinationPatchRequest destinationPatchRequest) { Utils.checkNotNull(destinationPatchRequest, "destinationPatchRequest"); this.destinationPatchRequest = Optional.ofNullable(destinationPatchRequest); return this; } - public Builder destinationPatchRequest(Optional destinationPatchRequest) { + public Builder destinationPatchRequest(Optional destinationPatchRequest) { Utils.checkNotNull(destinationPatchRequest, "destinationPatchRequest"); this.destinationPatchRequest = destinationPatchRequest; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequestBuilder.java index ce1c4270a..cc35b3df3 100644 --- a/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class PatchDestinationRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java b/src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java index 85c7b5718..d21cd4a85 100644 --- a/src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.DestinationResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class PatchDestinationResponse implements com.airbyte.api.utils.Response { + +public class PatchDestinationResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class PatchDestinationResponse implements com.airbyte.api.utils.Response /** * Update a Destination */ - private Optional destinationResponse; + private Optional destinationResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class PatchDestinationResponse implements com.airbyte.api.utils.Response @JsonCreator public PatchDestinationResponse( String contentType, - Optional destinationResponse, + Optional destinationResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional destinationResponse() { - return (Optional) destinationResponse; + public Optional destinationResponse() { + return (Optional) destinationResponse; } /** @@ -110,7 +114,7 @@ public PatchDestinationResponse withContentType(String contentType) { /** * Update a Destination */ - public PatchDestinationResponse withDestinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + public PatchDestinationResponse withDestinationResponse(DestinationResponse destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = Optional.ofNullable(destinationResponse); return this; @@ -119,7 +123,7 @@ public PatchDestinationResponse withDestinationResponse(com.airbyte.api.models.s /** * Update a Destination */ - public PatchDestinationResponse withDestinationResponse(Optional destinationResponse) { + public PatchDestinationResponse withDestinationResponse(Optional destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = destinationResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } PatchDestinationResponse other = (PatchDestinationResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.destinationResponse, other.destinationResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.destinationResponse, other.destinationResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, destinationResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional destinationResponse = Optional.empty(); + private Optional destinationResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Update a Destination */ - public Builder destinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + public Builder destinationResponse(DestinationResponse destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = Optional.ofNullable(destinationResponse); return this; @@ -212,7 +216,7 @@ public Builder destinationResponse(com.airbyte.api.models.shared.DestinationResp /** * Update a Destination */ - public Builder destinationResponse(Optional destinationResponse) { + public Builder destinationResponse(Optional destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = destinationResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java b/src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java index d513ac010..e10c0ef73 100644 --- a/src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java @@ -1,32 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.SourcePatchRequest; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class PatchSourceRequest { @SpeakeasyMetadata("request:mediaType=application/json") - private Optional sourcePatchRequest; + private Optional sourcePatchRequest; @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sourceId") private String sourceId; @JsonCreator public PatchSourceRequest( - Optional sourcePatchRequest, + Optional sourcePatchRequest, String sourceId) { Utils.checkNotNull(sourcePatchRequest, "sourcePatchRequest"); Utils.checkNotNull(sourceId, "sourceId"); @@ -41,8 +42,8 @@ public PatchSourceRequest( @SuppressWarnings("unchecked") @JsonIgnore - public Optional sourcePatchRequest() { - return (Optional) sourcePatchRequest; + public Optional sourcePatchRequest() { + return (Optional) sourcePatchRequest; } @JsonIgnore @@ -54,13 +55,13 @@ public final static Builder builder() { return new Builder(); } - public PatchSourceRequest withSourcePatchRequest(com.airbyte.api.models.shared.SourcePatchRequest sourcePatchRequest) { + public PatchSourceRequest withSourcePatchRequest(SourcePatchRequest sourcePatchRequest) { Utils.checkNotNull(sourcePatchRequest, "sourcePatchRequest"); this.sourcePatchRequest = Optional.ofNullable(sourcePatchRequest); return this; } - public PatchSourceRequest withSourcePatchRequest(Optional sourcePatchRequest) { + public PatchSourceRequest withSourcePatchRequest(Optional sourcePatchRequest) { Utils.checkNotNull(sourcePatchRequest, "sourcePatchRequest"); this.sourcePatchRequest = sourcePatchRequest; return this; @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } PatchSourceRequest other = (PatchSourceRequest) o; return - java.util.Objects.deepEquals(this.sourcePatchRequest, other.sourcePatchRequest) && - java.util.Objects.deepEquals(this.sourceId, other.sourceId); + Objects.deepEquals(this.sourcePatchRequest, other.sourcePatchRequest) && + Objects.deepEquals(this.sourceId, other.sourceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourcePatchRequest, sourceId); } @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private Optional sourcePatchRequest = Optional.empty(); + private Optional sourcePatchRequest = Optional.empty(); private String sourceId; @@ -110,13 +111,13 @@ private Builder() { // force use of static builder() method } - public Builder sourcePatchRequest(com.airbyte.api.models.shared.SourcePatchRequest sourcePatchRequest) { + public Builder sourcePatchRequest(SourcePatchRequest sourcePatchRequest) { Utils.checkNotNull(sourcePatchRequest, "sourcePatchRequest"); this.sourcePatchRequest = Optional.ofNullable(sourcePatchRequest); return this; } - public Builder sourcePatchRequest(Optional sourcePatchRequest) { + public Builder sourcePatchRequest(Optional sourcePatchRequest) { Utils.checkNotNull(sourcePatchRequest, "sourcePatchRequest"); this.sourcePatchRequest = sourcePatchRequest; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PatchSourceRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/PatchSourceRequestBuilder.java index ea3f6b238..5f57d90b5 100644 --- a/src/main/java/com/airbyte/api/models/operations/PatchSourceRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/PatchSourceRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class PatchSourceRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java b/src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java index b9253d0ec..ff87bcbbf 100644 --- a/src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.SourceResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class PatchSourceResponse implements com.airbyte.api.utils.Response { + +public class PatchSourceResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class PatchSourceResponse implements com.airbyte.api.utils.Response { /** * Update a Source */ - private Optional sourceResponse; + private Optional sourceResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class PatchSourceResponse implements com.airbyte.api.utils.Response { @JsonCreator public PatchSourceResponse( String contentType, - Optional sourceResponse, + Optional sourceResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional sourceResponse() { - return (Optional) sourceResponse; + public Optional sourceResponse() { + return (Optional) sourceResponse; } /** @@ -110,7 +114,7 @@ public PatchSourceResponse withContentType(String contentType) { /** * Update a Source */ - public PatchSourceResponse withSourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + public PatchSourceResponse withSourceResponse(SourceResponse sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = Optional.ofNullable(sourceResponse); return this; @@ -119,7 +123,7 @@ public PatchSourceResponse withSourceResponse(com.airbyte.api.models.shared.Sour /** * Update a Source */ - public PatchSourceResponse withSourceResponse(Optional sourceResponse) { + public PatchSourceResponse withSourceResponse(Optional sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = sourceResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } PatchSourceResponse other = (PatchSourceResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.sourceResponse, other.sourceResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.sourceResponse, other.sourceResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, sourceResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional sourceResponse = Optional.empty(); + private Optional sourceResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Update a Source */ - public Builder sourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + public Builder sourceResponse(SourceResponse sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = Optional.ofNullable(sourceResponse); return this; @@ -212,7 +216,7 @@ public Builder sourceResponse(com.airbyte.api.models.shared.SourceResponse sourc /** * Update a Source */ - public Builder sourceResponse(Optional sourceResponse) { + public Builder sourceResponse(Optional sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = sourceResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java b/src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java index 786e58c82..9663cc8a5 100644 --- a/src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java @@ -1,32 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.DestinationPutRequest; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class PutDestinationRequest { @SpeakeasyMetadata("request:mediaType=application/json") - private Optional destinationPutRequest; + private Optional destinationPutRequest; @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=destinationId") private String destinationId; @JsonCreator public PutDestinationRequest( - Optional destinationPutRequest, + Optional destinationPutRequest, String destinationId) { Utils.checkNotNull(destinationPutRequest, "destinationPutRequest"); Utils.checkNotNull(destinationId, "destinationId"); @@ -41,8 +42,8 @@ public PutDestinationRequest( @SuppressWarnings("unchecked") @JsonIgnore - public Optional destinationPutRequest() { - return (Optional) destinationPutRequest; + public Optional destinationPutRequest() { + return (Optional) destinationPutRequest; } @JsonIgnore @@ -54,13 +55,13 @@ public final static Builder builder() { return new Builder(); } - public PutDestinationRequest withDestinationPutRequest(com.airbyte.api.models.shared.DestinationPutRequest destinationPutRequest) { + public PutDestinationRequest withDestinationPutRequest(DestinationPutRequest destinationPutRequest) { Utils.checkNotNull(destinationPutRequest, "destinationPutRequest"); this.destinationPutRequest = Optional.ofNullable(destinationPutRequest); return this; } - public PutDestinationRequest withDestinationPutRequest(Optional destinationPutRequest) { + public PutDestinationRequest withDestinationPutRequest(Optional destinationPutRequest) { Utils.checkNotNull(destinationPutRequest, "destinationPutRequest"); this.destinationPutRequest = destinationPutRequest; return this; @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } PutDestinationRequest other = (PutDestinationRequest) o; return - java.util.Objects.deepEquals(this.destinationPutRequest, other.destinationPutRequest) && - java.util.Objects.deepEquals(this.destinationId, other.destinationId); + Objects.deepEquals(this.destinationPutRequest, other.destinationPutRequest) && + Objects.deepEquals(this.destinationId, other.destinationId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationPutRequest, destinationId); } @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private Optional destinationPutRequest = Optional.empty(); + private Optional destinationPutRequest = Optional.empty(); private String destinationId; @@ -110,13 +111,13 @@ private Builder() { // force use of static builder() method } - public Builder destinationPutRequest(com.airbyte.api.models.shared.DestinationPutRequest destinationPutRequest) { + public Builder destinationPutRequest(DestinationPutRequest destinationPutRequest) { Utils.checkNotNull(destinationPutRequest, "destinationPutRequest"); this.destinationPutRequest = Optional.ofNullable(destinationPutRequest); return this; } - public Builder destinationPutRequest(Optional destinationPutRequest) { + public Builder destinationPutRequest(Optional destinationPutRequest) { Utils.checkNotNull(destinationPutRequest, "destinationPutRequest"); this.destinationPutRequest = destinationPutRequest; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PutDestinationRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/PutDestinationRequestBuilder.java index 48a97f4e4..d15374fd3 100644 --- a/src/main/java/com/airbyte/api/models/operations/PutDestinationRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/PutDestinationRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class PutDestinationRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java b/src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java index 55c0b1f78..6afd2638b 100644 --- a/src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.DestinationResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class PutDestinationResponse implements com.airbyte.api.utils.Response { + +public class PutDestinationResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class PutDestinationResponse implements com.airbyte.api.utils.Response { /** * Update a Destination and fully overwrite it */ - private Optional destinationResponse; + private Optional destinationResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class PutDestinationResponse implements com.airbyte.api.utils.Response { @JsonCreator public PutDestinationResponse( String contentType, - Optional destinationResponse, + Optional destinationResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional destinationResponse() { - return (Optional) destinationResponse; + public Optional destinationResponse() { + return (Optional) destinationResponse; } /** @@ -110,7 +114,7 @@ public PutDestinationResponse withContentType(String contentType) { /** * Update a Destination and fully overwrite it */ - public PutDestinationResponse withDestinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + public PutDestinationResponse withDestinationResponse(DestinationResponse destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = Optional.ofNullable(destinationResponse); return this; @@ -119,7 +123,7 @@ public PutDestinationResponse withDestinationResponse(com.airbyte.api.models.sha /** * Update a Destination and fully overwrite it */ - public PutDestinationResponse withDestinationResponse(Optional destinationResponse) { + public PutDestinationResponse withDestinationResponse(Optional destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = destinationResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } PutDestinationResponse other = (PutDestinationResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.destinationResponse, other.destinationResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.destinationResponse, other.destinationResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, destinationResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional destinationResponse = Optional.empty(); + private Optional destinationResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Update a Destination and fully overwrite it */ - public Builder destinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + public Builder destinationResponse(DestinationResponse destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = Optional.ofNullable(destinationResponse); return this; @@ -212,7 +216,7 @@ public Builder destinationResponse(com.airbyte.api.models.shared.DestinationResp /** * Update a Destination and fully overwrite it */ - public Builder destinationResponse(Optional destinationResponse) { + public Builder destinationResponse(Optional destinationResponse) { Utils.checkNotNull(destinationResponse, "destinationResponse"); this.destinationResponse = destinationResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java b/src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java index 24978f1ef..d5db3b228 100644 --- a/src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java @@ -1,32 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.SourcePutRequest; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class PutSourceRequest { @SpeakeasyMetadata("request:mediaType=application/json") - private Optional sourcePutRequest; + private Optional sourcePutRequest; @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sourceId") private String sourceId; @JsonCreator public PutSourceRequest( - Optional sourcePutRequest, + Optional sourcePutRequest, String sourceId) { Utils.checkNotNull(sourcePutRequest, "sourcePutRequest"); Utils.checkNotNull(sourceId, "sourceId"); @@ -41,8 +42,8 @@ public PutSourceRequest( @SuppressWarnings("unchecked") @JsonIgnore - public Optional sourcePutRequest() { - return (Optional) sourcePutRequest; + public Optional sourcePutRequest() { + return (Optional) sourcePutRequest; } @JsonIgnore @@ -54,13 +55,13 @@ public final static Builder builder() { return new Builder(); } - public PutSourceRequest withSourcePutRequest(com.airbyte.api.models.shared.SourcePutRequest sourcePutRequest) { + public PutSourceRequest withSourcePutRequest(SourcePutRequest sourcePutRequest) { Utils.checkNotNull(sourcePutRequest, "sourcePutRequest"); this.sourcePutRequest = Optional.ofNullable(sourcePutRequest); return this; } - public PutSourceRequest withSourcePutRequest(Optional sourcePutRequest) { + public PutSourceRequest withSourcePutRequest(Optional sourcePutRequest) { Utils.checkNotNull(sourcePutRequest, "sourcePutRequest"); this.sourcePutRequest = sourcePutRequest; return this; @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } PutSourceRequest other = (PutSourceRequest) o; return - java.util.Objects.deepEquals(this.sourcePutRequest, other.sourcePutRequest) && - java.util.Objects.deepEquals(this.sourceId, other.sourceId); + Objects.deepEquals(this.sourcePutRequest, other.sourcePutRequest) && + Objects.deepEquals(this.sourceId, other.sourceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourcePutRequest, sourceId); } @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private Optional sourcePutRequest = Optional.empty(); + private Optional sourcePutRequest = Optional.empty(); private String sourceId; @@ -110,13 +111,13 @@ private Builder() { // force use of static builder() method } - public Builder sourcePutRequest(com.airbyte.api.models.shared.SourcePutRequest sourcePutRequest) { + public Builder sourcePutRequest(SourcePutRequest sourcePutRequest) { Utils.checkNotNull(sourcePutRequest, "sourcePutRequest"); this.sourcePutRequest = Optional.ofNullable(sourcePutRequest); return this; } - public Builder sourcePutRequest(Optional sourcePutRequest) { + public Builder sourcePutRequest(Optional sourcePutRequest) { Utils.checkNotNull(sourcePutRequest, "sourcePutRequest"); this.sourcePutRequest = sourcePutRequest; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/PutSourceRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/PutSourceRequestBuilder.java index b2e0254e4..b32f6a9bc 100644 --- a/src/main/java/com/airbyte/api/models/operations/PutSourceRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/PutSourceRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class PutSourceRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java b/src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java index 368ed0dae..197b0afaf 100644 --- a/src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.SourceResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class PutSourceResponse implements com.airbyte.api.utils.Response { + +public class PutSourceResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class PutSourceResponse implements com.airbyte.api.utils.Response { /** * Update a source and fully overwrite it */ - private Optional sourceResponse; + private Optional sourceResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class PutSourceResponse implements com.airbyte.api.utils.Response { @JsonCreator public PutSourceResponse( String contentType, - Optional sourceResponse, + Optional sourceResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional sourceResponse() { - return (Optional) sourceResponse; + public Optional sourceResponse() { + return (Optional) sourceResponse; } /** @@ -110,7 +114,7 @@ public PutSourceResponse withContentType(String contentType) { /** * Update a source and fully overwrite it */ - public PutSourceResponse withSourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + public PutSourceResponse withSourceResponse(SourceResponse sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = Optional.ofNullable(sourceResponse); return this; @@ -119,7 +123,7 @@ public PutSourceResponse withSourceResponse(com.airbyte.api.models.shared.Source /** * Update a source and fully overwrite it */ - public PutSourceResponse withSourceResponse(Optional sourceResponse) { + public PutSourceResponse withSourceResponse(Optional sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = sourceResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } PutSourceResponse other = (PutSourceResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.sourceResponse, other.sourceResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.sourceResponse, other.sourceResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, sourceResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional sourceResponse = Optional.empty(); + private Optional sourceResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Update a source and fully overwrite it */ - public Builder sourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + public Builder sourceResponse(SourceResponse sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = Optional.ofNullable(sourceResponse); return this; @@ -212,7 +216,7 @@ public Builder sourceResponse(com.airbyte.api.models.shared.SourceResponse sourc /** * Update a source and fully overwrite it */ - public Builder sourceResponse(Optional sourceResponse) { + public Builder sourceResponse(Optional sourceResponse) { Utils.checkNotNull(sourceResponse, "sourceResponse"); this.sourceResponse = sourceResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/SDKMethodInterfaces.java b/src/main/java/com/airbyte/api/models/operations/SDKMethodInterfaces.java index 676dbb5e9..ba4b7c3bb 100644 --- a/src/main/java/com/airbyte/api/models/operations/SDKMethodInterfaces.java +++ b/src/main/java/com/airbyte/api/models/operations/SDKMethodInterfaces.java @@ -1,236 +1,240 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; +import com.airbyte.api.models.shared.ConnectionCreateRequest; +import com.airbyte.api.models.shared.DestinationCreateRequest; +import com.airbyte.api.models.shared.InitiateOauthRequest; +import com.airbyte.api.models.shared.JobCreateRequest; +import com.airbyte.api.models.shared.PermissionCreateRequest; +import com.airbyte.api.models.shared.SourceCreateRequest; +import com.airbyte.api.models.shared.WorkspaceCreateRequest; +import java.lang.Exception; import java.util.Optional; -import org.openapitools.jackson.nullable.JsonNullable; - public class SDKMethodInterfaces { + public interface MethodCallCreateConnection { - com.airbyte.api.models.operations.CreateConnectionResponse createConnection( - com.airbyte.api.models.shared.ConnectionCreateRequest request) throws Exception; + CreateConnectionResponse createConnection( + ConnectionCreateRequest request) throws Exception; } public interface MethodCallDeleteConnection { - com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnection( - com.airbyte.api.models.operations.DeleteConnectionRequest request) throws Exception; + DeleteConnectionResponse deleteConnection( + DeleteConnectionRequest request) throws Exception; } public interface MethodCallGetConnection { - com.airbyte.api.models.operations.GetConnectionResponse getConnection( - com.airbyte.api.models.operations.GetConnectionRequest request) throws Exception; + GetConnectionResponse getConnection( + GetConnectionRequest request) throws Exception; } public interface MethodCallListConnections { - com.airbyte.api.models.operations.ListConnectionsResponse listConnections( - com.airbyte.api.models.operations.ListConnectionsRequest request) throws Exception; + ListConnectionsResponse listConnections( + ListConnectionsRequest request) throws Exception; } public interface MethodCallPatchConnection { - com.airbyte.api.models.operations.PatchConnectionResponse patchConnection( - com.airbyte.api.models.operations.PatchConnectionRequest request) throws Exception; + PatchConnectionResponse patchConnection( + PatchConnectionRequest request) throws Exception; } public interface MethodCallCreateDestination { - com.airbyte.api.models.operations.CreateDestinationResponse createDestination( - Optional request) throws Exception; + CreateDestinationResponse createDestination( + Optional request) throws Exception; } public interface MethodCallDeleteDestination { - com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestination( - com.airbyte.api.models.operations.DeleteDestinationRequest request) throws Exception; + DeleteDestinationResponse deleteDestination( + DeleteDestinationRequest request) throws Exception; } public interface MethodCallGetDestination { - com.airbyte.api.models.operations.GetDestinationResponse getDestination( - com.airbyte.api.models.operations.GetDestinationRequest request) throws Exception; + GetDestinationResponse getDestination( + GetDestinationRequest request) throws Exception; } public interface MethodCallListDestinations { - com.airbyte.api.models.operations.ListDestinationsResponse listDestinations( - com.airbyte.api.models.operations.ListDestinationsRequest request) throws Exception; + ListDestinationsResponse listDestinations( + ListDestinationsRequest request) throws Exception; } public interface MethodCallPatchDestination { - com.airbyte.api.models.operations.PatchDestinationResponse patchDestination( - com.airbyte.api.models.operations.PatchDestinationRequest request) throws Exception; + PatchDestinationResponse patchDestination( + PatchDestinationRequest request) throws Exception; } public interface MethodCallPutDestination { - com.airbyte.api.models.operations.PutDestinationResponse putDestination( - com.airbyte.api.models.operations.PutDestinationRequest request) throws Exception; + PutDestinationResponse putDestination( + PutDestinationRequest request) throws Exception; } public interface MethodCallGetHealthCheck { - com.airbyte.api.models.operations.GetHealthCheckResponse getHealthCheckDirect() throws Exception; + GetHealthCheckResponse getHealthCheckDirect() throws Exception; } public interface MethodCallCancelJob { - com.airbyte.api.models.operations.CancelJobResponse cancelJob( - com.airbyte.api.models.operations.CancelJobRequest request) throws Exception; + CancelJobResponse cancelJob( + CancelJobRequest request) throws Exception; } public interface MethodCallCreateJob { - com.airbyte.api.models.operations.CreateJobResponse createJob( - com.airbyte.api.models.shared.JobCreateRequest request) throws Exception; + CreateJobResponse createJob( + JobCreateRequest request) throws Exception; } public interface MethodCallGetJob { - com.airbyte.api.models.operations.GetJobResponse getJob( - com.airbyte.api.models.operations.GetJobRequest request) throws Exception; + GetJobResponse getJob( + GetJobRequest request) throws Exception; } public interface MethodCallListJobs { - com.airbyte.api.models.operations.ListJobsResponse listJobs( - com.airbyte.api.models.operations.ListJobsRequest request) throws Exception; + ListJobsResponse listJobs( + ListJobsRequest request) throws Exception; } public interface MethodCallListOrganizationsForUser { - com.airbyte.api.models.operations.ListOrganizationsForUserResponse listOrganizationsForUserDirect() throws Exception; + ListOrganizationsForUserResponse listOrganizationsForUserDirect() throws Exception; } public interface MethodCallCreatePermission { - com.airbyte.api.models.operations.CreatePermissionResponse createPermission( - com.airbyte.api.models.shared.PermissionCreateRequest request) throws Exception; + CreatePermissionResponse createPermission( + PermissionCreateRequest request) throws Exception; } public interface MethodCallDeletePermission { - com.airbyte.api.models.operations.DeletePermissionResponse deletePermission( - com.airbyte.api.models.operations.DeletePermissionRequest request) throws Exception; + DeletePermissionResponse deletePermission( + DeletePermissionRequest request) throws Exception; } public interface MethodCallGetPermission { - com.airbyte.api.models.operations.GetPermissionResponse getPermission( - com.airbyte.api.models.operations.GetPermissionRequest request) throws Exception; + GetPermissionResponse getPermission( + GetPermissionRequest request) throws Exception; } public interface MethodCallListPermissions { - com.airbyte.api.models.operations.ListPermissionsResponse listPermissions( - com.airbyte.api.models.operations.ListPermissionsRequest request) throws Exception; + ListPermissionsResponse listPermissions( + ListPermissionsRequest request) throws Exception; } public interface MethodCallUpdatePermission { - com.airbyte.api.models.operations.UpdatePermissionResponse updatePermission( - com.airbyte.api.models.operations.UpdatePermissionRequest request) throws Exception; + UpdatePermissionResponse updatePermission( + UpdatePermissionRequest request) throws Exception; } public interface MethodCallCreateSource { - com.airbyte.api.models.operations.CreateSourceResponse createSource( - Optional request) throws Exception; + CreateSourceResponse createSource( + Optional request) throws Exception; } public interface MethodCallDeleteSource { - com.airbyte.api.models.operations.DeleteSourceResponse deleteSource( - com.airbyte.api.models.operations.DeleteSourceRequest request) throws Exception; + DeleteSourceResponse deleteSource( + DeleteSourceRequest request) throws Exception; } public interface MethodCallGetSource { - com.airbyte.api.models.operations.GetSourceResponse getSource( - com.airbyte.api.models.operations.GetSourceRequest request) throws Exception; + GetSourceResponse getSource( + GetSourceRequest request) throws Exception; } public interface MethodCallInitiateOAuth { - com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth( - com.airbyte.api.models.shared.InitiateOauthRequest request) throws Exception; + InitiateOAuthResponse initiateOAuth( + InitiateOauthRequest request) throws Exception; } public interface MethodCallListSources { - com.airbyte.api.models.operations.ListSourcesResponse listSources( - com.airbyte.api.models.operations.ListSourcesRequest request) throws Exception; + ListSourcesResponse listSources( + ListSourcesRequest request) throws Exception; } public interface MethodCallPatchSource { - com.airbyte.api.models.operations.PatchSourceResponse patchSource( - com.airbyte.api.models.operations.PatchSourceRequest request) throws Exception; + PatchSourceResponse patchSource( + PatchSourceRequest request) throws Exception; } public interface MethodCallPutSource { - com.airbyte.api.models.operations.PutSourceResponse putSource( - com.airbyte.api.models.operations.PutSourceRequest request) throws Exception; + PutSourceResponse putSource( + PutSourceRequest request) throws Exception; } public interface MethodCallGetStreamProperties { - com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamProperties( - com.airbyte.api.models.operations.GetStreamPropertiesRequest request) throws Exception; + GetStreamPropertiesResponse getStreamProperties( + GetStreamPropertiesRequest request) throws Exception; } public interface MethodCallListUsersWithinAnOrganization { - com.airbyte.api.models.operations.ListUsersWithinAnOrganizationResponse listUsersWithinAnOrganization( - com.airbyte.api.models.operations.ListUsersWithinAnOrganizationRequest request) throws Exception; + ListUsersWithinAnOrganizationResponse listUsersWithinAnOrganization( + ListUsersWithinAnOrganizationRequest request) throws Exception; } public interface MethodCallCreateOrUpdateWorkspaceOAuthCredentials { - com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse createOrUpdateWorkspaceOAuthCredentials( - com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequest request) throws Exception; + CreateOrUpdateWorkspaceOAuthCredentialsResponse createOrUpdateWorkspaceOAuthCredentials( + CreateOrUpdateWorkspaceOAuthCredentialsRequest request) throws Exception; } public interface MethodCallCreateWorkspace { - com.airbyte.api.models.operations.CreateWorkspaceResponse createWorkspace( - com.airbyte.api.models.shared.WorkspaceCreateRequest request) throws Exception; + CreateWorkspaceResponse createWorkspace( + WorkspaceCreateRequest request) throws Exception; } public interface MethodCallDeleteWorkspace { - com.airbyte.api.models.operations.DeleteWorkspaceResponse deleteWorkspace( - com.airbyte.api.models.operations.DeleteWorkspaceRequest request) throws Exception; + DeleteWorkspaceResponse deleteWorkspace( + DeleteWorkspaceRequest request) throws Exception; } public interface MethodCallGetWorkspace { - com.airbyte.api.models.operations.GetWorkspaceResponse getWorkspace( - com.airbyte.api.models.operations.GetWorkspaceRequest request) throws Exception; + GetWorkspaceResponse getWorkspace( + GetWorkspaceRequest request) throws Exception; } public interface MethodCallListWorkspaces { - com.airbyte.api.models.operations.ListWorkspacesResponse listWorkspaces( - com.airbyte.api.models.operations.ListWorkspacesRequest request) throws Exception; + ListWorkspacesResponse listWorkspaces( + ListWorkspacesRequest request) throws Exception; } public interface MethodCallUpdateWorkspace { - com.airbyte.api.models.operations.UpdateWorkspaceResponse updateWorkspace( - com.airbyte.api.models.operations.UpdateWorkspaceRequest request) throws Exception; + UpdateWorkspaceResponse updateWorkspace( + UpdateWorkspaceRequest request) throws Exception; } + } diff --git a/src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequest.java b/src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequest.java index fd4769852..1dd181cd2 100644 --- a/src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequest.java @@ -1,31 +1,31 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.PermissionUpdateRequest; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class UpdatePermissionRequest { @SpeakeasyMetadata("request:mediaType=application/json") - private com.airbyte.api.models.shared.PermissionUpdateRequest permissionUpdateRequest; + private PermissionUpdateRequest permissionUpdateRequest; @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=permissionId") private String permissionId; @JsonCreator public UpdatePermissionRequest( - com.airbyte.api.models.shared.PermissionUpdateRequest permissionUpdateRequest, + PermissionUpdateRequest permissionUpdateRequest, String permissionId) { Utils.checkNotNull(permissionUpdateRequest, "permissionUpdateRequest"); Utils.checkNotNull(permissionId, "permissionId"); @@ -34,7 +34,7 @@ public UpdatePermissionRequest( } @JsonIgnore - public com.airbyte.api.models.shared.PermissionUpdateRequest permissionUpdateRequest() { + public PermissionUpdateRequest permissionUpdateRequest() { return permissionUpdateRequest; } @@ -47,7 +47,7 @@ public final static Builder builder() { return new Builder(); } - public UpdatePermissionRequest withPermissionUpdateRequest(com.airbyte.api.models.shared.PermissionUpdateRequest permissionUpdateRequest) { + public UpdatePermissionRequest withPermissionUpdateRequest(PermissionUpdateRequest permissionUpdateRequest) { Utils.checkNotNull(permissionUpdateRequest, "permissionUpdateRequest"); this.permissionUpdateRequest = permissionUpdateRequest; return this; @@ -69,13 +69,13 @@ public boolean equals(java.lang.Object o) { } UpdatePermissionRequest other = (UpdatePermissionRequest) o; return - java.util.Objects.deepEquals(this.permissionUpdateRequest, other.permissionUpdateRequest) && - java.util.Objects.deepEquals(this.permissionId, other.permissionId); + Objects.deepEquals(this.permissionUpdateRequest, other.permissionUpdateRequest) && + Objects.deepEquals(this.permissionId, other.permissionId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( permissionUpdateRequest, permissionId); } @@ -89,7 +89,7 @@ public String toString() { public final static class Builder { - private com.airbyte.api.models.shared.PermissionUpdateRequest permissionUpdateRequest; + private PermissionUpdateRequest permissionUpdateRequest; private String permissionId; @@ -97,7 +97,7 @@ private Builder() { // force use of static builder() method } - public Builder permissionUpdateRequest(com.airbyte.api.models.shared.PermissionUpdateRequest permissionUpdateRequest) { + public Builder permissionUpdateRequest(PermissionUpdateRequest permissionUpdateRequest) { Utils.checkNotNull(permissionUpdateRequest, "permissionUpdateRequest"); this.permissionUpdateRequest = permissionUpdateRequest; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequestBuilder.java index 0f586884b..ddedcbfa1 100644 --- a/src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/UpdatePermissionRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class UpdatePermissionRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/UpdatePermissionResponse.java b/src/main/java/com/airbyte/api/models/operations/UpdatePermissionResponse.java index f28d8e333..644c28ea9 100644 --- a/src/main/java/com/airbyte/api/models/operations/UpdatePermissionResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/UpdatePermissionResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.PermissionResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class UpdatePermissionResponse implements com.airbyte.api.utils.Response { + +public class UpdatePermissionResponse implements Response { /** * HTTP response content type for this operation @@ -26,7 +30,7 @@ public class UpdatePermissionResponse implements com.airbyte.api.utils.Response /** * Successful updated */ - private Optional permissionResponse; + private Optional permissionResponse; /** * HTTP response status code for this operation @@ -41,7 +45,7 @@ public class UpdatePermissionResponse implements com.airbyte.api.utils.Response @JsonCreator public UpdatePermissionResponse( String contentType, - Optional permissionResponse, + Optional permissionResponse, int statusCode, HttpResponse rawResponse) { Utils.checkNotNull(contentType, "contentType"); @@ -74,8 +78,8 @@ public String contentType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional permissionResponse() { - return (Optional) permissionResponse; + public Optional permissionResponse() { + return (Optional) permissionResponse; } /** @@ -110,7 +114,7 @@ public UpdatePermissionResponse withContentType(String contentType) { /** * Successful updated */ - public UpdatePermissionResponse withPermissionResponse(com.airbyte.api.models.shared.PermissionResponse permissionResponse) { + public UpdatePermissionResponse withPermissionResponse(PermissionResponse permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = Optional.ofNullable(permissionResponse); return this; @@ -119,7 +123,7 @@ public UpdatePermissionResponse withPermissionResponse(com.airbyte.api.models.sh /** * Successful updated */ - public UpdatePermissionResponse withPermissionResponse(Optional permissionResponse) { + public UpdatePermissionResponse withPermissionResponse(Optional permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = permissionResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } UpdatePermissionResponse other = (UpdatePermissionResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.permissionResponse, other.permissionResponse) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.permissionResponse, other.permissionResponse) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, permissionResponse, statusCode, @@ -181,7 +185,7 @@ public final static class Builder { private String contentType; - private Optional permissionResponse = Optional.empty(); + private Optional permissionResponse = Optional.empty(); private Integer statusCode; @@ -203,7 +207,7 @@ public Builder contentType(String contentType) { /** * Successful updated */ - public Builder permissionResponse(com.airbyte.api.models.shared.PermissionResponse permissionResponse) { + public Builder permissionResponse(PermissionResponse permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = Optional.ofNullable(permissionResponse); return this; @@ -212,7 +216,7 @@ public Builder permissionResponse(com.airbyte.api.models.shared.PermissionRespon /** * Successful updated */ - public Builder permissionResponse(Optional permissionResponse) { + public Builder permissionResponse(Optional permissionResponse) { Utils.checkNotNull(permissionResponse, "permissionResponse"); this.permissionResponse = permissionResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequest.java b/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequest.java index 422986b77..dbbcc37bb 100644 --- a/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequest.java +++ b/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequest.java @@ -1,31 +1,31 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.WorkspaceUpdateRequest; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class UpdateWorkspaceRequest { @SpeakeasyMetadata("request:mediaType=application/json") - private com.airbyte.api.models.shared.WorkspaceUpdateRequest workspaceUpdateRequest; + private WorkspaceUpdateRequest workspaceUpdateRequest; @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=workspaceId") private String workspaceId; @JsonCreator public UpdateWorkspaceRequest( - com.airbyte.api.models.shared.WorkspaceUpdateRequest workspaceUpdateRequest, + WorkspaceUpdateRequest workspaceUpdateRequest, String workspaceId) { Utils.checkNotNull(workspaceUpdateRequest, "workspaceUpdateRequest"); Utils.checkNotNull(workspaceId, "workspaceId"); @@ -34,7 +34,7 @@ public UpdateWorkspaceRequest( } @JsonIgnore - public com.airbyte.api.models.shared.WorkspaceUpdateRequest workspaceUpdateRequest() { + public WorkspaceUpdateRequest workspaceUpdateRequest() { return workspaceUpdateRequest; } @@ -47,7 +47,7 @@ public final static Builder builder() { return new Builder(); } - public UpdateWorkspaceRequest withWorkspaceUpdateRequest(com.airbyte.api.models.shared.WorkspaceUpdateRequest workspaceUpdateRequest) { + public UpdateWorkspaceRequest withWorkspaceUpdateRequest(WorkspaceUpdateRequest workspaceUpdateRequest) { Utils.checkNotNull(workspaceUpdateRequest, "workspaceUpdateRequest"); this.workspaceUpdateRequest = workspaceUpdateRequest; return this; @@ -69,13 +69,13 @@ public boolean equals(java.lang.Object o) { } UpdateWorkspaceRequest other = (UpdateWorkspaceRequest) o; return - java.util.Objects.deepEquals(this.workspaceUpdateRequest, other.workspaceUpdateRequest) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.workspaceUpdateRequest, other.workspaceUpdateRequest) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( workspaceUpdateRequest, workspaceId); } @@ -89,7 +89,7 @@ public String toString() { public final static class Builder { - private com.airbyte.api.models.shared.WorkspaceUpdateRequest workspaceUpdateRequest; + private WorkspaceUpdateRequest workspaceUpdateRequest; private String workspaceId; @@ -97,7 +97,7 @@ private Builder() { // force use of static builder() method } - public Builder workspaceUpdateRequest(com.airbyte.api.models.shared.WorkspaceUpdateRequest workspaceUpdateRequest) { + public Builder workspaceUpdateRequest(WorkspaceUpdateRequest workspaceUpdateRequest) { Utils.checkNotNull(workspaceUpdateRequest, "workspaceUpdateRequest"); this.workspaceUpdateRequest = workspaceUpdateRequest; return this; diff --git a/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequestBuilder.java b/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequestBuilder.java index 59e52f63a..3a3e1c90e 100644 --- a/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequestBuilder.java +++ b/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceRequestBuilder.java @@ -1,21 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; -import com.airbyte.api.models.errors.SDKError; -import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.core.type.TypeReference; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.LocalDate; -import java.time.OffsetDateTime; -import java.util.Optional; -import java.util.stream.Stream; -import org.openapitools.jackson.nullable.JsonNullable; - public class UpdateWorkspaceRequestBuilder { diff --git a/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceResponse.java b/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceResponse.java index 87ef5a70d..8541395e4 100644 --- a/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceResponse.java +++ b/src/main/java/com/airbyte/api/models/operations/UpdateWorkspaceResponse.java @@ -1,22 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.operations; + +import com.airbyte.api.models.shared.WorkspaceResponse; +import com.airbyte.api.utils.Response; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Integer; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.net.http.HttpResponse; +import java.util.Objects; import java.util.Optional; -public class UpdateWorkspaceResponse implements com.airbyte.api.utils.Response { + +public class UpdateWorkspaceResponse implements Response { /** * HTTP response content type for this operation @@ -36,14 +40,14 @@ public class UpdateWorkspaceResponse implements com.airbyte.api.utils.Response { /** * Successful operation */ - private Optional workspaceResponse; + private Optional workspaceResponse; @JsonCreator public UpdateWorkspaceResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional workspaceResponse) { + Optional workspaceResponse) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); @@ -90,8 +94,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional workspaceResponse() { - return (Optional) workspaceResponse; + public Optional workspaceResponse() { + return (Optional) workspaceResponse; } public final static Builder builder() { @@ -128,7 +132,7 @@ public UpdateWorkspaceResponse withRawResponse(HttpResponse rawResp /** * Successful operation */ - public UpdateWorkspaceResponse withWorkspaceResponse(com.airbyte.api.models.shared.WorkspaceResponse workspaceResponse) { + public UpdateWorkspaceResponse withWorkspaceResponse(WorkspaceResponse workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = Optional.ofNullable(workspaceResponse); return this; @@ -137,7 +141,7 @@ public UpdateWorkspaceResponse withWorkspaceResponse(com.airbyte.api.models.shar /** * Successful operation */ - public UpdateWorkspaceResponse withWorkspaceResponse(Optional workspaceResponse) { + public UpdateWorkspaceResponse withWorkspaceResponse(Optional workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = workspaceResponse; return this; @@ -153,15 +157,15 @@ public boolean equals(java.lang.Object o) { } UpdateWorkspaceResponse other = (UpdateWorkspaceResponse) o; return - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.statusCode, other.statusCode) && - java.util.Objects.deepEquals(this.rawResponse, other.rawResponse) && - java.util.Objects.deepEquals(this.workspaceResponse, other.workspaceResponse); + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.statusCode, other.statusCode) && + Objects.deepEquals(this.rawResponse, other.rawResponse) && + Objects.deepEquals(this.workspaceResponse, other.workspaceResponse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( contentType, statusCode, rawResponse, @@ -185,7 +189,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional workspaceResponse = Optional.empty(); + private Optional workspaceResponse = Optional.empty(); private Builder() { // force use of static builder() method @@ -221,7 +225,7 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful operation */ - public Builder workspaceResponse(com.airbyte.api.models.shared.WorkspaceResponse workspaceResponse) { + public Builder workspaceResponse(WorkspaceResponse workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = Optional.ofNullable(workspaceResponse); return this; @@ -230,7 +234,7 @@ public Builder workspaceResponse(com.airbyte.api.models.shared.WorkspaceResponse /** * Successful operation */ - public Builder workspaceResponse(Optional workspaceResponse) { + public Builder workspaceResponse(Optional workspaceResponse) { Utils.checkNotNull(workspaceResponse, "workspaceResponse"); this.workspaceResponse = workspaceResponse; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/APIAccessToken.java b/src/main/java/com/airbyte/api/models/shared/APIAccessToken.java index decdda243..c42141a0c 100644 --- a/src/main/java/com/airbyte/api/models/shared/APIAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/APIAccessToken.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class APIAccessToken { /** @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } APIAccessToken other = (APIAccessToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/APIEndpoint.java b/src/main/java/com/airbyte/api/models/shared/APIEndpoint.java index 80f97fff1..8da9c7d34 100644 --- a/src/main/java/com/airbyte/api/models/shared/APIEndpoint.java +++ b/src/main/java/com/airbyte/api/models/shared/APIEndpoint.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = APIEndpoint._Deserializer.class) public class APIEndpoint { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private APIEndpoint(TypedObject value) { @@ -45,8 +42,8 @@ public static APIEndpoint of(Enterprise value) { /** * Returns an instance of one of these types: *
      - *
    • {@code Basic}
    • - *
    • {@code Enterprise}
    • + *
    • {@code com.airbyte.api.models.shared.Basic}
    • + *
    • {@code com.airbyte.api.models.shared.Enterprise}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } APIEndpoint other = (APIEndpoint) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(APIEndpoint.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(APIEndpoint.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/APIEndpointPrefix.java b/src/main/java/com/airbyte/api/models/shared/APIEndpointPrefix.java new file mode 100644 index 000000000..00e51fec0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/APIEndpointPrefix.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum APIEndpointPrefix { + API("api"), + API_EU("api.eu"); + + @JsonValue + private final String value; + + private APIEndpointPrefix(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/APIKey.java b/src/main/java/com/airbyte/api/models/shared/APIKey.java index 52170b774..2813ccd50 100644 --- a/src/main/java/com/airbyte/api/models/shared/APIKey.java +++ b/src/main/java/com/airbyte/api/models/shared/APIKey.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class APIKey { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } APIKey other = (APIKey) o; return - java.util.Objects.deepEquals(this.apikey, other.apikey) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.apikey, other.apikey) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apikey, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/APIParameterConfigModel.java b/src/main/java/com/airbyte/api/models/shared/APIParameterConfigModel.java index cf686851b..7cbeae223 100644 --- a/src/main/java/com/airbyte/api/models/shared/APIParameterConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/APIParameterConfigModel.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class APIParameterConfigModel { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } APIParameterConfigModel other = (APIParameterConfigModel) o; return - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( name, value); } diff --git a/src/main/java/com/airbyte/api/models/shared/APIPassword.java b/src/main/java/com/airbyte/api/models/shared/APIPassword.java index 070ed333a..e73f1b692 100644 --- a/src/main/java/com/airbyte/api/models/shared/APIPassword.java +++ b/src/main/java/com/airbyte/api/models/shared/APIPassword.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * APIPassword - API Password Auth */ @@ -74,13 +74,13 @@ public boolean equals(java.lang.Object o) { } APIPassword other = (APIPassword) o; return - java.util.Objects.deepEquals(this.apiPassword, other.apiPassword) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod); + Objects.deepEquals(this.apiPassword, other.apiPassword) && + Objects.deepEquals(this.authMethod, other.authMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiPassword, authMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/APIServer.java b/src/main/java/com/airbyte/api/models/shared/APIServer.java index 1671d0cf8..de11cb15e 100644 --- a/src/main/java/com/airbyte/api/models/shared/APIServer.java +++ b/src/main/java/com/airbyte/api/models/shared/APIServer.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum APIServer { US("us"), diff --git a/src/main/java/com/airbyte/api/models/shared/APIToken.java b/src/main/java/com/airbyte/api/models/shared/APIToken.java index 2bb39cf1b..e645547dd 100644 --- a/src/main/java/com/airbyte/api/models/shared/APIToken.java +++ b/src/main/java/com/airbyte/api/models/shared/APIToken.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class APIToken { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } APIToken other = (APIToken) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/AWSEnvironment.java b/src/main/java/com/airbyte/api/models/shared/AWSEnvironment.java index d9cccf0ff..b6c352c3f 100644 --- a/src/main/java/com/airbyte/api/models/shared/AWSEnvironment.java +++ b/src/main/java/com/airbyte/api/models/shared/AWSEnvironment.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * AWSEnvironment - Select the AWS Environment. diff --git a/src/main/java/com/airbyte/api/models/shared/AWSRegion.java b/src/main/java/com/airbyte/api/models/shared/AWSRegion.java index 973b07e6b..6a708b581 100644 --- a/src/main/java/com/airbyte/api/models/shared/AWSRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/AWSRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * AWSRegion - Select the AWS Region. diff --git a/src/main/java/com/airbyte/api/models/shared/AWSS3Staging.java b/src/main/java/com/airbyte/api/models/shared/AWSS3Staging.java index 353d5d892..d97e6b713 100644 --- a/src/main/java/com/airbyte/api/models/shared/AWSS3Staging.java +++ b/src/main/java/com/airbyte/api/models/shared/AWSS3Staging.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * AWSS3Staging - <i>(recommended)</i> Uploads data to S3 and then uses a COPY to insert the data into Redshift. COPY is recommended for production workloads for better speed and scalability. See <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html">AWS docs</a> for more details. */ @@ -35,7 +37,7 @@ public class AWSS3Staging { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("file_name_pattern") - private Optional fileNamePattern; + private Optional fileNamePattern; @JsonProperty("method") private DestinationRedshiftMethod method; @@ -45,7 +47,7 @@ public class AWSS3Staging { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("purge_staging_data") - private Optional purgeStagingData; + private Optional purgeStagingData; /** * The name of the staging S3 bucket. @@ -58,7 +60,7 @@ public class AWSS3Staging { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("s3_bucket_path") - private Optional s3BucketPath; + private Optional s3BucketPath; /** * The region of the S3 staging bucket. @@ -76,10 +78,10 @@ public class AWSS3Staging { @JsonCreator public AWSS3Staging( @JsonProperty("access_key_id") String accessKeyId, - @JsonProperty("file_name_pattern") Optional fileNamePattern, - @JsonProperty("purge_staging_data") Optional purgeStagingData, + @JsonProperty("file_name_pattern") Optional fileNamePattern, + @JsonProperty("purge_staging_data") Optional purgeStagingData, @JsonProperty("s3_bucket_name") String s3BucketName, - @JsonProperty("s3_bucket_path") Optional s3BucketPath, + @JsonProperty("s3_bucket_path") Optional s3BucketPath, @JsonProperty("s3_bucket_region") Optional s3BucketRegion, @JsonProperty("secret_access_key") String secretAccessKey) { Utils.checkNotNull(accessKeyId, "accessKeyId"); @@ -117,10 +119,9 @@ public String accessKeyId() { /** * The pattern allows you to set the file-name format for the S3 staging file(s) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional fileNamePattern() { - return (Optional) fileNamePattern; + return fileNamePattern; } @JsonIgnore @@ -131,10 +132,9 @@ public DestinationRedshiftMethod method() { /** * Whether to delete the staging files from S3 after completing the sync. See <a href="https://docs.airbyte.com/integrations/destinations/redshift/#:~:text=the%20root%20directory.-,Purge%20Staging%20Data,-Whether%20to%20delete"> docs</a> for details. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional purgeStagingData() { - return (Optional) purgeStagingData; + return purgeStagingData; } /** @@ -148,10 +148,9 @@ public String s3BucketName() { /** * The directory under the S3 bucket where data will be written. If not provided, then defaults to the root directory. See <a href="https://docs.aws.amazon.com/prescriptive-guidance/latest/defining-bucket-names-data-lakes/faq.html#:~:text=be%20globally%20unique.-,For%20S3%20bucket%20paths,-%2C%20you%20can%20use">path's name recommendations</a> for more details. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional s3BucketPath() { - return (Optional) s3BucketPath; + return s3BucketPath; } /** @@ -196,7 +195,7 @@ public AWSS3Staging withFileNamePattern(String fileNamePattern) { /** * The pattern allows you to set the file-name format for the S3 staging file(s) */ - public AWSS3Staging withFileNamePattern(Optional fileNamePattern) { + public AWSS3Staging withFileNamePattern(Optional fileNamePattern) { Utils.checkNotNull(fileNamePattern, "fileNamePattern"); this.fileNamePattern = fileNamePattern; return this; @@ -214,7 +213,7 @@ public AWSS3Staging withPurgeStagingData(boolean purgeStagingData) { /** * Whether to delete the staging files from S3 after completing the sync. See <a href="https://docs.airbyte.com/integrations/destinations/redshift/#:~:text=the%20root%20directory.-,Purge%20Staging%20Data,-Whether%20to%20delete"> docs</a> for details. */ - public AWSS3Staging withPurgeStagingData(Optional purgeStagingData) { + public AWSS3Staging withPurgeStagingData(Optional purgeStagingData) { Utils.checkNotNull(purgeStagingData, "purgeStagingData"); this.purgeStagingData = purgeStagingData; return this; @@ -241,7 +240,7 @@ public AWSS3Staging withS3BucketPath(String s3BucketPath) { /** * The directory under the S3 bucket where data will be written. If not provided, then defaults to the root directory. See <a href="https://docs.aws.amazon.com/prescriptive-guidance/latest/defining-bucket-names-data-lakes/faq.html#:~:text=be%20globally%20unique.-,For%20S3%20bucket%20paths,-%2C%20you%20can%20use">path's name recommendations</a> for more details. */ - public AWSS3Staging withS3BucketPath(Optional s3BucketPath) { + public AWSS3Staging withS3BucketPath(Optional s3BucketPath) { Utils.checkNotNull(s3BucketPath, "s3BucketPath"); this.s3BucketPath = s3BucketPath; return this; @@ -284,19 +283,19 @@ public boolean equals(java.lang.Object o) { } AWSS3Staging other = (AWSS3Staging) o; return - java.util.Objects.deepEquals(this.accessKeyId, other.accessKeyId) && - java.util.Objects.deepEquals(this.fileNamePattern, other.fileNamePattern) && - java.util.Objects.deepEquals(this.method, other.method) && - java.util.Objects.deepEquals(this.purgeStagingData, other.purgeStagingData) && - java.util.Objects.deepEquals(this.s3BucketName, other.s3BucketName) && - java.util.Objects.deepEquals(this.s3BucketPath, other.s3BucketPath) && - java.util.Objects.deepEquals(this.s3BucketRegion, other.s3BucketRegion) && - java.util.Objects.deepEquals(this.secretAccessKey, other.secretAccessKey); + Objects.deepEquals(this.accessKeyId, other.accessKeyId) && + Objects.deepEquals(this.fileNamePattern, other.fileNamePattern) && + Objects.deepEquals(this.method, other.method) && + Objects.deepEquals(this.purgeStagingData, other.purgeStagingData) && + Objects.deepEquals(this.s3BucketName, other.s3BucketName) && + Objects.deepEquals(this.s3BucketPath, other.s3BucketPath) && + Objects.deepEquals(this.s3BucketRegion, other.s3BucketRegion) && + Objects.deepEquals(this.secretAccessKey, other.secretAccessKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKeyId, fileNamePattern, method, @@ -324,13 +323,13 @@ public final static class Builder { private String accessKeyId; - private Optional fileNamePattern = Optional.empty(); + private Optional fileNamePattern = Optional.empty(); - private Optional purgeStagingData; + private Optional purgeStagingData; private String s3BucketName; - private Optional s3BucketPath = Optional.empty(); + private Optional s3BucketPath = Optional.empty(); private Optional s3BucketRegion; @@ -361,7 +360,7 @@ public Builder fileNamePattern(String fileNamePattern) { /** * The pattern allows you to set the file-name format for the S3 staging file(s) */ - public Builder fileNamePattern(Optional fileNamePattern) { + public Builder fileNamePattern(Optional fileNamePattern) { Utils.checkNotNull(fileNamePattern, "fileNamePattern"); this.fileNamePattern = fileNamePattern; return this; @@ -379,7 +378,7 @@ public Builder purgeStagingData(boolean purgeStagingData) { /** * Whether to delete the staging files from S3 after completing the sync. See <a href="https://docs.airbyte.com/integrations/destinations/redshift/#:~:text=the%20root%20directory.-,Purge%20Staging%20Data,-Whether%20to%20delete"> docs</a> for details. */ - public Builder purgeStagingData(Optional purgeStagingData) { + public Builder purgeStagingData(Optional purgeStagingData) { Utils.checkNotNull(purgeStagingData, "purgeStagingData"); this.purgeStagingData = purgeStagingData; return this; @@ -406,7 +405,7 @@ public Builder s3BucketPath(String s3BucketPath) { /** * The directory under the S3 bucket where data will be written. If not provided, then defaults to the root directory. See <a href="https://docs.aws.amazon.com/prescriptive-guidance/latest/defining-bucket-names-data-lakes/faq.html#:~:text=be%20globally%20unique.-,For%20S3%20bucket%20paths,-%2C%20you%20can%20use">path's name recommendations</a> for more details. */ - public Builder s3BucketPath(Optional s3BucketPath) { + public Builder s3BucketPath(Optional s3BucketPath) { Utils.checkNotNull(s3BucketPath, "s3BucketPath"); this.s3BucketPath = s3BucketPath; return this; @@ -445,8 +444,7 @@ public AWSS3Staging build() { } if (s3BucketRegion == null) { s3BucketRegion = _SINGLETON_VALUE_S3BucketRegion.value(); - } - return new AWSS3Staging( + } return new AWSS3Staging( accessKeyId, fileNamePattern, purgeStagingData, @@ -462,11 +460,11 @@ public AWSS3Staging build() { "\"S3 Staging\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_PurgeStagingData = + private static final LazySingletonValue> _SINGLETON_VALUE_PurgeStagingData = new LazySingletonValue<>( "purge_staging_data", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_S3BucketRegion = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/AWSSellerPartnerAccountType.java b/src/main/java/com/airbyte/api/models/shared/AWSSellerPartnerAccountType.java index 85d8ad970..0114b6712 100644 --- a/src/main/java/com/airbyte/api/models/shared/AWSSellerPartnerAccountType.java +++ b/src/main/java/com/airbyte/api/models/shared/AWSSellerPartnerAccountType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * AWSSellerPartnerAccountType - Type of the Account you're going to authorize the Airbyte application by diff --git a/src/main/java/com/airbyte/api/models/shared/AccessToken.java b/src/main/java/com/airbyte/api/models/shared/AccessToken.java index 76b07c054..aa8d4ce41 100644 --- a/src/main/java/com/airbyte/api/models/shared/AccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/AccessToken.java @@ -1,46 +1,47 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AccessToken { /** - * The access token generated for your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. + * Drift Access Token. See the <a href="https://docs.airbyte.com/integrations/sources/drift">docs</a> for more information on how to generate this key. */ @JsonProperty("access_token") private String accessToken; @JsonInclude(Include.NON_ABSENT) - @JsonProperty("auth_method") - private Optional authMethod; + @JsonProperty("credentials") + private Optional credentials; @JsonCreator public AccessToken( @JsonProperty("access_token") String accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; - this.authMethod = Builder._SINGLETON_VALUE_AuthMethod.value(); + this.credentials = Builder._SINGLETON_VALUE_Credentials.value(); } /** - * The access token generated for your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. + * Drift Access Token. See the <a href="https://docs.airbyte.com/integrations/sources/drift">docs</a> for more information on how to generate this key. */ @JsonIgnore public String accessToken() { @@ -49,8 +50,8 @@ public String accessToken() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional authMethod() { - return (Optional) authMethod; + public Optional credentials() { + return (Optional) credentials; } public final static Builder builder() { @@ -58,7 +59,7 @@ public final static Builder builder() { } /** - * The access token generated for your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. + * Drift Access Token. See the <a href="https://docs.airbyte.com/integrations/sources/drift">docs</a> for more information on how to generate this key. */ public AccessToken withAccessToken(String accessToken) { Utils.checkNotNull(accessToken, "accessToken"); @@ -76,22 +77,22 @@ public boolean equals(java.lang.Object o) { } AccessToken other = (AccessToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, - authMethod); + credentials); } @Override public String toString() { return Utils.toString(AccessToken.class, "accessToken", accessToken, - "authMethod", authMethod); + "credentials", credentials); } public final static class Builder { @@ -103,7 +104,7 @@ private Builder() { } /** - * The access token generated for your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. + * Drift Access Token. See the <a href="https://docs.airbyte.com/integrations/sources/drift">docs</a> for more information on how to generate this key. */ public Builder accessToken(String accessToken) { Utils.checkNotNull(accessToken, "accessToken"); @@ -116,11 +117,11 @@ public AccessToken build() { accessToken); } - private static final LazySingletonValue> _SINGLETON_VALUE_AuthMethod = + private static final LazySingletonValue> _SINGLETON_VALUE_Credentials = new LazySingletonValue<>( - "auth_method", + "credentials", "\"access_token\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/AccessTokenIsRequiredForAuthenticationRequests.java b/src/main/java/com/airbyte/api/models/shared/AccessTokenIsRequiredForAuthenticationRequests.java index 5e3c301e9..0f6871172 100644 --- a/src/main/java/com/airbyte/api/models/shared/AccessTokenIsRequiredForAuthenticationRequests.java +++ b/src/main/java/com/airbyte/api/models/shared/AccessTokenIsRequiredForAuthenticationRequests.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum AccessTokenIsRequiredForAuthenticationRequests { ACCESS_TOKEN("access_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/AccountNames.java b/src/main/java/com/airbyte/api/models/shared/AccountNames.java index ebe0e270e..a41cc2eeb 100644 --- a/src/main/java/com/airbyte/api/models/shared/AccountNames.java +++ b/src/main/java/com/airbyte/api/models/shared/AccountNames.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * AccountNames - Account Names Predicates Config. */ @@ -90,13 +89,13 @@ public boolean equals(java.lang.Object o) { } AccountNames other = (AccountNames) o; return - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.operator, other.operator); + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.operator, other.operator); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( name, operator); } diff --git a/src/main/java/com/airbyte/api/models/shared/ActionReportTime.java b/src/main/java/com/airbyte/api/models/shared/ActionReportTime.java index 5b33ce8a2..c6ae9278d 100644 --- a/src/main/java/com/airbyte/api/models/shared/ActionReportTime.java +++ b/src/main/java/com/airbyte/api/models/shared/ActionReportTime.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ActionReportTime - Specifies the principle for conversion reporting. diff --git a/src/main/java/com/airbyte/api/models/shared/Activecampaign.java b/src/main/java/com/airbyte/api/models/shared/Activecampaign.java new file mode 100644 index 000000000..eee806a81 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Activecampaign.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Activecampaign { + ACTIVECAMPAIGN("activecampaign"); + + @JsonValue + private final String value; + + private Activecampaign(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ActorTypeEnum.java b/src/main/java/com/airbyte/api/models/shared/ActorTypeEnum.java index 5e8c5d6cd..e4ea852ef 100644 --- a/src/main/java/com/airbyte/api/models/shared/ActorTypeEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/ActorTypeEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ActorTypeEnum - Whether you're setting this override for a source or destination diff --git a/src/main/java/com/airbyte/api/models/shared/AdAnalyticsReportConfiguration.java b/src/main/java/com/airbyte/api/models/shared/AdAnalyticsReportConfiguration.java index 7bcd69b94..02c1e22f9 100644 --- a/src/main/java/com/airbyte/api/models/shared/AdAnalyticsReportConfiguration.java +++ b/src/main/java/com/airbyte/api/models/shared/AdAnalyticsReportConfiguration.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * AdAnalyticsReportConfiguration - Config for custom ad Analytics Report */ @@ -116,14 +115,14 @@ public boolean equals(java.lang.Object o) { } AdAnalyticsReportConfiguration other = (AdAnalyticsReportConfiguration) o; return - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.pivotBy, other.pivotBy) && - java.util.Objects.deepEquals(this.timeGranularity, other.timeGranularity); + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.pivotBy, other.pivotBy) && + Objects.deepEquals(this.timeGranularity, other.timeGranularity); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( name, pivotBy, timeGranularity); diff --git a/src/main/java/com/airbyte/api/models/shared/Agilecrm.java b/src/main/java/com/airbyte/api/models/shared/Agilecrm.java new file mode 100644 index 000000000..47d7cf718 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Agilecrm.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Agilecrm { + AGILECRM("agilecrm"); + + @JsonValue + private final String value; + + private Agilecrm(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Aha.java b/src/main/java/com/airbyte/api/models/shared/Aha.java index 807a74168..294cff66e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Aha.java +++ b/src/main/java/com/airbyte/api/models/shared/Aha.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Aha { AHA("aha"); diff --git a/src/main/java/com/airbyte/api/models/shared/Airbyte.java b/src/main/java/com/airbyte/api/models/shared/Airbyte.java index 0e8408226..65c1b342f 100644 --- a/src/main/java/com/airbyte/api/models/shared/Airbyte.java +++ b/src/main/java/com/airbyte/api/models/shared/Airbyte.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Airbyte { AIRBYTE("airbyte"); diff --git a/src/main/java/com/airbyte/api/models/shared/AirbyteApiConnectionSchedule.java b/src/main/java/com/airbyte/api/models/shared/AirbyteApiConnectionSchedule.java index d6069c399..7d98faf1a 100644 --- a/src/main/java/com/airbyte/api/models/shared/AirbyteApiConnectionSchedule.java +++ b/src/main/java/com/airbyte/api/models/shared/AirbyteApiConnectionSchedule.java @@ -1,22 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * AirbyteApiConnectionSchedule - schedule for when the the connection should run, per the schedule type */ @@ -25,14 +24,14 @@ public class AirbyteApiConnectionSchedule { @JsonInclude(Include.NON_ABSENT) @JsonProperty("cronExpression") - private Optional cronExpression; + private Optional cronExpression; @JsonProperty("scheduleType") private ScheduleTypeEnum scheduleType; @JsonCreator public AirbyteApiConnectionSchedule( - @JsonProperty("cronExpression") Optional cronExpression, + @JsonProperty("cronExpression") Optional cronExpression, @JsonProperty("scheduleType") ScheduleTypeEnum scheduleType) { Utils.checkNotNull(cronExpression, "cronExpression"); Utils.checkNotNull(scheduleType, "scheduleType"); @@ -45,10 +44,9 @@ public AirbyteApiConnectionSchedule( this(Optional.empty(), scheduleType); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional cronExpression() { - return (Optional) cronExpression; + return cronExpression; } @JsonIgnore @@ -66,7 +64,7 @@ public AirbyteApiConnectionSchedule withCronExpression(String cronExpression) { return this; } - public AirbyteApiConnectionSchedule withCronExpression(Optional cronExpression) { + public AirbyteApiConnectionSchedule withCronExpression(Optional cronExpression) { Utils.checkNotNull(cronExpression, "cronExpression"); this.cronExpression = cronExpression; return this; @@ -88,13 +86,13 @@ public boolean equals(java.lang.Object o) { } AirbyteApiConnectionSchedule other = (AirbyteApiConnectionSchedule) o; return - java.util.Objects.deepEquals(this.cronExpression, other.cronExpression) && - java.util.Objects.deepEquals(this.scheduleType, other.scheduleType); + Objects.deepEquals(this.cronExpression, other.cronExpression) && + Objects.deepEquals(this.scheduleType, other.scheduleType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cronExpression, scheduleType); } @@ -108,7 +106,7 @@ public String toString() { public final static class Builder { - private Optional cronExpression = Optional.empty(); + private Optional cronExpression = Optional.empty(); private ScheduleTypeEnum scheduleType; @@ -122,7 +120,7 @@ public Builder cronExpression(String cronExpression) { return this; } - public Builder cronExpression(Optional cronExpression) { + public Builder cronExpression(Optional cronExpression) { Utils.checkNotNull(cronExpression, "cronExpression"); this.cronExpression = cronExpression; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Aircall.java b/src/main/java/com/airbyte/api/models/shared/Aircall.java index 201828234..3b2814e83 100644 --- a/src/main/java/com/airbyte/api/models/shared/Aircall.java +++ b/src/main/java/com/airbyte/api/models/shared/Aircall.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Aircall { AIRCALL("aircall"); diff --git a/src/main/java/com/airbyte/api/models/shared/Airtable.java b/src/main/java/com/airbyte/api/models/shared/Airtable.java index 6b3d8fa33..63a272ad3 100644 --- a/src/main/java/com/airbyte/api/models/shared/Airtable.java +++ b/src/main/java/com/airbyte/api/models/shared/Airtable.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Airtable { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Airtable other = (Airtable) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/Akeneo.java b/src/main/java/com/airbyte/api/models/shared/Akeneo.java new file mode 100644 index 000000000..cc1db11a4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Akeneo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Akeneo { + AKENEO("akeneo"); + + @JsonValue + private final String value; + + private Akeneo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Algolia.java b/src/main/java/com/airbyte/api/models/shared/Algolia.java new file mode 100644 index 000000000..25565f60f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Algolia.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Algolia { + ALGOLIA("algolia"); + + @JsonValue + private final String value; + + private Algolia(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Allow.java b/src/main/java/com/airbyte/api/models/shared/Allow.java index e7f734a77..e7253524e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Allow.java +++ b/src/main/java/com/airbyte/api/models/shared/Allow.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * Allow - Allow SSL mode. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } Allow other = (Allow) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/AmazonAds.java b/src/main/java/com/airbyte/api/models/shared/AmazonAds.java index 75c467b7a..e7da9445c 100644 --- a/src/main/java/com/airbyte/api/models/shared/AmazonAds.java +++ b/src/main/java/com/airbyte/api/models/shared/AmazonAds.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class AmazonAds { /** @@ -25,19 +24,19 @@ public class AmazonAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The client secret of your Amazon Ads developer application. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens#retrieve-your-client-id-and-client-secret">docs</a> for more information. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public AmazonAds( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public AmazonAds() { /** * The client ID of your Amazon Ads developer application. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens#retrieve-your-client-id-and-client-secret">docs</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The client secret of your Amazon Ads developer application. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens#retrieve-your-client-id-and-client-secret">docs</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public AmazonAds withClientId(String clientId) { /** * The client ID of your Amazon Ads developer application. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens#retrieve-your-client-id-and-client-secret">docs</a> for more information. */ - public AmazonAds withClientId(Optional clientId) { + public AmazonAds withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public AmazonAds withClientSecret(String clientSecret) { /** * The client secret of your Amazon Ads developer application. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens#retrieve-your-client-id-and-client-secret">docs</a> for more information. */ - public AmazonAds withClientSecret(Optional clientSecret) { + public AmazonAds withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } AmazonAds other = (AmazonAds) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The client ID of your Amazon Ads developer application. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens#retrieve-your-client-id-and-client-secret">docs</a> for more information. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The client secret of your Amazon Ads developer application. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens#retrieve-your-client-id-and-client-secret">docs</a> for more information. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/AmazonSellerPartner.java b/src/main/java/com/airbyte/api/models/shared/AmazonSellerPartner.java index ef8b85f52..680158de2 100644 --- a/src/main/java/com/airbyte/api/models/shared/AmazonSellerPartner.java +++ b/src/main/java/com/airbyte/api/models/shared/AmazonSellerPartner.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class AmazonSellerPartner { /** @@ -25,19 +24,19 @@ public class AmazonSellerPartner { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lwa_app_id") - private Optional lwaAppId; + private Optional lwaAppId; /** * Your Login with Amazon Client Secret. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lwa_client_secret") - private Optional lwaClientSecret; + private Optional lwaClientSecret; @JsonCreator public AmazonSellerPartner( - @JsonProperty("lwa_app_id") Optional lwaAppId, - @JsonProperty("lwa_client_secret") Optional lwaClientSecret) { + @JsonProperty("lwa_app_id") Optional lwaAppId, + @JsonProperty("lwa_client_secret") Optional lwaClientSecret) { Utils.checkNotNull(lwaAppId, "lwaAppId"); Utils.checkNotNull(lwaClientSecret, "lwaClientSecret"); this.lwaAppId = lwaAppId; @@ -51,19 +50,17 @@ public AmazonSellerPartner() { /** * Your Login with Amazon Client ID. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lwaAppId() { - return (Optional) lwaAppId; + return lwaAppId; } /** * Your Login with Amazon Client Secret. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lwaClientSecret() { - return (Optional) lwaClientSecret; + return lwaClientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public AmazonSellerPartner withLwaAppId(String lwaAppId) { /** * Your Login with Amazon Client ID. */ - public AmazonSellerPartner withLwaAppId(Optional lwaAppId) { + public AmazonSellerPartner withLwaAppId(Optional lwaAppId) { Utils.checkNotNull(lwaAppId, "lwaAppId"); this.lwaAppId = lwaAppId; return this; @@ -100,7 +97,7 @@ public AmazonSellerPartner withLwaClientSecret(String lwaClientSecret) { /** * Your Login with Amazon Client Secret. */ - public AmazonSellerPartner withLwaClientSecret(Optional lwaClientSecret) { + public AmazonSellerPartner withLwaClientSecret(Optional lwaClientSecret) { Utils.checkNotNull(lwaClientSecret, "lwaClientSecret"); this.lwaClientSecret = lwaClientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } AmazonSellerPartner other = (AmazonSellerPartner) o; return - java.util.Objects.deepEquals(this.lwaAppId, other.lwaAppId) && - java.util.Objects.deepEquals(this.lwaClientSecret, other.lwaClientSecret); + Objects.deepEquals(this.lwaAppId, other.lwaAppId) && + Objects.deepEquals(this.lwaClientSecret, other.lwaClientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( lwaAppId, lwaClientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional lwaAppId = Optional.empty(); + private Optional lwaAppId = Optional.empty(); - private Optional lwaClientSecret = Optional.empty(); + private Optional lwaClientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder lwaAppId(String lwaAppId) { /** * Your Login with Amazon Client ID. */ - public Builder lwaAppId(Optional lwaAppId) { + public Builder lwaAppId(Optional lwaAppId) { Utils.checkNotNull(lwaAppId, "lwaAppId"); this.lwaAppId = lwaAppId; return this; @@ -174,7 +171,7 @@ public Builder lwaClientSecret(String lwaClientSecret) { /** * Your Login with Amazon Client Secret. */ - public Builder lwaClientSecret(Optional lwaClientSecret) { + public Builder lwaClientSecret(Optional lwaClientSecret) { Utils.checkNotNull(lwaClientSecret, "lwaClientSecret"); this.lwaClientSecret = lwaClientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/AmazonSqs.java b/src/main/java/com/airbyte/api/models/shared/AmazonSqs.java index 4831cb14a..1543e26b7 100644 --- a/src/main/java/com/airbyte/api/models/shared/AmazonSqs.java +++ b/src/main/java/com/airbyte/api/models/shared/AmazonSqs.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum AmazonSqs { AMAZON_SQS("amazon-sqs"); diff --git a/src/main/java/com/airbyte/api/models/shared/Amplitude.java b/src/main/java/com/airbyte/api/models/shared/Amplitude.java index eee267ab6..fe2315a98 100644 --- a/src/main/java/com/airbyte/api/models/shared/Amplitude.java +++ b/src/main/java/com/airbyte/api/models/shared/Amplitude.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Amplitude { AMPLITUDE("amplitude"); diff --git a/src/main/java/com/airbyte/api/models/shared/AndGroup.java b/src/main/java/com/airbyte/api/models/shared/AndGroup.java index c5e806097..64a997c7c 100644 --- a/src/main/java/com/airbyte/api/models/shared/AndGroup.java +++ b/src/main/java/com/airbyte/api/models/shared/AndGroup.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + /** * AndGroup - The FilterExpressions in andGroup have an AND relationship. */ @@ -22,21 +23,21 @@ public class AndGroup { @JsonProperty("expressions") - private java.util.List expressions; + private List expressions; @JsonProperty("filter_type") private FilterType filterType; @JsonCreator public AndGroup( - @JsonProperty("expressions") java.util.List expressions) { + @JsonProperty("expressions") List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; this.filterType = Builder._SINGLETON_VALUE_FilterType.value(); } @JsonIgnore - public java.util.List expressions() { + public List expressions() { return expressions; } @@ -49,7 +50,7 @@ public final static Builder builder() { return new Builder(); } - public AndGroup withExpressions(java.util.List expressions) { + public AndGroup withExpressions(List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; return this; @@ -65,13 +66,13 @@ public boolean equals(java.lang.Object o) { } AndGroup other = (AndGroup) o; return - java.util.Objects.deepEquals(this.expressions, other.expressions) && - java.util.Objects.deepEquals(this.filterType, other.filterType); + Objects.deepEquals(this.expressions, other.expressions) && + Objects.deepEquals(this.filterType, other.filterType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( expressions, filterType); } @@ -85,13 +86,13 @@ public String toString() { public final static class Builder { - private java.util.List expressions; + private List expressions; private Builder() { // force use of static builder() method } - public Builder expressions(java.util.List expressions) { + public Builder expressions(List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/ApiKeyAuth.java b/src/main/java/com/airbyte/api/models/shared/ApiKeyAuth.java index ccb8bd304..1976fde1a 100644 --- a/src/main/java/com/airbyte/api/models/shared/ApiKeyAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/ApiKeyAuth.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ApiKeyAuth { /** @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } ApiKeyAuth other = (ApiKeyAuth) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/ApiKeySecret.java b/src/main/java/com/airbyte/api/models/shared/ApiKeySecret.java index 592ccbf56..64cd18794 100644 --- a/src/main/java/com/airbyte/api/models/shared/ApiKeySecret.java +++ b/src/main/java/com/airbyte/api/models/shared/ApiKeySecret.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * ApiKeySecret - Use a api key and secret combination to authenticate */ @@ -100,14 +100,14 @@ public boolean equals(java.lang.Object o) { } ApiKeySecret other = (ApiKeySecret) o; return - java.util.Objects.deepEquals(this.apiKeyId, other.apiKeyId) && - java.util.Objects.deepEquals(this.apiKeySecret, other.apiKeySecret) && - java.util.Objects.deepEquals(this.method, other.method); + Objects.deepEquals(this.apiKeyId, other.apiKeyId) && + Objects.deepEquals(this.apiKeySecret, other.apiKeySecret) && + Objects.deepEquals(this.method, other.method); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKeyId, apiKeySecret, method); diff --git a/src/main/java/com/airbyte/api/models/shared/ApifyDataset.java b/src/main/java/com/airbyte/api/models/shared/ApifyDataset.java index f4a608717..1475382da 100644 --- a/src/main/java/com/airbyte/api/models/shared/ApifyDataset.java +++ b/src/main/java/com/airbyte/api/models/shared/ApifyDataset.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ApifyDataset { APIFY_DATASET("apify-dataset"); diff --git a/src/main/java/com/airbyte/api/models/shared/Appcues.java b/src/main/java/com/airbyte/api/models/shared/Appcues.java index 53287b33a..1e9dce3f5 100644 --- a/src/main/java/com/airbyte/api/models/shared/Appcues.java +++ b/src/main/java/com/airbyte/api/models/shared/Appcues.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Appcues { APPCUES("appcues"); diff --git a/src/main/java/com/airbyte/api/models/shared/Appfigures.java b/src/main/java/com/airbyte/api/models/shared/Appfigures.java index ae7db962f..e2723d998 100644 --- a/src/main/java/com/airbyte/api/models/shared/Appfigures.java +++ b/src/main/java/com/airbyte/api/models/shared/Appfigures.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Appfigures { APPFIGURES("appfigures"); diff --git a/src/main/java/com/airbyte/api/models/shared/Appfollow.java b/src/main/java/com/airbyte/api/models/shared/Appfollow.java index e7a378073..b9cb318b9 100644 --- a/src/main/java/com/airbyte/api/models/shared/Appfollow.java +++ b/src/main/java/com/airbyte/api/models/shared/Appfollow.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Appfollow { APPFOLLOW("appfollow"); diff --git a/src/main/java/com/airbyte/api/models/shared/AppleSearchAds.java b/src/main/java/com/airbyte/api/models/shared/AppleSearchAds.java new file mode 100644 index 000000000..61ef7d135 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/AppleSearchAds.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum AppleSearchAds { + APPLE_SEARCH_ADS("apple-search-ads"); + + @JsonValue + private final String value; + + private AppleSearchAds(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Applications.java b/src/main/java/com/airbyte/api/models/shared/Applications.java index f76a83387..85be5a028 100644 --- a/src/main/java/com/airbyte/api/models/shared/Applications.java +++ b/src/main/java/com/airbyte/api/models/shared/Applications.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class Applications { @JsonProperty("app_api_key") @@ -28,13 +27,13 @@ public class Applications { @JsonInclude(Include.NON_ABSENT) @JsonProperty("app_name") - private Optional appName; + private Optional appName; @JsonCreator public Applications( @JsonProperty("app_api_key") String appApiKey, @JsonProperty("app_id") String appId, - @JsonProperty("app_name") Optional appName) { + @JsonProperty("app_name") Optional appName) { Utils.checkNotNull(appApiKey, "appApiKey"); Utils.checkNotNull(appId, "appId"); Utils.checkNotNull(appName, "appName"); @@ -59,10 +58,9 @@ public String appId() { return appId; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional appName() { - return (Optional) appName; + return appName; } public final static Builder builder() { @@ -87,7 +85,7 @@ public Applications withAppName(String appName) { return this; } - public Applications withAppName(Optional appName) { + public Applications withAppName(Optional appName) { Utils.checkNotNull(appName, "appName"); this.appName = appName; return this; @@ -103,14 +101,14 @@ public boolean equals(java.lang.Object o) { } Applications other = (Applications) o; return - java.util.Objects.deepEquals(this.appApiKey, other.appApiKey) && - java.util.Objects.deepEquals(this.appId, other.appId) && - java.util.Objects.deepEquals(this.appName, other.appName); + Objects.deepEquals(this.appApiKey, other.appApiKey) && + Objects.deepEquals(this.appId, other.appId) && + Objects.deepEquals(this.appName, other.appName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( appApiKey, appId, appName); @@ -130,7 +128,7 @@ public final static class Builder { private String appId; - private Optional appName = Optional.empty(); + private Optional appName = Optional.empty(); private Builder() { // force use of static builder() method @@ -154,7 +152,7 @@ public Builder appName(String appName) { return this; } - public Builder appName(Optional appName) { + public Builder appName(Optional appName) { Utils.checkNotNull(appName, "appName"); this.appName = appName; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Apptivo.java b/src/main/java/com/airbyte/api/models/shared/Apptivo.java new file mode 100644 index 000000000..1215db5b4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Apptivo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Apptivo { + APPTIVO("apptivo"); + + @JsonValue + private final String value; + + private Apptivo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Asana.java b/src/main/java/com/airbyte/api/models/shared/Asana.java index 21583de63..7829c90eb 100644 --- a/src/main/java/com/airbyte/api/models/shared/Asana.java +++ b/src/main/java/com/airbyte/api/models/shared/Asana.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Asana { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Asana other = (Asana) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/AsanaCredentials.java b/src/main/java/com/airbyte/api/models/shared/AsanaCredentials.java index 589354a4a..b21be7e67 100644 --- a/src/main/java/com/airbyte/api/models/shared/AsanaCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/AsanaCredentials.java @@ -1,37 +1,36 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class AsanaCredentials { @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public AsanaCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -42,16 +41,14 @@ public AsanaCredentials() { this(Optional.empty(), Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -64,7 +61,7 @@ public AsanaCredentials withClientId(String clientId) { return this; } - public AsanaCredentials withClientId(Optional clientId) { + public AsanaCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -76,7 +73,7 @@ public AsanaCredentials withClientSecret(String clientSecret) { return this; } - public AsanaCredentials withClientSecret(Optional clientSecret) { + public AsanaCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -92,13 +89,13 @@ public boolean equals(java.lang.Object o) { } AsanaCredentials other = (AsanaCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -112,9 +109,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -126,7 +123,7 @@ public Builder clientId(String clientId) { return this; } - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -138,7 +135,7 @@ public Builder clientSecret(String clientSecret) { return this; } - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Ashby.java b/src/main/java/com/airbyte/api/models/shared/Ashby.java new file mode 100644 index 000000000..195b543f4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Ashby.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Ashby { + ASHBY("ashby"); + + @JsonValue + private final String value; + + private Ashby(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Astra.java b/src/main/java/com/airbyte/api/models/shared/Astra.java index 739b25525..8fed1f663 100644 --- a/src/main/java/com/airbyte/api/models/shared/Astra.java +++ b/src/main/java/com/airbyte/api/models/shared/Astra.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Astra { ASTRA("astra"); diff --git a/src/main/java/com/airbyte/api/models/shared/Auth0.java b/src/main/java/com/airbyte/api/models/shared/Auth0.java index b58f4fff1..b5e986fdd 100644 --- a/src/main/java/com/airbyte/api/models/shared/Auth0.java +++ b/src/main/java/com/airbyte/api/models/shared/Auth0.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Auth0 { AUTH0("auth0"); diff --git a/src/main/java/com/airbyte/api/models/shared/AuthMethod.java b/src/main/java/com/airbyte/api/models/shared/AuthMethod.java index 332a9aed9..600d87aa7 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum AuthMethod { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/AuthType.java b/src/main/java/com/airbyte/api/models/shared/AuthType.java index 68f367eef..9ab23122c 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum AuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAPIKey.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAPIKey.java index 1014f728b..4b602f062 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAPIKey.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAPIKey.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class AuthenticateViaAPIKey { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaAPIKey other = (AuthenticateViaAPIKey) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAccessKeys.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAccessKeys.java new file mode 100644 index 000000000..0019fafca --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAccessKeys.java @@ -0,0 +1,218 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class AuthenticateViaAccessKeys { + + @JsonIgnore + private Map additionalProperties; + + /** + * The access key id to access Dynamodb. Airbyte requires read permissions to the database + */ + @JsonProperty("access_key_id") + private String accessKeyId; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * The corresponding secret to the access key id. + */ + @JsonProperty("secret_access_key") + private String secretAccessKey; + + @JsonCreator + public AuthenticateViaAccessKeys( + @JsonProperty("access_key_id") String accessKeyId, + @JsonProperty("secret_access_key") String secretAccessKey) { + Utils.checkNotNull(accessKeyId, "accessKeyId"); + Utils.checkNotNull(secretAccessKey, "secretAccessKey"); + this.additionalProperties = new HashMap<>(); + this.accessKeyId = accessKeyId; + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.secretAccessKey = secretAccessKey; + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * The access key id to access Dynamodb. Airbyte requires read permissions to the database + */ + @JsonIgnore + public String accessKeyId() { + return accessKeyId; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * The corresponding secret to the access key id. + */ + @JsonIgnore + public String secretAccessKey() { + return secretAccessKey; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public AuthenticateViaAccessKeys withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public AuthenticateViaAccessKeys withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The access key id to access Dynamodb. Airbyte requires read permissions to the database + */ + public AuthenticateViaAccessKeys withAccessKeyId(String accessKeyId) { + Utils.checkNotNull(accessKeyId, "accessKeyId"); + this.accessKeyId = accessKeyId; + return this; + } + + /** + * The corresponding secret to the access key id. + */ + public AuthenticateViaAccessKeys withSecretAccessKey(String secretAccessKey) { + Utils.checkNotNull(secretAccessKey, "secretAccessKey"); + this.secretAccessKey = secretAccessKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AuthenticateViaAccessKeys other = (AuthenticateViaAccessKeys) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.accessKeyId, other.accessKeyId) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.secretAccessKey, other.secretAccessKey); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + accessKeyId, + authType, + secretAccessKey); + } + + @Override + public String toString() { + return Utils.toString(AuthenticateViaAccessKeys.class, + "additionalProperties", additionalProperties, + "accessKeyId", accessKeyId, + "authType", authType, + "secretAccessKey", secretAccessKey); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String accessKeyId; + + private String secretAccessKey; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The access key id to access Dynamodb. Airbyte requires read permissions to the database + */ + public Builder accessKeyId(String accessKeyId) { + Utils.checkNotNull(accessKeyId, "accessKeyId"); + this.accessKeyId = accessKeyId; + return this; + } + + /** + * The corresponding secret to the access key id. + */ + public Builder secretAccessKey(String secretAccessKey) { + Utils.checkNotNull(secretAccessKey, "secretAccessKey"); + this.secretAccessKey = secretAccessKey; + return this; + } + + public AuthenticateViaAccessKeys build() { + return new AuthenticateViaAccessKeys( + accessKeyId, + secretAccessKey) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"User\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAsanaOauth.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAsanaOauth.java index e6b191ec2..a2bb6189a 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAsanaOauth.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaAsanaOauth.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaAsanaOauth { @JsonProperty("client_id") @@ -107,15 +108,15 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaAsanaOauth other = (AuthenticateViaAsanaOauth) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.optionTitle, other.optionTitle) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.optionTitle, other.optionTitle) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, optionTitle, diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaFacebookMarketingOauth.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaFacebookMarketingOauth.java index 3ee826911..1e3d452e6 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaFacebookMarketingOauth.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaFacebookMarketingOauth.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaFacebookMarketingOauth { /** @@ -26,7 +27,7 @@ public class AuthenticateViaFacebookMarketingOauth { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_token") - private Optional accessToken; + private Optional accessToken; @JsonInclude(Include.NON_ABSENT) @JsonProperty("auth_type") @@ -46,7 +47,7 @@ public class AuthenticateViaFacebookMarketingOauth { @JsonCreator public AuthenticateViaFacebookMarketingOauth( - @JsonProperty("access_token") Optional accessToken, + @JsonProperty("access_token") Optional accessToken, @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret) { Utils.checkNotNull(accessToken, "accessToken"); @@ -67,10 +68,9 @@ public AuthenticateViaFacebookMarketingOauth( /** * The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions <b>ads_management, ads_read, read_insights, business_management</b>. Then click on "Get token". See the <a href="https://docs.airbyte.com/integrations/sources/facebook-marketing">docs</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessToken() { - return (Optional) accessToken; + return accessToken; } @SuppressWarnings("unchecked") @@ -111,7 +111,7 @@ public AuthenticateViaFacebookMarketingOauth withAccessToken(String accessToken) /** * The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions <b>ads_management, ads_read, read_insights, business_management</b>. Then click on "Get token". See the <a href="https://docs.airbyte.com/integrations/sources/facebook-marketing">docs</a> for more information. */ - public AuthenticateViaFacebookMarketingOauth withAccessToken(Optional accessToken) { + public AuthenticateViaFacebookMarketingOauth withAccessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -145,15 +145,15 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaFacebookMarketingOauth other = (AuthenticateViaFacebookMarketingOauth) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, @@ -171,7 +171,7 @@ public String toString() { public final static class Builder { - private Optional accessToken = Optional.empty(); + private Optional accessToken = Optional.empty(); private String clientId; @@ -193,7 +193,7 @@ public Builder accessToken(String accessToken) { /** * The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions <b>ads_management, ads_read, read_insights, business_management</b>. Then click on "Get token". See the <a href="https://docs.airbyte.com/integrations/sources/facebook-marketing">docs</a> for more information. */ - public Builder accessToken(Optional accessToken) { + public Builder accessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaGoogleOAuth.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaGoogleOAuth.java new file mode 100644 index 000000000..35efd96df --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaGoogleOAuth.java @@ -0,0 +1,250 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class AuthenticateViaGoogleOAuth { + + /** + * Access Token + */ + @JsonProperty("access_token") + private String accessToken; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * Client ID + */ + @JsonProperty("client_id") + private String clientId; + + /** + * Client Secret + */ + @JsonProperty("client_secret") + private String clientSecret; + + /** + * Access Token + */ + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonCreator + public AuthenticateViaGoogleOAuth( + @JsonProperty("access_token") String accessToken, + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("refresh_token") String refreshToken) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(refreshToken, "refreshToken"); + this.accessToken = accessToken; + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.refreshToken = refreshToken; + } + + /** + * Access Token + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * Client ID + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * Client Secret + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * Access Token + */ + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Access Token + */ + public AuthenticateViaGoogleOAuth withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Client ID + */ + public AuthenticateViaGoogleOAuth withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret + */ + public AuthenticateViaGoogleOAuth withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Access Token + */ + public AuthenticateViaGoogleOAuth withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AuthenticateViaGoogleOAuth other = (AuthenticateViaGoogleOAuth) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + authType, + clientId, + clientSecret, + refreshToken); + } + + @Override + public String toString() { + return Utils.toString(AuthenticateViaGoogleOAuth.class, + "accessToken", accessToken, + "authType", authType, + "clientId", clientId, + "clientSecret", clientSecret, + "refreshToken", refreshToken); + } + + public final static class Builder { + + private String accessToken; + + private String clientId; + + private String clientSecret; + + private String refreshToken; + + private Builder() { + // force use of static builder() method + } + + /** + * Access Token + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Client ID + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Access Token + */ + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public AuthenticateViaGoogleOAuth build() { + return new AuthenticateViaGoogleOAuth( + accessToken, + clientId, + clientSecret, + refreshToken); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Client\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaHarvestOAuth.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaHarvestOAuth.java new file mode 100644 index 000000000..c70212b97 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaHarvestOAuth.java @@ -0,0 +1,259 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class AuthenticateViaHarvestOAuth { + + @JsonIgnore + private Map additionalProperties; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * The Client ID of your Harvest developer application. + */ + @JsonProperty("client_id") + private String clientId; + + /** + * The Client Secret of your Harvest developer application. + */ + @JsonProperty("client_secret") + private String clientSecret; + + /** + * Refresh Token to renew the expired Access Token. + */ + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonCreator + public AuthenticateViaHarvestOAuth( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("refresh_token") String refreshToken) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(refreshToken, "refreshToken"); + this.additionalProperties = new HashMap<>(); + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.refreshToken = refreshToken; + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * The Client ID of your Harvest developer application. + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * The Client Secret of your Harvest developer application. + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * Refresh Token to renew the expired Access Token. + */ + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public AuthenticateViaHarvestOAuth withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public AuthenticateViaHarvestOAuth withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The Client ID of your Harvest developer application. + */ + public AuthenticateViaHarvestOAuth withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Harvest developer application. + */ + public AuthenticateViaHarvestOAuth withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Refresh Token to renew the expired Access Token. + */ + public AuthenticateViaHarvestOAuth withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AuthenticateViaHarvestOAuth other = (AuthenticateViaHarvestOAuth) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + authType, + clientId, + clientSecret, + refreshToken); + } + + @Override + public String toString() { + return Utils.toString(AuthenticateViaHarvestOAuth.class, + "additionalProperties", additionalProperties, + "authType", authType, + "clientId", clientId, + "clientSecret", clientSecret, + "refreshToken", refreshToken); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String clientId; + + private String clientSecret; + + private String refreshToken; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The Client ID of your Harvest developer application. + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Harvest developer application. + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Refresh Token to renew the expired Access Token. + */ + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public AuthenticateViaHarvestOAuth build() { + return new AuthenticateViaHarvestOAuth( + clientId, + clientSecret, + refreshToken) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Client\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverApiKey.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverApiKey.java index c98de5f16..41d26fec4 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverApiKey.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverApiKey.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaLeverApiKey { /** @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaLeverApiKey other = (AuthenticateViaLeverApiKey) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverOAuth.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverOAuth.java index 631068093..ee8122885 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaLeverOAuth.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaLeverOAuth { @JsonInclude(Include.NON_ABSENT) @@ -30,14 +31,14 @@ public class AuthenticateViaLeverOAuth { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your Lever Hiring developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; /** * The token for obtaining new access token. @@ -47,8 +48,8 @@ public class AuthenticateViaLeverOAuth { @JsonCreator public AuthenticateViaLeverOAuth( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret, + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret, @JsonProperty("refresh_token") String refreshToken) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -73,19 +74,17 @@ public Optional authType() { /** * The Client ID of your Lever Hiring developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your Lever Hiring developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } /** @@ -112,7 +111,7 @@ public AuthenticateViaLeverOAuth withClientId(String clientId) { /** * The Client ID of your Lever Hiring developer application. */ - public AuthenticateViaLeverOAuth withClientId(Optional clientId) { + public AuthenticateViaLeverOAuth withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -130,7 +129,7 @@ public AuthenticateViaLeverOAuth withClientSecret(String clientSecret) { /** * The Client Secret of your Lever Hiring developer application. */ - public AuthenticateViaLeverOAuth withClientSecret(Optional clientSecret) { + public AuthenticateViaLeverOAuth withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -155,15 +154,15 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaLeverOAuth other = (AuthenticateViaLeverOAuth) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, @@ -181,9 +180,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private String refreshToken; @@ -203,7 +202,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your Lever Hiring developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -221,7 +220,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Lever Hiring developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoft.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoft.java index 8b1075fe2..58b1f69e8 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoft.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoft.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaMicrosoft { @JsonInclude(Include.NON_ABSENT) @@ -128,15 +129,15 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaMicrosoft other = (AuthenticateViaMicrosoft) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.tenantId, other.tenantId); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.tenantId, other.tenantId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth.java index e4b9153e5..c83212309 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * AuthenticateViaMicrosoftOAuth - OAuthCredentials class to hold authentication details for Microsoft OAuth authentication. * This class uses pydantic for data validation and settings management. @@ -158,16 +159,16 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaMicrosoftOAuth other = (AuthenticateViaMicrosoftOAuth) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tenantId, other.tenantId); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tenantId, other.tenantId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth20.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth20.java index 3cdc882c5..29ad2ec8e 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaMicrosoftOAuth20.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaMicrosoftOAuth20 { @JsonInclude(Include.NON_ABSENT) @@ -154,16 +155,16 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaMicrosoftOAuth20 other = (AuthenticateViaMicrosoftOAuth20) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tenantId, other.tenantId); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tenantId, other.tenantId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth.java index 9df5bac6d..1562a925b 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class AuthenticateViaOAuth { @@ -178,17 +176,17 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaOAuth other = (AuthenticateViaOAuth) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth20.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth20.java new file mode 100644 index 000000000..aae195dd0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOAuth20.java @@ -0,0 +1,233 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + + +public class AuthenticateViaOAuth20 { + + @JsonIgnore + private Map additionalProperties; + + /** + * The Client ID of your developer application + */ + @JsonProperty("client_id") + private String clientId; + + /** + * The client secret of your developer application + */ + @JsonProperty("client_secret") + private String clientSecret; + + /** + * A refresh token generated using the above client ID and secret + */ + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonCreator + public AuthenticateViaOAuth20( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("refresh_token") String refreshToken) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(refreshToken, "refreshToken"); + this.additionalProperties = new HashMap<>(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.refreshToken = refreshToken; + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * The Client ID of your developer application + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * The client secret of your developer application + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * A refresh token generated using the above client ID and secret + */ + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public AuthenticateViaOAuth20 withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public AuthenticateViaOAuth20 withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The Client ID of your developer application + */ + public AuthenticateViaOAuth20 withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The client secret of your developer application + */ + public AuthenticateViaOAuth20 withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * A refresh token generated using the above client ID and secret + */ + public AuthenticateViaOAuth20 withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AuthenticateViaOAuth20 other = (AuthenticateViaOAuth20) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + clientId, + clientSecret, + refreshToken); + } + + @Override + public String toString() { + return Utils.toString(AuthenticateViaOAuth20.class, + "additionalProperties", additionalProperties, + "clientId", clientId, + "clientSecret", clientSecret, + "refreshToken", refreshToken); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String clientId; + + private String clientSecret; + + private String refreshToken; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The Client ID of your developer application + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The client secret of your developer application + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * A refresh token generated using the above client ID and secret + */ + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public AuthenticateViaOAuth20 build() { + return new AuthenticateViaOAuth20( + clientId, + clientSecret, + refreshToken) + .withAdditionalProperties(additionalProperties); + } + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOauth2.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOauth2.java index c4bd8a90c..0bff045c8 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOauth2.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaOauth2.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaOauth2 { @JsonInclude(Include.NON_ABSENT) @@ -154,16 +155,16 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaOauth2 other = (AuthenticateViaOauth2) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tenantId, other.tenantId); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tenantId, other.tenantId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaPassword.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaPassword.java index b23d6796b..1fa7d352b 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaPassword.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaPassword.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaPassword { @JsonInclude(Include.NON_ABSENT) @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaPassword other = (AuthenticateViaPassword) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.password, other.password); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.password, other.password); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, password); } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaPrivateKey.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaPrivateKey.java index c48ec548a..3ff7dc469 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaPrivateKey.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaPrivateKey.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaPrivateKey { @JsonInclude(Include.NON_ABSENT) @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaPrivateKey other = (AuthenticateViaPrivateKey) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.privateKey, other.privateKey); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.privateKey, other.privateKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, privateKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaRetentlyOAuth.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaRetentlyOAuth.java new file mode 100644 index 000000000..dc7c8c1ac --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaRetentlyOAuth.java @@ -0,0 +1,259 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class AuthenticateViaRetentlyOAuth { + + @JsonIgnore + private Map additionalProperties; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * The Client ID of your Retently developer application. + */ + @JsonProperty("client_id") + private String clientId; + + /** + * The Client Secret of your Retently developer application. + */ + @JsonProperty("client_secret") + private String clientSecret; + + /** + * Retently Refresh Token which can be used to fetch new Bearer Tokens when the current one expires. + */ + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonCreator + public AuthenticateViaRetentlyOAuth( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("refresh_token") String refreshToken) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(refreshToken, "refreshToken"); + this.additionalProperties = new HashMap<>(); + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.refreshToken = refreshToken; + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * The Client ID of your Retently developer application. + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * The Client Secret of your Retently developer application. + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * Retently Refresh Token which can be used to fetch new Bearer Tokens when the current one expires. + */ + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public AuthenticateViaRetentlyOAuth withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public AuthenticateViaRetentlyOAuth withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The Client ID of your Retently developer application. + */ + public AuthenticateViaRetentlyOAuth withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Retently developer application. + */ + public AuthenticateViaRetentlyOAuth withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Retently Refresh Token which can be used to fetch new Bearer Tokens when the current one expires. + */ + public AuthenticateViaRetentlyOAuth withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AuthenticateViaRetentlyOAuth other = (AuthenticateViaRetentlyOAuth) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + authType, + clientId, + clientSecret, + refreshToken); + } + + @Override + public String toString() { + return Utils.toString(AuthenticateViaRetentlyOAuth.class, + "additionalProperties", additionalProperties, + "authType", authType, + "clientId", clientId, + "clientSecret", clientSecret, + "refreshToken", refreshToken); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String clientId; + + private String clientSecret; + + private String refreshToken; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The Client ID of your Retently developer application. + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Retently developer application. + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Retently Refresh Token which can be used to fetch new Bearer Tokens when the current one expires. + */ + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public AuthenticateViaRetentlyOAuth build() { + return new AuthenticateViaRetentlyOAuth( + clientId, + clientSecret, + refreshToken) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Client\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaStorageAccountKey.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaStorageAccountKey.java index 27776b545..5f690b360 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaStorageAccountKey.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateViaStorageAccountKey.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateViaStorageAccountKey { @JsonInclude(Include.NON_ABSENT) @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } AuthenticateViaStorageAccountKey other = (AuthenticateViaStorageAccountKey) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.azureBlobStorageAccountKey, other.azureBlobStorageAccountKey); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.azureBlobStorageAccountKey, other.azureBlobStorageAccountKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, azureBlobStorageAccountKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateWithAPIToken.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateWithAPIToken.java new file mode 100644 index 000000000..61aef33ad --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateWithAPIToken.java @@ -0,0 +1,177 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class AuthenticateWithAPIToken { + + @JsonIgnore + private Map additionalProperties; + + /** + * Retently API Token. See the <a href="https://app.retently.com/settings/api/tokens">docs</a> for more information on how to obtain this key. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + @JsonCreator + public AuthenticateWithAPIToken( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.additionalProperties = new HashMap<>(); + this.apiKey = apiKey; + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * Retently API Token. See the <a href="https://app.retently.com/settings/api/tokens">docs</a> for more information on how to obtain this key. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public AuthenticateWithAPIToken withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public AuthenticateWithAPIToken withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Retently API Token. See the <a href="https://app.retently.com/settings/api/tokens">docs</a> for more information on how to obtain this key. + */ + public AuthenticateWithAPIToken withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AuthenticateWithAPIToken other = (AuthenticateWithAPIToken) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.authType, other.authType); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + apiKey, + authType); + } + + @Override + public String toString() { + return Utils.toString(AuthenticateWithAPIToken.class, + "additionalProperties", additionalProperties, + "apiKey", apiKey, + "authType", authType); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Retently API Token. See the <a href="https://app.retently.com/settings/api/tokens">docs</a> for more information on how to obtain this key. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public AuthenticateWithAPIToken build() { + return new AuthenticateWithAPIToken( + apiKey) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Token\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateWithPersonalAccessToken.java b/src/main/java/com/airbyte/api/models/shared/AuthenticateWithPersonalAccessToken.java index 69abadfd0..fc58b8a5c 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateWithPersonalAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticateWithPersonalAccessToken.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AuthenticateWithPersonalAccessToken { /** @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } AuthenticateWithPersonalAccessToken other = (AuthenticateWithPersonalAccessToken) o; return - java.util.Objects.deepEquals(this.optionTitle, other.optionTitle) && - java.util.Objects.deepEquals(this.personalAccessToken, other.personalAccessToken); + Objects.deepEquals(this.optionTitle, other.optionTitle) && + Objects.deepEquals(this.personalAccessToken, other.personalAccessToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( optionTitle, personalAccessToken); } diff --git a/src/main/java/com/airbyte/api/models/shared/Authentication.java b/src/main/java/com/airbyte/api/models/shared/Authentication.java index 0604d57dd..14db57ed9 100644 --- a/src/main/java/com/airbyte/api/models/shared/Authentication.java +++ b/src/main/java/com/airbyte/api/models/shared/Authentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * Authentication - Authentication mechanism for Staging files and running queries @@ -28,7 +25,7 @@ @JsonDeserialize(using = Authentication._Deserializer.class) public class Authentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private Authentication(TypedObject value) { @@ -48,8 +45,8 @@ public static Authentication of(PersonalAccessToken value) { /** * Returns an instance of one of these types: *

      - *
    • {@code OAuth2Recommended}
    • - *
    • {@code PersonalAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.OAuth2Recommended}
    • + *
    • {@code com.airbyte.api.models.shared.PersonalAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } Authentication other = (Authentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(Authentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(Authentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticationMechanism.java b/src/main/java/com/airbyte/api/models/shared/AuthenticationMechanism.java index 9b3fd8a79..405364eb0 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticationMechanism.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticationMechanism.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * AuthenticationMechanism - Choose how to authenticate to Github @@ -28,7 +25,7 @@ @JsonDeserialize(using = AuthenticationMechanism._Deserializer.class) public class AuthenticationMechanism { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private AuthenticationMechanism(TypedObject value) { @@ -48,8 +45,8 @@ public static AuthenticationMechanism of(AuthenticateWithPersonalAccessToken val /** * Returns an instance of one of these types: *

      - *
    • {@code AuthenticateViaAsanaOauth}
    • - *
    • {@code AuthenticateWithPersonalAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaAsanaOauth}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateWithPersonalAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } AuthenticationMechanism other = (AuthenticationMechanism) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(AuthenticationMechanism.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(AuthenticationMechanism.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticationMethod.java b/src/main/java/com/airbyte/api/models/shared/AuthenticationMethod.java index 026d98825..e1f441c84 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticationMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * AuthenticationMethod - The type of authentication to be used @@ -28,7 +25,7 @@ @JsonDeserialize(using = AuthenticationMethod._Deserializer.class) public class AuthenticationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private AuthenticationMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static AuthenticationMethod of(UsernamePassword value) { /** * Returns an instance of one of these types: *

      - *
    • {@code None}
    • - *
    • {@code ApiKeySecret}
    • - *
    • {@code UsernamePassword}
    • + *
    • {@code com.airbyte.api.models.shared.None}
    • + *
    • {@code com.airbyte.api.models.shared.ApiKeySecret}
    • + *
    • {@code com.airbyte.api.models.shared.UsernamePassword}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } AuthenticationMethod other = (AuthenticationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(AuthenticationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(AuthenticationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticationMode.java b/src/main/java/com/airbyte/api/models/shared/AuthenticationMode.java index c3541593a..34751fdad 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticationMode.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticationMode.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * AuthenticationMode - Choose How to Authenticate to AWS. @@ -28,7 +25,7 @@ @JsonDeserialize(using = AuthenticationMode._Deserializer.class) public class AuthenticationMode { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private AuthenticationMode(TypedObject value) { @@ -48,8 +45,8 @@ public static AuthenticationMode of(IAMUser value) { /** * Returns an instance of one of these types: *

      - *
    • {@code IAMRole}
    • - *
    • {@code IAMUser}
    • + *
    • {@code com.airbyte.api.models.shared.IAMRole}
    • + *
    • {@code com.airbyte.api.models.shared.IAMUser}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } AuthenticationMode other = (AuthenticationMode) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(AuthenticationMode.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(AuthenticationMode.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticationType.java b/src/main/java/com/airbyte/api/models/shared/AuthenticationType.java index 38f20ebae..291519f33 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticationType.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticationType.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = AuthenticationType._Deserializer.class) public class AuthenticationType { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private AuthenticationType(TypedObject value) { @@ -45,8 +42,8 @@ public static AuthenticationType of(SourceGoogleSearchConsoleServiceAccountKeyAu /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleSearchConsoleOAuth}
    • - *
    • {@code SourceGoogleSearchConsoleServiceAccountKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleSearchConsoleOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleSearchConsoleServiceAccountKeyAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } AuthenticationType other = (AuthenticationType) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(AuthenticationType.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(AuthenticationType.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticationViaGoogleOAuth.java b/src/main/java/com/airbyte/api/models/shared/AuthenticationViaGoogleOAuth.java index d70a304cb..b45624ca2 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticationViaGoogleOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticationViaGoogleOAuth.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * AuthenticationViaGoogleOAuth - Google API Credentials for connecting to Google Sheets and Google Drive APIs */ @@ -116,14 +115,14 @@ public boolean equals(java.lang.Object o) { } AuthenticationViaGoogleOAuth other = (AuthenticationViaGoogleOAuth) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, refreshToken); diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticationWildcard.java b/src/main/java/com/airbyte/api/models/shared/AuthenticationWildcard.java index b9cce0f84..128a97901 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticationWildcard.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthenticationWildcard.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * AuthenticationWildcard - Choose how to authenticate to Mixpanel @@ -28,7 +25,7 @@ @JsonDeserialize(using = AuthenticationWildcard._Deserializer.class) public class AuthenticationWildcard { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private AuthenticationWildcard(TypedObject value) { @@ -48,8 +45,8 @@ public static AuthenticationWildcard of(ProjectSecret value) { /** * Returns an instance of one of these types: *

      - *
    • {@code ServiceAccount}
    • - *
    • {@code ProjectSecret}
    • + *
    • {@code com.airbyte.api.models.shared.ServiceAccount}
    • + *
    • {@code com.airbyte.api.models.shared.ProjectSecret}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } AuthenticationWildcard other = (AuthenticationWildcard) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(AuthenticationWildcard.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(AuthenticationWildcard.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Authorization.java b/src/main/java/com/airbyte/api/models/shared/Authorization.java index 95278f692..07052fdb2 100644 --- a/src/main/java/com/airbyte/api/models/shared/Authorization.java +++ b/src/main/java/com/airbyte/api/models/shared/Authorization.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class Authorization { /** @@ -25,19 +24,19 @@ public class Authorization { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The client secret of your Google Search Console developer application. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public Authorization( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public Authorization() { /** * The client ID of your Google Search Console developer application. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The client secret of your Google Search Console developer application. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public Authorization withClientId(String clientId) { /** * The client ID of your Google Search Console developer application. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ - public Authorization withClientId(Optional clientId) { + public Authorization withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public Authorization withClientSecret(String clientSecret) { /** * The client secret of your Google Search Console developer application. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ - public Authorization withClientSecret(Optional clientSecret) { + public Authorization withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } Authorization other = (Authorization) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The client ID of your Google Search Console developer application. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The client secret of your Google Search Console developer application. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/AuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/AuthorizationMethod.java index 588df9073..924dec926 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = AuthorizationMethod._Deserializer.class) public class AuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private AuthorizationMethod(TypedObject value) { @@ -50,9 +47,9 @@ public static AuthorizationMethod of(DestinationSnowflakeOAuth20 value) { /** * Returns an instance of one of these types: *

      - *
    • {@code KeyPairAuthentication}
    • - *
    • {@code UsernameAndPassword}
    • - *
    • {@code DestinationSnowflakeOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.KeyPairAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.UsernameAndPassword}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeOAuth20}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -79,22 +76,22 @@ public boolean equals(java.lang.Object o) { return false; } AuthorizationMethod other = (AuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(AuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(AuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/AuthorizationType.java b/src/main/java/com/airbyte/api/models/shared/AuthorizationType.java index cc4979ea6..547d31bca 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthorizationType.java +++ b/src/main/java/com/airbyte/api/models/shared/AuthorizationType.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * AuthorizationType - Authorization type. @@ -28,7 +25,7 @@ @JsonDeserialize(using = AuthorizationType._Deserializer.class) public class AuthorizationType { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private AuthorizationType(TypedObject value) { @@ -48,8 +45,8 @@ public static AuthorizationType of(LoginPassword value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationMongodbNone}
    • - *
    • {@code LoginPassword}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMongodbNone}
    • + *
    • {@code com.airbyte.api.models.shared.LoginPassword}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } AuthorizationType other = (AuthorizationType) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(AuthorizationType.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(AuthorizationType.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Autogenerated.java b/src/main/java/com/airbyte/api/models/shared/Autogenerated.java index 98bb897d7..ff8b16970 100644 --- a/src/main/java/com/airbyte/api/models/shared/Autogenerated.java +++ b/src/main/java/com/airbyte/api/models/shared/Autogenerated.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Autogenerated { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } Autogenerated other = (Autogenerated) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/AvroApacheAvro.java b/src/main/java/com/airbyte/api/models/shared/AvroApacheAvro.java index 1d5287442..f996ac696 100644 --- a/src/main/java/com/airbyte/api/models/shared/AvroApacheAvro.java +++ b/src/main/java/com/airbyte/api/models/shared/AvroApacheAvro.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AvroApacheAvro { /** @@ -95,13 +96,13 @@ public boolean equals(java.lang.Object o) { } AvroApacheAvro other = (AvroApacheAvro) o; return - java.util.Objects.deepEquals(this.compressionCodec, other.compressionCodec) && - java.util.Objects.deepEquals(this.formatType, other.formatType); + Objects.deepEquals(this.compressionCodec, other.compressionCodec) && + Objects.deepEquals(this.formatType, other.formatType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionCodec, formatType); } @@ -147,8 +148,7 @@ public Builder formatType(Optional formatTyp public AvroApacheAvro build() { if (formatType == null) { formatType = _SINGLETON_VALUE_FormatType.value(); - } - return new AvroApacheAvro( + } return new AvroApacheAvro( compressionCodec, formatType); } diff --git a/src/main/java/com/airbyte/api/models/shared/AvroFormat.java b/src/main/java/com/airbyte/api/models/shared/AvroFormat.java index 08964fe4d..ae4fc4c5a 100644 --- a/src/main/java/com/airbyte/api/models/shared/AvroFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/AvroFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AvroFormat { /** @@ -26,7 +28,7 @@ public class AvroFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_as_string") - private Optional doubleAsString; + private Optional doubleAsString; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class AvroFormat { @JsonCreator public AvroFormat( - @JsonProperty("double_as_string") Optional doubleAsString) { + @JsonProperty("double_as_string") Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public AvroFormat() { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleAsString() { - return (Optional) doubleAsString; + return doubleAsString; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public AvroFormat withDoubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public AvroFormat withDoubleAsString(Optional doubleAsString) { + public AvroFormat withDoubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } AvroFormat other = (AvroFormat) o; return - java.util.Objects.deepEquals(this.doubleAsString, other.doubleAsString) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.doubleAsString, other.doubleAsString) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( doubleAsString, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional doubleAsString; + private Optional doubleAsString; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder doubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public Builder doubleAsString(Optional doubleAsString) { + public Builder doubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -138,16 +139,15 @@ public Builder doubleAsString(Optional doubleAsString) { public AvroFormat build() { if (doubleAsString == null) { doubleAsString = _SINGLETON_VALUE_DoubleAsString.value(); - } - return new AvroFormat( + } return new AvroFormat( doubleAsString); } - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = new LazySingletonValue<>( "double_as_string", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/AwsCloudtrail.java b/src/main/java/com/airbyte/api/models/shared/AwsCloudtrail.java index 00bb33d2e..946304935 100644 --- a/src/main/java/com/airbyte/api/models/shared/AwsCloudtrail.java +++ b/src/main/java/com/airbyte/api/models/shared/AwsCloudtrail.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum AwsCloudtrail { AWS_CLOUDTRAIL("aws-cloudtrail"); diff --git a/src/main/java/com/airbyte/api/models/shared/AwsDatalake.java b/src/main/java/com/airbyte/api/models/shared/AwsDatalake.java index 6529b7a39..23af151b3 100644 --- a/src/main/java/com/airbyte/api/models/shared/AwsDatalake.java +++ b/src/main/java/com/airbyte/api/models/shared/AwsDatalake.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum AwsDatalake { AWS_DATALAKE("aws-datalake"); diff --git a/src/main/java/com/airbyte/api/models/shared/AzBlobAzureBlobStorage.java b/src/main/java/com/airbyte/api/models/shared/AzBlobAzureBlobStorage.java index 24693b76c..833b9cb5f 100644 --- a/src/main/java/com/airbyte/api/models/shared/AzBlobAzureBlobStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/AzBlobAzureBlobStorage.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class AzBlobAzureBlobStorage { /** @@ -26,14 +26,14 @@ public class AzBlobAzureBlobStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("sas_token") - private Optional sasToken; + private Optional sasToken; /** * To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a storage account shared key (aka account key or access key). If accessing publicly available data, this field is not necessary. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("shared_key") - private Optional sharedKey; + private Optional sharedKey; @JsonProperty("storage") private SourceFileSchemasProviderStorage storage; @@ -46,8 +46,8 @@ public class AzBlobAzureBlobStorage { @JsonCreator public AzBlobAzureBlobStorage( - @JsonProperty("sas_token") Optional sasToken, - @JsonProperty("shared_key") Optional sharedKey, + @JsonProperty("sas_token") Optional sasToken, + @JsonProperty("shared_key") Optional sharedKey, @JsonProperty("storage_account") String storageAccount) { Utils.checkNotNull(sasToken, "sasToken"); Utils.checkNotNull(sharedKey, "sharedKey"); @@ -66,19 +66,17 @@ public AzBlobAzureBlobStorage( /** * To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a SAS (Shared Access Signature) token. If accessing publicly available data, this field is not necessary. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional sasToken() { - return (Optional) sasToken; + return sasToken; } /** * To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a storage account shared key (aka account key or access key). If accessing publicly available data, this field is not necessary. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional sharedKey() { - return (Optional) sharedKey; + return sharedKey; } @JsonIgnore @@ -110,7 +108,7 @@ public AzBlobAzureBlobStorage withSasToken(String sasToken) { /** * To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a SAS (Shared Access Signature) token. If accessing publicly available data, this field is not necessary. */ - public AzBlobAzureBlobStorage withSasToken(Optional sasToken) { + public AzBlobAzureBlobStorage withSasToken(Optional sasToken) { Utils.checkNotNull(sasToken, "sasToken"); this.sasToken = sasToken; return this; @@ -128,7 +126,7 @@ public AzBlobAzureBlobStorage withSharedKey(String sharedKey) { /** * To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a storage account shared key (aka account key or access key). If accessing publicly available data, this field is not necessary. */ - public AzBlobAzureBlobStorage withSharedKey(Optional sharedKey) { + public AzBlobAzureBlobStorage withSharedKey(Optional sharedKey) { Utils.checkNotNull(sharedKey, "sharedKey"); this.sharedKey = sharedKey; return this; @@ -153,15 +151,15 @@ public boolean equals(java.lang.Object o) { } AzBlobAzureBlobStorage other = (AzBlobAzureBlobStorage) o; return - java.util.Objects.deepEquals(this.sasToken, other.sasToken) && - java.util.Objects.deepEquals(this.sharedKey, other.sharedKey) && - java.util.Objects.deepEquals(this.storage, other.storage) && - java.util.Objects.deepEquals(this.storageAccount, other.storageAccount); + Objects.deepEquals(this.sasToken, other.sasToken) && + Objects.deepEquals(this.sharedKey, other.sharedKey) && + Objects.deepEquals(this.storage, other.storage) && + Objects.deepEquals(this.storageAccount, other.storageAccount); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sasToken, sharedKey, storage, @@ -179,9 +177,9 @@ public String toString() { public final static class Builder { - private Optional sasToken = Optional.empty(); + private Optional sasToken = Optional.empty(); - private Optional sharedKey = Optional.empty(); + private Optional sharedKey = Optional.empty(); private String storageAccount; @@ -201,7 +199,7 @@ public Builder sasToken(String sasToken) { /** * To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a SAS (Shared Access Signature) token. If accessing publicly available data, this field is not necessary. */ - public Builder sasToken(Optional sasToken) { + public Builder sasToken(Optional sasToken) { Utils.checkNotNull(sasToken, "sasToken"); this.sasToken = sasToken; return this; @@ -219,7 +217,7 @@ public Builder sharedKey(String sharedKey) { /** * To access Azure Blob Storage, this connector would need credentials with the proper permissions. One option is a storage account shared key (aka account key or access key). If accessing publicly available data, this field is not necessary. */ - public Builder sharedKey(Optional sharedKey) { + public Builder sharedKey(Optional sharedKey) { Utils.checkNotNull(sharedKey, "sharedKey"); this.sharedKey = sharedKey; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/AzureBlobStorage.java b/src/main/java/com/airbyte/api/models/shared/AzureBlobStorage.java index c4730a352..8d0a442d0 100644 --- a/src/main/java/com/airbyte/api/models/shared/AzureBlobStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/AzureBlobStorage.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class AzureBlobStorage { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } AzureBlobStorage other = (AzureBlobStorage) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/AzureBlobStorageCredentials.java b/src/main/java/com/airbyte/api/models/shared/AzureBlobStorageCredentials.java index 81f0a79b9..4da90d312 100644 --- a/src/main/java/com/airbyte/api/models/shared/AzureBlobStorageCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/AzureBlobStorageCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class AzureBlobStorageCredentials { /** @@ -25,19 +24,19 @@ public class AzureBlobStorageCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Client Secret of your Microsoft developer application */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public AzureBlobStorageCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public AzureBlobStorageCredentials() { /** * Client ID of your Microsoft developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Client Secret of your Microsoft developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public AzureBlobStorageCredentials withClientId(String clientId) { /** * Client ID of your Microsoft developer application */ - public AzureBlobStorageCredentials withClientId(Optional clientId) { + public AzureBlobStorageCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public AzureBlobStorageCredentials withClientSecret(String clientSecret) { /** * Client Secret of your Microsoft developer application */ - public AzureBlobStorageCredentials withClientSecret(Optional clientSecret) { + public AzureBlobStorageCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } AzureBlobStorageCredentials other = (AzureBlobStorageCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * Client ID of your Microsoft developer application */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * Client Secret of your Microsoft developer application */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/AzureOpenAI.java b/src/main/java/com/airbyte/api/models/shared/AzureOpenAI.java index f8d1d25d9..762422598 100644 --- a/src/main/java/com/airbyte/api/models/shared/AzureOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/AzureOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * AzureOpenAI - Use the Azure-hosted OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -131,15 +132,15 @@ public boolean equals(java.lang.Object o) { } AzureOpenAI other = (AzureOpenAI) o; return - java.util.Objects.deepEquals(this.apiBase, other.apiBase) && - java.util.Objects.deepEquals(this.deployment, other.deployment) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.apiBase, other.apiBase) && + Objects.deepEquals(this.deployment, other.deployment) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiBase, deployment, mode, diff --git a/src/main/java/com/airbyte/api/models/shared/AzureTable.java b/src/main/java/com/airbyte/api/models/shared/AzureTable.java index 927d90988..4a31a7632 100644 --- a/src/main/java/com/airbyte/api/models/shared/AzureTable.java +++ b/src/main/java/com/airbyte/api/models/shared/AzureTable.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum AzureTable { AZURE_TABLE("azure-table"); diff --git a/src/main/java/com/airbyte/api/models/shared/BambooHr.java b/src/main/java/com/airbyte/api/models/shared/BambooHr.java index 797323b62..9f32673ce 100644 --- a/src/main/java/com/airbyte/api/models/shared/BambooHr.java +++ b/src/main/java/com/airbyte/api/models/shared/BambooHr.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum BambooHr { BAMBOO_HR("bamboo-hr"); diff --git a/src/main/java/com/airbyte/api/models/shared/BaseURL.java b/src/main/java/com/airbyte/api/models/shared/BaseURL.java index 194deaaef..9ec3a3e5e 100644 --- a/src/main/java/com/airbyte/api/models/shared/BaseURL.java +++ b/src/main/java/com/airbyte/api/models/shared/BaseURL.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * BaseURL - Is your account location is EU based? If yes, the base url to retrieve data will be different. @@ -28,7 +25,7 @@ @JsonDeserialize(using = BaseURL._Deserializer.class) public class BaseURL { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private BaseURL(TypedObject value) { @@ -48,8 +45,8 @@ public static BaseURL of(GlobalAccount value) { /** * Returns an instance of one of these types: *

      - *
    • {@code EUBasedAccount}
    • - *
    • {@code GlobalAccount}
    • + *
    • {@code com.airbyte.api.models.shared.EUBasedAccount}
    • + *
    • {@code com.airbyte.api.models.shared.GlobalAccount}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } BaseURL other = (BaseURL) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(BaseURL.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(BaseURL.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/BaseURLPrefix.java b/src/main/java/com/airbyte/api/models/shared/BaseURLPrefix.java index a13db175b..15e5679d5 100644 --- a/src/main/java/com/airbyte/api/models/shared/BaseURLPrefix.java +++ b/src/main/java/com/airbyte/api/models/shared/BaseURLPrefix.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * BaseURLPrefix - You can access our API through the following URLs - Standard API Usage (Use the default API URL - https://api.jotform.com), For EU (Use the EU API URL - https://eu-api.jotform.com), For HIPAA (Use the HIPAA API URL - https://hipaa-api.jotform.com) diff --git a/src/main/java/com/airbyte/api/models/shared/Basecamp.java b/src/main/java/com/airbyte/api/models/shared/Basecamp.java index 88c32c830..7fb8f6451 100644 --- a/src/main/java/com/airbyte/api/models/shared/Basecamp.java +++ b/src/main/java/com/airbyte/api/models/shared/Basecamp.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Basecamp { BASECAMP("basecamp"); diff --git a/src/main/java/com/airbyte/api/models/shared/Basic.java b/src/main/java/com/airbyte/api/models/shared/Basic.java index dfd7ee64a..83c933d8f 100644 --- a/src/main/java/com/airbyte/api/models/shared/Basic.java +++ b/src/main/java/com/airbyte/api/models/shared/Basic.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Basic { @JsonInclude(Include.NON_ABSENT) @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } Basic other = (Basic) o; return - java.util.Objects.deepEquals(this.apiEndpoint, other.apiEndpoint) && - java.util.Objects.deepEquals(this.urlPrefix, other.urlPrefix); + Objects.deepEquals(this.apiEndpoint, other.apiEndpoint) && + Objects.deepEquals(this.urlPrefix, other.urlPrefix); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiEndpoint, urlPrefix); } @@ -138,8 +139,7 @@ public Builder urlPrefix(Optional urlPrefix) { public Basic build() { if (urlPrefix == null) { urlPrefix = _SINGLETON_VALUE_UrlPrefix.value(); - } - return new Basic( + } return new Basic( urlPrefix); } diff --git a/src/main/java/com/airbyte/api/models/shared/BatchedStandardInserts.java b/src/main/java/com/airbyte/api/models/shared/BatchedStandardInserts.java index 620c70273..8af51ee6c 100644 --- a/src/main/java/com/airbyte/api/models/shared/BatchedStandardInserts.java +++ b/src/main/java/com/airbyte/api/models/shared/BatchedStandardInserts.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * BatchedStandardInserts - Direct loading using batched SQL INSERT statements. This method uses the BigQuery driver to convert large INSERT statements into file uploads automatically. */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } BatchedStandardInserts other = (BatchedStandardInserts) o; return - java.util.Objects.deepEquals(this.method, other.method); + Objects.deepEquals(this.method, other.method); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( method); } diff --git a/src/main/java/com/airbyte/api/models/shared/Beamer.java b/src/main/java/com/airbyte/api/models/shared/Beamer.java new file mode 100644 index 000000000..4202bc9d7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Beamer.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Beamer { + BEAMER("beamer"); + + @JsonValue + private final String value; + + private Beamer(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/BetweenFilter.java b/src/main/java/com/airbyte/api/models/shared/BetweenFilter.java index 89b798da8..e2fbdec60 100644 --- a/src/main/java/com/airbyte/api/models/shared/BetweenFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/BetweenFilter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class BetweenFilter { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } BetweenFilter other = (BetweenFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.fromValue, other.fromValue) && - java.util.Objects.deepEquals(this.toValue, other.toValue); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.fromValue, other.fromValue) && + Objects.deepEquals(this.toValue, other.toValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, fromValue, toValue); diff --git a/src/main/java/com/airbyte/api/models/shared/Bigmailer.java b/src/main/java/com/airbyte/api/models/shared/Bigmailer.java new file mode 100644 index 000000000..118805f38 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Bigmailer.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Bigmailer { + BIGMAILER("bigmailer"); + + @JsonValue + private final String value; + + private Bigmailer(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Bigquery.java b/src/main/java/com/airbyte/api/models/shared/Bigquery.java index 306310627..149f7d5ba 100644 --- a/src/main/java/com/airbyte/api/models/shared/Bigquery.java +++ b/src/main/java/com/airbyte/api/models/shared/Bigquery.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Bigquery { BIGQUERY("bigquery"); diff --git a/src/main/java/com/airbyte/api/models/shared/BingAds.java b/src/main/java/com/airbyte/api/models/shared/BingAds.java index 01421f00f..3a1bf93fc 100644 --- a/src/main/java/com/airbyte/api/models/shared/BingAds.java +++ b/src/main/java/com/airbyte/api/models/shared/BingAds.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class BingAds { /** @@ -26,19 +26,19 @@ public class BingAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your Microsoft Advertising developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public BingAds( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -52,19 +52,17 @@ public BingAds() { /** * The Client ID of your Microsoft Advertising developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your Microsoft Advertising developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -83,7 +81,7 @@ public BingAds withClientId(String clientId) { /** * The Client ID of your Microsoft Advertising developer application. */ - public BingAds withClientId(Optional clientId) { + public BingAds withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -101,7 +99,7 @@ public BingAds withClientSecret(String clientSecret) { /** * The Client Secret of your Microsoft Advertising developer application. */ - public BingAds withClientSecret(Optional clientSecret) { + public BingAds withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -117,13 +115,13 @@ public boolean equals(java.lang.Object o) { } BingAds other = (BingAds) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -137,9 +135,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret; + private Optional clientSecret; private Builder() { // force use of static builder() method @@ -157,7 +155,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your Microsoft Advertising developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -175,7 +173,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Microsoft Advertising developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -184,17 +182,16 @@ public Builder clientSecret(Optional clientSecret) { public BingAds build() { if (clientSecret == null) { clientSecret = _SINGLETON_VALUE_ClientSecret.value(); - } - return new BingAds( + } return new BingAds( clientId, clientSecret); } - private static final LazySingletonValue> _SINGLETON_VALUE_ClientSecret = + private static final LazySingletonValue> _SINGLETON_VALUE_ClientSecret = new LazySingletonValue<>( "client_secret", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Bitly.java b/src/main/java/com/airbyte/api/models/shared/Bitly.java index cd2c43fae..99b59511e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Bitly.java +++ b/src/main/java/com/airbyte/api/models/shared/Bitly.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Bitly { BITLY("bitly"); diff --git a/src/main/java/com/airbyte/api/models/shared/Blogger.java b/src/main/java/com/airbyte/api/models/shared/Blogger.java new file mode 100644 index 000000000..93677d7ea --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Blogger.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Blogger { + BLOGGER("blogger"); + + @JsonValue + private final String value; + + private Blogger(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.java b/src/main/java/com/airbyte/api/models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.java index 3f6f93fe3..db7a3caf7 100644 --- a/src/main/java/com/airbyte/api/models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/BothUsernameAndPasswordIsRequiredForAuthenticationRequest.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum BothUsernameAndPasswordIsRequiredForAuthenticationRequest { USERNAME_PASSWORD("username_password"); diff --git a/src/main/java/com/airbyte/api/models/shared/Box.java b/src/main/java/com/airbyte/api/models/shared/Box.java new file mode 100644 index 000000000..f822a5864 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Box.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Box { + BOX("box"); + + @JsonValue + private final String value; + + private Box(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Braintree.java b/src/main/java/com/airbyte/api/models/shared/Braintree.java index 3342e1eed..66ce92df3 100644 --- a/src/main/java/com/airbyte/api/models/shared/Braintree.java +++ b/src/main/java/com/airbyte/api/models/shared/Braintree.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Braintree { BRAINTREE("braintree"); diff --git a/src/main/java/com/airbyte/api/models/shared/Braze.java b/src/main/java/com/airbyte/api/models/shared/Braze.java index a51527763..c91cf373d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Braze.java +++ b/src/main/java/com/airbyte/api/models/shared/Braze.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Braze { BRAZE("braze"); diff --git a/src/main/java/com/airbyte/api/models/shared/BreezyHr.java b/src/main/java/com/airbyte/api/models/shared/BreezyHr.java index 2e87c8081..f0a3da06e 100644 --- a/src/main/java/com/airbyte/api/models/shared/BreezyHr.java +++ b/src/main/java/com/airbyte/api/models/shared/BreezyHr.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum BreezyHr { BREEZY_HR("breezy-hr"); diff --git a/src/main/java/com/airbyte/api/models/shared/Brevo.java b/src/main/java/com/airbyte/api/models/shared/Brevo.java index 1ceacff83..2c4f303f0 100644 --- a/src/main/java/com/airbyte/api/models/shared/Brevo.java +++ b/src/main/java/com/airbyte/api/models/shared/Brevo.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Brevo { BREVO("brevo"); diff --git a/src/main/java/com/airbyte/api/models/shared/Brex.java b/src/main/java/com/airbyte/api/models/shared/Brex.java new file mode 100644 index 000000000..e218dc792 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Brex.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Brex { + BREX("brex"); + + @JsonValue + private final String value; + + private Brex(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Bugsnag.java b/src/main/java/com/airbyte/api/models/shared/Bugsnag.java new file mode 100644 index 000000000..4551d4176 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Bugsnag.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Bugsnag { + BUGSNAG("bugsnag"); + + @JsonValue + private final String value; + + private Bugsnag(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Buildkite.java b/src/main/java/com/airbyte/api/models/shared/Buildkite.java index e586f7bf9..314653bbc 100644 --- a/src/main/java/com/airbyte/api/models/shared/Buildkite.java +++ b/src/main/java/com/airbyte/api/models/shared/Buildkite.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Buildkite { BUILDKITE("buildkite"); diff --git a/src/main/java/com/airbyte/api/models/shared/BunnyInc.java b/src/main/java/com/airbyte/api/models/shared/BunnyInc.java new file mode 100644 index 000000000..8e8a4b0c8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/BunnyInc.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum BunnyInc { + BUNNY_INC("bunny-inc"); + + @JsonValue + private final String value; + + private BunnyInc(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Buzzsprout.java b/src/main/java/com/airbyte/api/models/shared/Buzzsprout.java index 76045ab6c..cea9ccda1 100644 --- a/src/main/java/com/airbyte/api/models/shared/Buzzsprout.java +++ b/src/main/java/com/airbyte/api/models/shared/Buzzsprout.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Buzzsprout { BUZZSPROUT("buzzsprout"); diff --git a/src/main/java/com/airbyte/api/models/shared/ByMarkdownHeader.java b/src/main/java/com/airbyte/api/models/shared/ByMarkdownHeader.java index 5be6c5b1b..627d451a6 100644 --- a/src/main/java/com/airbyte/api/models/shared/ByMarkdownHeader.java +++ b/src/main/java/com/airbyte/api/models/shared/ByMarkdownHeader.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * ByMarkdownHeader - Split the text by Markdown headers down to the specified header level. If the chunk size fits multiple sections, they will be combined into a single chunk. */ @@ -33,11 +35,11 @@ public class ByMarkdownHeader { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("split_level") - private Optional splitLevel; + private Optional splitLevel; @JsonCreator public ByMarkdownHeader( - @JsonProperty("split_level") Optional splitLevel) { + @JsonProperty("split_level") Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.mode = Builder._SINGLETON_VALUE_Mode.value(); this.splitLevel = splitLevel; @@ -56,10 +58,9 @@ public Optional mode() { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional splitLevel() { - return (Optional) splitLevel; + return splitLevel; } public final static Builder builder() { @@ -78,7 +79,7 @@ public ByMarkdownHeader withSplitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public ByMarkdownHeader withSplitLevel(Optional splitLevel) { + public ByMarkdownHeader withSplitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -94,13 +95,13 @@ public boolean equals(java.lang.Object o) { } ByMarkdownHeader other = (ByMarkdownHeader) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.splitLevel, other.splitLevel); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.splitLevel, other.splitLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, splitLevel); } @@ -114,7 +115,7 @@ public String toString() { public final static class Builder { - private Optional splitLevel; + private Optional splitLevel; private Builder() { // force use of static builder() method @@ -132,7 +133,7 @@ public Builder splitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public Builder splitLevel(Optional splitLevel) { + public Builder splitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -141,8 +142,7 @@ public Builder splitLevel(Optional splitLevel) { public ByMarkdownHeader build() { if (splitLevel == null) { splitLevel = _SINGLETON_VALUE_SplitLevel.value(); - } - return new ByMarkdownHeader( + } return new ByMarkdownHeader( splitLevel); } @@ -152,11 +152,11 @@ public ByMarkdownHeader build() { "\"markdown\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = new LazySingletonValue<>( "split_level", "1", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/ByProgrammingLanguage.java b/src/main/java/com/airbyte/api/models/shared/ByProgrammingLanguage.java index 68cf91506..b541c4cd9 100644 --- a/src/main/java/com/airbyte/api/models/shared/ByProgrammingLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/ByProgrammingLanguage.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * ByProgrammingLanguage - Split the text by suitable delimiters based on the programming language. This is useful for splitting code into chunks. */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } ByProgrammingLanguage other = (ByProgrammingLanguage) o; return - java.util.Objects.deepEquals(this.language, other.language) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.language, other.language) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( language, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/BySeparator.java b/src/main/java/com/airbyte/api/models/shared/BySeparator.java index 90121da8c..023550122 100644 --- a/src/main/java/com/airbyte/api/models/shared/BySeparator.java +++ b/src/main/java/com/airbyte/api/models/shared/BySeparator.java @@ -1,23 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * BySeparator - Split the text by the list of separators until the chunk size is reached, using the earlier mentioned separators where possible. This is useful for splitting text fields by paragraphs, sentences, words, etc. */ @@ -29,7 +32,7 @@ public class BySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("keep_separator") - private Optional keepSeparator; + private Optional keepSeparator; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -40,12 +43,12 @@ public class BySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("separators") - private Optional> separators; + private Optional> separators; @JsonCreator public BySeparator( - @JsonProperty("keep_separator") Optional keepSeparator, - @JsonProperty("separators") Optional> separators) { + @JsonProperty("keep_separator") Optional keepSeparator, + @JsonProperty("separators") Optional> separators) { Utils.checkNotNull(keepSeparator, "keepSeparator"); Utils.checkNotNull(separators, "separators"); this.keepSeparator = keepSeparator; @@ -60,10 +63,9 @@ public BySeparator() { /** * Whether to keep the separator in the resulting chunks */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional keepSeparator() { - return (Optional) keepSeparator; + return keepSeparator; } @SuppressWarnings("unchecked") @@ -77,8 +79,8 @@ public Optional mode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> separators() { - return (Optional>) separators; + public Optional> separators() { + return (Optional>) separators; } public final static Builder builder() { @@ -97,7 +99,7 @@ public BySeparator withKeepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public BySeparator withKeepSeparator(Optional keepSeparator) { + public BySeparator withKeepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -106,7 +108,7 @@ public BySeparator withKeepSeparator(Optional keepSeparator) /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public BySeparator withSeparators(java.util.List separators) { + public BySeparator withSeparators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -115,7 +117,7 @@ public BySeparator withSeparators(java.util.List separators) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public BySeparator withSeparators(Optional> separators) { + public BySeparator withSeparators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -131,14 +133,14 @@ public boolean equals(java.lang.Object o) { } BySeparator other = (BySeparator) o; return - java.util.Objects.deepEquals(this.keepSeparator, other.keepSeparator) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.separators, other.separators); + Objects.deepEquals(this.keepSeparator, other.keepSeparator) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.separators, other.separators); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( keepSeparator, mode, separators); @@ -154,9 +156,9 @@ public String toString() { public final static class Builder { - private Optional keepSeparator; + private Optional keepSeparator; - private Optional> separators = Optional.empty(); + private Optional> separators = Optional.empty(); private Builder() { // force use of static builder() method @@ -174,7 +176,7 @@ public Builder keepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public Builder keepSeparator(Optional keepSeparator) { + public Builder keepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -183,7 +185,7 @@ public Builder keepSeparator(Optional keepSeparator) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(java.util.List separators) { + public Builder separators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -192,7 +194,7 @@ public Builder separators(java.util.List separators) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(Optional> separators) { + public Builder separators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -201,17 +203,16 @@ public Builder separators(Optional> separators) public BySeparator build() { if (keepSeparator == null) { keepSeparator = _SINGLETON_VALUE_KeepSeparator.value(); - } - return new BySeparator( + } return new BySeparator( keepSeparator, separators); } - private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = + private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = new LazySingletonValue<>( "keep_separator", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/Bzip2.java b/src/main/java/com/airbyte/api/models/shared/Bzip2.java index 19e3938e1..5237d3dc0 100644 --- a/src/main/java/com/airbyte/api/models/shared/Bzip2.java +++ b/src/main/java/com/airbyte/api/models/shared/Bzip2.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Bzip2 { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } Bzip2 other = (Bzip2) o; return - java.util.Objects.deepEquals(this.codec, other.codec); + Objects.deepEquals(this.codec, other.codec); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec); } @@ -106,8 +107,7 @@ public Builder codec(Optional codec) { public Bzip2 build() { if (codec == null) { codec = _SINGLETON_VALUE_Codec.value(); - } - return new Bzip2( + } return new Bzip2( codec); } diff --git a/src/main/java/com/airbyte/api/models/shared/CSVCommaSeparatedValues.java b/src/main/java/com/airbyte/api/models/shared/CSVCommaSeparatedValues.java index bfec49e6c..98cad07a2 100644 --- a/src/main/java/com/airbyte/api/models/shared/CSVCommaSeparatedValues.java +++ b/src/main/java/com/airbyte/api/models/shared/CSVCommaSeparatedValues.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class CSVCommaSeparatedValues { /** @@ -26,7 +28,7 @@ public class CSVCommaSeparatedValues { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("file_extension") - private Optional fileExtension; + private Optional fileExtension; /** * Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. @@ -40,7 +42,7 @@ public class CSVCommaSeparatedValues { @JsonCreator public CSVCommaSeparatedValues( - @JsonProperty("file_extension") Optional fileExtension, + @JsonProperty("file_extension") Optional fileExtension, @JsonProperty("flattening") Optional flattening) { Utils.checkNotNull(fileExtension, "fileExtension"); Utils.checkNotNull(flattening, "flattening"); @@ -56,10 +58,9 @@ public CSVCommaSeparatedValues() { /** * Add file extensions to the output file. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional fileExtension() { - return (Optional) fileExtension; + return fileExtension; } /** @@ -92,7 +93,7 @@ public CSVCommaSeparatedValues withFileExtension(boolean fileExtension) { /** * Add file extensions to the output file. */ - public CSVCommaSeparatedValues withFileExtension(Optional fileExtension) { + public CSVCommaSeparatedValues withFileExtension(Optional fileExtension) { Utils.checkNotNull(fileExtension, "fileExtension"); this.fileExtension = fileExtension; return this; @@ -126,14 +127,14 @@ public boolean equals(java.lang.Object o) { } CSVCommaSeparatedValues other = (CSVCommaSeparatedValues) o; return - java.util.Objects.deepEquals(this.fileExtension, other.fileExtension) && - java.util.Objects.deepEquals(this.flattening, other.flattening) && - java.util.Objects.deepEquals(this.formatType, other.formatType); + Objects.deepEquals(this.fileExtension, other.fileExtension) && + Objects.deepEquals(this.flattening, other.flattening) && + Objects.deepEquals(this.formatType, other.formatType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fileExtension, flattening, formatType); @@ -149,7 +150,7 @@ public String toString() { public final static class Builder { - private Optional fileExtension; + private Optional fileExtension; private Optional flattening; @@ -169,7 +170,7 @@ public Builder fileExtension(boolean fileExtension) { /** * Add file extensions to the output file. */ - public Builder fileExtension(Optional fileExtension) { + public Builder fileExtension(Optional fileExtension) { Utils.checkNotNull(fileExtension, "fileExtension"); this.fileExtension = fileExtension; return this; @@ -199,17 +200,16 @@ public CSVCommaSeparatedValues build() { } if (flattening == null) { flattening = _SINGLETON_VALUE_Flattening.value(); - } - return new CSVCommaSeparatedValues( + } return new CSVCommaSeparatedValues( fileExtension, flattening); } - private static final LazySingletonValue> _SINGLETON_VALUE_FileExtension = + private static final LazySingletonValue> _SINGLETON_VALUE_FileExtension = new LazySingletonValue<>( "file_extension", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Flattening = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/CSVFormat.java b/src/main/java/com/airbyte/api/models/shared/CSVFormat.java index 6feb97b78..88312b7ec 100644 --- a/src/main/java/com/airbyte/api/models/shared/CSVFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/CSVFormat.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class CSVFormat { /** @@ -26,35 +30,35 @@ public class CSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("delimiter") - private Optional delimiter; + private Optional delimiter; /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_quote") - private Optional doubleQuote; + private Optional doubleQuote; /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("encoding") - private Optional encoding; + private Optional encoding; /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("escape_char") - private Optional escapeChar; + private Optional escapeChar; /** * A set of case-sensitive strings that should be interpreted as false values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("false_values") - private Optional> falseValues; + private Optional> falseValues; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -72,65 +76,65 @@ public class CSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ignore_errors_on_fields_mismatch") - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("null_values") - private Optional> nullValues; + private Optional> nullValues; /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("quote_char") - private Optional quoteChar; + private Optional quoteChar; /** * The number of rows to skip after the header row. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_after_header") - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_before_header") - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("strings_can_be_null") - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; /** * A set of case-sensitive strings that should be interpreted as true values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("true_values") - private Optional> trueValues; + private Optional> trueValues; @JsonCreator public CSVFormat( - @JsonProperty("delimiter") Optional delimiter, - @JsonProperty("double_quote") Optional doubleQuote, - @JsonProperty("encoding") Optional encoding, - @JsonProperty("escape_char") Optional escapeChar, - @JsonProperty("false_values") Optional> falseValues, + @JsonProperty("delimiter") Optional delimiter, + @JsonProperty("double_quote") Optional doubleQuote, + @JsonProperty("encoding") Optional encoding, + @JsonProperty("escape_char") Optional escapeChar, + @JsonProperty("false_values") Optional> falseValues, @JsonProperty("header_definition") Optional headerDefinition, - @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, - @JsonProperty("null_values") Optional> nullValues, - @JsonProperty("quote_char") Optional quoteChar, - @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, - @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, - @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, - @JsonProperty("true_values") Optional> trueValues) { + @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, + @JsonProperty("null_values") Optional> nullValues, + @JsonProperty("quote_char") Optional quoteChar, + @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, + @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, + @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, + @JsonProperty("true_values") Optional> trueValues) { Utils.checkNotNull(delimiter, "delimiter"); Utils.checkNotNull(doubleQuote, "doubleQuote"); Utils.checkNotNull(encoding, "encoding"); @@ -167,37 +171,33 @@ public CSVFormat() { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional delimiter() { - return (Optional) delimiter; + return delimiter; } /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleQuote() { - return (Optional) doubleQuote; + return doubleQuote; } /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional encoding() { - return (Optional) encoding; + return encoding; } /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional escapeChar() { - return (Optional) escapeChar; + return escapeChar; } /** @@ -205,8 +205,8 @@ public Optional escapeChar() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> falseValues() { - return (Optional>) falseValues; + public Optional> falseValues() { + return (Optional>) falseValues; } @SuppressWarnings("unchecked") @@ -227,10 +227,9 @@ public Optional headerDefinition() { /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreErrorsOnFieldsMismatch() { - return (Optional) ignoreErrorsOnFieldsMismatch; + return ignoreErrorsOnFieldsMismatch; } /** @@ -238,44 +237,40 @@ public Optional ignoreErrorsOnFieldsMismatch() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> nullValues() { - return (Optional>) nullValues; + public Optional> nullValues() { + return (Optional>) nullValues; } /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional quoteChar() { - return (Optional) quoteChar; + return quoteChar; } /** * The number of rows to skip after the header row. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsAfterHeader() { - return (Optional) skipRowsAfterHeader; + return skipRowsAfterHeader; } /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsBeforeHeader() { - return (Optional) skipRowsBeforeHeader; + return skipRowsBeforeHeader; } /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional stringsCanBeNull() { - return (Optional) stringsCanBeNull; + return stringsCanBeNull; } /** @@ -283,8 +278,8 @@ public Optional stringsCanBeNull() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> trueValues() { - return (Optional>) trueValues; + public Optional> trueValues() { + return (Optional>) trueValues; } public final static Builder builder() { @@ -303,7 +298,7 @@ public CSVFormat withDelimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public CSVFormat withDelimiter(Optional delimiter) { + public CSVFormat withDelimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -321,7 +316,7 @@ public CSVFormat withDoubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public CSVFormat withDoubleQuote(Optional doubleQuote) { + public CSVFormat withDoubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -339,7 +334,7 @@ public CSVFormat withEncoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public CSVFormat withEncoding(Optional encoding) { + public CSVFormat withEncoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -357,7 +352,7 @@ public CSVFormat withEscapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public CSVFormat withEscapeChar(Optional escapeChar) { + public CSVFormat withEscapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -366,7 +361,7 @@ public CSVFormat withEscapeChar(Optional escapeChar) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public CSVFormat withFalseValues(java.util.List falseValues) { + public CSVFormat withFalseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -375,7 +370,7 @@ public CSVFormat withFalseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public CSVFormat withFalseValues(Optional> falseValues) { + public CSVFormat withFalseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -411,7 +406,7 @@ public CSVFormat withIgnoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMi /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public CSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public CSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -420,7 +415,7 @@ public CSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ig /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public CSVFormat withNullValues(java.util.List nullValues) { + public CSVFormat withNullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -429,7 +424,7 @@ public CSVFormat withNullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public CSVFormat withNullValues(Optional> nullValues) { + public CSVFormat withNullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -447,7 +442,7 @@ public CSVFormat withQuoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public CSVFormat withQuoteChar(Optional quoteChar) { + public CSVFormat withQuoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -465,7 +460,7 @@ public CSVFormat withSkipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public CSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { + public CSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -483,7 +478,7 @@ public CSVFormat withSkipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public CSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public CSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -501,7 +496,7 @@ public CSVFormat withStringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public CSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { + public CSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -510,7 +505,7 @@ public CSVFormat withStringsCanBeNull(Optional stringsCanBeNu /** * A set of case-sensitive strings that should be interpreted as true values. */ - public CSVFormat withTrueValues(java.util.List trueValues) { + public CSVFormat withTrueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -519,7 +514,7 @@ public CSVFormat withTrueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public CSVFormat withTrueValues(Optional> trueValues) { + public CSVFormat withTrueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -535,25 +530,25 @@ public boolean equals(java.lang.Object o) { } CSVFormat other = (CSVFormat) o; return - java.util.Objects.deepEquals(this.delimiter, other.delimiter) && - java.util.Objects.deepEquals(this.doubleQuote, other.doubleQuote) && - java.util.Objects.deepEquals(this.encoding, other.encoding) && - java.util.Objects.deepEquals(this.escapeChar, other.escapeChar) && - java.util.Objects.deepEquals(this.falseValues, other.falseValues) && - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.headerDefinition, other.headerDefinition) && - java.util.Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && - java.util.Objects.deepEquals(this.nullValues, other.nullValues) && - java.util.Objects.deepEquals(this.quoteChar, other.quoteChar) && - java.util.Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && - java.util.Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && - java.util.Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && - java.util.Objects.deepEquals(this.trueValues, other.trueValues); + Objects.deepEquals(this.delimiter, other.delimiter) && + Objects.deepEquals(this.doubleQuote, other.doubleQuote) && + Objects.deepEquals(this.encoding, other.encoding) && + Objects.deepEquals(this.escapeChar, other.escapeChar) && + Objects.deepEquals(this.falseValues, other.falseValues) && + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.headerDefinition, other.headerDefinition) && + Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && + Objects.deepEquals(this.nullValues, other.nullValues) && + Objects.deepEquals(this.quoteChar, other.quoteChar) && + Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && + Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && + Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && + Objects.deepEquals(this.trueValues, other.trueValues); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( delimiter, doubleQuote, encoding, @@ -591,31 +586,31 @@ public String toString() { public final static class Builder { - private Optional delimiter; + private Optional delimiter; - private Optional doubleQuote; + private Optional doubleQuote; - private Optional encoding; + private Optional encoding; - private Optional escapeChar = Optional.empty(); + private Optional escapeChar = Optional.empty(); - private Optional> falseValues = Optional.empty(); + private Optional> falseValues = Optional.empty(); private Optional headerDefinition = Optional.empty(); - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; - private Optional> nullValues = Optional.empty(); + private Optional> nullValues = Optional.empty(); - private Optional quoteChar; + private Optional quoteChar; - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; - private Optional> trueValues = Optional.empty(); + private Optional> trueValues = Optional.empty(); private Builder() { // force use of static builder() method @@ -633,7 +628,7 @@ public Builder delimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public Builder delimiter(Optional delimiter) { + public Builder delimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -651,7 +646,7 @@ public Builder doubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public Builder doubleQuote(Optional doubleQuote) { + public Builder doubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -669,7 +664,7 @@ public Builder encoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public Builder encoding(Optional encoding) { + public Builder encoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -687,7 +682,7 @@ public Builder escapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public Builder escapeChar(Optional escapeChar) { + public Builder escapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -696,7 +691,7 @@ public Builder escapeChar(Optional escapeChar) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(java.util.List falseValues) { + public Builder falseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -705,7 +700,7 @@ public Builder falseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(Optional> falseValues) { + public Builder falseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -741,7 +736,7 @@ public Builder ignoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMismatch /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -750,7 +745,7 @@ public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreEr /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(java.util.List nullValues) { + public Builder nullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -759,7 +754,7 @@ public Builder nullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(Optional> nullValues) { + public Builder nullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -777,7 +772,7 @@ public Builder quoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public Builder quoteChar(Optional quoteChar) { + public Builder quoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -795,7 +790,7 @@ public Builder skipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { + public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -813,7 +808,7 @@ public Builder skipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -831,7 +826,7 @@ public Builder stringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public Builder stringsCanBeNull(Optional stringsCanBeNull) { + public Builder stringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -840,7 +835,7 @@ public Builder stringsCanBeNull(Optional stringsCanBeNull) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(java.util.List trueValues) { + public Builder trueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -849,7 +844,7 @@ public Builder trueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(Optional> trueValues) { + public Builder trueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -879,8 +874,7 @@ public CSVFormat build() { } if (stringsCanBeNull == null) { stringsCanBeNull = _SINGLETON_VALUE_StringsCanBeNull.value(); - } - return new CSVFormat( + } return new CSVFormat( delimiter, doubleQuote, encoding, @@ -896,23 +890,23 @@ public CSVFormat build() { trueValues); } - private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = + private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = new LazySingletonValue<>( "delimiter", "\",\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = new LazySingletonValue<>( "double_quote", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = + private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = new LazySingletonValue<>( "encoding", "\"utf8\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( @@ -920,35 +914,35 @@ public CSVFormat build() { "\"csv\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = new LazySingletonValue<>( "ignore_errors_on_fields_mismatch", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = + private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = new LazySingletonValue<>( "quote_char", "\"\\\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = new LazySingletonValue<>( "skip_rows_after_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = new LazySingletonValue<>( "skip_rows_before_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = + private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = new LazySingletonValue<>( "strings_can_be_null", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/CSVHeaderDefinition.java b/src/main/java/com/airbyte/api/models/shared/CSVHeaderDefinition.java index b9aa9706c..1373858a1 100644 --- a/src/main/java/com/airbyte/api/models/shared/CSVHeaderDefinition.java +++ b/src/main/java/com/airbyte/api/models/shared/CSVHeaderDefinition.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * CSVHeaderDefinition - How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. @@ -28,7 +25,7 @@ @JsonDeserialize(using = CSVHeaderDefinition._Deserializer.class) public class CSVHeaderDefinition { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private CSVHeaderDefinition(TypedObject value) { @@ -53,9 +50,9 @@ public static CSVHeaderDefinition of(UserProvided value) { /** * Returns an instance of one of these types: *

      - *
    • {@code FromCSV}
    • - *
    • {@code Autogenerated}
    • - *
    • {@code UserProvided}
    • + *
    • {@code com.airbyte.api.models.shared.FromCSV}
    • + *
    • {@code com.airbyte.api.models.shared.Autogenerated}
    • + *
    • {@code com.airbyte.api.models.shared.UserProvided}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } CSVHeaderDefinition other = (CSVHeaderDefinition) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(CSVHeaderDefinition.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(CSVHeaderDefinition.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/CacheType.java b/src/main/java/com/airbyte/api/models/shared/CacheType.java index 10cf2f82f..c23fd5315 100644 --- a/src/main/java/com/airbyte/api/models/shared/CacheType.java +++ b/src/main/java/com/airbyte/api/models/shared/CacheType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * CacheType - Redis cache type to store data in. diff --git a/src/main/java/com/airbyte/api/models/shared/CalCom.java b/src/main/java/com/airbyte/api/models/shared/CalCom.java new file mode 100644 index 000000000..4616bbd26 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/CalCom.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum CalCom { + CAL_COM("cal-com"); + + @JsonValue + private final String value; + + private CalCom(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Calendly.java b/src/main/java/com/airbyte/api/models/shared/Calendly.java index a39c3574b..afc8a688c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Calendly.java +++ b/src/main/java/com/airbyte/api/models/shared/Calendly.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Calendly { CALENDLY("calendly"); diff --git a/src/main/java/com/airbyte/api/models/shared/Callrail.java b/src/main/java/com/airbyte/api/models/shared/Callrail.java new file mode 100644 index 000000000..a89a842c3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Callrail.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Callrail { + CALLRAIL("callrail"); + + @JsonValue + private final String value; + + private Callrail(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/CampaignMonitor.java b/src/main/java/com/airbyte/api/models/shared/CampaignMonitor.java new file mode 100644 index 000000000..ceeed5a66 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/CampaignMonitor.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum CampaignMonitor { + CAMPAIGN_MONITOR("campaign-monitor"); + + @JsonValue + private final String value; + + private CampaignMonitor(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Campayn.java b/src/main/java/com/airbyte/api/models/shared/Campayn.java new file mode 100644 index 000000000..ab127ef8d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Campayn.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Campayn { + CAMPAYN("campayn"); + + @JsonValue + private final String value; + + private Campayn(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Canny.java b/src/main/java/com/airbyte/api/models/shared/Canny.java index a053e4716..b5715b3fb 100644 --- a/src/main/java/com/airbyte/api/models/shared/Canny.java +++ b/src/main/java/com/airbyte/api/models/shared/Canny.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Canny { CANNY("canny"); diff --git a/src/main/java/com/airbyte/api/models/shared/CapsuleCrm.java b/src/main/java/com/airbyte/api/models/shared/CapsuleCrm.java new file mode 100644 index 000000000..4f56ac9cb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/CapsuleCrm.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum CapsuleCrm { + CAPSULE_CRM("capsule-crm"); + + @JsonValue + private final String value; + + private CapsuleCrm(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/CaptureModeAdvanced.java b/src/main/java/com/airbyte/api/models/shared/CaptureModeAdvanced.java index b0d11ed51..a1ca58054 100644 --- a/src/main/java/com/airbyte/api/models/shared/CaptureModeAdvanced.java +++ b/src/main/java/com/airbyte/api/models/shared/CaptureModeAdvanced.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * CaptureModeAdvanced - Determines how Airbyte looks up the value of an updated document. If 'Lookup' is chosen, the current value of the document will be read. If 'Post Image' is chosen, then the version of the document immediately after an update will be read. WARNING : Severe data loss will occur if this option is chosen and the appropriate settings are not set on your Mongo instance : https://www.mongodb.com/docs/manual/changeStreams/#change-streams-with-document-pre-and-post-images. diff --git a/src/main/java/com/airbyte/api/models/shared/CareQualityCommission.java b/src/main/java/com/airbyte/api/models/shared/CareQualityCommission.java new file mode 100644 index 000000000..ac0c21e34 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/CareQualityCommission.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum CareQualityCommission { + CARE_QUALITY_COMMISSION("care-quality-commission"); + + @JsonValue + private final String value; + + private CareQualityCommission(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Cart.java b/src/main/java/com/airbyte/api/models/shared/Cart.java index f6df538c0..a47d4034d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Cart.java +++ b/src/main/java/com/airbyte/api/models/shared/Cart.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Cart { CART("cart"); diff --git a/src/main/java/com/airbyte/api/models/shared/CastorEdc.java b/src/main/java/com/airbyte/api/models/shared/CastorEdc.java new file mode 100644 index 000000000..99df58e98 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/CastorEdc.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum CastorEdc { + CASTOR_EDC("castor-edc"); + + @JsonValue + private final String value; + + private CastorEdc(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/CatalogType.java b/src/main/java/com/airbyte/api/models/shared/CatalogType.java new file mode 100644 index 000000000..bcd74de22 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/CatalogType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum CatalogType { + HIVE("Hive"); + + @JsonValue + private final String value; + + private CatalogType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Categories.java b/src/main/java/com/airbyte/api/models/shared/Categories.java index 89f796acf..3d233abf6 100644 --- a/src/main/java/com/airbyte/api/models/shared/Categories.java +++ b/src/main/java/com/airbyte/api/models/shared/Categories.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Categories { ACCESSIBILITY("accessibility"), diff --git a/src/main/java/com/airbyte/api/models/shared/Category.java b/src/main/java/com/airbyte/api/models/shared/Category.java new file mode 100644 index 000000000..bc70464b9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Category.java @@ -0,0 +1,32 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * Category - The category you want to get top headlines for. + */ +public enum Category { + BUSINESS("business"), + ENTERTAINMENT("entertainment"), + GENERAL("general"), + HEALTH("health"), + SCIENCE("science"), + SPORTS("sports"), + TECHNOLOGY("technology"); + + @JsonValue + private final String value; + + private Category(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/CentralAPIRouter.java b/src/main/java/com/airbyte/api/models/shared/CentralAPIRouter.java index 6cb845866..f8fe56d7f 100644 --- a/src/main/java/com/airbyte/api/models/shared/CentralAPIRouter.java +++ b/src/main/java/com/airbyte/api/models/shared/CentralAPIRouter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class CentralAPIRouter { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } CentralAPIRouter other = (CentralAPIRouter) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.siteId, other.siteId) && - java.util.Objects.deepEquals(this.userName, other.userName) && - java.util.Objects.deepEquals(this.userSecret, other.userSecret); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.siteId, other.siteId) && + Objects.deepEquals(this.userName, other.userName) && + Objects.deepEquals(this.userSecret, other.userSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, siteId, userName, diff --git a/src/main/java/com/airbyte/api/models/shared/Chameleon.java b/src/main/java/com/airbyte/api/models/shared/Chameleon.java index 8e0b72dcc..599e3ccd8 100644 --- a/src/main/java/com/airbyte/api/models/shared/Chameleon.java +++ b/src/main/java/com/airbyte/api/models/shared/Chameleon.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Chameleon { CHAMELEON("chameleon"); diff --git a/src/main/java/com/airbyte/api/models/shared/Chargebee.java b/src/main/java/com/airbyte/api/models/shared/Chargebee.java index 8b722e621..1457b13db 100644 --- a/src/main/java/com/airbyte/api/models/shared/Chargebee.java +++ b/src/main/java/com/airbyte/api/models/shared/Chargebee.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Chargebee { CHARGEBEE("chargebee"); diff --git a/src/main/java/com/airbyte/api/models/shared/Chargedesk.java b/src/main/java/com/airbyte/api/models/shared/Chargedesk.java new file mode 100644 index 000000000..dc88ba15b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Chargedesk.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Chargedesk { + CHARGEDESK("chargedesk"); + + @JsonValue + private final String value; + + private Chargedesk(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Chargify.java b/src/main/java/com/airbyte/api/models/shared/Chargify.java new file mode 100644 index 000000000..8172a315c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Chargify.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Chargify { + CHARGIFY("chargify"); + + @JsonValue + private final String value; + + private Chargify(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Chartmogul.java b/src/main/java/com/airbyte/api/models/shared/Chartmogul.java index 27e3d39c2..207b2e57c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Chartmogul.java +++ b/src/main/java/com/airbyte/api/models/shared/Chartmogul.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Chartmogul { CHARTMOGUL("chartmogul"); diff --git a/src/main/java/com/airbyte/api/models/shared/ChooseHowToPartitionData.java b/src/main/java/com/airbyte/api/models/shared/ChooseHowToPartitionData.java index 612d1bfc0..4980db4bb 100644 --- a/src/main/java/com/airbyte/api/models/shared/ChooseHowToPartitionData.java +++ b/src/main/java/com/airbyte/api/models/shared/ChooseHowToPartitionData.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ChooseHowToPartitionData - Partition data by cursor fields when a cursor field is a date diff --git a/src/main/java/com/airbyte/api/models/shared/Cimis.java b/src/main/java/com/airbyte/api/models/shared/Cimis.java index c18cfc324..94cc7285f 100644 --- a/src/main/java/com/airbyte/api/models/shared/Cimis.java +++ b/src/main/java/com/airbyte/api/models/shared/Cimis.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Cimis { CIMIS("cimis"); diff --git a/src/main/java/com/airbyte/api/models/shared/Cin7.java b/src/main/java/com/airbyte/api/models/shared/Cin7.java new file mode 100644 index 000000000..58d2f3712 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Cin7.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Cin7 { + CIN7("cin7"); + + @JsonValue + private final String value; + + private Cin7(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Circa.java b/src/main/java/com/airbyte/api/models/shared/Circa.java new file mode 100644 index 000000000..e21fa7435 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Circa.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Circa { + CIRCA("circa"); + + @JsonValue + private final String value; + + private Circa(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Circleci.java b/src/main/java/com/airbyte/api/models/shared/Circleci.java new file mode 100644 index 000000000..2dde88881 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Circleci.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Circleci { + CIRCLECI("circleci"); + + @JsonValue + private final String value; + + private Circleci(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ClarifAi.java b/src/main/java/com/airbyte/api/models/shared/ClarifAi.java new file mode 100644 index 000000000..55eb1d8cf --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ClarifAi.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ClarifAi { + CLARIF_AI("clarif-ai"); + + @JsonValue + private final String value; + + private ClarifAi(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Clazar.java b/src/main/java/com/airbyte/api/models/shared/Clazar.java index 2af06fe17..43889f5e0 100644 --- a/src/main/java/com/airbyte/api/models/shared/Clazar.java +++ b/src/main/java/com/airbyte/api/models/shared/Clazar.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Clazar { CLAZAR("clazar"); diff --git a/src/main/java/com/airbyte/api/models/shared/ClickWindowDays.java b/src/main/java/com/airbyte/api/models/shared/ClickWindowDays.java index c0c19c609..6c9a81177 100644 --- a/src/main/java/com/airbyte/api/models/shared/ClickWindowDays.java +++ b/src/main/java/com/airbyte/api/models/shared/ClickWindowDays.java @@ -1,19 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; /** * ClickWindowDays - Number of days to use as the conversion attribution window for a pin click action. diff --git a/src/main/java/com/airbyte/api/models/shared/Clickhouse.java b/src/main/java/com/airbyte/api/models/shared/Clickhouse.java index c93154f63..3f9bf6160 100644 --- a/src/main/java/com/airbyte/api/models/shared/Clickhouse.java +++ b/src/main/java/com/airbyte/api/models/shared/Clickhouse.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Clickhouse { CLICKHOUSE("clickhouse"); diff --git a/src/main/java/com/airbyte/api/models/shared/ClickupApi.java b/src/main/java/com/airbyte/api/models/shared/ClickupApi.java index 6ca7e055d..cded2cbeb 100644 --- a/src/main/java/com/airbyte/api/models/shared/ClickupApi.java +++ b/src/main/java/com/airbyte/api/models/shared/ClickupApi.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ClickupApi { CLICKUP_API("clickup-api"); diff --git a/src/main/java/com/airbyte/api/models/shared/Clockify.java b/src/main/java/com/airbyte/api/models/shared/Clockify.java index ee09130a2..4ad7819dc 100644 --- a/src/main/java/com/airbyte/api/models/shared/Clockify.java +++ b/src/main/java/com/airbyte/api/models/shared/Clockify.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Clockify { CLOCKIFY("clockify"); diff --git a/src/main/java/com/airbyte/api/models/shared/Clockodo.java b/src/main/java/com/airbyte/api/models/shared/Clockodo.java new file mode 100644 index 000000000..732d6c947 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Clockodo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Clockodo { + CLOCKODO("clockodo"); + + @JsonValue + private final String value; + + private Clockodo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/CloseCom.java b/src/main/java/com/airbyte/api/models/shared/CloseCom.java index 88f850bd8..94a298d79 100644 --- a/src/main/java/com/airbyte/api/models/shared/CloseCom.java +++ b/src/main/java/com/airbyte/api/models/shared/CloseCom.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum CloseCom { CLOSE_COM("close-com"); diff --git a/src/main/java/com/airbyte/api/models/shared/Cloudbeds.java b/src/main/java/com/airbyte/api/models/shared/Cloudbeds.java new file mode 100644 index 000000000..7ed9eabb3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Cloudbeds.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Cloudbeds { + CLOUDBEDS("cloudbeds"); + + @JsonValue + private final String value; + + private Cloudbeds(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ClusterType.java b/src/main/java/com/airbyte/api/models/shared/ClusterType.java new file mode 100644 index 000000000..843e5462c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ClusterType.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * ClusterType - Configures the MongoDB cluster type. + */ + +@JsonDeserialize(using = ClusterType._Deserializer.class) +public class ClusterType { + + @JsonValue + private TypedObject value; + + private ClusterType(TypedObject value) { + this.value = value; + } + + public static ClusterType of(MongoDBAtlasReplicaSet value) { + Utils.checkNotNull(value, "value"); + return new ClusterType(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static ClusterType of(SelfManagedReplicaSet value) { + Utils.checkNotNull(value, "value"); + return new ClusterType(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.MongoDBAtlasReplicaSet}
    • + *
    • {@code com.airbyte.api.models.shared.SelfManagedReplicaSet}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ClusterType other = (ClusterType) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(ClusterType.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(ClusterType.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/Coassemble.java b/src/main/java/com/airbyte/api/models/shared/Coassemble.java new file mode 100644 index 000000000..26c33ca20 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Coassemble.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Coassemble { + COASSEMBLE("coassemble"); + + @JsonValue + private final String value; + + private Coassemble(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Coda.java b/src/main/java/com/airbyte/api/models/shared/Coda.java index f3a8bc885..e6cdd6dcf 100644 --- a/src/main/java/com/airbyte/api/models/shared/Coda.java +++ b/src/main/java/com/airbyte/api/models/shared/Coda.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Coda { CODA("coda"); diff --git a/src/main/java/com/airbyte/api/models/shared/Codec.java b/src/main/java/com/airbyte/api/models/shared/Codec.java index c0ece7cd1..b55433936 100644 --- a/src/main/java/com/airbyte/api/models/shared/Codec.java +++ b/src/main/java/com/airbyte/api/models/shared/Codec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Codec { NO_COMPRESSION("no compression"); diff --git a/src/main/java/com/airbyte/api/models/shared/Codefresh.java b/src/main/java/com/airbyte/api/models/shared/Codefresh.java new file mode 100644 index 000000000..ce7151a81 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Codefresh.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Codefresh { + CODEFRESH("codefresh"); + + @JsonValue + private final String value; + + private Codefresh(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Cohere.java b/src/main/java/com/airbyte/api/models/shared/Cohere.java index 732d12871..0a8f6dae5 100644 --- a/src/main/java/com/airbyte/api/models/shared/Cohere.java +++ b/src/main/java/com/airbyte/api/models/shared/Cohere.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * Cohere - Use the Cohere API to embed text. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } Cohere other = (Cohere) o; return - java.util.Objects.deepEquals(this.cohereKey, other.cohereKey) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.cohereKey, other.cohereKey) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cohereKey, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/CohortReportSettings.java b/src/main/java/com/airbyte/api/models/shared/CohortReportSettings.java index cf093714b..be782ccd3 100644 --- a/src/main/java/com/airbyte/api/models/shared/CohortReportSettings.java +++ b/src/main/java/com/airbyte/api/models/shared/CohortReportSettings.java @@ -1,22 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * CohortReportSettings - Optional settings for a cohort report. */ @@ -28,11 +28,11 @@ public class CohortReportSettings { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("accumulate") - private Optional accumulate; + private Optional accumulate; @JsonCreator public CohortReportSettings( - @JsonProperty("accumulate") Optional accumulate) { + @JsonProperty("accumulate") Optional accumulate) { Utils.checkNotNull(accumulate, "accumulate"); this.accumulate = accumulate; } @@ -44,10 +44,9 @@ public CohortReportSettings() { /** * If true, accumulates the result from first touch day to the end day */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accumulate() { - return (Optional) accumulate; + return accumulate; } public final static Builder builder() { @@ -66,7 +65,7 @@ public CohortReportSettings withAccumulate(boolean accumulate) { /** * If true, accumulates the result from first touch day to the end day */ - public CohortReportSettings withAccumulate(Optional accumulate) { + public CohortReportSettings withAccumulate(Optional accumulate) { Utils.checkNotNull(accumulate, "accumulate"); this.accumulate = accumulate; return this; @@ -82,12 +81,12 @@ public boolean equals(java.lang.Object o) { } CohortReportSettings other = (CohortReportSettings) o; return - java.util.Objects.deepEquals(this.accumulate, other.accumulate); + Objects.deepEquals(this.accumulate, other.accumulate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accumulate); } @@ -99,7 +98,7 @@ public String toString() { public final static class Builder { - private Optional accumulate = Optional.empty(); + private Optional accumulate = Optional.empty(); private Builder() { // force use of static builder() method @@ -117,7 +116,7 @@ public Builder accumulate(boolean accumulate) { /** * If true, accumulates the result from first touch day to the end day */ - public Builder accumulate(Optional accumulate) { + public Builder accumulate(Optional accumulate) { Utils.checkNotNull(accumulate, "accumulate"); this.accumulate = accumulate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/CohortReports.java b/src/main/java/com/airbyte/api/models/shared/CohortReports.java index f96c554f0..6b8cc4b73 100644 --- a/src/main/java/com/airbyte/api/models/shared/CohortReports.java +++ b/src/main/java/com/airbyte/api/models/shared/CohortReports.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * CohortReports - Cohort reports creates a time series of user retention for the cohort. @@ -28,7 +25,7 @@ @JsonDeserialize(using = CohortReports._Deserializer.class) public class CohortReports { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private CohortReports(TypedObject value) { @@ -48,8 +45,8 @@ public static CohortReports of(SourceGoogleAnalyticsDataApiSchemasEnabled value) /** * Returns an instance of one of these types: *
      - *
    • {@code SourceGoogleAnalyticsDataApiDisabled}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasEnabled}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiDisabled}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasEnabled}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } CohortReports other = (CohortReports) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(CohortReports.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(CohortReports.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Cohorts.java b/src/main/java/com/airbyte/api/models/shared/Cohorts.java index d737e5d93..5cb76999c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Cohorts.java +++ b/src/main/java/com/airbyte/api/models/shared/Cohorts.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class Cohorts { @JsonProperty("dateRange") @@ -34,13 +33,13 @@ public class Cohorts { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("name") - private Optional name; + private Optional name; @JsonCreator public Cohorts( @JsonProperty("dateRange") DateRange dateRange, @JsonProperty("dimension") Dimension dimension, - @JsonProperty("name") Optional name) { + @JsonProperty("name") Optional name) { Utils.checkNotNull(dateRange, "dateRange"); Utils.checkNotNull(dimension, "dimension"); Utils.checkNotNull(name, "name"); @@ -71,10 +70,9 @@ public Dimension dimension() { /** * Assigns a name to this cohort. If not set, cohorts are named by their zero based index cohort_0, cohort_1, etc. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional name() { - return (Optional) name; + return name; } public final static Builder builder() { @@ -108,7 +106,7 @@ public Cohorts withName(String name) { /** * Assigns a name to this cohort. If not set, cohorts are named by their zero based index cohort_0, cohort_1, etc. */ - public Cohorts withName(Optional name) { + public Cohorts withName(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; @@ -124,14 +122,14 @@ public boolean equals(java.lang.Object o) { } Cohorts other = (Cohorts) o; return - java.util.Objects.deepEquals(this.dateRange, other.dateRange) && - java.util.Objects.deepEquals(this.dimension, other.dimension) && - java.util.Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.dateRange, other.dateRange) && + Objects.deepEquals(this.dimension, other.dimension) && + Objects.deepEquals(this.name, other.name); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( dateRange, dimension, name); @@ -151,7 +149,7 @@ public final static class Builder { private Dimension dimension; - private Optional name = Optional.empty(); + private Optional name = Optional.empty(); private Builder() { // force use of static builder() method @@ -184,7 +182,7 @@ public Builder name(String name) { /** * Assigns a name to this cohort. If not set, cohorts are named by their zero based index cohort_0, cohort_1, etc. */ - public Builder name(Optional name) { + public Builder name(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/CohortsRange.java b/src/main/java/com/airbyte/api/models/shared/CohortsRange.java index 21d3f0409..262e273dd 100644 --- a/src/main/java/com/airbyte/api/models/shared/CohortsRange.java +++ b/src/main/java/com/airbyte/api/models/shared/CohortsRange.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class CohortsRange { /** @@ -37,13 +37,13 @@ public class CohortsRange { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("startOffset") - private Optional startOffset; + private Optional startOffset; @JsonCreator public CohortsRange( @JsonProperty("endOffset") long endOffset, @JsonProperty("granularity") SourceGoogleAnalyticsDataApiGranularity granularity, - @JsonProperty("startOffset") Optional startOffset) { + @JsonProperty("startOffset") Optional startOffset) { Utils.checkNotNull(endOffset, "endOffset"); Utils.checkNotNull(granularity, "granularity"); Utils.checkNotNull(startOffset, "startOffset"); @@ -77,10 +77,9 @@ public SourceGoogleAnalyticsDataApiGranularity granularity() { /** * Specifies the start date of the extended reporting date range for a cohort report. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startOffset() { - return (Optional) startOffset; + return startOffset; } public final static Builder builder() { @@ -117,7 +116,7 @@ public CohortsRange withStartOffset(long startOffset) { /** * Specifies the start date of the extended reporting date range for a cohort report. */ - public CohortsRange withStartOffset(Optional startOffset) { + public CohortsRange withStartOffset(Optional startOffset) { Utils.checkNotNull(startOffset, "startOffset"); this.startOffset = startOffset; return this; @@ -133,14 +132,14 @@ public boolean equals(java.lang.Object o) { } CohortsRange other = (CohortsRange) o; return - java.util.Objects.deepEquals(this.endOffset, other.endOffset) && - java.util.Objects.deepEquals(this.granularity, other.granularity) && - java.util.Objects.deepEquals(this.startOffset, other.startOffset); + Objects.deepEquals(this.endOffset, other.endOffset) && + Objects.deepEquals(this.granularity, other.granularity) && + Objects.deepEquals(this.startOffset, other.startOffset); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( endOffset, granularity, startOffset); @@ -160,7 +159,7 @@ public final static class Builder { private SourceGoogleAnalyticsDataApiGranularity granularity; - private Optional startOffset = Optional.empty(); + private Optional startOffset = Optional.empty(); private Builder() { // force use of static builder() method @@ -196,7 +195,7 @@ public Builder startOffset(long startOffset) { /** * Specifies the start date of the extended reporting date range for a cohort report. */ - public Builder startOffset(Optional startOffset) { + public Builder startOffset(Optional startOffset) { Utils.checkNotNull(startOffset, "startOffset"); this.startOffset = startOffset; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/CoinApi.java b/src/main/java/com/airbyte/api/models/shared/CoinApi.java index 3878913b1..0497cd2f2 100644 --- a/src/main/java/com/airbyte/api/models/shared/CoinApi.java +++ b/src/main/java/com/airbyte/api/models/shared/CoinApi.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum CoinApi { COIN_API("coin-api"); diff --git a/src/main/java/com/airbyte/api/models/shared/Coinmarketcap.java b/src/main/java/com/airbyte/api/models/shared/Coinmarketcap.java index 58c9ee714..0cc98f332 100644 --- a/src/main/java/com/airbyte/api/models/shared/Coinmarketcap.java +++ b/src/main/java/com/airbyte/api/models/shared/Coinmarketcap.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Coinmarketcap { COINMARKETCAP("coinmarketcap"); diff --git a/src/main/java/com/airbyte/api/models/shared/Collection.java b/src/main/java/com/airbyte/api/models/shared/Collection.java index 0c727905f..ca0363fb2 100644 --- a/src/main/java/com/airbyte/api/models/shared/Collection.java +++ b/src/main/java/com/airbyte/api/models/shared/Collection.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * Collection - Settings for the Fauna Collection. */ @@ -40,12 +41,12 @@ public class Collection { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("page_size") - private Optional pageSize; + private Optional pageSize; @JsonCreator public Collection( @JsonProperty("deletions") DeletionMode deletions, - @JsonProperty("page_size") Optional pageSize) { + @JsonProperty("page_size") Optional pageSize) { Utils.checkNotNull(deletions, "deletions"); Utils.checkNotNull(pageSize, "pageSize"); this.deletions = deletions; @@ -73,10 +74,9 @@ public DeletionMode deletions() { * Choose your page size based on how large the documents are. <br> * See <a href="https://docs.fauna.com/fauna/current/learn/understanding/types#page">the docs</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional pageSize() { - return (Optional) pageSize; + return pageSize; } public final static Builder builder() { @@ -111,7 +111,7 @@ public Collection withPageSize(long pageSize) { * Choose your page size based on how large the documents are. <br> * See <a href="https://docs.fauna.com/fauna/current/learn/understanding/types#page">the docs</a>. */ - public Collection withPageSize(Optional pageSize) { + public Collection withPageSize(Optional pageSize) { Utils.checkNotNull(pageSize, "pageSize"); this.pageSize = pageSize; return this; @@ -127,13 +127,13 @@ public boolean equals(java.lang.Object o) { } Collection other = (Collection) o; return - java.util.Objects.deepEquals(this.deletions, other.deletions) && - java.util.Objects.deepEquals(this.pageSize, other.pageSize); + Objects.deepEquals(this.deletions, other.deletions) && + Objects.deepEquals(this.pageSize, other.pageSize); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( deletions, pageSize); } @@ -149,7 +149,7 @@ public final static class Builder { private DeletionMode deletions; - private Optional pageSize; + private Optional pageSize; private Builder() { // force use of static builder() method @@ -183,7 +183,7 @@ public Builder pageSize(long pageSize) { * Choose your page size based on how large the documents are. <br> * See <a href="https://docs.fauna.com/fauna/current/learn/understanding/types#page">the docs</a>. */ - public Builder pageSize(Optional pageSize) { + public Builder pageSize(Optional pageSize) { Utils.checkNotNull(pageSize, "pageSize"); this.pageSize = pageSize; return this; @@ -192,17 +192,16 @@ public Builder pageSize(Optional pageSize) { public Collection build() { if (pageSize == null) { pageSize = _SINGLETON_VALUE_PageSize.value(); - } - return new Collection( + } return new Collection( deletions, pageSize); } - private static final LazySingletonValue> _SINGLETON_VALUE_PageSize = + private static final LazySingletonValue> _SINGLETON_VALUE_PageSize = new LazySingletonValue<>( "page_size", "64", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Compression.java b/src/main/java/com/airbyte/api/models/shared/Compression.java index c1915a7f9..7c0dc00d8 100644 --- a/src/main/java/com/airbyte/api/models/shared/Compression.java +++ b/src/main/java/com/airbyte/api/models/shared/Compression.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * Compression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). @@ -28,7 +25,7 @@ @JsonDeserialize(using = Compression._Deserializer.class) public class Compression { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private Compression(TypedObject value) { @@ -48,8 +45,8 @@ public static Compression of(Gzip value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationGcsNoCompression}
    • - *
    • {@code Gzip}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationGcsNoCompression}
    • + *
    • {@code com.airbyte.api.models.shared.Gzip}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } Compression other = (Compression) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(Compression.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(Compression.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/CompressionCodec.java b/src/main/java/com/airbyte/api/models/shared/CompressionCodec.java index 6000adf76..67838c124 100644 --- a/src/main/java/com/airbyte/api/models/shared/CompressionCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/CompressionCodec.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * CompressionCodec - The compression algorithm used to compress data. Default to no compression. @@ -28,7 +25,7 @@ @JsonDeserialize(using = CompressionCodec._Deserializer.class) public class CompressionCodec { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private CompressionCodec(TypedObject value) { @@ -68,12 +65,12 @@ public static CompressionCodec of(Snappy value) { /** * Returns an instance of one of these types: *

      - *
    • {@code NoCompression}
    • - *
    • {@code Deflate}
    • - *
    • {@code Bzip2}
    • - *
    • {@code Xz}
    • - *
    • {@code Zstandard}
    • - *
    • {@code Snappy}
    • + *
    • {@code com.airbyte.api.models.shared.NoCompression}
    • + *
    • {@code com.airbyte.api.models.shared.Deflate}
    • + *
    • {@code com.airbyte.api.models.shared.Bzip2}
    • + *
    • {@code com.airbyte.api.models.shared.Xz}
    • + *
    • {@code com.airbyte.api.models.shared.Zstandard}
    • + *
    • {@code com.airbyte.api.models.shared.Snappy}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -100,25 +97,25 @@ public boolean equals(java.lang.Object o) { return false; } CompressionCodec other = (CompressionCodec) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(CompressionCodec.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(CompressionCodec.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/CompressionCodecOptional.java b/src/main/java/com/airbyte/api/models/shared/CompressionCodecOptional.java index 328b01bba..58202a415 100644 --- a/src/main/java/com/airbyte/api/models/shared/CompressionCodecOptional.java +++ b/src/main/java/com/airbyte/api/models/shared/CompressionCodecOptional.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * CompressionCodecOptional - The compression algorithm used to compress data. diff --git a/src/main/java/com/airbyte/api/models/shared/CompressionType.java b/src/main/java/com/airbyte/api/models/shared/CompressionType.java index 59cf3787d..c756249d8 100644 --- a/src/main/java/com/airbyte/api/models/shared/CompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/CompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum CompressionType { NO_COMPRESSION("No Compression"); diff --git a/src/main/java/com/airbyte/api/models/shared/Concord.java b/src/main/java/com/airbyte/api/models/shared/Concord.java new file mode 100644 index 000000000..c450c6491 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Concord.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Concord { + CONCORD("concord"); + + @JsonValue + private final String value; + + private Concord(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Configcat.java b/src/main/java/com/airbyte/api/models/shared/Configcat.java index 13b1929db..639bcedf4 100644 --- a/src/main/java/com/airbyte/api/models/shared/Configcat.java +++ b/src/main/java/com/airbyte/api/models/shared/Configcat.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Configcat { CONFIGCAT("configcat"); diff --git a/src/main/java/com/airbyte/api/models/shared/ConfiguredStreamMapper.java b/src/main/java/com/airbyte/api/models/shared/ConfiguredStreamMapper.java new file mode 100644 index 000000000..b4ae2eb43 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ConfiguredStreamMapper.java @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class ConfiguredStreamMapper { + + /** + * The values required to configure the mapper. + */ + @JsonProperty("mapperConfiguration") + private MapperConfiguration mapperConfiguration; + + @JsonProperty("type") + private StreamMapperType type; + + @JsonCreator + public ConfiguredStreamMapper( + @JsonProperty("mapperConfiguration") MapperConfiguration mapperConfiguration, + @JsonProperty("type") StreamMapperType type) { + Utils.checkNotNull(mapperConfiguration, "mapperConfiguration"); + Utils.checkNotNull(type, "type"); + this.mapperConfiguration = mapperConfiguration; + this.type = type; + } + + /** + * The values required to configure the mapper. + */ + @JsonIgnore + public MapperConfiguration mapperConfiguration() { + return mapperConfiguration; + } + + @JsonIgnore + public StreamMapperType type() { + return type; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The values required to configure the mapper. + */ + public ConfiguredStreamMapper withMapperConfiguration(MapperConfiguration mapperConfiguration) { + Utils.checkNotNull(mapperConfiguration, "mapperConfiguration"); + this.mapperConfiguration = mapperConfiguration; + return this; + } + + public ConfiguredStreamMapper withType(StreamMapperType type) { + Utils.checkNotNull(type, "type"); + this.type = type; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConfiguredStreamMapper other = (ConfiguredStreamMapper) o; + return + Objects.deepEquals(this.mapperConfiguration, other.mapperConfiguration) && + Objects.deepEquals(this.type, other.type); + } + + @Override + public int hashCode() { + return Objects.hash( + mapperConfiguration, + type); + } + + @Override + public String toString() { + return Utils.toString(ConfiguredStreamMapper.class, + "mapperConfiguration", mapperConfiguration, + "type", type); + } + + public final static class Builder { + + private MapperConfiguration mapperConfiguration; + + private StreamMapperType type; + + private Builder() { + // force use of static builder() method + } + + /** + * The values required to configure the mapper. + */ + public Builder mapperConfiguration(MapperConfiguration mapperConfiguration) { + Utils.checkNotNull(mapperConfiguration, "mapperConfiguration"); + this.mapperConfiguration = mapperConfiguration; + return this; + } + + public Builder type(StreamMapperType type) { + Utils.checkNotNull(type, "type"); + this.type = type; + return this; + } + + public ConfiguredStreamMapper build() { + return new ConfiguredStreamMapper( + mapperConfiguration, + type); + } + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Confluence.java b/src/main/java/com/airbyte/api/models/shared/Confluence.java index 6d8abd0fb..5a88c55e8 100644 --- a/src/main/java/com/airbyte/api/models/shared/Confluence.java +++ b/src/main/java/com/airbyte/api/models/shared/Confluence.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Confluence { CONFLUENCE("confluence"); diff --git a/src/main/java/com/airbyte/api/models/shared/ConnectBy.java b/src/main/java/com/airbyte/api/models/shared/ConnectBy.java index 95c717dbc..0d3aae39d 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConnectBy.java +++ b/src/main/java/com/airbyte/api/models/shared/ConnectBy.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * ConnectBy - Connect data that will be used for DB connection @@ -28,7 +25,7 @@ @JsonDeserialize(using = ConnectBy._Deserializer.class) public class ConnectBy { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private ConnectBy(TypedObject value) { @@ -48,8 +45,8 @@ public static ConnectBy of(SystemIDSID value) { /** * Returns an instance of one of these types: *

      - *
    • {@code ServiceName}
    • - *
    • {@code SystemIDSID}
    • + *
    • {@code com.airbyte.api.models.shared.ServiceName}
    • + *
    • {@code com.airbyte.api.models.shared.SystemIDSID}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } ConnectBy other = (ConnectBy) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(ConnectBy.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(ConnectBy.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java b/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java index cb6189348..6147cdcc0 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ConnectionCreateRequest { /** @@ -40,7 +41,7 @@ public class ConnectionCreateRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("name") - private Optional name; + private Optional name; /** * Define the location where the data will be stored in the destination @@ -54,7 +55,7 @@ public class ConnectionCreateRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("namespaceFormat") - private Optional namespaceFormat; + private Optional namespaceFormat; /** * Set how Airbyte handles syncs when it detects a non-breaking schema change in the source @@ -68,7 +69,7 @@ public class ConnectionCreateRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("prefix") - private Optional prefix; + private Optional prefix; /** * schedule for when the the connection should run, per the schedule type @@ -89,11 +90,11 @@ public ConnectionCreateRequest( @JsonProperty("configurations") Optional configurations, @JsonProperty("dataResidency") Optional dataResidency, @JsonProperty("destinationId") String destinationId, - @JsonProperty("name") Optional name, + @JsonProperty("name") Optional name, @JsonProperty("namespaceDefinition") Optional namespaceDefinition, - @JsonProperty("namespaceFormat") Optional namespaceFormat, + @JsonProperty("namespaceFormat") Optional namespaceFormat, @JsonProperty("nonBreakingSchemaUpdatesBehavior") Optional nonBreakingSchemaUpdatesBehavior, - @JsonProperty("prefix") Optional prefix, + @JsonProperty("prefix") Optional prefix, @JsonProperty("schedule") Optional schedule, @JsonProperty("sourceId") String sourceId, @JsonProperty("status") Optional status) { @@ -150,10 +151,9 @@ public String destinationId() { /** * Optional name of the connection */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional name() { - return (Optional) name; + return name; } /** @@ -168,10 +168,9 @@ public Optional namespaceDefinition() { /** * Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional namespaceFormat() { - return (Optional) namespaceFormat; + return namespaceFormat; } /** @@ -186,10 +185,9 @@ public Optional nonBreakingSchemaUpdatesBe /** * Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional prefix() { - return (Optional) prefix; + return prefix; } /** @@ -264,7 +262,7 @@ public ConnectionCreateRequest withName(String name) { /** * Optional name of the connection */ - public ConnectionCreateRequest withName(Optional name) { + public ConnectionCreateRequest withName(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; @@ -300,7 +298,7 @@ public ConnectionCreateRequest withNamespaceFormat(String namespaceFormat) { /** * Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. */ - public ConnectionCreateRequest withNamespaceFormat(Optional namespaceFormat) { + public ConnectionCreateRequest withNamespaceFormat(Optional namespaceFormat) { Utils.checkNotNull(namespaceFormat, "namespaceFormat"); this.namespaceFormat = namespaceFormat; return this; @@ -336,7 +334,7 @@ public ConnectionCreateRequest withPrefix(String prefix) { /** * Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). */ - public ConnectionCreateRequest withPrefix(Optional prefix) { + public ConnectionCreateRequest withPrefix(Optional prefix) { Utils.checkNotNull(prefix, "prefix"); this.prefix = prefix; return this; @@ -388,22 +386,22 @@ public boolean equals(java.lang.Object o) { } ConnectionCreateRequest other = (ConnectionCreateRequest) o; return - java.util.Objects.deepEquals(this.configurations, other.configurations) && - java.util.Objects.deepEquals(this.dataResidency, other.dataResidency) && - java.util.Objects.deepEquals(this.destinationId, other.destinationId) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.namespaceDefinition, other.namespaceDefinition) && - java.util.Objects.deepEquals(this.namespaceFormat, other.namespaceFormat) && - java.util.Objects.deepEquals(this.nonBreakingSchemaUpdatesBehavior, other.nonBreakingSchemaUpdatesBehavior) && - java.util.Objects.deepEquals(this.prefix, other.prefix) && - java.util.Objects.deepEquals(this.schedule, other.schedule) && - java.util.Objects.deepEquals(this.sourceId, other.sourceId) && - java.util.Objects.deepEquals(this.status, other.status); + Objects.deepEquals(this.configurations, other.configurations) && + Objects.deepEquals(this.dataResidency, other.dataResidency) && + Objects.deepEquals(this.destinationId, other.destinationId) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.namespaceDefinition, other.namespaceDefinition) && + Objects.deepEquals(this.namespaceFormat, other.namespaceFormat) && + Objects.deepEquals(this.nonBreakingSchemaUpdatesBehavior, other.nonBreakingSchemaUpdatesBehavior) && + Objects.deepEquals(this.prefix, other.prefix) && + Objects.deepEquals(this.schedule, other.schedule) && + Objects.deepEquals(this.sourceId, other.sourceId) && + Objects.deepEquals(this.status, other.status); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configurations, dataResidency, destinationId, @@ -441,15 +439,15 @@ public final static class Builder { private String destinationId; - private Optional name = Optional.empty(); + private Optional name = Optional.empty(); private Optional namespaceDefinition; - private Optional namespaceFormat; + private Optional namespaceFormat; private Optional nonBreakingSchemaUpdatesBehavior; - private Optional prefix = Optional.empty(); + private Optional prefix = Optional.empty(); private Optional schedule = Optional.empty(); @@ -509,7 +507,7 @@ public Builder name(String name) { /** * Optional name of the connection */ - public Builder name(Optional name) { + public Builder name(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; @@ -545,7 +543,7 @@ public Builder namespaceFormat(String namespaceFormat) { /** * Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. */ - public Builder namespaceFormat(Optional namespaceFormat) { + public Builder namespaceFormat(Optional namespaceFormat) { Utils.checkNotNull(namespaceFormat, "namespaceFormat"); this.namespaceFormat = namespaceFormat; return this; @@ -581,7 +579,7 @@ public Builder prefix(String prefix) { /** * Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). */ - public Builder prefix(Optional prefix) { + public Builder prefix(Optional prefix) { Utils.checkNotNull(prefix, "prefix"); this.prefix = prefix; return this; @@ -635,8 +633,7 @@ public ConnectionCreateRequest build() { } if (nonBreakingSchemaUpdatesBehavior == null) { nonBreakingSchemaUpdatesBehavior = _SINGLETON_VALUE_NonBreakingSchemaUpdatesBehavior.value(); - } - return new ConnectionCreateRequest( + } return new ConnectionCreateRequest( configurations, dataResidency, destinationId, @@ -662,11 +659,11 @@ public ConnectionCreateRequest build() { "\"destination\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_NamespaceFormat = + private static final LazySingletonValue> _SINGLETON_VALUE_NamespaceFormat = new LazySingletonValue<>( "namespaceFormat", "null", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_NonBreakingSchemaUpdatesBehavior = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java b/src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java index 2ffab6cfc..1540d475a 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ConnectionPatchRequest { /** @@ -37,7 +38,7 @@ public class ConnectionPatchRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("name") - private Optional name; + private Optional name; /** * Define the location where the data will be stored in the destination @@ -51,7 +52,7 @@ public class ConnectionPatchRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("namespaceFormat") - private Optional namespaceFormat; + private Optional namespaceFormat; /** * Set how Airbyte handles syncs when it detects a non-breaking schema change in the source @@ -65,7 +66,7 @@ public class ConnectionPatchRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("prefix") - private Optional prefix; + private Optional prefix; /** * schedule for when the the connection should run, per the schedule type @@ -82,11 +83,11 @@ public class ConnectionPatchRequest { public ConnectionPatchRequest( @JsonProperty("configurations") Optional configurations, @JsonProperty("dataResidency") Optional dataResidency, - @JsonProperty("name") Optional name, + @JsonProperty("name") Optional name, @JsonProperty("namespaceDefinition") Optional namespaceDefinition, - @JsonProperty("namespaceFormat") Optional namespaceFormat, + @JsonProperty("namespaceFormat") Optional namespaceFormat, @JsonProperty("nonBreakingSchemaUpdatesBehavior") Optional nonBreakingSchemaUpdatesBehavior, - @JsonProperty("prefix") Optional prefix, + @JsonProperty("prefix") Optional prefix, @JsonProperty("schedule") Optional schedule, @JsonProperty("status") Optional status) { Utils.checkNotNull(configurations, "configurations"); @@ -131,10 +132,9 @@ public Optional dataResidency() { /** * Optional name of the connection */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional name() { - return (Optional) name; + return name; } /** @@ -149,10 +149,9 @@ public Optional namespaceDefinition() { /** * Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional namespaceFormat() { - return (Optional) namespaceFormat; + return namespaceFormat; } /** @@ -167,10 +166,9 @@ public Optional nonBreakingSchema /** * Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional prefix() { - return (Optional) prefix; + return prefix; } /** @@ -234,7 +232,7 @@ public ConnectionPatchRequest withName(String name) { /** * Optional name of the connection */ - public ConnectionPatchRequest withName(Optional name) { + public ConnectionPatchRequest withName(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; @@ -270,7 +268,7 @@ public ConnectionPatchRequest withNamespaceFormat(String namespaceFormat) { /** * Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. */ - public ConnectionPatchRequest withNamespaceFormat(Optional namespaceFormat) { + public ConnectionPatchRequest withNamespaceFormat(Optional namespaceFormat) { Utils.checkNotNull(namespaceFormat, "namespaceFormat"); this.namespaceFormat = namespaceFormat; return this; @@ -306,7 +304,7 @@ public ConnectionPatchRequest withPrefix(String prefix) { /** * Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). */ - public ConnectionPatchRequest withPrefix(Optional prefix) { + public ConnectionPatchRequest withPrefix(Optional prefix) { Utils.checkNotNull(prefix, "prefix"); this.prefix = prefix; return this; @@ -352,20 +350,20 @@ public boolean equals(java.lang.Object o) { } ConnectionPatchRequest other = (ConnectionPatchRequest) o; return - java.util.Objects.deepEquals(this.configurations, other.configurations) && - java.util.Objects.deepEquals(this.dataResidency, other.dataResidency) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.namespaceDefinition, other.namespaceDefinition) && - java.util.Objects.deepEquals(this.namespaceFormat, other.namespaceFormat) && - java.util.Objects.deepEquals(this.nonBreakingSchemaUpdatesBehavior, other.nonBreakingSchemaUpdatesBehavior) && - java.util.Objects.deepEquals(this.prefix, other.prefix) && - java.util.Objects.deepEquals(this.schedule, other.schedule) && - java.util.Objects.deepEquals(this.status, other.status); + Objects.deepEquals(this.configurations, other.configurations) && + Objects.deepEquals(this.dataResidency, other.dataResidency) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.namespaceDefinition, other.namespaceDefinition) && + Objects.deepEquals(this.namespaceFormat, other.namespaceFormat) && + Objects.deepEquals(this.nonBreakingSchemaUpdatesBehavior, other.nonBreakingSchemaUpdatesBehavior) && + Objects.deepEquals(this.prefix, other.prefix) && + Objects.deepEquals(this.schedule, other.schedule) && + Objects.deepEquals(this.status, other.status); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configurations, dataResidency, name, @@ -397,15 +395,15 @@ public final static class Builder { private Optional dataResidency = Optional.empty(); - private Optional name = Optional.empty(); + private Optional name = Optional.empty(); private Optional namespaceDefinition = Optional.empty(); - private Optional namespaceFormat; + private Optional namespaceFormat; private Optional nonBreakingSchemaUpdatesBehavior = Optional.empty(); - private Optional prefix = Optional.empty(); + private Optional prefix = Optional.empty(); private Optional schedule = Optional.empty(); @@ -457,7 +455,7 @@ public Builder name(String name) { /** * Optional name of the connection */ - public Builder name(Optional name) { + public Builder name(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; @@ -493,7 +491,7 @@ public Builder namespaceFormat(String namespaceFormat) { /** * Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. */ - public Builder namespaceFormat(Optional namespaceFormat) { + public Builder namespaceFormat(Optional namespaceFormat) { Utils.checkNotNull(namespaceFormat, "namespaceFormat"); this.namespaceFormat = namespaceFormat; return this; @@ -529,7 +527,7 @@ public Builder prefix(String prefix) { /** * Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). */ - public Builder prefix(Optional prefix) { + public Builder prefix(Optional prefix) { Utils.checkNotNull(prefix, "prefix"); this.prefix = prefix; return this; @@ -568,8 +566,7 @@ public Builder status(Optional status) { public ConnectionPatchRequest build() { if (namespaceFormat == null) { namespaceFormat = _SINGLETON_VALUE_NamespaceFormat.value(); - } - return new ConnectionPatchRequest( + } return new ConnectionPatchRequest( configurations, dataResidency, name, @@ -581,11 +578,11 @@ public ConnectionPatchRequest build() { status); } - private static final LazySingletonValue> _SINGLETON_VALUE_NamespaceFormat = + private static final LazySingletonValue> _SINGLETON_VALUE_NamespaceFormat = new LazySingletonValue<>( "namespaceFormat", "null", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java b/src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java index 61f00a442..87ade5620 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * ConnectionResponse - Provides details of a single connection. */ @@ -33,6 +35,9 @@ public class ConnectionResponse { @JsonProperty("connectionId") private String connectionId; + @JsonProperty("createdAt") + private long createdAt; + @JsonInclude(Include.NON_ABSENT) @JsonProperty("dataResidency") private Optional dataResidency; @@ -52,7 +57,7 @@ public class ConnectionResponse { @JsonInclude(Include.NON_ABSENT) @JsonProperty("namespaceFormat") - private Optional namespaceFormat; + private Optional namespaceFormat; /** * Set how Airbyte handles syncs when it detects a non-breaking schema change in the source @@ -63,7 +68,7 @@ public class ConnectionResponse { @JsonInclude(Include.NON_ABSENT) @JsonProperty("prefix") - private Optional prefix; + private Optional prefix; /** * schedule for when the the connection should run, per the schedule type @@ -84,19 +89,21 @@ public class ConnectionResponse { public ConnectionResponse( @JsonProperty("configurations") StreamConfigurations configurations, @JsonProperty("connectionId") String connectionId, + @JsonProperty("createdAt") long createdAt, @JsonProperty("dataResidency") Optional dataResidency, @JsonProperty("destinationId") String destinationId, @JsonProperty("name") String name, @JsonProperty("namespaceDefinition") Optional namespaceDefinition, - @JsonProperty("namespaceFormat") Optional namespaceFormat, + @JsonProperty("namespaceFormat") Optional namespaceFormat, @JsonProperty("nonBreakingSchemaUpdatesBehavior") Optional nonBreakingSchemaUpdatesBehavior, - @JsonProperty("prefix") Optional prefix, + @JsonProperty("prefix") Optional prefix, @JsonProperty("schedule") ConnectionScheduleResponse schedule, @JsonProperty("sourceId") String sourceId, @JsonProperty("status") ConnectionStatusEnum status, @JsonProperty("workspaceId") String workspaceId) { Utils.checkNotNull(configurations, "configurations"); Utils.checkNotNull(connectionId, "connectionId"); + Utils.checkNotNull(createdAt, "createdAt"); Utils.checkNotNull(dataResidency, "dataResidency"); Utils.checkNotNull(destinationId, "destinationId"); Utils.checkNotNull(name, "name"); @@ -110,6 +117,7 @@ public ConnectionResponse( Utils.checkNotNull(workspaceId, "workspaceId"); this.configurations = configurations; this.connectionId = connectionId; + this.createdAt = createdAt; this.dataResidency = dataResidency; this.destinationId = destinationId; this.name = name; @@ -126,13 +134,14 @@ public ConnectionResponse( public ConnectionResponse( StreamConfigurations configurations, String connectionId, + long createdAt, String destinationId, String name, ConnectionScheduleResponse schedule, String sourceId, ConnectionStatusEnum status, String workspaceId) { - this(configurations, connectionId, Optional.empty(), destinationId, name, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), schedule, sourceId, status, workspaceId); + this(configurations, connectionId, createdAt, Optional.empty(), destinationId, name, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), schedule, sourceId, status, workspaceId); } /** @@ -148,6 +157,11 @@ public String connectionId() { return connectionId; } + @JsonIgnore + public long createdAt() { + return createdAt; + } + @SuppressWarnings("unchecked") @JsonIgnore public Optional dataResidency() { @@ -173,10 +187,9 @@ public Optional namespaceDefinition() { return (Optional) namespaceDefinition; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional namespaceFormat() { - return (Optional) namespaceFormat; + return namespaceFormat; } /** @@ -188,10 +201,9 @@ public Optional nonBreakingSchemaUpdatesBe return (Optional) nonBreakingSchemaUpdatesBehavior; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional prefix() { - return (Optional) prefix; + return prefix; } /** @@ -236,6 +248,12 @@ public ConnectionResponse withConnectionId(String connectionId) { return this; } + public ConnectionResponse withCreatedAt(long createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = createdAt; + return this; + } + public ConnectionResponse withDataResidency(GeographyEnum dataResidency) { Utils.checkNotNull(dataResidency, "dataResidency"); this.dataResidency = Optional.ofNullable(dataResidency); @@ -284,7 +302,7 @@ public ConnectionResponse withNamespaceFormat(String namespaceFormat) { return this; } - public ConnectionResponse withNamespaceFormat(Optional namespaceFormat) { + public ConnectionResponse withNamespaceFormat(Optional namespaceFormat) { Utils.checkNotNull(namespaceFormat, "namespaceFormat"); this.namespaceFormat = namespaceFormat; return this; @@ -314,7 +332,7 @@ public ConnectionResponse withPrefix(String prefix) { return this; } - public ConnectionResponse withPrefix(Optional prefix) { + public ConnectionResponse withPrefix(Optional prefix) { Utils.checkNotNull(prefix, "prefix"); this.prefix = prefix; return this; @@ -357,26 +375,28 @@ public boolean equals(java.lang.Object o) { } ConnectionResponse other = (ConnectionResponse) o; return - java.util.Objects.deepEquals(this.configurations, other.configurations) && - java.util.Objects.deepEquals(this.connectionId, other.connectionId) && - java.util.Objects.deepEquals(this.dataResidency, other.dataResidency) && - java.util.Objects.deepEquals(this.destinationId, other.destinationId) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.namespaceDefinition, other.namespaceDefinition) && - java.util.Objects.deepEquals(this.namespaceFormat, other.namespaceFormat) && - java.util.Objects.deepEquals(this.nonBreakingSchemaUpdatesBehavior, other.nonBreakingSchemaUpdatesBehavior) && - java.util.Objects.deepEquals(this.prefix, other.prefix) && - java.util.Objects.deepEquals(this.schedule, other.schedule) && - java.util.Objects.deepEquals(this.sourceId, other.sourceId) && - java.util.Objects.deepEquals(this.status, other.status) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.configurations, other.configurations) && + Objects.deepEquals(this.connectionId, other.connectionId) && + Objects.deepEquals(this.createdAt, other.createdAt) && + Objects.deepEquals(this.dataResidency, other.dataResidency) && + Objects.deepEquals(this.destinationId, other.destinationId) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.namespaceDefinition, other.namespaceDefinition) && + Objects.deepEquals(this.namespaceFormat, other.namespaceFormat) && + Objects.deepEquals(this.nonBreakingSchemaUpdatesBehavior, other.nonBreakingSchemaUpdatesBehavior) && + Objects.deepEquals(this.prefix, other.prefix) && + Objects.deepEquals(this.schedule, other.schedule) && + Objects.deepEquals(this.sourceId, other.sourceId) && + Objects.deepEquals(this.status, other.status) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configurations, connectionId, + createdAt, dataResidency, destinationId, name, @@ -395,6 +415,7 @@ public String toString() { return Utils.toString(ConnectionResponse.class, "configurations", configurations, "connectionId", connectionId, + "createdAt", createdAt, "dataResidency", dataResidency, "destinationId", destinationId, "name", name, @@ -414,6 +435,8 @@ public final static class Builder { private String connectionId; + private Long createdAt; + private Optional dataResidency; private String destinationId; @@ -422,11 +445,11 @@ public final static class Builder { private Optional namespaceDefinition; - private Optional namespaceFormat = Optional.empty(); + private Optional namespaceFormat = Optional.empty(); private Optional nonBreakingSchemaUpdatesBehavior; - private Optional prefix = Optional.empty(); + private Optional prefix = Optional.empty(); private ConnectionScheduleResponse schedule; @@ -455,6 +478,12 @@ public Builder connectionId(String connectionId) { return this; } + public Builder createdAt(long createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = createdAt; + return this; + } + public Builder dataResidency(GeographyEnum dataResidency) { Utils.checkNotNull(dataResidency, "dataResidency"); this.dataResidency = Optional.ofNullable(dataResidency); @@ -503,7 +532,7 @@ public Builder namespaceFormat(String namespaceFormat) { return this; } - public Builder namespaceFormat(Optional namespaceFormat) { + public Builder namespaceFormat(Optional namespaceFormat) { Utils.checkNotNull(namespaceFormat, "namespaceFormat"); this.namespaceFormat = namespaceFormat; return this; @@ -533,7 +562,7 @@ public Builder prefix(String prefix) { return this; } - public Builder prefix(Optional prefix) { + public Builder prefix(Optional prefix) { Utils.checkNotNull(prefix, "prefix"); this.prefix = prefix; return this; @@ -575,10 +604,10 @@ public ConnectionResponse build() { } if (nonBreakingSchemaUpdatesBehavior == null) { nonBreakingSchemaUpdatesBehavior = _SINGLETON_VALUE_NonBreakingSchemaUpdatesBehavior.value(); - } - return new ConnectionResponse( + } return new ConnectionResponse( configurations, connectionId, + createdAt, dataResidency, destinationId, name, diff --git a/src/main/java/com/airbyte/api/models/shared/ConnectionScheduleResponse.java b/src/main/java/com/airbyte/api/models/shared/ConnectionScheduleResponse.java index 7dd30bf6d..9c3e30bfc 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConnectionScheduleResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/ConnectionScheduleResponse.java @@ -1,22 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * ConnectionScheduleResponse - schedule for when the the connection should run, per the schedule type */ @@ -25,19 +24,19 @@ public class ConnectionScheduleResponse { @JsonInclude(Include.NON_ABSENT) @JsonProperty("basicTiming") - private Optional basicTiming; + private Optional basicTiming; @JsonInclude(Include.NON_ABSENT) @JsonProperty("cronExpression") - private Optional cronExpression; + private Optional cronExpression; @JsonProperty("scheduleType") private ScheduleTypeWithBasicEnum scheduleType; @JsonCreator public ConnectionScheduleResponse( - @JsonProperty("basicTiming") Optional basicTiming, - @JsonProperty("cronExpression") Optional cronExpression, + @JsonProperty("basicTiming") Optional basicTiming, + @JsonProperty("cronExpression") Optional cronExpression, @JsonProperty("scheduleType") ScheduleTypeWithBasicEnum scheduleType) { Utils.checkNotNull(basicTiming, "basicTiming"); Utils.checkNotNull(cronExpression, "cronExpression"); @@ -52,16 +51,14 @@ public ConnectionScheduleResponse( this(Optional.empty(), Optional.empty(), scheduleType); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional basicTiming() { - return (Optional) basicTiming; + return basicTiming; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional cronExpression() { - return (Optional) cronExpression; + return cronExpression; } @JsonIgnore @@ -79,7 +76,7 @@ public ConnectionScheduleResponse withBasicTiming(String basicTiming) { return this; } - public ConnectionScheduleResponse withBasicTiming(Optional basicTiming) { + public ConnectionScheduleResponse withBasicTiming(Optional basicTiming) { Utils.checkNotNull(basicTiming, "basicTiming"); this.basicTiming = basicTiming; return this; @@ -91,7 +88,7 @@ public ConnectionScheduleResponse withCronExpression(String cronExpression) { return this; } - public ConnectionScheduleResponse withCronExpression(Optional cronExpression) { + public ConnectionScheduleResponse withCronExpression(Optional cronExpression) { Utils.checkNotNull(cronExpression, "cronExpression"); this.cronExpression = cronExpression; return this; @@ -113,14 +110,14 @@ public boolean equals(java.lang.Object o) { } ConnectionScheduleResponse other = (ConnectionScheduleResponse) o; return - java.util.Objects.deepEquals(this.basicTiming, other.basicTiming) && - java.util.Objects.deepEquals(this.cronExpression, other.cronExpression) && - java.util.Objects.deepEquals(this.scheduleType, other.scheduleType); + Objects.deepEquals(this.basicTiming, other.basicTiming) && + Objects.deepEquals(this.cronExpression, other.cronExpression) && + Objects.deepEquals(this.scheduleType, other.scheduleType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( basicTiming, cronExpression, scheduleType); @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional basicTiming = Optional.empty(); + private Optional basicTiming = Optional.empty(); - private Optional cronExpression = Optional.empty(); + private Optional cronExpression = Optional.empty(); private ScheduleTypeWithBasicEnum scheduleType; @@ -152,7 +149,7 @@ public Builder basicTiming(String basicTiming) { return this; } - public Builder basicTiming(Optional basicTiming) { + public Builder basicTiming(Optional basicTiming) { Utils.checkNotNull(basicTiming, "basicTiming"); this.basicTiming = basicTiming; return this; @@ -164,7 +161,7 @@ public Builder cronExpression(String cronExpression) { return this; } - public Builder cronExpression(Optional cronExpression) { + public Builder cronExpression(Optional cronExpression) { Utils.checkNotNull(cronExpression, "cronExpression"); this.cronExpression = cronExpression; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/ConnectionStatusEnum.java b/src/main/java/com/airbyte/api/models/shared/ConnectionStatusEnum.java index 4d0a489b5..b0564b606 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConnectionStatusEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/ConnectionStatusEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ConnectionStatusEnum { ACTIVE("active"), diff --git a/src/main/java/com/airbyte/api/models/shared/ConnectionSyncModeEnum.java b/src/main/java/com/airbyte/api/models/shared/ConnectionSyncModeEnum.java index 5dab6c2b4..a01efd2ab 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConnectionSyncModeEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/ConnectionSyncModeEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ConnectionSyncModeEnum { FULL_REFRESH_OVERWRITE("full_refresh_overwrite"), diff --git a/src/main/java/com/airbyte/api/models/shared/ConnectionType.java b/src/main/java/com/airbyte/api/models/shared/ConnectionType.java index 4c05c5d3b..a83e7ba35 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConnectionType.java +++ b/src/main/java/com/airbyte/api/models/shared/ConnectionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ConnectionType { SERVICE_NAME("service_name"); diff --git a/src/main/java/com/airbyte/api/models/shared/ConnectionsResponse.java b/src/main/java/com/airbyte/api/models/shared/ConnectionsResponse.java index 5ac86895d..a806a7d68 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConnectionsResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/ConnectionsResponse.java @@ -1,41 +1,41 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class ConnectionsResponse { @JsonProperty("data") - private java.util.List data; + private List data; @JsonInclude(Include.NON_ABSENT) @JsonProperty("next") - private Optional next; + private Optional next; @JsonInclude(Include.NON_ABSENT) @JsonProperty("previous") - private Optional previous; + private Optional previous; @JsonCreator public ConnectionsResponse( - @JsonProperty("data") java.util.List data, - @JsonProperty("next") Optional next, - @JsonProperty("previous") Optional previous) { + @JsonProperty("data") List data, + @JsonProperty("next") Optional next, + @JsonProperty("previous") Optional previous) { Utils.checkNotNull(data, "data"); Utils.checkNotNull(next, "next"); Utils.checkNotNull(previous, "previous"); @@ -45,32 +45,30 @@ public ConnectionsResponse( } public ConnectionsResponse( - java.util.List data) { + List data) { this(data, Optional.empty(), Optional.empty()); } @JsonIgnore - public java.util.List data() { + public List data() { return data; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional next() { - return (Optional) next; + return next; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional previous() { - return (Optional) previous; + return previous; } public final static Builder builder() { return new Builder(); } - public ConnectionsResponse withData(java.util.List data) { + public ConnectionsResponse withData(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -82,7 +80,7 @@ public ConnectionsResponse withNext(String next) { return this; } - public ConnectionsResponse withNext(Optional next) { + public ConnectionsResponse withNext(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -94,7 +92,7 @@ public ConnectionsResponse withPrevious(String previous) { return this; } - public ConnectionsResponse withPrevious(Optional previous) { + public ConnectionsResponse withPrevious(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; @@ -110,14 +108,14 @@ public boolean equals(java.lang.Object o) { } ConnectionsResponse other = (ConnectionsResponse) o; return - java.util.Objects.deepEquals(this.data, other.data) && - java.util.Objects.deepEquals(this.next, other.next) && - java.util.Objects.deepEquals(this.previous, other.previous); + Objects.deepEquals(this.data, other.data) && + Objects.deepEquals(this.next, other.next) && + Objects.deepEquals(this.previous, other.previous); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( data, next, previous); @@ -133,17 +131,17 @@ public String toString() { public final static class Builder { - private java.util.List data; + private List data; - private Optional next = Optional.empty(); + private Optional next = Optional.empty(); - private Optional previous = Optional.empty(); + private Optional previous = Optional.empty(); private Builder() { // force use of static builder() method } - public Builder data(java.util.List data) { + public Builder data(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -155,7 +153,7 @@ public Builder next(String next) { return this; } - public Builder next(Optional next) { + public Builder next(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -167,7 +165,7 @@ public Builder previous(String previous) { return this; } - public Builder previous(Optional previous) { + public Builder previous(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/ContentType.java b/src/main/java/com/airbyte/api/models/shared/ContentType.java index 54679996d..3cdd68e6d 100644 --- a/src/main/java/com/airbyte/api/models/shared/ContentType.java +++ b/src/main/java/com/airbyte/api/models/shared/ContentType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ContentType - Select the content type of the items to retrieve. diff --git a/src/main/java/com/airbyte/api/models/shared/ConversionReportTime.java b/src/main/java/com/airbyte/api/models/shared/ConversionReportTime.java index f069756fa..c48dad5ec 100644 --- a/src/main/java/com/airbyte/api/models/shared/ConversionReportTime.java +++ b/src/main/java/com/airbyte/api/models/shared/ConversionReportTime.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ConversionReportTime - The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event.. diff --git a/src/main/java/com/airbyte/api/models/shared/Convertkit.java b/src/main/java/com/airbyte/api/models/shared/Convertkit.java new file mode 100644 index 000000000..76f9b75e9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Convertkit.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Convertkit { + CONVERTKIT("convertkit"); + + @JsonValue + private final String value; + + private Convertkit(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Convex.java b/src/main/java/com/airbyte/api/models/shared/Convex.java index 379bbd640..e855b2286 100644 --- a/src/main/java/com/airbyte/api/models/shared/Convex.java +++ b/src/main/java/com/airbyte/api/models/shared/Convex.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Convex { CONVEX("convex"); diff --git a/src/main/java/com/airbyte/api/models/shared/Copper.java b/src/main/java/com/airbyte/api/models/shared/Copper.java new file mode 100644 index 000000000..f5b4e1d5d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Copper.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Copper { + COPPER("copper"); + + @JsonValue + private final String value; + + private Copper(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/CopyRawFiles.java b/src/main/java/com/airbyte/api/models/shared/CopyRawFiles.java new file mode 100644 index 000000000..a9275c109 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/CopyRawFiles.java @@ -0,0 +1,91 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * CopyRawFiles - Copy raw files without parsing their contents. Bits are copied into the destination exactly as they appeared in the source. Recommended for use with unstructured text data, non-text and compressed files. + */ + +public class CopyRawFiles { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_type") + private Optional deliveryType; + + @JsonCreator + public CopyRawFiles() { + + this.deliveryType = Builder._SINGLETON_VALUE_DeliveryType.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryType() { + return (Optional) deliveryType; + } + + public final static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CopyRawFiles other = (CopyRawFiles) o; + return + Objects.deepEquals(this.deliveryType, other.deliveryType); + } + + @Override + public int hashCode() { + return Objects.hash( + deliveryType); + } + + @Override + public String toString() { + return Utils.toString(CopyRawFiles.class, + "deliveryType", deliveryType); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public CopyRawFiles build() { + return new CopyRawFiles( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DeliveryType = + new LazySingletonValue<>( + "delivery_type", + "\"use_file_transfer\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Countercyclical.java b/src/main/java/com/airbyte/api/models/shared/Countercyclical.java new file mode 100644 index 000000000..d55a7bc7c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Countercyclical.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Countercyclical { + COUNTERCYCLICAL("countercyclical"); + + @JsonValue + private final String value; + + private Countercyclical(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Country.java b/src/main/java/com/airbyte/api/models/shared/Country.java index 5b9ff677a..6c596ccbc 100644 --- a/src/main/java/com/airbyte/api/models/shared/Country.java +++ b/src/main/java/com/airbyte/api/models/shared/Country.java @@ -1,54 +1,72 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** - * Country - This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. + * Country - The 2-letter ISO 3166-1 code of the country you want to get headlines + * for. You can't mix this with the sources parameter. + * */ public enum Country { + AE("ae"), + AR("ar"), + AT("at"), AU("au"), + BE("be"), + BG("bg"), BR("br"), CA("ca"), + CH("ch"), CN("cn"), + CO("co"), + CU("cu"), + CZ("cz"), + DE("de"), EG("eg"), FR("fr"), - DE("de"), + GB("gb"), GR("gr"), HK("hk"), - IN("in"), + HU("hu"), + ID("id"), IE("ie"), IL("il"), + IN("in"), IT("it"), JP("jp"), + KR("kr"), + LT("lt"), + LV("lv"), + MA("ma"), + MX("mx"), + MY("my"), + NG("ng"), NL("nl"), NO("no"), - PK("pk"), - PE("pe"), + NZ("nz"), PH("ph"), + PL("pl"), PT("pt"), RO("ro"), + RS("rs"), RU("ru"), - SG("sg"), - ES("es"), + SA("sa"), SE("se"), - CH("ch"), + SG("sg"), + SI("si"), + SK("sk"), + TH("th"), + TR("tr"), TW("tw"), UA("ua"), - GB("gb"), - US("us"); + US("us"), + VE("ve"), + ZA("za"); @JsonValue private final String value; diff --git a/src/main/java/com/airbyte/api/models/shared/Credential.java b/src/main/java/com/airbyte/api/models/shared/Credential.java index 4ecc9c6b9..d9cd03043 100644 --- a/src/main/java/com/airbyte/api/models/shared/Credential.java +++ b/src/main/java/com/airbyte/api/models/shared/Credential.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * Credential - An HMAC key is a type of credential and can be associated with a service account or a user account in Cloud Storage. Read more <a href="https://cloud.google.com/storage/docs/authentication/hmackeys">here</a>. @@ -28,7 +25,7 @@ @JsonDeserialize(using = Credential._Deserializer.class) public class Credential { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private Credential(TypedObject value) { @@ -43,7 +40,7 @@ public static Credential of(DestinationBigqueryHMACKey value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationBigqueryHMACKey}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationBigqueryHMACKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -70,20 +67,20 @@ public boolean equals(java.lang.Object o) { return false; } Credential other = (Credential) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(Credential.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(Credential.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/CredentialType.java b/src/main/java/com/airbyte/api/models/shared/CredentialType.java index 6e6a6c466..fec7ef095 100644 --- a/src/main/java/com/airbyte/api/models/shared/CredentialType.java +++ b/src/main/java/com/airbyte/api/models/shared/CredentialType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum CredentialType { HMAC_KEY("HMAC_KEY"); diff --git a/src/main/java/com/airbyte/api/models/shared/Credentials.java b/src/main/java/com/airbyte/api/models/shared/Credentials.java index bdadf2410..0e22b4541 100644 --- a/src/main/java/com/airbyte/api/models/shared/Credentials.java +++ b/src/main/java/com/airbyte/api/models/shared/Credentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class Credentials { /** @@ -25,19 +24,19 @@ public class Credentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The client secret the Airtable developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public Credentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public Credentials() { /** * The client ID of the Airtable developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The client secret the Airtable developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public Credentials withClientId(String clientId) { /** * The client ID of the Airtable developer application. */ - public Credentials withClientId(Optional clientId) { + public Credentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public Credentials withClientSecret(String clientSecret) { /** * The client secret the Airtable developer application. */ - public Credentials withClientSecret(Optional clientSecret) { + public Credentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } Credentials other = (Credentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The client ID of the Airtable developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The client secret the Airtable developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/CredentialsTitle.java b/src/main/java/com/airbyte/api/models/shared/CredentialsTitle.java index 41ca4528e..a2cffac89 100644 --- a/src/main/java/com/airbyte/api/models/shared/CredentialsTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/CredentialsTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * CredentialsTitle - Name of the credentials diff --git a/src/main/java/com/airbyte/api/models/shared/CustomQueriesArray.java b/src/main/java/com/airbyte/api/models/shared/CustomQueriesArray.java index a2ceeaae7..ad1670bae 100644 --- a/src/main/java/com/airbyte/api/models/shared/CustomQueriesArray.java +++ b/src/main/java/com/airbyte/api/models/shared/CustomQueriesArray.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class CustomQueriesArray { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } CustomQueriesArray other = (CustomQueriesArray) o; return - java.util.Objects.deepEquals(this.query, other.query) && - java.util.Objects.deepEquals(this.tableName, other.tableName); + Objects.deepEquals(this.query, other.query) && + Objects.deepEquals(this.tableName, other.tableName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( query, tableName); } diff --git a/src/main/java/com/airbyte/api/models/shared/CustomReportConfig.java b/src/main/java/com/airbyte/api/models/shared/CustomReportConfig.java index 25e8d3bb9..32c49a097 100644 --- a/src/main/java/com/airbyte/api/models/shared/CustomReportConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/CustomReportConfig.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class CustomReportConfig { /** @@ -32,13 +33,13 @@ public class CustomReportConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("report_aggregation") - private Optional reportAggregation; + private Optional reportAggregation; /** * A list of available report object columns. You can find it in description of reporting object that you want to add to custom report. */ @JsonProperty("report_columns") - private java.util.List reportColumns; + private List reportColumns; /** * The name of the the object derives from the ReportRequest object. You can find it in Bing Ads Api docs - Reporting API - Reporting Data Objects. @@ -49,8 +50,8 @@ public class CustomReportConfig { @JsonCreator public CustomReportConfig( @JsonProperty("name") String name, - @JsonProperty("report_aggregation") Optional reportAggregation, - @JsonProperty("report_columns") java.util.List reportColumns, + @JsonProperty("report_aggregation") Optional reportAggregation, + @JsonProperty("report_columns") List reportColumns, @JsonProperty("reporting_object") ReportingDataObject reportingObject) { Utils.checkNotNull(name, "name"); Utils.checkNotNull(reportAggregation, "reportAggregation"); @@ -64,7 +65,7 @@ public CustomReportConfig( public CustomReportConfig( String name, - java.util.List reportColumns, + List reportColumns, ReportingDataObject reportingObject) { this(name, Optional.empty(), reportColumns, reportingObject); } @@ -80,17 +81,16 @@ public String name() { /** * A list of available aggregations. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional reportAggregation() { - return (Optional) reportAggregation; + return reportAggregation; } /** * A list of available report object columns. You can find it in description of reporting object that you want to add to custom report. */ @JsonIgnore - public java.util.List reportColumns() { + public List reportColumns() { return reportColumns; } @@ -127,7 +127,7 @@ public CustomReportConfig withReportAggregation(String reportAggregation) { /** * A list of available aggregations. */ - public CustomReportConfig withReportAggregation(Optional reportAggregation) { + public CustomReportConfig withReportAggregation(Optional reportAggregation) { Utils.checkNotNull(reportAggregation, "reportAggregation"); this.reportAggregation = reportAggregation; return this; @@ -136,7 +136,7 @@ public CustomReportConfig withReportAggregation(Optional repor /** * A list of available report object columns. You can find it in description of reporting object that you want to add to custom report. */ - public CustomReportConfig withReportColumns(java.util.List reportColumns) { + public CustomReportConfig withReportColumns(List reportColumns) { Utils.checkNotNull(reportColumns, "reportColumns"); this.reportColumns = reportColumns; return this; @@ -161,15 +161,15 @@ public boolean equals(java.lang.Object o) { } CustomReportConfig other = (CustomReportConfig) o; return - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.reportAggregation, other.reportAggregation) && - java.util.Objects.deepEquals(this.reportColumns, other.reportColumns) && - java.util.Objects.deepEquals(this.reportingObject, other.reportingObject); + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.reportAggregation, other.reportAggregation) && + Objects.deepEquals(this.reportColumns, other.reportColumns) && + Objects.deepEquals(this.reportingObject, other.reportingObject); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( name, reportAggregation, reportColumns, @@ -189,9 +189,9 @@ public final static class Builder { private String name; - private Optional reportAggregation; + private Optional reportAggregation; - private java.util.List reportColumns; + private List reportColumns; private ReportingDataObject reportingObject; @@ -220,7 +220,7 @@ public Builder reportAggregation(String reportAggregation) { /** * A list of available aggregations. */ - public Builder reportAggregation(Optional reportAggregation) { + public Builder reportAggregation(Optional reportAggregation) { Utils.checkNotNull(reportAggregation, "reportAggregation"); this.reportAggregation = reportAggregation; return this; @@ -229,7 +229,7 @@ public Builder reportAggregation(Optional reportAggregation) { /** * A list of available report object columns. You can find it in description of reporting object that you want to add to custom report. */ - public Builder reportColumns(java.util.List reportColumns) { + public Builder reportColumns(List reportColumns) { Utils.checkNotNull(reportColumns, "reportColumns"); this.reportColumns = reportColumns; return this; @@ -247,19 +247,18 @@ public Builder reportingObject(ReportingDataObject reportingObject) { public CustomReportConfig build() { if (reportAggregation == null) { reportAggregation = _SINGLETON_VALUE_ReportAggregation.value(); - } - return new CustomReportConfig( + } return new CustomReportConfig( name, reportAggregation, reportColumns, reportingObject); } - private static final LazySingletonValue> _SINGLETON_VALUE_ReportAggregation = + private static final LazySingletonValue> _SINGLETON_VALUE_ReportAggregation = new LazySingletonValue<>( "report_aggregation", "\"[Hourly]\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/CustomerIo.java b/src/main/java/com/airbyte/api/models/shared/CustomerIo.java index 76f5ac04f..77d18bafa 100644 --- a/src/main/java/com/airbyte/api/models/shared/CustomerIo.java +++ b/src/main/java/com/airbyte/api/models/shared/CustomerIo.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum CustomerIo { CUSTOMER_IO("customer-io"); diff --git a/src/main/java/com/airbyte/api/models/shared/CustomerStatus.java b/src/main/java/com/airbyte/api/models/shared/CustomerStatus.java index 98d26f04f..cae882c54 100644 --- a/src/main/java/com/airbyte/api/models/shared/CustomerStatus.java +++ b/src/main/java/com/airbyte/api/models/shared/CustomerStatus.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * CustomerStatus - An enumeration. diff --git a/src/main/java/com/airbyte/api/models/shared/DataCenter.java b/src/main/java/com/airbyte/api/models/shared/DataCenter.java new file mode 100644 index 000000000..29f027894 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DataCenter.java @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DataCenter { + EU_CENTRAL("eu-central"), + US_EAST("us-east"), + CA_CENTRAL("ca-central"), + AP_SOUTHEAST("ap-southeast"); + + @JsonValue + private final String value; + + private DataCenter(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DataCenterID.java b/src/main/java/com/airbyte/api/models/shared/DataCenterID.java new file mode 100644 index 000000000..e0032f7ac --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DataCenterID.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * DataCenterID - The identifier for the data center, such as 'us1' or 'e' for EU. + */ +public enum DataCenterID { + US1("us1"), + E("e"); + + @JsonValue + private final String value; + + private DataCenterID(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DataCenterLocation.java b/src/main/java/com/airbyte/api/models/shared/DataCenterLocation.java index 66608a536..339c571bc 100644 --- a/src/main/java/com/airbyte/api/models/shared/DataCenterLocation.java +++ b/src/main/java/com/airbyte/api/models/shared/DataCenterLocation.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DataCenterLocation - Please choose the region of your Data Center location. More info by this <a href="https://www.zoho.com/crm/developer/docs/api/v2/multi-dc.html">Link</a> diff --git a/src/main/java/com/airbyte/api/models/shared/DataFreshness.java b/src/main/java/com/airbyte/api/models/shared/DataFreshness.java index 6040191d7..b002e4d49 100644 --- a/src/main/java/com/airbyte/api/models/shared/DataFreshness.java +++ b/src/main/java/com/airbyte/api/models/shared/DataFreshness.java @@ -1,25 +1,17 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DataFreshness - If set to 'final', the returned data will include only finalized, stable data. If set to 'all', fresh data will be included. When using Incremental sync mode, we do not recommend setting this parameter to 'all' as it may cause data loss. More information can be found in our <a href='https://docs.airbyte.com/integrations/source/google-search-console'>full documentation</a>. */ public enum DataFreshness { - FINAL_("final"), + FINAL("final"), ALL("all"); @JsonValue diff --git a/src/main/java/com/airbyte/api/models/shared/DataRegion.java b/src/main/java/com/airbyte/api/models/shared/DataRegion.java index d846ae8c8..3c2ea47db 100644 --- a/src/main/java/com/airbyte/api/models/shared/DataRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/DataRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DataRegion - Amplitude data region server diff --git a/src/main/java/com/airbyte/api/models/shared/DataSource.java b/src/main/java/com/airbyte/api/models/shared/DataSource.java index a4c22b3a0..9921c22e6 100644 --- a/src/main/java/com/airbyte/api/models/shared/DataSource.java +++ b/src/main/java/com/airbyte/api/models/shared/DataSource.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DataSource - A data source that is powered by the platform. diff --git a/src/main/java/com/airbyte/api/models/shared/DataType.java b/src/main/java/com/airbyte/api/models/shared/DataType.java index 61986f362..3f21e24f2 100644 --- a/src/main/java/com/airbyte/api/models/shared/DataType.java +++ b/src/main/java/com/airbyte/api/models/shared/DataType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DataType - /latest: Latest market ticker quotes and averages for cryptocurrencies and exchanges. /historical: Intervals of historic market data like OHLCV data or data for use in charting libraries. See <a href="https://coinmarketcap.com/api/documentation/v1/#section/Endpoint-Overview">here</a>. diff --git a/src/main/java/com/airbyte/api/models/shared/Databricks.java b/src/main/java/com/airbyte/api/models/shared/Databricks.java index 6d5a67734..097613ee5 100644 --- a/src/main/java/com/airbyte/api/models/shared/Databricks.java +++ b/src/main/java/com/airbyte/api/models/shared/Databricks.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Databricks { DATABRICKS("databricks"); diff --git a/src/main/java/com/airbyte/api/models/shared/Datadog.java b/src/main/java/com/airbyte/api/models/shared/Datadog.java index 301ca8b11..72555eb41 100644 --- a/src/main/java/com/airbyte/api/models/shared/Datadog.java +++ b/src/main/java/com/airbyte/api/models/shared/Datadog.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Datadog { DATADOG("datadog"); diff --git a/src/main/java/com/airbyte/api/models/shared/Datascope.java b/src/main/java/com/airbyte/api/models/shared/Datascope.java index 94d01481f..d1fb7b3db 100644 --- a/src/main/java/com/airbyte/api/models/shared/Datascope.java +++ b/src/main/java/com/airbyte/api/models/shared/Datascope.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Datascope { DATASCOPE("datascope"); diff --git a/src/main/java/com/airbyte/api/models/shared/DatasetLocation.java b/src/main/java/com/airbyte/api/models/shared/DatasetLocation.java index 07164ca90..1bed98f78 100644 --- a/src/main/java/com/airbyte/api/models/shared/DatasetLocation.java +++ b/src/main/java/com/airbyte/api/models/shared/DatasetLocation.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DatasetLocation - The location of the dataset. Warning: Changes made after creation will not be applied. Read more <a href="https://cloud.google.com/bigquery/docs/locations">here</a>. diff --git a/src/main/java/com/airbyte/api/models/shared/DateRange.java b/src/main/java/com/airbyte/api/models/shared/DateRange.java index ee7b7b04e..c9929a49a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DateRange.java +++ b/src/main/java/com/airbyte/api/models/shared/DateRange.java @@ -1,20 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.Objects; + public class DateRange { @@ -70,13 +69,13 @@ public boolean equals(java.lang.Object o) { } DateRange other = (DateRange) o; return - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( endDate, startDate); } diff --git a/src/main/java/com/airbyte/api/models/shared/Dbt.java b/src/main/java/com/airbyte/api/models/shared/Dbt.java index b9ae88497..0751d1e5b 100644 --- a/src/main/java/com/airbyte/api/models/shared/Dbt.java +++ b/src/main/java/com/airbyte/api/models/shared/Dbt.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Dbt { DBT("dbt"); diff --git a/src/main/java/com/airbyte/api/models/shared/DefaultVectorizer.java b/src/main/java/com/airbyte/api/models/shared/DefaultVectorizer.java index 110408a5a..85ed3b05a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DefaultVectorizer.java +++ b/src/main/java/com/airbyte/api/models/shared/DefaultVectorizer.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DefaultVectorizer - The vectorizer to use if new classes need to be created diff --git a/src/main/java/com/airbyte/api/models/shared/Deflate.java b/src/main/java/com/airbyte/api/models/shared/Deflate.java index 492e467e8..e94556869 100644 --- a/src/main/java/com/airbyte/api/models/shared/Deflate.java +++ b/src/main/java/com/airbyte/api/models/shared/Deflate.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Deflate { @JsonInclude(Include.NON_ABSENT) @@ -30,12 +32,12 @@ public class Deflate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("compression_level") - private Optional compressionLevel; + private Optional compressionLevel; @JsonCreator public Deflate( @JsonProperty("codec") Optional codec, - @JsonProperty("compression_level") Optional compressionLevel) { + @JsonProperty("compression_level") Optional compressionLevel) { Utils.checkNotNull(codec, "codec"); Utils.checkNotNull(compressionLevel, "compressionLevel"); this.codec = codec; @@ -55,10 +57,9 @@ public Optional codec() { /** * 0: no compression & fastest, 9: best compression & slowest. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional compressionLevel() { - return (Optional) compressionLevel; + return compressionLevel; } public final static Builder builder() { @@ -89,7 +90,7 @@ public Deflate withCompressionLevel(long compressionLevel) { /** * 0: no compression & fastest, 9: best compression & slowest. */ - public Deflate withCompressionLevel(Optional compressionLevel) { + public Deflate withCompressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -105,13 +106,13 @@ public boolean equals(java.lang.Object o) { } Deflate other = (Deflate) o; return - java.util.Objects.deepEquals(this.codec, other.codec) && - java.util.Objects.deepEquals(this.compressionLevel, other.compressionLevel); + Objects.deepEquals(this.codec, other.codec) && + Objects.deepEquals(this.compressionLevel, other.compressionLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec, compressionLevel); } @@ -127,7 +128,7 @@ public final static class Builder { private Optional codec; - private Optional compressionLevel; + private Optional compressionLevel; private Builder() { // force use of static builder() method @@ -157,7 +158,7 @@ public Builder compressionLevel(long compressionLevel) { /** * 0: no compression & fastest, 9: best compression & slowest. */ - public Builder compressionLevel(Optional compressionLevel) { + public Builder compressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -169,8 +170,7 @@ public Deflate build() { } if (compressionLevel == null) { compressionLevel = _SINGLETON_VALUE_CompressionLevel.value(); - } - return new Deflate( + } return new Deflate( codec, compressionLevel); } @@ -181,11 +181,11 @@ public Deflate build() { "\"Deflate\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = new LazySingletonValue<>( "compression_level", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DeletionMode.java b/src/main/java/com/airbyte/api/models/shared/DeletionMode.java index a20f5b24e..88c571903 100644 --- a/src/main/java/com/airbyte/api/models/shared/DeletionMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DeletionMode.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DeletionMode - <b>This only applies to incremental syncs.</b> <br> @@ -31,7 +28,7 @@ @JsonDeserialize(using = DeletionMode._Deserializer.class) public class DeletionMode { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DeletionMode(TypedObject value) { @@ -51,8 +48,8 @@ public static DeletionMode of(Enabled value) { /** * Returns an instance of one of these types: *

      - *
    • {@code Disabled}
    • - *
    • {@code Enabled}
    • + *
    • {@code com.airbyte.api.models.shared.Disabled}
    • + *
    • {@code com.airbyte.api.models.shared.Enabled}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -79,21 +76,21 @@ public boolean equals(java.lang.Object o) { return false; } DeletionMode other = (DeletionMode) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DeletionMode.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DeletionMode.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Delighted.java b/src/main/java/com/airbyte/api/models/shared/Delighted.java index 4517c020b..5592ca821 100644 --- a/src/main/java/com/airbyte/api/models/shared/Delighted.java +++ b/src/main/java/com/airbyte/api/models/shared/Delighted.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Delighted { DELIGHTED("delighted"); diff --git a/src/main/java/com/airbyte/api/models/shared/DeliveryMethod.java b/src/main/java/com/airbyte/api/models/shared/DeliveryMethod.java new file mode 100644 index 000000000..f169c74ad --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DeliveryMethod.java @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + + +@JsonDeserialize(using = DeliveryMethod._Deserializer.class) +public class DeliveryMethod { + + @JsonValue + private TypedObject value; + + private DeliveryMethod(TypedObject value) { + this.value = value; + } + + public static DeliveryMethod of(ReplicateRecords value) { + Utils.checkNotNull(value, "value"); + return new DeliveryMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static DeliveryMethod of(CopyRawFiles value) { + Utils.checkNotNull(value, "value"); + return new DeliveryMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.ReplicateRecords}
    • + *
    • {@code com.airbyte.api.models.shared.CopyRawFiles}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeliveryMethod other = (DeliveryMethod) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(DeliveryMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(DeliveryMethod.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/DeliveryType.java b/src/main/java/com/airbyte/api/models/shared/DeliveryType.java new file mode 100644 index 000000000..b39b0c08b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DeliveryType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DeliveryType { + USE_RECORDS_TRANSFER("use_records_transfer"); + + @JsonValue + private final String value; + + private DeliveryType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Deputy.java b/src/main/java/com/airbyte/api/models/shared/Deputy.java new file mode 100644 index 000000000..eefa72798 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Deputy.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Deputy { + DEPUTY("deputy"); + + @JsonValue + private final String value; + + private Deputy(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstra.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstra.java index aba444d94..9677cb7d9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstra.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstra.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * DestinationAstra - The configuration model for the Vector DB based destinations. This model is used to generate the UI for the destination configuration, * as well as to provide type safety for the configuration passed to the destination. @@ -53,7 +54,7 @@ public class DestinationAstra { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("omit_raw_text") - private Optional omitRawText; + private Optional omitRawText; @JsonProperty("processing") private ProcessingConfigModel processing; @@ -62,7 +63,7 @@ public class DestinationAstra { public DestinationAstra( @JsonProperty("embedding") Embedding embedding, @JsonProperty("indexing") Indexing indexing, - @JsonProperty("omit_raw_text") Optional omitRawText, + @JsonProperty("omit_raw_text") Optional omitRawText, @JsonProperty("processing") ProcessingConfigModel processing) { Utils.checkNotNull(embedding, "embedding"); Utils.checkNotNull(indexing, "indexing"); @@ -106,10 +107,9 @@ public Indexing indexing() { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional omitRawText() { - return (Optional) omitRawText; + return omitRawText; } @JsonIgnore @@ -151,7 +151,7 @@ public DestinationAstra withOmitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public DestinationAstra withOmitRawText(Optional omitRawText) { + public DestinationAstra withOmitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationAstra other = (DestinationAstra) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.embedding, other.embedding) && - java.util.Objects.deepEquals(this.indexing, other.indexing) && - java.util.Objects.deepEquals(this.omitRawText, other.omitRawText) && - java.util.Objects.deepEquals(this.processing, other.processing); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.embedding, other.embedding) && + Objects.deepEquals(this.indexing, other.indexing) && + Objects.deepEquals(this.omitRawText, other.omitRawText) && + Objects.deepEquals(this.processing, other.processing); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, embedding, indexing, @@ -206,7 +206,7 @@ public final static class Builder { private Indexing indexing; - private Optional omitRawText; + private Optional omitRawText; private ProcessingConfigModel processing; @@ -244,7 +244,7 @@ public Builder omitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public Builder omitRawText(Optional omitRawText) { + public Builder omitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -259,8 +259,7 @@ public Builder processing(ProcessingConfigModel processing) { public DestinationAstra build() { if (omitRawText == null) { omitRawText = _SINGLETON_VALUE_OmitRawText.value(); - } - return new DestinationAstra( + } return new DestinationAstra( embedding, indexing, omitRawText, @@ -273,11 +272,11 @@ public DestinationAstra build() { "\"astra\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = + private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = new LazySingletonValue<>( "omit_raw_text", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstraLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstraLanguage.java index 3fbbe08c4..ae6564c50 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstraLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstraLanguage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationAstraLanguage - Split code in suitable places based on the programming language diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstraMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstraMode.java index fdbd20ff1..060921dc2 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstraMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstraMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAstraMode { COHERE("cohere"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.java index ccd2b70d5..72dd888f8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbedding1Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAstraSchemasEmbeddingEmbedding1Mode { OPENAI("openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbeddingMode.java index 6c81be2f9..18a240968 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAstraSchemasEmbeddingEmbeddingMode { OPENAI_COMPATIBLE("openai_compatible"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingMode.java index 868cbd40e..6a5df8763 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAstraSchemasEmbeddingMode { AZURE_OPENAI("azure_openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasMode.java index 344ce4a98..697b321ea 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAstraSchemasMode { FAKE("fake"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingMode.java index 99ff21afc..37f42900b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAstraSchemasProcessingMode { SEPARATOR("separator"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterMode.java index 93ffbe179..cfb00ca1c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAstraSchemasProcessingTextSplitterMode { MARKDOWN("markdown"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.java index 9910349e1..62b9d06c0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAstraSchemasProcessingTextSplitterTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAstraSchemasProcessingTextSplitterTextSplitterMode { CODE("code"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java b/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java index 26c10eec4..0707fc046 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalake.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationAwsDatalake { /** @@ -26,7 +28,7 @@ public class DestinationAwsDatalake { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("aws_account_id") - private Optional awsAccountId; + private Optional awsAccountId; /** * The name of the S3 bucket. Read more <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html">here</a>. @@ -39,7 +41,7 @@ public class DestinationAwsDatalake { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("bucket_prefix") - private Optional bucketPrefix; + private Optional bucketPrefix; /** * Choose How to Authenticate to AWS. @@ -62,21 +64,21 @@ public class DestinationAwsDatalake { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("glue_catalog_float_as_decimal") - private Optional glueCatalogFloatAsDecimal; + private Optional glueCatalogFloatAsDecimal; /** * Add a default tag key to databases created by this destination */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lakeformation_database_default_tag_key") - private Optional lakeformationDatabaseDefaultTagKey; + private Optional lakeformationDatabaseDefaultTagKey; /** * Add default values for the `Tag Key` to databases created by this destination. Comma separate for multiple values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lakeformation_database_default_tag_values") - private Optional lakeformationDatabaseDefaultTagValues; + private Optional lakeformationDatabaseDefaultTagValues; /** * The default database this destination will use to create tables in per stream. Can be changed per connection by customizing the namespace. @@ -89,7 +91,7 @@ public class DestinationAwsDatalake { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lakeformation_governed_tables") - private Optional lakeformationGovernedTables; + private Optional lakeformationGovernedTables; /** * Partition data by cursor fields when a cursor field is a date @@ -107,16 +109,16 @@ public class DestinationAwsDatalake { @JsonCreator public DestinationAwsDatalake( - @JsonProperty("aws_account_id") Optional awsAccountId, + @JsonProperty("aws_account_id") Optional awsAccountId, @JsonProperty("bucket_name") String bucketName, - @JsonProperty("bucket_prefix") Optional bucketPrefix, + @JsonProperty("bucket_prefix") Optional bucketPrefix, @JsonProperty("credentials") AuthenticationMode credentials, @JsonProperty("format") Optional format, - @JsonProperty("glue_catalog_float_as_decimal") Optional glueCatalogFloatAsDecimal, - @JsonProperty("lakeformation_database_default_tag_key") Optional lakeformationDatabaseDefaultTagKey, - @JsonProperty("lakeformation_database_default_tag_values") Optional lakeformationDatabaseDefaultTagValues, + @JsonProperty("glue_catalog_float_as_decimal") Optional glueCatalogFloatAsDecimal, + @JsonProperty("lakeformation_database_default_tag_key") Optional lakeformationDatabaseDefaultTagKey, + @JsonProperty("lakeformation_database_default_tag_values") Optional lakeformationDatabaseDefaultTagValues, @JsonProperty("lakeformation_database_name") String lakeformationDatabaseName, - @JsonProperty("lakeformation_governed_tables") Optional lakeformationGovernedTables, + @JsonProperty("lakeformation_governed_tables") Optional lakeformationGovernedTables, @JsonProperty("partitioning") Optional partitioning, @JsonProperty("region") Optional region) { Utils.checkNotNull(awsAccountId, "awsAccountId"); @@ -156,10 +158,9 @@ public DestinationAwsDatalake( /** * target aws account id */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional awsAccountId() { - return (Optional) awsAccountId; + return awsAccountId; } /** @@ -173,10 +174,9 @@ public String bucketName() { /** * S3 prefix */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional bucketPrefix() { - return (Optional) bucketPrefix; + return bucketPrefix; } /** @@ -204,28 +204,25 @@ public Optional format() { /** * Cast float/double as decimal(38,18). This can help achieve higher accuracy and represent numbers correctly as received from the source. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional glueCatalogFloatAsDecimal() { - return (Optional) glueCatalogFloatAsDecimal; + return glueCatalogFloatAsDecimal; } /** * Add a default tag key to databases created by this destination */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lakeformationDatabaseDefaultTagKey() { - return (Optional) lakeformationDatabaseDefaultTagKey; + return lakeformationDatabaseDefaultTagKey; } /** * Add default values for the `Tag Key` to databases created by this destination. Comma separate for multiple values. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lakeformationDatabaseDefaultTagValues() { - return (Optional) lakeformationDatabaseDefaultTagValues; + return lakeformationDatabaseDefaultTagValues; } /** @@ -239,10 +236,9 @@ public String lakeformationDatabaseName() { /** * Whether to create tables as LF governed tables. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lakeformationGovernedTables() { - return (Optional) lakeformationGovernedTables; + return lakeformationGovernedTables; } /** @@ -279,7 +275,7 @@ public DestinationAwsDatalake withAwsAccountId(String awsAccountId) { /** * target aws account id */ - public DestinationAwsDatalake withAwsAccountId(Optional awsAccountId) { + public DestinationAwsDatalake withAwsAccountId(Optional awsAccountId) { Utils.checkNotNull(awsAccountId, "awsAccountId"); this.awsAccountId = awsAccountId; return this; @@ -306,7 +302,7 @@ public DestinationAwsDatalake withBucketPrefix(String bucketPrefix) { /** * S3 prefix */ - public DestinationAwsDatalake withBucketPrefix(Optional bucketPrefix) { + public DestinationAwsDatalake withBucketPrefix(Optional bucketPrefix) { Utils.checkNotNull(bucketPrefix, "bucketPrefix"); this.bucketPrefix = bucketPrefix; return this; @@ -351,7 +347,7 @@ public DestinationAwsDatalake withGlueCatalogFloatAsDecimal(boolean glueCatalogF /** * Cast float/double as decimal(38,18). This can help achieve higher accuracy and represent numbers correctly as received from the source. */ - public DestinationAwsDatalake withGlueCatalogFloatAsDecimal(Optional glueCatalogFloatAsDecimal) { + public DestinationAwsDatalake withGlueCatalogFloatAsDecimal(Optional glueCatalogFloatAsDecimal) { Utils.checkNotNull(glueCatalogFloatAsDecimal, "glueCatalogFloatAsDecimal"); this.glueCatalogFloatAsDecimal = glueCatalogFloatAsDecimal; return this; @@ -369,7 +365,7 @@ public DestinationAwsDatalake withLakeformationDatabaseDefaultTagKey(String lake /** * Add a default tag key to databases created by this destination */ - public DestinationAwsDatalake withLakeformationDatabaseDefaultTagKey(Optional lakeformationDatabaseDefaultTagKey) { + public DestinationAwsDatalake withLakeformationDatabaseDefaultTagKey(Optional lakeformationDatabaseDefaultTagKey) { Utils.checkNotNull(lakeformationDatabaseDefaultTagKey, "lakeformationDatabaseDefaultTagKey"); this.lakeformationDatabaseDefaultTagKey = lakeformationDatabaseDefaultTagKey; return this; @@ -387,7 +383,7 @@ public DestinationAwsDatalake withLakeformationDatabaseDefaultTagValues(String l /** * Add default values for the `Tag Key` to databases created by this destination. Comma separate for multiple values. */ - public DestinationAwsDatalake withLakeformationDatabaseDefaultTagValues(Optional lakeformationDatabaseDefaultTagValues) { + public DestinationAwsDatalake withLakeformationDatabaseDefaultTagValues(Optional lakeformationDatabaseDefaultTagValues) { Utils.checkNotNull(lakeformationDatabaseDefaultTagValues, "lakeformationDatabaseDefaultTagValues"); this.lakeformationDatabaseDefaultTagValues = lakeformationDatabaseDefaultTagValues; return this; @@ -414,7 +410,7 @@ public DestinationAwsDatalake withLakeformationGovernedTables(boolean lakeformat /** * Whether to create tables as LF governed tables. */ - public DestinationAwsDatalake withLakeformationGovernedTables(Optional lakeformationGovernedTables) { + public DestinationAwsDatalake withLakeformationGovernedTables(Optional lakeformationGovernedTables) { Utils.checkNotNull(lakeformationGovernedTables, "lakeformationGovernedTables"); this.lakeformationGovernedTables = lakeformationGovernedTables; return this; @@ -466,24 +462,24 @@ public boolean equals(java.lang.Object o) { } DestinationAwsDatalake other = (DestinationAwsDatalake) o; return - java.util.Objects.deepEquals(this.awsAccountId, other.awsAccountId) && - java.util.Objects.deepEquals(this.bucketName, other.bucketName) && - java.util.Objects.deepEquals(this.bucketPrefix, other.bucketPrefix) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.glueCatalogFloatAsDecimal, other.glueCatalogFloatAsDecimal) && - java.util.Objects.deepEquals(this.lakeformationDatabaseDefaultTagKey, other.lakeformationDatabaseDefaultTagKey) && - java.util.Objects.deepEquals(this.lakeformationDatabaseDefaultTagValues, other.lakeformationDatabaseDefaultTagValues) && - java.util.Objects.deepEquals(this.lakeformationDatabaseName, other.lakeformationDatabaseName) && - java.util.Objects.deepEquals(this.lakeformationGovernedTables, other.lakeformationGovernedTables) && - java.util.Objects.deepEquals(this.partitioning, other.partitioning) && - java.util.Objects.deepEquals(this.region, other.region); + Objects.deepEquals(this.awsAccountId, other.awsAccountId) && + Objects.deepEquals(this.bucketName, other.bucketName) && + Objects.deepEquals(this.bucketPrefix, other.bucketPrefix) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.glueCatalogFloatAsDecimal, other.glueCatalogFloatAsDecimal) && + Objects.deepEquals(this.lakeformationDatabaseDefaultTagKey, other.lakeformationDatabaseDefaultTagKey) && + Objects.deepEquals(this.lakeformationDatabaseDefaultTagValues, other.lakeformationDatabaseDefaultTagValues) && + Objects.deepEquals(this.lakeformationDatabaseName, other.lakeformationDatabaseName) && + Objects.deepEquals(this.lakeformationGovernedTables, other.lakeformationGovernedTables) && + Objects.deepEquals(this.partitioning, other.partitioning) && + Objects.deepEquals(this.region, other.region); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( awsAccountId, bucketName, bucketPrefix, @@ -519,25 +515,25 @@ public String toString() { public final static class Builder { - private Optional awsAccountId = Optional.empty(); + private Optional awsAccountId = Optional.empty(); private String bucketName; - private Optional bucketPrefix = Optional.empty(); + private Optional bucketPrefix = Optional.empty(); private AuthenticationMode credentials; private Optional format = Optional.empty(); - private Optional glueCatalogFloatAsDecimal; + private Optional glueCatalogFloatAsDecimal; - private Optional lakeformationDatabaseDefaultTagKey = Optional.empty(); + private Optional lakeformationDatabaseDefaultTagKey = Optional.empty(); - private Optional lakeformationDatabaseDefaultTagValues = Optional.empty(); + private Optional lakeformationDatabaseDefaultTagValues = Optional.empty(); private String lakeformationDatabaseName; - private Optional lakeformationGovernedTables; + private Optional lakeformationGovernedTables; private Optional partitioning; @@ -559,7 +555,7 @@ public Builder awsAccountId(String awsAccountId) { /** * target aws account id */ - public Builder awsAccountId(Optional awsAccountId) { + public Builder awsAccountId(Optional awsAccountId) { Utils.checkNotNull(awsAccountId, "awsAccountId"); this.awsAccountId = awsAccountId; return this; @@ -586,7 +582,7 @@ public Builder bucketPrefix(String bucketPrefix) { /** * S3 prefix */ - public Builder bucketPrefix(Optional bucketPrefix) { + public Builder bucketPrefix(Optional bucketPrefix) { Utils.checkNotNull(bucketPrefix, "bucketPrefix"); this.bucketPrefix = bucketPrefix; return this; @@ -631,7 +627,7 @@ public Builder glueCatalogFloatAsDecimal(boolean glueCatalogFloatAsDecimal) { /** * Cast float/double as decimal(38,18). This can help achieve higher accuracy and represent numbers correctly as received from the source. */ - public Builder glueCatalogFloatAsDecimal(Optional glueCatalogFloatAsDecimal) { + public Builder glueCatalogFloatAsDecimal(Optional glueCatalogFloatAsDecimal) { Utils.checkNotNull(glueCatalogFloatAsDecimal, "glueCatalogFloatAsDecimal"); this.glueCatalogFloatAsDecimal = glueCatalogFloatAsDecimal; return this; @@ -649,7 +645,7 @@ public Builder lakeformationDatabaseDefaultTagKey(String lakeformationDatabaseDe /** * Add a default tag key to databases created by this destination */ - public Builder lakeformationDatabaseDefaultTagKey(Optional lakeformationDatabaseDefaultTagKey) { + public Builder lakeformationDatabaseDefaultTagKey(Optional lakeformationDatabaseDefaultTagKey) { Utils.checkNotNull(lakeformationDatabaseDefaultTagKey, "lakeformationDatabaseDefaultTagKey"); this.lakeformationDatabaseDefaultTagKey = lakeformationDatabaseDefaultTagKey; return this; @@ -667,7 +663,7 @@ public Builder lakeformationDatabaseDefaultTagValues(String lakeformationDatabas /** * Add default values for the `Tag Key` to databases created by this destination. Comma separate for multiple values. */ - public Builder lakeformationDatabaseDefaultTagValues(Optional lakeformationDatabaseDefaultTagValues) { + public Builder lakeformationDatabaseDefaultTagValues(Optional lakeformationDatabaseDefaultTagValues) { Utils.checkNotNull(lakeformationDatabaseDefaultTagValues, "lakeformationDatabaseDefaultTagValues"); this.lakeformationDatabaseDefaultTagValues = lakeformationDatabaseDefaultTagValues; return this; @@ -694,7 +690,7 @@ public Builder lakeformationGovernedTables(boolean lakeformationGovernedTables) /** * Whether to create tables as LF governed tables. */ - public Builder lakeformationGovernedTables(Optional lakeformationGovernedTables) { + public Builder lakeformationGovernedTables(Optional lakeformationGovernedTables) { Utils.checkNotNull(lakeformationGovernedTables, "lakeformationGovernedTables"); this.lakeformationGovernedTables = lakeformationGovernedTables; return this; @@ -748,8 +744,7 @@ public DestinationAwsDatalake build() { } if (region == null) { region = _SINGLETON_VALUE_Region.value(); - } - return new DestinationAwsDatalake( + } return new DestinationAwsDatalake( awsAccountId, bucketName, bucketPrefix, @@ -770,17 +765,17 @@ public DestinationAwsDatalake build() { "\"aws-datalake\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_GlueCatalogFloatAsDecimal = + private static final LazySingletonValue> _SINGLETON_VALUE_GlueCatalogFloatAsDecimal = new LazySingletonValue<>( "glue_catalog_float_as_decimal", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_LakeformationGovernedTables = + private static final LazySingletonValue> _SINGLETON_VALUE_LakeformationGovernedTables = new LazySingletonValue<>( "lakeformation_governed_tables", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Partitioning = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCompressionCodecOptional.java b/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCompressionCodecOptional.java index 41b5ae1de..761051608 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCompressionCodecOptional.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCompressionCodecOptional.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationAwsDatalakeCompressionCodecOptional - The compression algorithm used to compress data. diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsTitle.java b/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsTitle.java index d8b401a4c..ab8d01fbe 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeCredentialsTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationAwsDatalakeCredentialsTitle - Name of the credentials diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatTypeWildcard.java b/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatTypeWildcard.java index d9ad4cd15..0e08c1ca1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatTypeWildcard.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAwsDatalakeFormatTypeWildcard.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAwsDatalakeFormatTypeWildcard { PARQUET("Parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java b/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java index ff4b0adc7..b605b4890 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorage.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationAzureBlobStorage { /** @@ -38,28 +39,28 @@ public class DestinationAzureBlobStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("azure_blob_storage_container_name") - private Optional azureBlobStorageContainerName; + private Optional azureBlobStorageContainerName; /** * This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("azure_blob_storage_endpoint_domain_name") - private Optional azureBlobStorageEndpointDomainName; + private Optional azureBlobStorageEndpointDomainName; /** * The amount of megabytes to buffer for the output stream to Azure. This will impact memory footprint on workers, but may need adjustment for performance and appropriate block size in Azure. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("azure_blob_storage_output_buffer_size") - private Optional azureBlobStorageOutputBufferSize; + private Optional azureBlobStorageOutputBufferSize; /** * The amount of megabytes after which the connector should spill the records in a new blob object. Make sure to configure size greater than individual records. Enter 0 if not applicable */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("azure_blob_storage_spill_size") - private Optional azureBlobStorageSpillSize; + private Optional azureBlobStorageSpillSize; @JsonProperty("destinationType") private DestinationAzureBlobStorageAzureBlobStorage destinationType; @@ -74,10 +75,10 @@ public class DestinationAzureBlobStorage { public DestinationAzureBlobStorage( @JsonProperty("azure_blob_storage_account_key") String azureBlobStorageAccountKey, @JsonProperty("azure_blob_storage_account_name") String azureBlobStorageAccountName, - @JsonProperty("azure_blob_storage_container_name") Optional azureBlobStorageContainerName, - @JsonProperty("azure_blob_storage_endpoint_domain_name") Optional azureBlobStorageEndpointDomainName, - @JsonProperty("azure_blob_storage_output_buffer_size") Optional azureBlobStorageOutputBufferSize, - @JsonProperty("azure_blob_storage_spill_size") Optional azureBlobStorageSpillSize, + @JsonProperty("azure_blob_storage_container_name") Optional azureBlobStorageContainerName, + @JsonProperty("azure_blob_storage_endpoint_domain_name") Optional azureBlobStorageEndpointDomainName, + @JsonProperty("azure_blob_storage_output_buffer_size") Optional azureBlobStorageOutputBufferSize, + @JsonProperty("azure_blob_storage_spill_size") Optional azureBlobStorageSpillSize, @JsonProperty("format") OutputFormat format) { Utils.checkNotNull(azureBlobStorageAccountKey, "azureBlobStorageAccountKey"); Utils.checkNotNull(azureBlobStorageAccountName, "azureBlobStorageAccountName"); @@ -122,37 +123,33 @@ public String azureBlobStorageAccountName() { /** * The name of the Azure blob storage container. If not exists - will be created automatically. May be empty, then will be created automatically airbytecontainer+timestamp */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional azureBlobStorageContainerName() { - return (Optional) azureBlobStorageContainerName; + return azureBlobStorageContainerName; } /** * This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional azureBlobStorageEndpointDomainName() { - return (Optional) azureBlobStorageEndpointDomainName; + return azureBlobStorageEndpointDomainName; } /** * The amount of megabytes to buffer for the output stream to Azure. This will impact memory footprint on workers, but may need adjustment for performance and appropriate block size in Azure. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional azureBlobStorageOutputBufferSize() { - return (Optional) azureBlobStorageOutputBufferSize; + return azureBlobStorageOutputBufferSize; } /** * The amount of megabytes after which the connector should spill the records in a new blob object. Make sure to configure size greater than individual records. Enter 0 if not applicable */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional azureBlobStorageSpillSize() { - return (Optional) azureBlobStorageSpillSize; + return azureBlobStorageSpillSize; } @JsonIgnore @@ -202,7 +199,7 @@ public DestinationAzureBlobStorage withAzureBlobStorageContainerName(String azur /** * The name of the Azure blob storage container. If not exists - will be created automatically. May be empty, then will be created automatically airbytecontainer+timestamp */ - public DestinationAzureBlobStorage withAzureBlobStorageContainerName(Optional azureBlobStorageContainerName) { + public DestinationAzureBlobStorage withAzureBlobStorageContainerName(Optional azureBlobStorageContainerName) { Utils.checkNotNull(azureBlobStorageContainerName, "azureBlobStorageContainerName"); this.azureBlobStorageContainerName = azureBlobStorageContainerName; return this; @@ -220,7 +217,7 @@ public DestinationAzureBlobStorage withAzureBlobStorageEndpointDomainName(String /** * This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. */ - public DestinationAzureBlobStorage withAzureBlobStorageEndpointDomainName(Optional azureBlobStorageEndpointDomainName) { + public DestinationAzureBlobStorage withAzureBlobStorageEndpointDomainName(Optional azureBlobStorageEndpointDomainName) { Utils.checkNotNull(azureBlobStorageEndpointDomainName, "azureBlobStorageEndpointDomainName"); this.azureBlobStorageEndpointDomainName = azureBlobStorageEndpointDomainName; return this; @@ -238,7 +235,7 @@ public DestinationAzureBlobStorage withAzureBlobStorageOutputBufferSize(long azu /** * The amount of megabytes to buffer for the output stream to Azure. This will impact memory footprint on workers, but may need adjustment for performance and appropriate block size in Azure. */ - public DestinationAzureBlobStorage withAzureBlobStorageOutputBufferSize(Optional azureBlobStorageOutputBufferSize) { + public DestinationAzureBlobStorage withAzureBlobStorageOutputBufferSize(Optional azureBlobStorageOutputBufferSize) { Utils.checkNotNull(azureBlobStorageOutputBufferSize, "azureBlobStorageOutputBufferSize"); this.azureBlobStorageOutputBufferSize = azureBlobStorageOutputBufferSize; return this; @@ -256,7 +253,7 @@ public DestinationAzureBlobStorage withAzureBlobStorageSpillSize(long azureBlobS /** * The amount of megabytes after which the connector should spill the records in a new blob object. Make sure to configure size greater than individual records. Enter 0 if not applicable */ - public DestinationAzureBlobStorage withAzureBlobStorageSpillSize(Optional azureBlobStorageSpillSize) { + public DestinationAzureBlobStorage withAzureBlobStorageSpillSize(Optional azureBlobStorageSpillSize) { Utils.checkNotNull(azureBlobStorageSpillSize, "azureBlobStorageSpillSize"); this.azureBlobStorageSpillSize = azureBlobStorageSpillSize; return this; @@ -281,19 +278,19 @@ public boolean equals(java.lang.Object o) { } DestinationAzureBlobStorage other = (DestinationAzureBlobStorage) o; return - java.util.Objects.deepEquals(this.azureBlobStorageAccountKey, other.azureBlobStorageAccountKey) && - java.util.Objects.deepEquals(this.azureBlobStorageAccountName, other.azureBlobStorageAccountName) && - java.util.Objects.deepEquals(this.azureBlobStorageContainerName, other.azureBlobStorageContainerName) && - java.util.Objects.deepEquals(this.azureBlobStorageEndpointDomainName, other.azureBlobStorageEndpointDomainName) && - java.util.Objects.deepEquals(this.azureBlobStorageOutputBufferSize, other.azureBlobStorageOutputBufferSize) && - java.util.Objects.deepEquals(this.azureBlobStorageSpillSize, other.azureBlobStorageSpillSize) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.format, other.format); + Objects.deepEquals(this.azureBlobStorageAccountKey, other.azureBlobStorageAccountKey) && + Objects.deepEquals(this.azureBlobStorageAccountName, other.azureBlobStorageAccountName) && + Objects.deepEquals(this.azureBlobStorageContainerName, other.azureBlobStorageContainerName) && + Objects.deepEquals(this.azureBlobStorageEndpointDomainName, other.azureBlobStorageEndpointDomainName) && + Objects.deepEquals(this.azureBlobStorageOutputBufferSize, other.azureBlobStorageOutputBufferSize) && + Objects.deepEquals(this.azureBlobStorageSpillSize, other.azureBlobStorageSpillSize) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.format, other.format); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( azureBlobStorageAccountKey, azureBlobStorageAccountName, azureBlobStorageContainerName, @@ -323,13 +320,13 @@ public final static class Builder { private String azureBlobStorageAccountName; - private Optional azureBlobStorageContainerName = Optional.empty(); + private Optional azureBlobStorageContainerName = Optional.empty(); - private Optional azureBlobStorageEndpointDomainName; + private Optional azureBlobStorageEndpointDomainName; - private Optional azureBlobStorageOutputBufferSize; + private Optional azureBlobStorageOutputBufferSize; - private Optional azureBlobStorageSpillSize; + private Optional azureBlobStorageSpillSize; private OutputFormat format; @@ -367,7 +364,7 @@ public Builder azureBlobStorageContainerName(String azureBlobStorageContainerNam /** * The name of the Azure blob storage container. If not exists - will be created automatically. May be empty, then will be created automatically airbytecontainer+timestamp */ - public Builder azureBlobStorageContainerName(Optional azureBlobStorageContainerName) { + public Builder azureBlobStorageContainerName(Optional azureBlobStorageContainerName) { Utils.checkNotNull(azureBlobStorageContainerName, "azureBlobStorageContainerName"); this.azureBlobStorageContainerName = azureBlobStorageContainerName; return this; @@ -385,7 +382,7 @@ public Builder azureBlobStorageEndpointDomainName(String azureBlobStorageEndpoin /** * This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. */ - public Builder azureBlobStorageEndpointDomainName(Optional azureBlobStorageEndpointDomainName) { + public Builder azureBlobStorageEndpointDomainName(Optional azureBlobStorageEndpointDomainName) { Utils.checkNotNull(azureBlobStorageEndpointDomainName, "azureBlobStorageEndpointDomainName"); this.azureBlobStorageEndpointDomainName = azureBlobStorageEndpointDomainName; return this; @@ -403,7 +400,7 @@ public Builder azureBlobStorageOutputBufferSize(long azureBlobStorageOutputBuffe /** * The amount of megabytes to buffer for the output stream to Azure. This will impact memory footprint on workers, but may need adjustment for performance and appropriate block size in Azure. */ - public Builder azureBlobStorageOutputBufferSize(Optional azureBlobStorageOutputBufferSize) { + public Builder azureBlobStorageOutputBufferSize(Optional azureBlobStorageOutputBufferSize) { Utils.checkNotNull(azureBlobStorageOutputBufferSize, "azureBlobStorageOutputBufferSize"); this.azureBlobStorageOutputBufferSize = azureBlobStorageOutputBufferSize; return this; @@ -421,7 +418,7 @@ public Builder azureBlobStorageSpillSize(long azureBlobStorageSpillSize) { /** * The amount of megabytes after which the connector should spill the records in a new blob object. Make sure to configure size greater than individual records. Enter 0 if not applicable */ - public Builder azureBlobStorageSpillSize(Optional azureBlobStorageSpillSize) { + public Builder azureBlobStorageSpillSize(Optional azureBlobStorageSpillSize) { Utils.checkNotNull(azureBlobStorageSpillSize, "azureBlobStorageSpillSize"); this.azureBlobStorageSpillSize = azureBlobStorageSpillSize; return this; @@ -445,8 +442,7 @@ public DestinationAzureBlobStorage build() { } if (azureBlobStorageSpillSize == null) { azureBlobStorageSpillSize = _SINGLETON_VALUE_AzureBlobStorageSpillSize.value(); - } - return new DestinationAzureBlobStorage( + } return new DestinationAzureBlobStorage( azureBlobStorageAccountKey, azureBlobStorageAccountName, azureBlobStorageContainerName, @@ -456,23 +452,23 @@ public DestinationAzureBlobStorage build() { format); } - private static final LazySingletonValue> _SINGLETON_VALUE_AzureBlobStorageEndpointDomainName = + private static final LazySingletonValue> _SINGLETON_VALUE_AzureBlobStorageEndpointDomainName = new LazySingletonValue<>( "azure_blob_storage_endpoint_domain_name", "\"blob.core.windows.net\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_AzureBlobStorageOutputBufferSize = + private static final LazySingletonValue> _SINGLETON_VALUE_AzureBlobStorageOutputBufferSize = new LazySingletonValue<>( "azure_blob_storage_output_buffer_size", "5", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_AzureBlobStorageSpillSize = + private static final LazySingletonValue> _SINGLETON_VALUE_AzureBlobStorageSpillSize = new LazySingletonValue<>( "azure_blob_storage_spill_size", "500", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_DestinationType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorage.java b/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorage.java index 6d2767a73..b410ede8a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageAzureBlobStorage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAzureBlobStorageAzureBlobStorage { AZURE_BLOB_STORAGE("azure-blob-storage"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatType.java index a390d7c5e..86876a8f5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageFormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationAzureBlobStorageFormatType { JSONL("JSONL"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.java b/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.java index aa5c11490..ea06e166a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON { /** @@ -26,14 +27,14 @@ public class DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("file_extension") - private Optional fileExtension; + private Optional fileExtension; @JsonProperty("format_type") private DestinationAzureBlobStorageFormatType formatType; @JsonCreator public DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON( - @JsonProperty("file_extension") Optional fileExtension) { + @JsonProperty("file_extension") Optional fileExtension) { Utils.checkNotNull(fileExtension, "fileExtension"); this.fileExtension = fileExtension; this.formatType = Builder._SINGLETON_VALUE_FormatType.value(); @@ -46,10 +47,9 @@ public DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON() { /** * Add file extensions to the output file. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional fileExtension() { - return (Optional) fileExtension; + return fileExtension; } @JsonIgnore @@ -73,7 +73,7 @@ public DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON withFileExtensio /** * Add file extensions to the output file. */ - public DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON withFileExtension(Optional fileExtension) { + public DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON withFileExtension(Optional fileExtension) { Utils.checkNotNull(fileExtension, "fileExtension"); this.fileExtension = fileExtension; return this; @@ -89,13 +89,13 @@ public boolean equals(java.lang.Object o) { } DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON other = (DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON) o; return - java.util.Objects.deepEquals(this.fileExtension, other.fileExtension) && - java.util.Objects.deepEquals(this.formatType, other.formatType); + Objects.deepEquals(this.fileExtension, other.fileExtension) && + Objects.deepEquals(this.formatType, other.formatType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fileExtension, formatType); } @@ -109,7 +109,7 @@ public String toString() { public final static class Builder { - private Optional fileExtension; + private Optional fileExtension; private Builder() { // force use of static builder() method @@ -127,7 +127,7 @@ public Builder fileExtension(boolean fileExtension) { /** * Add file extensions to the output file. */ - public Builder fileExtension(Optional fileExtension) { + public Builder fileExtension(Optional fileExtension) { Utils.checkNotNull(fileExtension, "fileExtension"); this.fileExtension = fileExtension; return this; @@ -136,16 +136,15 @@ public Builder fileExtension(Optional fileExtension) { public DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON build() { if (fileExtension == null) { fileExtension = _SINGLETON_VALUE_FileExtension.value(); - } - return new DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON( + } return new DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON( fileExtension); } - private static final LazySingletonValue> _SINGLETON_VALUE_FileExtension = + private static final LazySingletonValue> _SINGLETON_VALUE_FileExtension = new LazySingletonValue<>( "file_extension", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_FormatType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java b/src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java index 410087ede..76b4c0044 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationBigquery.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationBigquery { /** @@ -26,14 +29,14 @@ public class DestinationBigquery { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("big_query_client_buffer_size_mb") - private Optional bigQueryClientBufferSizeMb; + private Optional bigQueryClientBufferSizeMb; /** * The contents of the JSON service account key. Check out the <a href="https://docs.airbyte.com/integrations/destinations/bigquery#service-account-key">docs</a> if you need help generating this key. Default credentials will be used if this field is left empty. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("credentials_json") - private Optional credentialsJson; + private Optional credentialsJson; /** * The default BigQuery Dataset ID that tables are replicated to if the source does not specify a namespace. Read more <a href="https://cloud.google.com/bigquery/docs/datasets#create-dataset">here</a>. @@ -55,7 +58,7 @@ public class DestinationBigquery { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("disable_type_dedupe") - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; /** * The way data will be uploaded to BigQuery. @@ -75,7 +78,7 @@ public class DestinationBigquery { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("raw_data_dataset") - private Optional rawDataDataset; + private Optional rawDataDataset; /** * Interactive run type means that the query is executed as soon as possible, and these queries count towards concurrent rate limit and daily limit. Read more about interactive run type <a href="https://cloud.google.com/bigquery/docs/running-queries#queries">here</a>. Batch queries are queued and started as soon as idle resources are available in the BigQuery shared resource pool, which usually occurs within a few minutes. Batch queries don’t count towards your concurrent rate limit. Read more about batch queries <a href="https://cloud.google.com/bigquery/docs/running-queries#batch">here</a>. The default "interactive" value is used if not set explicitly. @@ -86,14 +89,14 @@ public class DestinationBigquery { @JsonCreator public DestinationBigquery( - @JsonProperty("big_query_client_buffer_size_mb") Optional bigQueryClientBufferSizeMb, - @JsonProperty("credentials_json") Optional credentialsJson, + @JsonProperty("big_query_client_buffer_size_mb") Optional bigQueryClientBufferSizeMb, + @JsonProperty("credentials_json") Optional credentialsJson, @JsonProperty("dataset_id") String datasetId, @JsonProperty("dataset_location") DatasetLocation datasetLocation, - @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, + @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, @JsonProperty("loading_method") Optional loadingMethod, @JsonProperty("project_id") String projectId, - @JsonProperty("raw_data_dataset") Optional rawDataDataset, + @JsonProperty("raw_data_dataset") Optional rawDataDataset, @JsonProperty("transformation_priority") Optional transformationPriority) { Utils.checkNotNull(bigQueryClientBufferSizeMb, "bigQueryClientBufferSizeMb"); Utils.checkNotNull(credentialsJson, "credentialsJson"); @@ -126,19 +129,17 @@ public DestinationBigquery( /** * Google BigQuery client's chunk (buffer) size (MIN=1, MAX = 15) for each table. The size that will be written by a single RPC. Written data will be buffered and only flushed upon reaching this size or closing the channel. The default 15MB value is used if not set explicitly. Read more <a href="https://googleapis.dev/python/bigquery/latest/generated/google.cloud.bigquery.client.Client.html">here</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional bigQueryClientBufferSizeMb() { - return (Optional) bigQueryClientBufferSizeMb; + return bigQueryClientBufferSizeMb; } /** * The contents of the JSON service account key. Check out the <a href="https://docs.airbyte.com/integrations/destinations/bigquery#service-account-key">docs</a> if you need help generating this key. Default credentials will be used if this field is left empty. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional credentialsJson() { - return (Optional) credentialsJson; + return credentialsJson; } /** @@ -165,10 +166,9 @@ public Bigquery destinationType() { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional disableTypeDedupe() { - return (Optional) disableTypeDedupe; + return disableTypeDedupe; } /** @@ -191,10 +191,9 @@ public String projectId() { /** * The dataset to write raw tables into (default: airbyte_internal) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional rawDataDataset() { - return (Optional) rawDataDataset; + return rawDataDataset; } /** @@ -222,7 +221,7 @@ public DestinationBigquery withBigQueryClientBufferSizeMb(long bigQueryClientBuf /** * Google BigQuery client's chunk (buffer) size (MIN=1, MAX = 15) for each table. The size that will be written by a single RPC. Written data will be buffered and only flushed upon reaching this size or closing the channel. The default 15MB value is used if not set explicitly. Read more <a href="https://googleapis.dev/python/bigquery/latest/generated/google.cloud.bigquery.client.Client.html">here</a>. */ - public DestinationBigquery withBigQueryClientBufferSizeMb(Optional bigQueryClientBufferSizeMb) { + public DestinationBigquery withBigQueryClientBufferSizeMb(Optional bigQueryClientBufferSizeMb) { Utils.checkNotNull(bigQueryClientBufferSizeMb, "bigQueryClientBufferSizeMb"); this.bigQueryClientBufferSizeMb = bigQueryClientBufferSizeMb; return this; @@ -240,7 +239,7 @@ public DestinationBigquery withCredentialsJson(String credentialsJson) { /** * The contents of the JSON service account key. Check out the <a href="https://docs.airbyte.com/integrations/destinations/bigquery#service-account-key">docs</a> if you need help generating this key. Default credentials will be used if this field is left empty. */ - public DestinationBigquery withCredentialsJson(Optional credentialsJson) { + public DestinationBigquery withCredentialsJson(Optional credentialsJson) { Utils.checkNotNull(credentialsJson, "credentialsJson"); this.credentialsJson = credentialsJson; return this; @@ -276,7 +275,7 @@ public DestinationBigquery withDisableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public DestinationBigquery withDisableTypeDedupe(Optional disableTypeDedupe) { + public DestinationBigquery withDisableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -321,7 +320,7 @@ public DestinationBigquery withRawDataDataset(String rawDataDataset) { /** * The dataset to write raw tables into (default: airbyte_internal) */ - public DestinationBigquery withRawDataDataset(Optional rawDataDataset) { + public DestinationBigquery withRawDataDataset(Optional rawDataDataset) { Utils.checkNotNull(rawDataDataset, "rawDataDataset"); this.rawDataDataset = rawDataDataset; return this; @@ -355,21 +354,21 @@ public boolean equals(java.lang.Object o) { } DestinationBigquery other = (DestinationBigquery) o; return - java.util.Objects.deepEquals(this.bigQueryClientBufferSizeMb, other.bigQueryClientBufferSizeMb) && - java.util.Objects.deepEquals(this.credentialsJson, other.credentialsJson) && - java.util.Objects.deepEquals(this.datasetId, other.datasetId) && - java.util.Objects.deepEquals(this.datasetLocation, other.datasetLocation) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && - java.util.Objects.deepEquals(this.loadingMethod, other.loadingMethod) && - java.util.Objects.deepEquals(this.projectId, other.projectId) && - java.util.Objects.deepEquals(this.rawDataDataset, other.rawDataDataset) && - java.util.Objects.deepEquals(this.transformationPriority, other.transformationPriority); + Objects.deepEquals(this.bigQueryClientBufferSizeMb, other.bigQueryClientBufferSizeMb) && + Objects.deepEquals(this.credentialsJson, other.credentialsJson) && + Objects.deepEquals(this.datasetId, other.datasetId) && + Objects.deepEquals(this.datasetLocation, other.datasetLocation) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && + Objects.deepEquals(this.loadingMethod, other.loadingMethod) && + Objects.deepEquals(this.projectId, other.projectId) && + Objects.deepEquals(this.rawDataDataset, other.rawDataDataset) && + Objects.deepEquals(this.transformationPriority, other.transformationPriority); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( bigQueryClientBufferSizeMb, credentialsJson, datasetId, @@ -399,21 +398,21 @@ public String toString() { public final static class Builder { - private Optional bigQueryClientBufferSizeMb; + private Optional bigQueryClientBufferSizeMb; - private Optional credentialsJson = Optional.empty(); + private Optional credentialsJson = Optional.empty(); private String datasetId; private DatasetLocation datasetLocation; - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; private Optional loadingMethod = Optional.empty(); private String projectId; - private Optional rawDataDataset = Optional.empty(); + private Optional rawDataDataset = Optional.empty(); private Optional transformationPriority; @@ -433,7 +432,7 @@ public Builder bigQueryClientBufferSizeMb(long bigQueryClientBufferSizeMb) { /** * Google BigQuery client's chunk (buffer) size (MIN=1, MAX = 15) for each table. The size that will be written by a single RPC. Written data will be buffered and only flushed upon reaching this size or closing the channel. The default 15MB value is used if not set explicitly. Read more <a href="https://googleapis.dev/python/bigquery/latest/generated/google.cloud.bigquery.client.Client.html">here</a>. */ - public Builder bigQueryClientBufferSizeMb(Optional bigQueryClientBufferSizeMb) { + public Builder bigQueryClientBufferSizeMb(Optional bigQueryClientBufferSizeMb) { Utils.checkNotNull(bigQueryClientBufferSizeMb, "bigQueryClientBufferSizeMb"); this.bigQueryClientBufferSizeMb = bigQueryClientBufferSizeMb; return this; @@ -451,7 +450,7 @@ public Builder credentialsJson(String credentialsJson) { /** * The contents of the JSON service account key. Check out the <a href="https://docs.airbyte.com/integrations/destinations/bigquery#service-account-key">docs</a> if you need help generating this key. Default credentials will be used if this field is left empty. */ - public Builder credentialsJson(Optional credentialsJson) { + public Builder credentialsJson(Optional credentialsJson) { Utils.checkNotNull(credentialsJson, "credentialsJson"); this.credentialsJson = credentialsJson; return this; @@ -487,7 +486,7 @@ public Builder disableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public Builder disableTypeDedupe(Optional disableTypeDedupe) { + public Builder disableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -532,7 +531,7 @@ public Builder rawDataDataset(String rawDataDataset) { /** * The dataset to write raw tables into (default: airbyte_internal) */ - public Builder rawDataDataset(Optional rawDataDataset) { + public Builder rawDataDataset(Optional rawDataDataset) { Utils.checkNotNull(rawDataDataset, "rawDataDataset"); this.rawDataDataset = rawDataDataset; return this; @@ -565,8 +564,7 @@ public DestinationBigquery build() { } if (transformationPriority == null) { transformationPriority = _SINGLETON_VALUE_TransformationPriority.value(); - } - return new DestinationBigquery( + } return new DestinationBigquery( bigQueryClientBufferSizeMb, credentialsJson, datasetId, @@ -578,11 +576,11 @@ public DestinationBigquery build() { transformationPriority); } - private static final LazySingletonValue> _SINGLETON_VALUE_BigQueryClientBufferSizeMb = + private static final LazySingletonValue> _SINGLETON_VALUE_BigQueryClientBufferSizeMb = new LazySingletonValue<>( "big_query_client_buffer_size_mb", "15", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_DestinationType = new LazySingletonValue<>( @@ -590,11 +588,11 @@ public DestinationBigquery build() { "\"bigquery\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = + private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = new LazySingletonValue<>( "disable_type_dedupe", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_TransformationPriority = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryCredentialType.java b/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryCredentialType.java index 524b3b25a..215128e45 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryCredentialType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryCredentialType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationBigqueryCredentialType { HMAC_KEY("HMAC_KEY"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryHMACKey.java b/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryHMACKey.java index 3a8685a44..6b5d6dac5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryHMACKey.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryHMACKey.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationBigqueryHMACKey { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } DestinationBigqueryHMACKey other = (DestinationBigqueryHMACKey) o; return - java.util.Objects.deepEquals(this.credentialType, other.credentialType) && - java.util.Objects.deepEquals(this.hmacKeyAccessId, other.hmacKeyAccessId) && - java.util.Objects.deepEquals(this.hmacKeySecret, other.hmacKeySecret); + Objects.deepEquals(this.credentialType, other.credentialType) && + Objects.deepEquals(this.hmacKeyAccessId, other.hmacKeyAccessId) && + Objects.deepEquals(this.hmacKeySecret, other.hmacKeySecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentialType, hmacKeyAccessId, hmacKeySecret); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java index 910d78ce5..977646467 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationBigqueryMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationBigqueryMethod { GCS_STAGING("GCS Staging"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java b/src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java index 3cacc23fe..cc254def7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationClickhouse.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationClickhouse { /** @@ -41,35 +44,35 @@ public class DestinationClickhouse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * Password associated with the username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * HTTP port of the database. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * The schema to write raw tables into (default: airbyte_internal) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("raw_data_schema") - private Optional rawDataSchema; + private Optional rawDataSchema; /** * Encrypt data using SSL. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl") - private Optional ssl; + private Optional ssl; /** * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -88,11 +91,11 @@ public class DestinationClickhouse { public DestinationClickhouse( @JsonProperty("database") String database, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, - @JsonProperty("raw_data_schema") Optional rawDataSchema, - @JsonProperty("ssl") Optional ssl, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, + @JsonProperty("raw_data_schema") Optional rawDataSchema, + @JsonProperty("ssl") Optional ssl, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { Utils.checkNotNull(database, "database"); @@ -147,46 +150,41 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * Password associated with the username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * HTTP port of the database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * The schema to write raw tables into (default: airbyte_internal) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional rawDataSchema() { - return (Optional) rawDataSchema; + return rawDataSchema; } /** * Encrypt data using SSL. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ssl() { - return (Optional) ssl; + return ssl; } /** @@ -240,7 +238,7 @@ public DestinationClickhouse withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public DestinationClickhouse withJdbcUrlParams(Optional jdbcUrlParams) { + public DestinationClickhouse withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -258,7 +256,7 @@ public DestinationClickhouse withPassword(String password) { /** * Password associated with the username. */ - public DestinationClickhouse withPassword(Optional password) { + public DestinationClickhouse withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -276,7 +274,7 @@ public DestinationClickhouse withPort(long port) { /** * HTTP port of the database. */ - public DestinationClickhouse withPort(Optional port) { + public DestinationClickhouse withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -294,7 +292,7 @@ public DestinationClickhouse withRawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public DestinationClickhouse withRawDataSchema(Optional rawDataSchema) { + public DestinationClickhouse withRawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -312,7 +310,7 @@ public DestinationClickhouse withSsl(boolean ssl) { /** * Encrypt data using SSL. */ - public DestinationClickhouse withSsl(Optional ssl) { + public DestinationClickhouse withSsl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -355,21 +353,21 @@ public boolean equals(java.lang.Object o) { } DestinationClickhouse other = (DestinationClickhouse) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && - java.util.Objects.deepEquals(this.ssl, other.ssl) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && + Objects.deepEquals(this.ssl, other.ssl) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, destinationType, host, @@ -403,15 +401,15 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; - private Optional rawDataSchema = Optional.empty(); + private Optional rawDataSchema = Optional.empty(); - private Optional ssl; + private Optional ssl; private Optional tunnelMethod = Optional.empty(); @@ -451,7 +449,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -469,7 +467,7 @@ public Builder password(String password) { /** * Password associated with the username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -487,7 +485,7 @@ public Builder port(long port) { /** * HTTP port of the database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -505,7 +503,7 @@ public Builder rawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public Builder rawDataSchema(Optional rawDataSchema) { + public Builder rawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -523,7 +521,7 @@ public Builder ssl(boolean ssl) { /** * Encrypt data using SSL. */ - public Builder ssl(Optional ssl) { + public Builder ssl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -562,8 +560,7 @@ public DestinationClickhouse build() { } if (ssl == null) { ssl = _SINGLETON_VALUE_Ssl.value(); - } - return new DestinationClickhouse( + } return new DestinationClickhouse( database, host, jdbcUrlParams, @@ -581,17 +578,17 @@ public DestinationClickhouse build() { "\"clickhouse\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "8123", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = + private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = new LazySingletonValue<>( "ssl", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseSchemasTunnelMethod.java index 66b6cd63c..80dd868e9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationClickhouseSchemasTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethod.java index 0f870e88f..1faeb858f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationClickhouseTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationClickhouseTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java b/src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java index b24eb559b..eb701da05 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationConfiguration.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationConfiguration - The values required to configure the destination. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationConfiguration._Deserializer.class) public class DestinationConfiguration { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationConfiguration(TypedObject value) { @@ -75,6 +72,11 @@ public static DestinationConfiguration of(DestinationDatabricks value) { return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static DestinationConfiguration of(DestinationDevNull value) { + Utils.checkNotNull(value, "value"); + return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static DestinationConfiguration of(DestinationDuckdb value) { Utils.checkNotNull(value, "value"); return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -105,6 +107,11 @@ public static DestinationConfiguration of(DestinationGcs value) { return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static DestinationConfiguration of(DestinationIceberg value) { + Utils.checkNotNull(value, "value"); + return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static DestinationConfiguration of(DestinationMilvus value) { Utils.checkNotNull(value, "value"); return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -115,6 +122,11 @@ public static DestinationConfiguration of(DestinationMongodb value) { return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static DestinationConfiguration of(DestinationMotherduck value) { + Utils.checkNotNull(value, "value"); + return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static DestinationConfiguration of(DestinationMssql value) { Utils.checkNotNull(value, "value"); return new DestinationConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -223,43 +235,46 @@ public static DestinationConfiguration of(DestinationYellowbrick value) { /** * Returns an instance of one of these types: *
      - *
    • {@code DestinationGoogleSheets}
    • - *
    • {@code DestinationAstra}
    • - *
    • {@code DestinationAwsDatalake}
    • - *
    • {@code DestinationAzureBlobStorage}
    • - *
    • {@code DestinationBigquery}
    • - *
    • {@code DestinationClickhouse}
    • - *
    • {@code DestinationConvex}
    • - *
    • {@code DestinationDatabricks}
    • - *
    • {@code DestinationDuckdb}
    • - *
    • {@code DestinationDynamodb}
    • - *
    • {@code DestinationElasticsearch}
    • - *
    • {@code DestinationFirebolt}
    • - *
    • {@code DestinationFirestore}
    • - *
    • {@code DestinationGcs}
    • - *
    • {@code DestinationMilvus}
    • - *
    • {@code DestinationMongodb}
    • - *
    • {@code DestinationMssql}
    • - *
    • {@code DestinationMysql}
    • - *
    • {@code DestinationOracle}
    • - *
    • {@code DestinationPgvector}
    • - *
    • {@code DestinationPinecone}
    • - *
    • {@code DestinationPostgres}
    • - *
    • {@code DestinationPubsub}
    • - *
    • {@code DestinationQdrant}
    • - *
    • {@code DestinationRedis}
    • - *
    • {@code DestinationRedshift}
    • - *
    • {@code DestinationS3}
    • - *
    • {@code DestinationS3Glue}
    • - *
    • {@code DestinationSftpJson}
    • - *
    • {@code DestinationSnowflake}
    • - *
    • {@code DestinationSnowflakeCortex}
    • - *
    • {@code DestinationTeradata}
    • - *
    • {@code DestinationTimeplus}
    • - *
    • {@code DestinationTypesense}
    • - *
    • {@code DestinationVectara}
    • - *
    • {@code DestinationWeaviate}
    • - *
    • {@code DestinationYellowbrick}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationGoogleSheets}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationAstra}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationAwsDatalake}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationAzureBlobStorage}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationBigquery}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationClickhouse}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationConvex}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationDatabricks}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationDevNull}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationDuckdb}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationDynamodb}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationElasticsearch}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationFirebolt}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationFirestore}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationGcs}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationIceberg}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvus}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMongodb}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMotherduck}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMssql}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMysql}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationOracle}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPgvector}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPinecone}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPostgres}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPubsub}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrant}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedis}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedshift}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3Glue}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSftpJson}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflake}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeCortex}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationTeradata}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationTimeplus}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationTypesense}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationVectara}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviate}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrick}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -286,56 +301,59 @@ public boolean equals(java.lang.Object o) { return false; } DestinationConfiguration other = (DestinationConfiguration) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationConfiguration.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationConfiguration.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationConvex.java b/src/main/java/com/airbyte/api/models/shared/DestinationConvex.java index f4693bf2a..3b61d5a23 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationConvex.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationConvex.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationConvex { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } DestinationConvex other = (DestinationConvex) o; return - java.util.Objects.deepEquals(this.accessKey, other.accessKey) && - java.util.Objects.deepEquals(this.deploymentUrl, other.deploymentUrl) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType); + Objects.deepEquals(this.accessKey, other.accessKey) && + Objects.deepEquals(this.deploymentUrl, other.deploymentUrl) && + Objects.deepEquals(this.destinationType, other.destinationType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKey, deploymentUrl, destinationType); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java b/src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java index 6eee4ded0..ddb3361ac 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationCreateRequest { /** @@ -31,7 +30,7 @@ public class DestinationCreateRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("definitionId") - private Optional definitionId; + private Optional definitionId; /** * Name of the destination e.g. dev-mysql-instance. @@ -45,7 +44,7 @@ public class DestinationCreateRequest { @JsonCreator public DestinationCreateRequest( @JsonProperty("configuration") DestinationConfiguration configuration, - @JsonProperty("definitionId") Optional definitionId, + @JsonProperty("definitionId") Optional definitionId, @JsonProperty("name") String name, @JsonProperty("workspaceId") String workspaceId) { Utils.checkNotNull(configuration, "configuration"); @@ -76,10 +75,9 @@ public DestinationConfiguration configuration() { /** * The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional definitionId() { - return (Optional) definitionId; + return definitionId; } /** @@ -120,7 +118,7 @@ public DestinationCreateRequest withDefinitionId(String definitionId) { /** * The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. */ - public DestinationCreateRequest withDefinitionId(Optional definitionId) { + public DestinationCreateRequest withDefinitionId(Optional definitionId) { Utils.checkNotNull(definitionId, "definitionId"); this.definitionId = definitionId; return this; @@ -151,15 +149,15 @@ public boolean equals(java.lang.Object o) { } DestinationCreateRequest other = (DestinationCreateRequest) o; return - java.util.Objects.deepEquals(this.configuration, other.configuration) && - java.util.Objects.deepEquals(this.definitionId, other.definitionId) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.configuration, other.configuration) && + Objects.deepEquals(this.definitionId, other.definitionId) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configuration, definitionId, name, @@ -179,7 +177,7 @@ public final static class Builder { private DestinationConfiguration configuration; - private Optional definitionId = Optional.empty(); + private Optional definitionId = Optional.empty(); private String name; @@ -210,7 +208,7 @@ public Builder definitionId(String definitionId) { /** * The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. */ - public Builder definitionId(Optional definitionId) { + public Builder definitionId(Optional definitionId) { Utils.checkNotNull(definitionId, "definitionId"); this.definitionId = definitionId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java index 84aa7ae5d..3b59d2248 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricks.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationDatabricks { /** @@ -26,7 +27,7 @@ public class DestinationDatabricks { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("accept_terms") - private Optional acceptTerms; + private Optional acceptTerms; /** * Authentication mechanism for Staging files and running queries @@ -60,40 +61,40 @@ public class DestinationDatabricks { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * Default to 'true'. Switch it to 'false' for debugging purpose. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("purge_staging_data") - private Optional purgeStagingData; + private Optional purgeStagingData; /** * The schema to write raw tables into (default: airbyte_internal) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("raw_schema_override") - private Optional rawSchemaOverride; + private Optional rawSchemaOverride; /** * The default schema tables are written. If not specified otherwise, the "default" will be used. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schema") - private Optional schema; + private Optional schema; @JsonCreator public DestinationDatabricks( - @JsonProperty("accept_terms") Optional acceptTerms, + @JsonProperty("accept_terms") Optional acceptTerms, @JsonProperty("authentication") Authentication authentication, @JsonProperty("database") String database, @JsonProperty("hostname") String hostname, @JsonProperty("http_path") String httpPath, - @JsonProperty("port") Optional port, - @JsonProperty("purge_staging_data") Optional purgeStagingData, - @JsonProperty("raw_schema_override") Optional rawSchemaOverride, - @JsonProperty("schema") Optional schema) { + @JsonProperty("port") Optional port, + @JsonProperty("purge_staging_data") Optional purgeStagingData, + @JsonProperty("raw_schema_override") Optional rawSchemaOverride, + @JsonProperty("schema") Optional schema) { Utils.checkNotNull(acceptTerms, "acceptTerms"); Utils.checkNotNull(authentication, "authentication"); Utils.checkNotNull(database, "database"); @@ -126,10 +127,9 @@ public DestinationDatabricks( /** * You must agree to the Databricks JDBC Driver <a href="https://databricks.com/jdbc-odbc-driver-license">Terms & Conditions</a> to use this connector. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional acceptTerms() { - return (Optional) acceptTerms; + return acceptTerms; } /** @@ -172,37 +172,33 @@ public String httpPath() { /** * Databricks Cluster Port. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * Default to 'true'. Switch it to 'false' for debugging purpose. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional purgeStagingData() { - return (Optional) purgeStagingData; + return purgeStagingData; } /** * The schema to write raw tables into (default: airbyte_internal) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional rawSchemaOverride() { - return (Optional) rawSchemaOverride; + return rawSchemaOverride; } /** * The default schema tables are written. If not specified otherwise, the "default" will be used. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schema() { - return (Optional) schema; + return schema; } public final static Builder builder() { @@ -221,7 +217,7 @@ public DestinationDatabricks withAcceptTerms(boolean acceptTerms) { /** * You must agree to the Databricks JDBC Driver <a href="https://databricks.com/jdbc-odbc-driver-license">Terms & Conditions</a> to use this connector. */ - public DestinationDatabricks withAcceptTerms(Optional acceptTerms) { + public DestinationDatabricks withAcceptTerms(Optional acceptTerms) { Utils.checkNotNull(acceptTerms, "acceptTerms"); this.acceptTerms = acceptTerms; return this; @@ -275,7 +271,7 @@ public DestinationDatabricks withPort(String port) { /** * Databricks Cluster Port. */ - public DestinationDatabricks withPort(Optional port) { + public DestinationDatabricks withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -293,7 +289,7 @@ public DestinationDatabricks withPurgeStagingData(boolean purgeStagingData) { /** * Default to 'true'. Switch it to 'false' for debugging purpose. */ - public DestinationDatabricks withPurgeStagingData(Optional purgeStagingData) { + public DestinationDatabricks withPurgeStagingData(Optional purgeStagingData) { Utils.checkNotNull(purgeStagingData, "purgeStagingData"); this.purgeStagingData = purgeStagingData; return this; @@ -311,7 +307,7 @@ public DestinationDatabricks withRawSchemaOverride(String rawSchemaOverride) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public DestinationDatabricks withRawSchemaOverride(Optional rawSchemaOverride) { + public DestinationDatabricks withRawSchemaOverride(Optional rawSchemaOverride) { Utils.checkNotNull(rawSchemaOverride, "rawSchemaOverride"); this.rawSchemaOverride = rawSchemaOverride; return this; @@ -329,7 +325,7 @@ public DestinationDatabricks withSchema(String schema) { /** * The default schema tables are written. If not specified otherwise, the "default" will be used. */ - public DestinationDatabricks withSchema(Optional schema) { + public DestinationDatabricks withSchema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -345,21 +341,21 @@ public boolean equals(java.lang.Object o) { } DestinationDatabricks other = (DestinationDatabricks) o; return - java.util.Objects.deepEquals(this.acceptTerms, other.acceptTerms) && - java.util.Objects.deepEquals(this.authentication, other.authentication) && - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.hostname, other.hostname) && - java.util.Objects.deepEquals(this.httpPath, other.httpPath) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.purgeStagingData, other.purgeStagingData) && - java.util.Objects.deepEquals(this.rawSchemaOverride, other.rawSchemaOverride) && - java.util.Objects.deepEquals(this.schema, other.schema); + Objects.deepEquals(this.acceptTerms, other.acceptTerms) && + Objects.deepEquals(this.authentication, other.authentication) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.hostname, other.hostname) && + Objects.deepEquals(this.httpPath, other.httpPath) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.purgeStagingData, other.purgeStagingData) && + Objects.deepEquals(this.rawSchemaOverride, other.rawSchemaOverride) && + Objects.deepEquals(this.schema, other.schema); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( acceptTerms, authentication, database, @@ -389,7 +385,7 @@ public String toString() { public final static class Builder { - private Optional acceptTerms; + private Optional acceptTerms; private Authentication authentication; @@ -399,13 +395,13 @@ public final static class Builder { private String httpPath; - private Optional port; + private Optional port; - private Optional purgeStagingData; + private Optional purgeStagingData; - private Optional rawSchemaOverride; + private Optional rawSchemaOverride; - private Optional schema; + private Optional schema; private Builder() { // force use of static builder() method @@ -423,7 +419,7 @@ public Builder acceptTerms(boolean acceptTerms) { /** * You must agree to the Databricks JDBC Driver <a href="https://databricks.com/jdbc-odbc-driver-license">Terms & Conditions</a> to use this connector. */ - public Builder acceptTerms(Optional acceptTerms) { + public Builder acceptTerms(Optional acceptTerms) { Utils.checkNotNull(acceptTerms, "acceptTerms"); this.acceptTerms = acceptTerms; return this; @@ -477,7 +473,7 @@ public Builder port(String port) { /** * Databricks Cluster Port. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -495,7 +491,7 @@ public Builder purgeStagingData(boolean purgeStagingData) { /** * Default to 'true'. Switch it to 'false' for debugging purpose. */ - public Builder purgeStagingData(Optional purgeStagingData) { + public Builder purgeStagingData(Optional purgeStagingData) { Utils.checkNotNull(purgeStagingData, "purgeStagingData"); this.purgeStagingData = purgeStagingData; return this; @@ -513,7 +509,7 @@ public Builder rawSchemaOverride(String rawSchemaOverride) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public Builder rawSchemaOverride(Optional rawSchemaOverride) { + public Builder rawSchemaOverride(Optional rawSchemaOverride) { Utils.checkNotNull(rawSchemaOverride, "rawSchemaOverride"); this.rawSchemaOverride = rawSchemaOverride; return this; @@ -531,7 +527,7 @@ public Builder schema(String schema) { /** * The default schema tables are written. If not specified otherwise, the "default" will be used. */ - public Builder schema(Optional schema) { + public Builder schema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -552,8 +548,7 @@ public DestinationDatabricks build() { } if (schema == null) { schema = _SINGLETON_VALUE_Schema.value(); - } - return new DestinationDatabricks( + } return new DestinationDatabricks( acceptTerms, authentication, database, @@ -565,11 +560,11 @@ public DestinationDatabricks build() { schema); } - private static final LazySingletonValue> _SINGLETON_VALUE_AcceptTerms = + private static final LazySingletonValue> _SINGLETON_VALUE_AcceptTerms = new LazySingletonValue<>( "accept_terms", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_DestinationType = new LazySingletonValue<>( @@ -577,29 +572,29 @@ public DestinationDatabricks build() { "\"databricks\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "\"443\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_PurgeStagingData = + private static final LazySingletonValue> _SINGLETON_VALUE_PurgeStagingData = new LazySingletonValue<>( "purge_staging_data", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_RawSchemaOverride = + private static final LazySingletonValue> _SINGLETON_VALUE_RawSchemaOverride = new LazySingletonValue<>( "raw_schema_override", "\"airbyte_internal\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schema = + private static final LazySingletonValue> _SINGLETON_VALUE_Schema = new LazySingletonValue<>( "schema", "\"default\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAuthType.java index 589b0b37c..acccbc5b7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationDatabricksAuthType { BASIC("BASIC"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksSchemasAuthType.java index a7a2dfd0f..17bd6f61d 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDatabricksSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationDatabricksSchemasAuthType { OAUTH("OAUTH"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDevNull.java b/src/main/java/com/airbyte/api/models/shared/DestinationDevNull.java new file mode 100644 index 000000000..8b8507876 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDevNull.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class DestinationDevNull { + + @JsonProperty("destinationType") + private DevNull destinationType; + + /** + * The type of destination to be used + */ + @JsonProperty("test_destination") + private TestDestination testDestination; + + @JsonCreator + public DestinationDevNull( + @JsonProperty("test_destination") TestDestination testDestination) { + Utils.checkNotNull(testDestination, "testDestination"); + this.destinationType = Builder._SINGLETON_VALUE_DestinationType.value(); + this.testDestination = testDestination; + } + + @JsonIgnore + public DevNull destinationType() { + return destinationType; + } + + /** + * The type of destination to be used + */ + @JsonIgnore + public TestDestination testDestination() { + return testDestination; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The type of destination to be used + */ + public DestinationDevNull withTestDestination(TestDestination testDestination) { + Utils.checkNotNull(testDestination, "testDestination"); + this.testDestination = testDestination; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DestinationDevNull other = (DestinationDevNull) o; + return + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.testDestination, other.testDestination); + } + + @Override + public int hashCode() { + return Objects.hash( + destinationType, + testDestination); + } + + @Override + public String toString() { + return Utils.toString(DestinationDevNull.class, + "destinationType", destinationType, + "testDestination", testDestination); + } + + public final static class Builder { + + private TestDestination testDestination; + + private Builder() { + // force use of static builder() method + } + + /** + * The type of destination to be used + */ + public Builder testDestination(TestDestination testDestination) { + Utils.checkNotNull(testDestination, "testDestination"); + this.testDestination = testDestination; + return this; + } + + public DestinationDevNull build() { + return new DestinationDevNull( + testDestination); + } + + private static final LazySingletonValue _SINGLETON_VALUE_DestinationType = + new LazySingletonValue<>( + "destinationType", + "\"dev-null\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDevNullLoggingType.java b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullLoggingType.java new file mode 100644 index 000000000..63ab0b59c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullLoggingType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationDevNullLoggingType { + EVERY_NTH("EveryNth"); + + @JsonValue + private final String value; + + private DestinationDevNullLoggingType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasLoggingType.java b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasLoggingType.java new file mode 100644 index 000000000..ed8d03722 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasLoggingType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationDevNullSchemasLoggingType { + RANDOM_SAMPLING("RandomSampling"); + + @JsonValue + private final String value; + + private DestinationDevNullSchemasLoggingType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.java b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.java new file mode 100644 index 000000000..86af8ad5c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationTestDestinationType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationDevNullSchemasTestDestinationTestDestinationType { + FAILING("FAILING"); + + @JsonValue + private final String value; + + private DestinationDevNullSchemasTestDestinationTestDestinationType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationType.java b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationType.java new file mode 100644 index 000000000..c0bb1d025 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullSchemasTestDestinationType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationDevNullSchemasTestDestinationType { + THROTTLED("THROTTLED"); + + @JsonValue + private final String value; + + private DestinationDevNullSchemasTestDestinationType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDevNullTestDestinationType.java b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullTestDestinationType.java new file mode 100644 index 000000000..7037461b2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDevNullTestDestinationType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationDevNullTestDestinationType { + SILENT("SILENT"); + + @JsonValue + private final String value; + + private DestinationDevNullTestDestinationType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDuckdb.java b/src/main/java/com/airbyte/api/models/shared/DestinationDuckdb.java index d312912bc..1c5de65b4 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationDuckdb.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDuckdb.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationDuckdb { @JsonProperty("destinationType") @@ -35,20 +35,20 @@ public class DestinationDuckdb { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("motherduck_api_key") - private Optional motherduckApiKey; + private Optional motherduckApiKey; /** * Database schema name, default for duckdb is 'main'. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schema") - private Optional schema; + private Optional schema; @JsonCreator public DestinationDuckdb( @JsonProperty("destination_path") String destinationPath, - @JsonProperty("motherduck_api_key") Optional motherduckApiKey, - @JsonProperty("schema") Optional schema) { + @JsonProperty("motherduck_api_key") Optional motherduckApiKey, + @JsonProperty("schema") Optional schema) { Utils.checkNotNull(destinationPath, "destinationPath"); Utils.checkNotNull(motherduckApiKey, "motherduckApiKey"); Utils.checkNotNull(schema, "schema"); @@ -79,19 +79,17 @@ public String destinationPath() { /** * API key to use for authentication to a MotherDuck database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional motherduckApiKey() { - return (Optional) motherduckApiKey; + return motherduckApiKey; } /** * Database schema name, default for duckdb is 'main'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schema() { - return (Optional) schema; + return schema; } public final static Builder builder() { @@ -119,7 +117,7 @@ public DestinationDuckdb withMotherduckApiKey(String motherduckApiKey) { /** * API key to use for authentication to a MotherDuck database. */ - public DestinationDuckdb withMotherduckApiKey(Optional motherduckApiKey) { + public DestinationDuckdb withMotherduckApiKey(Optional motherduckApiKey) { Utils.checkNotNull(motherduckApiKey, "motherduckApiKey"); this.motherduckApiKey = motherduckApiKey; return this; @@ -137,7 +135,7 @@ public DestinationDuckdb withSchema(String schema) { /** * Database schema name, default for duckdb is 'main'. */ - public DestinationDuckdb withSchema(Optional schema) { + public DestinationDuckdb withSchema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -153,15 +151,15 @@ public boolean equals(java.lang.Object o) { } DestinationDuckdb other = (DestinationDuckdb) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.destinationPath, other.destinationPath) && - java.util.Objects.deepEquals(this.motherduckApiKey, other.motherduckApiKey) && - java.util.Objects.deepEquals(this.schema, other.schema); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.destinationPath, other.destinationPath) && + Objects.deepEquals(this.motherduckApiKey, other.motherduckApiKey) && + Objects.deepEquals(this.schema, other.schema); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, destinationPath, motherduckApiKey, @@ -181,9 +179,9 @@ public final static class Builder { private String destinationPath; - private Optional motherduckApiKey = Optional.empty(); + private Optional motherduckApiKey = Optional.empty(); - private Optional schema = Optional.empty(); + private Optional schema = Optional.empty(); private Builder() { // force use of static builder() method @@ -210,7 +208,7 @@ public Builder motherduckApiKey(String motherduckApiKey) { /** * API key to use for authentication to a MotherDuck database. */ - public Builder motherduckApiKey(Optional motherduckApiKey) { + public Builder motherduckApiKey(Optional motherduckApiKey) { Utils.checkNotNull(motherduckApiKey, "motherduckApiKey"); this.motherduckApiKey = motherduckApiKey; return this; @@ -228,7 +226,7 @@ public Builder schema(String schema) { /** * Database schema name, default for duckdb is 'main'. */ - public Builder schema(Optional schema) { + public Builder schema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java b/src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java index 7f371783e..caa44bdc3 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationDynamodb.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationDynamodb { /** @@ -35,7 +36,7 @@ public class DestinationDynamodb { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("dynamodb_endpoint") - private Optional dynamodbEndpoint; + private Optional dynamodbEndpoint; /** * The region of the DynamoDB. @@ -59,7 +60,7 @@ public class DestinationDynamodb { @JsonCreator public DestinationDynamodb( @JsonProperty("access_key_id") String accessKeyId, - @JsonProperty("dynamodb_endpoint") Optional dynamodbEndpoint, + @JsonProperty("dynamodb_endpoint") Optional dynamodbEndpoint, @JsonProperty("dynamodb_region") Optional dynamodbRegion, @JsonProperty("dynamodb_table_name_prefix") String dynamodbTableNamePrefix, @JsonProperty("secret_access_key") String secretAccessKey) { @@ -99,10 +100,9 @@ public Dynamodb destinationType() { /** * This is your DynamoDB endpoint url.(if you are working with AWS DynamoDB, just leave empty). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dynamodbEndpoint() { - return (Optional) dynamodbEndpoint; + return dynamodbEndpoint; } /** @@ -155,7 +155,7 @@ public DestinationDynamodb withDynamodbEndpoint(String dynamodbEndpoint) { /** * This is your DynamoDB endpoint url.(if you are working with AWS DynamoDB, just leave empty). */ - public DestinationDynamodb withDynamodbEndpoint(Optional dynamodbEndpoint) { + public DestinationDynamodb withDynamodbEndpoint(Optional dynamodbEndpoint) { Utils.checkNotNull(dynamodbEndpoint, "dynamodbEndpoint"); this.dynamodbEndpoint = dynamodbEndpoint; return this; @@ -207,17 +207,17 @@ public boolean equals(java.lang.Object o) { } DestinationDynamodb other = (DestinationDynamodb) o; return - java.util.Objects.deepEquals(this.accessKeyId, other.accessKeyId) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.dynamodbEndpoint, other.dynamodbEndpoint) && - java.util.Objects.deepEquals(this.dynamodbRegion, other.dynamodbRegion) && - java.util.Objects.deepEquals(this.dynamodbTableNamePrefix, other.dynamodbTableNamePrefix) && - java.util.Objects.deepEquals(this.secretAccessKey, other.secretAccessKey); + Objects.deepEquals(this.accessKeyId, other.accessKeyId) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.dynamodbEndpoint, other.dynamodbEndpoint) && + Objects.deepEquals(this.dynamodbRegion, other.dynamodbRegion) && + Objects.deepEquals(this.dynamodbTableNamePrefix, other.dynamodbTableNamePrefix) && + Objects.deepEquals(this.secretAccessKey, other.secretAccessKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKeyId, destinationType, dynamodbEndpoint, @@ -241,7 +241,7 @@ public final static class Builder { private String accessKeyId; - private Optional dynamodbEndpoint; + private Optional dynamodbEndpoint; private Optional dynamodbRegion; @@ -274,7 +274,7 @@ public Builder dynamodbEndpoint(String dynamodbEndpoint) { /** * This is your DynamoDB endpoint url.(if you are working with AWS DynamoDB, just leave empty). */ - public Builder dynamodbEndpoint(Optional dynamodbEndpoint) { + public Builder dynamodbEndpoint(Optional dynamodbEndpoint) { Utils.checkNotNull(dynamodbEndpoint, "dynamodbEndpoint"); this.dynamodbEndpoint = dynamodbEndpoint; return this; @@ -322,8 +322,7 @@ public DestinationDynamodb build() { } if (dynamodbRegion == null) { dynamodbRegion = _SINGLETON_VALUE_DynamodbRegion.value(); - } - return new DestinationDynamodb( + } return new DestinationDynamodb( accessKeyId, dynamodbEndpoint, dynamodbRegion, @@ -337,11 +336,11 @@ public DestinationDynamodb build() { "\"dynamodb\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DynamodbEndpoint = + private static final LazySingletonValue> _SINGLETON_VALUE_DynamodbEndpoint = new LazySingletonValue<>( "dynamodb_endpoint", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_DynamodbRegion = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java index 7a5ba11d7..24827a62a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearch.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationElasticsearch { /** @@ -33,7 +35,7 @@ public class DestinationElasticsearch { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ca_certificate") - private Optional caCertificate; + private Optional caCertificate; @JsonProperty("destinationType") private Elasticsearch destinationType; @@ -56,15 +58,15 @@ public class DestinationElasticsearch { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("upsert") - private Optional upsert; + private Optional upsert; @JsonCreator public DestinationElasticsearch( @JsonProperty("authenticationMethod") Optional authenticationMethod, - @JsonProperty("ca_certificate") Optional caCertificate, + @JsonProperty("ca_certificate") Optional caCertificate, @JsonProperty("endpoint") String endpoint, @JsonProperty("tunnel_method") Optional tunnelMethod, - @JsonProperty("upsert") Optional upsert) { + @JsonProperty("upsert") Optional upsert) { Utils.checkNotNull(authenticationMethod, "authenticationMethod"); Utils.checkNotNull(caCertificate, "caCertificate"); Utils.checkNotNull(endpoint, "endpoint"); @@ -95,10 +97,9 @@ public Optional authenticationMethod() { /** * CA certificate */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional caCertificate() { - return (Optional) caCertificate; + return caCertificate; } @JsonIgnore @@ -126,10 +127,9 @@ public Optional tunnelMethod() { /** * If a primary key identifier is defined in the source, an upsert will be performed using the primary key value as the elasticsearch doc id. Does not support composite primary keys. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional upsert() { - return (Optional) upsert; + return upsert; } public final static Builder builder() { @@ -166,7 +166,7 @@ public DestinationElasticsearch withCaCertificate(String caCertificate) { /** * CA certificate */ - public DestinationElasticsearch withCaCertificate(Optional caCertificate) { + public DestinationElasticsearch withCaCertificate(Optional caCertificate) { Utils.checkNotNull(caCertificate, "caCertificate"); this.caCertificate = caCertificate; return this; @@ -211,7 +211,7 @@ public DestinationElasticsearch withUpsert(boolean upsert) { /** * If a primary key identifier is defined in the source, an upsert will be performed using the primary key value as the elasticsearch doc id. Does not support composite primary keys. */ - public DestinationElasticsearch withUpsert(Optional upsert) { + public DestinationElasticsearch withUpsert(Optional upsert) { Utils.checkNotNull(upsert, "upsert"); this.upsert = upsert; return this; @@ -227,17 +227,17 @@ public boolean equals(java.lang.Object o) { } DestinationElasticsearch other = (DestinationElasticsearch) o; return - java.util.Objects.deepEquals(this.authenticationMethod, other.authenticationMethod) && - java.util.Objects.deepEquals(this.caCertificate, other.caCertificate) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.endpoint, other.endpoint) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.upsert, other.upsert); + Objects.deepEquals(this.authenticationMethod, other.authenticationMethod) && + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.endpoint, other.endpoint) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.upsert, other.upsert); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authenticationMethod, caCertificate, destinationType, @@ -261,13 +261,13 @@ public final static class Builder { private Optional authenticationMethod = Optional.empty(); - private Optional caCertificate = Optional.empty(); + private Optional caCertificate = Optional.empty(); private String endpoint; private Optional tunnelMethod = Optional.empty(); - private Optional upsert; + private Optional upsert; private Builder() { // force use of static builder() method @@ -303,7 +303,7 @@ public Builder caCertificate(String caCertificate) { /** * CA certificate */ - public Builder caCertificate(Optional caCertificate) { + public Builder caCertificate(Optional caCertificate) { Utils.checkNotNull(caCertificate, "caCertificate"); this.caCertificate = caCertificate; return this; @@ -348,7 +348,7 @@ public Builder upsert(boolean upsert) { /** * If a primary key identifier is defined in the source, an upsert will be performed using the primary key value as the elasticsearch doc id. Does not support composite primary keys. */ - public Builder upsert(Optional upsert) { + public Builder upsert(Optional upsert) { Utils.checkNotNull(upsert, "upsert"); this.upsert = upsert; return this; @@ -357,8 +357,7 @@ public Builder upsert(Optional upsert) { public DestinationElasticsearch build() { if (upsert == null) { upsert = _SINGLETON_VALUE_Upsert.value(); - } - return new DestinationElasticsearch( + } return new DestinationElasticsearch( authenticationMethod, caCertificate, endpoint, @@ -372,11 +371,11 @@ public DestinationElasticsearch build() { "\"elasticsearch\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Upsert = + private static final LazySingletonValue> _SINGLETON_VALUE_Upsert = new LazySingletonValue<>( "upsert", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchMethod.java index 23e31d4e5..e6588bd91 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationElasticsearchMethod { NONE("none"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchNoTunnel.java index bd88e49e9..061746793 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationElasticsearchNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationElasticsearchNoTunnel other = (DestinationElasticsearchNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchPasswordAuthentication.java index 08d7b7805..50a135ad8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationElasticsearchPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class DestinationElasticsearchPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class DestinationElasticsearchPasswordAuthentication { @JsonCreator public DestinationElasticsearchPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationElasticsearchSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public DestinationElasticsearchPasswordAuthentication withTunnelPort(long tunnel /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationElasticsearchPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationElasticsearchPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationElasticsearchPasswordAuthentication other = (DestinationElasticsearchPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public DestinationElasticsearchPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationElasticsearchPasswordAuthentication( + } return new DestinationElasticsearchPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public DestinationElasticsearchPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHKeyAuthentication.java index d936ac3a6..f08573f51 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationElasticsearchSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class DestinationElasticsearchSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class DestinationElasticsearchSSHKeyAuthentication { public DestinationElasticsearchSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationElasticsearchSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public DestinationElasticsearchSSHKeyAuthentication withTunnelPort(long tunnelPo /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationElasticsearchSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationElasticsearchSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationElasticsearchSSHKeyAuthentication other = (DestinationElasticsearchSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public DestinationElasticsearchSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationElasticsearchSSHKeyAuthentication( + } return new DestinationElasticsearchSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public DestinationElasticsearchSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHTunnelMethod.java index 1f6910466..f6098b59c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationElasticsearchSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationElasticsearchSSHTunnelMethod._Deserializer.class) public class DestinationElasticsearchSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationElasticsearchSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationElasticsearchSSHTunnelMethod of(DestinationElasticsearc /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationElasticsearchNoTunnel}
    • - *
    • {@code DestinationElasticsearchSSHKeyAuthentication}
    • - *
    • {@code DestinationElasticsearchPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationElasticsearchNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationElasticsearchSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationElasticsearchPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationElasticsearchSSHTunnelMethod other = (DestinationElasticsearchSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationElasticsearchSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationElasticsearchSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.java index 7951f45fe..8ebb14d78 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasAuthenticationMethodMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationElasticsearchSchemasAuthenticationMethodMethod { BASIC("basic"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasMethod.java index 5f9e81020..71bad3082 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationElasticsearchSchemasMethod { SECRET("secret"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethod.java index 47ed0207d..495c74faf 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationElasticsearchSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.java index a6a75adb1..415703b48 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationElasticsearchSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchTunnelMethod.java index 64750996b..e4b0f76e3 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationElasticsearchTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationElasticsearchTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java b/src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java index f0440eb9b..2e4322767 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationFirebolt.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationFirebolt { /** @@ -59,7 +60,7 @@ public class DestinationFirebolt { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("host") - private Optional host; + private Optional host; /** * Loading method used to select the way data will be uploaded to Firebolt @@ -75,7 +76,7 @@ public DestinationFirebolt( @JsonProperty("client_secret") String clientSecret, @JsonProperty("database") String database, @JsonProperty("engine") String engine, - @JsonProperty("host") Optional host, + @JsonProperty("host") Optional host, @JsonProperty("loading_method") Optional loadingMethod) { Utils.checkNotNull(account, "account"); Utils.checkNotNull(clientId, "clientId"); @@ -151,10 +152,9 @@ public String engine() { /** * The host name of your Firebolt database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional host() { - return (Optional) host; + return host; } /** @@ -227,7 +227,7 @@ public DestinationFirebolt withHost(String host) { /** * The host name of your Firebolt database. */ - public DestinationFirebolt withHost(Optional host) { + public DestinationFirebolt withHost(Optional host) { Utils.checkNotNull(host, "host"); this.host = host; return this; @@ -261,19 +261,19 @@ public boolean equals(java.lang.Object o) { } DestinationFirebolt other = (DestinationFirebolt) o; return - java.util.Objects.deepEquals(this.account, other.account) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.engine, other.engine) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.loadingMethod, other.loadingMethod); + Objects.deepEquals(this.account, other.account) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.engine, other.engine) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.loadingMethod, other.loadingMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( account, clientId, clientSecret, @@ -309,7 +309,7 @@ public final static class Builder { private String engine; - private Optional host = Optional.empty(); + private Optional host = Optional.empty(); private Optional loadingMethod = Optional.empty(); @@ -374,7 +374,7 @@ public Builder host(String host) { /** * The host name of your Firebolt database. */ - public Builder host(Optional host) { + public Builder host(Optional host) { Utils.checkNotNull(host, "host"); this.host = host; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethod.java index ed786a066..a80ffb1f8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationFireboltLoadingMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationFireboltLoadingMethod - Loading method used to select the way data will be uploaded to Firebolt @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationFireboltLoadingMethod._Deserializer.class) public class DestinationFireboltLoadingMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationFireboltLoadingMethod(TypedObject value) { @@ -48,8 +45,8 @@ public static DestinationFireboltLoadingMethod of(ExternalTableViaS3 value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SQLInserts}
    • - *
    • {@code ExternalTableViaS3}
    • + *
    • {@code com.airbyte.api.models.shared.SQLInserts}
    • + *
    • {@code com.airbyte.api.models.shared.ExternalTableViaS3}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } DestinationFireboltLoadingMethod other = (DestinationFireboltLoadingMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationFireboltLoadingMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationFireboltLoadingMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationFireboltMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationFireboltMethod.java index bd7694bc1..5ea7c95f9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationFireboltMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationFireboltMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationFireboltMethod { SQL("SQL"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationFireboltSchemasMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationFireboltSchemasMethod.java index 14506c67e..bbaeac276 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationFireboltSchemasMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationFireboltSchemasMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationFireboltSchemasMethod { S3("S3"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java b/src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java index b46ef87e6..af9a449b2 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationFirestore.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationFirestore { /** @@ -26,7 +26,7 @@ public class DestinationFirestore { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("credentials_json") - private Optional credentialsJson; + private Optional credentialsJson; @JsonProperty("destinationType") private Firestore destinationType; @@ -39,7 +39,7 @@ public class DestinationFirestore { @JsonCreator public DestinationFirestore( - @JsonProperty("credentials_json") Optional credentialsJson, + @JsonProperty("credentials_json") Optional credentialsJson, @JsonProperty("project_id") String projectId) { Utils.checkNotNull(credentialsJson, "credentialsJson"); Utils.checkNotNull(projectId, "projectId"); @@ -56,10 +56,9 @@ public DestinationFirestore( /** * The contents of the JSON service account key. Check out the <a href="https://docs.airbyte.com/integrations/destinations/firestore">docs</a> if you need help generating this key. Default credentials will be used if this field is left empty. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional credentialsJson() { - return (Optional) credentialsJson; + return credentialsJson; } @JsonIgnore @@ -91,7 +90,7 @@ public DestinationFirestore withCredentialsJson(String credentialsJson) { /** * The contents of the JSON service account key. Check out the <a href="https://docs.airbyte.com/integrations/destinations/firestore">docs</a> if you need help generating this key. Default credentials will be used if this field is left empty. */ - public DestinationFirestore withCredentialsJson(Optional credentialsJson) { + public DestinationFirestore withCredentialsJson(Optional credentialsJson) { Utils.checkNotNull(credentialsJson, "credentialsJson"); this.credentialsJson = credentialsJson; return this; @@ -116,14 +115,14 @@ public boolean equals(java.lang.Object o) { } DestinationFirestore other = (DestinationFirestore) o; return - java.util.Objects.deepEquals(this.credentialsJson, other.credentialsJson) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.projectId, other.projectId); + Objects.deepEquals(this.credentialsJson, other.credentialsJson) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.projectId, other.projectId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentialsJson, destinationType, projectId); @@ -139,7 +138,7 @@ public String toString() { public final static class Builder { - private Optional credentialsJson = Optional.empty(); + private Optional credentialsJson = Optional.empty(); private String projectId; @@ -159,7 +158,7 @@ public Builder credentialsJson(String credentialsJson) { /** * The contents of the JSON service account key. Check out the <a href="https://docs.airbyte.com/integrations/destinations/firestore">docs</a> if you need help generating this key. Default credentials will be used if this field is left empty. */ - public Builder credentialsJson(Optional credentialsJson) { + public Builder credentialsJson(Optional credentialsJson) { Utils.checkNotNull(credentialsJson, "credentialsJson"); this.credentialsJson = credentialsJson; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java index 809740c68..cd094730c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcs.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationGcs { /** @@ -28,7 +29,7 @@ public class DestinationGcs { private DestinationGcsAuthentication credential; @JsonProperty("destinationType") - private Gcs destinationType; + private DestinationGcsGcs destinationType; /** * Output data format. One of the following formats must be selected - <a href="https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-avro#advantages_of_avro">AVRO</a> format, <a href="https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-parquet#parquet_schemas">PARQUET</a> format, <a href="https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-csv#loading_csv_data_into_a_table">CSV</a> format, or <a href="https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-json#loading_json_data_into_a_new_table">JSONL</a> format. @@ -92,7 +93,7 @@ public DestinationGcsAuthentication credential() { } @JsonIgnore - public Gcs destinationType() { + public DestinationGcsGcs destinationType() { return destinationType; } @@ -197,17 +198,17 @@ public boolean equals(java.lang.Object o) { } DestinationGcs other = (DestinationGcs) o; return - java.util.Objects.deepEquals(this.credential, other.credential) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.gcsBucketName, other.gcsBucketName) && - java.util.Objects.deepEquals(this.gcsBucketPath, other.gcsBucketPath) && - java.util.Objects.deepEquals(this.gcsBucketRegion, other.gcsBucketRegion); + Objects.deepEquals(this.credential, other.credential) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.gcsBucketName, other.gcsBucketName) && + Objects.deepEquals(this.gcsBucketPath, other.gcsBucketPath) && + Objects.deepEquals(this.gcsBucketRegion, other.gcsBucketRegion); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credential, destinationType, format, @@ -300,8 +301,7 @@ public Builder gcsBucketRegion(Optional gcsBucketRegi public DestinationGcs build() { if (gcsBucketRegion == null) { gcsBucketRegion = _SINGLETON_VALUE_GcsBucketRegion.value(); - } - return new DestinationGcs( + } return new DestinationGcs( credential, format, gcsBucketName, @@ -309,11 +309,11 @@ public DestinationGcs build() { gcsBucketRegion); } - private static final LazySingletonValue _SINGLETON_VALUE_DestinationType = + private static final LazySingletonValue _SINGLETON_VALUE_DestinationType = new LazySingletonValue<>( "destinationType", "\"gcs\"", - new TypeReference() {}); + new TypeReference() {}); private static final LazySingletonValue> _SINGLETON_VALUE_GcsBucketRegion = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsAuthentication.java index 30cfca718..3f6ee73e3 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationGcsAuthentication - An HMAC key is a type of credential and can be associated with a service account or a user account in Cloud Storage. Read more <a href="https://cloud.google.com/storage/docs/authentication/hmackeys">here</a>. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationGcsAuthentication._Deserializer.class) public class DestinationGcsAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationGcsAuthentication(TypedObject value) { @@ -43,7 +40,7 @@ public static DestinationGcsAuthentication of(HMACKey value) { /** * Returns an instance of one of these types: *

      - *
    • {@code HMACKey}
    • + *
    • {@code com.airbyte.api.models.shared.HMACKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -70,20 +67,20 @@ public boolean equals(java.lang.Object o) { return false; } DestinationGcsAuthentication other = (DestinationGcsAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationGcsAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationGcsAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCSVCommaSeparatedValues.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCSVCommaSeparatedValues.java index c617dcb69..0276024ca 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCSVCommaSeparatedValues.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCSVCommaSeparatedValues.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationGcsCSVCommaSeparatedValues { /** @@ -142,14 +143,14 @@ public boolean equals(java.lang.Object o) { } DestinationGcsCSVCommaSeparatedValues other = (DestinationGcsCSVCommaSeparatedValues) o; return - java.util.Objects.deepEquals(this.compression, other.compression) && - java.util.Objects.deepEquals(this.flattening, other.flattening) && - java.util.Objects.deepEquals(this.formatType, other.formatType); + Objects.deepEquals(this.compression, other.compression) && + Objects.deepEquals(this.flattening, other.flattening) && + Objects.deepEquals(this.formatType, other.formatType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compression, flattening, formatType); @@ -229,8 +230,7 @@ public DestinationGcsCSVCommaSeparatedValues build() { } if (formatType == null) { formatType = _SINGLETON_VALUE_FormatType.value(); - } - return new DestinationGcsCSVCommaSeparatedValues( + } return new DestinationGcsCSVCommaSeparatedValues( compression, flattening, formatType); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCodec.java index 8c20d776f..e29b200ed 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsCodec { DEFLATE("Deflate"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompression.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompression.java index 275470b4b..e02e66c32 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompression.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompression.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationGcsCompression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationGcsCompression._Deserializer.class) public class DestinationGcsCompression { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationGcsCompression(TypedObject value) { @@ -48,8 +45,8 @@ public static DestinationGcsCompression of(DestinationGcsGZIP value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationGcsSchemasNoCompression}
    • - *
    • {@code DestinationGcsGZIP}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationGcsSchemasNoCompression}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationGcsGZIP}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } DestinationGcsCompression other = (DestinationGcsCompression) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationGcsCompression.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationGcsCompression.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionCodec.java index 9a143cbcf..ce2e9949b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationGcsCompressionCodec - The compression algorithm used to compress data pages. diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionType.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionType.java index 5084ffe00..4268e61c3 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsCompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsCompressionType { GZIP("GZIP"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatType.java index 898a23ab2..81e55f0ec 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsFormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsFormatType { AVRO("Avro"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsGZIP.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsGZIP.java index d5f34caaf..3e03dcce8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsGZIP.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsGZIP.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationGcsGZIP { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } DestinationGcsGZIP other = (DestinationGcsGZIP) o; return - java.util.Objects.deepEquals(this.compressionType, other.compressionType); + Objects.deepEquals(this.compressionType, other.compressionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionType); } @@ -106,8 +107,7 @@ public Builder compressionType(Optional compressionTy public DestinationGcsNoCompression build() { if (compressionType == null) { compressionType = _SINGLETON_VALUE_CompressionType.value(); - } - return new DestinationGcsNoCompression( + } return new DestinationGcsNoCompression( compressionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsOutputFormat.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsOutputFormat.java index a0435893a..eefd1028f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsOutputFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsOutputFormat.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationGcsOutputFormat - Output data format. One of the following formats must be selected - <a href="https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-avro#advantages_of_avro">AVRO</a> format, <a href="https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-parquet#parquet_schemas">PARQUET</a> format, <a href="https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-csv#loading_csv_data_into_a_table">CSV</a> format, or <a href="https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-json#loading_json_data_into_a_new_table">JSONL</a> format. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationGcsOutputFormat._Deserializer.class) public class DestinationGcsOutputFormat { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationGcsOutputFormat(TypedObject value) { @@ -58,10 +55,10 @@ public static DestinationGcsOutputFormat of(DestinationGcsParquetColumnarStorage /** * Returns an instance of one of these types: *

      - *
    • {@code AvroApacheAvro}
    • - *
    • {@code DestinationGcsCSVCommaSeparatedValues}
    • - *
    • {@code DestinationGcsJSONLinesNewlineDelimitedJSON}
    • - *
    • {@code DestinationGcsParquetColumnarStorage}
    • + *
    • {@code com.airbyte.api.models.shared.AvroApacheAvro}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationGcsCSVCommaSeparatedValues}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationGcsJSONLinesNewlineDelimitedJSON}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationGcsParquetColumnarStorage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -88,23 +85,23 @@ public boolean equals(java.lang.Object o) { return false; } DestinationGcsOutputFormat other = (DestinationGcsOutputFormat) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationGcsOutputFormat.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationGcsOutputFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsParquetColumnarStorage.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsParquetColumnarStorage.java index 7e401da47..b78f442be 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsParquetColumnarStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsParquetColumnarStorage.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationGcsParquetColumnarStorage { /** @@ -26,7 +29,7 @@ public class DestinationGcsParquetColumnarStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("block_size_mb") - private Optional blockSizeMb; + private Optional blockSizeMb; /** * The compression algorithm used to compress data pages. @@ -40,14 +43,14 @@ public class DestinationGcsParquetColumnarStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("dictionary_encoding") - private Optional dictionaryEncoding; + private Optional dictionaryEncoding; /** * There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("dictionary_page_size_kb") - private Optional dictionaryPageSizeKb; + private Optional dictionaryPageSizeKb; @JsonInclude(Include.NON_ABSENT) @JsonProperty("format_type") @@ -58,24 +61,24 @@ public class DestinationGcsParquetColumnarStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("max_padding_size_mb") - private Optional maxPaddingSizeMb; + private Optional maxPaddingSizeMb; /** * The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("page_size_kb") - private Optional pageSizeKb; + private Optional pageSizeKb; @JsonCreator public DestinationGcsParquetColumnarStorage( - @JsonProperty("block_size_mb") Optional blockSizeMb, + @JsonProperty("block_size_mb") Optional blockSizeMb, @JsonProperty("compression_codec") Optional compressionCodec, - @JsonProperty("dictionary_encoding") Optional dictionaryEncoding, - @JsonProperty("dictionary_page_size_kb") Optional dictionaryPageSizeKb, + @JsonProperty("dictionary_encoding") Optional dictionaryEncoding, + @JsonProperty("dictionary_page_size_kb") Optional dictionaryPageSizeKb, @JsonProperty("format_type") Optional formatType, - @JsonProperty("max_padding_size_mb") Optional maxPaddingSizeMb, - @JsonProperty("page_size_kb") Optional pageSizeKb) { + @JsonProperty("max_padding_size_mb") Optional maxPaddingSizeMb, + @JsonProperty("page_size_kb") Optional pageSizeKb) { Utils.checkNotNull(blockSizeMb, "blockSizeMb"); Utils.checkNotNull(compressionCodec, "compressionCodec"); Utils.checkNotNull(dictionaryEncoding, "dictionaryEncoding"); @@ -99,10 +102,9 @@ public DestinationGcsParquetColumnarStorage() { /** * This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional blockSizeMb() { - return (Optional) blockSizeMb; + return blockSizeMb; } /** @@ -117,19 +119,17 @@ public Optional compressionCodec() { /** * Default: true. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dictionaryEncoding() { - return (Optional) dictionaryEncoding; + return dictionaryEncoding; } /** * There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dictionaryPageSizeKb() { - return (Optional) dictionaryPageSizeKb; + return dictionaryPageSizeKb; } @SuppressWarnings("unchecked") @@ -141,19 +141,17 @@ public Optional formatType() /** * Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional maxPaddingSizeMb() { - return (Optional) maxPaddingSizeMb; + return maxPaddingSizeMb; } /** * The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional pageSizeKb() { - return (Optional) pageSizeKb; + return pageSizeKb; } public final static Builder builder() { @@ -172,7 +170,7 @@ public DestinationGcsParquetColumnarStorage withBlockSizeMb(long blockSizeMb) { /** * This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. */ - public DestinationGcsParquetColumnarStorage withBlockSizeMb(Optional blockSizeMb) { + public DestinationGcsParquetColumnarStorage withBlockSizeMb(Optional blockSizeMb) { Utils.checkNotNull(blockSizeMb, "blockSizeMb"); this.blockSizeMb = blockSizeMb; return this; @@ -208,7 +206,7 @@ public DestinationGcsParquetColumnarStorage withDictionaryEncoding(boolean dicti /** * Default: true. */ - public DestinationGcsParquetColumnarStorage withDictionaryEncoding(Optional dictionaryEncoding) { + public DestinationGcsParquetColumnarStorage withDictionaryEncoding(Optional dictionaryEncoding) { Utils.checkNotNull(dictionaryEncoding, "dictionaryEncoding"); this.dictionaryEncoding = dictionaryEncoding; return this; @@ -226,7 +224,7 @@ public DestinationGcsParquetColumnarStorage withDictionaryPageSizeKb(long dictio /** * There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. */ - public DestinationGcsParquetColumnarStorage withDictionaryPageSizeKb(Optional dictionaryPageSizeKb) { + public DestinationGcsParquetColumnarStorage withDictionaryPageSizeKb(Optional dictionaryPageSizeKb) { Utils.checkNotNull(dictionaryPageSizeKb, "dictionaryPageSizeKb"); this.dictionaryPageSizeKb = dictionaryPageSizeKb; return this; @@ -256,7 +254,7 @@ public DestinationGcsParquetColumnarStorage withMaxPaddingSizeMb(long maxPadding /** * Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. */ - public DestinationGcsParquetColumnarStorage withMaxPaddingSizeMb(Optional maxPaddingSizeMb) { + public DestinationGcsParquetColumnarStorage withMaxPaddingSizeMb(Optional maxPaddingSizeMb) { Utils.checkNotNull(maxPaddingSizeMb, "maxPaddingSizeMb"); this.maxPaddingSizeMb = maxPaddingSizeMb; return this; @@ -274,7 +272,7 @@ public DestinationGcsParquetColumnarStorage withPageSizeKb(long pageSizeKb) { /** * The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. */ - public DestinationGcsParquetColumnarStorage withPageSizeKb(Optional pageSizeKb) { + public DestinationGcsParquetColumnarStorage withPageSizeKb(Optional pageSizeKb) { Utils.checkNotNull(pageSizeKb, "pageSizeKb"); this.pageSizeKb = pageSizeKb; return this; @@ -290,18 +288,18 @@ public boolean equals(java.lang.Object o) { } DestinationGcsParquetColumnarStorage other = (DestinationGcsParquetColumnarStorage) o; return - java.util.Objects.deepEquals(this.blockSizeMb, other.blockSizeMb) && - java.util.Objects.deepEquals(this.compressionCodec, other.compressionCodec) && - java.util.Objects.deepEquals(this.dictionaryEncoding, other.dictionaryEncoding) && - java.util.Objects.deepEquals(this.dictionaryPageSizeKb, other.dictionaryPageSizeKb) && - java.util.Objects.deepEquals(this.formatType, other.formatType) && - java.util.Objects.deepEquals(this.maxPaddingSizeMb, other.maxPaddingSizeMb) && - java.util.Objects.deepEquals(this.pageSizeKb, other.pageSizeKb); + Objects.deepEquals(this.blockSizeMb, other.blockSizeMb) && + Objects.deepEquals(this.compressionCodec, other.compressionCodec) && + Objects.deepEquals(this.dictionaryEncoding, other.dictionaryEncoding) && + Objects.deepEquals(this.dictionaryPageSizeKb, other.dictionaryPageSizeKb) && + Objects.deepEquals(this.formatType, other.formatType) && + Objects.deepEquals(this.maxPaddingSizeMb, other.maxPaddingSizeMb) && + Objects.deepEquals(this.pageSizeKb, other.pageSizeKb); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( blockSizeMb, compressionCodec, dictionaryEncoding, @@ -325,19 +323,19 @@ public String toString() { public final static class Builder { - private Optional blockSizeMb; + private Optional blockSizeMb; private Optional compressionCodec; - private Optional dictionaryEncoding; + private Optional dictionaryEncoding; - private Optional dictionaryPageSizeKb; + private Optional dictionaryPageSizeKb; private Optional formatType; - private Optional maxPaddingSizeMb; + private Optional maxPaddingSizeMb; - private Optional pageSizeKb; + private Optional pageSizeKb; private Builder() { // force use of static builder() method @@ -355,7 +353,7 @@ public Builder blockSizeMb(long blockSizeMb) { /** * This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. */ - public Builder blockSizeMb(Optional blockSizeMb) { + public Builder blockSizeMb(Optional blockSizeMb) { Utils.checkNotNull(blockSizeMb, "blockSizeMb"); this.blockSizeMb = blockSizeMb; return this; @@ -391,7 +389,7 @@ public Builder dictionaryEncoding(boolean dictionaryEncoding) { /** * Default: true. */ - public Builder dictionaryEncoding(Optional dictionaryEncoding) { + public Builder dictionaryEncoding(Optional dictionaryEncoding) { Utils.checkNotNull(dictionaryEncoding, "dictionaryEncoding"); this.dictionaryEncoding = dictionaryEncoding; return this; @@ -409,7 +407,7 @@ public Builder dictionaryPageSizeKb(long dictionaryPageSizeKb) { /** * There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. */ - public Builder dictionaryPageSizeKb(Optional dictionaryPageSizeKb) { + public Builder dictionaryPageSizeKb(Optional dictionaryPageSizeKb) { Utils.checkNotNull(dictionaryPageSizeKb, "dictionaryPageSizeKb"); this.dictionaryPageSizeKb = dictionaryPageSizeKb; return this; @@ -439,7 +437,7 @@ public Builder maxPaddingSizeMb(long maxPaddingSizeMb) { /** * Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. */ - public Builder maxPaddingSizeMb(Optional maxPaddingSizeMb) { + public Builder maxPaddingSizeMb(Optional maxPaddingSizeMb) { Utils.checkNotNull(maxPaddingSizeMb, "maxPaddingSizeMb"); this.maxPaddingSizeMb = maxPaddingSizeMb; return this; @@ -457,7 +455,7 @@ public Builder pageSizeKb(long pageSizeKb) { /** * The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. */ - public Builder pageSizeKb(Optional pageSizeKb) { + public Builder pageSizeKb(Optional pageSizeKb) { Utils.checkNotNull(pageSizeKb, "pageSizeKb"); this.pageSizeKb = pageSizeKb; return this; @@ -484,8 +482,7 @@ public DestinationGcsParquetColumnarStorage build() { } if (pageSizeKb == null) { pageSizeKb = _SINGLETON_VALUE_PageSizeKb.value(); - } - return new DestinationGcsParquetColumnarStorage( + } return new DestinationGcsParquetColumnarStorage( blockSizeMb, compressionCodec, dictionaryEncoding, @@ -495,11 +492,11 @@ public DestinationGcsParquetColumnarStorage build() { pageSizeKb); } - private static final LazySingletonValue> _SINGLETON_VALUE_BlockSizeMb = + private static final LazySingletonValue> _SINGLETON_VALUE_BlockSizeMb = new LazySingletonValue<>( "block_size_mb", "128", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_CompressionCodec = new LazySingletonValue<>( @@ -507,17 +504,17 @@ public DestinationGcsParquetColumnarStorage build() { "\"UNCOMPRESSED\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DictionaryEncoding = + private static final LazySingletonValue> _SINGLETON_VALUE_DictionaryEncoding = new LazySingletonValue<>( "dictionary_encoding", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DictionaryPageSizeKb = + private static final LazySingletonValue> _SINGLETON_VALUE_DictionaryPageSizeKb = new LazySingletonValue<>( "dictionary_page_size_kb", "1024", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_FormatType = new LazySingletonValue<>( @@ -525,17 +522,17 @@ public DestinationGcsParquetColumnarStorage build() { "\"Parquet\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_MaxPaddingSizeMb = + private static final LazySingletonValue> _SINGLETON_VALUE_MaxPaddingSizeMb = new LazySingletonValue<>( "max_padding_size_mb", "8", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_PageSizeKb = + private static final LazySingletonValue> _SINGLETON_VALUE_PageSizeKb = new LazySingletonValue<>( "page_size_kb", "1024", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCodec.java index f5e5668f6..d70a48640 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsSchemasCodec { BZIP2("bzip2"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCompressionType.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCompressionType.java index 0fcb5f8d4..6b74f19b0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasCompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsSchemasCompressionType { NO_COMPRESSION("No Compression"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCodec.java index 10c7a798c..7732ccc15 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsSchemasFormatCodec { XZ("xz"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCompressionType.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCompressionType.java index 54db7db31..1c0df7a08 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatCompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsSchemasFormatCompressionType { GZIP("GZIP"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatFormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatFormatType.java index ff03ee9a2..1e2a46a10 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatFormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatFormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsSchemasFormatFormatType { JSONL("JSONL"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormat1Codec.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormat1Codec.java index dbf6464dd..3b68fbc34 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormat1Codec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormat1Codec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsSchemasFormatOutputFormat1Codec { SNAPPY("snappy"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatCodec.java index fed4c120b..507818895 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsSchemasFormatOutputFormatCodec { ZSTANDARD("zstandard"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.java index 9cf03df0f..1db1c9694 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatOutputFormatFormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsSchemasFormatOutputFormatFormatType { PARQUET("Parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatType.java index 5d1af2a06..6c56f56c1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasFormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationGcsSchemasFormatType { CSV("CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasNoCompression.java b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasNoCompression.java index 10efda297..aa074d3f1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasNoCompression.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationGcsSchemasNoCompression.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationGcsSchemasNoCompression { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } DestinationGcsSchemasNoCompression other = (DestinationGcsSchemasNoCompression) o; return - java.util.Objects.deepEquals(this.compressionType, other.compressionType); + Objects.deepEquals(this.compressionType, other.compressionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionType); } @@ -106,8 +107,7 @@ public Builder compressionType(Optional _SINGLETON_VALUE_DestinationType = + new LazySingletonValue<>( + "destinationType", + "\"iceberg\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationIcebergCatalogType.java b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergCatalogType.java new file mode 100644 index 000000000..eec934563 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergCatalogType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationIcebergCatalogType { + HADOOP("Hadoop"); + + @JsonValue + private final String value; + + private DestinationIcebergCatalogType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3.java b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3.java new file mode 100644 index 000000000..dd86de0af --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3.java @@ -0,0 +1,459 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * DestinationIcebergS3 - S3 object storage + */ + +public class DestinationIcebergS3 { + + /** + * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. + */ + @JsonProperty("access_key_id") + private String accessKeyId; + + /** + * The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("s3_bucket_region") + private Optional s3BucketRegion; + + /** + * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("s3_endpoint") + private Optional s3Endpoint; + + /** + * Use path style access + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("s3_path_style_access") + private Optional s3PathStyleAccess; + + /** + * The Warehouse Uri for Iceberg + */ + @JsonProperty("s3_warehouse_uri") + private String s3WarehouseUri; + + /** + * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> + */ + @JsonProperty("secret_access_key") + private String secretAccessKey; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("storage_type") + private Optional storageType; + + @JsonCreator + public DestinationIcebergS3( + @JsonProperty("access_key_id") String accessKeyId, + @JsonProperty("s3_bucket_region") Optional s3BucketRegion, + @JsonProperty("s3_endpoint") Optional s3Endpoint, + @JsonProperty("s3_path_style_access") Optional s3PathStyleAccess, + @JsonProperty("s3_warehouse_uri") String s3WarehouseUri, + @JsonProperty("secret_access_key") String secretAccessKey, + @JsonProperty("storage_type") Optional storageType) { + Utils.checkNotNull(accessKeyId, "accessKeyId"); + Utils.checkNotNull(s3BucketRegion, "s3BucketRegion"); + Utils.checkNotNull(s3Endpoint, "s3Endpoint"); + Utils.checkNotNull(s3PathStyleAccess, "s3PathStyleAccess"); + Utils.checkNotNull(s3WarehouseUri, "s3WarehouseUri"); + Utils.checkNotNull(secretAccessKey, "secretAccessKey"); + Utils.checkNotNull(storageType, "storageType"); + this.accessKeyId = accessKeyId; + this.s3BucketRegion = s3BucketRegion; + this.s3Endpoint = s3Endpoint; + this.s3PathStyleAccess = s3PathStyleAccess; + this.s3WarehouseUri = s3WarehouseUri; + this.secretAccessKey = secretAccessKey; + this.storageType = storageType; + } + + public DestinationIcebergS3( + String accessKeyId, + String s3WarehouseUri, + String secretAccessKey) { + this(accessKeyId, Optional.empty(), Optional.empty(), Optional.empty(), s3WarehouseUri, secretAccessKey, Optional.empty()); + } + + /** + * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. + */ + @JsonIgnore + public String accessKeyId() { + return accessKeyId; + } + + /** + * The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional s3BucketRegion() { + return (Optional) s3BucketRegion; + } + + /** + * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> + */ + @JsonIgnore + public Optional s3Endpoint() { + return s3Endpoint; + } + + /** + * Use path style access + */ + @JsonIgnore + public Optional s3PathStyleAccess() { + return s3PathStyleAccess; + } + + /** + * The Warehouse Uri for Iceberg + */ + @JsonIgnore + public String s3WarehouseUri() { + return s3WarehouseUri; + } + + /** + * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> + */ + @JsonIgnore + public String secretAccessKey() { + return secretAccessKey; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional storageType() { + return (Optional) storageType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. + */ + public DestinationIcebergS3 withAccessKeyId(String accessKeyId) { + Utils.checkNotNull(accessKeyId, "accessKeyId"); + this.accessKeyId = accessKeyId; + return this; + } + + /** + * The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. + */ + public DestinationIcebergS3 withS3BucketRegion(DestinationIcebergS3BucketRegion s3BucketRegion) { + Utils.checkNotNull(s3BucketRegion, "s3BucketRegion"); + this.s3BucketRegion = Optional.ofNullable(s3BucketRegion); + return this; + } + + /** + * The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. + */ + public DestinationIcebergS3 withS3BucketRegion(Optional s3BucketRegion) { + Utils.checkNotNull(s3BucketRegion, "s3BucketRegion"); + this.s3BucketRegion = s3BucketRegion; + return this; + } + + /** + * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> + */ + public DestinationIcebergS3 withS3Endpoint(String s3Endpoint) { + Utils.checkNotNull(s3Endpoint, "s3Endpoint"); + this.s3Endpoint = Optional.ofNullable(s3Endpoint); + return this; + } + + /** + * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> + */ + public DestinationIcebergS3 withS3Endpoint(Optional s3Endpoint) { + Utils.checkNotNull(s3Endpoint, "s3Endpoint"); + this.s3Endpoint = s3Endpoint; + return this; + } + + /** + * Use path style access + */ + public DestinationIcebergS3 withS3PathStyleAccess(boolean s3PathStyleAccess) { + Utils.checkNotNull(s3PathStyleAccess, "s3PathStyleAccess"); + this.s3PathStyleAccess = Optional.ofNullable(s3PathStyleAccess); + return this; + } + + /** + * Use path style access + */ + public DestinationIcebergS3 withS3PathStyleAccess(Optional s3PathStyleAccess) { + Utils.checkNotNull(s3PathStyleAccess, "s3PathStyleAccess"); + this.s3PathStyleAccess = s3PathStyleAccess; + return this; + } + + /** + * The Warehouse Uri for Iceberg + */ + public DestinationIcebergS3 withS3WarehouseUri(String s3WarehouseUri) { + Utils.checkNotNull(s3WarehouseUri, "s3WarehouseUri"); + this.s3WarehouseUri = s3WarehouseUri; + return this; + } + + /** + * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> + */ + public DestinationIcebergS3 withSecretAccessKey(String secretAccessKey) { + Utils.checkNotNull(secretAccessKey, "secretAccessKey"); + this.secretAccessKey = secretAccessKey; + return this; + } + + public DestinationIcebergS3 withStorageType(StorageType storageType) { + Utils.checkNotNull(storageType, "storageType"); + this.storageType = Optional.ofNullable(storageType); + return this; + } + + public DestinationIcebergS3 withStorageType(Optional storageType) { + Utils.checkNotNull(storageType, "storageType"); + this.storageType = storageType; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DestinationIcebergS3 other = (DestinationIcebergS3) o; + return + Objects.deepEquals(this.accessKeyId, other.accessKeyId) && + Objects.deepEquals(this.s3BucketRegion, other.s3BucketRegion) && + Objects.deepEquals(this.s3Endpoint, other.s3Endpoint) && + Objects.deepEquals(this.s3PathStyleAccess, other.s3PathStyleAccess) && + Objects.deepEquals(this.s3WarehouseUri, other.s3WarehouseUri) && + Objects.deepEquals(this.secretAccessKey, other.secretAccessKey) && + Objects.deepEquals(this.storageType, other.storageType); + } + + @Override + public int hashCode() { + return Objects.hash( + accessKeyId, + s3BucketRegion, + s3Endpoint, + s3PathStyleAccess, + s3WarehouseUri, + secretAccessKey, + storageType); + } + + @Override + public String toString() { + return Utils.toString(DestinationIcebergS3.class, + "accessKeyId", accessKeyId, + "s3BucketRegion", s3BucketRegion, + "s3Endpoint", s3Endpoint, + "s3PathStyleAccess", s3PathStyleAccess, + "s3WarehouseUri", s3WarehouseUri, + "secretAccessKey", secretAccessKey, + "storageType", storageType); + } + + public final static class Builder { + + private String accessKeyId; + + private Optional s3BucketRegion; + + private Optional s3Endpoint; + + private Optional s3PathStyleAccess; + + private String s3WarehouseUri; + + private String secretAccessKey; + + private Optional storageType; + + private Builder() { + // force use of static builder() method + } + + /** + * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. + */ + public Builder accessKeyId(String accessKeyId) { + Utils.checkNotNull(accessKeyId, "accessKeyId"); + this.accessKeyId = accessKeyId; + return this; + } + + /** + * The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. + */ + public Builder s3BucketRegion(DestinationIcebergS3BucketRegion s3BucketRegion) { + Utils.checkNotNull(s3BucketRegion, "s3BucketRegion"); + this.s3BucketRegion = Optional.ofNullable(s3BucketRegion); + return this; + } + + /** + * The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. + */ + public Builder s3BucketRegion(Optional s3BucketRegion) { + Utils.checkNotNull(s3BucketRegion, "s3BucketRegion"); + this.s3BucketRegion = s3BucketRegion; + return this; + } + + /** + * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> + */ + public Builder s3Endpoint(String s3Endpoint) { + Utils.checkNotNull(s3Endpoint, "s3Endpoint"); + this.s3Endpoint = Optional.ofNullable(s3Endpoint); + return this; + } + + /** + * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> + */ + public Builder s3Endpoint(Optional s3Endpoint) { + Utils.checkNotNull(s3Endpoint, "s3Endpoint"); + this.s3Endpoint = s3Endpoint; + return this; + } + + /** + * Use path style access + */ + public Builder s3PathStyleAccess(boolean s3PathStyleAccess) { + Utils.checkNotNull(s3PathStyleAccess, "s3PathStyleAccess"); + this.s3PathStyleAccess = Optional.ofNullable(s3PathStyleAccess); + return this; + } + + /** + * Use path style access + */ + public Builder s3PathStyleAccess(Optional s3PathStyleAccess) { + Utils.checkNotNull(s3PathStyleAccess, "s3PathStyleAccess"); + this.s3PathStyleAccess = s3PathStyleAccess; + return this; + } + + /** + * The Warehouse Uri for Iceberg + */ + public Builder s3WarehouseUri(String s3WarehouseUri) { + Utils.checkNotNull(s3WarehouseUri, "s3WarehouseUri"); + this.s3WarehouseUri = s3WarehouseUri; + return this; + } + + /** + * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> + */ + public Builder secretAccessKey(String secretAccessKey) { + Utils.checkNotNull(secretAccessKey, "secretAccessKey"); + this.secretAccessKey = secretAccessKey; + return this; + } + + public Builder storageType(StorageType storageType) { + Utils.checkNotNull(storageType, "storageType"); + this.storageType = Optional.ofNullable(storageType); + return this; + } + + public Builder storageType(Optional storageType) { + Utils.checkNotNull(storageType, "storageType"); + this.storageType = storageType; + return this; + } + + public DestinationIcebergS3 build() { + if (s3BucketRegion == null) { + s3BucketRegion = _SINGLETON_VALUE_S3BucketRegion.value(); + } + if (s3Endpoint == null) { + s3Endpoint = _SINGLETON_VALUE_S3Endpoint.value(); + } + if (s3PathStyleAccess == null) { + s3PathStyleAccess = _SINGLETON_VALUE_S3PathStyleAccess.value(); + } + if (storageType == null) { + storageType = _SINGLETON_VALUE_StorageType.value(); + } return new DestinationIcebergS3( + accessKeyId, + s3BucketRegion, + s3Endpoint, + s3PathStyleAccess, + s3WarehouseUri, + secretAccessKey, + storageType); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_S3BucketRegion = + new LazySingletonValue<>( + "s3_bucket_region", + "\"\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_S3Endpoint = + new LazySingletonValue<>( + "s3_endpoint", + "\"\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_S3PathStyleAccess = + new LazySingletonValue<>( + "s3_path_style_access", + "true", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_StorageType = + new LazySingletonValue<>( + "storage_type", + "\"S3\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3BucketRegion.java b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3BucketRegion.java new file mode 100644 index 000000000..56ff31858 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergS3BucketRegion.java @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * DestinationIcebergS3BucketRegion - The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. + */ +public enum DestinationIcebergS3BucketRegion { + UNKNOWN(""), + AF_SOUTH1("af-south-1"), + AP_EAST1("ap-east-1"), + AP_NORTHEAST1("ap-northeast-1"), + AP_NORTHEAST2("ap-northeast-2"), + AP_NORTHEAST3("ap-northeast-3"), + AP_SOUTH1("ap-south-1"), + AP_SOUTH2("ap-south-2"), + AP_SOUTHEAST1("ap-southeast-1"), + AP_SOUTHEAST2("ap-southeast-2"), + AP_SOUTHEAST3("ap-southeast-3"), + AP_SOUTHEAST4("ap-southeast-4"), + CA_CENTRAL1("ca-central-1"), + CA_WEST1("ca-west-1"), + CN_NORTH1("cn-north-1"), + CN_NORTHWEST1("cn-northwest-1"), + EU_CENTRAL1("eu-central-1"), + EU_CENTRAL2("eu-central-2"), + EU_NORTH1("eu-north-1"), + EU_SOUTH1("eu-south-1"), + EU_SOUTH2("eu-south-2"), + EU_WEST1("eu-west-1"), + EU_WEST2("eu-west-2"), + EU_WEST3("eu-west-3"), + IL_CENTRAL1("il-central-1"), + ME_CENTRAL1("me-central-1"), + ME_SOUTH1("me-south-1"), + SA_EAST1("sa-east-1"), + US_EAST1("us-east-1"), + US_EAST2("us-east-2"), + US_GOV_EAST1("us-gov-east-1"), + US_GOV_WEST1("us-gov-west-1"), + US_WEST1("us-west-1"), + US_WEST2("us-west-2"); + + @JsonValue + private final String value; + + private DestinationIcebergS3BucketRegion(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.java b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.java new file mode 100644 index 000000000..e041b4d30 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigCatalogType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationIcebergSchemasCatalogConfigCatalogType { + REST("Rest"); + + @JsonValue + private final String value; + + private DestinationIcebergSchemasCatalogConfigCatalogType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.java b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.java new file mode 100644 index 000000000..398bb4ebc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType { + GLUE("Glue"); + + @JsonValue + private final String value; + + private DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogType.java b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogType.java new file mode 100644 index 000000000..d22362aca --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergSchemasCatalogType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationIcebergSchemasCatalogType { + JDBC("Jdbc"); + + @JsonValue + private final String value; + + private DestinationIcebergSchemasCatalogType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationIcebergStorageType.java b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergStorageType.java new file mode 100644 index 000000000..3be1d9c0e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationIcebergStorageType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationIcebergStorageType { + MANAGED("MANAGED"); + + @JsonValue + private final String value; + + private DestinationIcebergStorageType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvus.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvus.java index ca070d3ba..3abefed5a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvus.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvus.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvus - The configuration model for the Vector DB based destinations. This model is used to generate the UI for the destination configuration, * as well as to provide type safety for the configuration passed to the destination. @@ -53,7 +54,7 @@ public class DestinationMilvus { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("omit_raw_text") - private Optional omitRawText; + private Optional omitRawText; @JsonProperty("processing") private DestinationMilvusProcessingConfigModel processing; @@ -62,7 +63,7 @@ public class DestinationMilvus { public DestinationMilvus( @JsonProperty("embedding") DestinationMilvusEmbedding embedding, @JsonProperty("indexing") DestinationMilvusIndexing indexing, - @JsonProperty("omit_raw_text") Optional omitRawText, + @JsonProperty("omit_raw_text") Optional omitRawText, @JsonProperty("processing") DestinationMilvusProcessingConfigModel processing) { Utils.checkNotNull(embedding, "embedding"); Utils.checkNotNull(indexing, "indexing"); @@ -106,10 +107,9 @@ public DestinationMilvusIndexing indexing() { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional omitRawText() { - return (Optional) omitRawText; + return omitRawText; } @JsonIgnore @@ -151,7 +151,7 @@ public DestinationMilvus withOmitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public DestinationMilvus withOmitRawText(Optional omitRawText) { + public DestinationMilvus withOmitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationMilvus other = (DestinationMilvus) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.embedding, other.embedding) && - java.util.Objects.deepEquals(this.indexing, other.indexing) && - java.util.Objects.deepEquals(this.omitRawText, other.omitRawText) && - java.util.Objects.deepEquals(this.processing, other.processing); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.embedding, other.embedding) && + Objects.deepEquals(this.indexing, other.indexing) && + Objects.deepEquals(this.omitRawText, other.omitRawText) && + Objects.deepEquals(this.processing, other.processing); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, embedding, indexing, @@ -206,7 +206,7 @@ public final static class Builder { private DestinationMilvusIndexing indexing; - private Optional omitRawText; + private Optional omitRawText; private DestinationMilvusProcessingConfigModel processing; @@ -244,7 +244,7 @@ public Builder omitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public Builder omitRawText(Optional omitRawText) { + public Builder omitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -259,8 +259,7 @@ public Builder processing(DestinationMilvusProcessingConfigModel processing) { public DestinationMilvus build() { if (omitRawText == null) { omitRawText = _SINGLETON_VALUE_OmitRawText.value(); - } - return new DestinationMilvus( + } return new DestinationMilvus( embedding, indexing, omitRawText, @@ -273,11 +272,11 @@ public DestinationMilvus build() { "\"milvus\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = + private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = new LazySingletonValue<>( "omit_raw_text", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAPIToken.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAPIToken.java index f220629cd..dc45200be 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAPIToken.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAPIToken.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusAPIToken - Authenticate using an API token (suitable for Zilliz Cloud) */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusAPIToken other = (DestinationMilvusAPIToken) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.token, other.token); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.token, other.token); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, token); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAuthentication.java index 6fc417084..fb2f38243 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationMilvusAuthentication - Authentication method @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationMilvusAuthentication._Deserializer.class) public class DestinationMilvusAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationMilvusAuthentication(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationMilvusAuthentication of(NoAuth value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationMilvusAPIToken}
    • - *
    • {@code DestinationMilvusUsernamePassword}
    • - *
    • {@code NoAuth}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusAPIToken}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusUsernamePassword}
    • + *
    • {@code com.airbyte.api.models.shared.NoAuth}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationMilvusAuthentication other = (DestinationMilvusAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationMilvusAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationMilvusAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAzureOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAzureOpenAI.java index 64f191e31..9910aeddf 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAzureOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusAzureOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusAzureOpenAI - Use the Azure-hosted OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -131,15 +132,15 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusAzureOpenAI other = (DestinationMilvusAzureOpenAI) o; return - java.util.Objects.deepEquals(this.apiBase, other.apiBase) && - java.util.Objects.deepEquals(this.deployment, other.deployment) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.apiBase, other.apiBase) && + Objects.deepEquals(this.deployment, other.deployment) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiBase, deployment, mode, diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusByMarkdownHeader.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusByMarkdownHeader.java index 3ad6940b7..edd25fdd9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusByMarkdownHeader.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusByMarkdownHeader.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusByMarkdownHeader - Split the text by Markdown headers down to the specified header level. If the chunk size fits multiple sections, they will be combined into a single chunk. */ @@ -33,11 +35,11 @@ public class DestinationMilvusByMarkdownHeader { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("split_level") - private Optional splitLevel; + private Optional splitLevel; @JsonCreator public DestinationMilvusByMarkdownHeader( - @JsonProperty("split_level") Optional splitLevel) { + @JsonProperty("split_level") Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.mode = Builder._SINGLETON_VALUE_Mode.value(); this.splitLevel = splitLevel; @@ -56,10 +58,9 @@ public Optional mode() { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional splitLevel() { - return (Optional) splitLevel; + return splitLevel; } public final static Builder builder() { @@ -78,7 +79,7 @@ public DestinationMilvusByMarkdownHeader withSplitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public DestinationMilvusByMarkdownHeader withSplitLevel(Optional splitLevel) { + public DestinationMilvusByMarkdownHeader withSplitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -94,13 +95,13 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusByMarkdownHeader other = (DestinationMilvusByMarkdownHeader) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.splitLevel, other.splitLevel); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.splitLevel, other.splitLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, splitLevel); } @@ -114,7 +115,7 @@ public String toString() { public final static class Builder { - private Optional splitLevel; + private Optional splitLevel; private Builder() { // force use of static builder() method @@ -132,7 +133,7 @@ public Builder splitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public Builder splitLevel(Optional splitLevel) { + public Builder splitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -141,8 +142,7 @@ public Builder splitLevel(Optional splitLevel) { public DestinationMilvusByMarkdownHeader build() { if (splitLevel == null) { splitLevel = _SINGLETON_VALUE_SplitLevel.value(); - } - return new DestinationMilvusByMarkdownHeader( + } return new DestinationMilvusByMarkdownHeader( splitLevel); } @@ -152,11 +152,11 @@ public DestinationMilvusByMarkdownHeader build() { "\"markdown\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = new LazySingletonValue<>( "split_level", "1", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusByProgrammingLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusByProgrammingLanguage.java index d0693b345..f52d003cd 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusByProgrammingLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusByProgrammingLanguage.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusByProgrammingLanguage - Split the text by suitable delimiters based on the programming language. This is useful for splitting code into chunks. */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusByProgrammingLanguage other = (DestinationMilvusByProgrammingLanguage) o; return - java.util.Objects.deepEquals(this.language, other.language) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.language, other.language) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( language, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusBySeparator.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusBySeparator.java index 0823e83c6..0349441b4 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusBySeparator.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusBySeparator.java @@ -1,23 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusBySeparator - Split the text by the list of separators until the chunk size is reached, using the earlier mentioned separators where possible. This is useful for splitting text fields by paragraphs, sentences, words, etc. */ @@ -29,7 +32,7 @@ public class DestinationMilvusBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("keep_separator") - private Optional keepSeparator; + private Optional keepSeparator; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -40,12 +43,12 @@ public class DestinationMilvusBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("separators") - private Optional> separators; + private Optional> separators; @JsonCreator public DestinationMilvusBySeparator( - @JsonProperty("keep_separator") Optional keepSeparator, - @JsonProperty("separators") Optional> separators) { + @JsonProperty("keep_separator") Optional keepSeparator, + @JsonProperty("separators") Optional> separators) { Utils.checkNotNull(keepSeparator, "keepSeparator"); Utils.checkNotNull(separators, "separators"); this.keepSeparator = keepSeparator; @@ -60,10 +63,9 @@ public DestinationMilvusBySeparator() { /** * Whether to keep the separator in the resulting chunks */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional keepSeparator() { - return (Optional) keepSeparator; + return keepSeparator; } @SuppressWarnings("unchecked") @@ -77,8 +79,8 @@ public Optional mode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> separators() { - return (Optional>) separators; + public Optional> separators() { + return (Optional>) separators; } public final static Builder builder() { @@ -97,7 +99,7 @@ public DestinationMilvusBySeparator withKeepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public DestinationMilvusBySeparator withKeepSeparator(Optional keepSeparator) { + public DestinationMilvusBySeparator withKeepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -106,7 +108,7 @@ public DestinationMilvusBySeparator withKeepSeparator(Optional separators) { + public DestinationMilvusBySeparator withSeparators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -115,7 +117,7 @@ public DestinationMilvusBySeparator withSeparators(java.util.List separa /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public DestinationMilvusBySeparator withSeparators(Optional> separators) { + public DestinationMilvusBySeparator withSeparators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -131,14 +133,14 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusBySeparator other = (DestinationMilvusBySeparator) o; return - java.util.Objects.deepEquals(this.keepSeparator, other.keepSeparator) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.separators, other.separators); + Objects.deepEquals(this.keepSeparator, other.keepSeparator) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.separators, other.separators); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( keepSeparator, mode, separators); @@ -154,9 +156,9 @@ public String toString() { public final static class Builder { - private Optional keepSeparator; + private Optional keepSeparator; - private Optional> separators = Optional.empty(); + private Optional> separators = Optional.empty(); private Builder() { // force use of static builder() method @@ -174,7 +176,7 @@ public Builder keepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public Builder keepSeparator(Optional keepSeparator) { + public Builder keepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -183,7 +185,7 @@ public Builder keepSeparator(Optional keepSeparator) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(java.util.List separators) { + public Builder separators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -192,7 +194,7 @@ public Builder separators(java.util.List separators) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(Optional> separators) { + public Builder separators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -201,17 +203,16 @@ public Builder separators(Optional> separators) public DestinationMilvusBySeparator build() { if (keepSeparator == null) { keepSeparator = _SINGLETON_VALUE_KeepSeparator.value(); - } - return new DestinationMilvusBySeparator( + } return new DestinationMilvusBySeparator( keepSeparator, separators); } - private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = + private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = new LazySingletonValue<>( "keep_separator", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusCohere.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusCohere.java index 05558afb4..598aebabf 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusCohere.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusCohere.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusCohere - Use the Cohere API to embed text. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusCohere other = (DestinationMilvusCohere) o; return - java.util.Objects.deepEquals(this.cohereKey, other.cohereKey) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.cohereKey, other.cohereKey) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cohereKey, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusEmbedding.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusEmbedding.java index e3d2814f6..ad906ecec 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusEmbedding.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusEmbedding.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationMilvusEmbedding - Embedding configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationMilvusEmbedding._Deserializer.class) public class DestinationMilvusEmbedding { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationMilvusEmbedding(TypedObject value) { @@ -63,11 +60,11 @@ public static DestinationMilvusEmbedding of(DestinationMilvusOpenAICompatible va /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationMilvusOpenAI}
    • - *
    • {@code DestinationMilvusCohere}
    • - *
    • {@code DestinationMilvusFake}
    • - *
    • {@code DestinationMilvusAzureOpenAI}
    • - *
    • {@code DestinationMilvusOpenAICompatible}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusCohere}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusFake}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusAzureOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusOpenAICompatible}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +91,24 @@ public boolean equals(java.lang.Object o) { return false; } DestinationMilvusEmbedding other = (DestinationMilvusEmbedding) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationMilvusEmbedding.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationMilvusEmbedding.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusFake.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusFake.java index ea490407b..9a40827e5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusFake.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusFake.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusFake - Use a fake embedding made out of random vectors with 1536 embedding dimensions. This is useful for testing the data pipeline without incurring any costs. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusFake other = (DestinationMilvusFake) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusFieldNameMappingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusFieldNameMappingConfigModel.java index bcfd50e31..7d618f1ad 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusFieldNameMappingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusFieldNameMappingConfigModel.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationMilvusFieldNameMappingConfigModel { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusFieldNameMappingConfigModel other = (DestinationMilvusFieldNameMappingConfigModel) o; return - java.util.Objects.deepEquals(this.fromField, other.fromField) && - java.util.Objects.deepEquals(this.toField, other.toField); + Objects.deepEquals(this.fromField, other.fromField) && + Objects.deepEquals(this.toField, other.toField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fromField, toField); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusIndexing.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusIndexing.java index 60989dab3..9d2fbf702 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusIndexing.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusIndexing.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusIndexing - Indexing configuration */ @@ -41,7 +41,7 @@ public class DestinationMilvusIndexing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("db") - private Optional db; + private Optional db; /** * The public endpoint of the Milvus instance. @@ -54,23 +54,23 @@ public class DestinationMilvusIndexing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_field") - private Optional textField; + private Optional textField; /** * The field in the entity that contains the vector */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("vector_field") - private Optional vectorField; + private Optional vectorField; @JsonCreator public DestinationMilvusIndexing( @JsonProperty("auth") DestinationMilvusAuthentication auth, @JsonProperty("collection") String collection, - @JsonProperty("db") Optional db, + @JsonProperty("db") Optional db, @JsonProperty("host") String host, - @JsonProperty("text_field") Optional textField, - @JsonProperty("vector_field") Optional vectorField) { + @JsonProperty("text_field") Optional textField, + @JsonProperty("vector_field") Optional vectorField) { Utils.checkNotNull(auth, "auth"); Utils.checkNotNull(collection, "collection"); Utils.checkNotNull(db, "db"); @@ -111,10 +111,9 @@ public String collection() { /** * The database to connect to */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional db() { - return (Optional) db; + return db; } /** @@ -128,19 +127,17 @@ public String host() { /** * The field in the entity that contains the embedded text */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional textField() { - return (Optional) textField; + return textField; } /** * The field in the entity that contains the vector */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional vectorField() { - return (Optional) vectorField; + return vectorField; } public final static Builder builder() { @@ -177,7 +174,7 @@ public DestinationMilvusIndexing withDb(String db) { /** * The database to connect to */ - public DestinationMilvusIndexing withDb(Optional db) { + public DestinationMilvusIndexing withDb(Optional db) { Utils.checkNotNull(db, "db"); this.db = db; return this; @@ -204,7 +201,7 @@ public DestinationMilvusIndexing withTextField(String textField) { /** * The field in the entity that contains the embedded text */ - public DestinationMilvusIndexing withTextField(Optional textField) { + public DestinationMilvusIndexing withTextField(Optional textField) { Utils.checkNotNull(textField, "textField"); this.textField = textField; return this; @@ -222,7 +219,7 @@ public DestinationMilvusIndexing withVectorField(String vectorField) { /** * The field in the entity that contains the vector */ - public DestinationMilvusIndexing withVectorField(Optional vectorField) { + public DestinationMilvusIndexing withVectorField(Optional vectorField) { Utils.checkNotNull(vectorField, "vectorField"); this.vectorField = vectorField; return this; @@ -238,17 +235,17 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusIndexing other = (DestinationMilvusIndexing) o; return - java.util.Objects.deepEquals(this.auth, other.auth) && - java.util.Objects.deepEquals(this.collection, other.collection) && - java.util.Objects.deepEquals(this.db, other.db) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.textField, other.textField) && - java.util.Objects.deepEquals(this.vectorField, other.vectorField); + Objects.deepEquals(this.auth, other.auth) && + Objects.deepEquals(this.collection, other.collection) && + Objects.deepEquals(this.db, other.db) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.textField, other.textField) && + Objects.deepEquals(this.vectorField, other.vectorField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( auth, collection, db, @@ -274,13 +271,13 @@ public final static class Builder { private String collection; - private Optional db; + private Optional db; private String host; - private Optional textField; + private Optional textField; - private Optional vectorField; + private Optional vectorField; private Builder() { // force use of static builder() method @@ -316,7 +313,7 @@ public Builder db(String db) { /** * The database to connect to */ - public Builder db(Optional db) { + public Builder db(Optional db) { Utils.checkNotNull(db, "db"); this.db = db; return this; @@ -343,7 +340,7 @@ public Builder textField(String textField) { /** * The field in the entity that contains the embedded text */ - public Builder textField(Optional textField) { + public Builder textField(Optional textField) { Utils.checkNotNull(textField, "textField"); this.textField = textField; return this; @@ -361,7 +358,7 @@ public Builder vectorField(String vectorField) { /** * The field in the entity that contains the vector */ - public Builder vectorField(Optional vectorField) { + public Builder vectorField(Optional vectorField) { Utils.checkNotNull(vectorField, "vectorField"); this.vectorField = vectorField; return this; @@ -376,8 +373,7 @@ public DestinationMilvusIndexing build() { } if (vectorField == null) { vectorField = _SINGLETON_VALUE_VectorField.value(); - } - return new DestinationMilvusIndexing( + } return new DestinationMilvusIndexing( auth, collection, db, @@ -386,23 +382,23 @@ public DestinationMilvusIndexing build() { vectorField); } - private static final LazySingletonValue> _SINGLETON_VALUE_Db = + private static final LazySingletonValue> _SINGLETON_VALUE_Db = new LazySingletonValue<>( "db", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TextField = + private static final LazySingletonValue> _SINGLETON_VALUE_TextField = new LazySingletonValue<>( "text_field", "\"text\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_VectorField = + private static final LazySingletonValue> _SINGLETON_VALUE_VectorField = new LazySingletonValue<>( "vector_field", "\"vector\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusLanguage.java index b56199c46..87fde4b9e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusLanguage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMilvusLanguage - Split code in suitable places based on the programming language diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusMode.java index f9cecf80b..c0ad73ecb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusMode { OPENAI("openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAI.java index d15129a9b..9573d059b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusOpenAI - Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusOpenAI other = (DestinationMilvusOpenAI) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, openaiKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAICompatible.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAICompatible.java index 71d3b3363..ca033386f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAICompatible.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusOpenAICompatible.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusOpenAICompatible - Use a service that's compatible with the OpenAI API to embed text. */ @@ -26,7 +28,7 @@ public class DestinationMilvusOpenAICompatible { @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * The base URL for your OpenAI-compatible service @@ -49,14 +51,14 @@ public class DestinationMilvusOpenAICompatible { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("model_name") - private Optional modelName; + private Optional modelName; @JsonCreator public DestinationMilvusOpenAICompatible( - @JsonProperty("api_key") Optional apiKey, + @JsonProperty("api_key") Optional apiKey, @JsonProperty("base_url") String baseUrl, @JsonProperty("dimensions") long dimensions, - @JsonProperty("model_name") Optional modelName) { + @JsonProperty("model_name") Optional modelName) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(baseUrl, "baseUrl"); Utils.checkNotNull(dimensions, "dimensions"); @@ -74,10 +76,9 @@ public DestinationMilvusOpenAICompatible( this(Optional.empty(), baseUrl, dimensions, Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** @@ -105,10 +106,9 @@ public Optional mode() { /** * The name of the model to use for embedding */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional modelName() { - return (Optional) modelName; + return modelName; } public final static Builder builder() { @@ -121,7 +121,7 @@ public DestinationMilvusOpenAICompatible withApiKey(String apiKey) { return this; } - public DestinationMilvusOpenAICompatible withApiKey(Optional apiKey) { + public DestinationMilvusOpenAICompatible withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -157,7 +157,7 @@ public DestinationMilvusOpenAICompatible withModelName(String modelName) { /** * The name of the model to use for embedding */ - public DestinationMilvusOpenAICompatible withModelName(Optional modelName) { + public DestinationMilvusOpenAICompatible withModelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusOpenAICompatible other = (DestinationMilvusOpenAICompatible) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.modelName, other.modelName); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.modelName, other.modelName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, baseUrl, dimensions, @@ -202,13 +202,13 @@ public String toString() { public final static class Builder { - private Optional apiKey; + private Optional apiKey; private String baseUrl; private Long dimensions; - private Optional modelName; + private Optional modelName; private Builder() { // force use of static builder() method @@ -220,7 +220,7 @@ public Builder apiKey(String apiKey) { return this; } - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -256,7 +256,7 @@ public Builder modelName(String modelName) { /** * The name of the model to use for embedding */ - public Builder modelName(Optional modelName) { + public Builder modelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -268,19 +268,18 @@ public DestinationMilvusOpenAICompatible build() { } if (modelName == null) { modelName = _SINGLETON_VALUE_ModelName.value(); - } - return new DestinationMilvusOpenAICompatible( + } return new DestinationMilvusOpenAICompatible( apiKey, baseUrl, dimensions, modelName); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = new LazySingletonValue<>( "api_key", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( @@ -288,11 +287,11 @@ public DestinationMilvusOpenAICompatible build() { "\"openai_compatible\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = + private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = new LazySingletonValue<>( "model_name", "\"text-embedding-ada-002\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusProcessingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusProcessingConfigModel.java index 91cbe10e1..aecc3aa6c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusProcessingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusProcessingConfigModel.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class DestinationMilvusProcessingConfigModel { /** @@ -26,7 +29,7 @@ public class DestinationMilvusProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("chunk_overlap") - private Optional chunkOverlap; + private Optional chunkOverlap; /** * Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) @@ -39,21 +42,21 @@ public class DestinationMilvusProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("field_name_mappings") - private Optional> fieldNameMappings; + private Optional> fieldNameMappings; /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("metadata_fields") - private Optional> metadataFields; + private Optional> metadataFields; /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_fields") - private Optional> textFields; + private Optional> textFields; /** * Split text fields into chunks based on the specified method. @@ -64,11 +67,11 @@ public class DestinationMilvusProcessingConfigModel { @JsonCreator public DestinationMilvusProcessingConfigModel( - @JsonProperty("chunk_overlap") Optional chunkOverlap, + @JsonProperty("chunk_overlap") Optional chunkOverlap, @JsonProperty("chunk_size") long chunkSize, - @JsonProperty("field_name_mappings") Optional> fieldNameMappings, - @JsonProperty("metadata_fields") Optional> metadataFields, - @JsonProperty("text_fields") Optional> textFields, + @JsonProperty("field_name_mappings") Optional> fieldNameMappings, + @JsonProperty("metadata_fields") Optional> metadataFields, + @JsonProperty("text_fields") Optional> textFields, @JsonProperty("text_splitter") Optional textSplitter) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); Utils.checkNotNull(chunkSize, "chunkSize"); @@ -92,10 +95,9 @@ public DestinationMilvusProcessingConfigModel( /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional chunkOverlap() { - return (Optional) chunkOverlap; + return chunkOverlap; } /** @@ -111,8 +113,8 @@ public long chunkSize() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> fieldNameMappings() { - return (Optional>) fieldNameMappings; + public Optional> fieldNameMappings() { + return (Optional>) fieldNameMappings; } /** @@ -120,8 +122,8 @@ public Optional> fi */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> metadataFields() { - return (Optional>) metadataFields; + public Optional> metadataFields() { + return (Optional>) metadataFields; } /** @@ -129,8 +131,8 @@ public Optional> metadataFields() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> textFields() { - return (Optional>) textFields; + public Optional> textFields() { + return (Optional>) textFields; } /** @@ -158,7 +160,7 @@ public DestinationMilvusProcessingConfigModel withChunkOverlap(long chunkOverlap /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public DestinationMilvusProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { + public DestinationMilvusProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -176,7 +178,7 @@ public DestinationMilvusProcessingConfigModel withChunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationMilvusProcessingConfigModel withFieldNameMappings(java.util.List fieldNameMappings) { + public DestinationMilvusProcessingConfigModel withFieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -185,7 +187,7 @@ public DestinationMilvusProcessingConfigModel withFieldNameMappings(java.util.Li /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationMilvusProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { + public DestinationMilvusProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -194,7 +196,7 @@ public DestinationMilvusProcessingConfigModel withFieldNameMappings(Optional metadataFields) { + public DestinationMilvusProcessingConfigModel withMetadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -203,7 +205,7 @@ public DestinationMilvusProcessingConfigModel withMetadataFields(java.util.List< /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public DestinationMilvusProcessingConfigModel withMetadataFields(Optional> metadataFields) { + public DestinationMilvusProcessingConfigModel withMetadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -212,7 +214,7 @@ public DestinationMilvusProcessingConfigModel withMetadataFields(Optional textFields) { + public DestinationMilvusProcessingConfigModel withTextFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -221,7 +223,7 @@ public DestinationMilvusProcessingConfigModel withTextFields(java.util.List> textFields) { + public DestinationMilvusProcessingConfigModel withTextFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -255,17 +257,17 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusProcessingConfigModel other = (DestinationMilvusProcessingConfigModel) o; return - java.util.Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && - java.util.Objects.deepEquals(this.chunkSize, other.chunkSize) && - java.util.Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && - java.util.Objects.deepEquals(this.metadataFields, other.metadataFields) && - java.util.Objects.deepEquals(this.textFields, other.textFields) && - java.util.Objects.deepEquals(this.textSplitter, other.textSplitter); + Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && + Objects.deepEquals(this.chunkSize, other.chunkSize) && + Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && + Objects.deepEquals(this.metadataFields, other.metadataFields) && + Objects.deepEquals(this.textFields, other.textFields) && + Objects.deepEquals(this.textSplitter, other.textSplitter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( chunkOverlap, chunkSize, fieldNameMappings, @@ -287,15 +289,15 @@ public String toString() { public final static class Builder { - private Optional chunkOverlap; + private Optional chunkOverlap; private Long chunkSize; - private Optional> fieldNameMappings = Optional.empty(); + private Optional> fieldNameMappings = Optional.empty(); - private Optional> metadataFields = Optional.empty(); + private Optional> metadataFields = Optional.empty(); - private Optional> textFields = Optional.empty(); + private Optional> textFields = Optional.empty(); private Optional textSplitter = Optional.empty(); @@ -315,7 +317,7 @@ public Builder chunkOverlap(long chunkOverlap) { /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public Builder chunkOverlap(Optional chunkOverlap) { + public Builder chunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -333,7 +335,7 @@ public Builder chunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public Builder fieldNameMappings(java.util.List fieldNameMappings) { + public Builder fieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -342,7 +344,7 @@ public Builder fieldNameMappings(java.util.List> fieldNameMappings) { + public Builder fieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -351,7 +353,7 @@ public Builder fieldNameMappings(Optional metadataFields) { + public Builder metadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -360,7 +362,7 @@ public Builder metadataFields(java.util.List metadataFields) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public Builder metadataFields(Optional> metadataFields) { + public Builder metadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -369,7 +371,7 @@ public Builder metadataFields(Optional> metadat /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(java.util.List textFields) { + public Builder textFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -378,7 +380,7 @@ public Builder textFields(java.util.List textFields) { /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(Optional> textFields) { + public Builder textFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -405,8 +407,7 @@ public Builder textSplitter(Optional te public DestinationMilvusProcessingConfigModel build() { if (chunkOverlap == null) { chunkOverlap = _SINGLETON_VALUE_ChunkOverlap.value(); - } - return new DestinationMilvusProcessingConfigModel( + } return new DestinationMilvusProcessingConfigModel( chunkOverlap, chunkSize, fieldNameMappings, @@ -415,11 +416,11 @@ public DestinationMilvusProcessingConfigModel build() { textSplitter); } - private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = + private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = new LazySingletonValue<>( "chunk_overlap", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.java index 0a58a3d3b..6bbc8f31d 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbedding5Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasEmbeddingEmbedding5Mode { OPENAI_COMPATIBLE("openai_compatible"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.java index d4676e583..fc181884a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasEmbeddingEmbeddingMode { AZURE_OPENAI("azure_openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingMode.java index 663449c66..6ae4df792 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasEmbeddingMode { FAKE("fake"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthAuthenticationMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthAuthenticationMode.java index c47840043..61e1a497d 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthAuthenticationMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthAuthenticationMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasIndexingAuthAuthenticationMode { NO_AUTH("no_auth"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthMode.java index b5c498298..21d91d715 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingAuthMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasIndexingAuthMode { USERNAME_PASSWORD("username_password"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingMode.java index 45103f07d..3202b6c3f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasIndexingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasIndexingMode { TOKEN("token"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasMode.java index 94873b48f..26a25ace3 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasMode { COHERE("cohere"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingMode.java index 97cca8d58..2b60f6d5c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasProcessingMode { SEPARATOR("separator"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.java index 0ac5de69a..032544c2d 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasProcessingTextSplitterMode { MARKDOWN("markdown"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.java index 614adf165..924a3c795 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode { CODE("code"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusTextSplitter.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusTextSplitter.java index 0fc6a3642..4d5dcc9bd 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusTextSplitter.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusTextSplitter.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationMilvusTextSplitter - Split text fields into chunks based on the specified method. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationMilvusTextSplitter._Deserializer.class) public class DestinationMilvusTextSplitter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationMilvusTextSplitter(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationMilvusTextSplitter of(DestinationMilvusByProgrammingLan /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationMilvusBySeparator}
    • - *
    • {@code DestinationMilvusByMarkdownHeader}
    • - *
    • {@code DestinationMilvusByProgrammingLanguage}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusBySeparator}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusByMarkdownHeader}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMilvusByProgrammingLanguage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationMilvusTextSplitter other = (DestinationMilvusTextSplitter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationMilvusTextSplitter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationMilvusTextSplitter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusUsernamePassword.java b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusUsernamePassword.java index bddd36b47..e9201846f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMilvusUsernamePassword.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMilvusUsernamePassword.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationMilvusUsernamePassword - Authenticate using username and password (suitable for self-managed Milvus clusters) */ @@ -105,14 +106,14 @@ public boolean equals(java.lang.Object o) { } DestinationMilvusUsernamePassword other = (DestinationMilvusUsernamePassword) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, password, username); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java index 04fefe6ae..580d4c9d9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodb.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationMongodb { /** @@ -180,16 +181,16 @@ public boolean equals(java.lang.Object o) { } DestinationMongodb other = (DestinationMongodb) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.instanceType, other.instanceType) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.instanceType, other.instanceType) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, database, destinationType, diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthorization.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthorization.java index 25adf6fb7..4ae0c2629 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthorization.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbAuthorization.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMongodbAuthorization { LOGIN_PASSWORD("login/password"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstance.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstance.java index 7cf02ab38..f7cc388c1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstance.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbInstance.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMongodbInstance { REPLICA("replica"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbNoTunnel.java index 359c0dfa4..bcb398138 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationMongodbNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationMongodbNoTunnel other = (DestinationMongodbNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbNone.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbNone.java index 8d9e137ec..6f143f2f7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbNone.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbNone.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * DestinationMongodbNone - None. */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } DestinationMongodbNone other = (DestinationMongodbNone) o; return - java.util.Objects.deepEquals(this.authorization, other.authorization); + Objects.deepEquals(this.authorization, other.authorization); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authorization); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbPasswordAuthentication.java index 180a0c783..494a27c48 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationMongodbPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class DestinationMongodbPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class DestinationMongodbPasswordAuthentication { @JsonCreator public DestinationMongodbPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationMongodbSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public DestinationMongodbPasswordAuthentication withTunnelPort(long tunnelPort) /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationMongodbPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationMongodbPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationMongodbPasswordAuthentication other = (DestinationMongodbPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public DestinationMongodbPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationMongodbPasswordAuthentication( + } return new DestinationMongodbPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public DestinationMongodbPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHKeyAuthentication.java index 62206573e..5899b7170 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationMongodbSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class DestinationMongodbSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class DestinationMongodbSSHKeyAuthentication { public DestinationMongodbSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationMongodbSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public DestinationMongodbSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationMongodbSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationMongodbSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationMongodbSSHKeyAuthentication other = (DestinationMongodbSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public DestinationMongodbSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationMongodbSSHKeyAuthentication( + } return new DestinationMongodbSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public DestinationMongodbSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHTunnelMethod.java index 06f2fe1bb..fae7696e9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationMongodbSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationMongodbSSHTunnelMethod._Deserializer.class) public class DestinationMongodbSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationMongodbSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationMongodbSSHTunnelMethod of(DestinationMongodbPasswordAut /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationMongodbNoTunnel}
    • - *
    • {@code DestinationMongodbSSHKeyAuthentication}
    • - *
    • {@code DestinationMongodbPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMongodbNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMongodbSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMongodbPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationMongodbSSHTunnelMethod other = (DestinationMongodbSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationMongodbSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationMongodbSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasAuthorization.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasAuthorization.java index 119c41c06..771986d2b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasAuthorization.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasAuthorization.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMongodbSchemasAuthorization { NONE("none"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasInstance.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasInstance.java index 741849c9d..07174f619 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasInstance.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasInstance.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMongodbSchemasInstance { ATLAS("atlas"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethod.java index ecadb108e..3d698ebb0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMongodbSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.java index b42af01c8..26d40326f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMongodbSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethod.java index 358cc79c4..c4ba0728a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMongodbTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMongodbTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMotherduck.java b/src/main/java/com/airbyte/api/models/shared/DestinationMotherduck.java new file mode 100644 index 000000000..27a4fbba5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMotherduck.java @@ -0,0 +1,257 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class DestinationMotherduck { + + @JsonProperty("destinationType") + private Motherduck destinationType; + + /** + * Path to a .duckdb file or 'md:<DATABASE_NAME>' to connect to a MotherDuck database. If 'md:' is specified without a database name, the default MotherDuck database name ('my_db') will be used. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("destination_path") + private Optional destinationPath; + + /** + * API access token to use for authentication to a MotherDuck database. + */ + @JsonProperty("motherduck_api_key") + private String motherduckApiKey; + + /** + * Database schema name, defaults to 'main' if not specified. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schema") + private Optional schema; + + @JsonCreator + public DestinationMotherduck( + @JsonProperty("destination_path") Optional destinationPath, + @JsonProperty("motherduck_api_key") String motherduckApiKey, + @JsonProperty("schema") Optional schema) { + Utils.checkNotNull(destinationPath, "destinationPath"); + Utils.checkNotNull(motherduckApiKey, "motherduckApiKey"); + Utils.checkNotNull(schema, "schema"); + this.destinationType = Builder._SINGLETON_VALUE_DestinationType.value(); + this.destinationPath = destinationPath; + this.motherduckApiKey = motherduckApiKey; + this.schema = schema; + } + + public DestinationMotherduck( + String motherduckApiKey) { + this(Optional.empty(), motherduckApiKey, Optional.empty()); + } + + @JsonIgnore + public Motherduck destinationType() { + return destinationType; + } + + /** + * Path to a .duckdb file or 'md:<DATABASE_NAME>' to connect to a MotherDuck database. If 'md:' is specified without a database name, the default MotherDuck database name ('my_db') will be used. + */ + @JsonIgnore + public Optional destinationPath() { + return destinationPath; + } + + /** + * API access token to use for authentication to a MotherDuck database. + */ + @JsonIgnore + public String motherduckApiKey() { + return motherduckApiKey; + } + + /** + * Database schema name, defaults to 'main' if not specified. + */ + @JsonIgnore + public Optional schema() { + return schema; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Path to a .duckdb file or 'md:<DATABASE_NAME>' to connect to a MotherDuck database. If 'md:' is specified without a database name, the default MotherDuck database name ('my_db') will be used. + */ + public DestinationMotherduck withDestinationPath(String destinationPath) { + Utils.checkNotNull(destinationPath, "destinationPath"); + this.destinationPath = Optional.ofNullable(destinationPath); + return this; + } + + /** + * Path to a .duckdb file or 'md:<DATABASE_NAME>' to connect to a MotherDuck database. If 'md:' is specified without a database name, the default MotherDuck database name ('my_db') will be used. + */ + public DestinationMotherduck withDestinationPath(Optional destinationPath) { + Utils.checkNotNull(destinationPath, "destinationPath"); + this.destinationPath = destinationPath; + return this; + } + + /** + * API access token to use for authentication to a MotherDuck database. + */ + public DestinationMotherduck withMotherduckApiKey(String motherduckApiKey) { + Utils.checkNotNull(motherduckApiKey, "motherduckApiKey"); + this.motherduckApiKey = motherduckApiKey; + return this; + } + + /** + * Database schema name, defaults to 'main' if not specified. + */ + public DestinationMotherduck withSchema(String schema) { + Utils.checkNotNull(schema, "schema"); + this.schema = Optional.ofNullable(schema); + return this; + } + + /** + * Database schema name, defaults to 'main' if not specified. + */ + public DestinationMotherduck withSchema(Optional schema) { + Utils.checkNotNull(schema, "schema"); + this.schema = schema; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DestinationMotherduck other = (DestinationMotherduck) o; + return + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.destinationPath, other.destinationPath) && + Objects.deepEquals(this.motherduckApiKey, other.motherduckApiKey) && + Objects.deepEquals(this.schema, other.schema); + } + + @Override + public int hashCode() { + return Objects.hash( + destinationType, + destinationPath, + motherduckApiKey, + schema); + } + + @Override + public String toString() { + return Utils.toString(DestinationMotherduck.class, + "destinationType", destinationType, + "destinationPath", destinationPath, + "motherduckApiKey", motherduckApiKey, + "schema", schema); + } + + public final static class Builder { + + private Optional destinationPath; + + private String motherduckApiKey; + + private Optional schema = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * Path to a .duckdb file or 'md:<DATABASE_NAME>' to connect to a MotherDuck database. If 'md:' is specified without a database name, the default MotherDuck database name ('my_db') will be used. + */ + public Builder destinationPath(String destinationPath) { + Utils.checkNotNull(destinationPath, "destinationPath"); + this.destinationPath = Optional.ofNullable(destinationPath); + return this; + } + + /** + * Path to a .duckdb file or 'md:<DATABASE_NAME>' to connect to a MotherDuck database. If 'md:' is specified without a database name, the default MotherDuck database name ('my_db') will be used. + */ + public Builder destinationPath(Optional destinationPath) { + Utils.checkNotNull(destinationPath, "destinationPath"); + this.destinationPath = destinationPath; + return this; + } + + /** + * API access token to use for authentication to a MotherDuck database. + */ + public Builder motherduckApiKey(String motherduckApiKey) { + Utils.checkNotNull(motherduckApiKey, "motherduckApiKey"); + this.motherduckApiKey = motherduckApiKey; + return this; + } + + /** + * Database schema name, defaults to 'main' if not specified. + */ + public Builder schema(String schema) { + Utils.checkNotNull(schema, "schema"); + this.schema = Optional.ofNullable(schema); + return this; + } + + /** + * Database schema name, defaults to 'main' if not specified. + */ + public Builder schema(Optional schema) { + Utils.checkNotNull(schema, "schema"); + this.schema = schema; + return this; + } + + public DestinationMotherduck build() { + if (destinationPath == null) { + destinationPath = _SINGLETON_VALUE_DestinationPath.value(); + } return new DestinationMotherduck( + destinationPath, + motherduckApiKey, + schema); + } + + private static final LazySingletonValue _SINGLETON_VALUE_DestinationType = + new LazySingletonValue<>( + "destinationType", + "\"motherduck\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_DestinationPath = + new LazySingletonValue<>( + "destination_path", + "\"md:\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssql.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssql.java index c00a252f0..b2d548225 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssql.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssql.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationMssql { /** @@ -41,35 +43,35 @@ public class DestinationMssql { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * The password associated with this username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * The port of the MSSQL database. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * The schema to write raw tables into (default: airbyte_internal) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("raw_data_schema") - private Optional rawDataSchema; + private Optional rawDataSchema; /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schema") - private Optional schema; + private Optional schema; /** * The encryption method which is used to communicate with the database. @@ -95,11 +97,11 @@ public class DestinationMssql { public DestinationMssql( @JsonProperty("database") String database, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, - @JsonProperty("raw_data_schema") Optional rawDataSchema, - @JsonProperty("schema") Optional schema, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, + @JsonProperty("raw_data_schema") Optional rawDataSchema, + @JsonProperty("schema") Optional schema, @JsonProperty("ssl_method") Optional sslMethod, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { @@ -157,46 +159,41 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * The password associated with this username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * The port of the MSSQL database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * The schema to write raw tables into (default: airbyte_internal) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional rawDataSchema() { - return (Optional) rawDataSchema; + return rawDataSchema; } /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schema() { - return (Optional) schema; + return schema; } /** @@ -259,7 +256,7 @@ public DestinationMssql withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public DestinationMssql withJdbcUrlParams(Optional jdbcUrlParams) { + public DestinationMssql withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -277,7 +274,7 @@ public DestinationMssql withPassword(String password) { /** * The password associated with this username. */ - public DestinationMssql withPassword(Optional password) { + public DestinationMssql withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -295,7 +292,7 @@ public DestinationMssql withPort(long port) { /** * The port of the MSSQL database. */ - public DestinationMssql withPort(Optional port) { + public DestinationMssql withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -313,7 +310,7 @@ public DestinationMssql withRawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public DestinationMssql withRawDataSchema(Optional rawDataSchema) { + public DestinationMssql withRawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -331,7 +328,7 @@ public DestinationMssql withSchema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - public DestinationMssql withSchema(Optional schema) { + public DestinationMssql withSchema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -392,22 +389,22 @@ public boolean equals(java.lang.Object o) { } DestinationMssql other = (DestinationMssql) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && - java.util.Objects.deepEquals(this.schema, other.schema) && - java.util.Objects.deepEquals(this.sslMethod, other.sslMethod) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && + Objects.deepEquals(this.schema, other.schema) && + Objects.deepEquals(this.sslMethod, other.sslMethod) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, destinationType, host, @@ -443,15 +440,15 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; - private Optional rawDataSchema = Optional.empty(); + private Optional rawDataSchema = Optional.empty(); - private Optional schema; + private Optional schema; private Optional sslMethod = Optional.empty(); @@ -493,7 +490,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -511,7 +508,7 @@ public Builder password(String password) { /** * The password associated with this username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -529,7 +526,7 @@ public Builder port(long port) { /** * The port of the MSSQL database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -547,7 +544,7 @@ public Builder rawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public Builder rawDataSchema(Optional rawDataSchema) { + public Builder rawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -565,7 +562,7 @@ public Builder schema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - public Builder schema(Optional schema) { + public Builder schema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -622,8 +619,7 @@ public DestinationMssql build() { } if (schema == null) { schema = _SINGLETON_VALUE_Schema.value(); - } - return new DestinationMssql( + } return new DestinationMssql( database, host, jdbcUrlParams, @@ -642,17 +638,17 @@ public DestinationMssql build() { "\"mssql\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "1433", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schema = + private static final LazySingletonValue> _SINGLETON_VALUE_Schema = new LazySingletonValue<>( "schema", "\"public\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlNoTunnel.java index 8c248bc19..e3ad1cb7f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationMssqlNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationMssqlNoTunnel other = (DestinationMssqlNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlPasswordAuthentication.java index 037d15717..ecea89b46 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationMssqlPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class DestinationMssqlPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class DestinationMssqlPasswordAuthentication { @JsonCreator public DestinationMssqlPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationMssqlSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public DestinationMssqlPasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationMssqlPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationMssqlPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationMssqlPasswordAuthentication other = (DestinationMssqlPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public DestinationMssqlPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationMssqlPasswordAuthentication( + } return new DestinationMssqlPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public DestinationMssqlPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHKeyAuthentication.java index 3d2f55831..bdbe58845 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationMssqlSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class DestinationMssqlSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class DestinationMssqlSSHKeyAuthentication { public DestinationMssqlSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationMssqlSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public DestinationMssqlSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationMssqlSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationMssqlSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationMssqlSSHKeyAuthentication other = (DestinationMssqlSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public DestinationMssqlSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationMssqlSSHKeyAuthentication( + } return new DestinationMssqlSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public DestinationMssqlSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHTunnelMethod.java index 782b4b4f7..b922940eb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationMssqlSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationMssqlSSHTunnelMethod._Deserializer.class) public class DestinationMssqlSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationMssqlSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationMssqlSSHTunnelMethod of(DestinationMssqlPasswordAuthent /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationMssqlNoTunnel}
    • - *
    • {@code DestinationMssqlSSHKeyAuthentication}
    • - *
    • {@code DestinationMssqlPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMssqlNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMssqlSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMssqlPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationMssqlSSHTunnelMethod other = (DestinationMssqlSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationMssqlSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationMssqlSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethod.java index b7aff716f..73124406c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMssqlSchemasSslMethod { ENCRYPTED_TRUST_SERVER_CERTIFICATE("encrypted_trust_server_certificate"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethodSslMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethodSslMethod.java index 482b19e5c..938bddb12 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethodSslMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasSslMethodSslMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMssqlSchemasSslMethodSslMethod { ENCRYPTED_VERIFY_CERTIFICATE("encrypted_verify_certificate"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethod.java index 48770f6a0..cc528e415 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMssqlSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.java index 16091ede8..92d36ef06 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMssqlSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethod.java index c901a91b0..7ca0127c0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlSslMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationMssqlSslMethod { UNENCRYPTED("unencrypted"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethod.java index 6e3f0de4d..e387e3b08 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMssqlTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMssqlTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMysql.java b/src/main/java/com/airbyte/api/models/shared/DestinationMysql.java index 2cb276afb..bbdf30bed 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMysql.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMysql.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationMysql { /** @@ -35,7 +38,7 @@ public class DestinationMysql { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("disable_type_dedupe") - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; /** * Hostname of the database. @@ -48,35 +51,35 @@ public class DestinationMysql { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * Password associated with the username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * Port of the database. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * The database to write raw tables into */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("raw_data_schema") - private Optional rawDataSchema; + private Optional rawDataSchema; /** * Encrypt data using SSL. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl") - private Optional ssl; + private Optional ssl; /** * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -94,13 +97,13 @@ public class DestinationMysql { @JsonCreator public DestinationMysql( @JsonProperty("database") String database, - @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, + @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, - @JsonProperty("raw_data_schema") Optional rawDataSchema, - @JsonProperty("ssl") Optional ssl, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, + @JsonProperty("raw_data_schema") Optional rawDataSchema, + @JsonProperty("ssl") Optional ssl, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { Utils.checkNotNull(database, "database"); @@ -149,10 +152,9 @@ public Mysql destinationType() { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional disableTypeDedupe() { - return (Optional) disableTypeDedupe; + return disableTypeDedupe; } /** @@ -166,46 +168,41 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * Password associated with the username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * Port of the database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * The database to write raw tables into */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional rawDataSchema() { - return (Optional) rawDataSchema; + return rawDataSchema; } /** * Encrypt data using SSL. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ssl() { - return (Optional) ssl; + return ssl; } /** @@ -250,7 +247,7 @@ public DestinationMysql withDisableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public DestinationMysql withDisableTypeDedupe(Optional disableTypeDedupe) { + public DestinationMysql withDisableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -277,7 +274,7 @@ public DestinationMysql withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public DestinationMysql withJdbcUrlParams(Optional jdbcUrlParams) { + public DestinationMysql withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -295,7 +292,7 @@ public DestinationMysql withPassword(String password) { /** * Password associated with the username. */ - public DestinationMysql withPassword(Optional password) { + public DestinationMysql withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -313,7 +310,7 @@ public DestinationMysql withPort(long port) { /** * Port of the database. */ - public DestinationMysql withPort(Optional port) { + public DestinationMysql withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -331,7 +328,7 @@ public DestinationMysql withRawDataSchema(String rawDataSchema) { /** * The database to write raw tables into */ - public DestinationMysql withRawDataSchema(Optional rawDataSchema) { + public DestinationMysql withRawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -349,7 +346,7 @@ public DestinationMysql withSsl(boolean ssl) { /** * Encrypt data using SSL. */ - public DestinationMysql withSsl(Optional ssl) { + public DestinationMysql withSsl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -392,22 +389,22 @@ public boolean equals(java.lang.Object o) { } DestinationMysql other = (DestinationMysql) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && - java.util.Objects.deepEquals(this.ssl, other.ssl) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && + Objects.deepEquals(this.ssl, other.ssl) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, destinationType, disableTypeDedupe, @@ -441,19 +438,19 @@ public final static class Builder { private String database; - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; - private Optional rawDataSchema = Optional.empty(); + private Optional rawDataSchema = Optional.empty(); - private Optional ssl; + private Optional ssl; private Optional tunnelMethod = Optional.empty(); @@ -484,7 +481,7 @@ public Builder disableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public Builder disableTypeDedupe(Optional disableTypeDedupe) { + public Builder disableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -511,7 +508,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -529,7 +526,7 @@ public Builder password(String password) { /** * Password associated with the username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -547,7 +544,7 @@ public Builder port(long port) { /** * Port of the database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -565,7 +562,7 @@ public Builder rawDataSchema(String rawDataSchema) { /** * The database to write raw tables into */ - public Builder rawDataSchema(Optional rawDataSchema) { + public Builder rawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -583,7 +580,7 @@ public Builder ssl(boolean ssl) { /** * Encrypt data using SSL. */ - public Builder ssl(Optional ssl) { + public Builder ssl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -625,8 +622,7 @@ public DestinationMysql build() { } if (ssl == null) { ssl = _SINGLETON_VALUE_Ssl.value(); - } - return new DestinationMysql( + } return new DestinationMysql( database, disableTypeDedupe, host, @@ -645,23 +641,23 @@ public DestinationMysql build() { "\"mysql\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = + private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = new LazySingletonValue<>( "disable_type_dedupe", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "3306", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = + private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = new LazySingletonValue<>( "ssl", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlNoTunnel.java index fa121a37c..cd7a6aa9f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationMysqlNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationMysqlNoTunnel other = (DestinationMysqlNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlPasswordAuthentication.java index c22b943bd..e1b0f6e03 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationMysqlPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class DestinationMysqlPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class DestinationMysqlPasswordAuthentication { @JsonCreator public DestinationMysqlPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationMysqlSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public DestinationMysqlPasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationMysqlPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationMysqlPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationMysqlPasswordAuthentication other = (DestinationMysqlPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public DestinationMysqlPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationMysqlPasswordAuthentication( + } return new DestinationMysqlPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public DestinationMysqlPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHKeyAuthentication.java index e972f1922..a66c423cd 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationMysqlSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class DestinationMysqlSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class DestinationMysqlSSHKeyAuthentication { public DestinationMysqlSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationMysqlSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public DestinationMysqlSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationMysqlSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationMysqlSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationMysqlSSHKeyAuthentication other = (DestinationMysqlSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public DestinationMysqlSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationMysqlSSHKeyAuthentication( + } return new DestinationMysqlSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public DestinationMysqlSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHTunnelMethod.java index 8f9a5c929..fe3529805 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationMysqlSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationMysqlSSHTunnelMethod._Deserializer.class) public class DestinationMysqlSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationMysqlSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationMysqlSSHTunnelMethod of(DestinationMysqlPasswordAuthent /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationMysqlNoTunnel}
    • - *
    • {@code DestinationMysqlSSHKeyAuthentication}
    • - *
    • {@code DestinationMysqlPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMysqlNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMysqlSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationMysqlPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationMysqlSSHTunnelMethod other = (DestinationMysqlSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationMysqlSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationMysqlSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethod.java index f42435b67..302f3ca72 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMysqlSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.java index 1fa495f4e..f20fc03ad 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMysqlSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethod.java index daf0d1e99..a9f4e9992 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationMysqlTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationMysqlTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracle.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracle.java index dfc766313..5c14a26cd 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracle.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracle.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationOracle { @JsonProperty("destinationType") @@ -42,35 +44,35 @@ public class DestinationOracle { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * The password associated with the username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * The port of the database. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * The schema to write raw tables into (default: airbyte_internal) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("raw_data_schema") - private Optional rawDataSchema; + private Optional rawDataSchema; /** * The default schema is used as the target schema for all statements issued from the connection that do not explicitly specify a schema name. The usual value for this field is "airbyte". In Oracle, schemas and users are the same thing, so the "user" parameter is used as the login credentials and this is used for the default Airbyte message schema. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schema") - private Optional schema; + private Optional schema; /** * The System Identifier uniquely distinguishes the instance from any other instance on the same computer. @@ -95,11 +97,11 @@ public class DestinationOracle { public DestinationOracle( @JsonProperty("encryption") Optional encryption, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, - @JsonProperty("raw_data_schema") Optional rawDataSchema, - @JsonProperty("schema") Optional schema, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, + @JsonProperty("raw_data_schema") Optional rawDataSchema, + @JsonProperty("schema") Optional schema, @JsonProperty("sid") String sid, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { @@ -158,46 +160,41 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * The password associated with the username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * The port of the database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * The schema to write raw tables into (default: airbyte_internal) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional rawDataSchema() { - return (Optional) rawDataSchema; + return rawDataSchema; } /** * The default schema is used as the target schema for all statements issued from the connection that do not explicitly specify a schema name. The usual value for this field is "airbyte". In Oracle, schemas and users are the same thing, so the "user" parameter is used as the login credentials and this is used for the default Airbyte message schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schema() { - return (Optional) schema; + return schema; } /** @@ -268,7 +265,7 @@ public DestinationOracle withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public DestinationOracle withJdbcUrlParams(Optional jdbcUrlParams) { + public DestinationOracle withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -286,7 +283,7 @@ public DestinationOracle withPassword(String password) { /** * The password associated with the username. */ - public DestinationOracle withPassword(Optional password) { + public DestinationOracle withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -304,7 +301,7 @@ public DestinationOracle withPort(long port) { /** * The port of the database. */ - public DestinationOracle withPort(Optional port) { + public DestinationOracle withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -322,7 +319,7 @@ public DestinationOracle withRawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public DestinationOracle withRawDataSchema(Optional rawDataSchema) { + public DestinationOracle withRawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -340,7 +337,7 @@ public DestinationOracle withSchema(String schema) { /** * The default schema is used as the target schema for all statements issued from the connection that do not explicitly specify a schema name. The usual value for this field is "airbyte". In Oracle, schemas and users are the same thing, so the "user" parameter is used as the login credentials and this is used for the default Airbyte message schema. */ - public DestinationOracle withSchema(Optional schema) { + public DestinationOracle withSchema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -392,22 +389,22 @@ public boolean equals(java.lang.Object o) { } DestinationOracle other = (DestinationOracle) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.encryption, other.encryption) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && - java.util.Objects.deepEquals(this.schema, other.schema) && - java.util.Objects.deepEquals(this.sid, other.sid) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.encryption, other.encryption) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && + Objects.deepEquals(this.schema, other.schema) && + Objects.deepEquals(this.sid, other.sid) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, encryption, host, @@ -443,15 +440,15 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; - private Optional rawDataSchema = Optional.empty(); + private Optional rawDataSchema = Optional.empty(); - private Optional schema; + private Optional schema; private String sid; @@ -502,7 +499,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -520,7 +517,7 @@ public Builder password(String password) { /** * The password associated with the username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -538,7 +535,7 @@ public Builder port(long port) { /** * The port of the database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -556,7 +553,7 @@ public Builder rawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public Builder rawDataSchema(Optional rawDataSchema) { + public Builder rawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -574,7 +571,7 @@ public Builder schema(String schema) { /** * The default schema is used as the target schema for all statements issued from the connection that do not explicitly specify a schema name. The usual value for this field is "airbyte". In Oracle, schemas and users are the same thing, so the "user" parameter is used as the login credentials and this is used for the default Airbyte message schema. */ - public Builder schema(Optional schema) { + public Builder schema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -622,8 +619,7 @@ public DestinationOracle build() { } if (schema == null) { schema = _SINGLETON_VALUE_Schema.value(); - } - return new DestinationOracle( + } return new DestinationOracle( encryption, host, jdbcUrlParams, @@ -642,17 +638,17 @@ public DestinationOracle build() { "\"oracle\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "1521", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schema = + private static final LazySingletonValue> _SINGLETON_VALUE_Schema = new LazySingletonValue<>( "schema", "\"airbyte\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracleEncryptionMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracleEncryptionMethod.java index 6900503e6..abd6db152 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracleEncryptionMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracleEncryptionMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationOracleEncryptionMethod { CLIENT_NNE("client_nne"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracleNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracleNoTunnel.java index 99ee713bc..54b203845 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracleNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracleNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationOracleNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationOracleNoTunnel other = (DestinationOracleNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOraclePasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationOraclePasswordAuthentication.java index b2870f0e6..011168a4f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOraclePasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOraclePasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationOraclePasswordAuthentication { /** @@ -38,7 +39,7 @@ public class DestinationOraclePasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class DestinationOraclePasswordAuthentication { @JsonCreator public DestinationOraclePasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationOracleSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public DestinationOraclePasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationOraclePasswordAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationOraclePasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationOraclePasswordAuthentication other = (DestinationOraclePasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public DestinationOraclePasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationOraclePasswordAuthentication( + } return new DestinationOraclePasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public DestinationOraclePasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHKeyAuthentication.java index 6fb1a7d1b..dae2240c7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationOracleSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class DestinationOracleSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class DestinationOracleSSHKeyAuthentication { public DestinationOracleSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationOracleSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public DestinationOracleSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationOracleSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationOracleSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationOracleSSHKeyAuthentication other = (DestinationOracleSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public DestinationOracleSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationOracleSSHKeyAuthentication( + } return new DestinationOracleSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public DestinationOracleSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHTunnelMethod.java index e59f6f71d..d86f064eb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationOracleSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationOracleSSHTunnelMethod._Deserializer.class) public class DestinationOracleSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationOracleSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationOracleSSHTunnelMethod of(DestinationOraclePasswordAuthe /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationOracleNoTunnel}
    • - *
    • {@code DestinationOracleSSHKeyAuthentication}
    • - *
    • {@code DestinationOraclePasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationOracleNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationOracleSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationOraclePasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationOracleSSHTunnelMethod other = (DestinationOracleSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationOracleSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationOracleSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasEncryptionMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasEncryptionMethod.java index f5dd57a19..a6ef80fa3 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasEncryptionMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasEncryptionMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationOracleSchemasEncryptionMethod { ENCRYPTED_VERIFY_CERTIFICATE("encrypted_verify_certificate"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethod.java index 8627b3493..26857c5c6 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationOracleSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.java index 998e89edb..a0b236f38 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracleSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationOracleSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethod.java index d1d5cc00e..d3075871b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracleTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationOracleTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationOracleUnencrypted.java b/src/main/java/com/airbyte/api/models/shared/DestinationOracleUnencrypted.java index 376d0d242..66560b226 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationOracleUnencrypted.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationOracleUnencrypted.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationOracleUnencrypted - Data transfer will not be encrypted. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationOracleUnencrypted other = (DestinationOracleUnencrypted) o; return - java.util.Objects.deepEquals(this.encryptionMethod, other.encryptionMethod); + Objects.deepEquals(this.encryptionMethod, other.encryptionMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( encryptionMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java b/src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java index 14b1bbb0c..4c3ac6849 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationPatchRequest { /** @@ -29,12 +29,12 @@ public class DestinationPatchRequest { @JsonInclude(Include.NON_ABSENT) @JsonProperty("name") - private Optional name; + private Optional name; @JsonCreator public DestinationPatchRequest( @JsonProperty("configuration") Optional configuration, - @JsonProperty("name") Optional name) { + @JsonProperty("name") Optional name) { Utils.checkNotNull(configuration, "configuration"); Utils.checkNotNull(name, "name"); this.configuration = configuration; @@ -54,10 +54,9 @@ public Optional configuration() { return (Optional) configuration; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional name() { - return (Optional) name; + return name; } public final static Builder builder() { @@ -88,7 +87,7 @@ public DestinationPatchRequest withName(String name) { return this; } - public DestinationPatchRequest withName(Optional name) { + public DestinationPatchRequest withName(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; @@ -104,13 +103,13 @@ public boolean equals(java.lang.Object o) { } DestinationPatchRequest other = (DestinationPatchRequest) o; return - java.util.Objects.deepEquals(this.configuration, other.configuration) && - java.util.Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.configuration, other.configuration) && + Objects.deepEquals(this.name, other.name); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configuration, name); } @@ -126,7 +125,7 @@ public final static class Builder { private Optional configuration = Optional.empty(); - private Optional name = Optional.empty(); + private Optional name = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +155,7 @@ public Builder name(String name) { return this; } - public Builder name(Optional name) { + public Builder name(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvector.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvector.java index afafeb6e8..0bba05041 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvector.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvector.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * DestinationPgvector - The configuration model for the Vector DB based destinations. This model is used to generate the UI for the destination configuration, * as well as to provide type safety for the configuration passed to the destination. @@ -53,7 +54,7 @@ public class DestinationPgvector { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("omit_raw_text") - private Optional omitRawText; + private Optional omitRawText; @JsonProperty("processing") private DestinationPgvectorProcessingConfigModel processing; @@ -62,7 +63,7 @@ public class DestinationPgvector { public DestinationPgvector( @JsonProperty("embedding") DestinationPgvectorEmbedding embedding, @JsonProperty("indexing") PostgresConnection indexing, - @JsonProperty("omit_raw_text") Optional omitRawText, + @JsonProperty("omit_raw_text") Optional omitRawText, @JsonProperty("processing") DestinationPgvectorProcessingConfigModel processing) { Utils.checkNotNull(embedding, "embedding"); Utils.checkNotNull(indexing, "indexing"); @@ -106,10 +107,9 @@ public PostgresConnection indexing() { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional omitRawText() { - return (Optional) omitRawText; + return omitRawText; } @JsonIgnore @@ -151,7 +151,7 @@ public DestinationPgvector withOmitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public DestinationPgvector withOmitRawText(Optional omitRawText) { + public DestinationPgvector withOmitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationPgvector other = (DestinationPgvector) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.embedding, other.embedding) && - java.util.Objects.deepEquals(this.indexing, other.indexing) && - java.util.Objects.deepEquals(this.omitRawText, other.omitRawText) && - java.util.Objects.deepEquals(this.processing, other.processing); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.embedding, other.embedding) && + Objects.deepEquals(this.indexing, other.indexing) && + Objects.deepEquals(this.omitRawText, other.omitRawText) && + Objects.deepEquals(this.processing, other.processing); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, embedding, indexing, @@ -206,7 +206,7 @@ public final static class Builder { private PostgresConnection indexing; - private Optional omitRawText; + private Optional omitRawText; private DestinationPgvectorProcessingConfigModel processing; @@ -244,7 +244,7 @@ public Builder omitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public Builder omitRawText(Optional omitRawText) { + public Builder omitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -259,8 +259,7 @@ public Builder processing(DestinationPgvectorProcessingConfigModel processing) { public DestinationPgvector build() { if (omitRawText == null) { omitRawText = _SINGLETON_VALUE_OmitRawText.value(); - } - return new DestinationPgvector( + } return new DestinationPgvector( embedding, indexing, omitRawText, @@ -273,11 +272,11 @@ public DestinationPgvector build() { "\"pgvector\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = + private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = new LazySingletonValue<>( "omit_raw_text", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorAzureOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorAzureOpenAI.java index 5500bf61d..db6bef2e6 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorAzureOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorAzureOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPgvectorAzureOpenAI - Use the Azure-hosted OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -131,15 +132,15 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorAzureOpenAI other = (DestinationPgvectorAzureOpenAI) o; return - java.util.Objects.deepEquals(this.apiBase, other.apiBase) && - java.util.Objects.deepEquals(this.deployment, other.deployment) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.apiBase, other.apiBase) && + Objects.deepEquals(this.deployment, other.deployment) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiBase, deployment, mode, diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByMarkdownHeader.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByMarkdownHeader.java index f78eddede..10b44f447 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByMarkdownHeader.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByMarkdownHeader.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPgvectorByMarkdownHeader - Split the text by Markdown headers down to the specified header level. If the chunk size fits multiple sections, they will be combined into a single chunk. */ @@ -33,11 +35,11 @@ public class DestinationPgvectorByMarkdownHeader { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("split_level") - private Optional splitLevel; + private Optional splitLevel; @JsonCreator public DestinationPgvectorByMarkdownHeader( - @JsonProperty("split_level") Optional splitLevel) { + @JsonProperty("split_level") Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.mode = Builder._SINGLETON_VALUE_Mode.value(); this.splitLevel = splitLevel; @@ -56,10 +58,9 @@ public Optional mode() { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional splitLevel() { - return (Optional) splitLevel; + return splitLevel; } public final static Builder builder() { @@ -78,7 +79,7 @@ public DestinationPgvectorByMarkdownHeader withSplitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public DestinationPgvectorByMarkdownHeader withSplitLevel(Optional splitLevel) { + public DestinationPgvectorByMarkdownHeader withSplitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -94,13 +95,13 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorByMarkdownHeader other = (DestinationPgvectorByMarkdownHeader) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.splitLevel, other.splitLevel); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.splitLevel, other.splitLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, splitLevel); } @@ -114,7 +115,7 @@ public String toString() { public final static class Builder { - private Optional splitLevel; + private Optional splitLevel; private Builder() { // force use of static builder() method @@ -132,7 +133,7 @@ public Builder splitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public Builder splitLevel(Optional splitLevel) { + public Builder splitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -141,8 +142,7 @@ public Builder splitLevel(Optional splitLevel) { public DestinationPgvectorByMarkdownHeader build() { if (splitLevel == null) { splitLevel = _SINGLETON_VALUE_SplitLevel.value(); - } - return new DestinationPgvectorByMarkdownHeader( + } return new DestinationPgvectorByMarkdownHeader( splitLevel); } @@ -152,11 +152,11 @@ public DestinationPgvectorByMarkdownHeader build() { "\"markdown\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = new LazySingletonValue<>( "split_level", "1", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByProgrammingLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByProgrammingLanguage.java index 010ada965..158112de0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByProgrammingLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorByProgrammingLanguage.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPgvectorByProgrammingLanguage - Split the text by suitable delimiters based on the programming language. This is useful for splitting code into chunks. */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorByProgrammingLanguage other = (DestinationPgvectorByProgrammingLanguage) o; return - java.util.Objects.deepEquals(this.language, other.language) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.language, other.language) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( language, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorBySeparator.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorBySeparator.java index ba7abf817..fbfa3d4aa 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorBySeparator.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorBySeparator.java @@ -1,23 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * DestinationPgvectorBySeparator - Split the text by the list of separators until the chunk size is reached, using the earlier mentioned separators where possible. This is useful for splitting text fields by paragraphs, sentences, words, etc. */ @@ -29,7 +32,7 @@ public class DestinationPgvectorBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("keep_separator") - private Optional keepSeparator; + private Optional keepSeparator; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -40,12 +43,12 @@ public class DestinationPgvectorBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("separators") - private Optional> separators; + private Optional> separators; @JsonCreator public DestinationPgvectorBySeparator( - @JsonProperty("keep_separator") Optional keepSeparator, - @JsonProperty("separators") Optional> separators) { + @JsonProperty("keep_separator") Optional keepSeparator, + @JsonProperty("separators") Optional> separators) { Utils.checkNotNull(keepSeparator, "keepSeparator"); Utils.checkNotNull(separators, "separators"); this.keepSeparator = keepSeparator; @@ -60,10 +63,9 @@ public DestinationPgvectorBySeparator() { /** * Whether to keep the separator in the resulting chunks */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional keepSeparator() { - return (Optional) keepSeparator; + return keepSeparator; } @SuppressWarnings("unchecked") @@ -77,8 +79,8 @@ public Optional mode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> separators() { - return (Optional>) separators; + public Optional> separators() { + return (Optional>) separators; } public final static Builder builder() { @@ -97,7 +99,7 @@ public DestinationPgvectorBySeparator withKeepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public DestinationPgvectorBySeparator withKeepSeparator(Optional keepSeparator) { + public DestinationPgvectorBySeparator withKeepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -106,7 +108,7 @@ public DestinationPgvectorBySeparator withKeepSeparator(Optional separators) { + public DestinationPgvectorBySeparator withSeparators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -115,7 +117,7 @@ public DestinationPgvectorBySeparator withSeparators(java.util.List sepa /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public DestinationPgvectorBySeparator withSeparators(Optional> separators) { + public DestinationPgvectorBySeparator withSeparators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -131,14 +133,14 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorBySeparator other = (DestinationPgvectorBySeparator) o; return - java.util.Objects.deepEquals(this.keepSeparator, other.keepSeparator) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.separators, other.separators); + Objects.deepEquals(this.keepSeparator, other.keepSeparator) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.separators, other.separators); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( keepSeparator, mode, separators); @@ -154,9 +156,9 @@ public String toString() { public final static class Builder { - private Optional keepSeparator; + private Optional keepSeparator; - private Optional> separators = Optional.empty(); + private Optional> separators = Optional.empty(); private Builder() { // force use of static builder() method @@ -174,7 +176,7 @@ public Builder keepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public Builder keepSeparator(Optional keepSeparator) { + public Builder keepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -183,7 +185,7 @@ public Builder keepSeparator(Optional keepSeparator) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(java.util.List separators) { + public Builder separators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -192,7 +194,7 @@ public Builder separators(java.util.List separators) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(Optional> separators) { + public Builder separators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -201,17 +203,16 @@ public Builder separators(Optional> separators) public DestinationPgvectorBySeparator build() { if (keepSeparator == null) { keepSeparator = _SINGLETON_VALUE_KeepSeparator.value(); - } - return new DestinationPgvectorBySeparator( + } return new DestinationPgvectorBySeparator( keepSeparator, separators); } - private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = + private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = new LazySingletonValue<>( "keep_separator", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCohere.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCohere.java index 1e475ce62..6a2646445 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCohere.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCohere.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPgvectorCohere - Use the Cohere API to embed text. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorCohere other = (DestinationPgvectorCohere) o; return - java.util.Objects.deepEquals(this.cohereKey, other.cohereKey) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.cohereKey, other.cohereKey) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cohereKey, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCredentials.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCredentials.java index 7f7d02c7f..02d9be459 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorCredentials.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationPgvectorCredentials { @@ -61,12 +60,12 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorCredentials other = (DestinationPgvectorCredentials) o; return - java.util.Objects.deepEquals(this.password, other.password); + Objects.deepEquals(this.password, other.password); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( password); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorEmbedding.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorEmbedding.java index 3ad925fc3..df2c1d42a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorEmbedding.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorEmbedding.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationPgvectorEmbedding - Embedding configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationPgvectorEmbedding._Deserializer.class) public class DestinationPgvectorEmbedding { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationPgvectorEmbedding(TypedObject value) { @@ -63,11 +60,11 @@ public static DestinationPgvectorEmbedding of(DestinationPgvectorOpenAICompatibl /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationPgvectorOpenAI}
    • - *
    • {@code DestinationPgvectorCohere}
    • - *
    • {@code DestinationPgvectorFake}
    • - *
    • {@code DestinationPgvectorAzureOpenAI}
    • - *
    • {@code DestinationPgvectorOpenAICompatible}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPgvectorOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPgvectorCohere}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPgvectorFake}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPgvectorAzureOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPgvectorOpenAICompatible}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +91,24 @@ public boolean equals(java.lang.Object o) { return false; } DestinationPgvectorEmbedding other = (DestinationPgvectorEmbedding) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationPgvectorEmbedding.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationPgvectorEmbedding.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFake.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFake.java index 66239a65f..30a88d03d 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFake.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFake.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPgvectorFake - Use a fake embedding made out of random vectors with 1536 embedding dimensions. This is useful for testing the data pipeline without incurring any costs. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorFake other = (DestinationPgvectorFake) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFieldNameMappingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFieldNameMappingConfigModel.java index c01e6981b..d8b2657dc 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFieldNameMappingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorFieldNameMappingConfigModel.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationPgvectorFieldNameMappingConfigModel { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorFieldNameMappingConfigModel other = (DestinationPgvectorFieldNameMappingConfigModel) o; return - java.util.Objects.deepEquals(this.fromField, other.fromField) && - java.util.Objects.deepEquals(this.toField, other.toField); + Objects.deepEquals(this.fromField, other.fromField) && + Objects.deepEquals(this.toField, other.toField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fromField, toField); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorLanguage.java index 4bb820739..c672843ad 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorLanguage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationPgvectorLanguage - Split code in suitable places based on the programming language diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorMode.java index 1e965a894..14a56ab81 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPgvectorMode { OPENAI("openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAI.java index 43338474a..6eda6a47a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPgvectorOpenAI - Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorOpenAI other = (DestinationPgvectorOpenAI) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, openaiKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAICompatible.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAICompatible.java index 4c14a4231..0a9cf2dbf 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAICompatible.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorOpenAICompatible.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPgvectorOpenAICompatible - Use a service that's compatible with the OpenAI API to embed text. */ @@ -26,7 +28,7 @@ public class DestinationPgvectorOpenAICompatible { @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * The base URL for your OpenAI-compatible service @@ -49,14 +51,14 @@ public class DestinationPgvectorOpenAICompatible { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("model_name") - private Optional modelName; + private Optional modelName; @JsonCreator public DestinationPgvectorOpenAICompatible( - @JsonProperty("api_key") Optional apiKey, + @JsonProperty("api_key") Optional apiKey, @JsonProperty("base_url") String baseUrl, @JsonProperty("dimensions") long dimensions, - @JsonProperty("model_name") Optional modelName) { + @JsonProperty("model_name") Optional modelName) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(baseUrl, "baseUrl"); Utils.checkNotNull(dimensions, "dimensions"); @@ -74,10 +76,9 @@ public DestinationPgvectorOpenAICompatible( this(Optional.empty(), baseUrl, dimensions, Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** @@ -105,10 +106,9 @@ public Optional mode() { /** * The name of the model to use for embedding */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional modelName() { - return (Optional) modelName; + return modelName; } public final static Builder builder() { @@ -121,7 +121,7 @@ public DestinationPgvectorOpenAICompatible withApiKey(String apiKey) { return this; } - public DestinationPgvectorOpenAICompatible withApiKey(Optional apiKey) { + public DestinationPgvectorOpenAICompatible withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -157,7 +157,7 @@ public DestinationPgvectorOpenAICompatible withModelName(String modelName) { /** * The name of the model to use for embedding */ - public DestinationPgvectorOpenAICompatible withModelName(Optional modelName) { + public DestinationPgvectorOpenAICompatible withModelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorOpenAICompatible other = (DestinationPgvectorOpenAICompatible) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.modelName, other.modelName); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.modelName, other.modelName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, baseUrl, dimensions, @@ -202,13 +202,13 @@ public String toString() { public final static class Builder { - private Optional apiKey; + private Optional apiKey; private String baseUrl; private Long dimensions; - private Optional modelName; + private Optional modelName; private Builder() { // force use of static builder() method @@ -220,7 +220,7 @@ public Builder apiKey(String apiKey) { return this; } - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -256,7 +256,7 @@ public Builder modelName(String modelName) { /** * The name of the model to use for embedding */ - public Builder modelName(Optional modelName) { + public Builder modelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -268,19 +268,18 @@ public DestinationPgvectorOpenAICompatible build() { } if (modelName == null) { modelName = _SINGLETON_VALUE_ModelName.value(); - } - return new DestinationPgvectorOpenAICompatible( + } return new DestinationPgvectorOpenAICompatible( apiKey, baseUrl, dimensions, modelName); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = new LazySingletonValue<>( "api_key", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( @@ -288,11 +287,11 @@ public DestinationPgvectorOpenAICompatible build() { "\"openai_compatible\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = + private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = new LazySingletonValue<>( "model_name", "\"text-embedding-ada-002\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorProcessingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorProcessingConfigModel.java index 354b82d3f..3b1c7325a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorProcessingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorProcessingConfigModel.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class DestinationPgvectorProcessingConfigModel { /** @@ -26,7 +29,7 @@ public class DestinationPgvectorProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("chunk_overlap") - private Optional chunkOverlap; + private Optional chunkOverlap; /** * Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) @@ -39,21 +42,21 @@ public class DestinationPgvectorProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("field_name_mappings") - private Optional> fieldNameMappings; + private Optional> fieldNameMappings; /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("metadata_fields") - private Optional> metadataFields; + private Optional> metadataFields; /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_fields") - private Optional> textFields; + private Optional> textFields; /** * Split text fields into chunks based on the specified method. @@ -64,11 +67,11 @@ public class DestinationPgvectorProcessingConfigModel { @JsonCreator public DestinationPgvectorProcessingConfigModel( - @JsonProperty("chunk_overlap") Optional chunkOverlap, + @JsonProperty("chunk_overlap") Optional chunkOverlap, @JsonProperty("chunk_size") long chunkSize, - @JsonProperty("field_name_mappings") Optional> fieldNameMappings, - @JsonProperty("metadata_fields") Optional> metadataFields, - @JsonProperty("text_fields") Optional> textFields, + @JsonProperty("field_name_mappings") Optional> fieldNameMappings, + @JsonProperty("metadata_fields") Optional> metadataFields, + @JsonProperty("text_fields") Optional> textFields, @JsonProperty("text_splitter") Optional textSplitter) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); Utils.checkNotNull(chunkSize, "chunkSize"); @@ -92,10 +95,9 @@ public DestinationPgvectorProcessingConfigModel( /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional chunkOverlap() { - return (Optional) chunkOverlap; + return chunkOverlap; } /** @@ -111,8 +113,8 @@ public long chunkSize() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> fieldNameMappings() { - return (Optional>) fieldNameMappings; + public Optional> fieldNameMappings() { + return (Optional>) fieldNameMappings; } /** @@ -120,8 +122,8 @@ public Optional> */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> metadataFields() { - return (Optional>) metadataFields; + public Optional> metadataFields() { + return (Optional>) metadataFields; } /** @@ -129,8 +131,8 @@ public Optional> metadataFields() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> textFields() { - return (Optional>) textFields; + public Optional> textFields() { + return (Optional>) textFields; } /** @@ -158,7 +160,7 @@ public DestinationPgvectorProcessingConfigModel withChunkOverlap(long chunkOverl /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public DestinationPgvectorProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { + public DestinationPgvectorProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -176,7 +178,7 @@ public DestinationPgvectorProcessingConfigModel withChunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationPgvectorProcessingConfigModel withFieldNameMappings(java.util.List fieldNameMappings) { + public DestinationPgvectorProcessingConfigModel withFieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -185,7 +187,7 @@ public DestinationPgvectorProcessingConfigModel withFieldNameMappings(java.util. /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationPgvectorProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { + public DestinationPgvectorProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -194,7 +196,7 @@ public DestinationPgvectorProcessingConfigModel withFieldNameMappings(Optional metadataFields) { + public DestinationPgvectorProcessingConfigModel withMetadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -203,7 +205,7 @@ public DestinationPgvectorProcessingConfigModel withMetadataFields(java.util.Lis /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public DestinationPgvectorProcessingConfigModel withMetadataFields(Optional> metadataFields) { + public DestinationPgvectorProcessingConfigModel withMetadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -212,7 +214,7 @@ public DestinationPgvectorProcessingConfigModel withMetadataFields(Optional textFields) { + public DestinationPgvectorProcessingConfigModel withTextFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -221,7 +223,7 @@ public DestinationPgvectorProcessingConfigModel withTextFields(java.util.List> textFields) { + public DestinationPgvectorProcessingConfigModel withTextFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -255,17 +257,17 @@ public boolean equals(java.lang.Object o) { } DestinationPgvectorProcessingConfigModel other = (DestinationPgvectorProcessingConfigModel) o; return - java.util.Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && - java.util.Objects.deepEquals(this.chunkSize, other.chunkSize) && - java.util.Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && - java.util.Objects.deepEquals(this.metadataFields, other.metadataFields) && - java.util.Objects.deepEquals(this.textFields, other.textFields) && - java.util.Objects.deepEquals(this.textSplitter, other.textSplitter); + Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && + Objects.deepEquals(this.chunkSize, other.chunkSize) && + Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && + Objects.deepEquals(this.metadataFields, other.metadataFields) && + Objects.deepEquals(this.textFields, other.textFields) && + Objects.deepEquals(this.textSplitter, other.textSplitter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( chunkOverlap, chunkSize, fieldNameMappings, @@ -287,15 +289,15 @@ public String toString() { public final static class Builder { - private Optional chunkOverlap; + private Optional chunkOverlap; private Long chunkSize; - private Optional> fieldNameMappings = Optional.empty(); + private Optional> fieldNameMappings = Optional.empty(); - private Optional> metadataFields = Optional.empty(); + private Optional> metadataFields = Optional.empty(); - private Optional> textFields = Optional.empty(); + private Optional> textFields = Optional.empty(); private Optional textSplitter = Optional.empty(); @@ -315,7 +317,7 @@ public Builder chunkOverlap(long chunkOverlap) { /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public Builder chunkOverlap(Optional chunkOverlap) { + public Builder chunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -333,7 +335,7 @@ public Builder chunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public Builder fieldNameMappings(java.util.List fieldNameMappings) { + public Builder fieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -342,7 +344,7 @@ public Builder fieldNameMappings(java.util.List> fieldNameMappings) { + public Builder fieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -351,7 +353,7 @@ public Builder fieldNameMappings(Optional metadataFields) { + public Builder metadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -360,7 +362,7 @@ public Builder metadataFields(java.util.List metadataFields) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public Builder metadataFields(Optional> metadataFields) { + public Builder metadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -369,7 +371,7 @@ public Builder metadataFields(Optional> metadat /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(java.util.List textFields) { + public Builder textFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -378,7 +380,7 @@ public Builder textFields(java.util.List textFields) { /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(Optional> textFields) { + public Builder textFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -405,8 +407,7 @@ public Builder textSplitter(Optional public DestinationPgvectorProcessingConfigModel build() { if (chunkOverlap == null) { chunkOverlap = _SINGLETON_VALUE_ChunkOverlap.value(); - } - return new DestinationPgvectorProcessingConfigModel( + } return new DestinationPgvectorProcessingConfigModel( chunkOverlap, chunkSize, fieldNameMappings, @@ -415,11 +416,11 @@ public DestinationPgvectorProcessingConfigModel build() { textSplitter); } - private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = + private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = new LazySingletonValue<>( "chunk_overlap", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.java index 0b7342c63..97811aecc 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbedding5Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPgvectorSchemasEmbeddingEmbedding5Mode { OPENAI_COMPATIBLE("openai_compatible"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.java index 2fb9d5e8d..31f63f960 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPgvectorSchemasEmbeddingEmbeddingMode { AZURE_OPENAI("azure_openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingMode.java index 95020a621..568e2108f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPgvectorSchemasEmbeddingMode { FAKE("fake"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasMode.java index 19b21915b..ace99bbce 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPgvectorSchemasMode { COHERE("cohere"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingMode.java index 3c43444cc..94fbdcff6 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPgvectorSchemasProcessingMode { SEPARATOR("separator"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.java index 2e5fcca7d..243e2a828 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPgvectorSchemasProcessingTextSplitterMode { MARKDOWN("markdown"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.java index bc03745c1..70434a2f5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPgvectorSchemasProcessingTextSplitterTextSplitterMode { CODE("code"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorTextSplitter.java b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorTextSplitter.java index 706b3e3db..5ab30fffb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorTextSplitter.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPgvectorTextSplitter.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationPgvectorTextSplitter - Split text fields into chunks based on the specified method. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationPgvectorTextSplitter._Deserializer.class) public class DestinationPgvectorTextSplitter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationPgvectorTextSplitter(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationPgvectorTextSplitter of(DestinationPgvectorByProgrammin /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationPgvectorBySeparator}
    • - *
    • {@code DestinationPgvectorByMarkdownHeader}
    • - *
    • {@code DestinationPgvectorByProgrammingLanguage}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPgvectorBySeparator}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPgvectorByMarkdownHeader}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPgvectorByProgrammingLanguage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationPgvectorTextSplitter other = (DestinationPgvectorTextSplitter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationPgvectorTextSplitter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationPgvectorTextSplitter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPinecone.java b/src/main/java/com/airbyte/api/models/shared/DestinationPinecone.java index b51a3b9bd..d1ec2f086 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPinecone.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPinecone.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * DestinationPinecone - The configuration model for the Vector DB based destinations. This model is used to generate the UI for the destination configuration, * as well as to provide type safety for the configuration passed to the destination. @@ -53,7 +54,7 @@ public class DestinationPinecone { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("omit_raw_text") - private Optional omitRawText; + private Optional omitRawText; @JsonProperty("processing") private DestinationPineconeProcessingConfigModel processing; @@ -62,7 +63,7 @@ public class DestinationPinecone { public DestinationPinecone( @JsonProperty("embedding") DestinationPineconeEmbedding embedding, @JsonProperty("indexing") DestinationPineconeIndexing indexing, - @JsonProperty("omit_raw_text") Optional omitRawText, + @JsonProperty("omit_raw_text") Optional omitRawText, @JsonProperty("processing") DestinationPineconeProcessingConfigModel processing) { Utils.checkNotNull(embedding, "embedding"); Utils.checkNotNull(indexing, "indexing"); @@ -106,10 +107,9 @@ public DestinationPineconeIndexing indexing() { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional omitRawText() { - return (Optional) omitRawText; + return omitRawText; } @JsonIgnore @@ -151,7 +151,7 @@ public DestinationPinecone withOmitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public DestinationPinecone withOmitRawText(Optional omitRawText) { + public DestinationPinecone withOmitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationPinecone other = (DestinationPinecone) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.embedding, other.embedding) && - java.util.Objects.deepEquals(this.indexing, other.indexing) && - java.util.Objects.deepEquals(this.omitRawText, other.omitRawText) && - java.util.Objects.deepEquals(this.processing, other.processing); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.embedding, other.embedding) && + Objects.deepEquals(this.indexing, other.indexing) && + Objects.deepEquals(this.omitRawText, other.omitRawText) && + Objects.deepEquals(this.processing, other.processing); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, embedding, indexing, @@ -206,7 +206,7 @@ public final static class Builder { private DestinationPineconeIndexing indexing; - private Optional omitRawText; + private Optional omitRawText; private DestinationPineconeProcessingConfigModel processing; @@ -244,7 +244,7 @@ public Builder omitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public Builder omitRawText(Optional omitRawText) { + public Builder omitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -259,8 +259,7 @@ public Builder processing(DestinationPineconeProcessingConfigModel processing) { public DestinationPinecone build() { if (omitRawText == null) { omitRawText = _SINGLETON_VALUE_OmitRawText.value(); - } - return new DestinationPinecone( + } return new DestinationPinecone( embedding, indexing, omitRawText, @@ -273,11 +272,11 @@ public DestinationPinecone build() { "\"pinecone\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = + private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = new LazySingletonValue<>( "omit_raw_text", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeAzureOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeAzureOpenAI.java index c5e28cb24..1c92aea10 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeAzureOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeAzureOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPineconeAzureOpenAI - Use the Azure-hosted OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -131,15 +132,15 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeAzureOpenAI other = (DestinationPineconeAzureOpenAI) o; return - java.util.Objects.deepEquals(this.apiBase, other.apiBase) && - java.util.Objects.deepEquals(this.deployment, other.deployment) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.apiBase, other.apiBase) && + Objects.deepEquals(this.deployment, other.deployment) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiBase, deployment, mode, diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeByMarkdownHeader.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeByMarkdownHeader.java index b602bf78f..ea3ef4ffa 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeByMarkdownHeader.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeByMarkdownHeader.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPineconeByMarkdownHeader - Split the text by Markdown headers down to the specified header level. If the chunk size fits multiple sections, they will be combined into a single chunk. */ @@ -33,11 +35,11 @@ public class DestinationPineconeByMarkdownHeader { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("split_level") - private Optional splitLevel; + private Optional splitLevel; @JsonCreator public DestinationPineconeByMarkdownHeader( - @JsonProperty("split_level") Optional splitLevel) { + @JsonProperty("split_level") Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.mode = Builder._SINGLETON_VALUE_Mode.value(); this.splitLevel = splitLevel; @@ -56,10 +58,9 @@ public Optional mode() { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional splitLevel() { - return (Optional) splitLevel; + return splitLevel; } public final static Builder builder() { @@ -78,7 +79,7 @@ public DestinationPineconeByMarkdownHeader withSplitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public DestinationPineconeByMarkdownHeader withSplitLevel(Optional splitLevel) { + public DestinationPineconeByMarkdownHeader withSplitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -94,13 +95,13 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeByMarkdownHeader other = (DestinationPineconeByMarkdownHeader) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.splitLevel, other.splitLevel); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.splitLevel, other.splitLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, splitLevel); } @@ -114,7 +115,7 @@ public String toString() { public final static class Builder { - private Optional splitLevel; + private Optional splitLevel; private Builder() { // force use of static builder() method @@ -132,7 +133,7 @@ public Builder splitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public Builder splitLevel(Optional splitLevel) { + public Builder splitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -141,8 +142,7 @@ public Builder splitLevel(Optional splitLevel) { public DestinationPineconeByMarkdownHeader build() { if (splitLevel == null) { splitLevel = _SINGLETON_VALUE_SplitLevel.value(); - } - return new DestinationPineconeByMarkdownHeader( + } return new DestinationPineconeByMarkdownHeader( splitLevel); } @@ -152,11 +152,11 @@ public DestinationPineconeByMarkdownHeader build() { "\"markdown\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = new LazySingletonValue<>( "split_level", "1", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeByProgrammingLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeByProgrammingLanguage.java index a4c7c8ad0..47571bfb6 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeByProgrammingLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeByProgrammingLanguage.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPineconeByProgrammingLanguage - Split the text by suitable delimiters based on the programming language. This is useful for splitting code into chunks. */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeByProgrammingLanguage other = (DestinationPineconeByProgrammingLanguage) o; return - java.util.Objects.deepEquals(this.language, other.language) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.language, other.language) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( language, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeBySeparator.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeBySeparator.java index cd3078bdd..84e7ba976 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeBySeparator.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeBySeparator.java @@ -1,23 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * DestinationPineconeBySeparator - Split the text by the list of separators until the chunk size is reached, using the earlier mentioned separators where possible. This is useful for splitting text fields by paragraphs, sentences, words, etc. */ @@ -29,7 +32,7 @@ public class DestinationPineconeBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("keep_separator") - private Optional keepSeparator; + private Optional keepSeparator; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -40,12 +43,12 @@ public class DestinationPineconeBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("separators") - private Optional> separators; + private Optional> separators; @JsonCreator public DestinationPineconeBySeparator( - @JsonProperty("keep_separator") Optional keepSeparator, - @JsonProperty("separators") Optional> separators) { + @JsonProperty("keep_separator") Optional keepSeparator, + @JsonProperty("separators") Optional> separators) { Utils.checkNotNull(keepSeparator, "keepSeparator"); Utils.checkNotNull(separators, "separators"); this.keepSeparator = keepSeparator; @@ -60,10 +63,9 @@ public DestinationPineconeBySeparator() { /** * Whether to keep the separator in the resulting chunks */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional keepSeparator() { - return (Optional) keepSeparator; + return keepSeparator; } @SuppressWarnings("unchecked") @@ -77,8 +79,8 @@ public Optional mode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> separators() { - return (Optional>) separators; + public Optional> separators() { + return (Optional>) separators; } public final static Builder builder() { @@ -97,7 +99,7 @@ public DestinationPineconeBySeparator withKeepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public DestinationPineconeBySeparator withKeepSeparator(Optional keepSeparator) { + public DestinationPineconeBySeparator withKeepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -106,7 +108,7 @@ public DestinationPineconeBySeparator withKeepSeparator(Optional separators) { + public DestinationPineconeBySeparator withSeparators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -115,7 +117,7 @@ public DestinationPineconeBySeparator withSeparators(java.util.List sepa /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public DestinationPineconeBySeparator withSeparators(Optional> separators) { + public DestinationPineconeBySeparator withSeparators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -131,14 +133,14 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeBySeparator other = (DestinationPineconeBySeparator) o; return - java.util.Objects.deepEquals(this.keepSeparator, other.keepSeparator) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.separators, other.separators); + Objects.deepEquals(this.keepSeparator, other.keepSeparator) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.separators, other.separators); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( keepSeparator, mode, separators); @@ -154,9 +156,9 @@ public String toString() { public final static class Builder { - private Optional keepSeparator; + private Optional keepSeparator; - private Optional> separators = Optional.empty(); + private Optional> separators = Optional.empty(); private Builder() { // force use of static builder() method @@ -174,7 +176,7 @@ public Builder keepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public Builder keepSeparator(Optional keepSeparator) { + public Builder keepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -183,7 +185,7 @@ public Builder keepSeparator(Optional keepSeparator) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(java.util.List separators) { + public Builder separators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -192,7 +194,7 @@ public Builder separators(java.util.List separators) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(Optional> separators) { + public Builder separators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -201,17 +203,16 @@ public Builder separators(Optional> separators) public DestinationPineconeBySeparator build() { if (keepSeparator == null) { keepSeparator = _SINGLETON_VALUE_KeepSeparator.value(); - } - return new DestinationPineconeBySeparator( + } return new DestinationPineconeBySeparator( keepSeparator, separators); } - private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = + private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = new LazySingletonValue<>( "keep_separator", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeCohere.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeCohere.java index e1feca122..85f7b74fc 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeCohere.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeCohere.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPineconeCohere - Use the Cohere API to embed text. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeCohere other = (DestinationPineconeCohere) o; return - java.util.Objects.deepEquals(this.cohereKey, other.cohereKey) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.cohereKey, other.cohereKey) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cohereKey, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeEmbedding.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeEmbedding.java index 4432454d1..d30377fa6 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeEmbedding.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeEmbedding.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationPineconeEmbedding - Embedding configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationPineconeEmbedding._Deserializer.class) public class DestinationPineconeEmbedding { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationPineconeEmbedding(TypedObject value) { @@ -63,11 +60,11 @@ public static DestinationPineconeEmbedding of(DestinationPineconeOpenAICompatibl /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationPineconeOpenAI}
    • - *
    • {@code DestinationPineconeCohere}
    • - *
    • {@code DestinationPineconeFake}
    • - *
    • {@code DestinationPineconeAzureOpenAI}
    • - *
    • {@code DestinationPineconeOpenAICompatible}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPineconeOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPineconeCohere}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPineconeFake}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPineconeAzureOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPineconeOpenAICompatible}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +91,24 @@ public boolean equals(java.lang.Object o) { return false; } DestinationPineconeEmbedding other = (DestinationPineconeEmbedding) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationPineconeEmbedding.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationPineconeEmbedding.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeFake.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeFake.java index 6492137df..0484970cb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeFake.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeFake.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPineconeFake - Use a fake embedding made out of random vectors with 1536 embedding dimensions. This is useful for testing the data pipeline without incurring any costs. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeFake other = (DestinationPineconeFake) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeFieldNameMappingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeFieldNameMappingConfigModel.java index 9df27f91f..2c58384d7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeFieldNameMappingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeFieldNameMappingConfigModel.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationPineconeFieldNameMappingConfigModel { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeFieldNameMappingConfigModel other = (DestinationPineconeFieldNameMappingConfigModel) o; return - java.util.Objects.deepEquals(this.fromField, other.fromField) && - java.util.Objects.deepEquals(this.toField, other.toField); + Objects.deepEquals(this.fromField, other.fromField) && + Objects.deepEquals(this.toField, other.toField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fromField, toField); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeIndexing.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeIndexing.java index 3d4bf4403..842b59968 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeIndexing.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeIndexing.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * DestinationPineconeIndexing - Pinecone is a popular vector store that can be used to store and retrieve embeddings. */ @@ -116,14 +115,14 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeIndexing other = (DestinationPineconeIndexing) o; return - java.util.Objects.deepEquals(this.index, other.index) && - java.util.Objects.deepEquals(this.pineconeEnvironment, other.pineconeEnvironment) && - java.util.Objects.deepEquals(this.pineconeKey, other.pineconeKey); + Objects.deepEquals(this.index, other.index) && + Objects.deepEquals(this.pineconeEnvironment, other.pineconeEnvironment) && + Objects.deepEquals(this.pineconeKey, other.pineconeKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( index, pineconeEnvironment, pineconeKey); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeLanguage.java index f453158c4..2340fde92 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeLanguage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationPineconeLanguage - Split code in suitable places based on the programming language diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeMode.java index 08df8947f..c6c537831 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPineconeMode { OPENAI("openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAI.java index 458b490bd..04040de0e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPineconeOpenAI - Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeOpenAI other = (DestinationPineconeOpenAI) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, openaiKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAICompatible.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAICompatible.java index 4e1fe527c..bb650b155 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAICompatible.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeOpenAICompatible.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationPineconeOpenAICompatible - Use a service that's compatible with the OpenAI API to embed text. */ @@ -26,7 +28,7 @@ public class DestinationPineconeOpenAICompatible { @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * The base URL for your OpenAI-compatible service @@ -49,14 +51,14 @@ public class DestinationPineconeOpenAICompatible { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("model_name") - private Optional modelName; + private Optional modelName; @JsonCreator public DestinationPineconeOpenAICompatible( - @JsonProperty("api_key") Optional apiKey, + @JsonProperty("api_key") Optional apiKey, @JsonProperty("base_url") String baseUrl, @JsonProperty("dimensions") long dimensions, - @JsonProperty("model_name") Optional modelName) { + @JsonProperty("model_name") Optional modelName) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(baseUrl, "baseUrl"); Utils.checkNotNull(dimensions, "dimensions"); @@ -74,10 +76,9 @@ public DestinationPineconeOpenAICompatible( this(Optional.empty(), baseUrl, dimensions, Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** @@ -105,10 +106,9 @@ public Optional mode() { /** * The name of the model to use for embedding */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional modelName() { - return (Optional) modelName; + return modelName; } public final static Builder builder() { @@ -121,7 +121,7 @@ public DestinationPineconeOpenAICompatible withApiKey(String apiKey) { return this; } - public DestinationPineconeOpenAICompatible withApiKey(Optional apiKey) { + public DestinationPineconeOpenAICompatible withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -157,7 +157,7 @@ public DestinationPineconeOpenAICompatible withModelName(String modelName) { /** * The name of the model to use for embedding */ - public DestinationPineconeOpenAICompatible withModelName(Optional modelName) { + public DestinationPineconeOpenAICompatible withModelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeOpenAICompatible other = (DestinationPineconeOpenAICompatible) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.modelName, other.modelName); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.modelName, other.modelName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, baseUrl, dimensions, @@ -202,13 +202,13 @@ public String toString() { public final static class Builder { - private Optional apiKey; + private Optional apiKey; private String baseUrl; private Long dimensions; - private Optional modelName; + private Optional modelName; private Builder() { // force use of static builder() method @@ -220,7 +220,7 @@ public Builder apiKey(String apiKey) { return this; } - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -256,7 +256,7 @@ public Builder modelName(String modelName) { /** * The name of the model to use for embedding */ - public Builder modelName(Optional modelName) { + public Builder modelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -268,19 +268,18 @@ public DestinationPineconeOpenAICompatible build() { } if (modelName == null) { modelName = _SINGLETON_VALUE_ModelName.value(); - } - return new DestinationPineconeOpenAICompatible( + } return new DestinationPineconeOpenAICompatible( apiKey, baseUrl, dimensions, modelName); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = new LazySingletonValue<>( "api_key", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( @@ -288,11 +287,11 @@ public DestinationPineconeOpenAICompatible build() { "\"openai_compatible\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = + private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = new LazySingletonValue<>( "model_name", "\"text-embedding-ada-002\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeProcessingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeProcessingConfigModel.java index df6235c61..c5442447f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeProcessingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeProcessingConfigModel.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class DestinationPineconeProcessingConfigModel { /** @@ -26,7 +29,7 @@ public class DestinationPineconeProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("chunk_overlap") - private Optional chunkOverlap; + private Optional chunkOverlap; /** * Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) @@ -39,21 +42,21 @@ public class DestinationPineconeProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("field_name_mappings") - private Optional> fieldNameMappings; + private Optional> fieldNameMappings; /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("metadata_fields") - private Optional> metadataFields; + private Optional> metadataFields; /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_fields") - private Optional> textFields; + private Optional> textFields; /** * Split text fields into chunks based on the specified method. @@ -64,11 +67,11 @@ public class DestinationPineconeProcessingConfigModel { @JsonCreator public DestinationPineconeProcessingConfigModel( - @JsonProperty("chunk_overlap") Optional chunkOverlap, + @JsonProperty("chunk_overlap") Optional chunkOverlap, @JsonProperty("chunk_size") long chunkSize, - @JsonProperty("field_name_mappings") Optional> fieldNameMappings, - @JsonProperty("metadata_fields") Optional> metadataFields, - @JsonProperty("text_fields") Optional> textFields, + @JsonProperty("field_name_mappings") Optional> fieldNameMappings, + @JsonProperty("metadata_fields") Optional> metadataFields, + @JsonProperty("text_fields") Optional> textFields, @JsonProperty("text_splitter") Optional textSplitter) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); Utils.checkNotNull(chunkSize, "chunkSize"); @@ -92,10 +95,9 @@ public DestinationPineconeProcessingConfigModel( /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional chunkOverlap() { - return (Optional) chunkOverlap; + return chunkOverlap; } /** @@ -111,8 +113,8 @@ public long chunkSize() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> fieldNameMappings() { - return (Optional>) fieldNameMappings; + public Optional> fieldNameMappings() { + return (Optional>) fieldNameMappings; } /** @@ -120,8 +122,8 @@ public Optional> */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> metadataFields() { - return (Optional>) metadataFields; + public Optional> metadataFields() { + return (Optional>) metadataFields; } /** @@ -129,8 +131,8 @@ public Optional> metadataFields() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> textFields() { - return (Optional>) textFields; + public Optional> textFields() { + return (Optional>) textFields; } /** @@ -158,7 +160,7 @@ public DestinationPineconeProcessingConfigModel withChunkOverlap(long chunkOverl /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public DestinationPineconeProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { + public DestinationPineconeProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -176,7 +178,7 @@ public DestinationPineconeProcessingConfigModel withChunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationPineconeProcessingConfigModel withFieldNameMappings(java.util.List fieldNameMappings) { + public DestinationPineconeProcessingConfigModel withFieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -185,7 +187,7 @@ public DestinationPineconeProcessingConfigModel withFieldNameMappings(java.util. /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationPineconeProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { + public DestinationPineconeProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -194,7 +196,7 @@ public DestinationPineconeProcessingConfigModel withFieldNameMappings(Optional metadataFields) { + public DestinationPineconeProcessingConfigModel withMetadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -203,7 +205,7 @@ public DestinationPineconeProcessingConfigModel withMetadataFields(java.util.Lis /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public DestinationPineconeProcessingConfigModel withMetadataFields(Optional> metadataFields) { + public DestinationPineconeProcessingConfigModel withMetadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -212,7 +214,7 @@ public DestinationPineconeProcessingConfigModel withMetadataFields(Optional textFields) { + public DestinationPineconeProcessingConfigModel withTextFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -221,7 +223,7 @@ public DestinationPineconeProcessingConfigModel withTextFields(java.util.List> textFields) { + public DestinationPineconeProcessingConfigModel withTextFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -255,17 +257,17 @@ public boolean equals(java.lang.Object o) { } DestinationPineconeProcessingConfigModel other = (DestinationPineconeProcessingConfigModel) o; return - java.util.Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && - java.util.Objects.deepEquals(this.chunkSize, other.chunkSize) && - java.util.Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && - java.util.Objects.deepEquals(this.metadataFields, other.metadataFields) && - java.util.Objects.deepEquals(this.textFields, other.textFields) && - java.util.Objects.deepEquals(this.textSplitter, other.textSplitter); + Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && + Objects.deepEquals(this.chunkSize, other.chunkSize) && + Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && + Objects.deepEquals(this.metadataFields, other.metadataFields) && + Objects.deepEquals(this.textFields, other.textFields) && + Objects.deepEquals(this.textSplitter, other.textSplitter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( chunkOverlap, chunkSize, fieldNameMappings, @@ -287,15 +289,15 @@ public String toString() { public final static class Builder { - private Optional chunkOverlap; + private Optional chunkOverlap; private Long chunkSize; - private Optional> fieldNameMappings = Optional.empty(); + private Optional> fieldNameMappings = Optional.empty(); - private Optional> metadataFields = Optional.empty(); + private Optional> metadataFields = Optional.empty(); - private Optional> textFields = Optional.empty(); + private Optional> textFields = Optional.empty(); private Optional textSplitter = Optional.empty(); @@ -315,7 +317,7 @@ public Builder chunkOverlap(long chunkOverlap) { /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public Builder chunkOverlap(Optional chunkOverlap) { + public Builder chunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -333,7 +335,7 @@ public Builder chunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public Builder fieldNameMappings(java.util.List fieldNameMappings) { + public Builder fieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -342,7 +344,7 @@ public Builder fieldNameMappings(java.util.List> fieldNameMappings) { + public Builder fieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -351,7 +353,7 @@ public Builder fieldNameMappings(Optional metadataFields) { + public Builder metadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -360,7 +362,7 @@ public Builder metadataFields(java.util.List metadataFields) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public Builder metadataFields(Optional> metadataFields) { + public Builder metadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -369,7 +371,7 @@ public Builder metadataFields(Optional> metadat /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(java.util.List textFields) { + public Builder textFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -378,7 +380,7 @@ public Builder textFields(java.util.List textFields) { /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(Optional> textFields) { + public Builder textFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -405,8 +407,7 @@ public Builder textSplitter(Optional public DestinationPineconeProcessingConfigModel build() { if (chunkOverlap == null) { chunkOverlap = _SINGLETON_VALUE_ChunkOverlap.value(); - } - return new DestinationPineconeProcessingConfigModel( + } return new DestinationPineconeProcessingConfigModel( chunkOverlap, chunkSize, fieldNameMappings, @@ -415,11 +416,11 @@ public DestinationPineconeProcessingConfigModel build() { textSplitter); } - private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = + private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = new LazySingletonValue<>( "chunk_overlap", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.java index f4b77d7ca..d4dad7147 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbedding5Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPineconeSchemasEmbeddingEmbedding5Mode { OPENAI_COMPATIBLE("openai_compatible"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.java index c254e6e05..da716afbc 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPineconeSchemasEmbeddingEmbeddingMode { AZURE_OPENAI("azure_openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingMode.java index 3e5f5de61..c0cf6ba27 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPineconeSchemasEmbeddingMode { FAKE("fake"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasMode.java index 0b458c11b..03e549898 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPineconeSchemasMode { COHERE("cohere"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingMode.java index 638261372..2a7749f32 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPineconeSchemasProcessingMode { SEPARATOR("separator"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.java index 47069e5db..7e215241e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPineconeSchemasProcessingTextSplitterMode { MARKDOWN("markdown"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.java index 2c4002186..18d513f6e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode { CODE("code"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeTextSplitter.java b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeTextSplitter.java index f50e3bf38..da6cc0515 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPineconeTextSplitter.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPineconeTextSplitter.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationPineconeTextSplitter - Split text fields into chunks based on the specified method. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationPineconeTextSplitter._Deserializer.class) public class DestinationPineconeTextSplitter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationPineconeTextSplitter(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationPineconeTextSplitter of(DestinationPineconeByProgrammin /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationPineconeBySeparator}
    • - *
    • {@code DestinationPineconeByMarkdownHeader}
    • - *
    • {@code DestinationPineconeByProgrammingLanguage}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPineconeBySeparator}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPineconeByMarkdownHeader}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPineconeByProgrammingLanguage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationPineconeTextSplitter other = (DestinationPineconeTextSplitter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationPineconeTextSplitter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationPineconeTextSplitter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java index f9456383e..6868f2bc5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgres.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationPostgres { /** @@ -35,14 +38,14 @@ public class DestinationPostgres { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("disable_type_dedupe") - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; /** * Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("drop_cascade") - private Optional dropCascade; + private Optional dropCascade; /** * Hostname of the database. @@ -55,42 +58,42 @@ public class DestinationPostgres { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * Password associated with the username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * Port of the database. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * The schema to write raw tables into */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("raw_data_schema") - private Optional rawDataSchema; + private Optional rawDataSchema; /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schema") - private Optional schema; + private Optional schema; /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl") - private Optional ssl; + private Optional ssl; /** * SSL connection modes. @@ -122,15 +125,15 @@ public class DestinationPostgres { @JsonCreator public DestinationPostgres( @JsonProperty("database") String database, - @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, - @JsonProperty("drop_cascade") Optional dropCascade, + @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, + @JsonProperty("drop_cascade") Optional dropCascade, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, - @JsonProperty("raw_data_schema") Optional rawDataSchema, - @JsonProperty("schema") Optional schema, - @JsonProperty("ssl") Optional ssl, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, + @JsonProperty("raw_data_schema") Optional rawDataSchema, + @JsonProperty("schema") Optional schema, + @JsonProperty("ssl") Optional ssl, @JsonProperty("ssl_mode") Optional sslMode, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { @@ -186,19 +189,17 @@ public Postgres destinationType() { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional disableTypeDedupe() { - return (Optional) disableTypeDedupe; + return disableTypeDedupe; } /** * Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dropCascade() { - return (Optional) dropCascade; + return dropCascade; } /** @@ -212,55 +213,49 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * Password associated with the username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * Port of the database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * The schema to write raw tables into */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional rawDataSchema() { - return (Optional) rawDataSchema; + return rawDataSchema; } /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schema() { - return (Optional) schema; + return schema; } /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ssl() { - return (Optional) ssl; + return ssl; } /** @@ -321,7 +316,7 @@ public DestinationPostgres withDisableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public DestinationPostgres withDisableTypeDedupe(Optional disableTypeDedupe) { + public DestinationPostgres withDisableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -339,7 +334,7 @@ public DestinationPostgres withDropCascade(boolean dropCascade) { /** * Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. */ - public DestinationPostgres withDropCascade(Optional dropCascade) { + public DestinationPostgres withDropCascade(Optional dropCascade) { Utils.checkNotNull(dropCascade, "dropCascade"); this.dropCascade = dropCascade; return this; @@ -366,7 +361,7 @@ public DestinationPostgres withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public DestinationPostgres withJdbcUrlParams(Optional jdbcUrlParams) { + public DestinationPostgres withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -384,7 +379,7 @@ public DestinationPostgres withPassword(String password) { /** * Password associated with the username. */ - public DestinationPostgres withPassword(Optional password) { + public DestinationPostgres withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -402,7 +397,7 @@ public DestinationPostgres withPort(long port) { /** * Port of the database. */ - public DestinationPostgres withPort(Optional port) { + public DestinationPostgres withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -420,7 +415,7 @@ public DestinationPostgres withRawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into */ - public DestinationPostgres withRawDataSchema(Optional rawDataSchema) { + public DestinationPostgres withRawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -438,7 +433,7 @@ public DestinationPostgres withSchema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - public DestinationPostgres withSchema(Optional schema) { + public DestinationPostgres withSchema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -456,7 +451,7 @@ public DestinationPostgres withSsl(boolean ssl) { /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ - public DestinationPostgres withSsl(Optional ssl) { + public DestinationPostgres withSsl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -531,25 +526,25 @@ public boolean equals(java.lang.Object o) { } DestinationPostgres other = (DestinationPostgres) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && - java.util.Objects.deepEquals(this.dropCascade, other.dropCascade) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && - java.util.Objects.deepEquals(this.schema, other.schema) && - java.util.Objects.deepEquals(this.ssl, other.ssl) && - java.util.Objects.deepEquals(this.sslMode, other.sslMode) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && + Objects.deepEquals(this.dropCascade, other.dropCascade) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && + Objects.deepEquals(this.schema, other.schema) && + Objects.deepEquals(this.ssl, other.ssl) && + Objects.deepEquals(this.sslMode, other.sslMode) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, destinationType, disableTypeDedupe, @@ -589,23 +584,23 @@ public final static class Builder { private String database; - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; - private Optional dropCascade; + private Optional dropCascade; private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; - private Optional rawDataSchema = Optional.empty(); + private Optional rawDataSchema = Optional.empty(); - private Optional schema; + private Optional schema; - private Optional ssl; + private Optional ssl; private Optional sslMode = Optional.empty(); @@ -638,7 +633,7 @@ public Builder disableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public Builder disableTypeDedupe(Optional disableTypeDedupe) { + public Builder disableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -656,7 +651,7 @@ public Builder dropCascade(boolean dropCascade) { /** * Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. */ - public Builder dropCascade(Optional dropCascade) { + public Builder dropCascade(Optional dropCascade) { Utils.checkNotNull(dropCascade, "dropCascade"); this.dropCascade = dropCascade; return this; @@ -683,7 +678,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -701,7 +696,7 @@ public Builder password(String password) { /** * Password associated with the username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -719,7 +714,7 @@ public Builder port(long port) { /** * Port of the database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -737,7 +732,7 @@ public Builder rawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into */ - public Builder rawDataSchema(Optional rawDataSchema) { + public Builder rawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -755,7 +750,7 @@ public Builder schema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - public Builder schema(Optional schema) { + public Builder schema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -773,7 +768,7 @@ public Builder ssl(boolean ssl) { /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ - public Builder ssl(Optional ssl) { + public Builder ssl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -853,8 +848,7 @@ public DestinationPostgres build() { } if (ssl == null) { ssl = _SINGLETON_VALUE_Ssl.value(); - } - return new DestinationPostgres( + } return new DestinationPostgres( database, disableTypeDedupe, dropCascade, @@ -876,35 +870,35 @@ public DestinationPostgres build() { "\"postgres\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = + private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = new LazySingletonValue<>( "disable_type_dedupe", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DropCascade = + private static final LazySingletonValue> _SINGLETON_VALUE_DropCascade = new LazySingletonValue<>( "drop_cascade", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "5432", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schema = + private static final LazySingletonValue> _SINGLETON_VALUE_Schema = new LazySingletonValue<>( "schema", "\"public\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = + private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = new LazySingletonValue<>( "ssl", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresMode.java index 3f4ac1c5e..f8a18c8d0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPostgresMode { ALLOW("allow"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresNoTunnel.java index 36b634961..ded631fc1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationPostgresNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationPostgresNoTunnel other = (DestinationPostgresNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresPasswordAuthentication.java index e1a3bf371..61e639475 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationPostgresPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class DestinationPostgresPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class DestinationPostgresPasswordAuthentication { @JsonCreator public DestinationPostgresPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationPostgresSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public DestinationPostgresPasswordAuthentication withTunnelPort(long tunnelPort) /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationPostgresPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationPostgresPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationPostgresPasswordAuthentication other = (DestinationPostgresPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public DestinationPostgresPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationPostgresPasswordAuthentication( + } return new DestinationPostgresPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public DestinationPostgresPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHKeyAuthentication.java index 38ed3e0f1..0727a3a10 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationPostgresSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class DestinationPostgresSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class DestinationPostgresSSHKeyAuthentication { public DestinationPostgresSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationPostgresSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public DestinationPostgresSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationPostgresSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationPostgresSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationPostgresSSHKeyAuthentication other = (DestinationPostgresSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public DestinationPostgresSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationPostgresSSHKeyAuthentication( + } return new DestinationPostgresSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public DestinationPostgresSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHTunnelMethod.java index 0b7933550..4ce671cd2 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationPostgresSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationPostgresSSHTunnelMethod._Deserializer.class) public class DestinationPostgresSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationPostgresSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationPostgresSSHTunnelMethod of(DestinationPostgresPasswordA /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationPostgresNoTunnel}
    • - *
    • {@code DestinationPostgresSSHKeyAuthentication}
    • - *
    • {@code DestinationPostgresPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPostgresNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPostgresSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationPostgresPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationPostgresSSHTunnelMethod other = (DestinationPostgresSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationPostgresSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationPostgresSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasMode.java index b0882c910..9a4e881cf 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPostgresSchemasMode { PREFER("prefer"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.java new file mode 100644 index 000000000..fb83a56dc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes1Mode.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DestinationPostgresSchemasSSLModeSSLModes1Mode { + DISABLE("disable"); + + @JsonValue + private final String value; + + private DestinationPostgresSchemasSSLModeSSLModes1Mode(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes6Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes6Mode.java index b84771dfa..b9738f4a0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes6Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModes6Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPostgresSchemasSSLModeSSLModes6Mode { VERIFY_FULL("verify-full"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModesMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModesMode.java index 617c5f1f4..e919b88a4 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModesMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSSLModeSSLModesMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPostgresSchemasSSLModeSSLModesMode { VERIFY_CA("verify-ca"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSslModeMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSslModeMode.java index 7c8b3b587..631797a49 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSslModeMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasSslModeMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationPostgresSchemasSslModeMode { REQUIRE("require"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethod.java index 5b81625d9..075131f88 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationPostgresSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.java index 1d1eccccb..1138d2b38 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationPostgresSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethod.java index 657496ef0..f86c75c33 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPostgresTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationPostgresTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java b/src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java index 11147f3cc..65a846be1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPubsub.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationPubsub { /** @@ -26,28 +28,28 @@ public class DestinationPubsub { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("batching_delay_threshold") - private Optional batchingDelayThreshold; + private Optional batchingDelayThreshold; /** * Number of messages before the buffer is flushed */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("batching_element_count_threshold") - private Optional batchingElementCountThreshold; + private Optional batchingElementCountThreshold; /** * If TRUE messages will be buffered instead of sending them one by one */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("batching_enabled") - private Optional batchingEnabled; + private Optional batchingEnabled; /** * Number of bytes before the buffer is flushed */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("batching_request_bytes_threshold") - private Optional batchingRequestBytesThreshold; + private Optional batchingRequestBytesThreshold; /** * The contents of the JSON service account key. Check out the <a href="https://docs.airbyte.com/integrations/destinations/pubsub">docs</a> if you need help generating this key. @@ -63,7 +65,7 @@ public class DestinationPubsub { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ordering_enabled") - private Optional orderingEnabled; + private Optional orderingEnabled; /** * The GCP project ID for the project containing the target PubSub. @@ -79,12 +81,12 @@ public class DestinationPubsub { @JsonCreator public DestinationPubsub( - @JsonProperty("batching_delay_threshold") Optional batchingDelayThreshold, - @JsonProperty("batching_element_count_threshold") Optional batchingElementCountThreshold, - @JsonProperty("batching_enabled") Optional batchingEnabled, - @JsonProperty("batching_request_bytes_threshold") Optional batchingRequestBytesThreshold, + @JsonProperty("batching_delay_threshold") Optional batchingDelayThreshold, + @JsonProperty("batching_element_count_threshold") Optional batchingElementCountThreshold, + @JsonProperty("batching_enabled") Optional batchingEnabled, + @JsonProperty("batching_request_bytes_threshold") Optional batchingRequestBytesThreshold, @JsonProperty("credentials_json") String credentialsJson, - @JsonProperty("ordering_enabled") Optional orderingEnabled, + @JsonProperty("ordering_enabled") Optional orderingEnabled, @JsonProperty("project_id") String projectId, @JsonProperty("topic_id") String topicId) { Utils.checkNotNull(batchingDelayThreshold, "batchingDelayThreshold"); @@ -116,37 +118,33 @@ public DestinationPubsub( /** * Number of ms before the buffer is flushed */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional batchingDelayThreshold() { - return (Optional) batchingDelayThreshold; + return batchingDelayThreshold; } /** * Number of messages before the buffer is flushed */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional batchingElementCountThreshold() { - return (Optional) batchingElementCountThreshold; + return batchingElementCountThreshold; } /** * If TRUE messages will be buffered instead of sending them one by one */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional batchingEnabled() { - return (Optional) batchingEnabled; + return batchingEnabled; } /** * Number of bytes before the buffer is flushed */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional batchingRequestBytesThreshold() { - return (Optional) batchingRequestBytesThreshold; + return batchingRequestBytesThreshold; } /** @@ -165,10 +163,9 @@ public Pubsub destinationType() { /** * If TRUE PubSub publisher will have <a href="https://cloud.google.com/pubsub/docs/ordering">message ordering</a> enabled. Every message will have an ordering key of stream */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional orderingEnabled() { - return (Optional) orderingEnabled; + return orderingEnabled; } /** @@ -203,7 +200,7 @@ public DestinationPubsub withBatchingDelayThreshold(long batchingDelayThreshold) /** * Number of ms before the buffer is flushed */ - public DestinationPubsub withBatchingDelayThreshold(Optional batchingDelayThreshold) { + public DestinationPubsub withBatchingDelayThreshold(Optional batchingDelayThreshold) { Utils.checkNotNull(batchingDelayThreshold, "batchingDelayThreshold"); this.batchingDelayThreshold = batchingDelayThreshold; return this; @@ -221,7 +218,7 @@ public DestinationPubsub withBatchingElementCountThreshold(long batchingElementC /** * Number of messages before the buffer is flushed */ - public DestinationPubsub withBatchingElementCountThreshold(Optional batchingElementCountThreshold) { + public DestinationPubsub withBatchingElementCountThreshold(Optional batchingElementCountThreshold) { Utils.checkNotNull(batchingElementCountThreshold, "batchingElementCountThreshold"); this.batchingElementCountThreshold = batchingElementCountThreshold; return this; @@ -239,7 +236,7 @@ public DestinationPubsub withBatchingEnabled(boolean batchingEnabled) { /** * If TRUE messages will be buffered instead of sending them one by one */ - public DestinationPubsub withBatchingEnabled(Optional batchingEnabled) { + public DestinationPubsub withBatchingEnabled(Optional batchingEnabled) { Utils.checkNotNull(batchingEnabled, "batchingEnabled"); this.batchingEnabled = batchingEnabled; return this; @@ -257,7 +254,7 @@ public DestinationPubsub withBatchingRequestBytesThreshold(long batchingRequestB /** * Number of bytes before the buffer is flushed */ - public DestinationPubsub withBatchingRequestBytesThreshold(Optional batchingRequestBytesThreshold) { + public DestinationPubsub withBatchingRequestBytesThreshold(Optional batchingRequestBytesThreshold) { Utils.checkNotNull(batchingRequestBytesThreshold, "batchingRequestBytesThreshold"); this.batchingRequestBytesThreshold = batchingRequestBytesThreshold; return this; @@ -284,7 +281,7 @@ public DestinationPubsub withOrderingEnabled(boolean orderingEnabled) { /** * If TRUE PubSub publisher will have <a href="https://cloud.google.com/pubsub/docs/ordering">message ordering</a> enabled. Every message will have an ordering key of stream */ - public DestinationPubsub withOrderingEnabled(Optional orderingEnabled) { + public DestinationPubsub withOrderingEnabled(Optional orderingEnabled) { Utils.checkNotNull(orderingEnabled, "orderingEnabled"); this.orderingEnabled = orderingEnabled; return this; @@ -318,20 +315,20 @@ public boolean equals(java.lang.Object o) { } DestinationPubsub other = (DestinationPubsub) o; return - java.util.Objects.deepEquals(this.batchingDelayThreshold, other.batchingDelayThreshold) && - java.util.Objects.deepEquals(this.batchingElementCountThreshold, other.batchingElementCountThreshold) && - java.util.Objects.deepEquals(this.batchingEnabled, other.batchingEnabled) && - java.util.Objects.deepEquals(this.batchingRequestBytesThreshold, other.batchingRequestBytesThreshold) && - java.util.Objects.deepEquals(this.credentialsJson, other.credentialsJson) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.orderingEnabled, other.orderingEnabled) && - java.util.Objects.deepEquals(this.projectId, other.projectId) && - java.util.Objects.deepEquals(this.topicId, other.topicId); + Objects.deepEquals(this.batchingDelayThreshold, other.batchingDelayThreshold) && + Objects.deepEquals(this.batchingElementCountThreshold, other.batchingElementCountThreshold) && + Objects.deepEquals(this.batchingEnabled, other.batchingEnabled) && + Objects.deepEquals(this.batchingRequestBytesThreshold, other.batchingRequestBytesThreshold) && + Objects.deepEquals(this.credentialsJson, other.credentialsJson) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.orderingEnabled, other.orderingEnabled) && + Objects.deepEquals(this.projectId, other.projectId) && + Objects.deepEquals(this.topicId, other.topicId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( batchingDelayThreshold, batchingElementCountThreshold, batchingEnabled, @@ -359,17 +356,17 @@ public String toString() { public final static class Builder { - private Optional batchingDelayThreshold; + private Optional batchingDelayThreshold; - private Optional batchingElementCountThreshold; + private Optional batchingElementCountThreshold; - private Optional batchingEnabled; + private Optional batchingEnabled; - private Optional batchingRequestBytesThreshold; + private Optional batchingRequestBytesThreshold; private String credentialsJson; - private Optional orderingEnabled; + private Optional orderingEnabled; private String projectId; @@ -391,7 +388,7 @@ public Builder batchingDelayThreshold(long batchingDelayThreshold) { /** * Number of ms before the buffer is flushed */ - public Builder batchingDelayThreshold(Optional batchingDelayThreshold) { + public Builder batchingDelayThreshold(Optional batchingDelayThreshold) { Utils.checkNotNull(batchingDelayThreshold, "batchingDelayThreshold"); this.batchingDelayThreshold = batchingDelayThreshold; return this; @@ -409,7 +406,7 @@ public Builder batchingElementCountThreshold(long batchingElementCountThreshold) /** * Number of messages before the buffer is flushed */ - public Builder batchingElementCountThreshold(Optional batchingElementCountThreshold) { + public Builder batchingElementCountThreshold(Optional batchingElementCountThreshold) { Utils.checkNotNull(batchingElementCountThreshold, "batchingElementCountThreshold"); this.batchingElementCountThreshold = batchingElementCountThreshold; return this; @@ -427,7 +424,7 @@ public Builder batchingEnabled(boolean batchingEnabled) { /** * If TRUE messages will be buffered instead of sending them one by one */ - public Builder batchingEnabled(Optional batchingEnabled) { + public Builder batchingEnabled(Optional batchingEnabled) { Utils.checkNotNull(batchingEnabled, "batchingEnabled"); this.batchingEnabled = batchingEnabled; return this; @@ -445,7 +442,7 @@ public Builder batchingRequestBytesThreshold(long batchingRequestBytesThreshold) /** * Number of bytes before the buffer is flushed */ - public Builder batchingRequestBytesThreshold(Optional batchingRequestBytesThreshold) { + public Builder batchingRequestBytesThreshold(Optional batchingRequestBytesThreshold) { Utils.checkNotNull(batchingRequestBytesThreshold, "batchingRequestBytesThreshold"); this.batchingRequestBytesThreshold = batchingRequestBytesThreshold; return this; @@ -472,7 +469,7 @@ public Builder orderingEnabled(boolean orderingEnabled) { /** * If TRUE PubSub publisher will have <a href="https://cloud.google.com/pubsub/docs/ordering">message ordering</a> enabled. Every message will have an ordering key of stream */ - public Builder orderingEnabled(Optional orderingEnabled) { + public Builder orderingEnabled(Optional orderingEnabled) { Utils.checkNotNull(orderingEnabled, "orderingEnabled"); this.orderingEnabled = orderingEnabled; return this; @@ -511,8 +508,7 @@ public DestinationPubsub build() { } if (orderingEnabled == null) { orderingEnabled = _SINGLETON_VALUE_OrderingEnabled.value(); - } - return new DestinationPubsub( + } return new DestinationPubsub( batchingDelayThreshold, batchingElementCountThreshold, batchingEnabled, @@ -523,29 +519,29 @@ public DestinationPubsub build() { topicId); } - private static final LazySingletonValue> _SINGLETON_VALUE_BatchingDelayThreshold = + private static final LazySingletonValue> _SINGLETON_VALUE_BatchingDelayThreshold = new LazySingletonValue<>( "batching_delay_threshold", "1", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_BatchingElementCountThreshold = + private static final LazySingletonValue> _SINGLETON_VALUE_BatchingElementCountThreshold = new LazySingletonValue<>( "batching_element_count_threshold", "1", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_BatchingEnabled = + private static final LazySingletonValue> _SINGLETON_VALUE_BatchingEnabled = new LazySingletonValue<>( "batching_enabled", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_BatchingRequestBytesThreshold = + private static final LazySingletonValue> _SINGLETON_VALUE_BatchingRequestBytesThreshold = new LazySingletonValue<>( "batching_request_bytes_threshold", "1", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_DestinationType = new LazySingletonValue<>( @@ -553,11 +549,11 @@ public DestinationPubsub build() { "\"pubsub\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_OrderingEnabled = + private static final LazySingletonValue> _SINGLETON_VALUE_OrderingEnabled = new LazySingletonValue<>( "ordering_enabled", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java b/src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java index eddeed6c2..da13fa512 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationPutRequest { @@ -78,13 +77,13 @@ public boolean equals(java.lang.Object o) { } DestinationPutRequest other = (DestinationPutRequest) o; return - java.util.Objects.deepEquals(this.configuration, other.configuration) && - java.util.Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.configuration, other.configuration) && + Objects.deepEquals(this.name, other.name); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configuration, name); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrant.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrant.java index d691325b5..2167e86c5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrant.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrant.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrant - The configuration model for the Vector DB based destinations. This model is used to generate the UI for the destination configuration, * as well as to provide type safety for the configuration passed to the destination. @@ -53,7 +54,7 @@ public class DestinationQdrant { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("omit_raw_text") - private Optional omitRawText; + private Optional omitRawText; @JsonProperty("processing") private DestinationQdrantProcessingConfigModel processing; @@ -62,7 +63,7 @@ public class DestinationQdrant { public DestinationQdrant( @JsonProperty("embedding") DestinationQdrantEmbedding embedding, @JsonProperty("indexing") DestinationQdrantIndexing indexing, - @JsonProperty("omit_raw_text") Optional omitRawText, + @JsonProperty("omit_raw_text") Optional omitRawText, @JsonProperty("processing") DestinationQdrantProcessingConfigModel processing) { Utils.checkNotNull(embedding, "embedding"); Utils.checkNotNull(indexing, "indexing"); @@ -106,10 +107,9 @@ public DestinationQdrantIndexing indexing() { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional omitRawText() { - return (Optional) omitRawText; + return omitRawText; } @JsonIgnore @@ -151,7 +151,7 @@ public DestinationQdrant withOmitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public DestinationQdrant withOmitRawText(Optional omitRawText) { + public DestinationQdrant withOmitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationQdrant other = (DestinationQdrant) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.embedding, other.embedding) && - java.util.Objects.deepEquals(this.indexing, other.indexing) && - java.util.Objects.deepEquals(this.omitRawText, other.omitRawText) && - java.util.Objects.deepEquals(this.processing, other.processing); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.embedding, other.embedding) && + Objects.deepEquals(this.indexing, other.indexing) && + Objects.deepEquals(this.omitRawText, other.omitRawText) && + Objects.deepEquals(this.processing, other.processing); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, embedding, indexing, @@ -206,7 +206,7 @@ public final static class Builder { private DestinationQdrantIndexing indexing; - private Optional omitRawText; + private Optional omitRawText; private DestinationQdrantProcessingConfigModel processing; @@ -244,7 +244,7 @@ public Builder omitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public Builder omitRawText(Optional omitRawText) { + public Builder omitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -259,8 +259,7 @@ public Builder processing(DestinationQdrantProcessingConfigModel processing) { public DestinationQdrant build() { if (omitRawText == null) { omitRawText = _SINGLETON_VALUE_OmitRawText.value(); - } - return new DestinationQdrant( + } return new DestinationQdrant( embedding, indexing, omitRawText, @@ -273,11 +272,11 @@ public DestinationQdrant build() { "\"qdrant\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = + private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = new LazySingletonValue<>( "omit_raw_text", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantAuthenticationMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantAuthenticationMethod.java index c9cce268d..eef5a30d7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantAuthenticationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantAuthenticationMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationQdrantAuthenticationMethod - Method to authenticate with the Qdrant Instance @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationQdrantAuthenticationMethod._Deserializer.class) public class DestinationQdrantAuthenticationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationQdrantAuthenticationMethod(TypedObject value) { @@ -48,8 +45,8 @@ public static DestinationQdrantAuthenticationMethod of(DestinationQdrantNoAuth v /** * Returns an instance of one of these types: *

      - *
    • {@code ApiKeyAuth}
    • - *
    • {@code DestinationQdrantNoAuth}
    • + *
    • {@code com.airbyte.api.models.shared.ApiKeyAuth}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrantNoAuth}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } DestinationQdrantAuthenticationMethod other = (DestinationQdrantAuthenticationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationQdrantAuthenticationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationQdrantAuthenticationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantAzureOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantAzureOpenAI.java index f75aecd89..43625edfa 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantAzureOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantAzureOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrantAzureOpenAI - Use the Azure-hosted OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -131,15 +132,15 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantAzureOpenAI other = (DestinationQdrantAzureOpenAI) o; return - java.util.Objects.deepEquals(this.apiBase, other.apiBase) && - java.util.Objects.deepEquals(this.deployment, other.deployment) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.apiBase, other.apiBase) && + Objects.deepEquals(this.deployment, other.deployment) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiBase, deployment, mode, diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantByMarkdownHeader.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantByMarkdownHeader.java index f830aacbb..4c0105e57 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantByMarkdownHeader.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantByMarkdownHeader.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrantByMarkdownHeader - Split the text by Markdown headers down to the specified header level. If the chunk size fits multiple sections, they will be combined into a single chunk. */ @@ -33,11 +35,11 @@ public class DestinationQdrantByMarkdownHeader { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("split_level") - private Optional splitLevel; + private Optional splitLevel; @JsonCreator public DestinationQdrantByMarkdownHeader( - @JsonProperty("split_level") Optional splitLevel) { + @JsonProperty("split_level") Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.mode = Builder._SINGLETON_VALUE_Mode.value(); this.splitLevel = splitLevel; @@ -56,10 +58,9 @@ public Optional mode() { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional splitLevel() { - return (Optional) splitLevel; + return splitLevel; } public final static Builder builder() { @@ -78,7 +79,7 @@ public DestinationQdrantByMarkdownHeader withSplitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public DestinationQdrantByMarkdownHeader withSplitLevel(Optional splitLevel) { + public DestinationQdrantByMarkdownHeader withSplitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -94,13 +95,13 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantByMarkdownHeader other = (DestinationQdrantByMarkdownHeader) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.splitLevel, other.splitLevel); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.splitLevel, other.splitLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, splitLevel); } @@ -114,7 +115,7 @@ public String toString() { public final static class Builder { - private Optional splitLevel; + private Optional splitLevel; private Builder() { // force use of static builder() method @@ -132,7 +133,7 @@ public Builder splitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public Builder splitLevel(Optional splitLevel) { + public Builder splitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -141,8 +142,7 @@ public Builder splitLevel(Optional splitLevel) { public DestinationQdrantByMarkdownHeader build() { if (splitLevel == null) { splitLevel = _SINGLETON_VALUE_SplitLevel.value(); - } - return new DestinationQdrantByMarkdownHeader( + } return new DestinationQdrantByMarkdownHeader( splitLevel); } @@ -152,11 +152,11 @@ public DestinationQdrantByMarkdownHeader build() { "\"markdown\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = new LazySingletonValue<>( "split_level", "1", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantByProgrammingLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantByProgrammingLanguage.java index d7334aa98..d603462de 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantByProgrammingLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantByProgrammingLanguage.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrantByProgrammingLanguage - Split the text by suitable delimiters based on the programming language. This is useful for splitting code into chunks. */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantByProgrammingLanguage other = (DestinationQdrantByProgrammingLanguage) o; return - java.util.Objects.deepEquals(this.language, other.language) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.language, other.language) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( language, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantBySeparator.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantBySeparator.java index e16201561..5d4a61b2c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantBySeparator.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantBySeparator.java @@ -1,23 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrantBySeparator - Split the text by the list of separators until the chunk size is reached, using the earlier mentioned separators where possible. This is useful for splitting text fields by paragraphs, sentences, words, etc. */ @@ -29,7 +32,7 @@ public class DestinationQdrantBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("keep_separator") - private Optional keepSeparator; + private Optional keepSeparator; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -40,12 +43,12 @@ public class DestinationQdrantBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("separators") - private Optional> separators; + private Optional> separators; @JsonCreator public DestinationQdrantBySeparator( - @JsonProperty("keep_separator") Optional keepSeparator, - @JsonProperty("separators") Optional> separators) { + @JsonProperty("keep_separator") Optional keepSeparator, + @JsonProperty("separators") Optional> separators) { Utils.checkNotNull(keepSeparator, "keepSeparator"); Utils.checkNotNull(separators, "separators"); this.keepSeparator = keepSeparator; @@ -60,10 +63,9 @@ public DestinationQdrantBySeparator() { /** * Whether to keep the separator in the resulting chunks */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional keepSeparator() { - return (Optional) keepSeparator; + return keepSeparator; } @SuppressWarnings("unchecked") @@ -77,8 +79,8 @@ public Optional mode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> separators() { - return (Optional>) separators; + public Optional> separators() { + return (Optional>) separators; } public final static Builder builder() { @@ -97,7 +99,7 @@ public DestinationQdrantBySeparator withKeepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public DestinationQdrantBySeparator withKeepSeparator(Optional keepSeparator) { + public DestinationQdrantBySeparator withKeepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -106,7 +108,7 @@ public DestinationQdrantBySeparator withKeepSeparator(Optional separators) { + public DestinationQdrantBySeparator withSeparators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -115,7 +117,7 @@ public DestinationQdrantBySeparator withSeparators(java.util.List separa /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public DestinationQdrantBySeparator withSeparators(Optional> separators) { + public DestinationQdrantBySeparator withSeparators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -131,14 +133,14 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantBySeparator other = (DestinationQdrantBySeparator) o; return - java.util.Objects.deepEquals(this.keepSeparator, other.keepSeparator) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.separators, other.separators); + Objects.deepEquals(this.keepSeparator, other.keepSeparator) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.separators, other.separators); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( keepSeparator, mode, separators); @@ -154,9 +156,9 @@ public String toString() { public final static class Builder { - private Optional keepSeparator; + private Optional keepSeparator; - private Optional> separators = Optional.empty(); + private Optional> separators = Optional.empty(); private Builder() { // force use of static builder() method @@ -174,7 +176,7 @@ public Builder keepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public Builder keepSeparator(Optional keepSeparator) { + public Builder keepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -183,7 +185,7 @@ public Builder keepSeparator(Optional keepSeparator) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(java.util.List separators) { + public Builder separators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -192,7 +194,7 @@ public Builder separators(java.util.List separators) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(Optional> separators) { + public Builder separators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -201,17 +203,16 @@ public Builder separators(Optional> separators) public DestinationQdrantBySeparator build() { if (keepSeparator == null) { keepSeparator = _SINGLETON_VALUE_KeepSeparator.value(); - } - return new DestinationQdrantBySeparator( + } return new DestinationQdrantBySeparator( keepSeparator, separators); } - private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = + private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = new LazySingletonValue<>( "keep_separator", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantCohere.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantCohere.java index 0417716ca..d8da92191 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantCohere.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantCohere.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrantCohere - Use the Cohere API to embed text. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantCohere other = (DestinationQdrantCohere) o; return - java.util.Objects.deepEquals(this.cohereKey, other.cohereKey) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.cohereKey, other.cohereKey) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cohereKey, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantEmbedding.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantEmbedding.java index 1d436946c..7decf5b65 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantEmbedding.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantEmbedding.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationQdrantEmbedding - Embedding configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationQdrantEmbedding._Deserializer.class) public class DestinationQdrantEmbedding { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationQdrantEmbedding(TypedObject value) { @@ -63,11 +60,11 @@ public static DestinationQdrantEmbedding of(DestinationQdrantOpenAICompatible va /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationQdrantOpenAI}
    • - *
    • {@code DestinationQdrantCohere}
    • - *
    • {@code DestinationQdrantFake}
    • - *
    • {@code DestinationQdrantAzureOpenAI}
    • - *
    • {@code DestinationQdrantOpenAICompatible}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrantOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrantCohere}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrantFake}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrantAzureOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrantOpenAICompatible}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +91,24 @@ public boolean equals(java.lang.Object o) { return false; } DestinationQdrantEmbedding other = (DestinationQdrantEmbedding) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationQdrantEmbedding.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationQdrantEmbedding.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantFake.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantFake.java index c92dbf581..04f3544b2 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantFake.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantFake.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrantFake - Use a fake embedding made out of random vectors with 1536 embedding dimensions. This is useful for testing the data pipeline without incurring any costs. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantFake other = (DestinationQdrantFake) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantFieldNameMappingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantFieldNameMappingConfigModel.java index 29345ecc6..cc93fe37a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantFieldNameMappingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantFieldNameMappingConfigModel.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationQdrantFieldNameMappingConfigModel { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantFieldNameMappingConfigModel other = (DestinationQdrantFieldNameMappingConfigModel) o; return - java.util.Objects.deepEquals(this.fromField, other.fromField) && - java.util.Objects.deepEquals(this.toField, other.toField); + Objects.deepEquals(this.fromField, other.fromField) && + Objects.deepEquals(this.toField, other.toField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fromField, toField); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantIndexing.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantIndexing.java index db838f17e..0028c87ed 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantIndexing.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantIndexing.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrantIndexing - Indexing configuration */ @@ -49,14 +51,14 @@ public class DestinationQdrantIndexing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("prefer_grpc") - private Optional preferGrpc; + private Optional preferGrpc; /** * The field in the payload that contains the embedded text */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_field") - private Optional textField; + private Optional textField; /** * Public Endpoint of the Qdrant cluser @@ -69,8 +71,8 @@ public DestinationQdrantIndexing( @JsonProperty("auth_method") Optional authMethod, @JsonProperty("collection") String collection, @JsonProperty("distance_metric") Optional distanceMetric, - @JsonProperty("prefer_grpc") Optional preferGrpc, - @JsonProperty("text_field") Optional textField, + @JsonProperty("prefer_grpc") Optional preferGrpc, + @JsonProperty("text_field") Optional textField, @JsonProperty("url") String url) { Utils.checkNotNull(authMethod, "authMethod"); Utils.checkNotNull(collection, "collection"); @@ -121,19 +123,17 @@ public Optional distanceMetric() { /** * Whether to prefer gRPC over HTTP. Set to true for Qdrant cloud clusters */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional preferGrpc() { - return (Optional) preferGrpc; + return preferGrpc; } /** * The field in the payload that contains the embedded text */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional textField() { - return (Optional) textField; + return textField; } /** @@ -205,7 +205,7 @@ public DestinationQdrantIndexing withPreferGrpc(boolean preferGrpc) { /** * Whether to prefer gRPC over HTTP. Set to true for Qdrant cloud clusters */ - public DestinationQdrantIndexing withPreferGrpc(Optional preferGrpc) { + public DestinationQdrantIndexing withPreferGrpc(Optional preferGrpc) { Utils.checkNotNull(preferGrpc, "preferGrpc"); this.preferGrpc = preferGrpc; return this; @@ -223,7 +223,7 @@ public DestinationQdrantIndexing withTextField(String textField) { /** * The field in the payload that contains the embedded text */ - public DestinationQdrantIndexing withTextField(Optional textField) { + public DestinationQdrantIndexing withTextField(Optional textField) { Utils.checkNotNull(textField, "textField"); this.textField = textField; return this; @@ -248,17 +248,17 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantIndexing other = (DestinationQdrantIndexing) o; return - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.collection, other.collection) && - java.util.Objects.deepEquals(this.distanceMetric, other.distanceMetric) && - java.util.Objects.deepEquals(this.preferGrpc, other.preferGrpc) && - java.util.Objects.deepEquals(this.textField, other.textField) && - java.util.Objects.deepEquals(this.url, other.url); + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.collection, other.collection) && + Objects.deepEquals(this.distanceMetric, other.distanceMetric) && + Objects.deepEquals(this.preferGrpc, other.preferGrpc) && + Objects.deepEquals(this.textField, other.textField) && + Objects.deepEquals(this.url, other.url); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authMethod, collection, distanceMetric, @@ -286,9 +286,9 @@ public final static class Builder { private Optional distanceMetric; - private Optional preferGrpc; + private Optional preferGrpc; - private Optional textField; + private Optional textField; private String url; @@ -353,7 +353,7 @@ public Builder preferGrpc(boolean preferGrpc) { /** * Whether to prefer gRPC over HTTP. Set to true for Qdrant cloud clusters */ - public Builder preferGrpc(Optional preferGrpc) { + public Builder preferGrpc(Optional preferGrpc) { Utils.checkNotNull(preferGrpc, "preferGrpc"); this.preferGrpc = preferGrpc; return this; @@ -371,7 +371,7 @@ public Builder textField(String textField) { /** * The field in the payload that contains the embedded text */ - public Builder textField(Optional textField) { + public Builder textField(Optional textField) { Utils.checkNotNull(textField, "textField"); this.textField = textField; return this; @@ -395,8 +395,7 @@ public DestinationQdrantIndexing build() { } if (textField == null) { textField = _SINGLETON_VALUE_TextField.value(); - } - return new DestinationQdrantIndexing( + } return new DestinationQdrantIndexing( authMethod, collection, distanceMetric, @@ -411,17 +410,17 @@ public DestinationQdrantIndexing build() { "\"cos\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_PreferGrpc = + private static final LazySingletonValue> _SINGLETON_VALUE_PreferGrpc = new LazySingletonValue<>( "prefer_grpc", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TextField = + private static final LazySingletonValue> _SINGLETON_VALUE_TextField = new LazySingletonValue<>( "text_field", "\"text\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantLanguage.java index f574dea91..2ba3793d0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantLanguage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationQdrantLanguage - Split code in suitable places based on the programming language diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantMode.java index 3534f392f..979b00260 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantMode { OPENAI("openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantNoAuth.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantNoAuth.java index df71b292e..5f0fca9d0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantNoAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantNoAuth.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationQdrantNoAuth { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantNoAuth other = (DestinationQdrantNoAuth) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAI.java index 4f4d455c6..c0c41a639 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrantOpenAI - Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantOpenAI other = (DestinationQdrantOpenAI) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, openaiKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAICompatible.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAICompatible.java index f6fc2f9f8..6e49fc06a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAICompatible.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantOpenAICompatible.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationQdrantOpenAICompatible - Use a service that's compatible with the OpenAI API to embed text. */ @@ -26,7 +28,7 @@ public class DestinationQdrantOpenAICompatible { @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * The base URL for your OpenAI-compatible service @@ -49,14 +51,14 @@ public class DestinationQdrantOpenAICompatible { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("model_name") - private Optional modelName; + private Optional modelName; @JsonCreator public DestinationQdrantOpenAICompatible( - @JsonProperty("api_key") Optional apiKey, + @JsonProperty("api_key") Optional apiKey, @JsonProperty("base_url") String baseUrl, @JsonProperty("dimensions") long dimensions, - @JsonProperty("model_name") Optional modelName) { + @JsonProperty("model_name") Optional modelName) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(baseUrl, "baseUrl"); Utils.checkNotNull(dimensions, "dimensions"); @@ -74,10 +76,9 @@ public DestinationQdrantOpenAICompatible( this(Optional.empty(), baseUrl, dimensions, Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** @@ -105,10 +106,9 @@ public Optional mode() { /** * The name of the model to use for embedding */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional modelName() { - return (Optional) modelName; + return modelName; } public final static Builder builder() { @@ -121,7 +121,7 @@ public DestinationQdrantOpenAICompatible withApiKey(String apiKey) { return this; } - public DestinationQdrantOpenAICompatible withApiKey(Optional apiKey) { + public DestinationQdrantOpenAICompatible withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -157,7 +157,7 @@ public DestinationQdrantOpenAICompatible withModelName(String modelName) { /** * The name of the model to use for embedding */ - public DestinationQdrantOpenAICompatible withModelName(Optional modelName) { + public DestinationQdrantOpenAICompatible withModelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantOpenAICompatible other = (DestinationQdrantOpenAICompatible) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.modelName, other.modelName); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.modelName, other.modelName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, baseUrl, dimensions, @@ -202,13 +202,13 @@ public String toString() { public final static class Builder { - private Optional apiKey; + private Optional apiKey; private String baseUrl; private Long dimensions; - private Optional modelName; + private Optional modelName; private Builder() { // force use of static builder() method @@ -220,7 +220,7 @@ public Builder apiKey(String apiKey) { return this; } - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -256,7 +256,7 @@ public Builder modelName(String modelName) { /** * The name of the model to use for embedding */ - public Builder modelName(Optional modelName) { + public Builder modelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -268,19 +268,18 @@ public DestinationQdrantOpenAICompatible build() { } if (modelName == null) { modelName = _SINGLETON_VALUE_ModelName.value(); - } - return new DestinationQdrantOpenAICompatible( + } return new DestinationQdrantOpenAICompatible( apiKey, baseUrl, dimensions, modelName); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = new LazySingletonValue<>( "api_key", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( @@ -288,11 +287,11 @@ public DestinationQdrantOpenAICompatible build() { "\"openai_compatible\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = + private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = new LazySingletonValue<>( "model_name", "\"text-embedding-ada-002\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantProcessingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantProcessingConfigModel.java index 3529506b6..43e457757 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantProcessingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantProcessingConfigModel.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class DestinationQdrantProcessingConfigModel { /** @@ -26,7 +29,7 @@ public class DestinationQdrantProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("chunk_overlap") - private Optional chunkOverlap; + private Optional chunkOverlap; /** * Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) @@ -39,21 +42,21 @@ public class DestinationQdrantProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("field_name_mappings") - private Optional> fieldNameMappings; + private Optional> fieldNameMappings; /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("metadata_fields") - private Optional> metadataFields; + private Optional> metadataFields; /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_fields") - private Optional> textFields; + private Optional> textFields; /** * Split text fields into chunks based on the specified method. @@ -64,11 +67,11 @@ public class DestinationQdrantProcessingConfigModel { @JsonCreator public DestinationQdrantProcessingConfigModel( - @JsonProperty("chunk_overlap") Optional chunkOverlap, + @JsonProperty("chunk_overlap") Optional chunkOverlap, @JsonProperty("chunk_size") long chunkSize, - @JsonProperty("field_name_mappings") Optional> fieldNameMappings, - @JsonProperty("metadata_fields") Optional> metadataFields, - @JsonProperty("text_fields") Optional> textFields, + @JsonProperty("field_name_mappings") Optional> fieldNameMappings, + @JsonProperty("metadata_fields") Optional> metadataFields, + @JsonProperty("text_fields") Optional> textFields, @JsonProperty("text_splitter") Optional textSplitter) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); Utils.checkNotNull(chunkSize, "chunkSize"); @@ -92,10 +95,9 @@ public DestinationQdrantProcessingConfigModel( /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional chunkOverlap() { - return (Optional) chunkOverlap; + return chunkOverlap; } /** @@ -111,8 +113,8 @@ public long chunkSize() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> fieldNameMappings() { - return (Optional>) fieldNameMappings; + public Optional> fieldNameMappings() { + return (Optional>) fieldNameMappings; } /** @@ -120,8 +122,8 @@ public Optional> fi */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> metadataFields() { - return (Optional>) metadataFields; + public Optional> metadataFields() { + return (Optional>) metadataFields; } /** @@ -129,8 +131,8 @@ public Optional> metadataFields() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> textFields() { - return (Optional>) textFields; + public Optional> textFields() { + return (Optional>) textFields; } /** @@ -158,7 +160,7 @@ public DestinationQdrantProcessingConfigModel withChunkOverlap(long chunkOverlap /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public DestinationQdrantProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { + public DestinationQdrantProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -176,7 +178,7 @@ public DestinationQdrantProcessingConfigModel withChunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationQdrantProcessingConfigModel withFieldNameMappings(java.util.List fieldNameMappings) { + public DestinationQdrantProcessingConfigModel withFieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -185,7 +187,7 @@ public DestinationQdrantProcessingConfigModel withFieldNameMappings(java.util.Li /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationQdrantProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { + public DestinationQdrantProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -194,7 +196,7 @@ public DestinationQdrantProcessingConfigModel withFieldNameMappings(Optional metadataFields) { + public DestinationQdrantProcessingConfigModel withMetadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -203,7 +205,7 @@ public DestinationQdrantProcessingConfigModel withMetadataFields(java.util.List< /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public DestinationQdrantProcessingConfigModel withMetadataFields(Optional> metadataFields) { + public DestinationQdrantProcessingConfigModel withMetadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -212,7 +214,7 @@ public DestinationQdrantProcessingConfigModel withMetadataFields(Optional textFields) { + public DestinationQdrantProcessingConfigModel withTextFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -221,7 +223,7 @@ public DestinationQdrantProcessingConfigModel withTextFields(java.util.List> textFields) { + public DestinationQdrantProcessingConfigModel withTextFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -255,17 +257,17 @@ public boolean equals(java.lang.Object o) { } DestinationQdrantProcessingConfigModel other = (DestinationQdrantProcessingConfigModel) o; return - java.util.Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && - java.util.Objects.deepEquals(this.chunkSize, other.chunkSize) && - java.util.Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && - java.util.Objects.deepEquals(this.metadataFields, other.metadataFields) && - java.util.Objects.deepEquals(this.textFields, other.textFields) && - java.util.Objects.deepEquals(this.textSplitter, other.textSplitter); + Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && + Objects.deepEquals(this.chunkSize, other.chunkSize) && + Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && + Objects.deepEquals(this.metadataFields, other.metadataFields) && + Objects.deepEquals(this.textFields, other.textFields) && + Objects.deepEquals(this.textSplitter, other.textSplitter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( chunkOverlap, chunkSize, fieldNameMappings, @@ -287,15 +289,15 @@ public String toString() { public final static class Builder { - private Optional chunkOverlap; + private Optional chunkOverlap; private Long chunkSize; - private Optional> fieldNameMappings = Optional.empty(); + private Optional> fieldNameMappings = Optional.empty(); - private Optional> metadataFields = Optional.empty(); + private Optional> metadataFields = Optional.empty(); - private Optional> textFields = Optional.empty(); + private Optional> textFields = Optional.empty(); private Optional textSplitter = Optional.empty(); @@ -315,7 +317,7 @@ public Builder chunkOverlap(long chunkOverlap) { /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public Builder chunkOverlap(Optional chunkOverlap) { + public Builder chunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -333,7 +335,7 @@ public Builder chunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public Builder fieldNameMappings(java.util.List fieldNameMappings) { + public Builder fieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -342,7 +344,7 @@ public Builder fieldNameMappings(java.util.List> fieldNameMappings) { + public Builder fieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -351,7 +353,7 @@ public Builder fieldNameMappings(Optional metadataFields) { + public Builder metadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -360,7 +362,7 @@ public Builder metadataFields(java.util.List metadataFields) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public Builder metadataFields(Optional> metadataFields) { + public Builder metadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -369,7 +371,7 @@ public Builder metadataFields(Optional> metadat /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(java.util.List textFields) { + public Builder textFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -378,7 +380,7 @@ public Builder textFields(java.util.List textFields) { /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(Optional> textFields) { + public Builder textFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -405,8 +407,7 @@ public Builder textSplitter(Optional te public DestinationQdrantProcessingConfigModel build() { if (chunkOverlap == null) { chunkOverlap = _SINGLETON_VALUE_ChunkOverlap.value(); - } - return new DestinationQdrantProcessingConfigModel( + } return new DestinationQdrantProcessingConfigModel( chunkOverlap, chunkSize, fieldNameMappings, @@ -415,11 +416,11 @@ public DestinationQdrantProcessingConfigModel build() { textSplitter); } - private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = + private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = new LazySingletonValue<>( "chunk_overlap", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.java index c3625bba9..0178e38c9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbedding5Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantSchemasEmbeddingEmbedding5Mode { OPENAI_COMPATIBLE("openai_compatible"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.java index 8557e90aa..3c597b098 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantSchemasEmbeddingEmbeddingMode { AZURE_OPENAI("azure_openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingMode.java index 1927c4718..2c14038d7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantSchemasEmbeddingMode { FAKE("fake"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingAuthMethodMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingAuthMethodMode.java index 68c8730f4..040bf8041 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingAuthMethodMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingAuthMethodMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantSchemasIndexingAuthMethodMode { NO_AUTH("no_auth"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingMode.java index 79975286e..785639c03 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasIndexingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantSchemasIndexingMode { API_KEY_AUTH("api_key_auth"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasMode.java index 39870524d..2d83d107a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantSchemasMode { COHERE("cohere"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingMode.java index 41535262c..6ad10dd67 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantSchemasProcessingMode { SEPARATOR("separator"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.java index dfffe1023..80eb25868 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantSchemasProcessingTextSplitterMode { MARKDOWN("markdown"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.java index 684129af3..027049ac8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode { CODE("code"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantTextSplitter.java b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantTextSplitter.java index e1cc8b0d3..bb88ff365 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationQdrantTextSplitter.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationQdrantTextSplitter.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationQdrantTextSplitter - Split text fields into chunks based on the specified method. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationQdrantTextSplitter._Deserializer.class) public class DestinationQdrantTextSplitter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationQdrantTextSplitter(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationQdrantTextSplitter of(DestinationQdrantByProgrammingLan /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationQdrantBySeparator}
    • - *
    • {@code DestinationQdrantByMarkdownHeader}
    • - *
    • {@code DestinationQdrantByProgrammingLanguage}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrantBySeparator}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrantByMarkdownHeader}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationQdrantByProgrammingLanguage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationQdrantTextSplitter other = (DestinationQdrantTextSplitter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationQdrantTextSplitter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationQdrantTextSplitter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedis.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedis.java index 858294663..7bece6f74 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedis.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedis.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationRedis { /** @@ -42,21 +45,21 @@ public class DestinationRedis { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * Port of Redis. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * Indicates whether SSL encryption protocol will be used to connect to Redis. It is recommended to use SSL connection if possible. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl") - private Optional ssl; + private Optional ssl; /** * SSL connection modes. @@ -83,9 +86,9 @@ public class DestinationRedis { public DestinationRedis( @JsonProperty("cache_type") Optional cacheType, @JsonProperty("host") String host, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, - @JsonProperty("ssl") Optional ssl, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, + @JsonProperty("ssl") Optional ssl, @JsonProperty("ssl_mode") Optional sslMode, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { @@ -139,28 +142,25 @@ public String host() { /** * Password associated with Redis. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * Port of Redis. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * Indicates whether SSL encryption protocol will be used to connect to Redis. It is recommended to use SSL connection if possible. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ssl() { - return (Optional) ssl; + return ssl; } /** @@ -233,7 +233,7 @@ public DestinationRedis withPassword(String password) { /** * Password associated with Redis. */ - public DestinationRedis withPassword(Optional password) { + public DestinationRedis withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -251,7 +251,7 @@ public DestinationRedis withPort(long port) { /** * Port of Redis. */ - public DestinationRedis withPort(Optional port) { + public DestinationRedis withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -269,7 +269,7 @@ public DestinationRedis withSsl(boolean ssl) { /** * Indicates whether SSL encryption protocol will be used to connect to Redis. It is recommended to use SSL connection if possible. */ - public DestinationRedis withSsl(Optional ssl) { + public DestinationRedis withSsl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -332,20 +332,20 @@ public boolean equals(java.lang.Object o) { } DestinationRedis other = (DestinationRedis) o; return - java.util.Objects.deepEquals(this.cacheType, other.cacheType) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.ssl, other.ssl) && - java.util.Objects.deepEquals(this.sslMode, other.sslMode) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.cacheType, other.cacheType) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.ssl, other.ssl) && + Objects.deepEquals(this.sslMode, other.sslMode) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cacheType, destinationType, host, @@ -377,11 +377,11 @@ public final static class Builder { private String host; - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; - private Optional ssl; + private Optional ssl; private Optional sslMode = Optional.empty(); @@ -432,7 +432,7 @@ public Builder password(String password) { /** * Password associated with Redis. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -450,7 +450,7 @@ public Builder port(long port) { /** * Port of Redis. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -468,7 +468,7 @@ public Builder ssl(boolean ssl) { /** * Indicates whether SSL encryption protocol will be used to connect to Redis. It is recommended to use SSL connection if possible. */ - public Builder ssl(Optional ssl) { + public Builder ssl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -530,8 +530,7 @@ public DestinationRedis build() { } if (ssl == null) { ssl = _SINGLETON_VALUE_Ssl.value(); - } - return new DestinationRedis( + } return new DestinationRedis( cacheType, host, password, @@ -554,17 +553,17 @@ public DestinationRedis build() { "\"redis\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "6379", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = + private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = new LazySingletonValue<>( "ssl", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisDisable.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisDisable.java index 5abecdd64..c392578e6 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisDisable.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisDisable.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationRedisDisable - Disable SSL. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationRedisDisable other = (DestinationRedisDisable) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisMode.java index d6a7dd3fd..8b349e674 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationRedisMode { DISABLE("disable"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisNoTunnel.java index 4f582c771..981bd217b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationRedisNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationRedisNoTunnel other = (DestinationRedisNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisPasswordAuthentication.java index 283b1c650..19ee30795 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationRedisPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class DestinationRedisPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class DestinationRedisPasswordAuthentication { @JsonCreator public DestinationRedisPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationRedisSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public DestinationRedisPasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationRedisPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationRedisPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationRedisPasswordAuthentication other = (DestinationRedisPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public DestinationRedisPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationRedisPasswordAuthentication( + } return new DestinationRedisPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public DestinationRedisPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHKeyAuthentication.java index e0b5b4b72..d0cca2881 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationRedisSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class DestinationRedisSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class DestinationRedisSSHKeyAuthentication { public DestinationRedisSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationRedisSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public DestinationRedisSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationRedisSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationRedisSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationRedisSSHKeyAuthentication other = (DestinationRedisSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public DestinationRedisSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationRedisSSHKeyAuthentication( + } return new DestinationRedisSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public DestinationRedisSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHTunnelMethod.java index 8c753f540..cc628a57a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationRedisSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationRedisSSHTunnelMethod._Deserializer.class) public class DestinationRedisSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationRedisSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationRedisSSHTunnelMethod of(DestinationRedisPasswordAuthent /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationRedisNoTunnel}
    • - *
    • {@code DestinationRedisSSHKeyAuthentication}
    • - *
    • {@code DestinationRedisPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedisNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedisSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedisPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationRedisSSHTunnelMethod other = (DestinationRedisSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationRedisSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationRedisSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSLModes.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSLModes.java index 5853ddedc..a34af83d9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSLModes.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSSLModes.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationRedisSSLModes - SSL connection modes. @@ -29,7 +26,7 @@ @JsonDeserialize(using = DestinationRedisSSLModes._Deserializer.class) public class DestinationRedisSSLModes { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationRedisSSLModes(TypedObject value) { @@ -49,8 +46,8 @@ public static DestinationRedisSSLModes of(DestinationRedisVerifyFull value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationRedisDisable}
    • - *
    • {@code DestinationRedisVerifyFull}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedisDisable}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedisVerifyFull}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -77,21 +74,21 @@ public boolean equals(java.lang.Object o) { return false; } DestinationRedisSSLModes other = (DestinationRedisSSLModes) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationRedisSSLModes.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationRedisSSLModes.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasMode.java index 10e052b23..bcc8f8a07 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationRedisSchemasMode { VERIFY_FULL("verify-full"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethod.java index edc27479d..1e7df4a0e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationRedisSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.java index 55f60072d..aa9a6a848 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationRedisSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethod.java index 9ce2af735..aa9f6b3da 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationRedisTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedisVerifyFull.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedisVerifyFull.java index 283902367..b4c0c4aaf 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedisVerifyFull.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedisVerifyFull.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationRedisVerifyFull - Verify-full SSL mode. */ @@ -47,7 +48,7 @@ public class DestinationRedisVerifyFull { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_key_password") - private Optional clientKeyPassword; + private Optional clientKeyPassword; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -58,7 +59,7 @@ public DestinationRedisVerifyFull( @JsonProperty("ca_certificate") String caCertificate, @JsonProperty("client_certificate") String clientCertificate, @JsonProperty("client_key") String clientKey, - @JsonProperty("client_key_password") Optional clientKeyPassword) { + @JsonProperty("client_key_password") Optional clientKeyPassword) { Utils.checkNotNull(caCertificate, "caCertificate"); Utils.checkNotNull(clientCertificate, "clientCertificate"); Utils.checkNotNull(clientKey, "clientKey"); @@ -104,10 +105,9 @@ public String clientKey() { /** * Password for keystorage. If you do not add it - the password will be generated automatically. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientKeyPassword() { - return (Optional) clientKeyPassword; + return clientKeyPassword; } @SuppressWarnings("unchecked") @@ -159,7 +159,7 @@ public DestinationRedisVerifyFull withClientKeyPassword(String clientKeyPassword /** * Password for keystorage. If you do not add it - the password will be generated automatically. */ - public DestinationRedisVerifyFull withClientKeyPassword(Optional clientKeyPassword) { + public DestinationRedisVerifyFull withClientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; @@ -175,16 +175,16 @@ public boolean equals(java.lang.Object o) { } DestinationRedisVerifyFull other = (DestinationRedisVerifyFull) o; return - java.util.Objects.deepEquals(this.caCertificate, other.caCertificate) && - java.util.Objects.deepEquals(this.clientCertificate, other.clientCertificate) && - java.util.Objects.deepEquals(this.clientKey, other.clientKey) && - java.util.Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.clientCertificate, other.clientCertificate) && + Objects.deepEquals(this.clientKey, other.clientKey) && + Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caCertificate, clientCertificate, clientKey, @@ -210,7 +210,7 @@ public final static class Builder { private String clientKey; - private Optional clientKeyPassword = Optional.empty(); + private Optional clientKeyPassword = Optional.empty(); private Builder() { // force use of static builder() method @@ -255,7 +255,7 @@ public Builder clientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. If you do not add it - the password will be generated automatically. */ - public Builder clientKeyPassword(Optional clientKeyPassword) { + public Builder clientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java index 43a0c8b9e..47242f7d9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshift.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationRedshift { /** @@ -35,14 +38,14 @@ public class DestinationRedshift { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("disable_type_dedupe") - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; /** * Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("drop_cascade") - private Optional dropCascade; + private Optional dropCascade; /** * Host Endpoint of the Redshift Cluster (must include the cluster-id, region and end with .redshift.amazonaws.com) @@ -55,7 +58,7 @@ public class DestinationRedshift { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * Password associated with the username. @@ -68,21 +71,21 @@ public class DestinationRedshift { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * The schema to write raw tables into (default: airbyte_internal). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("raw_data_schema") - private Optional rawDataSchema; + private Optional rawDataSchema; /** * The default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is "public". */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schema") - private Optional schema; + private Optional schema; /** * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -107,14 +110,14 @@ public class DestinationRedshift { @JsonCreator public DestinationRedshift( @JsonProperty("database") String database, - @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, - @JsonProperty("drop_cascade") Optional dropCascade, + @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, + @JsonProperty("drop_cascade") Optional dropCascade, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, @JsonProperty("password") String password, - @JsonProperty("port") Optional port, - @JsonProperty("raw_data_schema") Optional rawDataSchema, - @JsonProperty("schema") Optional schema, + @JsonProperty("port") Optional port, + @JsonProperty("raw_data_schema") Optional rawDataSchema, + @JsonProperty("schema") Optional schema, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("uploading_method") Optional uploadingMethod, @JsonProperty("username") String username) { @@ -169,19 +172,17 @@ public Redshift destinationType() { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional disableTypeDedupe() { - return (Optional) disableTypeDedupe; + return disableTypeDedupe; } /** * Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dropCascade() { - return (Optional) dropCascade; + return dropCascade; } /** @@ -195,10 +196,9 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** @@ -212,28 +212,25 @@ public String password() { /** * Port of the database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * The schema to write raw tables into (default: airbyte_internal). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional rawDataSchema() { - return (Optional) rawDataSchema; + return rawDataSchema; } /** * The default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is "public". */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schema() { - return (Optional) schema; + return schema; } /** @@ -287,7 +284,7 @@ public DestinationRedshift withDisableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public DestinationRedshift withDisableTypeDedupe(Optional disableTypeDedupe) { + public DestinationRedshift withDisableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -305,7 +302,7 @@ public DestinationRedshift withDropCascade(boolean dropCascade) { /** * Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. */ - public DestinationRedshift withDropCascade(Optional dropCascade) { + public DestinationRedshift withDropCascade(Optional dropCascade) { Utils.checkNotNull(dropCascade, "dropCascade"); this.dropCascade = dropCascade; return this; @@ -332,7 +329,7 @@ public DestinationRedshift withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public DestinationRedshift withJdbcUrlParams(Optional jdbcUrlParams) { + public DestinationRedshift withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -359,7 +356,7 @@ public DestinationRedshift withPort(long port) { /** * Port of the database. */ - public DestinationRedshift withPort(Optional port) { + public DestinationRedshift withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -377,7 +374,7 @@ public DestinationRedshift withRawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal). */ - public DestinationRedshift withRawDataSchema(Optional rawDataSchema) { + public DestinationRedshift withRawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -395,7 +392,7 @@ public DestinationRedshift withSchema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is "public". */ - public DestinationRedshift withSchema(Optional schema) { + public DestinationRedshift withSchema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -456,24 +453,24 @@ public boolean equals(java.lang.Object o) { } DestinationRedshift other = (DestinationRedshift) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && - java.util.Objects.deepEquals(this.dropCascade, other.dropCascade) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && - java.util.Objects.deepEquals(this.schema, other.schema) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.uploadingMethod, other.uploadingMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && + Objects.deepEquals(this.dropCascade, other.dropCascade) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && + Objects.deepEquals(this.schema, other.schema) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.uploadingMethod, other.uploadingMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, destinationType, disableTypeDedupe, @@ -511,21 +508,21 @@ public final static class Builder { private String database; - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; - private Optional dropCascade; + private Optional dropCascade; private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); private String password; - private Optional port; + private Optional port; - private Optional rawDataSchema = Optional.empty(); + private Optional rawDataSchema = Optional.empty(); - private Optional schema; + private Optional schema; private Optional tunnelMethod = Optional.empty(); @@ -558,7 +555,7 @@ public Builder disableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public Builder disableTypeDedupe(Optional disableTypeDedupe) { + public Builder disableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -576,7 +573,7 @@ public Builder dropCascade(boolean dropCascade) { /** * Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. */ - public Builder dropCascade(Optional dropCascade) { + public Builder dropCascade(Optional dropCascade) { Utils.checkNotNull(dropCascade, "dropCascade"); this.dropCascade = dropCascade; return this; @@ -603,7 +600,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -630,7 +627,7 @@ public Builder port(long port) { /** * Port of the database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -648,7 +645,7 @@ public Builder rawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal). */ - public Builder rawDataSchema(Optional rawDataSchema) { + public Builder rawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -666,7 +663,7 @@ public Builder schema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is "public". */ - public Builder schema(Optional schema) { + public Builder schema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -729,8 +726,7 @@ public DestinationRedshift build() { } if (schema == null) { schema = _SINGLETON_VALUE_Schema.value(); - } - return new DestinationRedshift( + } return new DestinationRedshift( database, disableTypeDedupe, dropCascade, @@ -751,29 +747,29 @@ public DestinationRedshift build() { "\"redshift\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = + private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = new LazySingletonValue<>( "disable_type_dedupe", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DropCascade = + private static final LazySingletonValue> _SINGLETON_VALUE_DropCascade = new LazySingletonValue<>( "drop_cascade", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "5439", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schema = + private static final LazySingletonValue> _SINGLETON_VALUE_Schema = new LazySingletonValue<>( "schema", "\"public\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftMethod.java index 027aeabe8..a871af157 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationRedshiftMethod { S3_STAGING("S3 Staging"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftNoTunnel.java index 8687b1b99..05a21d1fe 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationRedshiftNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationRedshiftNoTunnel other = (DestinationRedshiftNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftPasswordAuthentication.java index 343e8674d..092f7d5f2 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationRedshiftPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class DestinationRedshiftPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class DestinationRedshiftPasswordAuthentication { @JsonCreator public DestinationRedshiftPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationRedshiftSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public DestinationRedshiftPasswordAuthentication withTunnelPort(long tunnelPort) /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationRedshiftPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationRedshiftPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationRedshiftPasswordAuthentication other = (DestinationRedshiftPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public DestinationRedshiftPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationRedshiftPasswordAuthentication( + } return new DestinationRedshiftPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public DestinationRedshiftPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftS3BucketRegion.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftS3BucketRegion.java index 70ef74680..67aed7ba5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftS3BucketRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftS3BucketRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationRedshiftS3BucketRegion - The region of the S3 staging bucket. diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHKeyAuthentication.java index 42cb9291d..a7f789679 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationRedshiftSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class DestinationRedshiftSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class DestinationRedshiftSSHKeyAuthentication { public DestinationRedshiftSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationRedshiftSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public DestinationRedshiftSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationRedshiftSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationRedshiftSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationRedshiftSSHKeyAuthentication other = (DestinationRedshiftSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public DestinationRedshiftSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationRedshiftSSHKeyAuthentication( + } return new DestinationRedshiftSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public DestinationRedshiftSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHTunnelMethod.java index 8b2ca9cc0..d49d37f55 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationRedshiftSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationRedshiftSSHTunnelMethod._Deserializer.class) public class DestinationRedshiftSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationRedshiftSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationRedshiftSSHTunnelMethod of(DestinationRedshiftPasswordA /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationRedshiftNoTunnel}
    • - *
    • {@code DestinationRedshiftSSHKeyAuthentication}
    • - *
    • {@code DestinationRedshiftPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedshiftNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedshiftSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationRedshiftPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationRedshiftSSHTunnelMethod other = (DestinationRedshiftSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationRedshiftSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationRedshiftSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethod.java index 660658cea..8b88106e5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationRedshiftSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.java index df11430ca..5e96fabc5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationRedshiftSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethod.java index 2ba656f70..7c7714e40 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationRedshiftTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationRedshiftTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java b/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java index a5c879065..405318a25 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java @@ -1,19 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * DestinationResponse - Provides details of a single destination. */ @@ -26,6 +26,12 @@ public class DestinationResponse { @JsonProperty("configuration") private DestinationConfiguration configuration; + @JsonProperty("createdAt") + private long createdAt; + + @JsonProperty("definitionId") + private String definitionId; + @JsonProperty("destinationId") private String destinationId; @@ -41,16 +47,22 @@ public class DestinationResponse { @JsonCreator public DestinationResponse( @JsonProperty("configuration") DestinationConfiguration configuration, + @JsonProperty("createdAt") long createdAt, + @JsonProperty("definitionId") String definitionId, @JsonProperty("destinationId") String destinationId, @JsonProperty("destinationType") String destinationType, @JsonProperty("name") String name, @JsonProperty("workspaceId") String workspaceId) { Utils.checkNotNull(configuration, "configuration"); + Utils.checkNotNull(createdAt, "createdAt"); + Utils.checkNotNull(definitionId, "definitionId"); Utils.checkNotNull(destinationId, "destinationId"); Utils.checkNotNull(destinationType, "destinationType"); Utils.checkNotNull(name, "name"); Utils.checkNotNull(workspaceId, "workspaceId"); this.configuration = configuration; + this.createdAt = createdAt; + this.definitionId = definitionId; this.destinationId = destinationId; this.destinationType = destinationType; this.name = name; @@ -65,6 +77,16 @@ public DestinationConfiguration configuration() { return configuration; } + @JsonIgnore + public long createdAt() { + return createdAt; + } + + @JsonIgnore + public String definitionId() { + return definitionId; + } + @JsonIgnore public String destinationId() { return destinationId; @@ -98,6 +120,18 @@ public DestinationResponse withConfiguration(DestinationConfiguration configurat return this; } + public DestinationResponse withCreatedAt(long createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = createdAt; + return this; + } + + public DestinationResponse withDefinitionId(String definitionId) { + Utils.checkNotNull(definitionId, "definitionId"); + this.definitionId = definitionId; + return this; + } + public DestinationResponse withDestinationId(String destinationId) { Utils.checkNotNull(destinationId, "destinationId"); this.destinationId = destinationId; @@ -132,17 +166,21 @@ public boolean equals(java.lang.Object o) { } DestinationResponse other = (DestinationResponse) o; return - java.util.Objects.deepEquals(this.configuration, other.configuration) && - java.util.Objects.deepEquals(this.destinationId, other.destinationId) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.configuration, other.configuration) && + Objects.deepEquals(this.createdAt, other.createdAt) && + Objects.deepEquals(this.definitionId, other.definitionId) && + Objects.deepEquals(this.destinationId, other.destinationId) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configuration, + createdAt, + definitionId, destinationId, destinationType, name, @@ -153,6 +191,8 @@ public int hashCode() { public String toString() { return Utils.toString(DestinationResponse.class, "configuration", configuration, + "createdAt", createdAt, + "definitionId", definitionId, "destinationId", destinationId, "destinationType", destinationType, "name", name, @@ -163,6 +203,10 @@ public final static class Builder { private DestinationConfiguration configuration; + private Long createdAt; + + private String definitionId; + private String destinationId; private String destinationType; @@ -184,6 +228,18 @@ public Builder configuration(DestinationConfiguration configuration) { return this; } + public Builder createdAt(long createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = createdAt; + return this; + } + + public Builder definitionId(String definitionId) { + Utils.checkNotNull(definitionId, "definitionId"); + this.definitionId = definitionId; + return this; + } + public Builder destinationId(String destinationId) { Utils.checkNotNull(destinationId, "destinationId"); this.destinationId = destinationId; @@ -211,6 +267,8 @@ public Builder workspaceId(String workspaceId) { public DestinationResponse build() { return new DestinationResponse( configuration, + createdAt, + definitionId, destinationId, destinationType, name, diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3.java index 86e2cd1fe..f08921b7f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3 { /** @@ -26,7 +27,7 @@ public class DestinationS3 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_key_id") - private Optional accessKeyId; + private Optional accessKeyId; @JsonProperty("destinationType") private S3 destinationType; @@ -36,7 +37,7 @@ public class DestinationS3 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("file_name_pattern") - private Optional fileNamePattern; + private Optional fileNamePattern; /** * Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details @@ -49,7 +50,7 @@ public class DestinationS3 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("role_arn") - private Optional roleArn; + private Optional roleArn; /** * The name of the S3 bucket. Read more <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-overview.html">here</a>. @@ -75,34 +76,34 @@ public class DestinationS3 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("s3_endpoint") - private Optional s3Endpoint; + private Optional s3Endpoint; /** * Format string on how data will be organized inside the S3 bucket directory. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=The%20full%20path%20of%20the%20output%20data%20with%20the%20default%20S3%20path%20format">here</a> */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("s3_path_format") - private Optional s3PathFormat; + private Optional s3PathFormat; /** * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("secret_access_key") - private Optional secretAccessKey; + private Optional secretAccessKey; @JsonCreator public DestinationS3( - @JsonProperty("access_key_id") Optional accessKeyId, - @JsonProperty("file_name_pattern") Optional fileNamePattern, + @JsonProperty("access_key_id") Optional accessKeyId, + @JsonProperty("file_name_pattern") Optional fileNamePattern, @JsonProperty("format") DestinationS3OutputFormat format, - @JsonProperty("role_arn") Optional roleArn, + @JsonProperty("role_arn") Optional roleArn, @JsonProperty("s3_bucket_name") String s3BucketName, @JsonProperty("s3_bucket_path") String s3BucketPath, @JsonProperty("s3_bucket_region") Optional s3BucketRegion, - @JsonProperty("s3_endpoint") Optional s3Endpoint, - @JsonProperty("s3_path_format") Optional s3PathFormat, - @JsonProperty("secret_access_key") Optional secretAccessKey) { + @JsonProperty("s3_endpoint") Optional s3Endpoint, + @JsonProperty("s3_path_format") Optional s3PathFormat, + @JsonProperty("secret_access_key") Optional secretAccessKey) { Utils.checkNotNull(accessKeyId, "accessKeyId"); Utils.checkNotNull(fileNamePattern, "fileNamePattern"); Utils.checkNotNull(format, "format"); @@ -136,10 +137,9 @@ public DestinationS3( /** * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessKeyId() { - return (Optional) accessKeyId; + return accessKeyId; } @JsonIgnore @@ -150,10 +150,9 @@ public S3 destinationType() { /** * The pattern allows you to set the file-name format for the S3 staging file(s) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional fileNamePattern() { - return (Optional) fileNamePattern; + return fileNamePattern; } /** @@ -167,10 +166,9 @@ public DestinationS3OutputFormat format() { /** * The Role ARN */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional roleArn() { - return (Optional) roleArn; + return roleArn; } /** @@ -201,28 +199,25 @@ public Optional s3BucketRegion() { /** * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional s3Endpoint() { - return (Optional) s3Endpoint; + return s3Endpoint; } /** * Format string on how data will be organized inside the S3 bucket directory. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=The%20full%20path%20of%20the%20output%20data%20with%20the%20default%20S3%20path%20format">here</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional s3PathFormat() { - return (Optional) s3PathFormat; + return s3PathFormat; } /** * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional secretAccessKey() { - return (Optional) secretAccessKey; + return secretAccessKey; } public final static Builder builder() { @@ -241,7 +236,7 @@ public DestinationS3 withAccessKeyId(String accessKeyId) { /** * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. */ - public DestinationS3 withAccessKeyId(Optional accessKeyId) { + public DestinationS3 withAccessKeyId(Optional accessKeyId) { Utils.checkNotNull(accessKeyId, "accessKeyId"); this.accessKeyId = accessKeyId; return this; @@ -259,7 +254,7 @@ public DestinationS3 withFileNamePattern(String fileNamePattern) { /** * The pattern allows you to set the file-name format for the S3 staging file(s) */ - public DestinationS3 withFileNamePattern(Optional fileNamePattern) { + public DestinationS3 withFileNamePattern(Optional fileNamePattern) { Utils.checkNotNull(fileNamePattern, "fileNamePattern"); this.fileNamePattern = fileNamePattern; return this; @@ -286,7 +281,7 @@ public DestinationS3 withRoleArn(String roleArn) { /** * The Role ARN */ - public DestinationS3 withRoleArn(Optional roleArn) { + public DestinationS3 withRoleArn(Optional roleArn) { Utils.checkNotNull(roleArn, "roleArn"); this.roleArn = roleArn; return this; @@ -340,7 +335,7 @@ public DestinationS3 withS3Endpoint(String s3Endpoint) { /** * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> */ - public DestinationS3 withS3Endpoint(Optional s3Endpoint) { + public DestinationS3 withS3Endpoint(Optional s3Endpoint) { Utils.checkNotNull(s3Endpoint, "s3Endpoint"); this.s3Endpoint = s3Endpoint; return this; @@ -358,7 +353,7 @@ public DestinationS3 withS3PathFormat(String s3PathFormat) { /** * Format string on how data will be organized inside the S3 bucket directory. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=The%20full%20path%20of%20the%20output%20data%20with%20the%20default%20S3%20path%20format">here</a> */ - public DestinationS3 withS3PathFormat(Optional s3PathFormat) { + public DestinationS3 withS3PathFormat(Optional s3PathFormat) { Utils.checkNotNull(s3PathFormat, "s3PathFormat"); this.s3PathFormat = s3PathFormat; return this; @@ -376,7 +371,7 @@ public DestinationS3 withSecretAccessKey(String secretAccessKey) { /** * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> */ - public DestinationS3 withSecretAccessKey(Optional secretAccessKey) { + public DestinationS3 withSecretAccessKey(Optional secretAccessKey) { Utils.checkNotNull(secretAccessKey, "secretAccessKey"); this.secretAccessKey = secretAccessKey; return this; @@ -392,22 +387,22 @@ public boolean equals(java.lang.Object o) { } DestinationS3 other = (DestinationS3) o; return - java.util.Objects.deepEquals(this.accessKeyId, other.accessKeyId) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.fileNamePattern, other.fileNamePattern) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.roleArn, other.roleArn) && - java.util.Objects.deepEquals(this.s3BucketName, other.s3BucketName) && - java.util.Objects.deepEquals(this.s3BucketPath, other.s3BucketPath) && - java.util.Objects.deepEquals(this.s3BucketRegion, other.s3BucketRegion) && - java.util.Objects.deepEquals(this.s3Endpoint, other.s3Endpoint) && - java.util.Objects.deepEquals(this.s3PathFormat, other.s3PathFormat) && - java.util.Objects.deepEquals(this.secretAccessKey, other.secretAccessKey); + Objects.deepEquals(this.accessKeyId, other.accessKeyId) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.fileNamePattern, other.fileNamePattern) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.roleArn, other.roleArn) && + Objects.deepEquals(this.s3BucketName, other.s3BucketName) && + Objects.deepEquals(this.s3BucketPath, other.s3BucketPath) && + Objects.deepEquals(this.s3BucketRegion, other.s3BucketRegion) && + Objects.deepEquals(this.s3Endpoint, other.s3Endpoint) && + Objects.deepEquals(this.s3PathFormat, other.s3PathFormat) && + Objects.deepEquals(this.secretAccessKey, other.secretAccessKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKeyId, destinationType, fileNamePattern, @@ -439,13 +434,13 @@ public String toString() { public final static class Builder { - private Optional accessKeyId = Optional.empty(); + private Optional accessKeyId = Optional.empty(); - private Optional fileNamePattern = Optional.empty(); + private Optional fileNamePattern = Optional.empty(); private DestinationS3OutputFormat format; - private Optional roleArn = Optional.empty(); + private Optional roleArn = Optional.empty(); private String s3BucketName; @@ -453,11 +448,11 @@ public final static class Builder { private Optional s3BucketRegion; - private Optional s3Endpoint; + private Optional s3Endpoint; - private Optional s3PathFormat = Optional.empty(); + private Optional s3PathFormat = Optional.empty(); - private Optional secretAccessKey = Optional.empty(); + private Optional secretAccessKey = Optional.empty(); private Builder() { // force use of static builder() method @@ -475,7 +470,7 @@ public Builder accessKeyId(String accessKeyId) { /** * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. */ - public Builder accessKeyId(Optional accessKeyId) { + public Builder accessKeyId(Optional accessKeyId) { Utils.checkNotNull(accessKeyId, "accessKeyId"); this.accessKeyId = accessKeyId; return this; @@ -493,7 +488,7 @@ public Builder fileNamePattern(String fileNamePattern) { /** * The pattern allows you to set the file-name format for the S3 staging file(s) */ - public Builder fileNamePattern(Optional fileNamePattern) { + public Builder fileNamePattern(Optional fileNamePattern) { Utils.checkNotNull(fileNamePattern, "fileNamePattern"); this.fileNamePattern = fileNamePattern; return this; @@ -520,7 +515,7 @@ public Builder roleArn(String roleArn) { /** * The Role ARN */ - public Builder roleArn(Optional roleArn) { + public Builder roleArn(Optional roleArn) { Utils.checkNotNull(roleArn, "roleArn"); this.roleArn = roleArn; return this; @@ -574,7 +569,7 @@ public Builder s3Endpoint(String s3Endpoint) { /** * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> */ - public Builder s3Endpoint(Optional s3Endpoint) { + public Builder s3Endpoint(Optional s3Endpoint) { Utils.checkNotNull(s3Endpoint, "s3Endpoint"); this.s3Endpoint = s3Endpoint; return this; @@ -592,7 +587,7 @@ public Builder s3PathFormat(String s3PathFormat) { /** * Format string on how data will be organized inside the S3 bucket directory. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=The%20full%20path%20of%20the%20output%20data%20with%20the%20default%20S3%20path%20format">here</a> */ - public Builder s3PathFormat(Optional s3PathFormat) { + public Builder s3PathFormat(Optional s3PathFormat) { Utils.checkNotNull(s3PathFormat, "s3PathFormat"); this.s3PathFormat = s3PathFormat; return this; @@ -610,7 +605,7 @@ public Builder secretAccessKey(String secretAccessKey) { /** * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> */ - public Builder secretAccessKey(Optional secretAccessKey) { + public Builder secretAccessKey(Optional secretAccessKey) { Utils.checkNotNull(secretAccessKey, "secretAccessKey"); this.secretAccessKey = secretAccessKey; return this; @@ -622,8 +617,7 @@ public DestinationS3 build() { } if (s3Endpoint == null) { s3Endpoint = _SINGLETON_VALUE_S3Endpoint.value(); - } - return new DestinationS3( + } return new DestinationS3( accessKeyId, fileNamePattern, format, @@ -648,11 +642,11 @@ public DestinationS3 build() { "\"\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_S3Endpoint = + private static final LazySingletonValue> _SINGLETON_VALUE_S3Endpoint = new LazySingletonValue<>( "s3_endpoint", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3AvroApacheAvro.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3AvroApacheAvro.java index c15e9767d..bc4d94b89 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3AvroApacheAvro.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3AvroApacheAvro.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3AvroApacheAvro { /** @@ -95,13 +96,13 @@ public boolean equals(java.lang.Object o) { } DestinationS3AvroApacheAvro other = (DestinationS3AvroApacheAvro) o; return - java.util.Objects.deepEquals(this.compressionCodec, other.compressionCodec) && - java.util.Objects.deepEquals(this.formatType, other.formatType); + Objects.deepEquals(this.compressionCodec, other.compressionCodec) && + Objects.deepEquals(this.formatType, other.formatType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionCodec, formatType); } @@ -147,8 +148,7 @@ public Builder formatType(Optional codec) public DestinationS3Bzip2 build() { if (codec == null) { codec = _SINGLETON_VALUE_Codec.value(); - } - return new DestinationS3Bzip2( + } return new DestinationS3Bzip2( codec); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3CSVCommaSeparatedValues.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3CSVCommaSeparatedValues.java index 82723ff0d..82ed4f106 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3CSVCommaSeparatedValues.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3CSVCommaSeparatedValues.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3CSVCommaSeparatedValues { /** @@ -142,14 +143,14 @@ public boolean equals(java.lang.Object o) { } DestinationS3CSVCommaSeparatedValues other = (DestinationS3CSVCommaSeparatedValues) o; return - java.util.Objects.deepEquals(this.compression, other.compression) && - java.util.Objects.deepEquals(this.flattening, other.flattening) && - java.util.Objects.deepEquals(this.formatType, other.formatType); + Objects.deepEquals(this.compression, other.compression) && + Objects.deepEquals(this.flattening, other.flattening) && + Objects.deepEquals(this.formatType, other.formatType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compression, flattening, formatType); @@ -229,8 +230,7 @@ public DestinationS3CSVCommaSeparatedValues build() { } if (formatType == null) { formatType = _SINGLETON_VALUE_FormatType.value(); - } - return new DestinationS3CSVCommaSeparatedValues( + } return new DestinationS3CSVCommaSeparatedValues( compression, flattening, formatType); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3Codec.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3Codec.java index 33c01476a..675c7701b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3Codec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3Codec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3Codec { NO_COMPRESSION("no compression"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3Compression.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3Compression.java index 1b60109a5..6cd71391e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3Compression.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3Compression.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationS3Compression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".csv.gz"). @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationS3Compression._Deserializer.class) public class DestinationS3Compression { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationS3Compression(TypedObject value) { @@ -48,8 +45,8 @@ public static DestinationS3Compression of(DestinationS3GZIP value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationS3NoCompression}
    • - *
    • {@code DestinationS3GZIP}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3NoCompression}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3GZIP}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } DestinationS3Compression other = (DestinationS3Compression) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationS3Compression.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationS3Compression.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionCodec.java index 087087b7c..7c492b361 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionCodec.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationS3CompressionCodec - The compression algorithm used to compress data. Default to no compression. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationS3CompressionCodec._Deserializer.class) public class DestinationS3CompressionCodec { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationS3CompressionCodec(TypedObject value) { @@ -68,12 +65,12 @@ public static DestinationS3CompressionCodec of(DestinationS3Snappy value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationS3SchemasFormatNoCompression}
    • - *
    • {@code DestinationS3Deflate}
    • - *
    • {@code DestinationS3Bzip2}
    • - *
    • {@code DestinationS3Xz}
    • - *
    • {@code DestinationS3Zstandard}
    • - *
    • {@code DestinationS3Snappy}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3SchemasFormatNoCompression}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3Deflate}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3Bzip2}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3Xz}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3Zstandard}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3Snappy}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -100,25 +97,25 @@ public boolean equals(java.lang.Object o) { return false; } DestinationS3CompressionCodec other = (DestinationS3CompressionCodec) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationS3CompressionCodec.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationS3CompressionCodec.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionType.java index f3cb19a78..38a319b1e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3CompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3CompressionType { NO_COMPRESSION("No Compression"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3Deflate.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3Deflate.java index da8c336a1..c513acd9e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3Deflate.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3Deflate.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3Deflate { @JsonInclude(Include.NON_ABSENT) @@ -30,12 +32,12 @@ public class DestinationS3Deflate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("compression_level") - private Optional compressionLevel; + private Optional compressionLevel; @JsonCreator public DestinationS3Deflate( @JsonProperty("codec") Optional codec, - @JsonProperty("compression_level") Optional compressionLevel) { + @JsonProperty("compression_level") Optional compressionLevel) { Utils.checkNotNull(codec, "codec"); Utils.checkNotNull(compressionLevel, "compressionLevel"); this.codec = codec; @@ -55,10 +57,9 @@ public Optional codec() { /** * 0: no compression & fastest, 9: best compression & slowest. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional compressionLevel() { - return (Optional) compressionLevel; + return compressionLevel; } public final static Builder builder() { @@ -89,7 +90,7 @@ public DestinationS3Deflate withCompressionLevel(long compressionLevel) { /** * 0: no compression & fastest, 9: best compression & slowest. */ - public DestinationS3Deflate withCompressionLevel(Optional compressionLevel) { + public DestinationS3Deflate withCompressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -105,13 +106,13 @@ public boolean equals(java.lang.Object o) { } DestinationS3Deflate other = (DestinationS3Deflate) o; return - java.util.Objects.deepEquals(this.codec, other.codec) && - java.util.Objects.deepEquals(this.compressionLevel, other.compressionLevel); + Objects.deepEquals(this.codec, other.codec) && + Objects.deepEquals(this.compressionLevel, other.compressionLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec, compressionLevel); } @@ -127,7 +128,7 @@ public final static class Builder { private Optional codec; - private Optional compressionLevel; + private Optional compressionLevel; private Builder() { // force use of static builder() method @@ -157,7 +158,7 @@ public Builder compressionLevel(long compressionLevel) { /** * 0: no compression & fastest, 9: best compression & slowest. */ - public Builder compressionLevel(Optional compressionLevel) { + public Builder compressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -169,8 +170,7 @@ public DestinationS3Deflate build() { } if (compressionLevel == null) { compressionLevel = _SINGLETON_VALUE_CompressionLevel.value(); - } - return new DestinationS3Deflate( + } return new DestinationS3Deflate( codec, compressionLevel); } @@ -181,11 +181,11 @@ public DestinationS3Deflate build() { "\"Deflate\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = new LazySingletonValue<>( "compression_level", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3Flattening.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3Flattening.java index ea7a9ded2..025c71374 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3Flattening.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3Flattening.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationS3Flattening - Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatType.java index 9590a33e6..9b2843aa8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3FormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3FormatType { CSV("CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3GZIP.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3GZIP.java index e7f6b54b5..d91add7fd 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3GZIP.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3GZIP.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3GZIP { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } DestinationS3GZIP other = (DestinationS3GZIP) o; return - java.util.Objects.deepEquals(this.compressionType, other.compressionType); + Objects.deepEquals(this.compressionType, other.compressionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionType); } @@ -106,8 +107,7 @@ public Builder compressionType(Optional accessKeyId; + private Optional accessKeyId; @JsonProperty("destinationType") private S3Glue destinationType; @@ -36,7 +37,7 @@ public class DestinationS3Glue { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("file_name_pattern") - private Optional fileNamePattern; + private Optional fileNamePattern; /** * Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details @@ -81,35 +82,35 @@ public class DestinationS3Glue { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("s3_endpoint") - private Optional s3Endpoint; + private Optional s3Endpoint; /** * Format string on how data will be organized inside the S3 bucket directory. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=The%20full%20path%20of%20the%20output%20data%20with%20the%20default%20S3%20path%20format">here</a> */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("s3_path_format") - private Optional s3PathFormat; + private Optional s3PathFormat; /** * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("secret_access_key") - private Optional secretAccessKey; + private Optional secretAccessKey; @JsonCreator public DestinationS3Glue( - @JsonProperty("access_key_id") Optional accessKeyId, - @JsonProperty("file_name_pattern") Optional fileNamePattern, + @JsonProperty("access_key_id") Optional accessKeyId, + @JsonProperty("file_name_pattern") Optional fileNamePattern, @JsonProperty("format") DestinationS3GlueOutputFormat format, @JsonProperty("glue_database") String glueDatabase, @JsonProperty("glue_serialization_library") Optional glueSerializationLibrary, @JsonProperty("s3_bucket_name") String s3BucketName, @JsonProperty("s3_bucket_path") String s3BucketPath, @JsonProperty("s3_bucket_region") Optional s3BucketRegion, - @JsonProperty("s3_endpoint") Optional s3Endpoint, - @JsonProperty("s3_path_format") Optional s3PathFormat, - @JsonProperty("secret_access_key") Optional secretAccessKey) { + @JsonProperty("s3_endpoint") Optional s3Endpoint, + @JsonProperty("s3_path_format") Optional s3PathFormat, + @JsonProperty("secret_access_key") Optional secretAccessKey) { Utils.checkNotNull(accessKeyId, "accessKeyId"); Utils.checkNotNull(fileNamePattern, "fileNamePattern"); Utils.checkNotNull(format, "format"); @@ -146,10 +147,9 @@ public DestinationS3Glue( /** * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessKeyId() { - return (Optional) accessKeyId; + return accessKeyId; } @JsonIgnore @@ -160,10 +160,9 @@ public S3Glue destinationType() { /** * The pattern allows you to set the file-name format for the S3 staging file(s) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional fileNamePattern() { - return (Optional) fileNamePattern; + return fileNamePattern; } /** @@ -219,28 +218,25 @@ public Optional s3BucketRegion() { /** * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional s3Endpoint() { - return (Optional) s3Endpoint; + return s3Endpoint; } /** * Format string on how data will be organized inside the S3 bucket directory. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=The%20full%20path%20of%20the%20output%20data%20with%20the%20default%20S3%20path%20format">here</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional s3PathFormat() { - return (Optional) s3PathFormat; + return s3PathFormat; } /** * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional secretAccessKey() { - return (Optional) secretAccessKey; + return secretAccessKey; } public final static Builder builder() { @@ -259,7 +255,7 @@ public DestinationS3Glue withAccessKeyId(String accessKeyId) { /** * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. */ - public DestinationS3Glue withAccessKeyId(Optional accessKeyId) { + public DestinationS3Glue withAccessKeyId(Optional accessKeyId) { Utils.checkNotNull(accessKeyId, "accessKeyId"); this.accessKeyId = accessKeyId; return this; @@ -277,7 +273,7 @@ public DestinationS3Glue withFileNamePattern(String fileNamePattern) { /** * The pattern allows you to set the file-name format for the S3 staging file(s) */ - public DestinationS3Glue withFileNamePattern(Optional fileNamePattern) { + public DestinationS3Glue withFileNamePattern(Optional fileNamePattern) { Utils.checkNotNull(fileNamePattern, "fileNamePattern"); this.fileNamePattern = fileNamePattern; return this; @@ -367,7 +363,7 @@ public DestinationS3Glue withS3Endpoint(String s3Endpoint) { /** * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> */ - public DestinationS3Glue withS3Endpoint(Optional s3Endpoint) { + public DestinationS3Glue withS3Endpoint(Optional s3Endpoint) { Utils.checkNotNull(s3Endpoint, "s3Endpoint"); this.s3Endpoint = s3Endpoint; return this; @@ -385,7 +381,7 @@ public DestinationS3Glue withS3PathFormat(String s3PathFormat) { /** * Format string on how data will be organized inside the S3 bucket directory. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=The%20full%20path%20of%20the%20output%20data%20with%20the%20default%20S3%20path%20format">here</a> */ - public DestinationS3Glue withS3PathFormat(Optional s3PathFormat) { + public DestinationS3Glue withS3PathFormat(Optional s3PathFormat) { Utils.checkNotNull(s3PathFormat, "s3PathFormat"); this.s3PathFormat = s3PathFormat; return this; @@ -403,7 +399,7 @@ public DestinationS3Glue withSecretAccessKey(String secretAccessKey) { /** * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> */ - public DestinationS3Glue withSecretAccessKey(Optional secretAccessKey) { + public DestinationS3Glue withSecretAccessKey(Optional secretAccessKey) { Utils.checkNotNull(secretAccessKey, "secretAccessKey"); this.secretAccessKey = secretAccessKey; return this; @@ -419,23 +415,23 @@ public boolean equals(java.lang.Object o) { } DestinationS3Glue other = (DestinationS3Glue) o; return - java.util.Objects.deepEquals(this.accessKeyId, other.accessKeyId) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.fileNamePattern, other.fileNamePattern) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.glueDatabase, other.glueDatabase) && - java.util.Objects.deepEquals(this.glueSerializationLibrary, other.glueSerializationLibrary) && - java.util.Objects.deepEquals(this.s3BucketName, other.s3BucketName) && - java.util.Objects.deepEquals(this.s3BucketPath, other.s3BucketPath) && - java.util.Objects.deepEquals(this.s3BucketRegion, other.s3BucketRegion) && - java.util.Objects.deepEquals(this.s3Endpoint, other.s3Endpoint) && - java.util.Objects.deepEquals(this.s3PathFormat, other.s3PathFormat) && - java.util.Objects.deepEquals(this.secretAccessKey, other.secretAccessKey); + Objects.deepEquals(this.accessKeyId, other.accessKeyId) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.fileNamePattern, other.fileNamePattern) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.glueDatabase, other.glueDatabase) && + Objects.deepEquals(this.glueSerializationLibrary, other.glueSerializationLibrary) && + Objects.deepEquals(this.s3BucketName, other.s3BucketName) && + Objects.deepEquals(this.s3BucketPath, other.s3BucketPath) && + Objects.deepEquals(this.s3BucketRegion, other.s3BucketRegion) && + Objects.deepEquals(this.s3Endpoint, other.s3Endpoint) && + Objects.deepEquals(this.s3PathFormat, other.s3PathFormat) && + Objects.deepEquals(this.secretAccessKey, other.secretAccessKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKeyId, destinationType, fileNamePattern, @@ -469,9 +465,9 @@ public String toString() { public final static class Builder { - private Optional accessKeyId = Optional.empty(); + private Optional accessKeyId = Optional.empty(); - private Optional fileNamePattern = Optional.empty(); + private Optional fileNamePattern = Optional.empty(); private DestinationS3GlueOutputFormat format; @@ -485,11 +481,11 @@ public final static class Builder { private Optional s3BucketRegion; - private Optional s3Endpoint; + private Optional s3Endpoint; - private Optional s3PathFormat = Optional.empty(); + private Optional s3PathFormat = Optional.empty(); - private Optional secretAccessKey = Optional.empty(); + private Optional secretAccessKey = Optional.empty(); private Builder() { // force use of static builder() method @@ -507,7 +503,7 @@ public Builder accessKeyId(String accessKeyId) { /** * The access key ID to access the S3 bucket. Airbyte requires Read and Write permissions to the given bucket. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a>. */ - public Builder accessKeyId(Optional accessKeyId) { + public Builder accessKeyId(Optional accessKeyId) { Utils.checkNotNull(accessKeyId, "accessKeyId"); this.accessKeyId = accessKeyId; return this; @@ -525,7 +521,7 @@ public Builder fileNamePattern(String fileNamePattern) { /** * The pattern allows you to set the file-name format for the S3 staging file(s) */ - public Builder fileNamePattern(Optional fileNamePattern) { + public Builder fileNamePattern(Optional fileNamePattern) { Utils.checkNotNull(fileNamePattern, "fileNamePattern"); this.fileNamePattern = fileNamePattern; return this; @@ -615,7 +611,7 @@ public Builder s3Endpoint(String s3Endpoint) { /** * Your S3 endpoint url. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#:~:text=Service%20endpoints-,Amazon%20S3%20endpoints,-When%20you%20use">here</a> */ - public Builder s3Endpoint(Optional s3Endpoint) { + public Builder s3Endpoint(Optional s3Endpoint) { Utils.checkNotNull(s3Endpoint, "s3Endpoint"); this.s3Endpoint = s3Endpoint; return this; @@ -633,7 +629,7 @@ public Builder s3PathFormat(String s3PathFormat) { /** * Format string on how data will be organized inside the S3 bucket directory. Read more <a href="https://docs.airbyte.com/integrations/destinations/s3#:~:text=The%20full%20path%20of%20the%20output%20data%20with%20the%20default%20S3%20path%20format">here</a> */ - public Builder s3PathFormat(Optional s3PathFormat) { + public Builder s3PathFormat(Optional s3PathFormat) { Utils.checkNotNull(s3PathFormat, "s3PathFormat"); this.s3PathFormat = s3PathFormat; return this; @@ -651,7 +647,7 @@ public Builder secretAccessKey(String secretAccessKey) { /** * The corresponding secret to the access key ID. Read more <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">here</a> */ - public Builder secretAccessKey(Optional secretAccessKey) { + public Builder secretAccessKey(Optional secretAccessKey) { Utils.checkNotNull(secretAccessKey, "secretAccessKey"); this.secretAccessKey = secretAccessKey; return this; @@ -666,8 +662,7 @@ public DestinationS3Glue build() { } if (s3Endpoint == null) { s3Endpoint = _SINGLETON_VALUE_S3Endpoint.value(); - } - return new DestinationS3Glue( + } return new DestinationS3Glue( accessKeyId, fileNamePattern, format, @@ -699,11 +694,11 @@ public DestinationS3Glue build() { "\"\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_S3Endpoint = + private static final LazySingletonValue> _SINGLETON_VALUE_S3Endpoint = new LazySingletonValue<>( "s3_endpoint", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompression.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompression.java index 0b97af831..b390599cb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompression.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompression.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationS3GlueCompression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationS3GlueCompression._Deserializer.class) public class DestinationS3GlueCompression { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationS3GlueCompression(TypedObject value) { @@ -48,8 +45,8 @@ public static DestinationS3GlueCompression of(DestinationS3GlueGZIP value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationS3GlueNoCompression}
    • - *
    • {@code DestinationS3GlueGZIP}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3GlueNoCompression}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3GlueGZIP}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } DestinationS3GlueCompression other = (DestinationS3GlueCompression) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationS3GlueCompression.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationS3GlueCompression.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompressionType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompressionType.java index 7ce9e2c6b..68ec8dc02 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueCompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3GlueCompressionType { NO_COMPRESSION("No Compression"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatType.java index a4aa2716f..d1e917f20 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueFormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3GlueFormatType { JSONL("JSONL"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueGZIP.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueGZIP.java index b7716b7da..7b25f1489 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueGZIP.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueGZIP.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3GlueGZIP { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } DestinationS3GlueGZIP other = (DestinationS3GlueGZIP) o; return - java.util.Objects.deepEquals(this.compressionType, other.compressionType); + Objects.deepEquals(this.compressionType, other.compressionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionType); } @@ -106,8 +107,7 @@ public Builder compressionType(Optional - *

  • {@code DestinationS3GlueJSONLinesNewlineDelimitedJSON}
  • + *
  • {@code com.airbyte.api.models.shared.DestinationS3GlueJSONLinesNewlineDelimitedJSON}
  • * * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -70,20 +67,20 @@ public boolean equals(java.lang.Object o) { return false; } DestinationS3GlueOutputFormat other = (DestinationS3GlueOutputFormat) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationS3GlueOutputFormat.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationS3GlueOutputFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegion.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegion.java index bc4d75b09..5f57717cf 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueS3BucketRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationS3GlueS3BucketRegion - The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSchemasCompressionType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSchemasCompressionType.java index eb982fbf8..d85749267 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSchemasCompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3GlueSchemasCompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3GlueSchemasCompressionType { GZIP("GZIP"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.java index 99c8d2fe4..a168f68f8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3JSONLinesNewlineDelimitedJSON.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3JSONLinesNewlineDelimitedJSON { /** @@ -142,14 +143,14 @@ public boolean equals(java.lang.Object o) { } DestinationS3JSONLinesNewlineDelimitedJSON other = (DestinationS3JSONLinesNewlineDelimitedJSON) o; return - java.util.Objects.deepEquals(this.compression, other.compression) && - java.util.Objects.deepEquals(this.flattening, other.flattening) && - java.util.Objects.deepEquals(this.formatType, other.formatType); + Objects.deepEquals(this.compression, other.compression) && + Objects.deepEquals(this.flattening, other.flattening) && + Objects.deepEquals(this.formatType, other.formatType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compression, flattening, formatType); @@ -229,8 +230,7 @@ public DestinationS3JSONLinesNewlineDelimitedJSON build() { } if (formatType == null) { formatType = _SINGLETON_VALUE_FormatType.value(); - } - return new DestinationS3JSONLinesNewlineDelimitedJSON( + } return new DestinationS3JSONLinesNewlineDelimitedJSON( compression, flattening, formatType); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3NoCompression.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3NoCompression.java index 0571d715e..194065dbc 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3NoCompression.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3NoCompression.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3NoCompression { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } DestinationS3NoCompression other = (DestinationS3NoCompression) o; return - java.util.Objects.deepEquals(this.compressionType, other.compressionType); + Objects.deepEquals(this.compressionType, other.compressionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionType); } @@ -106,8 +107,7 @@ public Builder compressionType(Optional public DestinationS3NoCompression build() { if (compressionType == null) { compressionType = _SINGLETON_VALUE_CompressionType.value(); - } - return new DestinationS3NoCompression( + } return new DestinationS3NoCompression( compressionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3OutputFormat.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3OutputFormat.java index c08b16e4f..8d8b62f9d 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3OutputFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3OutputFormat.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationS3OutputFormat - Format of the data output. See <a href="https://docs.airbyte.com/integrations/destinations/s3/#supported-output-schema">here</a> for more details @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationS3OutputFormat._Deserializer.class) public class DestinationS3OutputFormat { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationS3OutputFormat(TypedObject value) { @@ -58,10 +55,10 @@ public static DestinationS3OutputFormat of(DestinationS3ParquetColumnarStorage v /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationS3CSVCommaSeparatedValues}
    • - *
    • {@code DestinationS3JSONLinesNewlineDelimitedJSON}
    • - *
    • {@code DestinationS3AvroApacheAvro}
    • - *
    • {@code DestinationS3ParquetColumnarStorage}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3CSVCommaSeparatedValues}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3JSONLinesNewlineDelimitedJSON}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3AvroApacheAvro}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3ParquetColumnarStorage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -88,23 +85,23 @@ public boolean equals(java.lang.Object o) { return false; } DestinationS3OutputFormat other = (DestinationS3OutputFormat) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationS3OutputFormat.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationS3OutputFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3ParquetColumnarStorage.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3ParquetColumnarStorage.java index 63a571748..833f7e819 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3ParquetColumnarStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3ParquetColumnarStorage.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3ParquetColumnarStorage { /** @@ -26,7 +29,7 @@ public class DestinationS3ParquetColumnarStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("block_size_mb") - private Optional blockSizeMb; + private Optional blockSizeMb; /** * The compression algorithm used to compress data pages. @@ -40,14 +43,14 @@ public class DestinationS3ParquetColumnarStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("dictionary_encoding") - private Optional dictionaryEncoding; + private Optional dictionaryEncoding; /** * There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("dictionary_page_size_kb") - private Optional dictionaryPageSizeKb; + private Optional dictionaryPageSizeKb; @JsonInclude(Include.NON_ABSENT) @JsonProperty("format_type") @@ -58,24 +61,24 @@ public class DestinationS3ParquetColumnarStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("max_padding_size_mb") - private Optional maxPaddingSizeMb; + private Optional maxPaddingSizeMb; /** * The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("page_size_kb") - private Optional pageSizeKb; + private Optional pageSizeKb; @JsonCreator public DestinationS3ParquetColumnarStorage( - @JsonProperty("block_size_mb") Optional blockSizeMb, + @JsonProperty("block_size_mb") Optional blockSizeMb, @JsonProperty("compression_codec") Optional compressionCodec, - @JsonProperty("dictionary_encoding") Optional dictionaryEncoding, - @JsonProperty("dictionary_page_size_kb") Optional dictionaryPageSizeKb, + @JsonProperty("dictionary_encoding") Optional dictionaryEncoding, + @JsonProperty("dictionary_page_size_kb") Optional dictionaryPageSizeKb, @JsonProperty("format_type") Optional formatType, - @JsonProperty("max_padding_size_mb") Optional maxPaddingSizeMb, - @JsonProperty("page_size_kb") Optional pageSizeKb) { + @JsonProperty("max_padding_size_mb") Optional maxPaddingSizeMb, + @JsonProperty("page_size_kb") Optional pageSizeKb) { Utils.checkNotNull(blockSizeMb, "blockSizeMb"); Utils.checkNotNull(compressionCodec, "compressionCodec"); Utils.checkNotNull(dictionaryEncoding, "dictionaryEncoding"); @@ -99,10 +102,9 @@ public DestinationS3ParquetColumnarStorage() { /** * This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional blockSizeMb() { - return (Optional) blockSizeMb; + return blockSizeMb; } /** @@ -117,19 +119,17 @@ public Optional compressionCodec() { /** * Default: true. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dictionaryEncoding() { - return (Optional) dictionaryEncoding; + return dictionaryEncoding; } /** * There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dictionaryPageSizeKb() { - return (Optional) dictionaryPageSizeKb; + return dictionaryPageSizeKb; } @SuppressWarnings("unchecked") @@ -141,19 +141,17 @@ public Optional formatType() { /** * Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional maxPaddingSizeMb() { - return (Optional) maxPaddingSizeMb; + return maxPaddingSizeMb; } /** * The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional pageSizeKb() { - return (Optional) pageSizeKb; + return pageSizeKb; } public final static Builder builder() { @@ -172,7 +170,7 @@ public DestinationS3ParquetColumnarStorage withBlockSizeMb(long blockSizeMb) { /** * This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. */ - public DestinationS3ParquetColumnarStorage withBlockSizeMb(Optional blockSizeMb) { + public DestinationS3ParquetColumnarStorage withBlockSizeMb(Optional blockSizeMb) { Utils.checkNotNull(blockSizeMb, "blockSizeMb"); this.blockSizeMb = blockSizeMb; return this; @@ -208,7 +206,7 @@ public DestinationS3ParquetColumnarStorage withDictionaryEncoding(boolean dictio /** * Default: true. */ - public DestinationS3ParquetColumnarStorage withDictionaryEncoding(Optional dictionaryEncoding) { + public DestinationS3ParquetColumnarStorage withDictionaryEncoding(Optional dictionaryEncoding) { Utils.checkNotNull(dictionaryEncoding, "dictionaryEncoding"); this.dictionaryEncoding = dictionaryEncoding; return this; @@ -226,7 +224,7 @@ public DestinationS3ParquetColumnarStorage withDictionaryPageSizeKb(long diction /** * There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. */ - public DestinationS3ParquetColumnarStorage withDictionaryPageSizeKb(Optional dictionaryPageSizeKb) { + public DestinationS3ParquetColumnarStorage withDictionaryPageSizeKb(Optional dictionaryPageSizeKb) { Utils.checkNotNull(dictionaryPageSizeKb, "dictionaryPageSizeKb"); this.dictionaryPageSizeKb = dictionaryPageSizeKb; return this; @@ -256,7 +254,7 @@ public DestinationS3ParquetColumnarStorage withMaxPaddingSizeMb(long maxPaddingS /** * Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. */ - public DestinationS3ParquetColumnarStorage withMaxPaddingSizeMb(Optional maxPaddingSizeMb) { + public DestinationS3ParquetColumnarStorage withMaxPaddingSizeMb(Optional maxPaddingSizeMb) { Utils.checkNotNull(maxPaddingSizeMb, "maxPaddingSizeMb"); this.maxPaddingSizeMb = maxPaddingSizeMb; return this; @@ -274,7 +272,7 @@ public DestinationS3ParquetColumnarStorage withPageSizeKb(long pageSizeKb) { /** * The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. */ - public DestinationS3ParquetColumnarStorage withPageSizeKb(Optional pageSizeKb) { + public DestinationS3ParquetColumnarStorage withPageSizeKb(Optional pageSizeKb) { Utils.checkNotNull(pageSizeKb, "pageSizeKb"); this.pageSizeKb = pageSizeKb; return this; @@ -290,18 +288,18 @@ public boolean equals(java.lang.Object o) { } DestinationS3ParquetColumnarStorage other = (DestinationS3ParquetColumnarStorage) o; return - java.util.Objects.deepEquals(this.blockSizeMb, other.blockSizeMb) && - java.util.Objects.deepEquals(this.compressionCodec, other.compressionCodec) && - java.util.Objects.deepEquals(this.dictionaryEncoding, other.dictionaryEncoding) && - java.util.Objects.deepEquals(this.dictionaryPageSizeKb, other.dictionaryPageSizeKb) && - java.util.Objects.deepEquals(this.formatType, other.formatType) && - java.util.Objects.deepEquals(this.maxPaddingSizeMb, other.maxPaddingSizeMb) && - java.util.Objects.deepEquals(this.pageSizeKb, other.pageSizeKb); + Objects.deepEquals(this.blockSizeMb, other.blockSizeMb) && + Objects.deepEquals(this.compressionCodec, other.compressionCodec) && + Objects.deepEquals(this.dictionaryEncoding, other.dictionaryEncoding) && + Objects.deepEquals(this.dictionaryPageSizeKb, other.dictionaryPageSizeKb) && + Objects.deepEquals(this.formatType, other.formatType) && + Objects.deepEquals(this.maxPaddingSizeMb, other.maxPaddingSizeMb) && + Objects.deepEquals(this.pageSizeKb, other.pageSizeKb); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( blockSizeMb, compressionCodec, dictionaryEncoding, @@ -325,19 +323,19 @@ public String toString() { public final static class Builder { - private Optional blockSizeMb; + private Optional blockSizeMb; private Optional compressionCodec; - private Optional dictionaryEncoding; + private Optional dictionaryEncoding; - private Optional dictionaryPageSizeKb; + private Optional dictionaryPageSizeKb; private Optional formatType; - private Optional maxPaddingSizeMb; + private Optional maxPaddingSizeMb; - private Optional pageSizeKb; + private Optional pageSizeKb; private Builder() { // force use of static builder() method @@ -355,7 +353,7 @@ public Builder blockSizeMb(long blockSizeMb) { /** * This is the size of a row group being buffered in memory. It limits the memory usage when writing. Larger values will improve the IO when reading, but consume more memory when writing. Default: 128 MB. */ - public Builder blockSizeMb(Optional blockSizeMb) { + public Builder blockSizeMb(Optional blockSizeMb) { Utils.checkNotNull(blockSizeMb, "blockSizeMb"); this.blockSizeMb = blockSizeMb; return this; @@ -391,7 +389,7 @@ public Builder dictionaryEncoding(boolean dictionaryEncoding) { /** * Default: true. */ - public Builder dictionaryEncoding(Optional dictionaryEncoding) { + public Builder dictionaryEncoding(Optional dictionaryEncoding) { Utils.checkNotNull(dictionaryEncoding, "dictionaryEncoding"); this.dictionaryEncoding = dictionaryEncoding; return this; @@ -409,7 +407,7 @@ public Builder dictionaryPageSizeKb(long dictionaryPageSizeKb) { /** * There is one dictionary page per column per row group when dictionary encoding is used. The dictionary page size works like the page size but for dictionary. Default: 1024 KB. */ - public Builder dictionaryPageSizeKb(Optional dictionaryPageSizeKb) { + public Builder dictionaryPageSizeKb(Optional dictionaryPageSizeKb) { Utils.checkNotNull(dictionaryPageSizeKb, "dictionaryPageSizeKb"); this.dictionaryPageSizeKb = dictionaryPageSizeKb; return this; @@ -439,7 +437,7 @@ public Builder maxPaddingSizeMb(long maxPaddingSizeMb) { /** * Maximum size allowed as padding to align row groups. This is also the minimum size of a row group. Default: 8 MB. */ - public Builder maxPaddingSizeMb(Optional maxPaddingSizeMb) { + public Builder maxPaddingSizeMb(Optional maxPaddingSizeMb) { Utils.checkNotNull(maxPaddingSizeMb, "maxPaddingSizeMb"); this.maxPaddingSizeMb = maxPaddingSizeMb; return this; @@ -457,7 +455,7 @@ public Builder pageSizeKb(long pageSizeKb) { /** * The page size is for compression. A block is composed of pages. A page is the smallest unit that must be read fully to access a single record. If this value is too small, the compression will deteriorate. Default: 1024 KB. */ - public Builder pageSizeKb(Optional pageSizeKb) { + public Builder pageSizeKb(Optional pageSizeKb) { Utils.checkNotNull(pageSizeKb, "pageSizeKb"); this.pageSizeKb = pageSizeKb; return this; @@ -484,8 +482,7 @@ public DestinationS3ParquetColumnarStorage build() { } if (pageSizeKb == null) { pageSizeKb = _SINGLETON_VALUE_PageSizeKb.value(); - } - return new DestinationS3ParquetColumnarStorage( + } return new DestinationS3ParquetColumnarStorage( blockSizeMb, compressionCodec, dictionaryEncoding, @@ -495,11 +492,11 @@ public DestinationS3ParquetColumnarStorage build() { pageSizeKb); } - private static final LazySingletonValue> _SINGLETON_VALUE_BlockSizeMb = + private static final LazySingletonValue> _SINGLETON_VALUE_BlockSizeMb = new LazySingletonValue<>( "block_size_mb", "128", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_CompressionCodec = new LazySingletonValue<>( @@ -507,17 +504,17 @@ public DestinationS3ParquetColumnarStorage build() { "\"UNCOMPRESSED\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DictionaryEncoding = + private static final LazySingletonValue> _SINGLETON_VALUE_DictionaryEncoding = new LazySingletonValue<>( "dictionary_encoding", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DictionaryPageSizeKb = + private static final LazySingletonValue> _SINGLETON_VALUE_DictionaryPageSizeKb = new LazySingletonValue<>( "dictionary_page_size_kb", "1024", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_FormatType = new LazySingletonValue<>( @@ -525,17 +522,17 @@ public DestinationS3ParquetColumnarStorage build() { "\"Parquet\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_MaxPaddingSizeMb = + private static final LazySingletonValue> _SINGLETON_VALUE_MaxPaddingSizeMb = new LazySingletonValue<>( "max_padding_size_mb", "8", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_PageSizeKb = + private static final LazySingletonValue> _SINGLETON_VALUE_PageSizeKb = new LazySingletonValue<>( "page_size_kb", "1024", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegion.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegion.java index 582256b47..38a43d7ca 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3S3BucketRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationS3S3BucketRegion - The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCodec.java index 54f1eecff..8ba4bbbdb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasCodec { DEFLATE("Deflate"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompression.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompression.java index 6e5f2be39..9c5476603 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompression.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompression.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationS3SchemasCompression - Whether the output files should be compressed. If compression is selected, the output filename will have an extra extension (GZIP: ".jsonl.gz"). @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationS3SchemasCompression._Deserializer.class) public class DestinationS3SchemasCompression { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationS3SchemasCompression(TypedObject value) { @@ -48,8 +45,8 @@ public static DestinationS3SchemasCompression of(DestinationS3SchemasGZIP value) /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationS3SchemasNoCompression}
    • - *
    • {@code DestinationS3SchemasGZIP}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3SchemasNoCompression}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationS3SchemasGZIP}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } DestinationS3SchemasCompression other = (DestinationS3SchemasCompression) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationS3SchemasCompression.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationS3SchemasCompression.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionCodec.java index ecfbdec32..da5cc4bcb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationS3SchemasCompressionCodec - The compression algorithm used to compress data pages. diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionType.java index 8249d2f16..13341f078 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasCompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasCompressionType { GZIP("GZIP"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFlattening.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFlattening.java index c19eb9bbd..a9d2ccf6e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFlattening.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFlattening.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationS3SchemasFlattening - Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCodec.java index 8292a6f2c..a43258387 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasFormatCodec { BZIP2("bzip2"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCompressionType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCompressionType.java index 37296c7d8..43fc7ee72 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatCompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasFormatCompressionType { NO_COMPRESSION("No Compression"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatFormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatFormatType.java index 6d1a03592..ba9368900 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatFormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatFormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasFormatFormatType { AVRO("Avro"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatNoCompression.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatNoCompression.java index 9d7c41ff0..05b730f54 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatNoCompression.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatNoCompression.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3SchemasFormatNoCompression { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } DestinationS3SchemasFormatNoCompression other = (DestinationS3SchemasFormatNoCompression) o; return - java.util.Objects.deepEquals(this.codec, other.codec); + Objects.deepEquals(this.codec, other.codec); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec); } @@ -106,8 +107,7 @@ public Builder codec(Optional codec) { public DestinationS3SchemasFormatNoCompression build() { if (codec == null) { codec = _SINGLETON_VALUE_Codec.value(); - } - return new DestinationS3SchemasFormatNoCompression( + } return new DestinationS3SchemasFormatNoCompression( codec); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3Codec.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3Codec.java index 046e01ad5..05df3f3fc 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3Codec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3Codec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasFormatOutputFormat3Codec { ZSTANDARD("zstandard"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.java index c0fc82247..70618c7f5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec { SNAPPY("snappy"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCodec.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCodec.java index fab0494b8..1422c16a9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCodec.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCodec.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasFormatOutputFormatCodec { XZ("xz"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.java index 43cc79e65..a71d1f641 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatCompressionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasFormatOutputFormatCompressionType { GZIP("GZIP"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatFormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatFormatType.java index 4de73a841..63318b9e1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatFormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatOutputFormatFormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasFormatOutputFormatFormatType { PARQUET("Parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatType.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatType.java index 7831ff5a8..671eb5925 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasFormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationS3SchemasFormatType { JSONL("JSONL"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasGZIP.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasGZIP.java index 740e05d75..13e3b7a75 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasGZIP.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3SchemasGZIP.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3SchemasGZIP { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } DestinationS3SchemasGZIP other = (DestinationS3SchemasGZIP) o; return - java.util.Objects.deepEquals(this.compressionType, other.compressionType); + Objects.deepEquals(this.compressionType, other.compressionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionType); } @@ -106,8 +107,7 @@ public Builder compressionType(Optional compressionLevel; + private Optional compressionLevel; @JsonCreator public DestinationS3Xz( @JsonProperty("codec") Optional codec, - @JsonProperty("compression_level") Optional compressionLevel) { + @JsonProperty("compression_level") Optional compressionLevel) { Utils.checkNotNull(codec, "codec"); Utils.checkNotNull(compressionLevel, "compressionLevel"); this.codec = codec; @@ -55,10 +57,9 @@ public Optional codec() { /** * See <a href="https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/compressors/xz/XZCompressorOutputStream.html#XZCompressorOutputStream-java.io.OutputStream-int-">here</a> for details. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional compressionLevel() { - return (Optional) compressionLevel; + return compressionLevel; } public final static Builder builder() { @@ -89,7 +90,7 @@ public DestinationS3Xz withCompressionLevel(long compressionLevel) { /** * See <a href="https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/compressors/xz/XZCompressorOutputStream.html#XZCompressorOutputStream-java.io.OutputStream-int-">here</a> for details. */ - public DestinationS3Xz withCompressionLevel(Optional compressionLevel) { + public DestinationS3Xz withCompressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -105,13 +106,13 @@ public boolean equals(java.lang.Object o) { } DestinationS3Xz other = (DestinationS3Xz) o; return - java.util.Objects.deepEquals(this.codec, other.codec) && - java.util.Objects.deepEquals(this.compressionLevel, other.compressionLevel); + Objects.deepEquals(this.codec, other.codec) && + Objects.deepEquals(this.compressionLevel, other.compressionLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec, compressionLevel); } @@ -127,7 +128,7 @@ public final static class Builder { private Optional codec; - private Optional compressionLevel; + private Optional compressionLevel; private Builder() { // force use of static builder() method @@ -157,7 +158,7 @@ public Builder compressionLevel(long compressionLevel) { /** * See <a href="https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/compressors/xz/XZCompressorOutputStream.html#XZCompressorOutputStream-java.io.OutputStream-int-">here</a> for details. */ - public Builder compressionLevel(Optional compressionLevel) { + public Builder compressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -169,8 +170,7 @@ public DestinationS3Xz build() { } if (compressionLevel == null) { compressionLevel = _SINGLETON_VALUE_CompressionLevel.value(); - } - return new DestinationS3Xz( + } return new DestinationS3Xz( codec, compressionLevel); } @@ -181,11 +181,11 @@ public DestinationS3Xz build() { "\"xz\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = new LazySingletonValue<>( "compression_level", "6", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationS3Zstandard.java b/src/main/java/com/airbyte/api/models/shared/DestinationS3Zstandard.java index 2e7643e56..85a4084f4 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationS3Zstandard.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationS3Zstandard.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationS3Zstandard { @JsonInclude(Include.NON_ABSENT) @@ -30,20 +33,20 @@ public class DestinationS3Zstandard { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("compression_level") - private Optional compressionLevel; + private Optional compressionLevel; /** * If true, include a checksum with each data block. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("include_checksum") - private Optional includeChecksum; + private Optional includeChecksum; @JsonCreator public DestinationS3Zstandard( @JsonProperty("codec") Optional codec, - @JsonProperty("compression_level") Optional compressionLevel, - @JsonProperty("include_checksum") Optional includeChecksum) { + @JsonProperty("compression_level") Optional compressionLevel, + @JsonProperty("include_checksum") Optional includeChecksum) { Utils.checkNotNull(codec, "codec"); Utils.checkNotNull(compressionLevel, "compressionLevel"); Utils.checkNotNull(includeChecksum, "includeChecksum"); @@ -65,19 +68,17 @@ public Optional codec() { /** * Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional compressionLevel() { - return (Optional) compressionLevel; + return compressionLevel; } /** * If true, include a checksum with each data block. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeChecksum() { - return (Optional) includeChecksum; + return includeChecksum; } public final static Builder builder() { @@ -108,7 +109,7 @@ public DestinationS3Zstandard withCompressionLevel(long compressionLevel) { /** * Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. */ - public DestinationS3Zstandard withCompressionLevel(Optional compressionLevel) { + public DestinationS3Zstandard withCompressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -126,7 +127,7 @@ public DestinationS3Zstandard withIncludeChecksum(boolean includeChecksum) { /** * If true, include a checksum with each data block. */ - public DestinationS3Zstandard withIncludeChecksum(Optional includeChecksum) { + public DestinationS3Zstandard withIncludeChecksum(Optional includeChecksum) { Utils.checkNotNull(includeChecksum, "includeChecksum"); this.includeChecksum = includeChecksum; return this; @@ -142,14 +143,14 @@ public boolean equals(java.lang.Object o) { } DestinationS3Zstandard other = (DestinationS3Zstandard) o; return - java.util.Objects.deepEquals(this.codec, other.codec) && - java.util.Objects.deepEquals(this.compressionLevel, other.compressionLevel) && - java.util.Objects.deepEquals(this.includeChecksum, other.includeChecksum); + Objects.deepEquals(this.codec, other.codec) && + Objects.deepEquals(this.compressionLevel, other.compressionLevel) && + Objects.deepEquals(this.includeChecksum, other.includeChecksum); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec, compressionLevel, includeChecksum); @@ -167,9 +168,9 @@ public final static class Builder { private Optional codec; - private Optional compressionLevel; + private Optional compressionLevel; - private Optional includeChecksum; + private Optional includeChecksum; private Builder() { // force use of static builder() method @@ -199,7 +200,7 @@ public Builder compressionLevel(long compressionLevel) { /** * Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. */ - public Builder compressionLevel(Optional compressionLevel) { + public Builder compressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -217,7 +218,7 @@ public Builder includeChecksum(boolean includeChecksum) { /** * If true, include a checksum with each data block. */ - public Builder includeChecksum(Optional includeChecksum) { + public Builder includeChecksum(Optional includeChecksum) { Utils.checkNotNull(includeChecksum, "includeChecksum"); this.includeChecksum = includeChecksum; return this; @@ -232,8 +233,7 @@ public DestinationS3Zstandard build() { } if (includeChecksum == null) { includeChecksum = _SINGLETON_VALUE_IncludeChecksum.value(); - } - return new DestinationS3Zstandard( + } return new DestinationS3Zstandard( codec, compressionLevel, includeChecksum); @@ -245,17 +245,17 @@ public DestinationS3Zstandard build() { "\"zstandard\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = new LazySingletonValue<>( "compression_level", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeChecksum = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeChecksum = new LazySingletonValue<>( "include_checksum", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java b/src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java index 15a1de79f..1cbd3b90b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSftpJson.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationSftpJson { @JsonProperty("destinationType") @@ -47,7 +48,7 @@ public class DestinationSftpJson { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * Username to use to access the SFTP server. @@ -60,7 +61,7 @@ public DestinationSftpJson( @JsonProperty("destination_path") String destinationPath, @JsonProperty("host") String host, @JsonProperty("password") String password, - @JsonProperty("port") Optional port, + @JsonProperty("port") Optional port, @JsonProperty("username") String username) { Utils.checkNotNull(destinationPath, "destinationPath"); Utils.checkNotNull(host, "host"); @@ -115,10 +116,9 @@ public String password() { /** * Port of the SFTP server. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** @@ -172,7 +172,7 @@ public DestinationSftpJson withPort(long port) { /** * Port of the SFTP server. */ - public DestinationSftpJson withPort(Optional port) { + public DestinationSftpJson withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -197,17 +197,17 @@ public boolean equals(java.lang.Object o) { } DestinationSftpJson other = (DestinationSftpJson) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.destinationPath, other.destinationPath) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.destinationPath, other.destinationPath) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, destinationPath, host, @@ -235,7 +235,7 @@ public final static class Builder { private String password; - private Optional port; + private Optional port; private String username; @@ -282,7 +282,7 @@ public Builder port(long port) { /** * Port of the SFTP server. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -300,8 +300,7 @@ public Builder username(String username) { public DestinationSftpJson build() { if (port == null) { port = _SINGLETON_VALUE_Port.value(); - } - return new DestinationSftpJson( + } return new DestinationSftpJson( destinationPath, host, password, @@ -315,11 +314,11 @@ public DestinationSftpJson build() { "\"sftp-json\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java index 59ad262b4..6505368f8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationSnowflake { @JsonInclude(Include.NON_ABSENT) @@ -39,7 +42,7 @@ public class DestinationSnowflake { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("disable_type_dedupe") - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; /** * Enter your Snowflake account's <a href="https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#using-an-account-locator-as-an-identifier">locator</a> (in the format <account_locator>.<region>.<cloud>.snowflakecomputing.com) @@ -52,21 +55,21 @@ public class DestinationSnowflake { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * The schema to write raw tables into (default: airbyte_internal) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("raw_data_schema") - private Optional rawDataSchema; + private Optional rawDataSchema; /** * The number of days of Snowflake Time Travel to enable on the tables. See <a href="https://docs.snowflake.com/en/user-guide/data-time-travel#data-retention-period">Snowflake's documentation</a> for more information. Setting a nonzero value will incur increased storage costs in your Snowflake instance. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("retention_period_days") - private Optional retentionPeriodDays; + private Optional retentionPeriodDays; /** * Enter the <a href="https://docs.snowflake.com/en/user-guide/security-access-control-overview.html#roles">role</a> that you want to use to access Snowflake @@ -85,7 +88,7 @@ public class DestinationSnowflake { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("use_merge_for_upsert") - private Optional useMergeForUpsert; + private Optional useMergeForUpsert; /** * Enter the name of the user you want to use to access the database @@ -103,14 +106,14 @@ public class DestinationSnowflake { public DestinationSnowflake( @JsonProperty("credentials") Optional credentials, @JsonProperty("database") String database, - @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, + @JsonProperty("disable_type_dedupe") Optional disableTypeDedupe, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("raw_data_schema") Optional rawDataSchema, - @JsonProperty("retention_period_days") Optional retentionPeriodDays, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("raw_data_schema") Optional rawDataSchema, + @JsonProperty("retention_period_days") Optional retentionPeriodDays, @JsonProperty("role") String role, @JsonProperty("schema") String schema, - @JsonProperty("use_merge_for_upsert") Optional useMergeForUpsert, + @JsonProperty("use_merge_for_upsert") Optional useMergeForUpsert, @JsonProperty("username") String username, @JsonProperty("warehouse") String warehouse) { Utils.checkNotNull(credentials, "credentials"); @@ -172,10 +175,9 @@ public DestinationSnowflakeSnowflake destinationType() { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional disableTypeDedupe() { - return (Optional) disableTypeDedupe; + return disableTypeDedupe; } /** @@ -189,28 +191,25 @@ public String host() { /** * Enter the additional properties to pass to the JDBC URL string when connecting to the database (formatted as key=value pairs separated by the symbol &). Example: key1=value1&key2=value2&key3=value3 */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * The schema to write raw tables into (default: airbyte_internal) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional rawDataSchema() { - return (Optional) rawDataSchema; + return rawDataSchema; } /** * The number of days of Snowflake Time Travel to enable on the tables. See <a href="https://docs.snowflake.com/en/user-guide/data-time-travel#data-retention-period">Snowflake's documentation</a> for more information. Setting a nonzero value will incur increased storage costs in your Snowflake instance. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional retentionPeriodDays() { - return (Optional) retentionPeriodDays; + return retentionPeriodDays; } /** @@ -232,10 +231,9 @@ public String schema() { /** * Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional useMergeForUpsert() { - return (Optional) useMergeForUpsert; + return useMergeForUpsert; } /** @@ -291,7 +289,7 @@ public DestinationSnowflake withDisableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public DestinationSnowflake withDisableTypeDedupe(Optional disableTypeDedupe) { + public DestinationSnowflake withDisableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -318,7 +316,7 @@ public DestinationSnowflake withJdbcUrlParams(String jdbcUrlParams) { /** * Enter the additional properties to pass to the JDBC URL string when connecting to the database (formatted as key=value pairs separated by the symbol &). Example: key1=value1&key2=value2&key3=value3 */ - public DestinationSnowflake withJdbcUrlParams(Optional jdbcUrlParams) { + public DestinationSnowflake withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -336,7 +334,7 @@ public DestinationSnowflake withRawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public DestinationSnowflake withRawDataSchema(Optional rawDataSchema) { + public DestinationSnowflake withRawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -354,7 +352,7 @@ public DestinationSnowflake withRetentionPeriodDays(long retentionPeriodDays) { /** * The number of days of Snowflake Time Travel to enable on the tables. See <a href="https://docs.snowflake.com/en/user-guide/data-time-travel#data-retention-period">Snowflake's documentation</a> for more information. Setting a nonzero value will incur increased storage costs in your Snowflake instance. */ - public DestinationSnowflake withRetentionPeriodDays(Optional retentionPeriodDays) { + public DestinationSnowflake withRetentionPeriodDays(Optional retentionPeriodDays) { Utils.checkNotNull(retentionPeriodDays, "retentionPeriodDays"); this.retentionPeriodDays = retentionPeriodDays; return this; @@ -390,7 +388,7 @@ public DestinationSnowflake withUseMergeForUpsert(boolean useMergeForUpsert) { /** * Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE */ - public DestinationSnowflake withUseMergeForUpsert(Optional useMergeForUpsert) { + public DestinationSnowflake withUseMergeForUpsert(Optional useMergeForUpsert) { Utils.checkNotNull(useMergeForUpsert, "useMergeForUpsert"); this.useMergeForUpsert = useMergeForUpsert; return this; @@ -424,24 +422,24 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflake other = (DestinationSnowflake) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && - java.util.Objects.deepEquals(this.retentionPeriodDays, other.retentionPeriodDays) && - java.util.Objects.deepEquals(this.role, other.role) && - java.util.Objects.deepEquals(this.schema, other.schema) && - java.util.Objects.deepEquals(this.useMergeForUpsert, other.useMergeForUpsert) && - java.util.Objects.deepEquals(this.username, other.username) && - java.util.Objects.deepEquals(this.warehouse, other.warehouse); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.disableTypeDedupe, other.disableTypeDedupe) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.rawDataSchema, other.rawDataSchema) && + Objects.deepEquals(this.retentionPeriodDays, other.retentionPeriodDays) && + Objects.deepEquals(this.role, other.role) && + Objects.deepEquals(this.schema, other.schema) && + Objects.deepEquals(this.useMergeForUpsert, other.useMergeForUpsert) && + Objects.deepEquals(this.username, other.username) && + Objects.deepEquals(this.warehouse, other.warehouse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, database, destinationType, @@ -481,21 +479,21 @@ public final static class Builder { private String database; - private Optional disableTypeDedupe; + private Optional disableTypeDedupe; private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional rawDataSchema = Optional.empty(); + private Optional rawDataSchema = Optional.empty(); - private Optional retentionPeriodDays; + private Optional retentionPeriodDays; private String role; private String schema; - private Optional useMergeForUpsert; + private Optional useMergeForUpsert; private String username; @@ -538,7 +536,7 @@ public Builder disableTypeDedupe(boolean disableTypeDedupe) { /** * Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions */ - public Builder disableTypeDedupe(Optional disableTypeDedupe) { + public Builder disableTypeDedupe(Optional disableTypeDedupe) { Utils.checkNotNull(disableTypeDedupe, "disableTypeDedupe"); this.disableTypeDedupe = disableTypeDedupe; return this; @@ -565,7 +563,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Enter the additional properties to pass to the JDBC URL string when connecting to the database (formatted as key=value pairs separated by the symbol &). Example: key1=value1&key2=value2&key3=value3 */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -583,7 +581,7 @@ public Builder rawDataSchema(String rawDataSchema) { /** * The schema to write raw tables into (default: airbyte_internal) */ - public Builder rawDataSchema(Optional rawDataSchema) { + public Builder rawDataSchema(Optional rawDataSchema) { Utils.checkNotNull(rawDataSchema, "rawDataSchema"); this.rawDataSchema = rawDataSchema; return this; @@ -601,7 +599,7 @@ public Builder retentionPeriodDays(long retentionPeriodDays) { /** * The number of days of Snowflake Time Travel to enable on the tables. See <a href="https://docs.snowflake.com/en/user-guide/data-time-travel#data-retention-period">Snowflake's documentation</a> for more information. Setting a nonzero value will incur increased storage costs in your Snowflake instance. */ - public Builder retentionPeriodDays(Optional retentionPeriodDays) { + public Builder retentionPeriodDays(Optional retentionPeriodDays) { Utils.checkNotNull(retentionPeriodDays, "retentionPeriodDays"); this.retentionPeriodDays = retentionPeriodDays; return this; @@ -637,7 +635,7 @@ public Builder useMergeForUpsert(boolean useMergeForUpsert) { /** * Use MERGE for de-duplication of final tables. This option no effect if Final tables are disabled or Sync mode is not DEDUPE */ - public Builder useMergeForUpsert(Optional useMergeForUpsert) { + public Builder useMergeForUpsert(Optional useMergeForUpsert) { Utils.checkNotNull(useMergeForUpsert, "useMergeForUpsert"); this.useMergeForUpsert = useMergeForUpsert; return this; @@ -670,8 +668,7 @@ public DestinationSnowflake build() { } if (useMergeForUpsert == null) { useMergeForUpsert = _SINGLETON_VALUE_UseMergeForUpsert.value(); - } - return new DestinationSnowflake( + } return new DestinationSnowflake( credentials, database, disableTypeDedupe, @@ -692,23 +689,23 @@ public DestinationSnowflake build() { "\"snowflake\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = + private static final LazySingletonValue> _SINGLETON_VALUE_DisableTypeDedupe = new LazySingletonValue<>( "disable_type_dedupe", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_RetentionPeriodDays = + private static final LazySingletonValue> _SINGLETON_VALUE_RetentionPeriodDays = new LazySingletonValue<>( "retention_period_days", "1", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_UseMergeForUpsert = + private static final LazySingletonValue> _SINGLETON_VALUE_UseMergeForUpsert = new LazySingletonValue<>( "use_merge_for_upsert", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java index fc9cbfffc..fe0f4e05d 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeAuthType { KEY_PAIR_AUTHENTICATION("Key Pair Authentication"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortex.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortex.java index 340febf24..bceb8ca8c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortex.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortex.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * DestinationSnowflakeCortex - The configuration model for the Vector DB based destinations. This model is used to generate the UI for the destination configuration, * as well as to provide type safety for the configuration passed to the destination. @@ -53,7 +54,7 @@ public class DestinationSnowflakeCortex { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("omit_raw_text") - private Optional omitRawText; + private Optional omitRawText; @JsonProperty("processing") private DestinationSnowflakeCortexProcessingConfigModel processing; @@ -62,7 +63,7 @@ public class DestinationSnowflakeCortex { public DestinationSnowflakeCortex( @JsonProperty("embedding") DestinationSnowflakeCortexEmbedding embedding, @JsonProperty("indexing") SnowflakeConnection indexing, - @JsonProperty("omit_raw_text") Optional omitRawText, + @JsonProperty("omit_raw_text") Optional omitRawText, @JsonProperty("processing") DestinationSnowflakeCortexProcessingConfigModel processing) { Utils.checkNotNull(embedding, "embedding"); Utils.checkNotNull(indexing, "indexing"); @@ -106,10 +107,9 @@ public SnowflakeConnection indexing() { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional omitRawText() { - return (Optional) omitRawText; + return omitRawText; } @JsonIgnore @@ -151,7 +151,7 @@ public DestinationSnowflakeCortex withOmitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public DestinationSnowflakeCortex withOmitRawText(Optional omitRawText) { + public DestinationSnowflakeCortex withOmitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortex other = (DestinationSnowflakeCortex) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.embedding, other.embedding) && - java.util.Objects.deepEquals(this.indexing, other.indexing) && - java.util.Objects.deepEquals(this.omitRawText, other.omitRawText) && - java.util.Objects.deepEquals(this.processing, other.processing); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.embedding, other.embedding) && + Objects.deepEquals(this.indexing, other.indexing) && + Objects.deepEquals(this.omitRawText, other.omitRawText) && + Objects.deepEquals(this.processing, other.processing); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, embedding, indexing, @@ -206,7 +206,7 @@ public final static class Builder { private SnowflakeConnection indexing; - private Optional omitRawText; + private Optional omitRawText; private DestinationSnowflakeCortexProcessingConfigModel processing; @@ -244,7 +244,7 @@ public Builder omitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public Builder omitRawText(Optional omitRawText) { + public Builder omitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -259,8 +259,7 @@ public Builder processing(DestinationSnowflakeCortexProcessingConfigModel proces public DestinationSnowflakeCortex build() { if (omitRawText == null) { omitRawText = _SINGLETON_VALUE_OmitRawText.value(); - } - return new DestinationSnowflakeCortex( + } return new DestinationSnowflakeCortex( embedding, indexing, omitRawText, @@ -273,11 +272,11 @@ public DestinationSnowflakeCortex build() { "\"snowflake-cortex\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = + private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = new LazySingletonValue<>( "omit_raw_text", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexAzureOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexAzureOpenAI.java index 6cfab0d5c..3ef3a9429 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexAzureOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexAzureOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationSnowflakeCortexAzureOpenAI - Use the Azure-hosted OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -131,15 +132,15 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexAzureOpenAI other = (DestinationSnowflakeCortexAzureOpenAI) o; return - java.util.Objects.deepEquals(this.apiBase, other.apiBase) && - java.util.Objects.deepEquals(this.deployment, other.deployment) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.apiBase, other.apiBase) && + Objects.deepEquals(this.deployment, other.deployment) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiBase, deployment, mode, diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByMarkdownHeader.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByMarkdownHeader.java index 7d5ff48a2..19a2da848 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByMarkdownHeader.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByMarkdownHeader.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationSnowflakeCortexByMarkdownHeader - Split the text by Markdown headers down to the specified header level. If the chunk size fits multiple sections, they will be combined into a single chunk. */ @@ -33,11 +35,11 @@ public class DestinationSnowflakeCortexByMarkdownHeader { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("split_level") - private Optional splitLevel; + private Optional splitLevel; @JsonCreator public DestinationSnowflakeCortexByMarkdownHeader( - @JsonProperty("split_level") Optional splitLevel) { + @JsonProperty("split_level") Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.mode = Builder._SINGLETON_VALUE_Mode.value(); this.splitLevel = splitLevel; @@ -56,10 +58,9 @@ public Optional mod /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional splitLevel() { - return (Optional) splitLevel; + return splitLevel; } public final static Builder builder() { @@ -78,7 +79,7 @@ public DestinationSnowflakeCortexByMarkdownHeader withSplitLevel(long splitLevel /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public DestinationSnowflakeCortexByMarkdownHeader withSplitLevel(Optional splitLevel) { + public DestinationSnowflakeCortexByMarkdownHeader withSplitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -94,13 +95,13 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexByMarkdownHeader other = (DestinationSnowflakeCortexByMarkdownHeader) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.splitLevel, other.splitLevel); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.splitLevel, other.splitLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, splitLevel); } @@ -114,7 +115,7 @@ public String toString() { public final static class Builder { - private Optional splitLevel; + private Optional splitLevel; private Builder() { // force use of static builder() method @@ -132,7 +133,7 @@ public Builder splitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public Builder splitLevel(Optional splitLevel) { + public Builder splitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -141,8 +142,7 @@ public Builder splitLevel(Optional splitLevel) { public DestinationSnowflakeCortexByMarkdownHeader build() { if (splitLevel == null) { splitLevel = _SINGLETON_VALUE_SplitLevel.value(); - } - return new DestinationSnowflakeCortexByMarkdownHeader( + } return new DestinationSnowflakeCortexByMarkdownHeader( splitLevel); } @@ -152,11 +152,11 @@ public DestinationSnowflakeCortexByMarkdownHeader build() { "\"markdown\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = new LazySingletonValue<>( "split_level", "1", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.java index 4b4c84c56..0bff14179 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexByProgrammingLanguage.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationSnowflakeCortexByProgrammingLanguage - Split the text by suitable delimiters based on the programming language. This is useful for splitting code into chunks. */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexByProgrammingLanguage other = (DestinationSnowflakeCortexByProgrammingLanguage) o; return - java.util.Objects.deepEquals(this.language, other.language) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.language, other.language) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( language, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexBySeparator.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexBySeparator.java index bb8adf007..208425d31 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexBySeparator.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexBySeparator.java @@ -1,23 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * DestinationSnowflakeCortexBySeparator - Split the text by the list of separators until the chunk size is reached, using the earlier mentioned separators where possible. This is useful for splitting text fields by paragraphs, sentences, words, etc. */ @@ -29,7 +32,7 @@ public class DestinationSnowflakeCortexBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("keep_separator") - private Optional keepSeparator; + private Optional keepSeparator; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -40,12 +43,12 @@ public class DestinationSnowflakeCortexBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("separators") - private Optional> separators; + private Optional> separators; @JsonCreator public DestinationSnowflakeCortexBySeparator( - @JsonProperty("keep_separator") Optional keepSeparator, - @JsonProperty("separators") Optional> separators) { + @JsonProperty("keep_separator") Optional keepSeparator, + @JsonProperty("separators") Optional> separators) { Utils.checkNotNull(keepSeparator, "keepSeparator"); Utils.checkNotNull(separators, "separators"); this.keepSeparator = keepSeparator; @@ -60,10 +63,9 @@ public DestinationSnowflakeCortexBySeparator() { /** * Whether to keep the separator in the resulting chunks */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional keepSeparator() { - return (Optional) keepSeparator; + return keepSeparator; } @SuppressWarnings("unchecked") @@ -77,8 +79,8 @@ public Optional mode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> separators() { - return (Optional>) separators; + public Optional> separators() { + return (Optional>) separators; } public final static Builder builder() { @@ -97,7 +99,7 @@ public DestinationSnowflakeCortexBySeparator withKeepSeparator(boolean keepSepar /** * Whether to keep the separator in the resulting chunks */ - public DestinationSnowflakeCortexBySeparator withKeepSeparator(Optional keepSeparator) { + public DestinationSnowflakeCortexBySeparator withKeepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -106,7 +108,7 @@ public DestinationSnowflakeCortexBySeparator withKeepSeparator(Optional separators) { + public DestinationSnowflakeCortexBySeparator withSeparators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -115,7 +117,7 @@ public DestinationSnowflakeCortexBySeparator withSeparators(java.util.List> separators) { + public DestinationSnowflakeCortexBySeparator withSeparators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -131,14 +133,14 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexBySeparator other = (DestinationSnowflakeCortexBySeparator) o; return - java.util.Objects.deepEquals(this.keepSeparator, other.keepSeparator) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.separators, other.separators); + Objects.deepEquals(this.keepSeparator, other.keepSeparator) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.separators, other.separators); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( keepSeparator, mode, separators); @@ -154,9 +156,9 @@ public String toString() { public final static class Builder { - private Optional keepSeparator; + private Optional keepSeparator; - private Optional> separators = Optional.empty(); + private Optional> separators = Optional.empty(); private Builder() { // force use of static builder() method @@ -174,7 +176,7 @@ public Builder keepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public Builder keepSeparator(Optional keepSeparator) { + public Builder keepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -183,7 +185,7 @@ public Builder keepSeparator(Optional keepSeparator) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(java.util.List separators) { + public Builder separators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -192,7 +194,7 @@ public Builder separators(java.util.List separators) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(Optional> separators) { + public Builder separators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -201,17 +203,16 @@ public Builder separators(Optional> separators) public DestinationSnowflakeCortexBySeparator build() { if (keepSeparator == null) { keepSeparator = _SINGLETON_VALUE_KeepSeparator.value(); - } - return new DestinationSnowflakeCortexBySeparator( + } return new DestinationSnowflakeCortexBySeparator( keepSeparator, separators); } - private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = + private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = new LazySingletonValue<>( "keep_separator", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCohere.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCohere.java index 452db2c39..adae16386 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCohere.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCohere.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationSnowflakeCortexCohere - Use the Cohere API to embed text. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexCohere other = (DestinationSnowflakeCortexCohere) o; return - java.util.Objects.deepEquals(this.cohereKey, other.cohereKey) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.cohereKey, other.cohereKey) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cohereKey, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCredentials.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCredentials.java index be8a60dff..55cb19c46 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexCredentials.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationSnowflakeCortexCredentials { @@ -61,12 +60,12 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexCredentials other = (DestinationSnowflakeCortexCredentials) o; return - java.util.Objects.deepEquals(this.password, other.password); + Objects.deepEquals(this.password, other.password); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( password); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexEmbedding.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexEmbedding.java index 9b511cb1d..231c06028 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexEmbedding.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexEmbedding.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationSnowflakeCortexEmbedding - Embedding configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationSnowflakeCortexEmbedding._Deserializer.class) public class DestinationSnowflakeCortexEmbedding { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationSnowflakeCortexEmbedding(TypedObject value) { @@ -63,11 +60,11 @@ public static DestinationSnowflakeCortexEmbedding of(DestinationSnowflakeCortexO /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationSnowflakeCortexOpenAI}
    • - *
    • {@code DestinationSnowflakeCortexCohere}
    • - *
    • {@code DestinationSnowflakeCortexFake}
    • - *
    • {@code DestinationSnowflakeCortexAzureOpenAI}
    • - *
    • {@code DestinationSnowflakeCortexOpenAICompatible}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeCortexOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeCortexCohere}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeCortexFake}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeCortexAzureOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeCortexOpenAICompatible}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +91,24 @@ public boolean equals(java.lang.Object o) { return false; } DestinationSnowflakeCortexEmbedding other = (DestinationSnowflakeCortexEmbedding) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationSnowflakeCortexEmbedding.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationSnowflakeCortexEmbedding.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFake.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFake.java index 21dfc5daa..9fc40005b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFake.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFake.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationSnowflakeCortexFake - Use a fake embedding made out of random vectors with 1536 embedding dimensions. This is useful for testing the data pipeline without incurring any costs. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexFake other = (DestinationSnowflakeCortexFake) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFieldNameMappingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFieldNameMappingConfigModel.java index 5d950d418..d73325ac4 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFieldNameMappingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexFieldNameMappingConfigModel.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationSnowflakeCortexFieldNameMappingConfigModel { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexFieldNameMappingConfigModel other = (DestinationSnowflakeCortexFieldNameMappingConfigModel) o; return - java.util.Objects.deepEquals(this.fromField, other.fromField) && - java.util.Objects.deepEquals(this.toField, other.toField); + Objects.deepEquals(this.fromField, other.fromField) && + Objects.deepEquals(this.toField, other.toField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fromField, toField); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexLanguage.java index 0ac3a30a3..43b8d2638 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexLanguage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationSnowflakeCortexLanguage - Split code in suitable places based on the programming language diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexMode.java index 777b57f2c..dd9a3e7b2 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeCortexMode { OPENAI("openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAI.java index ee3b8f2a5..4ac54d73c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationSnowflakeCortexOpenAI - Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexOpenAI other = (DestinationSnowflakeCortexOpenAI) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, openaiKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAICompatible.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAICompatible.java index e35323f65..f37f5d081 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAICompatible.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexOpenAICompatible.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationSnowflakeCortexOpenAICompatible - Use a service that's compatible with the OpenAI API to embed text. */ @@ -26,7 +28,7 @@ public class DestinationSnowflakeCortexOpenAICompatible { @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * The base URL for your OpenAI-compatible service @@ -49,14 +51,14 @@ public class DestinationSnowflakeCortexOpenAICompatible { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("model_name") - private Optional modelName; + private Optional modelName; @JsonCreator public DestinationSnowflakeCortexOpenAICompatible( - @JsonProperty("api_key") Optional apiKey, + @JsonProperty("api_key") Optional apiKey, @JsonProperty("base_url") String baseUrl, @JsonProperty("dimensions") long dimensions, - @JsonProperty("model_name") Optional modelName) { + @JsonProperty("model_name") Optional modelName) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(baseUrl, "baseUrl"); Utils.checkNotNull(dimensions, "dimensions"); @@ -74,10 +76,9 @@ public DestinationSnowflakeCortexOpenAICompatible( this(Optional.empty(), baseUrl, dimensions, Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** @@ -105,10 +106,9 @@ public Optional mode() /** * The name of the model to use for embedding */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional modelName() { - return (Optional) modelName; + return modelName; } public final static Builder builder() { @@ -121,7 +121,7 @@ public DestinationSnowflakeCortexOpenAICompatible withApiKey(String apiKey) { return this; } - public DestinationSnowflakeCortexOpenAICompatible withApiKey(Optional apiKey) { + public DestinationSnowflakeCortexOpenAICompatible withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -157,7 +157,7 @@ public DestinationSnowflakeCortexOpenAICompatible withModelName(String modelName /** * The name of the model to use for embedding */ - public DestinationSnowflakeCortexOpenAICompatible withModelName(Optional modelName) { + public DestinationSnowflakeCortexOpenAICompatible withModelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexOpenAICompatible other = (DestinationSnowflakeCortexOpenAICompatible) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.modelName, other.modelName); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.modelName, other.modelName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, baseUrl, dimensions, @@ -202,13 +202,13 @@ public String toString() { public final static class Builder { - private Optional apiKey; + private Optional apiKey; private String baseUrl; private Long dimensions; - private Optional modelName; + private Optional modelName; private Builder() { // force use of static builder() method @@ -220,7 +220,7 @@ public Builder apiKey(String apiKey) { return this; } - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -256,7 +256,7 @@ public Builder modelName(String modelName) { /** * The name of the model to use for embedding */ - public Builder modelName(Optional modelName) { + public Builder modelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -268,19 +268,18 @@ public DestinationSnowflakeCortexOpenAICompatible build() { } if (modelName == null) { modelName = _SINGLETON_VALUE_ModelName.value(); - } - return new DestinationSnowflakeCortexOpenAICompatible( + } return new DestinationSnowflakeCortexOpenAICompatible( apiKey, baseUrl, dimensions, modelName); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = new LazySingletonValue<>( "api_key", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( @@ -288,11 +287,11 @@ public DestinationSnowflakeCortexOpenAICompatible build() { "\"openai_compatible\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = + private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = new LazySingletonValue<>( "model_name", "\"text-embedding-ada-002\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexProcessingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexProcessingConfigModel.java index 7789a0b29..c3e493380 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexProcessingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexProcessingConfigModel.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class DestinationSnowflakeCortexProcessingConfigModel { /** @@ -26,7 +29,7 @@ public class DestinationSnowflakeCortexProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("chunk_overlap") - private Optional chunkOverlap; + private Optional chunkOverlap; /** * Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) @@ -39,21 +42,21 @@ public class DestinationSnowflakeCortexProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("field_name_mappings") - private Optional> fieldNameMappings; + private Optional> fieldNameMappings; /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("metadata_fields") - private Optional> metadataFields; + private Optional> metadataFields; /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_fields") - private Optional> textFields; + private Optional> textFields; /** * Split text fields into chunks based on the specified method. @@ -64,11 +67,11 @@ public class DestinationSnowflakeCortexProcessingConfigModel { @JsonCreator public DestinationSnowflakeCortexProcessingConfigModel( - @JsonProperty("chunk_overlap") Optional chunkOverlap, + @JsonProperty("chunk_overlap") Optional chunkOverlap, @JsonProperty("chunk_size") long chunkSize, - @JsonProperty("field_name_mappings") Optional> fieldNameMappings, - @JsonProperty("metadata_fields") Optional> metadataFields, - @JsonProperty("text_fields") Optional> textFields, + @JsonProperty("field_name_mappings") Optional> fieldNameMappings, + @JsonProperty("metadata_fields") Optional> metadataFields, + @JsonProperty("text_fields") Optional> textFields, @JsonProperty("text_splitter") Optional textSplitter) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); Utils.checkNotNull(chunkSize, "chunkSize"); @@ -92,10 +95,9 @@ public DestinationSnowflakeCortexProcessingConfigModel( /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional chunkOverlap() { - return (Optional) chunkOverlap; + return chunkOverlap; } /** @@ -111,8 +113,8 @@ public long chunkSize() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> fieldNameMappings() { - return (Optional>) fieldNameMappings; + public Optional> fieldNameMappings() { + return (Optional>) fieldNameMappings; } /** @@ -120,8 +122,8 @@ public Optional> metadataFields() { - return (Optional>) metadataFields; + public Optional> metadataFields() { + return (Optional>) metadataFields; } /** @@ -129,8 +131,8 @@ public Optional> metadataFields() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> textFields() { - return (Optional>) textFields; + public Optional> textFields() { + return (Optional>) textFields; } /** @@ -158,7 +160,7 @@ public DestinationSnowflakeCortexProcessingConfigModel withChunkOverlap(long chu /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public DestinationSnowflakeCortexProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { + public DestinationSnowflakeCortexProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -176,7 +178,7 @@ public DestinationSnowflakeCortexProcessingConfigModel withChunkSize(long chunkS /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationSnowflakeCortexProcessingConfigModel withFieldNameMappings(java.util.List fieldNameMappings) { + public DestinationSnowflakeCortexProcessingConfigModel withFieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -185,7 +187,7 @@ public DestinationSnowflakeCortexProcessingConfigModel withFieldNameMappings(jav /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationSnowflakeCortexProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { + public DestinationSnowflakeCortexProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -194,7 +196,7 @@ public DestinationSnowflakeCortexProcessingConfigModel withFieldNameMappings(Opt /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public DestinationSnowflakeCortexProcessingConfigModel withMetadataFields(java.util.List metadataFields) { + public DestinationSnowflakeCortexProcessingConfigModel withMetadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -203,7 +205,7 @@ public DestinationSnowflakeCortexProcessingConfigModel withMetadataFields(java.u /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public DestinationSnowflakeCortexProcessingConfigModel withMetadataFields(Optional> metadataFields) { + public DestinationSnowflakeCortexProcessingConfigModel withMetadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -212,7 +214,7 @@ public DestinationSnowflakeCortexProcessingConfigModel withMetadataFields(Option /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public DestinationSnowflakeCortexProcessingConfigModel withTextFields(java.util.List textFields) { + public DestinationSnowflakeCortexProcessingConfigModel withTextFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -221,7 +223,7 @@ public DestinationSnowflakeCortexProcessingConfigModel withTextFields(java.util. /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public DestinationSnowflakeCortexProcessingConfigModel withTextFields(Optional> textFields) { + public DestinationSnowflakeCortexProcessingConfigModel withTextFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -255,17 +257,17 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeCortexProcessingConfigModel other = (DestinationSnowflakeCortexProcessingConfigModel) o; return - java.util.Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && - java.util.Objects.deepEquals(this.chunkSize, other.chunkSize) && - java.util.Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && - java.util.Objects.deepEquals(this.metadataFields, other.metadataFields) && - java.util.Objects.deepEquals(this.textFields, other.textFields) && - java.util.Objects.deepEquals(this.textSplitter, other.textSplitter); + Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && + Objects.deepEquals(this.chunkSize, other.chunkSize) && + Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && + Objects.deepEquals(this.metadataFields, other.metadataFields) && + Objects.deepEquals(this.textFields, other.textFields) && + Objects.deepEquals(this.textSplitter, other.textSplitter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( chunkOverlap, chunkSize, fieldNameMappings, @@ -287,15 +289,15 @@ public String toString() { public final static class Builder { - private Optional chunkOverlap; + private Optional chunkOverlap; private Long chunkSize; - private Optional> fieldNameMappings = Optional.empty(); + private Optional> fieldNameMappings = Optional.empty(); - private Optional> metadataFields = Optional.empty(); + private Optional> metadataFields = Optional.empty(); - private Optional> textFields = Optional.empty(); + private Optional> textFields = Optional.empty(); private Optional textSplitter = Optional.empty(); @@ -315,7 +317,7 @@ public Builder chunkOverlap(long chunkOverlap) { /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public Builder chunkOverlap(Optional chunkOverlap) { + public Builder chunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -333,7 +335,7 @@ public Builder chunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public Builder fieldNameMappings(java.util.List fieldNameMappings) { + public Builder fieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -342,7 +344,7 @@ public Builder fieldNameMappings(java.util.List> fieldNameMappings) { + public Builder fieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -351,7 +353,7 @@ public Builder fieldNameMappings(Optional metadataFields) { + public Builder metadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -360,7 +362,7 @@ public Builder metadataFields(java.util.List metadataFields) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public Builder metadataFields(Optional> metadataFields) { + public Builder metadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -369,7 +371,7 @@ public Builder metadataFields(Optional> metadat /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(java.util.List textFields) { + public Builder textFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -378,7 +380,7 @@ public Builder textFields(java.util.List textFields) { /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(Optional> textFields) { + public Builder textFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -405,8 +407,7 @@ public Builder textSplitter(Optional> _SINGLETON_VALUE_ChunkOverlap = + private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = new LazySingletonValue<>( "chunk_overlap", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.java index f10c7f521..e9f5dd924 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode { OPENAI_COMPATIBLE("openai_compatible"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.java index ed2b97197..59ad6f006 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode { AZURE_OPENAI("azure_openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.java index cd9c421e1..58915a72e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeCortexSchemasEmbeddingMode { FAKE("fake"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasMode.java index 3e156499b..9df6149e2 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeCortexSchemasMode { COHERE("cohere"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingMode.java index 4ad000b27..30afd8cf5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeCortexSchemasProcessingMode { SEPARATOR("separator"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.java index b04d1c3fd..18200d7be 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeCortexSchemasProcessingTextSplitterMode { MARKDOWN("markdown"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.java index 2aa039d47..b0e43a76b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode { CODE("code"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexTextSplitter.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexTextSplitter.java index 5aca5bd18..ed7e4cef1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexTextSplitter.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeCortexTextSplitter.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationSnowflakeCortexTextSplitter - Split text fields into chunks based on the specified method. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationSnowflakeCortexTextSplitter._Deserializer.class) public class DestinationSnowflakeCortexTextSplitter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationSnowflakeCortexTextSplitter(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationSnowflakeCortexTextSplitter of(DestinationSnowflakeCort /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationSnowflakeCortexBySeparator}
    • - *
    • {@code DestinationSnowflakeCortexByMarkdownHeader}
    • - *
    • {@code DestinationSnowflakeCortexByProgrammingLanguage}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeCortexBySeparator}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeCortexByMarkdownHeader}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationSnowflakeCortexByProgrammingLanguage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationSnowflakeCortexTextSplitter other = (DestinationSnowflakeCortexTextSplitter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationSnowflakeCortexTextSplitter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationSnowflakeCortexTextSplitter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java index 8726c8f1e..46ba9a897 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeOAuth20.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationSnowflakeOAuth20 { /** @@ -36,14 +37,14 @@ public class DestinationSnowflakeOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Enter your application's Client secret */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; /** * Enter your application's Refresh Token @@ -54,8 +55,8 @@ public class DestinationSnowflakeOAuth20 { @JsonCreator public DestinationSnowflakeOAuth20( @JsonProperty("access_token") String accessToken, - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret, + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret, @JsonProperty("refresh_token") String refreshToken) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(clientId, "clientId"); @@ -91,19 +92,17 @@ public Optional authType() { /** * Enter your application's Client ID */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Enter your application's Client secret */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } /** @@ -139,7 +138,7 @@ public DestinationSnowflakeOAuth20 withClientId(String clientId) { /** * Enter your application's Client ID */ - public DestinationSnowflakeOAuth20 withClientId(Optional clientId) { + public DestinationSnowflakeOAuth20 withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -157,7 +156,7 @@ public DestinationSnowflakeOAuth20 withClientSecret(String clientSecret) { /** * Enter your application's Client secret */ - public DestinationSnowflakeOAuth20 withClientSecret(Optional clientSecret) { + public DestinationSnowflakeOAuth20 withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -182,16 +181,16 @@ public boolean equals(java.lang.Object o) { } DestinationSnowflakeOAuth20 other = (DestinationSnowflakeOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, @@ -213,9 +212,9 @@ public final static class Builder { private String accessToken; - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private String refreshToken; @@ -244,7 +243,7 @@ public Builder clientId(String clientId) { /** * Enter your application's Client ID */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -262,7 +261,7 @@ public Builder clientSecret(String clientSecret) { /** * Enter your application's Client secret */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java index b1f3f9c4a..3776bf283 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeSchemasAuthType { USERNAME_AND_PASSWORD("Username and Password"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java index f19292bc9..dee214cf9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSchemasCredentialsAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeSchemasCredentialsAuthType { O_AUTH20("OAuth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflake.java b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflake.java index d96373fa7..b4d0ae2a6 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflake.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeSnowflake.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationSnowflakeSnowflake { SNOWFLAKE("snowflake"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradata.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradata.java index 30049be50..724bc2817 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradata.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradata.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationTeradata { @JsonProperty("destinationType") @@ -35,28 +37,28 @@ public class DestinationTeradata { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * Password associated with the username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schema") - private Optional schema; + private Optional schema; /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl") - private Optional ssl; + private Optional ssl; /** * SSL connection modes. @@ -81,10 +83,10 @@ public class DestinationTeradata { @JsonCreator public DestinationTeradata( @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("schema") Optional schema, - @JsonProperty("ssl") Optional ssl, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("schema") Optional schema, + @JsonProperty("ssl") Optional ssl, @JsonProperty("ssl_mode") Optional sslMode, @JsonProperty("username") String username) { Utils.checkNotNull(host, "host"); @@ -126,37 +128,33 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * Password associated with the username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schema() { - return (Optional) schema; + return schema; } /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ssl() { - return (Optional) ssl; + return ssl; } /** @@ -208,7 +206,7 @@ public DestinationTeradata withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public DestinationTeradata withJdbcUrlParams(Optional jdbcUrlParams) { + public DestinationTeradata withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -226,7 +224,7 @@ public DestinationTeradata withPassword(String password) { /** * Password associated with the username. */ - public DestinationTeradata withPassword(Optional password) { + public DestinationTeradata withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -244,7 +242,7 @@ public DestinationTeradata withSchema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - public DestinationTeradata withSchema(Optional schema) { + public DestinationTeradata withSchema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -262,7 +260,7 @@ public DestinationTeradata withSsl(boolean ssl) { /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ - public DestinationTeradata withSsl(Optional ssl) { + public DestinationTeradata withSsl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -319,19 +317,19 @@ public boolean equals(java.lang.Object o) { } DestinationTeradata other = (DestinationTeradata) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.schema, other.schema) && - java.util.Objects.deepEquals(this.ssl, other.ssl) && - java.util.Objects.deepEquals(this.sslMode, other.sslMode) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.schema, other.schema) && + Objects.deepEquals(this.ssl, other.ssl) && + Objects.deepEquals(this.sslMode, other.sslMode) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, host, jdbcUrlParams, @@ -359,13 +357,13 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional schema; + private Optional schema; - private Optional ssl; + private Optional ssl; private Optional sslMode = Optional.empty(); @@ -396,7 +394,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -414,7 +412,7 @@ public Builder password(String password) { /** * Password associated with the username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -432,7 +430,7 @@ public Builder schema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - public Builder schema(Optional schema) { + public Builder schema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -450,7 +448,7 @@ public Builder ssl(boolean ssl) { /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ - public Builder ssl(Optional ssl) { + public Builder ssl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -503,8 +501,7 @@ public DestinationTeradata build() { } if (ssl == null) { ssl = _SINGLETON_VALUE_Ssl.value(); - } - return new DestinationTeradata( + } return new DestinationTeradata( host, jdbcUrlParams, password, @@ -520,17 +517,17 @@ public DestinationTeradata build() { "\"teradata\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schema = + private static final LazySingletonValue> _SINGLETON_VALUE_Schema = new LazySingletonValue<>( "schema", "\"airbyte_td\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = + private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = new LazySingletonValue<>( "ssl", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataAllow.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataAllow.java index 315625918..f5e0e5c48 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataAllow.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataAllow.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationTeradataAllow - Allow SSL mode. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationTeradataAllow other = (DestinationTeradataAllow) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataDisable.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataDisable.java index d2f173fc5..7c8932adb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataDisable.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataDisable.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationTeradataDisable - Disable SSL. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationTeradataDisable other = (DestinationTeradataDisable) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataMode.java index 23517f5cb..965fd0050 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationTeradataMode { DISABLE("disable"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataPrefer.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataPrefer.java index 3c530d6ba..7afd761b7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataPrefer.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataPrefer.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationTeradataPrefer - Prefer SSL mode. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationTeradataPrefer other = (DestinationTeradataPrefer) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataRequire.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataRequire.java index 99f6e5a56..d33672a70 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataRequire.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataRequire.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationTeradataRequire - Require SSL mode. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationTeradataRequire other = (DestinationTeradataRequire) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSSLModes.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSSLModes.java index b4bec2d19..edf653f5f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSSLModes.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSSLModes.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationTeradataSSLModes - SSL connection modes. @@ -35,7 +32,7 @@ @JsonDeserialize(using = DestinationTeradataSSLModes._Deserializer.class) public class DestinationTeradataSSLModes { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationTeradataSSLModes(TypedObject value) { @@ -75,12 +72,12 @@ public static DestinationTeradataSSLModes of(DestinationTeradataVerifyFull value /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationTeradataDisable}
    • - *
    • {@code DestinationTeradataAllow}
    • - *
    • {@code DestinationTeradataPrefer}
    • - *
    • {@code DestinationTeradataRequire}
    • - *
    • {@code DestinationTeradataVerifyCa}
    • - *
    • {@code DestinationTeradataVerifyFull}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationTeradataDisable}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationTeradataAllow}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationTeradataPrefer}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationTeradataRequire}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationTeradataVerifyCa}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationTeradataVerifyFull}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -107,25 +104,25 @@ public boolean equals(java.lang.Object o) { return false; } DestinationTeradataSSLModes other = (DestinationTeradataSSLModes) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationTeradataSSLModes.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationTeradataSSLModes.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasMode.java index a2f2e7b56..c89511cb8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationTeradataSchemasMode { ALLOW("allow"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.java index 6e8a6439a..55e93614d 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes5Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationTeradataSchemasSSLModeSSLModes5Mode { VERIFY_CA("verify-ca"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.java index fd22b67b5..7a870e818 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModes6Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationTeradataSchemasSSLModeSSLModes6Mode { VERIFY_FULL("verify-full"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.java index 9ce9e579a..93e52437c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSSLModeSSLModesMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationTeradataSchemasSSLModeSSLModesMode { REQUIRE("require"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSslModeMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSslModeMode.java index b56dc915a..e5dad5d25 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSslModeMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataSchemasSslModeMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationTeradataSchemasSslModeMode { PREFER("prefer"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyCa.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyCa.java index d70c9276f..310b04c5a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyCa.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyCa.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationTeradataVerifyCa - Verify-ca SSL mode. */ @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } DestinationTeradataVerifyCa other = (DestinationTeradataVerifyCa) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.sslCaCertificate, other.sslCaCertificate); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.sslCaCertificate, other.sslCaCertificate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, sslCaCertificate); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyFull.java b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyFull.java index 4f294496e..08351a090 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyFull.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTeradataVerifyFull.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationTeradataVerifyFull - Verify-full SSL mode. */ @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } DestinationTeradataVerifyFull other = (DestinationTeradataVerifyFull) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.sslCaCertificate, other.sslCaCertificate); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.sslCaCertificate, other.sslCaCertificate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, sslCaCertificate); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTimeplus.java b/src/main/java/com/airbyte/api/models/shared/DestinationTimeplus.java index f68429067..e74d1289b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTimeplus.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTimeplus.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationTimeplus { /** @@ -35,12 +35,12 @@ public class DestinationTimeplus { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("endpoint") - private Optional endpoint; + private Optional endpoint; @JsonCreator public DestinationTimeplus( @JsonProperty("apikey") String apikey, - @JsonProperty("endpoint") Optional endpoint) { + @JsonProperty("endpoint") Optional endpoint) { Utils.checkNotNull(apikey, "apikey"); Utils.checkNotNull(endpoint, "endpoint"); this.apikey = apikey; @@ -69,10 +69,9 @@ public Timeplus destinationType() { /** * Timeplus workspace endpoint */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endpoint() { - return (Optional) endpoint; + return endpoint; } public final static Builder builder() { @@ -100,7 +99,7 @@ public DestinationTimeplus withEndpoint(String endpoint) { /** * Timeplus workspace endpoint */ - public DestinationTimeplus withEndpoint(Optional endpoint) { + public DestinationTimeplus withEndpoint(Optional endpoint) { Utils.checkNotNull(endpoint, "endpoint"); this.endpoint = endpoint; return this; @@ -116,14 +115,14 @@ public boolean equals(java.lang.Object o) { } DestinationTimeplus other = (DestinationTimeplus) o; return - java.util.Objects.deepEquals(this.apikey, other.apikey) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.endpoint, other.endpoint); + Objects.deepEquals(this.apikey, other.apikey) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.endpoint, other.endpoint); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apikey, destinationType, endpoint); @@ -141,7 +140,7 @@ public final static class Builder { private String apikey; - private Optional endpoint; + private Optional endpoint; private Builder() { // force use of static builder() method @@ -168,7 +167,7 @@ public Builder endpoint(String endpoint) { /** * Timeplus workspace endpoint */ - public Builder endpoint(Optional endpoint) { + public Builder endpoint(Optional endpoint) { Utils.checkNotNull(endpoint, "endpoint"); this.endpoint = endpoint; return this; @@ -177,8 +176,7 @@ public Builder endpoint(Optional endpoint) { public DestinationTimeplus build() { if (endpoint == null) { endpoint = _SINGLETON_VALUE_Endpoint.value(); - } - return new DestinationTimeplus( + } return new DestinationTimeplus( apikey, endpoint); } @@ -189,11 +187,11 @@ public DestinationTimeplus build() { "\"timeplus\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Endpoint = + private static final LazySingletonValue> _SINGLETON_VALUE_Endpoint = new LazySingletonValue<>( "endpoint", "\"https://us-west-2.timeplus.cloud/\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java b/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java index e5927da0f..2bc76e815 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationTypesense { /** @@ -32,7 +33,7 @@ public class DestinationTypesense { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("batch_size") - private Optional batchSize; + private Optional batchSize; @JsonProperty("destinationType") private Typesense destinationType; @@ -48,30 +49,30 @@ public class DestinationTypesense { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("path") - private Optional path; + private Optional path; /** * Port of the Typesense instance. Ex: 8108, 80, 443. Default is 443 */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * Protocol of the Typesense instance. Ex: http or https. Default is https */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("protocol") - private Optional protocol; + private Optional protocol; @JsonCreator public DestinationTypesense( @JsonProperty("api_key") String apiKey, - @JsonProperty("batch_size") Optional batchSize, + @JsonProperty("batch_size") Optional batchSize, @JsonProperty("host") String host, - @JsonProperty("path") Optional path, - @JsonProperty("port") Optional port, - @JsonProperty("protocol") Optional protocol) { + @JsonProperty("path") Optional path, + @JsonProperty("port") Optional port, + @JsonProperty("protocol") Optional protocol) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(batchSize, "batchSize"); Utils.checkNotNull(host, "host"); @@ -104,10 +105,9 @@ public String apiKey() { /** * How many documents should be imported together. Default 1000 */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional batchSize() { - return (Optional) batchSize; + return batchSize; } @JsonIgnore @@ -126,28 +126,25 @@ public String host() { /** * Path of the Typesense instance. Default is none */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional path() { - return (Optional) path; + return path; } /** * Port of the Typesense instance. Ex: 8108, 80, 443. Default is 443 */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * Protocol of the Typesense instance. Ex: http or https. Default is https */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional protocol() { - return (Optional) protocol; + return protocol; } public final static Builder builder() { @@ -175,7 +172,7 @@ public DestinationTypesense withBatchSize(long batchSize) { /** * How many documents should be imported together. Default 1000 */ - public DestinationTypesense withBatchSize(Optional batchSize) { + public DestinationTypesense withBatchSize(Optional batchSize) { Utils.checkNotNull(batchSize, "batchSize"); this.batchSize = batchSize; return this; @@ -202,7 +199,7 @@ public DestinationTypesense withPath(String path) { /** * Path of the Typesense instance. Default is none */ - public DestinationTypesense withPath(Optional path) { + public DestinationTypesense withPath(Optional path) { Utils.checkNotNull(path, "path"); this.path = path; return this; @@ -220,7 +217,7 @@ public DestinationTypesense withPort(String port) { /** * Port of the Typesense instance. Ex: 8108, 80, 443. Default is 443 */ - public DestinationTypesense withPort(Optional port) { + public DestinationTypesense withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -238,7 +235,7 @@ public DestinationTypesense withProtocol(String protocol) { /** * Protocol of the Typesense instance. Ex: http or https. Default is https */ - public DestinationTypesense withProtocol(Optional protocol) { + public DestinationTypesense withProtocol(Optional protocol) { Utils.checkNotNull(protocol, "protocol"); this.protocol = protocol; return this; @@ -254,18 +251,18 @@ public boolean equals(java.lang.Object o) { } DestinationTypesense other = (DestinationTypesense) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.batchSize, other.batchSize) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.path, other.path) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.protocol, other.protocol); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.batchSize, other.batchSize) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.path, other.path) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.protocol, other.protocol); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, batchSize, destinationType, @@ -291,15 +288,15 @@ public final static class Builder { private String apiKey; - private Optional batchSize = Optional.empty(); + private Optional batchSize = Optional.empty(); private String host; - private Optional path = Optional.empty(); + private Optional path = Optional.empty(); - private Optional port = Optional.empty(); + private Optional port = Optional.empty(); - private Optional protocol = Optional.empty(); + private Optional protocol = Optional.empty(); private Builder() { // force use of static builder() method @@ -326,7 +323,7 @@ public Builder batchSize(long batchSize) { /** * How many documents should be imported together. Default 1000 */ - public Builder batchSize(Optional batchSize) { + public Builder batchSize(Optional batchSize) { Utils.checkNotNull(batchSize, "batchSize"); this.batchSize = batchSize; return this; @@ -353,7 +350,7 @@ public Builder path(String path) { /** * Path of the Typesense instance. Default is none */ - public Builder path(Optional path) { + public Builder path(Optional path) { Utils.checkNotNull(path, "path"); this.path = path; return this; @@ -371,7 +368,7 @@ public Builder port(String port) { /** * Port of the Typesense instance. Ex: 8108, 80, 443. Default is 443 */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -389,7 +386,7 @@ public Builder protocol(String protocol) { /** * Protocol of the Typesense instance. Ex: http or https. Default is https */ - public Builder protocol(Optional protocol) { + public Builder protocol(Optional protocol) { Utils.checkNotNull(protocol, "protocol"); this.protocol = protocol; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationVectara.java b/src/main/java/com/airbyte/api/models/shared/DestinationVectara.java index 1aeea8f52..8484818e5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationVectara.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationVectara.java @@ -1,23 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * DestinationVectara - Configuration to connect to the Vectara instance */ @@ -44,7 +47,7 @@ public class DestinationVectara { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("metadata_fields") - private Optional> metadataFields; + private Optional> metadataFields; /** * OAuth2.0 credentials used to authenticate admin actions (creating/deleting corpora) @@ -57,31 +60,31 @@ public class DestinationVectara { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("parallelize") - private Optional parallelize; + private Optional parallelize; /** * List of fields in the record that should be in the section of the document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_fields") - private Optional> textFields; + private Optional> textFields; /** * A field that will be used to populate the `title` of each document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("title_field") - private Optional titleField; + private Optional titleField; @JsonCreator public DestinationVectara( @JsonProperty("corpus_name") String corpusName, @JsonProperty("customer_id") String customerId, - @JsonProperty("metadata_fields") Optional> metadataFields, + @JsonProperty("metadata_fields") Optional> metadataFields, @JsonProperty("oauth2") OAuth20Credentials oauth2, - @JsonProperty("parallelize") Optional parallelize, - @JsonProperty("text_fields") Optional> textFields, - @JsonProperty("title_field") Optional titleField) { + @JsonProperty("parallelize") Optional parallelize, + @JsonProperty("text_fields") Optional> textFields, + @JsonProperty("title_field") Optional titleField) { Utils.checkNotNull(corpusName, "corpusName"); Utils.checkNotNull(customerId, "customerId"); Utils.checkNotNull(metadataFields, "metadataFields"); @@ -132,8 +135,8 @@ public Vectara destinationType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> metadataFields() { - return (Optional>) metadataFields; + public Optional> metadataFields() { + return (Optional>) metadataFields; } /** @@ -147,10 +150,9 @@ public OAuth20Credentials oauth2() { /** * Parallelize indexing into Vectara with multiple threads */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional parallelize() { - return (Optional) parallelize; + return parallelize; } /** @@ -158,17 +160,16 @@ public Optional parallelize() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> textFields() { - return (Optional>) textFields; + public Optional> textFields() { + return (Optional>) textFields; } /** * A field that will be used to populate the `title` of each document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional titleField() { - return (Optional) titleField; + return titleField; } public final static Builder builder() { @@ -196,7 +197,7 @@ public DestinationVectara withCustomerId(String customerId) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public DestinationVectara withMetadataFields(java.util.List metadataFields) { + public DestinationVectara withMetadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -205,7 +206,7 @@ public DestinationVectara withMetadataFields(java.util.List metadataFiel /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public DestinationVectara withMetadataFields(Optional> metadataFields) { + public DestinationVectara withMetadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -232,7 +233,7 @@ public DestinationVectara withParallelize(boolean parallelize) { /** * Parallelize indexing into Vectara with multiple threads */ - public DestinationVectara withParallelize(Optional parallelize) { + public DestinationVectara withParallelize(Optional parallelize) { Utils.checkNotNull(parallelize, "parallelize"); this.parallelize = parallelize; return this; @@ -241,7 +242,7 @@ public DestinationVectara withParallelize(Optional paralleliz /** * List of fields in the record that should be in the section of the document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public DestinationVectara withTextFields(java.util.List textFields) { + public DestinationVectara withTextFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -250,7 +251,7 @@ public DestinationVectara withTextFields(java.util.List textFields) { /** * List of fields in the record that should be in the section of the document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public DestinationVectara withTextFields(Optional> textFields) { + public DestinationVectara withTextFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -268,7 +269,7 @@ public DestinationVectara withTitleField(String titleField) { /** * A field that will be used to populate the `title` of each document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public DestinationVectara withTitleField(Optional titleField) { + public DestinationVectara withTitleField(Optional titleField) { Utils.checkNotNull(titleField, "titleField"); this.titleField = titleField; return this; @@ -284,19 +285,19 @@ public boolean equals(java.lang.Object o) { } DestinationVectara other = (DestinationVectara) o; return - java.util.Objects.deepEquals(this.corpusName, other.corpusName) && - java.util.Objects.deepEquals(this.customerId, other.customerId) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.metadataFields, other.metadataFields) && - java.util.Objects.deepEquals(this.oauth2, other.oauth2) && - java.util.Objects.deepEquals(this.parallelize, other.parallelize) && - java.util.Objects.deepEquals(this.textFields, other.textFields) && - java.util.Objects.deepEquals(this.titleField, other.titleField); + Objects.deepEquals(this.corpusName, other.corpusName) && + Objects.deepEquals(this.customerId, other.customerId) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.metadataFields, other.metadataFields) && + Objects.deepEquals(this.oauth2, other.oauth2) && + Objects.deepEquals(this.parallelize, other.parallelize) && + Objects.deepEquals(this.textFields, other.textFields) && + Objects.deepEquals(this.titleField, other.titleField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( corpusName, customerId, destinationType, @@ -326,15 +327,15 @@ public final static class Builder { private String customerId; - private Optional> metadataFields = Optional.empty(); + private Optional> metadataFields = Optional.empty(); private OAuth20Credentials oauth2; - private Optional parallelize; + private Optional parallelize; - private Optional> textFields = Optional.empty(); + private Optional> textFields = Optional.empty(); - private Optional titleField; + private Optional titleField; private Builder() { // force use of static builder() method @@ -361,7 +362,7 @@ public Builder customerId(String customerId) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public Builder metadataFields(java.util.List metadataFields) { + public Builder metadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -370,7 +371,7 @@ public Builder metadataFields(java.util.List metadataFields) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public Builder metadataFields(Optional> metadataFields) { + public Builder metadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -397,7 +398,7 @@ public Builder parallelize(boolean parallelize) { /** * Parallelize indexing into Vectara with multiple threads */ - public Builder parallelize(Optional parallelize) { + public Builder parallelize(Optional parallelize) { Utils.checkNotNull(parallelize, "parallelize"); this.parallelize = parallelize; return this; @@ -406,7 +407,7 @@ public Builder parallelize(Optional parallelize) { /** * List of fields in the record that should be in the section of the document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(java.util.List textFields) { + public Builder textFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -415,7 +416,7 @@ public Builder textFields(java.util.List textFields) { /** * List of fields in the record that should be in the section of the document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(Optional> textFields) { + public Builder textFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -433,7 +434,7 @@ public Builder titleField(String titleField) { /** * A field that will be used to populate the `title` of each document. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder titleField(Optional titleField) { + public Builder titleField(Optional titleField) { Utils.checkNotNull(titleField, "titleField"); this.titleField = titleField; return this; @@ -445,8 +446,7 @@ public DestinationVectara build() { } if (titleField == null) { titleField = _SINGLETON_VALUE_TitleField.value(); - } - return new DestinationVectara( + } return new DestinationVectara( corpusName, customerId, metadataFields, @@ -462,17 +462,17 @@ public DestinationVectara build() { "\"vectara\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Parallelize = + private static final LazySingletonValue> _SINGLETON_VALUE_Parallelize = new LazySingletonValue<>( "parallelize", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TitleField = + private static final LazySingletonValue> _SINGLETON_VALUE_TitleField = new LazySingletonValue<>( "title_field", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviate.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviate.java index 888d448a4..55250a33d 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviate.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviate.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviate - The configuration model for the Vector DB based destinations. This model is used to generate the UI for the destination configuration, * as well as to provide type safety for the configuration passed to the destination. @@ -53,7 +54,7 @@ public class DestinationWeaviate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("omit_raw_text") - private Optional omitRawText; + private Optional omitRawText; @JsonProperty("processing") private DestinationWeaviateProcessingConfigModel processing; @@ -62,7 +63,7 @@ public class DestinationWeaviate { public DestinationWeaviate( @JsonProperty("embedding") DestinationWeaviateEmbedding embedding, @JsonProperty("indexing") DestinationWeaviateIndexing indexing, - @JsonProperty("omit_raw_text") Optional omitRawText, + @JsonProperty("omit_raw_text") Optional omitRawText, @JsonProperty("processing") DestinationWeaviateProcessingConfigModel processing) { Utils.checkNotNull(embedding, "embedding"); Utils.checkNotNull(indexing, "indexing"); @@ -106,10 +107,9 @@ public DestinationWeaviateIndexing indexing() { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional omitRawText() { - return (Optional) omitRawText; + return omitRawText; } @JsonIgnore @@ -151,7 +151,7 @@ public DestinationWeaviate withOmitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public DestinationWeaviate withOmitRawText(Optional omitRawText) { + public DestinationWeaviate withOmitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviate other = (DestinationWeaviate) o; return - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.embedding, other.embedding) && - java.util.Objects.deepEquals(this.indexing, other.indexing) && - java.util.Objects.deepEquals(this.omitRawText, other.omitRawText) && - java.util.Objects.deepEquals(this.processing, other.processing); + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.embedding, other.embedding) && + Objects.deepEquals(this.indexing, other.indexing) && + Objects.deepEquals(this.omitRawText, other.omitRawText) && + Objects.deepEquals(this.processing, other.processing); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( destinationType, embedding, indexing, @@ -206,7 +206,7 @@ public final static class Builder { private DestinationWeaviateIndexing indexing; - private Optional omitRawText; + private Optional omitRawText; private DestinationWeaviateProcessingConfigModel processing; @@ -244,7 +244,7 @@ public Builder omitRawText(boolean omitRawText) { /** * Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. */ - public Builder omitRawText(Optional omitRawText) { + public Builder omitRawText(Optional omitRawText) { Utils.checkNotNull(omitRawText, "omitRawText"); this.omitRawText = omitRawText; return this; @@ -259,8 +259,7 @@ public Builder processing(DestinationWeaviateProcessingConfigModel processing) { public DestinationWeaviate build() { if (omitRawText == null) { omitRawText = _SINGLETON_VALUE_OmitRawText.value(); - } - return new DestinationWeaviate( + } return new DestinationWeaviate( embedding, indexing, omitRawText, @@ -273,11 +272,11 @@ public DestinationWeaviate build() { "\"weaviate\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = + private static final LazySingletonValue> _SINGLETON_VALUE_OmitRawText = new LazySingletonValue<>( "omit_raw_text", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAPIToken.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAPIToken.java index 392d4a827..ef71932c4 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAPIToken.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAPIToken.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateAPIToken - Authenticate using an API token (suitable for Weaviate Cloud) */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateAPIToken other = (DestinationWeaviateAPIToken) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.token, other.token); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.token, other.token); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, token); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAuthentication.java index 4f873c2a7..bb61b941a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationWeaviateAuthentication - Authentication method @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationWeaviateAuthentication._Deserializer.class) public class DestinationWeaviateAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationWeaviateAuthentication(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationWeaviateAuthentication of(NoAuthentication value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationWeaviateAPIToken}
    • - *
    • {@code DestinationWeaviateUsernamePassword}
    • - *
    • {@code NoAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateAPIToken}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateUsernamePassword}
    • + *
    • {@code com.airbyte.api.models.shared.NoAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationWeaviateAuthentication other = (DestinationWeaviateAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationWeaviateAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationWeaviateAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAzureOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAzureOpenAI.java index 3ebd316a7..3621e9dc2 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAzureOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateAzureOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateAzureOpenAI - Use the Azure-hosted OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -131,15 +132,15 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateAzureOpenAI other = (DestinationWeaviateAzureOpenAI) o; return - java.util.Objects.deepEquals(this.apiBase, other.apiBase) && - java.util.Objects.deepEquals(this.deployment, other.deployment) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.apiBase, other.apiBase) && + Objects.deepEquals(this.deployment, other.deployment) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiBase, deployment, mode, diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByMarkdownHeader.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByMarkdownHeader.java index 770738d8d..06eca6ac9 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByMarkdownHeader.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByMarkdownHeader.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateByMarkdownHeader - Split the text by Markdown headers down to the specified header level. If the chunk size fits multiple sections, they will be combined into a single chunk. */ @@ -33,11 +35,11 @@ public class DestinationWeaviateByMarkdownHeader { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("split_level") - private Optional splitLevel; + private Optional splitLevel; @JsonCreator public DestinationWeaviateByMarkdownHeader( - @JsonProperty("split_level") Optional splitLevel) { + @JsonProperty("split_level") Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.mode = Builder._SINGLETON_VALUE_Mode.value(); this.splitLevel = splitLevel; @@ -56,10 +58,9 @@ public Optional mode() { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional splitLevel() { - return (Optional) splitLevel; + return splitLevel; } public final static Builder builder() { @@ -78,7 +79,7 @@ public DestinationWeaviateByMarkdownHeader withSplitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public DestinationWeaviateByMarkdownHeader withSplitLevel(Optional splitLevel) { + public DestinationWeaviateByMarkdownHeader withSplitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -94,13 +95,13 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateByMarkdownHeader other = (DestinationWeaviateByMarkdownHeader) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.splitLevel, other.splitLevel); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.splitLevel, other.splitLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, splitLevel); } @@ -114,7 +115,7 @@ public String toString() { public final static class Builder { - private Optional splitLevel; + private Optional splitLevel; private Builder() { // force use of static builder() method @@ -132,7 +133,7 @@ public Builder splitLevel(long splitLevel) { /** * Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points */ - public Builder splitLevel(Optional splitLevel) { + public Builder splitLevel(Optional splitLevel) { Utils.checkNotNull(splitLevel, "splitLevel"); this.splitLevel = splitLevel; return this; @@ -141,8 +142,7 @@ public Builder splitLevel(Optional splitLevel) { public DestinationWeaviateByMarkdownHeader build() { if (splitLevel == null) { splitLevel = _SINGLETON_VALUE_SplitLevel.value(); - } - return new DestinationWeaviateByMarkdownHeader( + } return new DestinationWeaviateByMarkdownHeader( splitLevel); } @@ -152,11 +152,11 @@ public DestinationWeaviateByMarkdownHeader build() { "\"markdown\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_SplitLevel = new LazySingletonValue<>( "split_level", "1", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByProgrammingLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByProgrammingLanguage.java index ec4251056..4abe7e000 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByProgrammingLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateByProgrammingLanguage.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateByProgrammingLanguage - Split the text by suitable delimiters based on the programming language. This is useful for splitting code into chunks. */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateByProgrammingLanguage other = (DestinationWeaviateByProgrammingLanguage) o; return - java.util.Objects.deepEquals(this.language, other.language) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.language, other.language) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( language, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateBySeparator.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateBySeparator.java index d93c44cda..e187c7566 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateBySeparator.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateBySeparator.java @@ -1,23 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateBySeparator - Split the text by the list of separators until the chunk size is reached, using the earlier mentioned separators where possible. This is useful for splitting text fields by paragraphs, sentences, words, etc. */ @@ -29,7 +32,7 @@ public class DestinationWeaviateBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("keep_separator") - private Optional keepSeparator; + private Optional keepSeparator; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -40,12 +43,12 @@ public class DestinationWeaviateBySeparator { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("separators") - private Optional> separators; + private Optional> separators; @JsonCreator public DestinationWeaviateBySeparator( - @JsonProperty("keep_separator") Optional keepSeparator, - @JsonProperty("separators") Optional> separators) { + @JsonProperty("keep_separator") Optional keepSeparator, + @JsonProperty("separators") Optional> separators) { Utils.checkNotNull(keepSeparator, "keepSeparator"); Utils.checkNotNull(separators, "separators"); this.keepSeparator = keepSeparator; @@ -60,10 +63,9 @@ public DestinationWeaviateBySeparator() { /** * Whether to keep the separator in the resulting chunks */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional keepSeparator() { - return (Optional) keepSeparator; + return keepSeparator; } @SuppressWarnings("unchecked") @@ -77,8 +79,8 @@ public Optional mode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> separators() { - return (Optional>) separators; + public Optional> separators() { + return (Optional>) separators; } public final static Builder builder() { @@ -97,7 +99,7 @@ public DestinationWeaviateBySeparator withKeepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public DestinationWeaviateBySeparator withKeepSeparator(Optional keepSeparator) { + public DestinationWeaviateBySeparator withKeepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -106,7 +108,7 @@ public DestinationWeaviateBySeparator withKeepSeparator(Optional separators) { + public DestinationWeaviateBySeparator withSeparators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -115,7 +117,7 @@ public DestinationWeaviateBySeparator withSeparators(java.util.List sepa /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public DestinationWeaviateBySeparator withSeparators(Optional> separators) { + public DestinationWeaviateBySeparator withSeparators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -131,14 +133,14 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateBySeparator other = (DestinationWeaviateBySeparator) o; return - java.util.Objects.deepEquals(this.keepSeparator, other.keepSeparator) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.separators, other.separators); + Objects.deepEquals(this.keepSeparator, other.keepSeparator) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.separators, other.separators); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( keepSeparator, mode, separators); @@ -154,9 +156,9 @@ public String toString() { public final static class Builder { - private Optional keepSeparator; + private Optional keepSeparator; - private Optional> separators = Optional.empty(); + private Optional> separators = Optional.empty(); private Builder() { // force use of static builder() method @@ -174,7 +176,7 @@ public Builder keepSeparator(boolean keepSeparator) { /** * Whether to keep the separator in the resulting chunks */ - public Builder keepSeparator(Optional keepSeparator) { + public Builder keepSeparator(Optional keepSeparator) { Utils.checkNotNull(keepSeparator, "keepSeparator"); this.keepSeparator = keepSeparator; return this; @@ -183,7 +185,7 @@ public Builder keepSeparator(Optional keepSeparator) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(java.util.List separators) { + public Builder separators(List separators) { Utils.checkNotNull(separators, "separators"); this.separators = Optional.ofNullable(separators); return this; @@ -192,7 +194,7 @@ public Builder separators(java.util.List separators) { /** * List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". */ - public Builder separators(Optional> separators) { + public Builder separators(Optional> separators) { Utils.checkNotNull(separators, "separators"); this.separators = separators; return this; @@ -201,17 +203,16 @@ public Builder separators(Optional> separators) public DestinationWeaviateBySeparator build() { if (keepSeparator == null) { keepSeparator = _SINGLETON_VALUE_KeepSeparator.value(); - } - return new DestinationWeaviateBySeparator( + } return new DestinationWeaviateBySeparator( keepSeparator, separators); } - private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = + private static final LazySingletonValue> _SINGLETON_VALUE_KeepSeparator = new LazySingletonValue<>( "keep_separator", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateCohere.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateCohere.java index a749d5b7d..48e65ed06 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateCohere.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateCohere.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateCohere - Use the Cohere API to embed text. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateCohere other = (DestinationWeaviateCohere) o; return - java.util.Objects.deepEquals(this.cohereKey, other.cohereKey) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.cohereKey, other.cohereKey) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cohereKey, mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateEmbedding.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateEmbedding.java index ac2e8f2e1..cb8815053 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateEmbedding.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateEmbedding.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationWeaviateEmbedding - Embedding configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationWeaviateEmbedding._Deserializer.class) public class DestinationWeaviateEmbedding { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationWeaviateEmbedding(TypedObject value) { @@ -73,13 +70,13 @@ public static DestinationWeaviateEmbedding of(DestinationWeaviateOpenAICompatibl /** * Returns an instance of one of these types: *

      - *
    • {@code NoExternalEmbedding}
    • - *
    • {@code DestinationWeaviateAzureOpenAI}
    • - *
    • {@code DestinationWeaviateOpenAI}
    • - *
    • {@code DestinationWeaviateCohere}
    • - *
    • {@code FromField}
    • - *
    • {@code DestinationWeaviateFake}
    • - *
    • {@code DestinationWeaviateOpenAICompatible}
    • + *
    • {@code com.airbyte.api.models.shared.NoExternalEmbedding}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateAzureOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateCohere}
    • + *
    • {@code com.airbyte.api.models.shared.FromField}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateFake}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateOpenAICompatible}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -106,26 +103,26 @@ public boolean equals(java.lang.Object o) { return false; } DestinationWeaviateEmbedding other = (DestinationWeaviateEmbedding) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationWeaviateEmbedding.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationWeaviateEmbedding.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFake.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFake.java index a43f25040..44674370c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFake.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFake.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateFake - Use a fake embedding made out of random vectors with 1536 embedding dimensions. This is useful for testing the data pipeline without incurring any costs. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateFake other = (DestinationWeaviateFake) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFieldNameMappingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFieldNameMappingConfigModel.java index d2bc95599..6d4ec67cb 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFieldNameMappingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateFieldNameMappingConfigModel.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationWeaviateFieldNameMappingConfigModel { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateFieldNameMappingConfigModel other = (DestinationWeaviateFieldNameMappingConfigModel) o; return - java.util.Objects.deepEquals(this.fromField, other.fromField) && - java.util.Objects.deepEquals(this.toField, other.toField); + Objects.deepEquals(this.fromField, other.fromField) && + Objects.deepEquals(this.toField, other.toField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fromField, toField); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateIndexing.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateIndexing.java index 6686c0624..d77b8c4fd 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateIndexing.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateIndexing.java @@ -1,23 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateIndexing - Indexing configuration */ @@ -29,7 +32,7 @@ public class DestinationWeaviateIndexing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("additional_headers") - private Optional> additionalHeaders; + private Optional> additionalHeaders; /** * Authentication method @@ -42,7 +45,7 @@ public class DestinationWeaviateIndexing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("batch_size") - private Optional batchSize; + private Optional batchSize; /** * The vectorizer to use if new classes need to be created @@ -62,24 +65,24 @@ public class DestinationWeaviateIndexing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tenant_id") - private Optional tenantId; + private Optional tenantId; /** * The field in the object that contains the embedded text */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_field") - private Optional textField; + private Optional textField; @JsonCreator public DestinationWeaviateIndexing( - @JsonProperty("additional_headers") Optional> additionalHeaders, + @JsonProperty("additional_headers") Optional> additionalHeaders, @JsonProperty("auth") DestinationWeaviateAuthentication auth, - @JsonProperty("batch_size") Optional batchSize, + @JsonProperty("batch_size") Optional batchSize, @JsonProperty("default_vectorizer") Optional defaultVectorizer, @JsonProperty("host") String host, - @JsonProperty("tenant_id") Optional tenantId, - @JsonProperty("text_field") Optional textField) { + @JsonProperty("tenant_id") Optional tenantId, + @JsonProperty("text_field") Optional textField) { Utils.checkNotNull(additionalHeaders, "additionalHeaders"); Utils.checkNotNull(auth, "auth"); Utils.checkNotNull(batchSize, "batchSize"); @@ -107,8 +110,8 @@ public DestinationWeaviateIndexing( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> additionalHeaders() { - return (Optional>) additionalHeaders; + public Optional> additionalHeaders() { + return (Optional>) additionalHeaders; } /** @@ -122,10 +125,9 @@ public DestinationWeaviateAuthentication auth() { /** * The number of records to send to Weaviate in each batch */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional batchSize() { - return (Optional) batchSize; + return batchSize; } /** @@ -148,19 +150,17 @@ public String host() { /** * The tenant ID to use for multi tenancy */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tenantId() { - return (Optional) tenantId; + return tenantId; } /** * The field in the object that contains the embedded text */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional textField() { - return (Optional) textField; + return textField; } public final static Builder builder() { @@ -170,7 +170,7 @@ public final static Builder builder() { /** * Additional HTTP headers to send with every request. */ - public DestinationWeaviateIndexing withAdditionalHeaders(java.util.List

    additionalHeaders) { + public DestinationWeaviateIndexing withAdditionalHeaders(List
    additionalHeaders) { Utils.checkNotNull(additionalHeaders, "additionalHeaders"); this.additionalHeaders = Optional.ofNullable(additionalHeaders); return this; @@ -179,7 +179,7 @@ public DestinationWeaviateIndexing withAdditionalHeaders(java.util.List
    /** * Additional HTTP headers to send with every request. */ - public DestinationWeaviateIndexing withAdditionalHeaders(Optional> additionalHeaders) { + public DestinationWeaviateIndexing withAdditionalHeaders(Optional> additionalHeaders) { Utils.checkNotNull(additionalHeaders, "additionalHeaders"); this.additionalHeaders = additionalHeaders; return this; @@ -206,7 +206,7 @@ public DestinationWeaviateIndexing withBatchSize(long batchSize) { /** * The number of records to send to Weaviate in each batch */ - public DestinationWeaviateIndexing withBatchSize(Optional batchSize) { + public DestinationWeaviateIndexing withBatchSize(Optional batchSize) { Utils.checkNotNull(batchSize, "batchSize"); this.batchSize = batchSize; return this; @@ -251,7 +251,7 @@ public DestinationWeaviateIndexing withTenantId(String tenantId) { /** * The tenant ID to use for multi tenancy */ - public DestinationWeaviateIndexing withTenantId(Optional tenantId) { + public DestinationWeaviateIndexing withTenantId(Optional tenantId) { Utils.checkNotNull(tenantId, "tenantId"); this.tenantId = tenantId; return this; @@ -269,7 +269,7 @@ public DestinationWeaviateIndexing withTextField(String textField) { /** * The field in the object that contains the embedded text */ - public DestinationWeaviateIndexing withTextField(Optional textField) { + public DestinationWeaviateIndexing withTextField(Optional textField) { Utils.checkNotNull(textField, "textField"); this.textField = textField; return this; @@ -285,18 +285,18 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateIndexing other = (DestinationWeaviateIndexing) o; return - java.util.Objects.deepEquals(this.additionalHeaders, other.additionalHeaders) && - java.util.Objects.deepEquals(this.auth, other.auth) && - java.util.Objects.deepEquals(this.batchSize, other.batchSize) && - java.util.Objects.deepEquals(this.defaultVectorizer, other.defaultVectorizer) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.tenantId, other.tenantId) && - java.util.Objects.deepEquals(this.textField, other.textField); + Objects.deepEquals(this.additionalHeaders, other.additionalHeaders) && + Objects.deepEquals(this.auth, other.auth) && + Objects.deepEquals(this.batchSize, other.batchSize) && + Objects.deepEquals(this.defaultVectorizer, other.defaultVectorizer) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.tenantId, other.tenantId) && + Objects.deepEquals(this.textField, other.textField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( additionalHeaders, auth, batchSize, @@ -320,19 +320,19 @@ public String toString() { public final static class Builder { - private Optional> additionalHeaders = Optional.empty(); + private Optional> additionalHeaders = Optional.empty(); private DestinationWeaviateAuthentication auth; - private Optional batchSize; + private Optional batchSize; private Optional defaultVectorizer; private String host; - private Optional tenantId; + private Optional tenantId; - private Optional textField; + private Optional textField; private Builder() { // force use of static builder() method @@ -341,7 +341,7 @@ private Builder() { /** * Additional HTTP headers to send with every request. */ - public Builder additionalHeaders(java.util.List
    additionalHeaders) { + public Builder additionalHeaders(List
    additionalHeaders) { Utils.checkNotNull(additionalHeaders, "additionalHeaders"); this.additionalHeaders = Optional.ofNullable(additionalHeaders); return this; @@ -350,7 +350,7 @@ public Builder additionalHeaders(java.util.List
    additionalHeaders) { /** * Additional HTTP headers to send with every request. */ - public Builder additionalHeaders(Optional> additionalHeaders) { + public Builder additionalHeaders(Optional> additionalHeaders) { Utils.checkNotNull(additionalHeaders, "additionalHeaders"); this.additionalHeaders = additionalHeaders; return this; @@ -377,7 +377,7 @@ public Builder batchSize(long batchSize) { /** * The number of records to send to Weaviate in each batch */ - public Builder batchSize(Optional batchSize) { + public Builder batchSize(Optional batchSize) { Utils.checkNotNull(batchSize, "batchSize"); this.batchSize = batchSize; return this; @@ -422,7 +422,7 @@ public Builder tenantId(String tenantId) { /** * The tenant ID to use for multi tenancy */ - public Builder tenantId(Optional tenantId) { + public Builder tenantId(Optional tenantId) { Utils.checkNotNull(tenantId, "tenantId"); this.tenantId = tenantId; return this; @@ -440,7 +440,7 @@ public Builder textField(String textField) { /** * The field in the object that contains the embedded text */ - public Builder textField(Optional textField) { + public Builder textField(Optional textField) { Utils.checkNotNull(textField, "textField"); this.textField = textField; return this; @@ -458,8 +458,7 @@ public DestinationWeaviateIndexing build() { } if (textField == null) { textField = _SINGLETON_VALUE_TextField.value(); - } - return new DestinationWeaviateIndexing( + } return new DestinationWeaviateIndexing( additionalHeaders, auth, batchSize, @@ -469,11 +468,11 @@ public DestinationWeaviateIndexing build() { textField); } - private static final LazySingletonValue> _SINGLETON_VALUE_BatchSize = + private static final LazySingletonValue> _SINGLETON_VALUE_BatchSize = new LazySingletonValue<>( "batch_size", "128", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_DefaultVectorizer = new LazySingletonValue<>( @@ -481,17 +480,17 @@ public DestinationWeaviateIndexing build() { "\"none\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TenantId = + private static final LazySingletonValue> _SINGLETON_VALUE_TenantId = new LazySingletonValue<>( "tenant_id", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TextField = + private static final LazySingletonValue> _SINGLETON_VALUE_TextField = new LazySingletonValue<>( "text_field", "\"text\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateLanguage.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateLanguage.java index 05f6d0ae8..5b8cb1e86 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateLanguage.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateLanguage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationWeaviateLanguage - Split code in suitable places based on the programming language diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateMode.java index d87915fca..3bc38a668 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateMode { NO_EMBEDDING("no_embedding"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAI.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAI.java index d49469841..528485b8f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateOpenAI - Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateOpenAI other = (DestinationWeaviateOpenAI) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, openaiKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAICompatible.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAICompatible.java index 76ae95fe7..79c6f3ac7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAICompatible.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateOpenAICompatible.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateOpenAICompatible - Use a service that's compatible with the OpenAI API to embed text. */ @@ -26,7 +28,7 @@ public class DestinationWeaviateOpenAICompatible { @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * The base URL for your OpenAI-compatible service @@ -49,14 +51,14 @@ public class DestinationWeaviateOpenAICompatible { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("model_name") - private Optional modelName; + private Optional modelName; @JsonCreator public DestinationWeaviateOpenAICompatible( - @JsonProperty("api_key") Optional apiKey, + @JsonProperty("api_key") Optional apiKey, @JsonProperty("base_url") String baseUrl, @JsonProperty("dimensions") long dimensions, - @JsonProperty("model_name") Optional modelName) { + @JsonProperty("model_name") Optional modelName) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(baseUrl, "baseUrl"); Utils.checkNotNull(dimensions, "dimensions"); @@ -74,10 +76,9 @@ public DestinationWeaviateOpenAICompatible( this(Optional.empty(), baseUrl, dimensions, Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** @@ -105,10 +106,9 @@ public Optional mode() { /** * The name of the model to use for embedding */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional modelName() { - return (Optional) modelName; + return modelName; } public final static Builder builder() { @@ -121,7 +121,7 @@ public DestinationWeaviateOpenAICompatible withApiKey(String apiKey) { return this; } - public DestinationWeaviateOpenAICompatible withApiKey(Optional apiKey) { + public DestinationWeaviateOpenAICompatible withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -157,7 +157,7 @@ public DestinationWeaviateOpenAICompatible withModelName(String modelName) { /** * The name of the model to use for embedding */ - public DestinationWeaviateOpenAICompatible withModelName(Optional modelName) { + public DestinationWeaviateOpenAICompatible withModelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateOpenAICompatible other = (DestinationWeaviateOpenAICompatible) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.modelName, other.modelName); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.modelName, other.modelName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, baseUrl, dimensions, @@ -202,13 +202,13 @@ public String toString() { public final static class Builder { - private Optional apiKey; + private Optional apiKey; private String baseUrl; private Long dimensions; - private Optional modelName; + private Optional modelName; private Builder() { // force use of static builder() method @@ -220,7 +220,7 @@ public Builder apiKey(String apiKey) { return this; } - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -256,7 +256,7 @@ public Builder modelName(String modelName) { /** * The name of the model to use for embedding */ - public Builder modelName(Optional modelName) { + public Builder modelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -268,19 +268,18 @@ public DestinationWeaviateOpenAICompatible build() { } if (modelName == null) { modelName = _SINGLETON_VALUE_ModelName.value(); - } - return new DestinationWeaviateOpenAICompatible( + } return new DestinationWeaviateOpenAICompatible( apiKey, baseUrl, dimensions, modelName); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = new LazySingletonValue<>( "api_key", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( @@ -288,11 +287,11 @@ public DestinationWeaviateOpenAICompatible build() { "\"openai_compatible\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = + private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = new LazySingletonValue<>( "model_name", "\"text-embedding-ada-002\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateProcessingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateProcessingConfigModel.java index 795f386d6..e9c9a0126 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateProcessingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateProcessingConfigModel.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class DestinationWeaviateProcessingConfigModel { /** @@ -26,7 +29,7 @@ public class DestinationWeaviateProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("chunk_overlap") - private Optional chunkOverlap; + private Optional chunkOverlap; /** * Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) @@ -39,21 +42,21 @@ public class DestinationWeaviateProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("field_name_mappings") - private Optional> fieldNameMappings; + private Optional> fieldNameMappings; /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("metadata_fields") - private Optional> metadataFields; + private Optional> metadataFields; /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_fields") - private Optional> textFields; + private Optional> textFields; /** * Split text fields into chunks based on the specified method. @@ -64,11 +67,11 @@ public class DestinationWeaviateProcessingConfigModel { @JsonCreator public DestinationWeaviateProcessingConfigModel( - @JsonProperty("chunk_overlap") Optional chunkOverlap, + @JsonProperty("chunk_overlap") Optional chunkOverlap, @JsonProperty("chunk_size") long chunkSize, - @JsonProperty("field_name_mappings") Optional> fieldNameMappings, - @JsonProperty("metadata_fields") Optional> metadataFields, - @JsonProperty("text_fields") Optional> textFields, + @JsonProperty("field_name_mappings") Optional> fieldNameMappings, + @JsonProperty("metadata_fields") Optional> metadataFields, + @JsonProperty("text_fields") Optional> textFields, @JsonProperty("text_splitter") Optional textSplitter) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); Utils.checkNotNull(chunkSize, "chunkSize"); @@ -92,10 +95,9 @@ public DestinationWeaviateProcessingConfigModel( /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional chunkOverlap() { - return (Optional) chunkOverlap; + return chunkOverlap; } /** @@ -111,8 +113,8 @@ public long chunkSize() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> fieldNameMappings() { - return (Optional>) fieldNameMappings; + public Optional> fieldNameMappings() { + return (Optional>) fieldNameMappings; } /** @@ -120,8 +122,8 @@ public Optional> */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> metadataFields() { - return (Optional>) metadataFields; + public Optional> metadataFields() { + return (Optional>) metadataFields; } /** @@ -129,8 +131,8 @@ public Optional> metadataFields() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> textFields() { - return (Optional>) textFields; + public Optional> textFields() { + return (Optional>) textFields; } /** @@ -158,7 +160,7 @@ public DestinationWeaviateProcessingConfigModel withChunkOverlap(long chunkOverl /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public DestinationWeaviateProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { + public DestinationWeaviateProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -176,7 +178,7 @@ public DestinationWeaviateProcessingConfigModel withChunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationWeaviateProcessingConfigModel withFieldNameMappings(java.util.List fieldNameMappings) { + public DestinationWeaviateProcessingConfigModel withFieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -185,7 +187,7 @@ public DestinationWeaviateProcessingConfigModel withFieldNameMappings(java.util. /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public DestinationWeaviateProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { + public DestinationWeaviateProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -194,7 +196,7 @@ public DestinationWeaviateProcessingConfigModel withFieldNameMappings(Optional metadataFields) { + public DestinationWeaviateProcessingConfigModel withMetadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -203,7 +205,7 @@ public DestinationWeaviateProcessingConfigModel withMetadataFields(java.util.Lis /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public DestinationWeaviateProcessingConfigModel withMetadataFields(Optional> metadataFields) { + public DestinationWeaviateProcessingConfigModel withMetadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -212,7 +214,7 @@ public DestinationWeaviateProcessingConfigModel withMetadataFields(Optional textFields) { + public DestinationWeaviateProcessingConfigModel withTextFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -221,7 +223,7 @@ public DestinationWeaviateProcessingConfigModel withTextFields(java.util.List> textFields) { + public DestinationWeaviateProcessingConfigModel withTextFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -255,17 +257,17 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateProcessingConfigModel other = (DestinationWeaviateProcessingConfigModel) o; return - java.util.Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && - java.util.Objects.deepEquals(this.chunkSize, other.chunkSize) && - java.util.Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && - java.util.Objects.deepEquals(this.metadataFields, other.metadataFields) && - java.util.Objects.deepEquals(this.textFields, other.textFields) && - java.util.Objects.deepEquals(this.textSplitter, other.textSplitter); + Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && + Objects.deepEquals(this.chunkSize, other.chunkSize) && + Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && + Objects.deepEquals(this.metadataFields, other.metadataFields) && + Objects.deepEquals(this.textFields, other.textFields) && + Objects.deepEquals(this.textSplitter, other.textSplitter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( chunkOverlap, chunkSize, fieldNameMappings, @@ -287,15 +289,15 @@ public String toString() { public final static class Builder { - private Optional chunkOverlap; + private Optional chunkOverlap; private Long chunkSize; - private Optional> fieldNameMappings = Optional.empty(); + private Optional> fieldNameMappings = Optional.empty(); - private Optional> metadataFields = Optional.empty(); + private Optional> metadataFields = Optional.empty(); - private Optional> textFields = Optional.empty(); + private Optional> textFields = Optional.empty(); private Optional textSplitter = Optional.empty(); @@ -315,7 +317,7 @@ public Builder chunkOverlap(long chunkOverlap) { /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public Builder chunkOverlap(Optional chunkOverlap) { + public Builder chunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -333,7 +335,7 @@ public Builder chunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public Builder fieldNameMappings(java.util.List fieldNameMappings) { + public Builder fieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -342,7 +344,7 @@ public Builder fieldNameMappings(java.util.List> fieldNameMappings) { + public Builder fieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -351,7 +353,7 @@ public Builder fieldNameMappings(Optional metadataFields) { + public Builder metadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -360,7 +362,7 @@ public Builder metadataFields(java.util.List metadataFields) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public Builder metadataFields(Optional> metadataFields) { + public Builder metadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -369,7 +371,7 @@ public Builder metadataFields(Optional> metadat /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(java.util.List textFields) { + public Builder textFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -378,7 +380,7 @@ public Builder textFields(java.util.List textFields) { /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(Optional> textFields) { + public Builder textFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -405,8 +407,7 @@ public Builder textSplitter(Optional public DestinationWeaviateProcessingConfigModel build() { if (chunkOverlap == null) { chunkOverlap = _SINGLETON_VALUE_ChunkOverlap.value(); - } - return new DestinationWeaviateProcessingConfigModel( + } return new DestinationWeaviateProcessingConfigModel( chunkOverlap, chunkSize, fieldNameMappings, @@ -415,11 +416,11 @@ public DestinationWeaviateProcessingConfigModel build() { textSplitter); } - private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = + private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = new LazySingletonValue<>( "chunk_overlap", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding5Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding5Mode.java index 52ac42db8..b0cc7f589 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding5Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding5Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasEmbeddingEmbedding5Mode { FROM_FIELD("from_field"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.java index 9d79ac37b..23a75b77e 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding6Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasEmbeddingEmbedding6Mode { FAKE("fake"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.java index a3dd028ad..16ecd63c1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbedding7Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasEmbeddingEmbedding7Mode { OPENAI_COMPATIBLE("openai_compatible"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbeddingMode.java index d90de11d6..7f6257031 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasEmbeddingEmbeddingMode { COHERE("cohere"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingMode.java index 18e804c15..65174efe0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasEmbeddingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasEmbeddingMode { OPENAI("openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthAuthenticationMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthAuthenticationMode.java index ebbe91e7d..6786face3 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthAuthenticationMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthAuthenticationMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasIndexingAuthAuthenticationMode { NO_AUTH("no_auth"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthMode.java index 897c34717..6e87bf444 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingAuthMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasIndexingAuthMode { USERNAME_PASSWORD("username_password"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingMode.java index 3eb1aa920..6afe7ecdd 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasIndexingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasIndexingMode { TOKEN("token"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasMode.java index f588683f1..169fe8358 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasMode { AZURE_OPENAI("azure_openai"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingMode.java index 245a07460..72463142a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasProcessingMode { SEPARATOR("separator"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.java index f1ba91d10..4f3f0f7b4 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasProcessingTextSplitterMode { MARKDOWN("markdown"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.java index 88a08fe62..a89438304 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode { CODE("code"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateTextSplitter.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateTextSplitter.java index 55e5c3750..817053a1a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateTextSplitter.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateTextSplitter.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationWeaviateTextSplitter - Split text fields into chunks based on the specified method. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationWeaviateTextSplitter._Deserializer.class) public class DestinationWeaviateTextSplitter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationWeaviateTextSplitter(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationWeaviateTextSplitter of(DestinationWeaviateByProgrammin /** * Returns an instance of one of these types: *
      - *
    • {@code DestinationWeaviateBySeparator}
    • - *
    • {@code DestinationWeaviateByMarkdownHeader}
    • - *
    • {@code DestinationWeaviateByProgrammingLanguage}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateBySeparator}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateByMarkdownHeader}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationWeaviateByProgrammingLanguage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationWeaviateTextSplitter other = (DestinationWeaviateTextSplitter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationWeaviateTextSplitter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationWeaviateTextSplitter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateUsernamePassword.java b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateUsernamePassword.java index bff0b98d8..0dd071731 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateUsernamePassword.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationWeaviateUsernamePassword.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationWeaviateUsernamePassword - Authenticate using username and password (suitable for self-managed Weaviate clusters) */ @@ -105,14 +106,14 @@ public boolean equals(java.lang.Object o) { } DestinationWeaviateUsernamePassword other = (DestinationWeaviateUsernamePassword) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, password, username); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrick.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrick.java index 399cf9293..b8617ab97 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrick.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrick.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class DestinationYellowbrick { /** @@ -41,35 +44,35 @@ public class DestinationYellowbrick { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * Password associated with the username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * Port of the database. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schema") - private Optional schema; + private Optional schema; /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl") - private Optional ssl; + private Optional ssl; /** * SSL connection modes. @@ -102,11 +105,11 @@ public class DestinationYellowbrick { public DestinationYellowbrick( @JsonProperty("database") String database, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, - @JsonProperty("schema") Optional schema, - @JsonProperty("ssl") Optional ssl, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, + @JsonProperty("schema") Optional schema, + @JsonProperty("ssl") Optional ssl, @JsonProperty("ssl_mode") Optional sslMode, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { @@ -164,46 +167,41 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * Password associated with the username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * Port of the database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schema() { - return (Optional) schema; + return schema; } /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ssl() { - return (Optional) ssl; + return ssl; } /** @@ -273,7 +271,7 @@ public DestinationYellowbrick withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public DestinationYellowbrick withJdbcUrlParams(Optional jdbcUrlParams) { + public DestinationYellowbrick withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -291,7 +289,7 @@ public DestinationYellowbrick withPassword(String password) { /** * Password associated with the username. */ - public DestinationYellowbrick withPassword(Optional password) { + public DestinationYellowbrick withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -309,7 +307,7 @@ public DestinationYellowbrick withPort(long port) { /** * Port of the database. */ - public DestinationYellowbrick withPort(Optional port) { + public DestinationYellowbrick withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -327,7 +325,7 @@ public DestinationYellowbrick withSchema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - public DestinationYellowbrick withSchema(Optional schema) { + public DestinationYellowbrick withSchema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -345,7 +343,7 @@ public DestinationYellowbrick withSsl(boolean ssl) { /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ - public DestinationYellowbrick withSsl(Optional ssl) { + public DestinationYellowbrick withSsl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -420,22 +418,22 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrick other = (DestinationYellowbrick) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.destinationType, other.destinationType) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.schema, other.schema) && - java.util.Objects.deepEquals(this.ssl, other.ssl) && - java.util.Objects.deepEquals(this.sslMode, other.sslMode) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.destinationType, other.destinationType) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.schema, other.schema) && + Objects.deepEquals(this.ssl, other.ssl) && + Objects.deepEquals(this.sslMode, other.sslMode) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, destinationType, host, @@ -471,15 +469,15 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; - private Optional schema; + private Optional schema; - private Optional ssl; + private Optional ssl; private Optional sslMode = Optional.empty(); @@ -521,7 +519,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -539,7 +537,7 @@ public Builder password(String password) { /** * Password associated with the username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -557,7 +555,7 @@ public Builder port(long port) { /** * Port of the database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -575,7 +573,7 @@ public Builder schema(String schema) { /** * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". */ - public Builder schema(Optional schema) { + public Builder schema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -593,7 +591,7 @@ public Builder ssl(boolean ssl) { /** * Encrypt data using SSL. When activating SSL, please select one of the connection modes. */ - public Builder ssl(Optional ssl) { + public Builder ssl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -667,8 +665,7 @@ public DestinationYellowbrick build() { } if (ssl == null) { ssl = _SINGLETON_VALUE_Ssl.value(); - } - return new DestinationYellowbrick( + } return new DestinationYellowbrick( database, host, jdbcUrlParams, @@ -687,23 +684,23 @@ public DestinationYellowbrick build() { "\"yellowbrick\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "5432", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schema = + private static final LazySingletonValue> _SINGLETON_VALUE_Schema = new LazySingletonValue<>( "schema", "\"public\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = + private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = new LazySingletonValue<>( "ssl", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickAllow.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickAllow.java index 4f04282bc..81cbe26ef 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickAllow.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickAllow.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationYellowbrickAllow - Allow SSL mode. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrickAllow other = (DestinationYellowbrickAllow) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickDisable.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickDisable.java index 46475d1b1..8f49c561b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickDisable.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickDisable.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationYellowbrickDisable - Disable SSL. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrickDisable other = (DestinationYellowbrickDisable) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickMode.java index e1f375b6c..596ac9bc5 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationYellowbrickMode { DISABLE("disable"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickNoTunnel.java index afab441b5..8e2127171 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DestinationYellowbrickNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrickNoTunnel other = (DestinationYellowbrickNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPasswordAuthentication.java index de8e7743a..342e4a7c3 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationYellowbrickPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class DestinationYellowbrickPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class DestinationYellowbrickPasswordAuthentication { @JsonCreator public DestinationYellowbrickPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationYellowbrickSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public DestinationYellowbrickPasswordAuthentication withTunnelPort(long tunnelPo /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationYellowbrickPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationYellowbrickPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrickPasswordAuthentication other = (DestinationYellowbrickPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public DestinationYellowbrickPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationYellowbrickPasswordAuthentication( + } return new DestinationYellowbrickPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public DestinationYellowbrickPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPrefer.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPrefer.java index 57b01063e..77a636a3f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPrefer.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickPrefer.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationYellowbrickPrefer - Prefer SSL mode. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrickPrefer other = (DestinationYellowbrickPrefer) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickRequire.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickRequire.java index 0048cf6ac..3cefe7f46 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickRequire.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickRequire.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationYellowbrickRequire - Require SSL mode. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrickRequire other = (DestinationYellowbrickRequire) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHKeyAuthentication.java index 6e07e0374..8c5010c83 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class DestinationYellowbrickSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class DestinationYellowbrickSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class DestinationYellowbrickSSHKeyAuthentication { public DestinationYellowbrickSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationYellowbrickSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public DestinationYellowbrickSSHKeyAuthentication withTunnelPort(long tunnelPort /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public DestinationYellowbrickSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public DestinationYellowbrickSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrickSSHKeyAuthentication other = (DestinationYellowbrickSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public DestinationYellowbrickSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new DestinationYellowbrickSSHKeyAuthentication( + } return new DestinationYellowbrickSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public DestinationYellowbrickSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHTunnelMethod.java index 4b52ff707..54f896518 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationYellowbrickSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = DestinationYellowbrickSSHTunnelMethod._Deserializer.class) public class DestinationYellowbrickSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationYellowbrickSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static DestinationYellowbrickSSHTunnelMethod of(DestinationYellowbrickPas /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationYellowbrickNoTunnel}
    • - *
    • {@code DestinationYellowbrickSSHKeyAuthentication}
    • - *
    • {@code DestinationYellowbrickPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrickNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrickSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrickPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } DestinationYellowbrickSSHTunnelMethod other = (DestinationYellowbrickSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationYellowbrickSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationYellowbrickSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSLModes.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSLModes.java index f803fd4e2..5cd74dfdc 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSLModes.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSSLModes.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DestinationYellowbrickSSLModes - SSL connection modes. @@ -35,7 +32,7 @@ @JsonDeserialize(using = DestinationYellowbrickSSLModes._Deserializer.class) public class DestinationYellowbrickSSLModes { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DestinationYellowbrickSSLModes(TypedObject value) { @@ -75,12 +72,12 @@ public static DestinationYellowbrickSSLModes of(DestinationYellowbrickVerifyFull /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationYellowbrickDisable}
    • - *
    • {@code DestinationYellowbrickAllow}
    • - *
    • {@code DestinationYellowbrickPrefer}
    • - *
    • {@code DestinationYellowbrickRequire}
    • - *
    • {@code DestinationYellowbrickVerifyCa}
    • - *
    • {@code DestinationYellowbrickVerifyFull}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrickDisable}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrickAllow}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrickPrefer}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrickRequire}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrickVerifyCa}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationYellowbrickVerifyFull}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -107,25 +104,25 @@ public boolean equals(java.lang.Object o) { return false; } DestinationYellowbrickSSLModes other = (DestinationYellowbrickSSLModes) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DestinationYellowbrickSSLModes.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DestinationYellowbrickSSLModes.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasMode.java index 30f5f672d..f21b480b0 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationYellowbrickSchemasMode { ALLOW("allow"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.java index 4c313ba45..70e2c058c 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes5Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationYellowbrickSchemasSSLModeSSLModes5Mode { VERIFY_CA("verify-ca"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.java index ff14e3027..6326c3205 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModes6Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationYellowbrickSchemasSSLModeSSLModes6Mode { VERIFY_FULL("verify-full"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.java index f5b6efe1b..6928419d8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSSLModeSSLModesMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationYellowbrickSchemasSSLModeSSLModesMode { REQUIRE("require"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSslModeMode.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSslModeMode.java index 384e0ab59..7d5bca5ba 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSslModeMode.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasSslModeMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum DestinationYellowbrickSchemasSslModeMode { PREFER("prefer"); diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethod.java index f50a8b01a..fbdab32f1 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationYellowbrickSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.java index a77fd1b9e..67171e525 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationYellowbrickSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickTunnelMethod.java index 7e0877fdf..5b7f80ae8 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DestinationYellowbrickTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyCa.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyCa.java index dcae38591..70d2b139b 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyCa.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyCa.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationYellowbrickVerifyCa - Verify-ca SSL mode. */ @@ -35,7 +36,7 @@ public class DestinationYellowbrickVerifyCa { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_key_password") - private Optional clientKeyPassword; + private Optional clientKeyPassword; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -44,7 +45,7 @@ public class DestinationYellowbrickVerifyCa { @JsonCreator public DestinationYellowbrickVerifyCa( @JsonProperty("ca_certificate") String caCertificate, - @JsonProperty("client_key_password") Optional clientKeyPassword) { + @JsonProperty("client_key_password") Optional clientKeyPassword) { Utils.checkNotNull(caCertificate, "caCertificate"); Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.caCertificate = caCertificate; @@ -68,10 +69,9 @@ public String caCertificate() { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientKeyPassword() { - return (Optional) clientKeyPassword; + return clientKeyPassword; } @SuppressWarnings("unchecked") @@ -105,7 +105,7 @@ public DestinationYellowbrickVerifyCa withClientKeyPassword(String clientKeyPass /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public DestinationYellowbrickVerifyCa withClientKeyPassword(Optional clientKeyPassword) { + public DestinationYellowbrickVerifyCa withClientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; @@ -121,14 +121,14 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrickVerifyCa other = (DestinationYellowbrickVerifyCa) o; return - java.util.Objects.deepEquals(this.caCertificate, other.caCertificate) && - java.util.Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caCertificate, clientKeyPassword, mode); @@ -146,7 +146,7 @@ public final static class Builder { private String caCertificate; - private Optional clientKeyPassword = Optional.empty(); + private Optional clientKeyPassword = Optional.empty(); private Builder() { // force use of static builder() method @@ -173,7 +173,7 @@ public Builder clientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public Builder clientKeyPassword(Optional clientKeyPassword) { + public Builder clientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyFull.java b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyFull.java index c6ac2b1f6..37eec8c9a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyFull.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationYellowbrickVerifyFull.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DestinationYellowbrickVerifyFull - Verify-full SSL mode. */ @@ -47,7 +48,7 @@ public class DestinationYellowbrickVerifyFull { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_key_password") - private Optional clientKeyPassword; + private Optional clientKeyPassword; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -58,7 +59,7 @@ public DestinationYellowbrickVerifyFull( @JsonProperty("ca_certificate") String caCertificate, @JsonProperty("client_certificate") String clientCertificate, @JsonProperty("client_key") String clientKey, - @JsonProperty("client_key_password") Optional clientKeyPassword) { + @JsonProperty("client_key_password") Optional clientKeyPassword) { Utils.checkNotNull(caCertificate, "caCertificate"); Utils.checkNotNull(clientCertificate, "clientCertificate"); Utils.checkNotNull(clientKey, "clientKey"); @@ -104,10 +105,9 @@ public String clientKey() { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientKeyPassword() { - return (Optional) clientKeyPassword; + return clientKeyPassword; } @SuppressWarnings("unchecked") @@ -159,7 +159,7 @@ public DestinationYellowbrickVerifyFull withClientKeyPassword(String clientKeyPa /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public DestinationYellowbrickVerifyFull withClientKeyPassword(Optional clientKeyPassword) { + public DestinationYellowbrickVerifyFull withClientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; @@ -175,16 +175,16 @@ public boolean equals(java.lang.Object o) { } DestinationYellowbrickVerifyFull other = (DestinationYellowbrickVerifyFull) o; return - java.util.Objects.deepEquals(this.caCertificate, other.caCertificate) && - java.util.Objects.deepEquals(this.clientCertificate, other.clientCertificate) && - java.util.Objects.deepEquals(this.clientKey, other.clientKey) && - java.util.Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.clientCertificate, other.clientCertificate) && + Objects.deepEquals(this.clientKey, other.clientKey) && + Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caCertificate, clientCertificate, clientKey, @@ -210,7 +210,7 @@ public final static class Builder { private String clientKey; - private Optional clientKeyPassword = Optional.empty(); + private Optional clientKeyPassword = Optional.empty(); private Builder() { // force use of static builder() method @@ -255,7 +255,7 @@ public Builder clientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public Builder clientKeyPassword(Optional clientKeyPassword) { + public Builder clientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DestinationsResponse.java b/src/main/java/com/airbyte/api/models/shared/DestinationsResponse.java index 167173251..02ace5d25 100644 --- a/src/main/java/com/airbyte/api/models/shared/DestinationsResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/DestinationsResponse.java @@ -1,41 +1,41 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class DestinationsResponse { @JsonProperty("data") - private java.util.List data; + private List data; @JsonInclude(Include.NON_ABSENT) @JsonProperty("next") - private Optional next; + private Optional next; @JsonInclude(Include.NON_ABSENT) @JsonProperty("previous") - private Optional previous; + private Optional previous; @JsonCreator public DestinationsResponse( - @JsonProperty("data") java.util.List data, - @JsonProperty("next") Optional next, - @JsonProperty("previous") Optional previous) { + @JsonProperty("data") List data, + @JsonProperty("next") Optional next, + @JsonProperty("previous") Optional previous) { Utils.checkNotNull(data, "data"); Utils.checkNotNull(next, "next"); Utils.checkNotNull(previous, "previous"); @@ -45,32 +45,30 @@ public DestinationsResponse( } public DestinationsResponse( - java.util.List data) { + List data) { this(data, Optional.empty(), Optional.empty()); } @JsonIgnore - public java.util.List data() { + public List data() { return data; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional next() { - return (Optional) next; + return next; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional previous() { - return (Optional) previous; + return previous; } public final static Builder builder() { return new Builder(); } - public DestinationsResponse withData(java.util.List data) { + public DestinationsResponse withData(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -82,7 +80,7 @@ public DestinationsResponse withNext(String next) { return this; } - public DestinationsResponse withNext(Optional next) { + public DestinationsResponse withNext(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -94,7 +92,7 @@ public DestinationsResponse withPrevious(String previous) { return this; } - public DestinationsResponse withPrevious(Optional previous) { + public DestinationsResponse withPrevious(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; @@ -110,14 +108,14 @@ public boolean equals(java.lang.Object o) { } DestinationsResponse other = (DestinationsResponse) o; return - java.util.Objects.deepEquals(this.data, other.data) && - java.util.Objects.deepEquals(this.next, other.next) && - java.util.Objects.deepEquals(this.previous, other.previous); + Objects.deepEquals(this.data, other.data) && + Objects.deepEquals(this.next, other.next) && + Objects.deepEquals(this.previous, other.previous); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( data, next, previous); @@ -133,17 +131,17 @@ public String toString() { public final static class Builder { - private java.util.List data; + private List data; - private Optional next = Optional.empty(); + private Optional next = Optional.empty(); - private Optional previous = Optional.empty(); + private Optional previous = Optional.empty(); private Builder() { // force use of static builder() method } - public Builder data(java.util.List data) { + public Builder data(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -155,7 +153,7 @@ public Builder next(String next) { return this; } - public Builder next(Optional next) { + public Builder next(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -167,7 +165,7 @@ public Builder previous(String previous) { return this; } - public Builder previous(Optional previous) { + public Builder previous(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/DetailType.java b/src/main/java/com/airbyte/api/models/shared/DetailType.java index afb046bf5..f61ea87c7 100644 --- a/src/main/java/com/airbyte/api/models/shared/DetailType.java +++ b/src/main/java/com/airbyte/api/models/shared/DetailType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DetailType - Select the granularity of the information about each item. diff --git a/src/main/java/com/airbyte/api/models/shared/DetectChangesWithXminSystemColumn.java b/src/main/java/com/airbyte/api/models/shared/DetectChangesWithXminSystemColumn.java index 16cfa3ae4..33ae69737 100644 --- a/src/main/java/com/airbyte/api/models/shared/DetectChangesWithXminSystemColumn.java +++ b/src/main/java/com/airbyte/api/models/shared/DetectChangesWithXminSystemColumn.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * DetectChangesWithXminSystemColumn - <i>Recommended</i> - Incrementally reads new inserts and updates via Postgres <a href="https://docs.airbyte.com/integrations/sources/postgres/#xmin">Xmin system column</a>. Suitable for databases that have low transaction pressure. */ @@ -22,7 +22,7 @@ public class DetectChangesWithXminSystemColumn { @JsonProperty("method") - private SourcePostgresMethod method; + private SourcePostgresSchemasMethod method; @JsonCreator public DetectChangesWithXminSystemColumn() { @@ -31,7 +31,7 @@ public DetectChangesWithXminSystemColumn() { } @JsonIgnore - public SourcePostgresMethod method() { + public SourcePostgresSchemasMethod method() { return method; } @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } DetectChangesWithXminSystemColumn other = (DetectChangesWithXminSystemColumn) o; return - java.util.Objects.deepEquals(this.method, other.method); + Objects.deepEquals(this.method, other.method); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( method); } @@ -75,11 +75,11 @@ public DetectChangesWithXminSystemColumn build() { ); } - private static final LazySingletonValue _SINGLETON_VALUE_Method = + private static final LazySingletonValue _SINGLETON_VALUE_Method = new LazySingletonValue<>( "method", "\"Xmin\"", - new TypeReference() {}); + new TypeReference() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/DevNull.java b/src/main/java/com/airbyte/api/models/shared/DevNull.java new file mode 100644 index 000000000..ce5f87778 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DevNull.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DevNull { + DEV_NULL("dev-null"); + + @JsonValue + private final String value; + + private DevNull(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Dimension.java b/src/main/java/com/airbyte/api/models/shared/Dimension.java index 50a48f58e..df8208e4a 100644 --- a/src/main/java/com/airbyte/api/models/shared/Dimension.java +++ b/src/main/java/com/airbyte/api/models/shared/Dimension.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Dimension - Dimension used by the cohort. Required and only supports `firstSessionDate` diff --git a/src/main/java/com/airbyte/api/models/shared/DimensionsFilter.java b/src/main/java/com/airbyte/api/models/shared/DimensionsFilter.java index 1c291d0b2..4a2cb48be 100644 --- a/src/main/java/com/airbyte/api/models/shared/DimensionsFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/DimensionsFilter.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * DimensionsFilter - Dimensions filter @@ -28,7 +25,7 @@ @JsonDeserialize(using = DimensionsFilter._Deserializer.class) public class DimensionsFilter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private DimensionsFilter(TypedObject value) { @@ -58,10 +55,10 @@ public static DimensionsFilter of(SourceGoogleAnalyticsDataApiFilter value) { /** * Returns an instance of one of these types: *

      - *
    • {@code AndGroup}
    • - *
    • {@code OrGroup}
    • - *
    • {@code NotExpression}
    • - *
    • {@code SourceGoogleAnalyticsDataApiFilter}
    • + *
    • {@code com.airbyte.api.models.shared.AndGroup}
    • + *
    • {@code com.airbyte.api.models.shared.OrGroup}
    • + *
    • {@code com.airbyte.api.models.shared.NotExpression}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -88,23 +85,23 @@ public boolean equals(java.lang.Object o) { return false; } DimensionsFilter other = (DimensionsFilter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(DimensionsFilter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(DimensionsFilter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Disable.java b/src/main/java/com/airbyte/api/models/shared/Disable.java index f3e0a90e2..956ed4c62 100644 --- a/src/main/java/com/airbyte/api/models/shared/Disable.java +++ b/src/main/java/com/airbyte/api/models/shared/Disable.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * Disable - Disable SSL. */ @@ -26,7 +27,7 @@ public class Disable { @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") - private Optional mode; + private Optional mode; @JsonCreator public Disable() { @@ -36,8 +37,8 @@ public Disable() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional mode() { - return (Optional) mode; + public Optional mode() { + return (Optional) mode; } public final static Builder builder() { @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } Disable other = (Disable) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } @@ -80,11 +81,11 @@ public Disable build() { ); } - private static final LazySingletonValue> _SINGLETON_VALUE_Mode = + private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( "mode", "\"disable\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Disabled.java b/src/main/java/com/airbyte/api/models/shared/Disabled.java index 80b3b7676..7f34af328 100644 --- a/src/main/java/com/airbyte/api/models/shared/Disabled.java +++ b/src/main/java/com/airbyte/api/models/shared/Disabled.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class Disabled { @@ -46,12 +46,12 @@ public boolean equals(java.lang.Object o) { } Disabled other = (Disabled) o; return - java.util.Objects.deepEquals(this.deletionMode, other.deletionMode); + Objects.deepEquals(this.deletionMode, other.deletionMode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( deletionMode); } diff --git a/src/main/java/com/airbyte/api/models/shared/DistanceMetric.java b/src/main/java/com/airbyte/api/models/shared/DistanceMetric.java index 2c7cb6d97..766cb640f 100644 --- a/src/main/java/com/airbyte/api/models/shared/DistanceMetric.java +++ b/src/main/java/com/airbyte/api/models/shared/DistanceMetric.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DistanceMetric - The Distance metric used to measure similarities among vectors. This field is only used if the collection defined in the does not exist yet and is created automatically by the connector. diff --git a/src/main/java/com/airbyte/api/models/shared/Dixa.java b/src/main/java/com/airbyte/api/models/shared/Dixa.java index e81c5a9b2..3b83cf989 100644 --- a/src/main/java/com/airbyte/api/models/shared/Dixa.java +++ b/src/main/java/com/airbyte/api/models/shared/Dixa.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Dixa { DIXA("dixa"); diff --git a/src/main/java/com/airbyte/api/models/shared/Dockerhub.java b/src/main/java/com/airbyte/api/models/shared/Dockerhub.java index d65cd31f0..c6e7850f3 100644 --- a/src/main/java/com/airbyte/api/models/shared/Dockerhub.java +++ b/src/main/java/com/airbyte/api/models/shared/Dockerhub.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Dockerhub { DOCKERHUB("dockerhub"); diff --git a/src/main/java/com/airbyte/api/models/shared/DocumentFileTypeFormatExperimental.java b/src/main/java/com/airbyte/api/models/shared/DocumentFileTypeFormatExperimental.java index 418a6bbe6..724665e28 100644 --- a/src/main/java/com/airbyte/api/models/shared/DocumentFileTypeFormatExperimental.java +++ b/src/main/java/com/airbyte/api/models/shared/DocumentFileTypeFormatExperimental.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * DocumentFileTypeFormatExperimental - Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. */ @@ -40,7 +42,7 @@ public class DocumentFileTypeFormatExperimental { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_unprocessable_files") - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; /** * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf @@ -52,7 +54,7 @@ public class DocumentFileTypeFormatExperimental { @JsonCreator public DocumentFileTypeFormatExperimental( @JsonProperty("processing") Optional processing, - @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, + @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, @JsonProperty("strategy") Optional strategy) { Utils.checkNotNull(processing, "processing"); Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); @@ -85,10 +87,9 @@ public Optional processing() { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipUnprocessableFiles() { - return (Optional) skipUnprocessableFiles; + return skipUnprocessableFiles; } /** @@ -134,7 +135,7 @@ public DocumentFileTypeFormatExperimental withSkipUnprocessableFiles(boolean ski /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public DocumentFileTypeFormatExperimental withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { + public DocumentFileTypeFormatExperimental withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -168,15 +169,15 @@ public boolean equals(java.lang.Object o) { } DocumentFileTypeFormatExperimental other = (DocumentFileTypeFormatExperimental) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.processing, other.processing) && - java.util.Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && - java.util.Objects.deepEquals(this.strategy, other.strategy); + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.processing, other.processing) && + Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && + Objects.deepEquals(this.strategy, other.strategy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype, processing, skipUnprocessableFiles, @@ -196,7 +197,7 @@ public final static class Builder { private Optional processing = Optional.empty(); - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; private Optional strategy; @@ -234,7 +235,7 @@ public Builder skipUnprocessableFiles(boolean skipUnprocessableFiles) { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { + public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -264,8 +265,7 @@ public DocumentFileTypeFormatExperimental build() { } if (strategy == null) { strategy = _SINGLETON_VALUE_Strategy.value(); - } - return new DocumentFileTypeFormatExperimental( + } return new DocumentFileTypeFormatExperimental( processing, skipUnprocessableFiles, strategy); @@ -277,11 +277,11 @@ public DocumentFileTypeFormatExperimental build() { "\"unstructured\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = new LazySingletonValue<>( "skip_unprocessable_files", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Strategy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/Domain.java b/src/main/java/com/airbyte/api/models/shared/Domain.java new file mode 100644 index 000000000..c25cf1347 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Domain.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * Domain - The domain suffix for the Zoho Inventory API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ +public enum Domain { + COM("com"), + IN("in"), + JP("jp"), + EU("eu"), + COM_AU("com.au"), + CA("ca"), + COM_CN("com.cn"), + SA("sa"); + + @JsonValue + private final String value; + + private Domain(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DomainRegionCode.java b/src/main/java/com/airbyte/api/models/shared/DomainRegionCode.java index 1a3655254..c3766ee3a 100644 --- a/src/main/java/com/airbyte/api/models/shared/DomainRegionCode.java +++ b/src/main/java/com/airbyte/api/models/shared/DomainRegionCode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DomainRegionCode - Domain region code. 'EU' or 'US' are possible values. The default is 'US'. diff --git a/src/main/java/com/airbyte/api/models/shared/DoubleValue.java b/src/main/java/com/airbyte/api/models/shared/DoubleValue.java index a57f05b0c..a86f58d15 100644 --- a/src/main/java/com/airbyte/api/models/shared/DoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/DoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class DoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } DoubleValue other = (DoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/Dremio.java b/src/main/java/com/airbyte/api/models/shared/Dremio.java index 1d4901afb..12df5e83c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Dremio.java +++ b/src/main/java/com/airbyte/api/models/shared/Dremio.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Dremio { DREMIO("dremio"); diff --git a/src/main/java/com/airbyte/api/models/shared/Drift.java b/src/main/java/com/airbyte/api/models/shared/Drift.java new file mode 100644 index 000000000..4a1c67b92 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Drift.java @@ -0,0 +1,111 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class Drift { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + private Optional credentials; + + @JsonCreator + public Drift( + @JsonProperty("credentials") Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + } + + public Drift() { + this(Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional credentials() { + return (Optional) credentials; + } + + public final static Builder builder() { + return new Builder(); + } + + public Drift withCredentials(DriftCredentials credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = Optional.ofNullable(credentials); + return this; + } + + public Drift withCredentials(Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Drift other = (Drift) o; + return + Objects.deepEquals(this.credentials, other.credentials); + } + + @Override + public int hashCode() { + return Objects.hash( + credentials); + } + + @Override + public String toString() { + return Utils.toString(Drift.class, + "credentials", credentials); + } + + public final static class Builder { + + private Optional credentials = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder credentials(DriftCredentials credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = Optional.ofNullable(credentials); + return this; + } + + public Builder credentials(Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + public Drift build() { + return new Drift( + credentials); + } + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SquareCredentials.java b/src/main/java/com/airbyte/api/models/shared/DriftCredentials.java similarity index 56% rename from src/main/java/com/airbyte/api/models/shared/SquareCredentials.java rename to src/main/java/com/airbyte/api/models/shared/DriftCredentials.java index 86b79a2cb..bbe5c8ec1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SquareCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/DriftCredentials.java @@ -1,69 +1,66 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; -public class SquareCredentials { + +public class DriftCredentials { /** - * The Square-issued ID of your application + * The Client ID of your Drift developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** - * The Square-issued application secret for your application + * The Client Secret of your Drift developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator - public SquareCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + public DriftCredentials( + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; this.clientSecret = clientSecret; } - public SquareCredentials() { + public DriftCredentials() { this(Optional.empty(), Optional.empty()); } /** - * The Square-issued ID of your application + * The Client ID of your Drift developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** - * The Square-issued application secret for your application + * The Client Secret of your Drift developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -71,36 +68,36 @@ public final static Builder builder() { } /** - * The Square-issued ID of your application + * The Client ID of your Drift developer application. */ - public SquareCredentials withClientId(String clientId) { + public DriftCredentials withClientId(String clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = Optional.ofNullable(clientId); return this; } /** - * The Square-issued ID of your application + * The Client ID of your Drift developer application. */ - public SquareCredentials withClientId(Optional clientId) { + public DriftCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; } /** - * The Square-issued application secret for your application + * The Client Secret of your Drift developer application. */ - public SquareCredentials withClientSecret(String clientSecret) { + public DriftCredentials withClientSecret(String clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = Optional.ofNullable(clientSecret); return this; } /** - * The Square-issued application secret for your application + * The Client Secret of your Drift developer application. */ - public SquareCredentials withClientSecret(Optional clientSecret) { + public DriftCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -114,38 +111,38 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SquareCredentials other = (SquareCredentials) o; + DriftCredentials other = (DriftCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @Override public String toString() { - return Utils.toString(SquareCredentials.class, + return Utils.toString(DriftCredentials.class, "clientId", clientId, "clientSecret", clientSecret); } public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method } /** - * The Square-issued ID of your application + * The Client ID of your Drift developer application. */ public Builder clientId(String clientId) { Utils.checkNotNull(clientId, "clientId"); @@ -154,16 +151,16 @@ public Builder clientId(String clientId) { } /** - * The Square-issued ID of your application + * The Client ID of your Drift developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; } /** - * The Square-issued application secret for your application + * The Client Secret of your Drift developer application. */ public Builder clientSecret(String clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); @@ -172,16 +169,16 @@ public Builder clientSecret(String clientSecret) { } /** - * The Square-issued application secret for your application + * The Client Secret of your Drift developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; } - public SquareCredentials build() { - return new SquareCredentials( + public DriftCredentials build() { + return new DriftCredentials( clientId, clientSecret); } diff --git a/src/main/java/com/airbyte/api/models/shared/Drip.java b/src/main/java/com/airbyte/api/models/shared/Drip.java new file mode 100644 index 000000000..b7da95bec --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Drip.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Drip { + DRIP("drip"); + + @JsonValue + private final String value; + + private Drip(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/DropboxSign.java b/src/main/java/com/airbyte/api/models/shared/DropboxSign.java new file mode 100644 index 000000000..e3ba63885 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/DropboxSign.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum DropboxSign { + DROPBOX_SIGN("dropbox-sign"); + + @JsonValue + private final String value; + + private DropboxSign(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Duckdb.java b/src/main/java/com/airbyte/api/models/shared/Duckdb.java index 61beed3ae..d72307d14 100644 --- a/src/main/java/com/airbyte/api/models/shared/Duckdb.java +++ b/src/main/java/com/airbyte/api/models/shared/Duckdb.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Duckdb { DUCKDB("duckdb"); diff --git a/src/main/java/com/airbyte/api/models/shared/DynamoDBRegion.java b/src/main/java/com/airbyte/api/models/shared/DynamoDBRegion.java index fde0a5eb9..e77a34333 100644 --- a/src/main/java/com/airbyte/api/models/shared/DynamoDBRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/DynamoDBRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * DynamoDBRegion - The region of the DynamoDB. diff --git a/src/main/java/com/airbyte/api/models/shared/Dynamodb.java b/src/main/java/com/airbyte/api/models/shared/Dynamodb.java index 67310bacd..f6b4775a1 100644 --- a/src/main/java/com/airbyte/api/models/shared/Dynamodb.java +++ b/src/main/java/com/airbyte/api/models/shared/Dynamodb.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Dynamodb { DYNAMODB("dynamodb"); diff --git a/src/main/java/com/airbyte/api/models/shared/EConomic.java b/src/main/java/com/airbyte/api/models/shared/EConomic.java new file mode 100644 index 000000000..4029b815f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/EConomic.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum EConomic { + E_CONOMIC("e-conomic"); + + @JsonValue + private final String value; + + private EConomic(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/EUBasedAccount.java b/src/main/java/com/airbyte/api/models/shared/EUBasedAccount.java index 68ce07334..ae4398f80 100644 --- a/src/main/java/com/airbyte/api/models/shared/EUBasedAccount.java +++ b/src/main/java/com/airbyte/api/models/shared/EUBasedAccount.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class EUBasedAccount { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } EUBasedAccount other = (EUBasedAccount) o; return - java.util.Objects.deepEquals(this.urlBase, other.urlBase); + Objects.deepEquals(this.urlBase, other.urlBase); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( urlBase); } diff --git a/src/main/java/com/airbyte/api/models/shared/Easypost.java b/src/main/java/com/airbyte/api/models/shared/Easypost.java new file mode 100644 index 000000000..17717bdad --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Easypost.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Easypost { + EASYPOST("easypost"); + + @JsonValue + private final String value; + + private Easypost(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Easypromos.java b/src/main/java/com/airbyte/api/models/shared/Easypromos.java new file mode 100644 index 000000000..b033da5a0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Easypromos.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Easypromos { + EASYPROMOS("easypromos"); + + @JsonValue + private final String value; + + private Easypromos(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Elasticemail.java b/src/main/java/com/airbyte/api/models/shared/Elasticemail.java new file mode 100644 index 000000000..fed270cd7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Elasticemail.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Elasticemail { + ELASTICEMAIL("elasticemail"); + + @JsonValue + private final String value; + + private Elasticemail(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Elasticsearch.java b/src/main/java/com/airbyte/api/models/shared/Elasticsearch.java index e072e0391..3475d2b92 100644 --- a/src/main/java/com/airbyte/api/models/shared/Elasticsearch.java +++ b/src/main/java/com/airbyte/api/models/shared/Elasticsearch.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Elasticsearch { ELASTICSEARCH("elasticsearch"); diff --git a/src/main/java/com/airbyte/api/models/shared/Emailoctopus.java b/src/main/java/com/airbyte/api/models/shared/Emailoctopus.java index 575c44c7d..80160009d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Emailoctopus.java +++ b/src/main/java/com/airbyte/api/models/shared/Emailoctopus.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Emailoctopus { EMAILOCTOPUS("emailoctopus"); diff --git a/src/main/java/com/airbyte/api/models/shared/Embedding.java b/src/main/java/com/airbyte/api/models/shared/Embedding.java index 864cc2b83..272e162e0 100644 --- a/src/main/java/com/airbyte/api/models/shared/Embedding.java +++ b/src/main/java/com/airbyte/api/models/shared/Embedding.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * Embedding - Embedding configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = Embedding._Deserializer.class) public class Embedding { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private Embedding(TypedObject value) { @@ -63,11 +60,11 @@ public static Embedding of(OpenAICompatible value) { /** * Returns an instance of one of these types: *

      - *
    • {@code OpenAI}
    • - *
    • {@code Cohere}
    • - *
    • {@code Fake}
    • - *
    • {@code AzureOpenAI}
    • - *
    • {@code OpenAICompatible}
    • + *
    • {@code com.airbyte.api.models.shared.OpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.Cohere}
    • + *
    • {@code com.airbyte.api.models.shared.Fake}
    • + *
    • {@code com.airbyte.api.models.shared.AzureOpenAI}
    • + *
    • {@code com.airbyte.api.models.shared.OpenAICompatible}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +91,24 @@ public boolean equals(java.lang.Object o) { return false; } Embedding other = (Embedding) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(Embedding.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(Embedding.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/EmploymentHero.java b/src/main/java/com/airbyte/api/models/shared/EmploymentHero.java new file mode 100644 index 000000000..2f4a2a2fb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/EmploymentHero.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum EmploymentHero { + EMPLOYMENT_HERO("employment-hero"); + + @JsonValue + private final String value; + + private EmploymentHero(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Enabled.java b/src/main/java/com/airbyte/api/models/shared/Enabled.java index dba8bd01f..af937cf9e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Enabled.java +++ b/src/main/java/com/airbyte/api/models/shared/Enabled.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class Enabled { /** @@ -26,14 +26,14 @@ public class Enabled { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("column") - private Optional column; + private Optional column; @JsonProperty("deletion_mode") private SourceFaunaSchemasDeletionMode deletionMode; @JsonCreator public Enabled( - @JsonProperty("column") Optional column) { + @JsonProperty("column") Optional column) { Utils.checkNotNull(column, "column"); this.column = column; this.deletionMode = Builder._SINGLETON_VALUE_DeletionMode.value(); @@ -46,10 +46,9 @@ public Enabled() { /** * Name of the "deleted at" column. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional column() { - return (Optional) column; + return column; } @JsonIgnore @@ -73,7 +72,7 @@ public Enabled withColumn(String column) { /** * Name of the "deleted at" column. */ - public Enabled withColumn(Optional column) { + public Enabled withColumn(Optional column) { Utils.checkNotNull(column, "column"); this.column = column; return this; @@ -89,13 +88,13 @@ public boolean equals(java.lang.Object o) { } Enabled other = (Enabled) o; return - java.util.Objects.deepEquals(this.column, other.column) && - java.util.Objects.deepEquals(this.deletionMode, other.deletionMode); + Objects.deepEquals(this.column, other.column) && + Objects.deepEquals(this.deletionMode, other.deletionMode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( column, deletionMode); } @@ -109,7 +108,7 @@ public String toString() { public final static class Builder { - private Optional column; + private Optional column; private Builder() { // force use of static builder() method @@ -127,7 +126,7 @@ public Builder column(String column) { /** * Name of the "deleted at" column. */ - public Builder column(Optional column) { + public Builder column(Optional column) { Utils.checkNotNull(column, "column"); this.column = column; return this; @@ -136,16 +135,15 @@ public Builder column(Optional column) { public Enabled build() { if (column == null) { column = _SINGLETON_VALUE_Column.value(); - } - return new Enabled( + } return new Enabled( column); } - private static final LazySingletonValue> _SINGLETON_VALUE_Column = + private static final LazySingletonValue> _SINGLETON_VALUE_Column = new LazySingletonValue<>( "column", "\"deleted_at\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_DeletionMode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/Encharge.java b/src/main/java/com/airbyte/api/models/shared/Encharge.java new file mode 100644 index 000000000..0ba2d9289 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Encharge.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Encharge { + ENCHARGE("encharge"); + + @JsonValue + private final String value; + + private Encharge(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/EncryptedTrustServerCertificate.java b/src/main/java/com/airbyte/api/models/shared/EncryptedTrustServerCertificate.java index 824858149..286705037 100644 --- a/src/main/java/com/airbyte/api/models/shared/EncryptedTrustServerCertificate.java +++ b/src/main/java/com/airbyte/api/models/shared/EncryptedTrustServerCertificate.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * EncryptedTrustServerCertificate - Use the certificate provided by the server without verification. (For testing purposes only!) */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } EncryptedTrustServerCertificate other = (EncryptedTrustServerCertificate) o; return - java.util.Objects.deepEquals(this.sslMethod, other.sslMethod); + Objects.deepEquals(this.sslMethod, other.sslMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sslMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/EncryptedVerifyCertificate.java b/src/main/java/com/airbyte/api/models/shared/EncryptedVerifyCertificate.java index 91af6dc06..b7afc3952 100644 --- a/src/main/java/com/airbyte/api/models/shared/EncryptedVerifyCertificate.java +++ b/src/main/java/com/airbyte/api/models/shared/EncryptedVerifyCertificate.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * EncryptedVerifyCertificate - Verify and use the certificate provided by the server. */ @@ -29,7 +30,7 @@ public class EncryptedVerifyCertificate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("hostNameInCertificate") - private Optional hostNameInCertificate; + private Optional hostNameInCertificate; @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl_method") @@ -37,7 +38,7 @@ public class EncryptedVerifyCertificate { @JsonCreator public EncryptedVerifyCertificate( - @JsonProperty("hostNameInCertificate") Optional hostNameInCertificate) { + @JsonProperty("hostNameInCertificate") Optional hostNameInCertificate) { Utils.checkNotNull(hostNameInCertificate, "hostNameInCertificate"); this.hostNameInCertificate = hostNameInCertificate; this.sslMethod = Builder._SINGLETON_VALUE_SslMethod.value(); @@ -50,10 +51,9 @@ public EncryptedVerifyCertificate() { /** * Specifies the host name of the server. The value of this property must match the subject property of the certificate. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional hostNameInCertificate() { - return (Optional) hostNameInCertificate; + return hostNameInCertificate; } @SuppressWarnings("unchecked") @@ -78,7 +78,7 @@ public EncryptedVerifyCertificate withHostNameInCertificate(String hostNameInCer /** * Specifies the host name of the server. The value of this property must match the subject property of the certificate. */ - public EncryptedVerifyCertificate withHostNameInCertificate(Optional hostNameInCertificate) { + public EncryptedVerifyCertificate withHostNameInCertificate(Optional hostNameInCertificate) { Utils.checkNotNull(hostNameInCertificate, "hostNameInCertificate"); this.hostNameInCertificate = hostNameInCertificate; return this; @@ -94,13 +94,13 @@ public boolean equals(java.lang.Object o) { } EncryptedVerifyCertificate other = (EncryptedVerifyCertificate) o; return - java.util.Objects.deepEquals(this.hostNameInCertificate, other.hostNameInCertificate) && - java.util.Objects.deepEquals(this.sslMethod, other.sslMethod); + Objects.deepEquals(this.hostNameInCertificate, other.hostNameInCertificate) && + Objects.deepEquals(this.sslMethod, other.sslMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( hostNameInCertificate, sslMethod); } @@ -114,7 +114,7 @@ public String toString() { public final static class Builder { - private Optional hostNameInCertificate = Optional.empty(); + private Optional hostNameInCertificate = Optional.empty(); private Builder() { // force use of static builder() method @@ -132,7 +132,7 @@ public Builder hostNameInCertificate(String hostNameInCertificate) { /** * Specifies the host name of the server. The value of this property must match the subject property of the certificate. */ - public Builder hostNameInCertificate(Optional hostNameInCertificate) { + public Builder hostNameInCertificate(Optional hostNameInCertificate) { Utils.checkNotNull(hostNameInCertificate, "hostNameInCertificate"); this.hostNameInCertificate = hostNameInCertificate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Encryption.java b/src/main/java/com/airbyte/api/models/shared/Encryption.java index 199249146..0032dab79 100644 --- a/src/main/java/com/airbyte/api/models/shared/Encryption.java +++ b/src/main/java/com/airbyte/api/models/shared/Encryption.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * Encryption - The encryption method which is used when communicating with the database. @@ -28,7 +25,7 @@ @JsonDeserialize(using = Encryption._Deserializer.class) public class Encryption { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private Encryption(TypedObject value) { @@ -53,9 +50,9 @@ public static Encryption of(TLSEncryptedVerifyCertificate value) { /** * Returns an instance of one of these types: *

      - *
    • {@code DestinationOracleUnencrypted}
    • - *
    • {@code NativeNetworkEncryptionNNE}
    • - *
    • {@code TLSEncryptedVerifyCertificate}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationOracleUnencrypted}
    • + *
    • {@code com.airbyte.api.models.shared.NativeNetworkEncryptionNNE}
    • + *
    • {@code com.airbyte.api.models.shared.TLSEncryptedVerifyCertificate}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } Encryption other = (Encryption) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(Encryption.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(Encryption.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/EncryptionAlgorithm.java b/src/main/java/com/airbyte/api/models/shared/EncryptionAlgorithm.java index 7ff06a8c5..408fa8140 100644 --- a/src/main/java/com/airbyte/api/models/shared/EncryptionAlgorithm.java +++ b/src/main/java/com/airbyte/api/models/shared/EncryptionAlgorithm.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * EncryptionAlgorithm - This parameter defines the database encryption algorithm. diff --git a/src/main/java/com/airbyte/api/models/shared/EncryptionMethod.java b/src/main/java/com/airbyte/api/models/shared/EncryptionMethod.java index ee9221ed9..671072abd 100644 --- a/src/main/java/com/airbyte/api/models/shared/EncryptionMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/EncryptionMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum EncryptionMethod { UNENCRYPTED("unencrypted"); diff --git a/src/main/java/com/airbyte/api/models/shared/EngagementWindowDays.java b/src/main/java/com/airbyte/api/models/shared/EngagementWindowDays.java index 2d4ca7cf7..83f75453e 100644 --- a/src/main/java/com/airbyte/api/models/shared/EngagementWindowDays.java +++ b/src/main/java/com/airbyte/api/models/shared/EngagementWindowDays.java @@ -1,19 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; /** * EngagementWindowDays - Number of days to use as the conversion attribution window for an engagement action. diff --git a/src/main/java/com/airbyte/api/models/shared/Enterprise.java b/src/main/java/com/airbyte/api/models/shared/Enterprise.java index 25a203c6a..639678c75 100644 --- a/src/main/java/com/airbyte/api/models/shared/Enterprise.java +++ b/src/main/java/com/airbyte/api/models/shared/Enterprise.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Enterprise { @JsonInclude(Include.NON_ABSENT) @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } Enterprise other = (Enterprise) o; return - java.util.Objects.deepEquals(this.apiEndpoint, other.apiEndpoint) && - java.util.Objects.deepEquals(this.enterpriseUrl, other.enterpriseUrl); + Objects.deepEquals(this.apiEndpoint, other.apiEndpoint) && + Objects.deepEquals(this.enterpriseUrl, other.enterpriseUrl); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiEndpoint, enterpriseUrl); } diff --git a/src/main/java/com/airbyte/api/models/shared/Entity.java b/src/main/java/com/airbyte/api/models/shared/Entity.java new file mode 100644 index 000000000..ad4c93b9c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Entity.java @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Entity { + PARTIES("parties"), + OPPORTUNITIES("opportunities"), + KASES("kases"); + + @JsonValue + private final String value; + + private Entity(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Environment.java b/src/main/java/com/airbyte/api/models/shared/Environment.java index 3b763d519..01df28351 100644 --- a/src/main/java/com/airbyte/api/models/shared/Environment.java +++ b/src/main/java/com/airbyte/api/models/shared/Environment.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Environment - The environment to use. Either sandbox or production. diff --git a/src/main/java/com/airbyte/api/models/shared/Eventbrite.java b/src/main/java/com/airbyte/api/models/shared/Eventbrite.java new file mode 100644 index 000000000..a54e4f80d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Eventbrite.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Eventbrite { + EVENTBRITE("eventbrite"); + + @JsonValue + private final String value; + + private Eventbrite(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Eventee.java b/src/main/java/com/airbyte/api/models/shared/Eventee.java new file mode 100644 index 000000000..c2ef6b71b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Eventee.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Eventee { + EVENTEE("eventee"); + + @JsonValue + private final String value; + + private Eventee(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Eventzilla.java b/src/main/java/com/airbyte/api/models/shared/Eventzilla.java new file mode 100644 index 000000000..83ecd5ba6 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Eventzilla.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Eventzilla { + EVENTZILLA("eventzilla"); + + @JsonValue + private final String value; + + private Eventzilla(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/EveryNThEntry.java b/src/main/java/com/airbyte/api/models/shared/EveryNThEntry.java new file mode 100644 index 000000000..3aed61d18 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/EveryNThEntry.java @@ -0,0 +1,287 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Double; +import java.lang.Long; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +/** + * EveryNThEntry - For each stream, log every N-th entry with a maximum cap. + */ + +public class EveryNThEntry { + + @JsonIgnore + private Map additionalProperties; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("logging_type") + private Optional loggingType; + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("max_entry_count") + private Optional maxEntryCount; + + /** + * The N-th entry to log for each stream. N starts from 1. For example, when N = 1, every entry is logged; when N = 2, every other entry is logged; when N = 3, one out of three entries is logged. + */ + @JsonProperty("nth_entry_to_log") + private long nthEntryToLog; + + @JsonCreator + public EveryNThEntry( + @JsonProperty("logging_type") Optional loggingType, + @JsonProperty("max_entry_count") Optional maxEntryCount, + @JsonProperty("nth_entry_to_log") long nthEntryToLog) { + Utils.checkNotNull(loggingType, "loggingType"); + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + Utils.checkNotNull(nthEntryToLog, "nthEntryToLog"); + this.additionalProperties = new HashMap<>(); + this.loggingType = loggingType; + this.maxEntryCount = maxEntryCount; + this.nthEntryToLog = nthEntryToLog; + } + + public EveryNThEntry( + long nthEntryToLog) { + this(Optional.empty(), Optional.empty(), nthEntryToLog); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional loggingType() { + return (Optional) loggingType; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + @JsonIgnore + public Optional maxEntryCount() { + return maxEntryCount; + } + + /** + * The N-th entry to log for each stream. N starts from 1. For example, when N = 1, every entry is logged; when N = 2, every other entry is logged; when N = 3, one out of three entries is logged. + */ + @JsonIgnore + public long nthEntryToLog() { + return nthEntryToLog; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public EveryNThEntry withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public EveryNThEntry withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public EveryNThEntry withLoggingType(DestinationDevNullLoggingType loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = Optional.ofNullable(loggingType); + return this; + } + + public EveryNThEntry withLoggingType(Optional loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = loggingType; + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public EveryNThEntry withMaxEntryCount(double maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = Optional.ofNullable(maxEntryCount); + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public EveryNThEntry withMaxEntryCount(Optional maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = maxEntryCount; + return this; + } + + /** + * The N-th entry to log for each stream. N starts from 1. For example, when N = 1, every entry is logged; when N = 2, every other entry is logged; when N = 3, one out of three entries is logged. + */ + public EveryNThEntry withNthEntryToLog(long nthEntryToLog) { + Utils.checkNotNull(nthEntryToLog, "nthEntryToLog"); + this.nthEntryToLog = nthEntryToLog; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EveryNThEntry other = (EveryNThEntry) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.loggingType, other.loggingType) && + Objects.deepEquals(this.maxEntryCount, other.maxEntryCount) && + Objects.deepEquals(this.nthEntryToLog, other.nthEntryToLog); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + loggingType, + maxEntryCount, + nthEntryToLog); + } + + @Override + public String toString() { + return Utils.toString(EveryNThEntry.class, + "additionalProperties", additionalProperties, + "loggingType", loggingType, + "maxEntryCount", maxEntryCount, + "nthEntryToLog", nthEntryToLog); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Optional loggingType; + + private Optional maxEntryCount; + + private Long nthEntryToLog; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public Builder loggingType(DestinationDevNullLoggingType loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = Optional.ofNullable(loggingType); + return this; + } + + public Builder loggingType(Optional loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = loggingType; + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public Builder maxEntryCount(double maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = Optional.ofNullable(maxEntryCount); + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public Builder maxEntryCount(Optional maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = maxEntryCount; + return this; + } + + /** + * The N-th entry to log for each stream. N starts from 1. For example, when N = 1, every entry is logged; when N = 2, every other entry is logged; when N = 3, one out of three entries is logged. + */ + public Builder nthEntryToLog(long nthEntryToLog) { + Utils.checkNotNull(nthEntryToLog, "nthEntryToLog"); + this.nthEntryToLog = nthEntryToLog; + return this; + } + + public EveryNThEntry build() { + if (loggingType == null) { + loggingType = _SINGLETON_VALUE_LoggingType.value(); + } + if (maxEntryCount == null) { + maxEntryCount = _SINGLETON_VALUE_MaxEntryCount.value(); + } return new EveryNThEntry( + loggingType, + maxEntryCount, + nthEntryToLog) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_LoggingType = + new LazySingletonValue<>( + "logging_type", + "\"EveryNth\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_MaxEntryCount = + new LazySingletonValue<>( + "max_entry_count", + "100", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/ExcelFormat.java b/src/main/java/com/airbyte/api/models/shared/ExcelFormat.java index e1d830eea..861957c81 100644 --- a/src/main/java/com/airbyte/api/models/shared/ExcelFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/ExcelFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ExcelFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } ExcelFormat other = (ExcelFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/ExchangeRates.java b/src/main/java/com/airbyte/api/models/shared/ExchangeRates.java index a61b11855..89e531282 100644 --- a/src/main/java/com/airbyte/api/models/shared/ExchangeRates.java +++ b/src/main/java/com/airbyte/api/models/shared/ExchangeRates.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ExchangeRates { EXCHANGE_RATES("exchange-rates"); diff --git a/src/main/java/com/airbyte/api/models/shared/Expression.java b/src/main/java/com/airbyte/api/models/shared/Expression.java index 072812446..1a659ad8d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Expression.java +++ b/src/main/java/com/airbyte/api/models/shared/Expression.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class Expression { @@ -69,13 +68,13 @@ public boolean equals(java.lang.Object o) { } Expression other = (Expression) o; return - java.util.Objects.deepEquals(this.fieldName, other.fieldName) && - java.util.Objects.deepEquals(this.filter, other.filter); + Objects.deepEquals(this.fieldName, other.fieldName) && + Objects.deepEquals(this.filter, other.filter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fieldName, filter); } diff --git a/src/main/java/com/airbyte/api/models/shared/ExternalTableViaS3.java b/src/main/java/com/airbyte/api/models/shared/ExternalTableViaS3.java index 5818a93e7..935d9a9a7 100644 --- a/src/main/java/com/airbyte/api/models/shared/ExternalTableViaS3.java +++ b/src/main/java/com/airbyte/api/models/shared/ExternalTableViaS3.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class ExternalTableViaS3 { @@ -149,16 +149,16 @@ public boolean equals(java.lang.Object o) { } ExternalTableViaS3 other = (ExternalTableViaS3) o; return - java.util.Objects.deepEquals(this.awsKeyId, other.awsKeyId) && - java.util.Objects.deepEquals(this.awsKeySecret, other.awsKeySecret) && - java.util.Objects.deepEquals(this.method, other.method) && - java.util.Objects.deepEquals(this.s3Bucket, other.s3Bucket) && - java.util.Objects.deepEquals(this.s3Region, other.s3Region); + Objects.deepEquals(this.awsKeyId, other.awsKeyId) && + Objects.deepEquals(this.awsKeySecret, other.awsKeySecret) && + Objects.deepEquals(this.method, other.method) && + Objects.deepEquals(this.s3Bucket, other.s3Bucket) && + Objects.deepEquals(this.s3Region, other.s3Region); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( awsKeyId, awsKeySecret, method, diff --git a/src/main/java/com/airbyte/api/models/shared/Ezofficeinventory.java b/src/main/java/com/airbyte/api/models/shared/Ezofficeinventory.java index caddeffad..c77191166 100644 --- a/src/main/java/com/airbyte/api/models/shared/Ezofficeinventory.java +++ b/src/main/java/com/airbyte/api/models/shared/Ezofficeinventory.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Ezofficeinventory { EZOFFICEINVENTORY("ezofficeinventory"); diff --git a/src/main/java/com/airbyte/api/models/shared/FacebookMarketing.java b/src/main/java/com/airbyte/api/models/shared/FacebookMarketing.java index 1398c77b5..c1b9c99e0 100644 --- a/src/main/java/com/airbyte/api/models/shared/FacebookMarketing.java +++ b/src/main/java/com/airbyte/api/models/shared/FacebookMarketing.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class FacebookMarketing { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } FacebookMarketing other = (FacebookMarketing) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/FacebookMarketingCredentials.java b/src/main/java/com/airbyte/api/models/shared/FacebookMarketingCredentials.java index 5590e7a52..08d2bcd17 100644 --- a/src/main/java/com/airbyte/api/models/shared/FacebookMarketingCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/FacebookMarketingCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class FacebookMarketingCredentials { /** @@ -25,19 +24,19 @@ public class FacebookMarketingCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret for your OAuth app */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public FacebookMarketingCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public FacebookMarketingCredentials() { /** * The Client Id for your OAuth app */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret for your OAuth app */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public FacebookMarketingCredentials withClientId(String clientId) { /** * The Client Id for your OAuth app */ - public FacebookMarketingCredentials withClientId(Optional clientId) { + public FacebookMarketingCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public FacebookMarketingCredentials withClientSecret(String clientSecret) { /** * The Client Secret for your OAuth app */ - public FacebookMarketingCredentials withClientSecret(Optional clientSecret) { + public FacebookMarketingCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } FacebookMarketingCredentials other = (FacebookMarketingCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client Id for your OAuth app */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret for your OAuth app */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Factorial.java b/src/main/java/com/airbyte/api/models/shared/Factorial.java new file mode 100644 index 000000000..47c520814 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Factorial.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Factorial { + FACTORIAL("factorial"); + + @JsonValue + private final String value; + + private Factorial(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Failing.java b/src/main/java/com/airbyte/api/models/shared/Failing.java new file mode 100644 index 000000000..7cd6dc293 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Failing.java @@ -0,0 +1,214 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Long; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class Failing { + + @JsonIgnore + private Map additionalProperties; + + /** + * Number of messages after which to fail. + */ + @JsonProperty("num_messages") + private long numMessages; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("test_destination_type") + private Optional testDestinationType; + + @JsonCreator + public Failing( + @JsonProperty("num_messages") long numMessages, + @JsonProperty("test_destination_type") Optional testDestinationType) { + Utils.checkNotNull(numMessages, "numMessages"); + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.additionalProperties = new HashMap<>(); + this.numMessages = numMessages; + this.testDestinationType = testDestinationType; + } + + public Failing( + long numMessages) { + this(numMessages, Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * Number of messages after which to fail. + */ + @JsonIgnore + public long numMessages() { + return numMessages; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional testDestinationType() { + return (Optional) testDestinationType; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public Failing withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public Failing withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Number of messages after which to fail. + */ + public Failing withNumMessages(long numMessages) { + Utils.checkNotNull(numMessages, "numMessages"); + this.numMessages = numMessages; + return this; + } + + public Failing withTestDestinationType(DestinationDevNullSchemasTestDestinationTestDestinationType testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = Optional.ofNullable(testDestinationType); + return this; + } + + public Failing withTestDestinationType(Optional testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = testDestinationType; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Failing other = (Failing) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.numMessages, other.numMessages) && + Objects.deepEquals(this.testDestinationType, other.testDestinationType); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + numMessages, + testDestinationType); + } + + @Override + public String toString() { + return Utils.toString(Failing.class, + "additionalProperties", additionalProperties, + "numMessages", numMessages, + "testDestinationType", testDestinationType); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Long numMessages; + + private Optional testDestinationType; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Number of messages after which to fail. + */ + public Builder numMessages(long numMessages) { + Utils.checkNotNull(numMessages, "numMessages"); + this.numMessages = numMessages; + return this; + } + + public Builder testDestinationType(DestinationDevNullSchemasTestDestinationTestDestinationType testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = Optional.ofNullable(testDestinationType); + return this; + } + + public Builder testDestinationType(Optional testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = testDestinationType; + return this; + } + + public Failing build() { + if (testDestinationType == null) { + testDestinationType = _SINGLETON_VALUE_TestDestinationType.value(); + } return new Failing( + numMessages, + testDestinationType) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_TestDestinationType = + new LazySingletonValue<>( + "test_destination_type", + "\"FAILING\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Fake.java b/src/main/java/com/airbyte/api/models/shared/Fake.java index 8315eb697..e9c615999 100644 --- a/src/main/java/com/airbyte/api/models/shared/Fake.java +++ b/src/main/java/com/airbyte/api/models/shared/Fake.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * Fake - Use a fake embedding made out of random vectors with 1536 embedding dimensions. This is useful for testing the data pipeline without incurring any costs. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } Fake other = (Fake) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/Faker.java b/src/main/java/com/airbyte/api/models/shared/Faker.java index 9dac084db..cb056bbf3 100644 --- a/src/main/java/com/airbyte/api/models/shared/Faker.java +++ b/src/main/java/com/airbyte/api/models/shared/Faker.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Faker { FAKER("faker"); diff --git a/src/main/java/com/airbyte/api/models/shared/Fauna.java b/src/main/java/com/airbyte/api/models/shared/Fauna.java index be55d5d29..baefeaea7 100644 --- a/src/main/java/com/airbyte/api/models/shared/Fauna.java +++ b/src/main/java/com/airbyte/api/models/shared/Fauna.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Fauna { FAUNA("fauna"); diff --git a/src/main/java/com/airbyte/api/models/shared/FieldNameMappingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/FieldNameMappingConfigModel.java index b0cdac3c5..ce4b86616 100644 --- a/src/main/java/com/airbyte/api/models/shared/FieldNameMappingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/FieldNameMappingConfigModel.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class FieldNameMappingConfigModel { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } FieldNameMappingConfigModel other = (FieldNameMappingConfigModel) o; return - java.util.Objects.deepEquals(this.fromField, other.fromField) && - java.util.Objects.deepEquals(this.toField, other.toField); + Objects.deepEquals(this.fromField, other.fromField) && + Objects.deepEquals(this.toField, other.toField); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fromField, toField); } diff --git a/src/main/java/com/airbyte/api/models/shared/File.java b/src/main/java/com/airbyte/api/models/shared/File.java index 137d89601..051bd859c 100644 --- a/src/main/java/com/airbyte/api/models/shared/File.java +++ b/src/main/java/com/airbyte/api/models/shared/File.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum File { FILE("file"); diff --git a/src/main/java/com/airbyte/api/models/shared/FileBasedStreamConfig.java b/src/main/java/com/airbyte/api/models/shared/FileBasedStreamConfig.java index 6264ed3ee..d94f57e00 100644 --- a/src/main/java/com/airbyte/api/models/shared/FileBasedStreamConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/FileBasedStreamConfig.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class FileBasedStreamConfig { /** @@ -26,7 +30,7 @@ public class FileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("days_to_sync_if_history_is_full") - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; /** * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -39,14 +43,14 @@ public class FileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("globs") - private Optional> globs; + private Optional> globs; /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("input_schema") - private Optional inputSchema; + private Optional inputSchema; /** * The name of the stream. @@ -59,7 +63,7 @@ public class FileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemaless") - private Optional schemaless; + private Optional schemaless; /** * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. @@ -70,12 +74,12 @@ public class FileBasedStreamConfig { @JsonCreator public FileBasedStreamConfig( - @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, + @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, @JsonProperty("format") Format format, - @JsonProperty("globs") Optional> globs, - @JsonProperty("input_schema") Optional inputSchema, + @JsonProperty("globs") Optional> globs, + @JsonProperty("input_schema") Optional inputSchema, @JsonProperty("name") String name, - @JsonProperty("schemaless") Optional schemaless, + @JsonProperty("schemaless") Optional schemaless, @JsonProperty("validation_policy") Optional validationPolicy) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); Utils.checkNotNull(format, "format"); @@ -102,10 +106,9 @@ public FileBasedStreamConfig( /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional daysToSyncIfHistoryIsFull() { - return (Optional) daysToSyncIfHistoryIsFull; + return daysToSyncIfHistoryIsFull; } /** @@ -121,17 +124,16 @@ public Format format() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> globs() { - return (Optional>) globs; + public Optional> globs() { + return (Optional>) globs; } /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional inputSchema() { - return (Optional) inputSchema; + return inputSchema; } /** @@ -145,10 +147,9 @@ public String name() { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schemaless() { - return (Optional) schemaless; + return schemaless; } /** @@ -176,7 +177,7 @@ public FileBasedStreamConfig withDaysToSyncIfHistoryIsFull(long daysToSyncIfHist /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public FileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public FileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -194,7 +195,7 @@ public FileBasedStreamConfig withFormat(Format format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public FileBasedStreamConfig withGlobs(java.util.List globs) { + public FileBasedStreamConfig withGlobs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -203,7 +204,7 @@ public FileBasedStreamConfig withGlobs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public FileBasedStreamConfig withGlobs(Optional> globs) { + public FileBasedStreamConfig withGlobs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -221,7 +222,7 @@ public FileBasedStreamConfig withInputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public FileBasedStreamConfig withInputSchema(Optional inputSchema) { + public FileBasedStreamConfig withInputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -248,7 +249,7 @@ public FileBasedStreamConfig withSchemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public FileBasedStreamConfig withSchemaless(Optional schemaless) { + public FileBasedStreamConfig withSchemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -282,18 +283,18 @@ public boolean equals(java.lang.Object o) { } FileBasedStreamConfig other = (FileBasedStreamConfig) o; return - java.util.Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.globs, other.globs) && - java.util.Objects.deepEquals(this.inputSchema, other.inputSchema) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.schemaless, other.schemaless) && - java.util.Objects.deepEquals(this.validationPolicy, other.validationPolicy); + Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.globs, other.globs) && + Objects.deepEquals(this.inputSchema, other.inputSchema) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.schemaless, other.schemaless) && + Objects.deepEquals(this.validationPolicy, other.validationPolicy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( daysToSyncIfHistoryIsFull, format, globs, @@ -317,17 +318,17 @@ public String toString() { public final static class Builder { - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; private Format format; - private Optional> globs = Optional.empty(); + private Optional> globs = Optional.empty(); - private Optional inputSchema = Optional.empty(); + private Optional inputSchema = Optional.empty(); private String name; - private Optional schemaless; + private Optional schemaless; private Optional validationPolicy; @@ -347,7 +348,7 @@ public Builder daysToSyncIfHistoryIsFull(long daysToSyncIfHistoryIsFull) { /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -365,7 +366,7 @@ public Builder format(Format format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(java.util.List globs) { + public Builder globs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -374,7 +375,7 @@ public Builder globs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(Optional> globs) { + public Builder globs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -392,7 +393,7 @@ public Builder inputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public Builder inputSchema(Optional inputSchema) { + public Builder inputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -419,7 +420,7 @@ public Builder schemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public Builder schemaless(Optional schemaless) { + public Builder schemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -452,8 +453,7 @@ public FileBasedStreamConfig build() { } if (validationPolicy == null) { validationPolicy = _SINGLETON_VALUE_ValidationPolicy.value(); - } - return new FileBasedStreamConfig( + } return new FileBasedStreamConfig( daysToSyncIfHistoryIsFull, format, globs, @@ -463,17 +463,17 @@ public FileBasedStreamConfig build() { validationPolicy); } - private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = + private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = new LazySingletonValue<>( "days_to_sync_if_history_is_full", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = + private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = new LazySingletonValue<>( "schemaless", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_ValidationPolicy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/FileFormat.java b/src/main/java/com/airbyte/api/models/shared/FileFormat.java index 4adc94eae..ab5bd3d30 100644 --- a/src/main/java/com/airbyte/api/models/shared/FileFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/FileFormat.java @@ -1,42 +1,333 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; /** - * FileFormat - The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). + * FileFormat - File format of Iceberg storage. */ -public enum FileFormat { - CSV("csv"), - JSON("json"), - JSONL("jsonl"), - EXCEL("excel"), - EXCEL_BINARY("excel_binary"), - FWF("fwf"), - FEATHER("feather"), - PARQUET("parquet"), - YAML("yaml"); - - @JsonValue - private final String value; - - private FileFormat(String value) { - this.value = value; + +public class FileFormat { + + /** + * Auto compact data files when stream close + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auto_compact") + private Optional autoCompact; + + /** + * Specify the target size of Iceberg data file when performing a compaction action. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("compact_target_file_size_in_mb") + private Optional compactTargetFileSizeInMb; + + /** + * Iceberg data file flush batch size. Incoming rows write to cache firstly; When cache size reaches this 'batch size', flush into real Iceberg data file. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("flush_batch_size") + private Optional flushBatchSize; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("format") + private Optional format; + + @JsonCreator + public FileFormat( + @JsonProperty("auto_compact") Optional autoCompact, + @JsonProperty("compact_target_file_size_in_mb") Optional compactTargetFileSizeInMb, + @JsonProperty("flush_batch_size") Optional flushBatchSize, + @JsonProperty("format") Optional format) { + Utils.checkNotNull(autoCompact, "autoCompact"); + Utils.checkNotNull(compactTargetFileSizeInMb, "compactTargetFileSizeInMb"); + Utils.checkNotNull(flushBatchSize, "flushBatchSize"); + Utils.checkNotNull(format, "format"); + this.autoCompact = autoCompact; + this.compactTargetFileSizeInMb = compactTargetFileSizeInMb; + this.flushBatchSize = flushBatchSize; + this.format = format; + } + + public FileFormat() { + this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + /** + * Auto compact data files when stream close + */ + @JsonIgnore + public Optional autoCompact() { + return autoCompact; + } + + /** + * Specify the target size of Iceberg data file when performing a compaction action. + */ + @JsonIgnore + public Optional compactTargetFileSizeInMb() { + return compactTargetFileSizeInMb; + } + + /** + * Iceberg data file flush batch size. Incoming rows write to cache firstly; When cache size reaches this 'batch size', flush into real Iceberg data file. + */ + @JsonIgnore + public Optional flushBatchSize() { + return flushBatchSize; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional format() { + return (Optional) format; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Auto compact data files when stream close + */ + public FileFormat withAutoCompact(boolean autoCompact) { + Utils.checkNotNull(autoCompact, "autoCompact"); + this.autoCompact = Optional.ofNullable(autoCompact); + return this; + } + + /** + * Auto compact data files when stream close + */ + public FileFormat withAutoCompact(Optional autoCompact) { + Utils.checkNotNull(autoCompact, "autoCompact"); + this.autoCompact = autoCompact; + return this; + } + + /** + * Specify the target size of Iceberg data file when performing a compaction action. + */ + public FileFormat withCompactTargetFileSizeInMb(long compactTargetFileSizeInMb) { + Utils.checkNotNull(compactTargetFileSizeInMb, "compactTargetFileSizeInMb"); + this.compactTargetFileSizeInMb = Optional.ofNullable(compactTargetFileSizeInMb); + return this; + } + + /** + * Specify the target size of Iceberg data file when performing a compaction action. + */ + public FileFormat withCompactTargetFileSizeInMb(Optional compactTargetFileSizeInMb) { + Utils.checkNotNull(compactTargetFileSizeInMb, "compactTargetFileSizeInMb"); + this.compactTargetFileSizeInMb = compactTargetFileSizeInMb; + return this; + } + + /** + * Iceberg data file flush batch size. Incoming rows write to cache firstly; When cache size reaches this 'batch size', flush into real Iceberg data file. + */ + public FileFormat withFlushBatchSize(long flushBatchSize) { + Utils.checkNotNull(flushBatchSize, "flushBatchSize"); + this.flushBatchSize = Optional.ofNullable(flushBatchSize); + return this; + } + + /** + * Iceberg data file flush batch size. Incoming rows write to cache firstly; When cache size reaches this 'batch size', flush into real Iceberg data file. + */ + public FileFormat withFlushBatchSize(Optional flushBatchSize) { + Utils.checkNotNull(flushBatchSize, "flushBatchSize"); + this.flushBatchSize = flushBatchSize; + return this; + } + + public FileFormat withFormat(FileStorageFormat format) { + Utils.checkNotNull(format, "format"); + this.format = Optional.ofNullable(format); + return this; + } + + public FileFormat withFormat(Optional format) { + Utils.checkNotNull(format, "format"); + this.format = format; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FileFormat other = (FileFormat) o; + return + Objects.deepEquals(this.autoCompact, other.autoCompact) && + Objects.deepEquals(this.compactTargetFileSizeInMb, other.compactTargetFileSizeInMb) && + Objects.deepEquals(this.flushBatchSize, other.flushBatchSize) && + Objects.deepEquals(this.format, other.format); } - public String value() { - return value; + @Override + public int hashCode() { + return Objects.hash( + autoCompact, + compactTargetFileSizeInMb, + flushBatchSize, + format); + } + + @Override + public String toString() { + return Utils.toString(FileFormat.class, + "autoCompact", autoCompact, + "compactTargetFileSizeInMb", compactTargetFileSizeInMb, + "flushBatchSize", flushBatchSize, + "format", format); + } + + public final static class Builder { + + private Optional autoCompact; + + private Optional compactTargetFileSizeInMb; + + private Optional flushBatchSize; + + private Optional format; + + private Builder() { + // force use of static builder() method + } + + /** + * Auto compact data files when stream close + */ + public Builder autoCompact(boolean autoCompact) { + Utils.checkNotNull(autoCompact, "autoCompact"); + this.autoCompact = Optional.ofNullable(autoCompact); + return this; + } + + /** + * Auto compact data files when stream close + */ + public Builder autoCompact(Optional autoCompact) { + Utils.checkNotNull(autoCompact, "autoCompact"); + this.autoCompact = autoCompact; + return this; + } + + /** + * Specify the target size of Iceberg data file when performing a compaction action. + */ + public Builder compactTargetFileSizeInMb(long compactTargetFileSizeInMb) { + Utils.checkNotNull(compactTargetFileSizeInMb, "compactTargetFileSizeInMb"); + this.compactTargetFileSizeInMb = Optional.ofNullable(compactTargetFileSizeInMb); + return this; + } + + /** + * Specify the target size of Iceberg data file when performing a compaction action. + */ + public Builder compactTargetFileSizeInMb(Optional compactTargetFileSizeInMb) { + Utils.checkNotNull(compactTargetFileSizeInMb, "compactTargetFileSizeInMb"); + this.compactTargetFileSizeInMb = compactTargetFileSizeInMb; + return this; + } + + /** + * Iceberg data file flush batch size. Incoming rows write to cache firstly; When cache size reaches this 'batch size', flush into real Iceberg data file. + */ + public Builder flushBatchSize(long flushBatchSize) { + Utils.checkNotNull(flushBatchSize, "flushBatchSize"); + this.flushBatchSize = Optional.ofNullable(flushBatchSize); + return this; + } + + /** + * Iceberg data file flush batch size. Incoming rows write to cache firstly; When cache size reaches this 'batch size', flush into real Iceberg data file. + */ + public Builder flushBatchSize(Optional flushBatchSize) { + Utils.checkNotNull(flushBatchSize, "flushBatchSize"); + this.flushBatchSize = flushBatchSize; + return this; + } + + public Builder format(FileStorageFormat format) { + Utils.checkNotNull(format, "format"); + this.format = Optional.ofNullable(format); + return this; + } + + public Builder format(Optional format) { + Utils.checkNotNull(format, "format"); + this.format = format; + return this; + } + + public FileFormat build() { + if (autoCompact == null) { + autoCompact = _SINGLETON_VALUE_AutoCompact.value(); + } + if (compactTargetFileSizeInMb == null) { + compactTargetFileSizeInMb = _SINGLETON_VALUE_CompactTargetFileSizeInMb.value(); + } + if (flushBatchSize == null) { + flushBatchSize = _SINGLETON_VALUE_FlushBatchSize.value(); + } + if (format == null) { + format = _SINGLETON_VALUE_Format.value(); + } return new FileFormat( + autoCompact, + compactTargetFileSizeInMb, + flushBatchSize, + format); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AutoCompact = + new LazySingletonValue<>( + "auto_compact", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_CompactTargetFileSizeInMb = + new LazySingletonValue<>( + "compact_target_file_size_in_mb", + "100", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_FlushBatchSize = + new LazySingletonValue<>( + "flush_batch_size", + "10000", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Format = + new LazySingletonValue<>( + "format", + "\"Parquet\"", + new TypeReference>() {}); } } + diff --git a/src/main/java/com/airbyte/api/models/shared/FileStorageFormat.java b/src/main/java/com/airbyte/api/models/shared/FileStorageFormat.java new file mode 100644 index 000000000..0334a314d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/FileStorageFormat.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum FileStorageFormat { + PARQUET("Parquet"), + AVRO("Avro"); + + @JsonValue + private final String value; + + private FileStorageFormat(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Filetype.java b/src/main/java/com/airbyte/api/models/shared/Filetype.java index 0b4c4a108..bbdca97a4 100644 --- a/src/main/java/com/airbyte/api/models/shared/Filetype.java +++ b/src/main/java/com/airbyte/api/models/shared/Filetype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Filetype { AVRO("avro"); diff --git a/src/main/java/com/airbyte/api/models/shared/Fillout.java b/src/main/java/com/airbyte/api/models/shared/Fillout.java new file mode 100644 index 000000000..f85913cf8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Fillout.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Fillout { + FILLOUT("fillout"); + + @JsonValue + private final String value; + + private Fillout(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Filter.java b/src/main/java/com/airbyte/api/models/shared/Filter.java index 0e2c59576..096fb23c9 100644 --- a/src/main/java/com/airbyte/api/models/shared/Filter.java +++ b/src/main/java/com/airbyte/api/models/shared/Filter.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Filter - Filter for using in the `segments_experiences` stream diff --git a/src/main/java/com/airbyte/api/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.java b/src/main/java/com/airbyte/api/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.java index 6c63d20df..6af273f86 100644 --- a/src/main/java/com/airbyte/api/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.java +++ b/src/main/java/com/airbyte/api/models/shared/FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody.java @@ -1,38 +1,38 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody { @JsonInclude(Include.NON_ABSENT) @JsonProperty("attribute_key") - private Optional attributeKey; + private Optional attributeKey; @JsonInclude(Include.NON_ABSENT) @JsonProperty("attribute_value") - private Optional attributeValue; + private Optional attributeValue; @JsonCreator public FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody( - @JsonProperty("attribute_key") Optional attributeKey, - @JsonProperty("attribute_value") Optional attributeValue) { + @JsonProperty("attribute_key") Optional attributeKey, + @JsonProperty("attribute_value") Optional attributeValue) { Utils.checkNotNull(attributeKey, "attributeKey"); Utils.checkNotNull(attributeValue, "attributeValue"); this.attributeKey = attributeKey; @@ -43,16 +43,14 @@ public FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhic this(Optional.empty(), Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional attributeKey() { - return (Optional) attributeKey; + return attributeKey; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional attributeValue() { - return (Optional) attributeValue; + return attributeValue; } public final static Builder builder() { @@ -65,7 +63,7 @@ public FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhic return this; } - public FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody withAttributeKey(Optional attributeKey) { + public FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody withAttributeKey(Optional attributeKey) { Utils.checkNotNull(attributeKey, "attributeKey"); this.attributeKey = attributeKey; return this; @@ -77,7 +75,7 @@ public FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhic return this; } - public FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody withAttributeValue(Optional attributeValue) { + public FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody withAttributeValue(Optional attributeValue) { Utils.checkNotNull(attributeValue, "attributeValue"); this.attributeValue = attributeValue; return this; @@ -93,13 +91,13 @@ public boolean equals(java.lang.Object o) { } FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody other = (FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody) o; return - java.util.Objects.deepEquals(this.attributeKey, other.attributeKey) && - java.util.Objects.deepEquals(this.attributeValue, other.attributeValue); + Objects.deepEquals(this.attributeKey, other.attributeKey) && + Objects.deepEquals(this.attributeValue, other.attributeValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( attributeKey, attributeValue); } @@ -113,9 +111,9 @@ public String toString() { public final static class Builder { - private Optional attributeKey; + private Optional attributeKey; - private Optional attributeValue; + private Optional attributeValue; private Builder() { // force use of static builder() method @@ -127,7 +125,7 @@ public Builder attributeKey(String attributeKey) { return this; } - public Builder attributeKey(Optional attributeKey) { + public Builder attributeKey(Optional attributeKey) { Utils.checkNotNull(attributeKey, "attributeKey"); this.attributeKey = attributeKey; return this; @@ -139,7 +137,7 @@ public Builder attributeValue(String attributeValue) { return this; } - public Builder attributeValue(Optional attributeValue) { + public Builder attributeValue(Optional attributeValue) { Utils.checkNotNull(attributeValue, "attributeValue"); this.attributeValue = attributeValue; return this; @@ -151,23 +149,22 @@ public FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhic } if (attributeValue == null) { attributeValue = _SINGLETON_VALUE_AttributeValue.value(); - } - return new FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody( + } return new FilterAppliedWhileFetchingRecordsBasedOnAttributeKeyAndAttributeValueWhichWillBeAppendedOnTheRequestBody( attributeKey, attributeValue); } - private static final LazySingletonValue> _SINGLETON_VALUE_AttributeKey = + private static final LazySingletonValue> _SINGLETON_VALUE_AttributeKey = new LazySingletonValue<>( "attribute_key", "\"EventName\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_AttributeValue = + private static final LazySingletonValue> _SINGLETON_VALUE_AttributeValue = new LazySingletonValue<>( "attribute_value", "\"ListInstanceAssociations\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/FilterName.java b/src/main/java/com/airbyte/api/models/shared/FilterName.java index 05f40ead4..65ba73d56 100644 --- a/src/main/java/com/airbyte/api/models/shared/FilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/FilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum FilterName { STRING_FILTER("stringFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/FilterType.java b/src/main/java/com/airbyte/api/models/shared/FilterType.java index 5515705ae..386b93e10 100644 --- a/src/main/java/com/airbyte/api/models/shared/FilterType.java +++ b/src/main/java/com/airbyte/api/models/shared/FilterType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum FilterType { AND_GROUP("andGroup"); diff --git a/src/main/java/com/airbyte/api/models/shared/Finage.java b/src/main/java/com/airbyte/api/models/shared/Finage.java new file mode 100644 index 000000000..f35d7a2a4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Finage.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Finage { + FINAGE("finage"); + + @JsonValue + private final String value; + + private Finage(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/FinancialModelling.java b/src/main/java/com/airbyte/api/models/shared/FinancialModelling.java new file mode 100644 index 000000000..0f6e6829c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/FinancialModelling.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum FinancialModelling { + FINANCIAL_MODELLING("financial-modelling"); + + @JsonValue + private final String value; + + private FinancialModelling(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Finnhub.java b/src/main/java/com/airbyte/api/models/shared/Finnhub.java new file mode 100644 index 000000000..8e5c538d4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Finnhub.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Finnhub { + FINNHUB("finnhub"); + + @JsonValue + private final String value; + + private Finnhub(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Finnworlds.java b/src/main/java/com/airbyte/api/models/shared/Finnworlds.java new file mode 100644 index 000000000..0593b98aa --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Finnworlds.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Finnworlds { + FINNWORLDS("finnworlds"); + + @JsonValue + private final String value; + + private Finnworlds(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Firebolt.java b/src/main/java/com/airbyte/api/models/shared/Firebolt.java index 7f9a16289..3625f5cd8 100644 --- a/src/main/java/com/airbyte/api/models/shared/Firebolt.java +++ b/src/main/java/com/airbyte/api/models/shared/Firebolt.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Firebolt { FIREBOLT("firebolt"); diff --git a/src/main/java/com/airbyte/api/models/shared/Firehydrant.java b/src/main/java/com/airbyte/api/models/shared/Firehydrant.java new file mode 100644 index 000000000..163c4141b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Firehydrant.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Firehydrant { + FIREHYDRANT("firehydrant"); + + @JsonValue + private final String value; + + private Firehydrant(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Firestore.java b/src/main/java/com/airbyte/api/models/shared/Firestore.java index ac68d25ab..7cf52b27a 100644 --- a/src/main/java/com/airbyte/api/models/shared/Firestore.java +++ b/src/main/java/com/airbyte/api/models/shared/Firestore.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Firestore { FIRESTORE("firestore"); diff --git a/src/main/java/com/airbyte/api/models/shared/FirstNEntries.java b/src/main/java/com/airbyte/api/models/shared/FirstNEntries.java new file mode 100644 index 000000000..d8946f86e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/FirstNEntries.java @@ -0,0 +1,244 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Double; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +/** + * FirstNEntries - Log first N entries per stream. + */ + +public class FirstNEntries { + + @JsonIgnore + private Map additionalProperties; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("logging_type") + private Optional loggingType; + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("max_entry_count") + private Optional maxEntryCount; + + @JsonCreator + public FirstNEntries( + @JsonProperty("logging_type") Optional loggingType, + @JsonProperty("max_entry_count") Optional maxEntryCount) { + Utils.checkNotNull(loggingType, "loggingType"); + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.additionalProperties = new HashMap<>(); + this.loggingType = loggingType; + this.maxEntryCount = maxEntryCount; + } + + public FirstNEntries() { + this(Optional.empty(), Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional loggingType() { + return (Optional) loggingType; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + @JsonIgnore + public Optional maxEntryCount() { + return maxEntryCount; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public FirstNEntries withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public FirstNEntries withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public FirstNEntries withLoggingType(LoggingType loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = Optional.ofNullable(loggingType); + return this; + } + + public FirstNEntries withLoggingType(Optional loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = loggingType; + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public FirstNEntries withMaxEntryCount(double maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = Optional.ofNullable(maxEntryCount); + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public FirstNEntries withMaxEntryCount(Optional maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = maxEntryCount; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FirstNEntries other = (FirstNEntries) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.loggingType, other.loggingType) && + Objects.deepEquals(this.maxEntryCount, other.maxEntryCount); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + loggingType, + maxEntryCount); + } + + @Override + public String toString() { + return Utils.toString(FirstNEntries.class, + "additionalProperties", additionalProperties, + "loggingType", loggingType, + "maxEntryCount", maxEntryCount); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Optional loggingType; + + private Optional maxEntryCount; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public Builder loggingType(LoggingType loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = Optional.ofNullable(loggingType); + return this; + } + + public Builder loggingType(Optional loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = loggingType; + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public Builder maxEntryCount(double maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = Optional.ofNullable(maxEntryCount); + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public Builder maxEntryCount(Optional maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = maxEntryCount; + return this; + } + + public FirstNEntries build() { + if (loggingType == null) { + loggingType = _SINGLETON_VALUE_LoggingType.value(); + } + if (maxEntryCount == null) { + maxEntryCount = _SINGLETON_VALUE_MaxEntryCount.value(); + } return new FirstNEntries( + loggingType, + maxEntryCount) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_LoggingType = + new LazySingletonValue<>( + "logging_type", + "\"FirstN\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_MaxEntryCount = + new LazySingletonValue<>( + "max_entry_count", + "100", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Flattening.java b/src/main/java/com/airbyte/api/models/shared/Flattening.java index 50ea0f3fc..8ee0448f7 100644 --- a/src/main/java/com/airbyte/api/models/shared/Flattening.java +++ b/src/main/java/com/airbyte/api/models/shared/Flattening.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Flattening - Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details. diff --git a/src/main/java/com/airbyte/api/models/shared/Fleetio.java b/src/main/java/com/airbyte/api/models/shared/Fleetio.java index c83889442..ce9b325e4 100644 --- a/src/main/java/com/airbyte/api/models/shared/Fleetio.java +++ b/src/main/java/com/airbyte/api/models/shared/Fleetio.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Fleetio { FLEETIO("fleetio"); diff --git a/src/main/java/com/airbyte/api/models/shared/Flexmail.java b/src/main/java/com/airbyte/api/models/shared/Flexmail.java new file mode 100644 index 000000000..e11a0a72b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Flexmail.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Flexmail { + FLEXMAIL("flexmail"); + + @JsonValue + private final String value; + + private Flexmail(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Flexport.java b/src/main/java/com/airbyte/api/models/shared/Flexport.java new file mode 100644 index 000000000..6948c8f4e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Flexport.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Flexport { + FLEXPORT("flexport"); + + @JsonValue + private final String value; + + private Flexport(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Float.java b/src/main/java/com/airbyte/api/models/shared/Float.java new file mode 100644 index 000000000..aa2ddef10 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Float.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Float { + FLOAT("float"); + + @JsonValue + private final String value; + + private Float(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Flowlu.java b/src/main/java/com/airbyte/api/models/shared/Flowlu.java new file mode 100644 index 000000000..8b4066be3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Flowlu.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Flowlu { + FLOWLU("flowlu"); + + @JsonValue + private final String value; + + private Flowlu(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Format.java b/src/main/java/com/airbyte/api/models/shared/Format.java index 39272ead5..bc3e5d44c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Format.java +++ b/src/main/java/com/airbyte/api/models/shared/Format.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * Format - The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -28,7 +25,7 @@ @JsonDeserialize(using = Format._Deserializer.class) public class Format { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private Format(TypedObject value) { @@ -63,11 +60,11 @@ public static Format of(DocumentFileTypeFormatExperimental value) { /** * Returns an instance of one of these types: *

      - *
    • {@code AvroFormat}
    • - *
    • {@code CSVFormat}
    • - *
    • {@code JsonlFormat}
    • - *
    • {@code ParquetFormat}
    • - *
    • {@code DocumentFileTypeFormatExperimental}
    • + *
    • {@code com.airbyte.api.models.shared.AvroFormat}
    • + *
    • {@code com.airbyte.api.models.shared.CSVFormat}
    • + *
    • {@code com.airbyte.api.models.shared.JsonlFormat}
    • + *
    • {@code com.airbyte.api.models.shared.ParquetFormat}
    • + *
    • {@code com.airbyte.api.models.shared.DocumentFileTypeFormatExperimental}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +91,24 @@ public boolean equals(java.lang.Object o) { return false; } Format other = (Format) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(Format.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(Format.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/FormatType.java b/src/main/java/com/airbyte/api/models/shared/FormatType.java index f561018d4..026e13a83 100644 --- a/src/main/java/com/airbyte/api/models/shared/FormatType.java +++ b/src/main/java/com/airbyte/api/models/shared/FormatType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum FormatType { CSV("CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/FormatTypeWildcard.java b/src/main/java/com/airbyte/api/models/shared/FormatTypeWildcard.java index c628c51c6..c798f3a6f 100644 --- a/src/main/java/com/airbyte/api/models/shared/FormatTypeWildcard.java +++ b/src/main/java/com/airbyte/api/models/shared/FormatTypeWildcard.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum FormatTypeWildcard { JSONL("JSONL"); diff --git a/src/main/java/com/airbyte/api/models/shared/Formbricks.java b/src/main/java/com/airbyte/api/models/shared/Formbricks.java new file mode 100644 index 000000000..4bf54c3c5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Formbricks.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Formbricks { + FORMBRICKS("formbricks"); + + @JsonValue + private final String value; + + private Formbricks(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/FreeAgentConnector.java b/src/main/java/com/airbyte/api/models/shared/FreeAgentConnector.java new file mode 100644 index 000000000..9009377fe --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/FreeAgentConnector.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum FreeAgentConnector { + FREE_AGENT_CONNECTOR("free-agent-connector"); + + @JsonValue + private final String value; + + private FreeAgentConnector(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Freightview.java b/src/main/java/com/airbyte/api/models/shared/Freightview.java new file mode 100644 index 000000000..22f515ac3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Freightview.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Freightview { + FREIGHTVIEW("freightview"); + + @JsonValue + private final String value; + + private Freightview(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Freshbooks.java b/src/main/java/com/airbyte/api/models/shared/Freshbooks.java new file mode 100644 index 000000000..83a2651f2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Freshbooks.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Freshbooks { + FRESHBOOKS("freshbooks"); + + @JsonValue + private final String value; + + private Freshbooks(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Freshcaller.java b/src/main/java/com/airbyte/api/models/shared/Freshcaller.java index 55de5c9db..29eed0029 100644 --- a/src/main/java/com/airbyte/api/models/shared/Freshcaller.java +++ b/src/main/java/com/airbyte/api/models/shared/Freshcaller.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Freshcaller { FRESHCALLER("freshcaller"); diff --git a/src/main/java/com/airbyte/api/models/shared/Freshchat.java b/src/main/java/com/airbyte/api/models/shared/Freshchat.java new file mode 100644 index 000000000..14a1c75d4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Freshchat.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Freshchat { + FRESHCHAT("freshchat"); + + @JsonValue + private final String value; + + private Freshchat(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Freshdesk.java b/src/main/java/com/airbyte/api/models/shared/Freshdesk.java index fcda1c816..4dd266455 100644 --- a/src/main/java/com/airbyte/api/models/shared/Freshdesk.java +++ b/src/main/java/com/airbyte/api/models/shared/Freshdesk.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Freshdesk { FRESHDESK("freshdesk"); diff --git a/src/main/java/com/airbyte/api/models/shared/Freshsales.java b/src/main/java/com/airbyte/api/models/shared/Freshsales.java index c3b2e259e..cc786211a 100644 --- a/src/main/java/com/airbyte/api/models/shared/Freshsales.java +++ b/src/main/java/com/airbyte/api/models/shared/Freshsales.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Freshsales { FRESHSALES("freshsales"); diff --git a/src/main/java/com/airbyte/api/models/shared/Freshservice.java b/src/main/java/com/airbyte/api/models/shared/Freshservice.java new file mode 100644 index 000000000..576601ec8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Freshservice.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Freshservice { + FRESHSERVICE("freshservice"); + + @JsonValue + private final String value; + + private Freshservice(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/FromCSV.java b/src/main/java/com/airbyte/api/models/shared/FromCSV.java index 22b7c0aea..d43672989 100644 --- a/src/main/java/com/airbyte/api/models/shared/FromCSV.java +++ b/src/main/java/com/airbyte/api/models/shared/FromCSV.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class FromCSV { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } FromCSV other = (FromCSV) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/FromField.java b/src/main/java/com/airbyte/api/models/shared/FromField.java index 4701ce1ef..7d9222283 100644 --- a/src/main/java/com/airbyte/api/models/shared/FromField.java +++ b/src/main/java/com/airbyte/api/models/shared/FromField.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * FromField - Use a field in the record as the embedding. This is useful if you already have an embedding for your data and want to store it in the vector store. */ @@ -105,14 +107,14 @@ public boolean equals(java.lang.Object o) { } FromField other = (FromField) o; return - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.fieldName, other.fieldName) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.fieldName, other.fieldName) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( dimensions, fieldName, mode); diff --git a/src/main/java/com/airbyte/api/models/shared/FromValue.java b/src/main/java/com/airbyte/api/models/shared/FromValue.java index 2125d70a6..89fd60b52 100644 --- a/src/main/java/com/airbyte/api/models/shared/FromValue.java +++ b/src/main/java/com/airbyte/api/models/shared/FromValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = FromValue._Deserializer.class) public class FromValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private FromValue(TypedObject value) { @@ -45,8 +42,8 @@ public static FromValue of(SourceGoogleAnalyticsDataApiDoubleValue value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } FromValue other = (FromValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(FromValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(FromValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Front.java b/src/main/java/com/airbyte/api/models/shared/Front.java index 3af77544d..f97a54144 100644 --- a/src/main/java/com/airbyte/api/models/shared/Front.java +++ b/src/main/java/com/airbyte/api/models/shared/Front.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Front { FRONT("front"); diff --git a/src/main/java/com/airbyte/api/models/shared/Fulcrum.java b/src/main/java/com/airbyte/api/models/shared/Fulcrum.java new file mode 100644 index 000000000..cb33e80ec --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Fulcrum.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Fulcrum { + FULCRUM("fulcrum"); + + @JsonValue + private final String value; + + private Fulcrum(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/GCSBucketRegion.java b/src/main/java/com/airbyte/api/models/shared/GCSBucketRegion.java index c78cd6211..cc1c86a3d 100644 --- a/src/main/java/com/airbyte/api/models/shared/GCSBucketRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/GCSBucketRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * GCSBucketRegion - Select a Region of the GCS Bucket. Read more <a href="https://cloud.google.com/storage/docs/locations">here</a>. diff --git a/src/main/java/com/airbyte/api/models/shared/GCSGoogleCloudStorage.java b/src/main/java/com/airbyte/api/models/shared/GCSGoogleCloudStorage.java index 3fe394576..2e05807fd 100644 --- a/src/main/java/com/airbyte/api/models/shared/GCSGoogleCloudStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/GCSGoogleCloudStorage.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class GCSGoogleCloudStorage { /** @@ -26,14 +26,14 @@ public class GCSGoogleCloudStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("service_account_json") - private Optional serviceAccountJson; + private Optional serviceAccountJson; @JsonProperty("storage") private SourceFileStorage storage; @JsonCreator public GCSGoogleCloudStorage( - @JsonProperty("service_account_json") Optional serviceAccountJson) { + @JsonProperty("service_account_json") Optional serviceAccountJson) { Utils.checkNotNull(serviceAccountJson, "serviceAccountJson"); this.serviceAccountJson = serviceAccountJson; this.storage = Builder._SINGLETON_VALUE_Storage.value(); @@ -46,10 +46,9 @@ public GCSGoogleCloudStorage() { /** * In order to access private Buckets stored on Google Cloud, this connector would need a service account json credentials with the proper permissions as described <a href="https://cloud.google.com/iam/docs/service-accounts" target="_blank">here</a>. Please generate the credentials.json file and copy/paste its content to this field (expecting JSON formats). If accessing publicly available data, this field is not necessary. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional serviceAccountJson() { - return (Optional) serviceAccountJson; + return serviceAccountJson; } @JsonIgnore @@ -73,7 +72,7 @@ public GCSGoogleCloudStorage withServiceAccountJson(String serviceAccountJson) { /** * In order to access private Buckets stored on Google Cloud, this connector would need a service account json credentials with the proper permissions as described <a href="https://cloud.google.com/iam/docs/service-accounts" target="_blank">here</a>. Please generate the credentials.json file and copy/paste its content to this field (expecting JSON formats). If accessing publicly available data, this field is not necessary. */ - public GCSGoogleCloudStorage withServiceAccountJson(Optional serviceAccountJson) { + public GCSGoogleCloudStorage withServiceAccountJson(Optional serviceAccountJson) { Utils.checkNotNull(serviceAccountJson, "serviceAccountJson"); this.serviceAccountJson = serviceAccountJson; return this; @@ -89,13 +88,13 @@ public boolean equals(java.lang.Object o) { } GCSGoogleCloudStorage other = (GCSGoogleCloudStorage) o; return - java.util.Objects.deepEquals(this.serviceAccountJson, other.serviceAccountJson) && - java.util.Objects.deepEquals(this.storage, other.storage); + Objects.deepEquals(this.serviceAccountJson, other.serviceAccountJson) && + Objects.deepEquals(this.storage, other.storage); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( serviceAccountJson, storage); } @@ -109,7 +108,7 @@ public String toString() { public final static class Builder { - private Optional serviceAccountJson = Optional.empty(); + private Optional serviceAccountJson = Optional.empty(); private Builder() { // force use of static builder() method @@ -127,7 +126,7 @@ public Builder serviceAccountJson(String serviceAccountJson) { /** * In order to access private Buckets stored on Google Cloud, this connector would need a service account json credentials with the proper permissions as described <a href="https://cloud.google.com/iam/docs/service-accounts" target="_blank">here</a>. Please generate the credentials.json file and copy/paste its content to this field (expecting JSON formats). If accessing publicly available data, this field is not necessary. */ - public Builder serviceAccountJson(Optional serviceAccountJson) { + public Builder serviceAccountJson(Optional serviceAccountJson) { Utils.checkNotNull(serviceAccountJson, "serviceAccountJson"); this.serviceAccountJson = serviceAccountJson; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/GCSStaging.java b/src/main/java/com/airbyte/api/models/shared/GCSStaging.java index 0a6b19c03..2779e28df 100644 --- a/src/main/java/com/airbyte/api/models/shared/GCSStaging.java +++ b/src/main/java/com/airbyte/api/models/shared/GCSStaging.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * GCSStaging - Writes large batches of records to a file, uploads the file to GCS, then uses COPY INTO to load your data into BigQuery. */ @@ -173,16 +174,16 @@ public boolean equals(java.lang.Object o) { } GCSStaging other = (GCSStaging) o; return - java.util.Objects.deepEquals(this.credential, other.credential) && - java.util.Objects.deepEquals(this.gcsBucketName, other.gcsBucketName) && - java.util.Objects.deepEquals(this.gcsBucketPath, other.gcsBucketPath) && - java.util.Objects.deepEquals(this.keepFilesInGcsBucket, other.keepFilesInGcsBucket) && - java.util.Objects.deepEquals(this.method, other.method); + Objects.deepEquals(this.credential, other.credential) && + Objects.deepEquals(this.gcsBucketName, other.gcsBucketName) && + Objects.deepEquals(this.gcsBucketPath, other.gcsBucketPath) && + Objects.deepEquals(this.keepFilesInGcsBucket, other.keepFilesInGcsBucket) && + Objects.deepEquals(this.method, other.method); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credential, gcsBucketName, gcsBucketPath, @@ -262,8 +263,7 @@ public Builder keepFilesInGcsBucket(Optional credentials; - private Gcs(String value) { - this.value = value; + @JsonCreator + public Gcs( + @JsonProperty("credentials") Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; } - public String value() { - return value; + public Gcs() { + this(Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional credentials() { + return (Optional) credentials; + } + + public final static Builder builder() { + return new Builder(); + } + + public Gcs withCredentials(GcsCredentials credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = Optional.ofNullable(credentials); + return this; + } + + public Gcs withCredentials(Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Gcs other = (Gcs) o; + return + Objects.deepEquals(this.credentials, other.credentials); + } + + @Override + public int hashCode() { + return Objects.hash( + credentials); + } + + @Override + public String toString() { + return Utils.toString(Gcs.class, + "credentials", credentials); + } + + public final static class Builder { + + private Optional credentials = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder credentials(GcsCredentials credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = Optional.ofNullable(credentials); + return this; + } + + public Builder credentials(Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + public Gcs build() { + return new Gcs( + credentials); + } } } + diff --git a/src/main/java/com/airbyte/api/models/shared/ZendeskSunshineCredentials.java b/src/main/java/com/airbyte/api/models/shared/GcsCredentials.java similarity index 55% rename from src/main/java/com/airbyte/api/models/shared/ZendeskSunshineCredentials.java rename to src/main/java/com/airbyte/api/models/shared/GcsCredentials.java index 4ba797a61..00632a3c2 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZendeskSunshineCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/GcsCredentials.java @@ -1,69 +1,66 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; -public class ZendeskSunshineCredentials { + +public class GcsCredentials { /** - * The Client ID of your OAuth application. + * Client ID */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** - * The Client Secret of your OAuth application. + * Client Secret */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator - public ZendeskSunshineCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + public GcsCredentials( + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; this.clientSecret = clientSecret; } - public ZendeskSunshineCredentials() { + public GcsCredentials() { this(Optional.empty(), Optional.empty()); } /** - * The Client ID of your OAuth application. + * Client ID */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** - * The Client Secret of your OAuth application. + * Client Secret */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -71,36 +68,36 @@ public final static Builder builder() { } /** - * The Client ID of your OAuth application. + * Client ID */ - public ZendeskSunshineCredentials withClientId(String clientId) { + public GcsCredentials withClientId(String clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = Optional.ofNullable(clientId); return this; } /** - * The Client ID of your OAuth application. + * Client ID */ - public ZendeskSunshineCredentials withClientId(Optional clientId) { + public GcsCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; } /** - * The Client Secret of your OAuth application. + * Client Secret */ - public ZendeskSunshineCredentials withClientSecret(String clientSecret) { + public GcsCredentials withClientSecret(String clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = Optional.ofNullable(clientSecret); return this; } /** - * The Client Secret of your OAuth application. + * Client Secret */ - public ZendeskSunshineCredentials withClientSecret(Optional clientSecret) { + public GcsCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -114,38 +111,38 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ZendeskSunshineCredentials other = (ZendeskSunshineCredentials) o; + GcsCredentials other = (GcsCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @Override public String toString() { - return Utils.toString(ZendeskSunshineCredentials.class, + return Utils.toString(GcsCredentials.class, "clientId", clientId, "clientSecret", clientSecret); } public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method } /** - * The Client ID of your OAuth application. + * Client ID */ public Builder clientId(String clientId) { Utils.checkNotNull(clientId, "clientId"); @@ -154,16 +151,16 @@ public Builder clientId(String clientId) { } /** - * The Client ID of your OAuth application. + * Client ID */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; } /** - * The Client Secret of your OAuth application. + * Client Secret */ public Builder clientSecret(String clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); @@ -172,16 +169,16 @@ public Builder clientSecret(String clientSecret) { } /** - * The Client Secret of your OAuth application. + * Client Secret */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; } - public ZendeskSunshineCredentials build() { - return new ZendeskSunshineCredentials( + public GcsCredentials build() { + return new GcsCredentials( clientId, clientSecret); } diff --git a/src/main/java/com/airbyte/api/models/shared/GeographyEnum.java b/src/main/java/com/airbyte/api/models/shared/GeographyEnum.java index 5d2eff7f4..5ff189688 100644 --- a/src/main/java/com/airbyte/api/models/shared/GeographyEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/GeographyEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum GeographyEnum { AUTO("auto"), diff --git a/src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java b/src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java index 21303fece..b3e75086c 100644 --- a/src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java +++ b/src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum GeographyEnumNoDefault { AUTO("auto"), diff --git a/src/main/java/com/airbyte/api/models/shared/Getgist.java b/src/main/java/com/airbyte/api/models/shared/Getgist.java new file mode 100644 index 000000000..e6dcfa81f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Getgist.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Getgist { + GETGIST("getgist"); + + @JsonValue + private final String value; + + private Getgist(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Getlago.java b/src/main/java/com/airbyte/api/models/shared/Getlago.java index 6f8d60d29..2c3a1e7cf 100644 --- a/src/main/java/com/airbyte/api/models/shared/Getlago.java +++ b/src/main/java/com/airbyte/api/models/shared/Getlago.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Getlago { GETLAGO("getlago"); diff --git a/src/main/java/com/airbyte/api/models/shared/Gitbook.java b/src/main/java/com/airbyte/api/models/shared/Gitbook.java new file mode 100644 index 000000000..a5e2b60ca --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Gitbook.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Gitbook { + GITBOOK("gitbook"); + + @JsonValue + private final String value; + + private Gitbook(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Github.java b/src/main/java/com/airbyte/api/models/shared/Github.java index cfc6776f9..f12671514 100644 --- a/src/main/java/com/airbyte/api/models/shared/Github.java +++ b/src/main/java/com/airbyte/api/models/shared/Github.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Github { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Github other = (Github) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/GithubCredentials.java b/src/main/java/com/airbyte/api/models/shared/GithubCredentials.java index 7a3357fdb..d58ba5ec8 100644 --- a/src/main/java/com/airbyte/api/models/shared/GithubCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/GithubCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class GithubCredentials { /** @@ -25,19 +24,19 @@ public class GithubCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * OAuth Client secret */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public GithubCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public GithubCredentials() { /** * OAuth Client Id */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * OAuth Client secret */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public GithubCredentials withClientId(String clientId) { /** * OAuth Client Id */ - public GithubCredentials withClientId(Optional clientId) { + public GithubCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public GithubCredentials withClientSecret(String clientSecret) { /** * OAuth Client secret */ - public GithubCredentials withClientSecret(Optional clientSecret) { + public GithubCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } GithubCredentials other = (GithubCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * OAuth Client Id */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * OAuth Client secret */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Gitlab.java b/src/main/java/com/airbyte/api/models/shared/Gitlab.java index 54a17ca59..4d3432f05 100644 --- a/src/main/java/com/airbyte/api/models/shared/Gitlab.java +++ b/src/main/java/com/airbyte/api/models/shared/Gitlab.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Gitlab { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Gitlab other = (Gitlab) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/GitlabCredentials.java b/src/main/java/com/airbyte/api/models/shared/GitlabCredentials.java index 5679c2a61..3e97f487a 100644 --- a/src/main/java/com/airbyte/api/models/shared/GitlabCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/GitlabCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class GitlabCredentials { /** @@ -25,19 +24,19 @@ public class GitlabCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The API Secret the Gitlab developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public GitlabCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public GitlabCredentials() { /** * The API ID of the Gitlab developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The API Secret the Gitlab developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public GitlabCredentials withClientId(String clientId) { /** * The API ID of the Gitlab developer application. */ - public GitlabCredentials withClientId(Optional clientId) { + public GitlabCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public GitlabCredentials withClientSecret(String clientSecret) { /** * The API Secret the Gitlab developer application. */ - public GitlabCredentials withClientSecret(Optional clientSecret) { + public GitlabCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } GitlabCredentials other = (GitlabCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The API ID of the Gitlab developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The API Secret the Gitlab developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Glassfrog.java b/src/main/java/com/airbyte/api/models/shared/Glassfrog.java index 7acc35b37..963b65d84 100644 --- a/src/main/java/com/airbyte/api/models/shared/Glassfrog.java +++ b/src/main/java/com/airbyte/api/models/shared/Glassfrog.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Glassfrog { GLASSFROG("glassfrog"); diff --git a/src/main/java/com/airbyte/api/models/shared/GlobalAccount.java b/src/main/java/com/airbyte/api/models/shared/GlobalAccount.java index 18762c135..51cdd019b 100644 --- a/src/main/java/com/airbyte/api/models/shared/GlobalAccount.java +++ b/src/main/java/com/airbyte/api/models/shared/GlobalAccount.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class GlobalAccount { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } GlobalAccount other = (GlobalAccount) o; return - java.util.Objects.deepEquals(this.urlBase, other.urlBase); + Objects.deepEquals(this.urlBase, other.urlBase); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( urlBase); } diff --git a/src/main/java/com/airbyte/api/models/shared/GlueCatalog.java b/src/main/java/com/airbyte/api/models/shared/GlueCatalog.java new file mode 100644 index 000000000..2c29fb7cd --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/GlueCatalog.java @@ -0,0 +1,193 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * GlueCatalog - The GlueCatalog connects to a AWS Glue Catalog + */ + +public class GlueCatalog { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("catalog_type") + private Optional catalogType; + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("database") + private Optional database; + + @JsonCreator + public GlueCatalog( + @JsonProperty("catalog_type") Optional catalogType, + @JsonProperty("database") Optional database) { + Utils.checkNotNull(catalogType, "catalogType"); + Utils.checkNotNull(database, "database"); + this.catalogType = catalogType; + this.database = database; + } + + public GlueCatalog() { + this(Optional.empty(), Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional catalogType() { + return (Optional) catalogType; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + @JsonIgnore + public Optional database() { + return database; + } + + public final static Builder builder() { + return new Builder(); + } + + public GlueCatalog withCatalogType(DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public GlueCatalog withCatalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + public GlueCatalog withDatabase(String database) { + Utils.checkNotNull(database, "database"); + this.database = Optional.ofNullable(database); + return this; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + public GlueCatalog withDatabase(Optional database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GlueCatalog other = (GlueCatalog) o; + return + Objects.deepEquals(this.catalogType, other.catalogType) && + Objects.deepEquals(this.database, other.database); + } + + @Override + public int hashCode() { + return Objects.hash( + catalogType, + database); + } + + @Override + public String toString() { + return Utils.toString(GlueCatalog.class, + "catalogType", catalogType, + "database", database); + } + + public final static class Builder { + + private Optional catalogType; + + private Optional database; + + private Builder() { + // force use of static builder() method + } + + public Builder catalogType(DestinationIcebergSchemasCatalogConfigIcebergCatalogConfigCatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public Builder catalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + public Builder database(String database) { + Utils.checkNotNull(database, "database"); + this.database = Optional.ofNullable(database); + return this; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + public Builder database(Optional database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + public GlueCatalog build() { + if (catalogType == null) { + catalogType = _SINGLETON_VALUE_CatalogType.value(); + } + if (database == null) { + database = _SINGLETON_VALUE_Database.value(); + } return new GlueCatalog( + catalogType, + database); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_CatalogType = + new LazySingletonValue<>( + "catalog_type", + "\"Glue\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Database = + new LazySingletonValue<>( + "database", + "\"public\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Gmail.java b/src/main/java/com/airbyte/api/models/shared/Gmail.java new file mode 100644 index 000000000..d7274ba7e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Gmail.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Gmail { + GMAIL("gmail"); + + @JsonValue + private final String value; + + private Gmail(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Gnews.java b/src/main/java/com/airbyte/api/models/shared/Gnews.java index d1d436383..6f49a98a8 100644 --- a/src/main/java/com/airbyte/api/models/shared/Gnews.java +++ b/src/main/java/com/airbyte/api/models/shared/Gnews.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Gnews { GNEWS("gnews"); diff --git a/src/main/java/com/airbyte/api/models/shared/GoCardlessAPIEnvironment.java b/src/main/java/com/airbyte/api/models/shared/GoCardlessAPIEnvironment.java new file mode 100644 index 000000000..08a42302b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/GoCardlessAPIEnvironment.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * GoCardlessAPIEnvironment - Environment you are trying to connect to. + */ +public enum GoCardlessAPIEnvironment { + SANDBOX("sandbox"), + LIVE("live"); + + @JsonValue + private final String value; + + private GoCardlessAPIEnvironment(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Gocardless.java b/src/main/java/com/airbyte/api/models/shared/Gocardless.java new file mode 100644 index 000000000..d8361377c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Gocardless.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Gocardless { + GOCARDLESS("gocardless"); + + @JsonValue + private final String value; + + private Gocardless(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Goldcast.java b/src/main/java/com/airbyte/api/models/shared/Goldcast.java index b6356eada..b135a4f1c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Goldcast.java +++ b/src/main/java/com/airbyte/api/models/shared/Goldcast.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Goldcast { GOLDCAST("goldcast"); diff --git a/src/main/java/com/airbyte/api/models/shared/Gong.java b/src/main/java/com/airbyte/api/models/shared/Gong.java new file mode 100644 index 000000000..68edab001 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Gong.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Gong { + GONG("gong"); + + @JsonValue + private final String value; + + private Gong(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleAds.java b/src/main/java/com/airbyte/api/models/shared/GoogleAds.java index c190d642e..9654498c1 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleAds.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleAds.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class GoogleAds { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } GoogleAds other = (GoogleAds) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleAdsCredentials.java b/src/main/java/com/airbyte/api/models/shared/GoogleAdsCredentials.java index a8afe51b1..1c6b2436a 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleAdsCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleAdsCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class GoogleAdsCredentials { /** @@ -25,27 +24,27 @@ public class GoogleAdsCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; /** * The Developer Token granted by Google to use their APIs. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("developer_token") - private Optional developerToken; + private Optional developerToken; @JsonCreator public GoogleAdsCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret, - @JsonProperty("developer_token") Optional developerToken) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret, + @JsonProperty("developer_token") Optional developerToken) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); Utils.checkNotNull(developerToken, "developerToken"); @@ -61,28 +60,25 @@ public GoogleAdsCredentials() { /** * The Client ID of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } /** * The Developer Token granted by Google to use their APIs. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional developerToken() { - return (Optional) developerToken; + return developerToken; } public final static Builder builder() { @@ -101,7 +97,7 @@ public GoogleAdsCredentials withClientId(String clientId) { /** * The Client ID of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public GoogleAdsCredentials withClientId(Optional clientId) { + public GoogleAdsCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -119,7 +115,7 @@ public GoogleAdsCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public GoogleAdsCredentials withClientSecret(Optional clientSecret) { + public GoogleAdsCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -137,7 +133,7 @@ public GoogleAdsCredentials withDeveloperToken(String developerToken) { /** * The Developer Token granted by Google to use their APIs. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public GoogleAdsCredentials withDeveloperToken(Optional developerToken) { + public GoogleAdsCredentials withDeveloperToken(Optional developerToken) { Utils.checkNotNull(developerToken, "developerToken"); this.developerToken = developerToken; return this; @@ -153,14 +149,14 @@ public boolean equals(java.lang.Object o) { } GoogleAdsCredentials other = (GoogleAdsCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.developerToken, other.developerToken); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.developerToken, other.developerToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, developerToken); @@ -176,11 +172,11 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); - private Optional developerToken = Optional.empty(); + private Optional developerToken = Optional.empty(); private Builder() { // force use of static builder() method @@ -198,7 +194,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -216,7 +212,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -234,7 +230,7 @@ public Builder developerToken(String developerToken) { /** * The Developer Token granted by Google to use their APIs. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public Builder developerToken(Optional developerToken) { + public Builder developerToken(Optional developerToken) { Utils.checkNotNull(developerToken, "developerToken"); this.developerToken = developerToken; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApi.java b/src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApi.java index 3a4d3fc53..f9d58a765 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApi.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApi.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class GoogleAnalyticsDataApi { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } GoogleAnalyticsDataApi other = (GoogleAnalyticsDataApi) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApiCredentials.java b/src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApiCredentials.java index 52933eaa7..5b578cf74 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApiCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleAnalyticsDataApiCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class GoogleAnalyticsDataApiCredentials { /** @@ -25,19 +24,19 @@ public class GoogleAnalyticsDataApiCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your Google Analytics developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public GoogleAnalyticsDataApiCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public GoogleAnalyticsDataApiCredentials() { /** * The Client ID of your Google Analytics developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your Google Analytics developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public GoogleAnalyticsDataApiCredentials withClientId(String clientId) { /** * The Client ID of your Google Analytics developer application. */ - public GoogleAnalyticsDataApiCredentials withClientId(Optional clientId) { + public GoogleAnalyticsDataApiCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public GoogleAnalyticsDataApiCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your Google Analytics developer application. */ - public GoogleAnalyticsDataApiCredentials withClientSecret(Optional clientSecret) { + public GoogleAnalyticsDataApiCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } GoogleAnalyticsDataApiCredentials other = (GoogleAnalyticsDataApiCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your Google Analytics developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Google Analytics developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleCalendar.java b/src/main/java/com/airbyte/api/models/shared/GoogleCalendar.java new file mode 100644 index 000000000..c04076bb4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/GoogleCalendar.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum GoogleCalendar { + GOOGLE_CALENDAR("google-calendar"); + + @JsonValue + private final String value; + + private GoogleCalendar(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleClassroom.java b/src/main/java/com/airbyte/api/models/shared/GoogleClassroom.java new file mode 100644 index 000000000..aff0af818 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/GoogleClassroom.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum GoogleClassroom { + GOOGLE_CLASSROOM("google-classroom"); + + @JsonValue + private final String value; + + private GoogleClassroom(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleCredentials.java b/src/main/java/com/airbyte/api/models/shared/GoogleCredentials.java index b9fb2aba7..fde6c4cc8 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class GoogleCredentials { /** @@ -25,7 +24,7 @@ public class GoogleCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_token") - private Optional accessToken; + private Optional accessToken; /** * The Client ID of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. @@ -53,7 +52,7 @@ public class GoogleCredentials { @JsonCreator public GoogleCredentials( - @JsonProperty("access_token") Optional accessToken, + @JsonProperty("access_token") Optional accessToken, @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, @JsonProperty("developer_token") String developerToken, @@ -81,10 +80,9 @@ public GoogleCredentials( /** * The Access Token for making authenticated requests. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessToken() { - return (Optional) accessToken; + return accessToken; } /** @@ -135,7 +133,7 @@ public GoogleCredentials withAccessToken(String accessToken) { /** * The Access Token for making authenticated requests. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public GoogleCredentials withAccessToken(Optional accessToken) { + public GoogleCredentials withAccessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -187,16 +185,16 @@ public boolean equals(java.lang.Object o) { } GoogleCredentials other = (GoogleCredentials) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.developerToken, other.developerToken) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.developerToken, other.developerToken) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, clientId, clientSecret, @@ -216,7 +214,7 @@ public String toString() { public final static class Builder { - private Optional accessToken = Optional.empty(); + private Optional accessToken = Optional.empty(); private String clientId; @@ -242,7 +240,7 @@ public Builder accessToken(String accessToken) { /** * The Access Token for making authenticated requests. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public Builder accessToken(Optional accessToken) { + public Builder accessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleDirectory.java b/src/main/java/com/airbyte/api/models/shared/GoogleDirectory.java index c1857e37a..96d4190d5 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleDirectory.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleDirectory.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum GoogleDirectory { GOOGLE_DIRECTORY("google-directory"); diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleDrive.java b/src/main/java/com/airbyte/api/models/shared/GoogleDrive.java index 1615ba065..2e592b0d6 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleDrive.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleDrive.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class GoogleDrive { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } GoogleDrive other = (GoogleDrive) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleDriveCredentials.java b/src/main/java/com/airbyte/api/models/shared/GoogleDriveCredentials.java index c4b5dde8e..c15a56e67 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleDriveCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleDriveCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class GoogleDriveCredentials { /** @@ -25,19 +24,19 @@ public class GoogleDriveCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Client Secret for the Google Drive API */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public GoogleDriveCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public GoogleDriveCredentials() { /** * Client ID for the Google Drive API */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Client Secret for the Google Drive API */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public GoogleDriveCredentials withClientId(String clientId) { /** * Client ID for the Google Drive API */ - public GoogleDriveCredentials withClientId(Optional clientId) { + public GoogleDriveCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public GoogleDriveCredentials withClientSecret(String clientSecret) { /** * Client Secret for the Google Drive API */ - public GoogleDriveCredentials withClientSecret(Optional clientSecret) { + public GoogleDriveCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } GoogleDriveCredentials other = (GoogleDriveCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * Client ID for the Google Drive API */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * Client Secret for the Google Drive API */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleForms.java b/src/main/java/com/airbyte/api/models/shared/GoogleForms.java new file mode 100644 index 000000000..6f8ec4803 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/GoogleForms.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum GoogleForms { + GOOGLE_FORMS("google-forms"); + + @JsonValue + private final String value; + + private GoogleForms(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/GooglePagespeedInsights.java b/src/main/java/com/airbyte/api/models/shared/GooglePagespeedInsights.java index 74dbbaf0d..d0844a30d 100644 --- a/src/main/java/com/airbyte/api/models/shared/GooglePagespeedInsights.java +++ b/src/main/java/com/airbyte/api/models/shared/GooglePagespeedInsights.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum GooglePagespeedInsights { GOOGLE_PAGESPEED_INSIGHTS("google-pagespeed-insights"); diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleSearchConsole.java b/src/main/java/com/airbyte/api/models/shared/GoogleSearchConsole.java index 94c02f347..449b6b1bd 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleSearchConsole.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleSearchConsole.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class GoogleSearchConsole { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } GoogleSearchConsole other = (GoogleSearchConsole) o; return - java.util.Objects.deepEquals(this.authorization, other.authorization); + Objects.deepEquals(this.authorization, other.authorization); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authorization); } diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleSheets.java b/src/main/java/com/airbyte/api/models/shared/GoogleSheets.java index cf0269aaf..270f5a27f 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleSheets.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleSheets.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class GoogleSheets { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } GoogleSheets other = (GoogleSheets) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleSheetsCredentials.java b/src/main/java/com/airbyte/api/models/shared/GoogleSheetsCredentials.java index 2d06efd00..065d76c67 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleSheetsCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleSheetsCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class GoogleSheetsCredentials { /** @@ -25,19 +24,19 @@ public class GoogleSheetsCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Enter your Google application's Client Secret. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public GoogleSheetsCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public GoogleSheetsCredentials() { /** * Enter your Google application's Client ID. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Enter your Google application's Client Secret. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public GoogleSheetsCredentials withClientId(String clientId) { /** * Enter your Google application's Client ID. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information. */ - public GoogleSheetsCredentials withClientId(Optional clientId) { + public GoogleSheetsCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public GoogleSheetsCredentials withClientSecret(String clientSecret) { /** * Enter your Google application's Client Secret. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information. */ - public GoogleSheetsCredentials withClientSecret(Optional clientSecret) { + public GoogleSheetsCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } GoogleSheetsCredentials other = (GoogleSheetsCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * Enter your Google application's Client ID. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * Enter your Google application's Client Secret. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleTasks.java b/src/main/java/com/airbyte/api/models/shared/GoogleTasks.java index 3e196a92c..5889fa644 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleTasks.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleTasks.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum GoogleTasks { GOOGLE_TASKS("google-tasks"); diff --git a/src/main/java/com/airbyte/api/models/shared/GoogleWebfonts.java b/src/main/java/com/airbyte/api/models/shared/GoogleWebfonts.java index d6ce75303..e5b0cded9 100644 --- a/src/main/java/com/airbyte/api/models/shared/GoogleWebfonts.java +++ b/src/main/java/com/airbyte/api/models/shared/GoogleWebfonts.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum GoogleWebfonts { GOOGLE_WEBFONTS("google-webfonts"); diff --git a/src/main/java/com/airbyte/api/models/shared/Gorgias.java b/src/main/java/com/airbyte/api/models/shared/Gorgias.java new file mode 100644 index 000000000..ba4ac94a9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Gorgias.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Gorgias { + GORGIAS("gorgias"); + + @JsonValue + private final String value; + + private Gorgias(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Granularity.java b/src/main/java/com/airbyte/api/models/shared/Granularity.java index eb72008e0..e44be225c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Granularity.java +++ b/src/main/java/com/airbyte/api/models/shared/Granularity.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Granularity - Chosen granularity for API diff --git a/src/main/java/com/airbyte/api/models/shared/GranularityForGeoLocationRegion.java b/src/main/java/com/airbyte/api/models/shared/GranularityForGeoLocationRegion.java index 73c35ff8f..29672677d 100644 --- a/src/main/java/com/airbyte/api/models/shared/GranularityForGeoLocationRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/GranularityForGeoLocationRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * GranularityForGeoLocationRegion - The granularity used for geo location data in reports. diff --git a/src/main/java/com/airbyte/api/models/shared/GranularityForPeriodicReports.java b/src/main/java/com/airbyte/api/models/shared/GranularityForPeriodicReports.java index e72ccf9c1..87125220c 100644 --- a/src/main/java/com/airbyte/api/models/shared/GranularityForPeriodicReports.java +++ b/src/main/java/com/airbyte/api/models/shared/GranularityForPeriodicReports.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * GranularityForPeriodicReports - The granularity used for periodic data in reports. See <a href="https://amplifyv01.docs.apiary.io/#reference/performance-reporting/periodic/retrieve-performance-statistics-for-all-marketer-campaigns-by-periodic-breakdown">the docs</a>. diff --git a/src/main/java/com/airbyte/api/models/shared/Greenhouse.java b/src/main/java/com/airbyte/api/models/shared/Greenhouse.java index 3645a2f62..c91b1b180 100644 --- a/src/main/java/com/airbyte/api/models/shared/Greenhouse.java +++ b/src/main/java/com/airbyte/api/models/shared/Greenhouse.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Greenhouse { GREENHOUSE("greenhouse"); diff --git a/src/main/java/com/airbyte/api/models/shared/Gridly.java b/src/main/java/com/airbyte/api/models/shared/Gridly.java index 52037d36e..8e53c8b49 100644 --- a/src/main/java/com/airbyte/api/models/shared/Gridly.java +++ b/src/main/java/com/airbyte/api/models/shared/Gridly.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Gridly { GRIDLY("gridly"); diff --git a/src/main/java/com/airbyte/api/models/shared/GroupBy.java b/src/main/java/com/airbyte/api/models/shared/GroupBy.java index 795a05744..18cf56acb 100644 --- a/src/main/java/com/airbyte/api/models/shared/GroupBy.java +++ b/src/main/java/com/airbyte/api/models/shared/GroupBy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * GroupBy - Category term for grouping the search results diff --git a/src/main/java/com/airbyte/api/models/shared/Guru.java b/src/main/java/com/airbyte/api/models/shared/Guru.java index 760228d7c..c7cea2ba4 100644 --- a/src/main/java/com/airbyte/api/models/shared/Guru.java +++ b/src/main/java/com/airbyte/api/models/shared/Guru.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Guru { GURU("guru"); diff --git a/src/main/java/com/airbyte/api/models/shared/Gutendex.java b/src/main/java/com/airbyte/api/models/shared/Gutendex.java new file mode 100644 index 000000000..10fc39c90 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Gutendex.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Gutendex { + GUTENDEX("gutendex"); + + @JsonValue + private final String value; + + private Gutendex(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Gzip.java b/src/main/java/com/airbyte/api/models/shared/Gzip.java index 34df3a9cb..b2c32434d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Gzip.java +++ b/src/main/java/com/airbyte/api/models/shared/Gzip.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Gzip { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } Gzip other = (Gzip) o; return - java.util.Objects.deepEquals(this.compressionType, other.compressionType); + Objects.deepEquals(this.compressionType, other.compressionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionType); } @@ -106,8 +107,7 @@ public Builder compressionType(Optional public Gzip build() { if (compressionType == null) { compressionType = _SINGLETON_VALUE_CompressionType.value(); - } - return new Gzip( + } return new Gzip( compressionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/HMACKey.java b/src/main/java/com/airbyte/api/models/shared/HMACKey.java index e7a6bdcdd..61e76e073 100644 --- a/src/main/java/com/airbyte/api/models/shared/HMACKey.java +++ b/src/main/java/com/airbyte/api/models/shared/HMACKey.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class HMACKey { @JsonInclude(Include.NON_ABSENT) @@ -122,14 +123,14 @@ public boolean equals(java.lang.Object o) { } HMACKey other = (HMACKey) o; return - java.util.Objects.deepEquals(this.credentialType, other.credentialType) && - java.util.Objects.deepEquals(this.hmacKeyAccessId, other.hmacKeyAccessId) && - java.util.Objects.deepEquals(this.hmacKeySecret, other.hmacKeySecret); + Objects.deepEquals(this.credentialType, other.credentialType) && + Objects.deepEquals(this.hmacKeyAccessId, other.hmacKeyAccessId) && + Objects.deepEquals(this.hmacKeySecret, other.hmacKeySecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentialType, hmacKeyAccessId, hmacKeySecret); @@ -188,8 +189,7 @@ public Builder hmacKeySecret(String hmacKeySecret) { public HMACKey build() { if (credentialType == null) { credentialType = _SINGLETON_VALUE_CredentialType.value(); - } - return new HMACKey( + } return new HMACKey( credentialType, hmacKeyAccessId, hmacKeySecret); diff --git a/src/main/java/com/airbyte/api/models/shared/HTTPSPublicWeb.java b/src/main/java/com/airbyte/api/models/shared/HTTPSPublicWeb.java index 22a75c6d0..abfba200b 100644 --- a/src/main/java/com/airbyte/api/models/shared/HTTPSPublicWeb.java +++ b/src/main/java/com/airbyte/api/models/shared/HTTPSPublicWeb.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class HTTPSPublicWeb { @JsonProperty("storage") @@ -29,11 +30,11 @@ public class HTTPSPublicWeb { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("user_agent") - private Optional userAgent; + private Optional userAgent; @JsonCreator public HTTPSPublicWeb( - @JsonProperty("user_agent") Optional userAgent) { + @JsonProperty("user_agent") Optional userAgent) { Utils.checkNotNull(userAgent, "userAgent"); this.storage = Builder._SINGLETON_VALUE_Storage.value(); this.userAgent = userAgent; @@ -51,10 +52,9 @@ public Storage storage() { /** * Add User-Agent to request */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional userAgent() { - return (Optional) userAgent; + return userAgent; } public final static Builder builder() { @@ -73,7 +73,7 @@ public HTTPSPublicWeb withUserAgent(boolean userAgent) { /** * Add User-Agent to request */ - public HTTPSPublicWeb withUserAgent(Optional userAgent) { + public HTTPSPublicWeb withUserAgent(Optional userAgent) { Utils.checkNotNull(userAgent, "userAgent"); this.userAgent = userAgent; return this; @@ -89,13 +89,13 @@ public boolean equals(java.lang.Object o) { } HTTPSPublicWeb other = (HTTPSPublicWeb) o; return - java.util.Objects.deepEquals(this.storage, other.storage) && - java.util.Objects.deepEquals(this.userAgent, other.userAgent); + Objects.deepEquals(this.storage, other.storage) && + Objects.deepEquals(this.userAgent, other.userAgent); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( storage, userAgent); } @@ -109,7 +109,7 @@ public String toString() { public final static class Builder { - private Optional userAgent; + private Optional userAgent; private Builder() { // force use of static builder() method @@ -127,7 +127,7 @@ public Builder userAgent(boolean userAgent) { /** * Add User-Agent to request */ - public Builder userAgent(Optional userAgent) { + public Builder userAgent(Optional userAgent) { Utils.checkNotNull(userAgent, "userAgent"); this.userAgent = userAgent; return this; @@ -136,8 +136,7 @@ public Builder userAgent(Optional userAgent) { public HTTPSPublicWeb build() { if (userAgent == null) { userAgent = _SINGLETON_VALUE_UserAgent.value(); - } - return new HTTPSPublicWeb( + } return new HTTPSPublicWeb( userAgent); } @@ -147,11 +146,11 @@ public HTTPSPublicWeb build() { "\"HTTPS\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_UserAgent = + private static final LazySingletonValue> _SINGLETON_VALUE_UserAgent = new LazySingletonValue<>( "user_agent", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.java b/src/main/java/com/airbyte/api/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.java new file mode 100644 index 000000000..27191f4ad --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.java @@ -0,0 +1,193 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig - A Hadoop catalog doesn’t need to connect to a Hive MetaStore, but can only be used with HDFS or similar file systems that support atomic rename. + */ + +public class HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("catalog_type") + private Optional catalogType; + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("database") + private Optional database; + + @JsonCreator + public HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig( + @JsonProperty("catalog_type") Optional catalogType, + @JsonProperty("database") Optional database) { + Utils.checkNotNull(catalogType, "catalogType"); + Utils.checkNotNull(database, "database"); + this.catalogType = catalogType; + this.database = database; + } + + public HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig() { + this(Optional.empty(), Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional catalogType() { + return (Optional) catalogType; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + @JsonIgnore + public Optional database() { + return database; + } + + public final static Builder builder() { + return new Builder(); + } + + public HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig withCatalogType(DestinationIcebergCatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig withCatalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + public HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig withDatabase(String database) { + Utils.checkNotNull(database, "database"); + this.database = Optional.ofNullable(database); + return this; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + public HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig withDatabase(Optional database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig other = (HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig) o; + return + Objects.deepEquals(this.catalogType, other.catalogType) && + Objects.deepEquals(this.database, other.database); + } + + @Override + public int hashCode() { + return Objects.hash( + catalogType, + database); + } + + @Override + public String toString() { + return Utils.toString(HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig.class, + "catalogType", catalogType, + "database", database); + } + + public final static class Builder { + + private Optional catalogType; + + private Optional database; + + private Builder() { + // force use of static builder() method + } + + public Builder catalogType(DestinationIcebergCatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public Builder catalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + public Builder database(String database) { + Utils.checkNotNull(database, "database"); + this.database = Optional.ofNullable(database); + return this; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + public Builder database(Optional database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + public HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig build() { + if (catalogType == null) { + catalogType = _SINGLETON_VALUE_CatalogType.value(); + } + if (database == null) { + database = _SINGLETON_VALUE_Database.value(); + } return new HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig( + catalogType, + database); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_CatalogType = + new LazySingletonValue<>( + "catalog_type", + "\"Hadoop\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Database = + new LazySingletonValue<>( + "database", + "\"default\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/HardcodedRecords.java b/src/main/java/com/airbyte/api/models/shared/HardcodedRecords.java index f1f4895df..2cb48a425 100644 --- a/src/main/java/com/airbyte/api/models/shared/HardcodedRecords.java +++ b/src/main/java/com/airbyte/api/models/shared/HardcodedRecords.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum HardcodedRecords { HARDCODED_RECORDS("hardcoded-records"); diff --git a/src/main/java/com/airbyte/api/models/shared/Harvest.java b/src/main/java/com/airbyte/api/models/shared/Harvest.java index 2175c59a3..a3021e226 100644 --- a/src/main/java/com/airbyte/api/models/shared/Harvest.java +++ b/src/main/java/com/airbyte/api/models/shared/Harvest.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Harvest { HARVEST("harvest"); diff --git a/src/main/java/com/airbyte/api/models/shared/Header.java b/src/main/java/com/airbyte/api/models/shared/Header.java index 052640c8c..faa332a5e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Header.java +++ b/src/main/java/com/airbyte/api/models/shared/Header.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class Header { @@ -69,13 +68,13 @@ public boolean equals(java.lang.Object o) { } Header other = (Header) o; return - java.util.Objects.deepEquals(this.headerKey, other.headerKey) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.headerKey, other.headerKey) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerKey, value); } diff --git a/src/main/java/com/airbyte/api/models/shared/HeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/HeaderDefinitionType.java index 0d63764ac..f17b45f93 100644 --- a/src/main/java/com/airbyte/api/models/shared/HeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/HeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum HeaderDefinitionType { FROM_CSV("From CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/Height.java b/src/main/java/com/airbyte/api/models/shared/Height.java index 1521ea098..7e5f7289b 100644 --- a/src/main/java/com/airbyte/api/models/shared/Height.java +++ b/src/main/java/com/airbyte/api/models/shared/Height.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Height { HEIGHT("height"); diff --git a/src/main/java/com/airbyte/api/models/shared/Hibob.java b/src/main/java/com/airbyte/api/models/shared/Hibob.java index 1dc64fc63..d7a201476 100644 --- a/src/main/java/com/airbyte/api/models/shared/Hibob.java +++ b/src/main/java/com/airbyte/api/models/shared/Hibob.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Hibob { HIBOB("hibob"); diff --git a/src/main/java/com/airbyte/api/models/shared/HighLevel.java b/src/main/java/com/airbyte/api/models/shared/HighLevel.java index 0439346b9..7a3db7e05 100644 --- a/src/main/java/com/airbyte/api/models/shared/HighLevel.java +++ b/src/main/java/com/airbyte/api/models/shared/HighLevel.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum HighLevel { HIGH_LEVEL("high-level"); diff --git a/src/main/java/com/airbyte/api/models/shared/HiveCatalogUseApacheHiveMetaStore.java b/src/main/java/com/airbyte/api/models/shared/HiveCatalogUseApacheHiveMetaStore.java new file mode 100644 index 000000000..373f01b1d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/HiveCatalogUseApacheHiveMetaStore.java @@ -0,0 +1,232 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class HiveCatalogUseApacheHiveMetaStore { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("catalog_type") + private Optional catalogType; + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("database") + private Optional database; + + /** + * Hive MetaStore thrift server uri of iceberg catalog. + */ + @JsonProperty("hive_thrift_uri") + private String hiveThriftUri; + + @JsonCreator + public HiveCatalogUseApacheHiveMetaStore( + @JsonProperty("catalog_type") Optional catalogType, + @JsonProperty("database") Optional database, + @JsonProperty("hive_thrift_uri") String hiveThriftUri) { + Utils.checkNotNull(catalogType, "catalogType"); + Utils.checkNotNull(database, "database"); + Utils.checkNotNull(hiveThriftUri, "hiveThriftUri"); + this.catalogType = catalogType; + this.database = database; + this.hiveThriftUri = hiveThriftUri; + } + + public HiveCatalogUseApacheHiveMetaStore( + String hiveThriftUri) { + this(Optional.empty(), Optional.empty(), hiveThriftUri); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional catalogType() { + return (Optional) catalogType; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + @JsonIgnore + public Optional database() { + return database; + } + + /** + * Hive MetaStore thrift server uri of iceberg catalog. + */ + @JsonIgnore + public String hiveThriftUri() { + return hiveThriftUri; + } + + public final static Builder builder() { + return new Builder(); + } + + public HiveCatalogUseApacheHiveMetaStore withCatalogType(CatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public HiveCatalogUseApacheHiveMetaStore withCatalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + public HiveCatalogUseApacheHiveMetaStore withDatabase(String database) { + Utils.checkNotNull(database, "database"); + this.database = Optional.ofNullable(database); + return this; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + public HiveCatalogUseApacheHiveMetaStore withDatabase(Optional database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + /** + * Hive MetaStore thrift server uri of iceberg catalog. + */ + public HiveCatalogUseApacheHiveMetaStore withHiveThriftUri(String hiveThriftUri) { + Utils.checkNotNull(hiveThriftUri, "hiveThriftUri"); + this.hiveThriftUri = hiveThriftUri; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + HiveCatalogUseApacheHiveMetaStore other = (HiveCatalogUseApacheHiveMetaStore) o; + return + Objects.deepEquals(this.catalogType, other.catalogType) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.hiveThriftUri, other.hiveThriftUri); + } + + @Override + public int hashCode() { + return Objects.hash( + catalogType, + database, + hiveThriftUri); + } + + @Override + public String toString() { + return Utils.toString(HiveCatalogUseApacheHiveMetaStore.class, + "catalogType", catalogType, + "database", database, + "hiveThriftUri", hiveThriftUri); + } + + public final static class Builder { + + private Optional catalogType; + + private Optional database; + + private String hiveThriftUri; + + private Builder() { + // force use of static builder() method + } + + public Builder catalogType(CatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public Builder catalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + public Builder database(String database) { + Utils.checkNotNull(database, "database"); + this.database = Optional.ofNullable(database); + return this; + } + + /** + * The default database tables are written to if the source does not specify a namespace. The usual value for this field is "default". + */ + public Builder database(Optional database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + /** + * Hive MetaStore thrift server uri of iceberg catalog. + */ + public Builder hiveThriftUri(String hiveThriftUri) { + Utils.checkNotNull(hiveThriftUri, "hiveThriftUri"); + this.hiveThriftUri = hiveThriftUri; + return this; + } + + public HiveCatalogUseApacheHiveMetaStore build() { + if (catalogType == null) { + catalogType = _SINGLETON_VALUE_CatalogType.value(); + } + if (database == null) { + database = _SINGLETON_VALUE_Database.value(); + } return new HiveCatalogUseApacheHiveMetaStore( + catalogType, + database, + hiveThriftUri); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_CatalogType = + new LazySingletonValue<>( + "catalog_type", + "\"Hive\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Database = + new LazySingletonValue<>( + "database", + "\"default\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Hubplanner.java b/src/main/java/com/airbyte/api/models/shared/Hubplanner.java index 9d578ada9..b94613de4 100644 --- a/src/main/java/com/airbyte/api/models/shared/Hubplanner.java +++ b/src/main/java/com/airbyte/api/models/shared/Hubplanner.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Hubplanner { HUBPLANNER("hubplanner"); diff --git a/src/main/java/com/airbyte/api/models/shared/Hubspot.java b/src/main/java/com/airbyte/api/models/shared/Hubspot.java index a057b7f91..17b82d2f9 100644 --- a/src/main/java/com/airbyte/api/models/shared/Hubspot.java +++ b/src/main/java/com/airbyte/api/models/shared/Hubspot.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Hubspot { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Hubspot other = (Hubspot) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/HubspotCredentials.java b/src/main/java/com/airbyte/api/models/shared/HubspotCredentials.java index 2cdad3c89..d7374ace1 100644 --- a/src/main/java/com/airbyte/api/models/shared/HubspotCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/HubspotCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class HubspotCredentials { /** @@ -25,19 +24,19 @@ public class HubspotCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The client secret for your HubSpot developer application. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this secret. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public HubspotCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public HubspotCredentials() { /** * The Client ID of your HubSpot developer application. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this ID. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The client secret for your HubSpot developer application. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this secret. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public HubspotCredentials withClientId(String clientId) { /** * The Client ID of your HubSpot developer application. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this ID. */ - public HubspotCredentials withClientId(Optional clientId) { + public HubspotCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public HubspotCredentials withClientSecret(String clientSecret) { /** * The client secret for your HubSpot developer application. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this secret. */ - public HubspotCredentials withClientSecret(Optional clientSecret) { + public HubspotCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } HubspotCredentials other = (HubspotCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your HubSpot developer application. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this ID. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The client secret for your HubSpot developer application. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this secret. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Humanitix.java b/src/main/java/com/airbyte/api/models/shared/Humanitix.java new file mode 100644 index 000000000..4a2ab742e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Humanitix.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Humanitix { + HUMANITIX("humanitix"); + + @JsonValue + private final String value; + + private Humanitix(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/IAMRole.java b/src/main/java/com/airbyte/api/models/shared/IAMRole.java index 53a796285..c5ed6dfe9 100644 --- a/src/main/java/com/airbyte/api/models/shared/IAMRole.java +++ b/src/main/java/com/airbyte/api/models/shared/IAMRole.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class IAMRole { /** @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } IAMRole other = (IAMRole) o; return - java.util.Objects.deepEquals(this.credentialsTitle, other.credentialsTitle) && - java.util.Objects.deepEquals(this.roleArn, other.roleArn); + Objects.deepEquals(this.credentialsTitle, other.credentialsTitle) && + Objects.deepEquals(this.roleArn, other.roleArn); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentialsTitle, roleArn); } diff --git a/src/main/java/com/airbyte/api/models/shared/IAMUser.java b/src/main/java/com/airbyte/api/models/shared/IAMUser.java index c3de434ce..da5c96ce8 100644 --- a/src/main/java/com/airbyte/api/models/shared/IAMUser.java +++ b/src/main/java/com/airbyte/api/models/shared/IAMUser.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class IAMUser { /** @@ -108,14 +109,14 @@ public boolean equals(java.lang.Object o) { } IAMUser other = (IAMUser) o; return - java.util.Objects.deepEquals(this.awsAccessKeyId, other.awsAccessKeyId) && - java.util.Objects.deepEquals(this.awsSecretAccessKey, other.awsSecretAccessKey) && - java.util.Objects.deepEquals(this.credentialsTitle, other.credentialsTitle); + Objects.deepEquals(this.awsAccessKeyId, other.awsAccessKeyId) && + Objects.deepEquals(this.awsSecretAccessKey, other.awsSecretAccessKey) && + Objects.deepEquals(this.credentialsTitle, other.credentialsTitle); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( awsAccessKeyId, awsSecretAccessKey, credentialsTitle); diff --git a/src/main/java/com/airbyte/api/models/shared/Iceberg.java b/src/main/java/com/airbyte/api/models/shared/Iceberg.java new file mode 100644 index 000000000..2969b6a8d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Iceberg.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Iceberg { + ICEBERG("iceberg"); + + @JsonValue + private final String value; + + private Iceberg(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/IcebergCatalogConfig.java b/src/main/java/com/airbyte/api/models/shared/IcebergCatalogConfig.java new file mode 100644 index 000000000..4e426e5cc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/IcebergCatalogConfig.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * IcebergCatalogConfig - Catalog config of Iceberg. + */ + +@JsonDeserialize(using = IcebergCatalogConfig._Deserializer.class) +public class IcebergCatalogConfig { + + @JsonValue + private TypedObject value; + + private IcebergCatalogConfig(TypedObject value) { + this.value = value; + } + + public static IcebergCatalogConfig of(HiveCatalogUseApacheHiveMetaStore value) { + Utils.checkNotNull(value, "value"); + return new IcebergCatalogConfig(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static IcebergCatalogConfig of(HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig value) { + Utils.checkNotNull(value, "value"); + return new IcebergCatalogConfig(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static IcebergCatalogConfig of(JdbcCatalogUseRelationalDatabase value) { + Utils.checkNotNull(value, "value"); + return new IcebergCatalogConfig(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static IcebergCatalogConfig of(RESTCatalog value) { + Utils.checkNotNull(value, "value"); + return new IcebergCatalogConfig(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static IcebergCatalogConfig of(GlueCatalog value) { + Utils.checkNotNull(value, "value"); + return new IcebergCatalogConfig(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.HiveCatalogUseApacheHiveMetaStore}
    • + *
    • {@code com.airbyte.api.models.shared.HadoopCatalogUseHierarchicalFileSystemsAsSameAsStorageConfig}
    • + *
    • {@code com.airbyte.api.models.shared.JdbcCatalogUseRelationalDatabase}
    • + *
    • {@code com.airbyte.api.models.shared.RESTCatalog}
    • + *
    • {@code com.airbyte.api.models.shared.GlueCatalog}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IcebergCatalogConfig other = (IcebergCatalogConfig) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(IcebergCatalogConfig.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(IcebergCatalogConfig.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/IlluminaBasespace.java b/src/main/java/com/airbyte/api/models/shared/IlluminaBasespace.java new file mode 100644 index 000000000..478a9c7bc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/IlluminaBasespace.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum IlluminaBasespace { + ILLUMINA_BASESPACE("illumina-basespace"); + + @JsonValue + private final String value; + + private IlluminaBasespace(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/In.java b/src/main/java/com/airbyte/api/models/shared/In.java index 79a427f28..eff08fc6f 100644 --- a/src/main/java/com/airbyte/api/models/shared/In.java +++ b/src/main/java/com/airbyte/api/models/shared/In.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum In { TITLE("title"), diff --git a/src/main/java/com/airbyte/api/models/shared/InListFilter.java b/src/main/java/com/airbyte/api/models/shared/InListFilter.java index 76affe8b7..3536b0424 100644 --- a/src/main/java/com/airbyte/api/models/shared/InListFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/InListFilter.java @@ -1,40 +1,42 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class InListFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiFilterName filterName; @JsonProperty("values") - private java.util.List values; + private List values; @JsonCreator public InListFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("values") java.util.List values) { + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("values") List values) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(values, "values"); this.caseSensitive = caseSensitive; @@ -43,14 +45,13 @@ public InListFilter( } public InListFilter( - java.util.List values) { + List values) { this(Optional.empty(), values); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -59,7 +60,7 @@ public SourceGoogleAnalyticsDataApiFilterName filterName() { } @JsonIgnore - public java.util.List values() { + public List values() { return values; } @@ -73,13 +74,13 @@ public InListFilter withCaseSensitive(boolean caseSensitive) { return this; } - public InListFilter withCaseSensitive(Optional caseSensitive) { + public InListFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public InListFilter withValues(java.util.List values) { + public InListFilter withValues(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; @@ -95,14 +96,14 @@ public boolean equals(java.lang.Object o) { } InListFilter other = (InListFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.values, other.values); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.values, other.values); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, values); @@ -118,9 +119,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private java.util.List values; + private List values; private Builder() { // force use of static builder() method @@ -132,13 +133,13 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder values(java.util.List values) { + public Builder values(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/IncidentIo.java b/src/main/java/com/airbyte/api/models/shared/IncidentIo.java new file mode 100644 index 000000000..6d687327f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/IncidentIo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum IncidentIo { + INCIDENT_IO("incident-io"); + + @JsonValue + private final String value; + + private IncidentIo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Indexing.java b/src/main/java/com/airbyte/api/models/shared/Indexing.java index 82350d0c7..1494d7f9a 100644 --- a/src/main/java/com/airbyte/api/models/shared/Indexing.java +++ b/src/main/java/com/airbyte/api/models/shared/Indexing.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * Indexing - Astra DB gives developers the APIs, real-time data and ecosystem integrations to put accurate RAG and Gen AI apps with fewer hallucinations in production. */ @@ -142,15 +141,15 @@ public boolean equals(java.lang.Object o) { } Indexing other = (Indexing) o; return - java.util.Objects.deepEquals(this.astraDbAppToken, other.astraDbAppToken) && - java.util.Objects.deepEquals(this.astraDbEndpoint, other.astraDbEndpoint) && - java.util.Objects.deepEquals(this.astraDbKeyspace, other.astraDbKeyspace) && - java.util.Objects.deepEquals(this.collection, other.collection); + Objects.deepEquals(this.astraDbAppToken, other.astraDbAppToken) && + Objects.deepEquals(this.astraDbEndpoint, other.astraDbEndpoint) && + Objects.deepEquals(this.astraDbKeyspace, other.astraDbKeyspace) && + Objects.deepEquals(this.collection, other.collection); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( astraDbAppToken, astraDbEndpoint, astraDbKeyspace, diff --git a/src/main/java/com/airbyte/api/models/shared/Inflowinventory.java b/src/main/java/com/airbyte/api/models/shared/Inflowinventory.java new file mode 100644 index 000000000..576f892fe --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Inflowinventory.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Inflowinventory { + INFLOWINVENTORY("inflowinventory"); + + @JsonValue + private final String value; + + private Inflowinventory(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/InitiateOauthRequest.java b/src/main/java/com/airbyte/api/models/shared/InitiateOauthRequest.java index f4357619f..f229d879a 100644 --- a/src/main/java/com/airbyte/api/models/shared/InitiateOauthRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/InitiateOauthRequest.java @@ -1,22 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * InitiateOauthRequest - POST body for initiating OAuth via the public API */ @@ -28,7 +29,7 @@ public class InitiateOauthRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("oAuthInputConfiguration") - private Optional oAuthInputConfiguration; + private Optional oAuthInputConfiguration; /** * The URL to redirect the user to with the OAuth secret stored in the secret_id query string parameter after authentication is complete. @@ -47,7 +48,7 @@ public class InitiateOauthRequest { @JsonCreator public InitiateOauthRequest( - @JsonProperty("oAuthInputConfiguration") Optional oAuthInputConfiguration, + @JsonProperty("oAuthInputConfiguration") Optional oAuthInputConfiguration, @JsonProperty("redirectUrl") String redirectUrl, @JsonProperty("sourceType") OAuthActorNames sourceType, @JsonProperty("workspaceId") String workspaceId) { @@ -73,8 +74,8 @@ public InitiateOauthRequest( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional oAuthInputConfiguration() { - return (Optional) oAuthInputConfiguration; + public Optional oAuthInputConfiguration() { + return (Optional) oAuthInputConfiguration; } /** @@ -105,7 +106,7 @@ public final static Builder builder() { /** * The values required to configure OAuth flows. The schema for this must match the `OAuthConfigSpecification.oauthUserInputFromConnectorConfigSpecification` schema. */ - public InitiateOauthRequest withOAuthInputConfiguration(java.lang.Object oAuthInputConfiguration) { + public InitiateOauthRequest withOAuthInputConfiguration(Object oAuthInputConfiguration) { Utils.checkNotNull(oAuthInputConfiguration, "oAuthInputConfiguration"); this.oAuthInputConfiguration = Optional.ofNullable(oAuthInputConfiguration); return this; @@ -114,7 +115,7 @@ public InitiateOauthRequest withOAuthInputConfiguration(java.lang.Object oAuthIn /** * The values required to configure OAuth flows. The schema for this must match the `OAuthConfigSpecification.oauthUserInputFromConnectorConfigSpecification` schema. */ - public InitiateOauthRequest withOAuthInputConfiguration(Optional oAuthInputConfiguration) { + public InitiateOauthRequest withOAuthInputConfiguration(Optional oAuthInputConfiguration) { Utils.checkNotNull(oAuthInputConfiguration, "oAuthInputConfiguration"); this.oAuthInputConfiguration = oAuthInputConfiguration; return this; @@ -154,15 +155,15 @@ public boolean equals(java.lang.Object o) { } InitiateOauthRequest other = (InitiateOauthRequest) o; return - java.util.Objects.deepEquals(this.oAuthInputConfiguration, other.oAuthInputConfiguration) && - java.util.Objects.deepEquals(this.redirectUrl, other.redirectUrl) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.oAuthInputConfiguration, other.oAuthInputConfiguration) && + Objects.deepEquals(this.redirectUrl, other.redirectUrl) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( oAuthInputConfiguration, redirectUrl, sourceType, @@ -180,7 +181,7 @@ public String toString() { public final static class Builder { - private Optional oAuthInputConfiguration = Optional.empty(); + private Optional oAuthInputConfiguration = Optional.empty(); private String redirectUrl; @@ -195,7 +196,7 @@ private Builder() { /** * The values required to configure OAuth flows. The schema for this must match the `OAuthConfigSpecification.oauthUserInputFromConnectorConfigSpecification` schema. */ - public Builder oAuthInputConfiguration(java.lang.Object oAuthInputConfiguration) { + public Builder oAuthInputConfiguration(Object oAuthInputConfiguration) { Utils.checkNotNull(oAuthInputConfiguration, "oAuthInputConfiguration"); this.oAuthInputConfiguration = Optional.ofNullable(oAuthInputConfiguration); return this; @@ -204,7 +205,7 @@ public Builder oAuthInputConfiguration(java.lang.Object oAuthInputConfiguration) /** * The values required to configure OAuth flows. The schema for this must match the `OAuthConfigSpecification.oauthUserInputFromConnectorConfigSpecification` schema. */ - public Builder oAuthInputConfiguration(Optional oAuthInputConfiguration) { + public Builder oAuthInputConfiguration(Optional oAuthInputConfiguration) { Utils.checkNotNull(oAuthInputConfiguration, "oAuthInputConfiguration"); this.oAuthInputConfiguration = oAuthInputConfiguration; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/InsightConfig.java b/src/main/java/com/airbyte/api/models/shared/InsightConfig.java index 19eb4273d..aac3fac15 100644 --- a/src/main/java/com/airbyte/api/models/shared/InsightConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/InsightConfig.java @@ -1,26 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * InsightConfig - Config for custom insights */ @@ -32,7 +33,7 @@ public class InsightConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("action_breakdowns") - private Optional> actionBreakdowns; + private Optional> actionBreakdowns; /** * Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with action_report_time=impression, you see a conversion on Jan 1st. When you query the API with action_report_time=conversion, you see a conversion on Jan 2nd. @@ -46,35 +47,35 @@ public class InsightConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("breakdowns") - private Optional> breakdowns; + private Optional> breakdowns; /** * The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * A list of chosen fields for fields parameter */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("fields") - private Optional> fields; + private Optional> fields; /** * The insights job timeout */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("insights_job_timeout") - private Optional insightsJobTimeout; + private Optional insightsJobTimeout; /** * The attribution window */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("insights_lookback_window") - private Optional insightsLookbackWindow; + private Optional insightsLookbackWindow; /** * Chosen level for API @@ -94,28 +95,28 @@ public class InsightConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("time_increment") - private Optional timeIncrement; + private Optional timeIncrement; @JsonCreator public InsightConfig( - @JsonProperty("action_breakdowns") Optional> actionBreakdowns, + @JsonProperty("action_breakdowns") Optional> actionBreakdowns, @JsonProperty("action_report_time") Optional actionReportTime, - @JsonProperty("breakdowns") Optional> breakdowns, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("fields") Optional> fields, - @JsonProperty("insights_job_timeout") Optional insightsJobTimeout, - @JsonProperty("insights_lookback_window") Optional insightsLookbackWindow, + @JsonProperty("breakdowns") Optional> breakdowns, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("fields") Optional> fields, + @JsonProperty("insights_job_timeout") Optional insightsJobTimeout, + @JsonProperty("insights_lookback_window") Optional insightsLookbackWindow, @JsonProperty("level") Optional level, @JsonProperty("name") String name, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("time_increment") Optional timeIncrement) { + @JsonProperty("start_date") Optional startDate, + @JsonProperty("time_increment") Optional timeIncrement) { Utils.checkNotNull(actionBreakdowns, "actionBreakdowns"); Utils.checkNotNull(actionReportTime, "actionReportTime"); Utils.checkNotNull(breakdowns, "breakdowns"); @@ -150,8 +151,8 @@ public InsightConfig( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> actionBreakdowns() { - return (Optional>) actionBreakdowns; + public Optional> actionBreakdowns() { + return (Optional>) actionBreakdowns; } /** @@ -168,17 +169,16 @@ public Optional actionReportTime() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> breakdowns() { - return (Optional>) breakdowns; + public Optional> breakdowns() { + return (Optional>) breakdowns; } /** * The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** @@ -186,26 +186,24 @@ public Optional endDate() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> fields() { - return (Optional>) fields; + public Optional> fields() { + return (Optional>) fields; } /** * The insights job timeout */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional insightsJobTimeout() { - return (Optional) insightsJobTimeout; + return insightsJobTimeout; } /** * The attribution window */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional insightsLookbackWindow() { - return (Optional) insightsLookbackWindow; + return insightsLookbackWindow; } /** @@ -228,19 +226,17 @@ public String name() { /** * The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional timeIncrement() { - return (Optional) timeIncrement; + return timeIncrement; } public final static Builder builder() { @@ -250,7 +246,7 @@ public final static Builder builder() { /** * A list of chosen action_breakdowns for action_breakdowns */ - public InsightConfig withActionBreakdowns(java.util.List actionBreakdowns) { + public InsightConfig withActionBreakdowns(List actionBreakdowns) { Utils.checkNotNull(actionBreakdowns, "actionBreakdowns"); this.actionBreakdowns = Optional.ofNullable(actionBreakdowns); return this; @@ -259,7 +255,7 @@ public InsightConfig withActionBreakdowns(java.util.List /** * A list of chosen action_breakdowns for action_breakdowns */ - public InsightConfig withActionBreakdowns(Optional> actionBreakdowns) { + public InsightConfig withActionBreakdowns(Optional> actionBreakdowns) { Utils.checkNotNull(actionBreakdowns, "actionBreakdowns"); this.actionBreakdowns = actionBreakdowns; return this; @@ -286,7 +282,7 @@ public InsightConfig withActionReportTime(Optional breakdowns) { + public InsightConfig withBreakdowns(List breakdowns) { Utils.checkNotNull(breakdowns, "breakdowns"); this.breakdowns = Optional.ofNullable(breakdowns); return this; @@ -295,7 +291,7 @@ public InsightConfig withBreakdowns(java.util.List breakdowns) /** * A list of chosen breakdowns for breakdowns */ - public InsightConfig withBreakdowns(Optional> breakdowns) { + public InsightConfig withBreakdowns(Optional> breakdowns) { Utils.checkNotNull(breakdowns, "breakdowns"); this.breakdowns = breakdowns; return this; @@ -313,7 +309,7 @@ public InsightConfig withEndDate(OffsetDateTime endDate) { /** * The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. */ - public InsightConfig withEndDate(Optional endDate) { + public InsightConfig withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -322,7 +318,7 @@ public InsightConfig withEndDate(Optional endDate) { /** * A list of chosen fields for fields parameter */ - public InsightConfig withFields(java.util.List fields) { + public InsightConfig withFields(List fields) { Utils.checkNotNull(fields, "fields"); this.fields = Optional.ofNullable(fields); return this; @@ -331,7 +327,7 @@ public InsightConfig withFields(java.util.List> fields) { + public InsightConfig withFields(Optional> fields) { Utils.checkNotNull(fields, "fields"); this.fields = fields; return this; @@ -349,7 +345,7 @@ public InsightConfig withInsightsJobTimeout(long insightsJobTimeout) { /** * The insights job timeout */ - public InsightConfig withInsightsJobTimeout(Optional insightsJobTimeout) { + public InsightConfig withInsightsJobTimeout(Optional insightsJobTimeout) { Utils.checkNotNull(insightsJobTimeout, "insightsJobTimeout"); this.insightsJobTimeout = insightsJobTimeout; return this; @@ -367,7 +363,7 @@ public InsightConfig withInsightsLookbackWindow(long insightsLookbackWindow) { /** * The attribution window */ - public InsightConfig withInsightsLookbackWindow(Optional insightsLookbackWindow) { + public InsightConfig withInsightsLookbackWindow(Optional insightsLookbackWindow) { Utils.checkNotNull(insightsLookbackWindow, "insightsLookbackWindow"); this.insightsLookbackWindow = insightsLookbackWindow; return this; @@ -412,7 +408,7 @@ public InsightConfig withStartDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. */ - public InsightConfig withStartDate(Optional startDate) { + public InsightConfig withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -430,7 +426,7 @@ public InsightConfig withTimeIncrement(long timeIncrement) { /** * Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. */ - public InsightConfig withTimeIncrement(Optional timeIncrement) { + public InsightConfig withTimeIncrement(Optional timeIncrement) { Utils.checkNotNull(timeIncrement, "timeIncrement"); this.timeIncrement = timeIncrement; return this; @@ -446,22 +442,22 @@ public boolean equals(java.lang.Object o) { } InsightConfig other = (InsightConfig) o; return - java.util.Objects.deepEquals(this.actionBreakdowns, other.actionBreakdowns) && - java.util.Objects.deepEquals(this.actionReportTime, other.actionReportTime) && - java.util.Objects.deepEquals(this.breakdowns, other.breakdowns) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.fields, other.fields) && - java.util.Objects.deepEquals(this.insightsJobTimeout, other.insightsJobTimeout) && - java.util.Objects.deepEquals(this.insightsLookbackWindow, other.insightsLookbackWindow) && - java.util.Objects.deepEquals(this.level, other.level) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.timeIncrement, other.timeIncrement); + Objects.deepEquals(this.actionBreakdowns, other.actionBreakdowns) && + Objects.deepEquals(this.actionReportTime, other.actionReportTime) && + Objects.deepEquals(this.breakdowns, other.breakdowns) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.fields, other.fields) && + Objects.deepEquals(this.insightsJobTimeout, other.insightsJobTimeout) && + Objects.deepEquals(this.insightsLookbackWindow, other.insightsLookbackWindow) && + Objects.deepEquals(this.level, other.level) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.timeIncrement, other.timeIncrement); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( actionBreakdowns, actionReportTime, breakdowns, @@ -493,27 +489,27 @@ public String toString() { public final static class Builder { - private Optional> actionBreakdowns = Optional.empty(); + private Optional> actionBreakdowns = Optional.empty(); private Optional actionReportTime; - private Optional> breakdowns = Optional.empty(); + private Optional> breakdowns = Optional.empty(); - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional> fields = Optional.empty(); + private Optional> fields = Optional.empty(); - private Optional insightsJobTimeout; + private Optional insightsJobTimeout; - private Optional insightsLookbackWindow; + private Optional insightsLookbackWindow; private Optional level; private String name; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private Optional timeIncrement; + private Optional timeIncrement; private Builder() { // force use of static builder() method @@ -522,7 +518,7 @@ private Builder() { /** * A list of chosen action_breakdowns for action_breakdowns */ - public Builder actionBreakdowns(java.util.List actionBreakdowns) { + public Builder actionBreakdowns(List actionBreakdowns) { Utils.checkNotNull(actionBreakdowns, "actionBreakdowns"); this.actionBreakdowns = Optional.ofNullable(actionBreakdowns); return this; @@ -531,7 +527,7 @@ public Builder actionBreakdowns(java.util.List actionBrea /** * A list of chosen action_breakdowns for action_breakdowns */ - public Builder actionBreakdowns(Optional> actionBreakdowns) { + public Builder actionBreakdowns(Optional> actionBreakdowns) { Utils.checkNotNull(actionBreakdowns, "actionBreakdowns"); this.actionBreakdowns = actionBreakdowns; return this; @@ -558,7 +554,7 @@ public Builder actionReportTime(Optional breakdowns) { + public Builder breakdowns(List breakdowns) { Utils.checkNotNull(breakdowns, "breakdowns"); this.breakdowns = Optional.ofNullable(breakdowns); return this; @@ -567,7 +563,7 @@ public Builder breakdowns(java.util.List breakdowns) { /** * A list of chosen breakdowns for breakdowns */ - public Builder breakdowns(Optional> breakdowns) { + public Builder breakdowns(Optional> breakdowns) { Utils.checkNotNull(breakdowns, "breakdowns"); this.breakdowns = breakdowns; return this; @@ -585,7 +581,7 @@ public Builder endDate(OffsetDateTime endDate) { /** * The date until which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -594,7 +590,7 @@ public Builder endDate(Optional endDate) { /** * A list of chosen fields for fields parameter */ - public Builder fields(java.util.List fields) { + public Builder fields(List fields) { Utils.checkNotNull(fields, "fields"); this.fields = Optional.ofNullable(fields); return this; @@ -603,7 +599,7 @@ public Builder fields(java.util.List fields) /** * A list of chosen fields for fields parameter */ - public Builder fields(Optional> fields) { + public Builder fields(Optional> fields) { Utils.checkNotNull(fields, "fields"); this.fields = fields; return this; @@ -621,7 +617,7 @@ public Builder insightsJobTimeout(long insightsJobTimeout) { /** * The insights job timeout */ - public Builder insightsJobTimeout(Optional insightsJobTimeout) { + public Builder insightsJobTimeout(Optional insightsJobTimeout) { Utils.checkNotNull(insightsJobTimeout, "insightsJobTimeout"); this.insightsJobTimeout = insightsJobTimeout; return this; @@ -639,7 +635,7 @@ public Builder insightsLookbackWindow(long insightsLookbackWindow) { /** * The attribution window */ - public Builder insightsLookbackWindow(Optional insightsLookbackWindow) { + public Builder insightsLookbackWindow(Optional insightsLookbackWindow) { Utils.checkNotNull(insightsLookbackWindow, "insightsLookbackWindow"); this.insightsLookbackWindow = insightsLookbackWindow; return this; @@ -684,7 +680,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for this stream, in the format YYYY-MM-DDT00:00:00Z. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -702,7 +698,7 @@ public Builder timeIncrement(long timeIncrement) { /** * Time window in days by which to aggregate statistics. The sync will be chunked into N day intervals, where N is the number of days you specified. For example, if you set this value to 7, then all statistics will be reported as 7-day aggregates by starting from the start_date. If the start and end dates are October 1st and October 30th, then the connector will output 5 records: 01 - 06, 07 - 13, 14 - 20, 21 - 27, and 28 - 30 (3 days only). The minimum allowed value for this field is 1, and the maximum is 89. */ - public Builder timeIncrement(Optional timeIncrement) { + public Builder timeIncrement(Optional timeIncrement) { Utils.checkNotNull(timeIncrement, "timeIncrement"); this.timeIncrement = timeIncrement; return this; @@ -723,8 +719,7 @@ public InsightConfig build() { } if (timeIncrement == null) { timeIncrement = _SINGLETON_VALUE_TimeIncrement.value(); - } - return new InsightConfig( + } return new InsightConfig( actionBreakdowns, actionReportTime, breakdowns, @@ -744,17 +739,17 @@ public InsightConfig build() { "\"mixed\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_InsightsJobTimeout = + private static final LazySingletonValue> _SINGLETON_VALUE_InsightsJobTimeout = new LazySingletonValue<>( "insights_job_timeout", "60", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_InsightsLookbackWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_InsightsLookbackWindow = new LazySingletonValue<>( "insights_lookback_window", "28", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Level = new LazySingletonValue<>( @@ -762,11 +757,11 @@ public InsightConfig build() { "\"ad\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TimeIncrement = + private static final LazySingletonValue> _SINGLETON_VALUE_TimeIncrement = new LazySingletonValue<>( "time_increment", "1", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Insightly.java b/src/main/java/com/airbyte/api/models/shared/Insightly.java index e4cf8b12f..c5673080f 100644 --- a/src/main/java/com/airbyte/api/models/shared/Insightly.java +++ b/src/main/java/com/airbyte/api/models/shared/Insightly.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Insightly { INSIGHTLY("insightly"); diff --git a/src/main/java/com/airbyte/api/models/shared/Instagram.java b/src/main/java/com/airbyte/api/models/shared/Instagram.java index 10bc7a1ec..1833be069 100644 --- a/src/main/java/com/airbyte/api/models/shared/Instagram.java +++ b/src/main/java/com/airbyte/api/models/shared/Instagram.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class Instagram { /** @@ -25,19 +24,19 @@ public class Instagram { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret for your Oauth application */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public Instagram( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public Instagram() { /** * The Client ID for your Oauth application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret for your Oauth application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public Instagram withClientId(String clientId) { /** * The Client ID for your Oauth application */ - public Instagram withClientId(Optional clientId) { + public Instagram withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public Instagram withClientSecret(String clientSecret) { /** * The Client Secret for your Oauth application */ - public Instagram withClientSecret(Optional clientSecret) { + public Instagram withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } Instagram other = (Instagram) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID for your Oauth application */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret for your Oauth application */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Instance.java b/src/main/java/com/airbyte/api/models/shared/Instance.java index 53815474b..5cdd7318e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Instance.java +++ b/src/main/java/com/airbyte/api/models/shared/Instance.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Instance { STANDALONE("standalone"); diff --git a/src/main/java/com/airbyte/api/models/shared/Instatus.java b/src/main/java/com/airbyte/api/models/shared/Instatus.java index 0a87d1ee4..5c9d9bb08 100644 --- a/src/main/java/com/airbyte/api/models/shared/Instatus.java +++ b/src/main/java/com/airbyte/api/models/shared/Instatus.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Instatus { INSTATUS("instatus"); diff --git a/src/main/java/com/airbyte/api/models/shared/Int64Value.java b/src/main/java/com/airbyte/api/models/shared/Int64Value.java index 6aa0afaf3..39beb4d71 100644 --- a/src/main/java/com/airbyte/api/models/shared/Int64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/Int64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class Int64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } Int64Value other = (Int64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/Intercom.java b/src/main/java/com/airbyte/api/models/shared/Intercom.java index 96788067b..011230fc8 100644 --- a/src/main/java/com/airbyte/api/models/shared/Intercom.java +++ b/src/main/java/com/airbyte/api/models/shared/Intercom.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class Intercom { /** @@ -25,19 +24,19 @@ public class Intercom { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Client Secret for your Intercom application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public Intercom( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public Intercom() { /** * Client Id for your Intercom application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Client Secret for your Intercom application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public Intercom withClientId(String clientId) { /** * Client Id for your Intercom application. */ - public Intercom withClientId(Optional clientId) { + public Intercom withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public Intercom withClientSecret(String clientSecret) { /** * Client Secret for your Intercom application. */ - public Intercom withClientSecret(Optional clientSecret) { + public Intercom withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } Intercom other = (Intercom) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * Client Id for your Intercom application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * Client Secret for your Intercom application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Interval.java b/src/main/java/com/airbyte/api/models/shared/Interval.java new file mode 100644 index 000000000..8d69a9677 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Interval.java @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * Interval - Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month + */ +public enum Interval { + ONEMIN("1min"), + FIVEMIN("5min"), + FIFTEENMIN("15min"), + THIRTYMIN("30min"), + FORTY_FIVEMIN("45min"), + ONEH("1h"), + TWOH("2h"), + FOURH("4h"), + ONEDAY("1day"), + ONEWEEK("1week"), + ONEMONTH("1month"); + + @JsonValue + private final String value; + + private Interval(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/InvalidCDCPositionBehaviorAdvanced.java b/src/main/java/com/airbyte/api/models/shared/InvalidCDCPositionBehaviorAdvanced.java index df80cb654..a981fe36f 100644 --- a/src/main/java/com/airbyte/api/models/shared/InvalidCDCPositionBehaviorAdvanced.java +++ b/src/main/java/com/airbyte/api/models/shared/InvalidCDCPositionBehaviorAdvanced.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * InvalidCDCPositionBehaviorAdvanced - Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. diff --git a/src/main/java/com/airbyte/api/models/shared/Invoiced.java b/src/main/java/com/airbyte/api/models/shared/Invoiced.java new file mode 100644 index 000000000..6072487e2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Invoiced.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Invoiced { + INVOICED("invoiced"); + + @JsonValue + private final String value; + + private Invoiced(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Invoiceninja.java b/src/main/java/com/airbyte/api/models/shared/Invoiceninja.java new file mode 100644 index 000000000..cdb2d5b0e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Invoiceninja.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Invoiceninja { + INVOICENINJA("invoiceninja"); + + @JsonValue + private final String value; + + private Invoiceninja(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Ip2whois.java b/src/main/java/com/airbyte/api/models/shared/Ip2whois.java index bb191283c..17165f9d2 100644 --- a/src/main/java/com/airbyte/api/models/shared/Ip2whois.java +++ b/src/main/java/com/airbyte/api/models/shared/Ip2whois.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Ip2whois { IP2WHOIS("ip2whois"); diff --git a/src/main/java/com/airbyte/api/models/shared/Iterable.java b/src/main/java/com/airbyte/api/models/shared/Iterable.java index b65a57ee2..f94e27a9d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Iterable.java +++ b/src/main/java/com/airbyte/api/models/shared/Iterable.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Iterable { ITERABLE("iterable"); diff --git a/src/main/java/com/airbyte/api/models/shared/JSONLinesNewlineDelimitedJSON.java b/src/main/java/com/airbyte/api/models/shared/JSONLinesNewlineDelimitedJSON.java index 28c31f33b..e36d43066 100644 --- a/src/main/java/com/airbyte/api/models/shared/JSONLinesNewlineDelimitedJSON.java +++ b/src/main/java/com/airbyte/api/models/shared/JSONLinesNewlineDelimitedJSON.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class JSONLinesNewlineDelimitedJSON { /** @@ -105,13 +106,13 @@ public boolean equals(java.lang.Object o) { } JSONLinesNewlineDelimitedJSON other = (JSONLinesNewlineDelimitedJSON) o; return - java.util.Objects.deepEquals(this.compressionCodec, other.compressionCodec) && - java.util.Objects.deepEquals(this.formatType, other.formatType); + Objects.deepEquals(this.compressionCodec, other.compressionCodec) && + Objects.deepEquals(this.formatType, other.formatType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionCodec, formatType); } @@ -169,8 +170,7 @@ public JSONLinesNewlineDelimitedJSON build() { } if (formatType == null) { formatType = _SINGLETON_VALUE_FormatType.value(); - } - return new JSONLinesNewlineDelimitedJSON( + } return new JSONLinesNewlineDelimitedJSON( compressionCodec, formatType); } diff --git a/src/main/java/com/airbyte/api/models/shared/JdbcCatalogUseRelationalDatabase.java b/src/main/java/com/airbyte/api/models/shared/JdbcCatalogUseRelationalDatabase.java new file mode 100644 index 000000000..c69cebc9d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/JdbcCatalogUseRelationalDatabase.java @@ -0,0 +1,494 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * JdbcCatalogUseRelationalDatabase - Using a table in a relational database to manage Iceberg tables through JDBC. Read more <a href="https://iceberg.apache.org/docs/latest/jdbc/">here</a>. Supporting: PostgreSQL + */ + +public class JdbcCatalogUseRelationalDatabase { + + /** + * Iceberg catalog metadata tables are written to catalog schema. The usual value for this field is "public". + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("catalog_schema") + private Optional catalogSchema; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("catalog_type") + private Optional catalogType; + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("database") + private Optional database; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url") + private Optional jdbcUrl; + + /** + * Password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + /** + * Encrypt data using SSL. When activating SSL, please select one of the connection modes. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ssl") + private Optional ssl; + + /** + * Username to use to access the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("username") + private Optional username; + + @JsonCreator + public JdbcCatalogUseRelationalDatabase( + @JsonProperty("catalog_schema") Optional catalogSchema, + @JsonProperty("catalog_type") Optional catalogType, + @JsonProperty("database") Optional database, + @JsonProperty("jdbc_url") Optional jdbcUrl, + @JsonProperty("password") Optional password, + @JsonProperty("ssl") Optional ssl, + @JsonProperty("username") Optional username) { + Utils.checkNotNull(catalogSchema, "catalogSchema"); + Utils.checkNotNull(catalogType, "catalogType"); + Utils.checkNotNull(database, "database"); + Utils.checkNotNull(jdbcUrl, "jdbcUrl"); + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(ssl, "ssl"); + Utils.checkNotNull(username, "username"); + this.catalogSchema = catalogSchema; + this.catalogType = catalogType; + this.database = database; + this.jdbcUrl = jdbcUrl; + this.password = password; + this.ssl = ssl; + this.username = username; + } + + public JdbcCatalogUseRelationalDatabase() { + this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + /** + * Iceberg catalog metadata tables are written to catalog schema. The usual value for this field is "public". + */ + @JsonIgnore + public Optional catalogSchema() { + return catalogSchema; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional catalogType() { + return (Optional) catalogType; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + @JsonIgnore + public Optional database() { + return database; + } + + @JsonIgnore + public Optional jdbcUrl() { + return jdbcUrl; + } + + /** + * Password associated with the username. + */ + @JsonIgnore + public Optional password() { + return password; + } + + /** + * Encrypt data using SSL. When activating SSL, please select one of the connection modes. + */ + @JsonIgnore + public Optional ssl() { + return ssl; + } + + /** + * Username to use to access the database. + */ + @JsonIgnore + public Optional username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Iceberg catalog metadata tables are written to catalog schema. The usual value for this field is "public". + */ + public JdbcCatalogUseRelationalDatabase withCatalogSchema(String catalogSchema) { + Utils.checkNotNull(catalogSchema, "catalogSchema"); + this.catalogSchema = Optional.ofNullable(catalogSchema); + return this; + } + + /** + * Iceberg catalog metadata tables are written to catalog schema. The usual value for this field is "public". + */ + public JdbcCatalogUseRelationalDatabase withCatalogSchema(Optional catalogSchema) { + Utils.checkNotNull(catalogSchema, "catalogSchema"); + this.catalogSchema = catalogSchema; + return this; + } + + public JdbcCatalogUseRelationalDatabase withCatalogType(DestinationIcebergSchemasCatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public JdbcCatalogUseRelationalDatabase withCatalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + public JdbcCatalogUseRelationalDatabase withDatabase(String database) { + Utils.checkNotNull(database, "database"); + this.database = Optional.ofNullable(database); + return this; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + public JdbcCatalogUseRelationalDatabase withDatabase(Optional database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + public JdbcCatalogUseRelationalDatabase withJdbcUrl(String jdbcUrl) { + Utils.checkNotNull(jdbcUrl, "jdbcUrl"); + this.jdbcUrl = Optional.ofNullable(jdbcUrl); + return this; + } + + public JdbcCatalogUseRelationalDatabase withJdbcUrl(Optional jdbcUrl) { + Utils.checkNotNull(jdbcUrl, "jdbcUrl"); + this.jdbcUrl = jdbcUrl; + return this; + } + + /** + * Password associated with the username. + */ + public JdbcCatalogUseRelationalDatabase withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Password associated with the username. + */ + public JdbcCatalogUseRelationalDatabase withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Encrypt data using SSL. When activating SSL, please select one of the connection modes. + */ + public JdbcCatalogUseRelationalDatabase withSsl(boolean ssl) { + Utils.checkNotNull(ssl, "ssl"); + this.ssl = Optional.ofNullable(ssl); + return this; + } + + /** + * Encrypt data using SSL. When activating SSL, please select one of the connection modes. + */ + public JdbcCatalogUseRelationalDatabase withSsl(Optional ssl) { + Utils.checkNotNull(ssl, "ssl"); + this.ssl = ssl; + return this; + } + + /** + * Username to use to access the database. + */ + public JdbcCatalogUseRelationalDatabase withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = Optional.ofNullable(username); + return this; + } + + /** + * Username to use to access the database. + */ + public JdbcCatalogUseRelationalDatabase withUsername(Optional username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + JdbcCatalogUseRelationalDatabase other = (JdbcCatalogUseRelationalDatabase) o; + return + Objects.deepEquals(this.catalogSchema, other.catalogSchema) && + Objects.deepEquals(this.catalogType, other.catalogType) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.jdbcUrl, other.jdbcUrl) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.ssl, other.ssl) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + catalogSchema, + catalogType, + database, + jdbcUrl, + password, + ssl, + username); + } + + @Override + public String toString() { + return Utils.toString(JdbcCatalogUseRelationalDatabase.class, + "catalogSchema", catalogSchema, + "catalogType", catalogType, + "database", database, + "jdbcUrl", jdbcUrl, + "password", password, + "ssl", ssl, + "username", username); + } + + public final static class Builder { + + private Optional catalogSchema; + + private Optional catalogType; + + private Optional database; + + private Optional jdbcUrl = Optional.empty(); + + private Optional password = Optional.empty(); + + private Optional ssl; + + private Optional username = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * Iceberg catalog metadata tables are written to catalog schema. The usual value for this field is "public". + */ + public Builder catalogSchema(String catalogSchema) { + Utils.checkNotNull(catalogSchema, "catalogSchema"); + this.catalogSchema = Optional.ofNullable(catalogSchema); + return this; + } + + /** + * Iceberg catalog metadata tables are written to catalog schema. The usual value for this field is "public". + */ + public Builder catalogSchema(Optional catalogSchema) { + Utils.checkNotNull(catalogSchema, "catalogSchema"); + this.catalogSchema = catalogSchema; + return this; + } + + public Builder catalogType(DestinationIcebergSchemasCatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public Builder catalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + public Builder database(String database) { + Utils.checkNotNull(database, "database"); + this.database = Optional.ofNullable(database); + return this; + } + + /** + * The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". + */ + public Builder database(Optional database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + public Builder jdbcUrl(String jdbcUrl) { + Utils.checkNotNull(jdbcUrl, "jdbcUrl"); + this.jdbcUrl = Optional.ofNullable(jdbcUrl); + return this; + } + + public Builder jdbcUrl(Optional jdbcUrl) { + Utils.checkNotNull(jdbcUrl, "jdbcUrl"); + this.jdbcUrl = jdbcUrl; + return this; + } + + /** + * Password associated with the username. + */ + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Password associated with the username. + */ + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Encrypt data using SSL. When activating SSL, please select one of the connection modes. + */ + public Builder ssl(boolean ssl) { + Utils.checkNotNull(ssl, "ssl"); + this.ssl = Optional.ofNullable(ssl); + return this; + } + + /** + * Encrypt data using SSL. When activating SSL, please select one of the connection modes. + */ + public Builder ssl(Optional ssl) { + Utils.checkNotNull(ssl, "ssl"); + this.ssl = ssl; + return this; + } + + /** + * Username to use to access the database. + */ + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = Optional.ofNullable(username); + return this; + } + + /** + * Username to use to access the database. + */ + public Builder username(Optional username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public JdbcCatalogUseRelationalDatabase build() { + if (catalogSchema == null) { + catalogSchema = _SINGLETON_VALUE_CatalogSchema.value(); + } + if (catalogType == null) { + catalogType = _SINGLETON_VALUE_CatalogType.value(); + } + if (database == null) { + database = _SINGLETON_VALUE_Database.value(); + } + if (ssl == null) { + ssl = _SINGLETON_VALUE_Ssl.value(); + } return new JdbcCatalogUseRelationalDatabase( + catalogSchema, + catalogType, + database, + jdbcUrl, + password, + ssl, + username); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_CatalogSchema = + new LazySingletonValue<>( + "catalog_schema", + "\"public\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_CatalogType = + new LazySingletonValue<>( + "catalog_type", + "\"Jdbc\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Database = + new LazySingletonValue<>( + "database", + "\"public\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = + new LazySingletonValue<>( + "ssl", + "false", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Jira.java b/src/main/java/com/airbyte/api/models/shared/Jira.java index 67b1fe148..59c3762a8 100644 --- a/src/main/java/com/airbyte/api/models/shared/Jira.java +++ b/src/main/java/com/airbyte/api/models/shared/Jira.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Jira { JIRA("jira"); diff --git a/src/main/java/com/airbyte/api/models/shared/JobCreateRequest.java b/src/main/java/com/airbyte/api/models/shared/JobCreateRequest.java index 5e4bf5e8c..d526a8970 100644 --- a/src/main/java/com/airbyte/api/models/shared/JobCreateRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/JobCreateRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * JobCreateRequest - Creates a new Job from the configuration provided in the request body. */ @@ -81,13 +80,13 @@ public boolean equals(java.lang.Object o) { } JobCreateRequest other = (JobCreateRequest) o; return - java.util.Objects.deepEquals(this.connectionId, other.connectionId) && - java.util.Objects.deepEquals(this.jobType, other.jobType); + Objects.deepEquals(this.connectionId, other.connectionId) && + Objects.deepEquals(this.jobType, other.jobType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionId, jobType); } diff --git a/src/main/java/com/airbyte/api/models/shared/JobResponse.java b/src/main/java/com/airbyte/api/models/shared/JobResponse.java index 4b9eb117d..3dffdade0 100644 --- a/src/main/java/com/airbyte/api/models/shared/JobResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/JobResponse.java @@ -1,22 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * JobResponse - Provides details of a single job. */ @@ -25,7 +25,7 @@ public class JobResponse { @JsonInclude(Include.NON_ABSENT) @JsonProperty("bytesSynced") - private Optional bytesSynced; + private Optional bytesSynced; @JsonProperty("connectionId") private String connectionId; @@ -35,7 +35,7 @@ public class JobResponse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("duration") - private Optional duration; + private Optional duration; @JsonProperty("jobId") private long jobId; @@ -48,11 +48,11 @@ public class JobResponse { @JsonInclude(Include.NON_ABSENT) @JsonProperty("lastUpdatedAt") - private Optional lastUpdatedAt; + private Optional lastUpdatedAt; @JsonInclude(Include.NON_ABSENT) @JsonProperty("rowsSynced") - private Optional rowsSynced; + private Optional rowsSynced; @JsonProperty("startTime") private String startTime; @@ -62,13 +62,13 @@ public class JobResponse { @JsonCreator public JobResponse( - @JsonProperty("bytesSynced") Optional bytesSynced, + @JsonProperty("bytesSynced") Optional bytesSynced, @JsonProperty("connectionId") String connectionId, - @JsonProperty("duration") Optional duration, + @JsonProperty("duration") Optional duration, @JsonProperty("jobId") long jobId, @JsonProperty("jobType") JobTypeEnum jobType, - @JsonProperty("lastUpdatedAt") Optional lastUpdatedAt, - @JsonProperty("rowsSynced") Optional rowsSynced, + @JsonProperty("lastUpdatedAt") Optional lastUpdatedAt, + @JsonProperty("rowsSynced") Optional rowsSynced, @JsonProperty("startTime") String startTime, @JsonProperty("status") JobStatusEnum status) { Utils.checkNotNull(bytesSynced, "bytesSynced"); @@ -100,10 +100,9 @@ public JobResponse( this(Optional.empty(), connectionId, Optional.empty(), jobId, jobType, Optional.empty(), Optional.empty(), startTime, status); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional bytesSynced() { - return (Optional) bytesSynced; + return bytesSynced; } @JsonIgnore @@ -114,10 +113,9 @@ public String connectionId() { /** * Duration of a sync in ISO_8601 format */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional duration() { - return (Optional) duration; + return duration; } @JsonIgnore @@ -133,16 +131,14 @@ public JobTypeEnum jobType() { return jobType; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional lastUpdatedAt() { - return (Optional) lastUpdatedAt; + return lastUpdatedAt; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional rowsSynced() { - return (Optional) rowsSynced; + return rowsSynced; } @JsonIgnore @@ -165,7 +161,7 @@ public JobResponse withBytesSynced(long bytesSynced) { return this; } - public JobResponse withBytesSynced(Optional bytesSynced) { + public JobResponse withBytesSynced(Optional bytesSynced) { Utils.checkNotNull(bytesSynced, "bytesSynced"); this.bytesSynced = bytesSynced; return this; @@ -189,7 +185,7 @@ public JobResponse withDuration(String duration) { /** * Duration of a sync in ISO_8601 format */ - public JobResponse withDuration(Optional duration) { + public JobResponse withDuration(Optional duration) { Utils.checkNotNull(duration, "duration"); this.duration = duration; return this; @@ -216,7 +212,7 @@ public JobResponse withLastUpdatedAt(String lastUpdatedAt) { return this; } - public JobResponse withLastUpdatedAt(Optional lastUpdatedAt) { + public JobResponse withLastUpdatedAt(Optional lastUpdatedAt) { Utils.checkNotNull(lastUpdatedAt, "lastUpdatedAt"); this.lastUpdatedAt = lastUpdatedAt; return this; @@ -228,7 +224,7 @@ public JobResponse withRowsSynced(long rowsSynced) { return this; } - public JobResponse withRowsSynced(Optional rowsSynced) { + public JobResponse withRowsSynced(Optional rowsSynced) { Utils.checkNotNull(rowsSynced, "rowsSynced"); this.rowsSynced = rowsSynced; return this; @@ -256,20 +252,20 @@ public boolean equals(java.lang.Object o) { } JobResponse other = (JobResponse) o; return - java.util.Objects.deepEquals(this.bytesSynced, other.bytesSynced) && - java.util.Objects.deepEquals(this.connectionId, other.connectionId) && - java.util.Objects.deepEquals(this.duration, other.duration) && - java.util.Objects.deepEquals(this.jobId, other.jobId) && - java.util.Objects.deepEquals(this.jobType, other.jobType) && - java.util.Objects.deepEquals(this.lastUpdatedAt, other.lastUpdatedAt) && - java.util.Objects.deepEquals(this.rowsSynced, other.rowsSynced) && - java.util.Objects.deepEquals(this.startTime, other.startTime) && - java.util.Objects.deepEquals(this.status, other.status); + Objects.deepEquals(this.bytesSynced, other.bytesSynced) && + Objects.deepEquals(this.connectionId, other.connectionId) && + Objects.deepEquals(this.duration, other.duration) && + Objects.deepEquals(this.jobId, other.jobId) && + Objects.deepEquals(this.jobType, other.jobType) && + Objects.deepEquals(this.lastUpdatedAt, other.lastUpdatedAt) && + Objects.deepEquals(this.rowsSynced, other.rowsSynced) && + Objects.deepEquals(this.startTime, other.startTime) && + Objects.deepEquals(this.status, other.status); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( bytesSynced, connectionId, duration, @@ -297,19 +293,19 @@ public String toString() { public final static class Builder { - private Optional bytesSynced = Optional.empty(); + private Optional bytesSynced = Optional.empty(); private String connectionId; - private Optional duration = Optional.empty(); + private Optional duration = Optional.empty(); private Long jobId; private JobTypeEnum jobType; - private Optional lastUpdatedAt = Optional.empty(); + private Optional lastUpdatedAt = Optional.empty(); - private Optional rowsSynced = Optional.empty(); + private Optional rowsSynced = Optional.empty(); private String startTime; @@ -325,7 +321,7 @@ public Builder bytesSynced(long bytesSynced) { return this; } - public Builder bytesSynced(Optional bytesSynced) { + public Builder bytesSynced(Optional bytesSynced) { Utils.checkNotNull(bytesSynced, "bytesSynced"); this.bytesSynced = bytesSynced; return this; @@ -349,7 +345,7 @@ public Builder duration(String duration) { /** * Duration of a sync in ISO_8601 format */ - public Builder duration(Optional duration) { + public Builder duration(Optional duration) { Utils.checkNotNull(duration, "duration"); this.duration = duration; return this; @@ -376,7 +372,7 @@ public Builder lastUpdatedAt(String lastUpdatedAt) { return this; } - public Builder lastUpdatedAt(Optional lastUpdatedAt) { + public Builder lastUpdatedAt(Optional lastUpdatedAt) { Utils.checkNotNull(lastUpdatedAt, "lastUpdatedAt"); this.lastUpdatedAt = lastUpdatedAt; return this; @@ -388,7 +384,7 @@ public Builder rowsSynced(long rowsSynced) { return this; } - public Builder rowsSynced(Optional rowsSynced) { + public Builder rowsSynced(Optional rowsSynced) { Utils.checkNotNull(rowsSynced, "rowsSynced"); this.rowsSynced = rowsSynced; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/JobStatusEnum.java b/src/main/java/com/airbyte/api/models/shared/JobStatusEnum.java index 7df900e42..349046167 100644 --- a/src/main/java/com/airbyte/api/models/shared/JobStatusEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/JobStatusEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum JobStatusEnum { PENDING("pending"), diff --git a/src/main/java/com/airbyte/api/models/shared/JobTypeEnum.java b/src/main/java/com/airbyte/api/models/shared/JobTypeEnum.java index fe339d980..ac23e2f1e 100644 --- a/src/main/java/com/airbyte/api/models/shared/JobTypeEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/JobTypeEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * JobTypeEnum - Enum that describes the different types of jobs that the platform runs. diff --git a/src/main/java/com/airbyte/api/models/shared/Jobnimbus.java b/src/main/java/com/airbyte/api/models/shared/Jobnimbus.java new file mode 100644 index 000000000..dfed7d525 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Jobnimbus.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Jobnimbus { + JOBNIMBUS("jobnimbus"); + + @JsonValue + private final String value; + + private Jobnimbus(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/JobsResponse.java b/src/main/java/com/airbyte/api/models/shared/JobsResponse.java index 7a4bbbe63..58b46cf95 100644 --- a/src/main/java/com/airbyte/api/models/shared/JobsResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/JobsResponse.java @@ -1,41 +1,41 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class JobsResponse { @JsonProperty("data") - private java.util.List data; + private List data; @JsonInclude(Include.NON_ABSENT) @JsonProperty("next") - private Optional next; + private Optional next; @JsonInclude(Include.NON_ABSENT) @JsonProperty("previous") - private Optional previous; + private Optional previous; @JsonCreator public JobsResponse( - @JsonProperty("data") java.util.List data, - @JsonProperty("next") Optional next, - @JsonProperty("previous") Optional previous) { + @JsonProperty("data") List data, + @JsonProperty("next") Optional next, + @JsonProperty("previous") Optional previous) { Utils.checkNotNull(data, "data"); Utils.checkNotNull(next, "next"); Utils.checkNotNull(previous, "previous"); @@ -45,32 +45,30 @@ public JobsResponse( } public JobsResponse( - java.util.List data) { + List data) { this(data, Optional.empty(), Optional.empty()); } @JsonIgnore - public java.util.List data() { + public List data() { return data; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional next() { - return (Optional) next; + return next; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional previous() { - return (Optional) previous; + return previous; } public final static Builder builder() { return new Builder(); } - public JobsResponse withData(java.util.List data) { + public JobsResponse withData(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -82,7 +80,7 @@ public JobsResponse withNext(String next) { return this; } - public JobsResponse withNext(Optional next) { + public JobsResponse withNext(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -94,7 +92,7 @@ public JobsResponse withPrevious(String previous) { return this; } - public JobsResponse withPrevious(Optional previous) { + public JobsResponse withPrevious(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; @@ -110,14 +108,14 @@ public boolean equals(java.lang.Object o) { } JobsResponse other = (JobsResponse) o; return - java.util.Objects.deepEquals(this.data, other.data) && - java.util.Objects.deepEquals(this.next, other.next) && - java.util.Objects.deepEquals(this.previous, other.previous); + Objects.deepEquals(this.data, other.data) && + Objects.deepEquals(this.next, other.next) && + Objects.deepEquals(this.previous, other.previous); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( data, next, previous); @@ -133,17 +131,17 @@ public String toString() { public final static class Builder { - private java.util.List data; + private List data; - private Optional next = Optional.empty(); + private Optional next = Optional.empty(); - private Optional previous = Optional.empty(); + private Optional previous = Optional.empty(); private Builder() { // force use of static builder() method } - public Builder data(java.util.List data) { + public Builder data(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -155,7 +153,7 @@ public Builder next(String next) { return this; } - public Builder next(Optional next) { + public Builder next(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -167,7 +165,7 @@ public Builder previous(String previous) { return this; } - public Builder previous(Optional previous) { + public Builder previous(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Jotform.java b/src/main/java/com/airbyte/api/models/shared/Jotform.java index 6ccea541b..6e738a162 100644 --- a/src/main/java/com/airbyte/api/models/shared/Jotform.java +++ b/src/main/java/com/airbyte/api/models/shared/Jotform.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Jotform { JOTFORM("jotform"); diff --git a/src/main/java/com/airbyte/api/models/shared/JsonlFormat.java b/src/main/java/com/airbyte/api/models/shared/JsonlFormat.java index 863f14801..f3525db6e 100644 --- a/src/main/java/com/airbyte/api/models/shared/JsonlFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/JsonlFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class JsonlFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } JsonlFormat other = (JsonlFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/JustSift.java b/src/main/java/com/airbyte/api/models/shared/JustSift.java new file mode 100644 index 000000000..d7b2c4011 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/JustSift.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum JustSift { + JUST_SIFT("just-sift"); + + @JsonValue + private final String value; + + private JustSift(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Justcall.java b/src/main/java/com/airbyte/api/models/shared/Justcall.java new file mode 100644 index 000000000..ffc9c5e79 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Justcall.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Justcall { + JUSTCALL("justcall"); + + @JsonValue + private final String value; + + private Justcall(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/K6Cloud.java b/src/main/java/com/airbyte/api/models/shared/K6Cloud.java index e9a4cccb8..aeea8aaf8 100644 --- a/src/main/java/com/airbyte/api/models/shared/K6Cloud.java +++ b/src/main/java/com/airbyte/api/models/shared/K6Cloud.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum K6Cloud { K6_CLOUD("k6-cloud"); diff --git a/src/main/java/com/airbyte/api/models/shared/Katana.java b/src/main/java/com/airbyte/api/models/shared/Katana.java new file mode 100644 index 000000000..f5d31b7b2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Katana.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Katana { + KATANA("katana"); + + @JsonValue + private final String value; + + private Katana(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java b/src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java index cc7484272..77853ca76 100644 --- a/src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/KeyPairAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class KeyPairAuthentication { @JsonInclude(Include.NON_ABSENT) @@ -36,12 +37,12 @@ public class KeyPairAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("private_key_password") - private Optional privateKeyPassword; + private Optional privateKeyPassword; @JsonCreator public KeyPairAuthentication( @JsonProperty("private_key") String privateKey, - @JsonProperty("private_key_password") Optional privateKeyPassword) { + @JsonProperty("private_key_password") Optional privateKeyPassword) { Utils.checkNotNull(privateKey, "privateKey"); Utils.checkNotNull(privateKeyPassword, "privateKeyPassword"); this.authType = Builder._SINGLETON_VALUE_AuthType.value(); @@ -71,10 +72,9 @@ public String privateKey() { /** * Passphrase for private key */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional privateKeyPassword() { - return (Optional) privateKeyPassword; + return privateKeyPassword; } public final static Builder builder() { @@ -102,7 +102,7 @@ public KeyPairAuthentication withPrivateKeyPassword(String privateKeyPassword) { /** * Passphrase for private key */ - public KeyPairAuthentication withPrivateKeyPassword(Optional privateKeyPassword) { + public KeyPairAuthentication withPrivateKeyPassword(Optional privateKeyPassword) { Utils.checkNotNull(privateKeyPassword, "privateKeyPassword"); this.privateKeyPassword = privateKeyPassword; return this; @@ -118,14 +118,14 @@ public boolean equals(java.lang.Object o) { } KeyPairAuthentication other = (KeyPairAuthentication) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.privateKey, other.privateKey) && - java.util.Objects.deepEquals(this.privateKeyPassword, other.privateKeyPassword); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.privateKey, other.privateKey) && + Objects.deepEquals(this.privateKeyPassword, other.privateKeyPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, privateKey, privateKeyPassword); @@ -143,7 +143,7 @@ public final static class Builder { private String privateKey; - private Optional privateKeyPassword = Optional.empty(); + private Optional privateKeyPassword = Optional.empty(); private Builder() { // force use of static builder() method @@ -170,7 +170,7 @@ public Builder privateKeyPassword(String privateKeyPassword) { /** * Passphrase for private key */ - public Builder privateKeyPassword(Optional privateKeyPassword) { + public Builder privateKeyPassword(Optional privateKeyPassword) { Utils.checkNotNull(privateKeyPassword, "privateKeyPassword"); this.privateKeyPassword = privateKeyPassword; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Kind.java b/src/main/java/com/airbyte/api/models/shared/Kind.java new file mode 100644 index 000000000..b1c162c0c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Kind.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * Kind - Kind parameter for `contact_groups` stream + */ +public enum Kind { + GROUP("group"), + ORGANIZATION("organization"); + + @JsonValue + private final String value; + + private Kind(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Kisi.java b/src/main/java/com/airbyte/api/models/shared/Kisi.java new file mode 100644 index 000000000..cc297fe85 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Kisi.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Kisi { + KISI("kisi"); + + @JsonValue + private final String value; + + private Kisi(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Kissmetrics.java b/src/main/java/com/airbyte/api/models/shared/Kissmetrics.java new file mode 100644 index 000000000..1fbe124e6 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Kissmetrics.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Kissmetrics { + KISSMETRICS("kissmetrics"); + + @JsonValue + private final String value; + + private Kissmetrics(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Klarna.java b/src/main/java/com/airbyte/api/models/shared/Klarna.java index 774af0e7b..805c361c4 100644 --- a/src/main/java/com/airbyte/api/models/shared/Klarna.java +++ b/src/main/java/com/airbyte/api/models/shared/Klarna.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Klarna { KLARNA("klarna"); diff --git a/src/main/java/com/airbyte/api/models/shared/KlausApi.java b/src/main/java/com/airbyte/api/models/shared/KlausApi.java new file mode 100644 index 000000000..3a541fd04 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/KlausApi.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum KlausApi { + KLAUS_API("klaus-api"); + + @JsonValue + private final String value; + + private KlausApi(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Klaviyo.java b/src/main/java/com/airbyte/api/models/shared/Klaviyo.java index cc7cd3a79..cd7ea8350 100644 --- a/src/main/java/com/airbyte/api/models/shared/Klaviyo.java +++ b/src/main/java/com/airbyte/api/models/shared/Klaviyo.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Klaviyo { KLAVIYO("klaviyo"); diff --git a/src/main/java/com/airbyte/api/models/shared/Kyve.java b/src/main/java/com/airbyte/api/models/shared/Kyve.java index fa99d1801..a8d3e115e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Kyve.java +++ b/src/main/java/com/airbyte/api/models/shared/Kyve.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Kyve { KYVE("kyve"); diff --git a/src/main/java/com/airbyte/api/models/shared/LSNCommitBehaviour.java b/src/main/java/com/airbyte/api/models/shared/LSNCommitBehaviour.java new file mode 100644 index 000000000..5964e8f0c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/LSNCommitBehaviour.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * LSNCommitBehaviour - Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync. + */ +public enum LSNCommitBehaviour { + WHILE_READING_DATA("While reading Data"), + AFTER_LOADING_DATA_IN_THE_DESTINATION("After loading Data in the destination"); + + @JsonValue + private final String value; + + private LSNCommitBehaviour(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Lang.java b/src/main/java/com/airbyte/api/models/shared/Lang.java new file mode 100644 index 000000000..69dec12e8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Lang.java @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * Lang - You can use lang parameter to get the output in your language. The contents of the description field will be translated. See <a href="https://openweathermap.org/api/one-call-api#multi">here</a> for the list of supported languages. + */ +public enum Lang { + AF("af"), + AL("al"), + AR("ar"), + AZ("az"), + BG("bg"), + CA("ca"), + CZ("cz"), + DA("da"), + DE("de"), + EL("el"), + EN("en"), + EU("eu"), + FA("fa"), + FI("fi"), + FR("fr"), + GL("gl"), + HE("he"), + HI("hi"), + HR("hr"), + HU("hu"), + ID("id"), + IT("it"), + JA("ja"), + KR("kr"), + LA("la"), + LT("lt"), + MK("mk"), + NO("no"), + NL("nl"), + PL("pl"), + PT("pt"), + PT_BR("pt_br"), + RO("ro"), + RU("ru"), + SV("sv"), + SE("se"), + SK("sk"), + SL("sl"), + SP("sp"), + ES("es"), + SR("sr"), + TH("th"), + TR("tr"), + UA("ua"), + UK("uk"), + VI("vi"), + ZH_CN("zh_cn"), + ZH_TW("zh_tw"), + ZU("zu"); + + @JsonValue + private final String value; + + private Lang(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Language.java b/src/main/java/com/airbyte/api/models/shared/Language.java index 3a1fb96f0..6fdbef746 100644 --- a/src/main/java/com/airbyte/api/models/shared/Language.java +++ b/src/main/java/com/airbyte/api/models/shared/Language.java @@ -1,43 +1,32 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; +/** + * Language - The 2-letter ISO-639-1 code of the language you want to get headlines + * for. Possible options: ar de en es fr he it nl no pt ru se ud zh. + * + */ public enum Language { AR("ar"), - ZH("zh"), - NL("nl"), + DE("de"), EN("en"), + ES("es"), FR("fr"), - DE("de"), - EL("el"), HE("he"), - HI("hi"), IT("it"), - JA("ja"), - ML("ml"), - MR("mr"), + NL("nl"), NO("no"), PT("pt"), - RO("ro"), RU("ru"), - ES("es"), - SV("sv"), - TA("ta"), - TE("te"), - UK("uk"); + SE("se"), + UD("ud"), + ZH("zh"); @JsonValue private final String value; diff --git a/src/main/java/com/airbyte/api/models/shared/Launchdarkly.java b/src/main/java/com/airbyte/api/models/shared/Launchdarkly.java index 8350179a8..f9da9c0f6 100644 --- a/src/main/java/com/airbyte/api/models/shared/Launchdarkly.java +++ b/src/main/java/com/airbyte/api/models/shared/Launchdarkly.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Launchdarkly { LAUNCHDARKLY("launchdarkly"); diff --git a/src/main/java/com/airbyte/api/models/shared/Leadfeeder.java b/src/main/java/com/airbyte/api/models/shared/Leadfeeder.java index 5013ffdc7..da42e31af 100644 --- a/src/main/java/com/airbyte/api/models/shared/Leadfeeder.java +++ b/src/main/java/com/airbyte/api/models/shared/Leadfeeder.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Leadfeeder { LEADFEEDER("leadfeeder"); diff --git a/src/main/java/com/airbyte/api/models/shared/Lemlist.java b/src/main/java/com/airbyte/api/models/shared/Lemlist.java index 4e9f4da73..efbf36f55 100644 --- a/src/main/java/com/airbyte/api/models/shared/Lemlist.java +++ b/src/main/java/com/airbyte/api/models/shared/Lemlist.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Lemlist { LEMLIST("lemlist"); diff --git a/src/main/java/com/airbyte/api/models/shared/LessAnnoyingCrm.java b/src/main/java/com/airbyte/api/models/shared/LessAnnoyingCrm.java new file mode 100644 index 000000000..037f34d01 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/LessAnnoyingCrm.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum LessAnnoyingCrm { + LESS_ANNOYING_CRM("less-annoying-crm"); + + @JsonValue + private final String value; + + private LessAnnoyingCrm(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Level.java b/src/main/java/com/airbyte/api/models/shared/Level.java index b5ecd737f..15e566deb 100644 --- a/src/main/java/com/airbyte/api/models/shared/Level.java +++ b/src/main/java/com/airbyte/api/models/shared/Level.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Level - Chosen level for API diff --git a/src/main/java/com/airbyte/api/models/shared/LeverHiring.java b/src/main/java/com/airbyte/api/models/shared/LeverHiring.java index d218d363d..f5bfceb1d 100644 --- a/src/main/java/com/airbyte/api/models/shared/LeverHiring.java +++ b/src/main/java/com/airbyte/api/models/shared/LeverHiring.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class LeverHiring { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } LeverHiring other = (LeverHiring) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/LeverHiringCredentials.java b/src/main/java/com/airbyte/api/models/shared/LeverHiringCredentials.java index 89f5f1927..486f1e4bb 100644 --- a/src/main/java/com/airbyte/api/models/shared/LeverHiringCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/LeverHiringCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class LeverHiringCredentials { /** @@ -25,19 +24,19 @@ public class LeverHiringCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your Lever Hiring developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public LeverHiringCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public LeverHiringCredentials() { /** * The Client ID of your Lever Hiring developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your Lever Hiring developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public LeverHiringCredentials withClientId(String clientId) { /** * The Client ID of your Lever Hiring developer application. */ - public LeverHiringCredentials withClientId(Optional clientId) { + public LeverHiringCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public LeverHiringCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your Lever Hiring developer application. */ - public LeverHiringCredentials withClientSecret(Optional clientSecret) { + public LeverHiringCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } LeverHiringCredentials other = (LeverHiringCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your Lever Hiring developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Lever Hiring developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/LightspeedRetail.java b/src/main/java/com/airbyte/api/models/shared/LightspeedRetail.java new file mode 100644 index 000000000..c1fbf6515 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/LightspeedRetail.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum LightspeedRetail { + LIGHTSPEED_RETAIL("lightspeed-retail"); + + @JsonValue + private final String value; + + private LightspeedRetail(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/LinkedinAds.java b/src/main/java/com/airbyte/api/models/shared/LinkedinAds.java index 5bdec8fe8..92f4f2133 100644 --- a/src/main/java/com/airbyte/api/models/shared/LinkedinAds.java +++ b/src/main/java/com/airbyte/api/models/shared/LinkedinAds.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class LinkedinAds { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } LinkedinAds other = (LinkedinAds) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/LinkedinAdsCredentials.java b/src/main/java/com/airbyte/api/models/shared/LinkedinAdsCredentials.java index 37533e1a8..b7fb18172 100644 --- a/src/main/java/com/airbyte/api/models/shared/LinkedinAdsCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/LinkedinAdsCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class LinkedinAdsCredentials { /** @@ -25,19 +24,19 @@ public class LinkedinAdsCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The client secret of your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public LinkedinAdsCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public LinkedinAdsCredentials() { /** * The client ID of your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The client secret of your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public LinkedinAdsCredentials withClientId(String clientId) { /** * The client ID of your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. */ - public LinkedinAdsCredentials withClientId(Optional clientId) { + public LinkedinAdsCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public LinkedinAdsCredentials withClientSecret(String clientSecret) { /** * The client secret of your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. */ - public LinkedinAdsCredentials withClientSecret(Optional clientSecret) { + public LinkedinAdsCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } LinkedinAdsCredentials other = (LinkedinAdsCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The client ID of your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The client secret of your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/LinkedinPages.java b/src/main/java/com/airbyte/api/models/shared/LinkedinPages.java index 0323eaa02..8ea76b416 100644 --- a/src/main/java/com/airbyte/api/models/shared/LinkedinPages.java +++ b/src/main/java/com/airbyte/api/models/shared/LinkedinPages.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum LinkedinPages { LINKEDIN_PAGES("linkedin-pages"); diff --git a/src/main/java/com/airbyte/api/models/shared/Linnworks.java b/src/main/java/com/airbyte/api/models/shared/Linnworks.java index 9860b50e2..4a509884e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Linnworks.java +++ b/src/main/java/com/airbyte/api/models/shared/Linnworks.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Linnworks { LINNWORKS("linnworks"); diff --git a/src/main/java/com/airbyte/api/models/shared/LoadingMethod.java b/src/main/java/com/airbyte/api/models/shared/LoadingMethod.java index 7c436f1be..9005c7b6a 100644 --- a/src/main/java/com/airbyte/api/models/shared/LoadingMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/LoadingMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * LoadingMethod - The way data will be uploaded to BigQuery. @@ -28,7 +25,7 @@ @JsonDeserialize(using = LoadingMethod._Deserializer.class) public class LoadingMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private LoadingMethod(TypedObject value) { @@ -48,8 +45,8 @@ public static LoadingMethod of(GCSStaging value) { /** * Returns an instance of one of these types: *
      - *
    • {@code BatchedStandardInserts}
    • - *
    • {@code GCSStaging}
    • + *
    • {@code com.airbyte.api.models.shared.BatchedStandardInserts}
    • + *
    • {@code com.airbyte.api.models.shared.GCSStaging}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } LoadingMethod other = (LoadingMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(LoadingMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(LoadingMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Lob.java b/src/main/java/com/airbyte/api/models/shared/Lob.java new file mode 100644 index 000000000..2c3cabb8d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Lob.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Lob { + LOB("lob"); + + @JsonValue + private final String value; + + private Lob(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Local.java b/src/main/java/com/airbyte/api/models/shared/Local.java index 9ff3033e3..8236dcef6 100644 --- a/src/main/java/com/airbyte/api/models/shared/Local.java +++ b/src/main/java/com/airbyte/api/models/shared/Local.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * Local - Process files locally, supporting `fast` and `ocr` modes. This is the default option. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } Local other = (Local) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/LocalFilesystemLimited.java b/src/main/java/com/airbyte/api/models/shared/LocalFilesystemLimited.java index e976c2ed3..790a68c37 100644 --- a/src/main/java/com/airbyte/api/models/shared/LocalFilesystemLimited.java +++ b/src/main/java/com/airbyte/api/models/shared/LocalFilesystemLimited.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class LocalFilesystemLimited { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } LocalFilesystemLimited other = (LocalFilesystemLimited) o; return - java.util.Objects.deepEquals(this.storage, other.storage); + Objects.deepEquals(this.storage, other.storage); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( storage); } diff --git a/src/main/java/com/airbyte/api/models/shared/Logging.java b/src/main/java/com/airbyte/api/models/shared/Logging.java new file mode 100644 index 000000000..fb6c6b465 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Logging.java @@ -0,0 +1,213 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class Logging { + + @JsonIgnore + private Map additionalProperties; + + /** + * Configurate how the messages are logged. + */ + @JsonProperty("logging_config") + private LoggingConfiguration loggingConfig; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("test_destination_type") + private Optional testDestinationType; + + @JsonCreator + public Logging( + @JsonProperty("logging_config") LoggingConfiguration loggingConfig, + @JsonProperty("test_destination_type") Optional testDestinationType) { + Utils.checkNotNull(loggingConfig, "loggingConfig"); + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.additionalProperties = new HashMap<>(); + this.loggingConfig = loggingConfig; + this.testDestinationType = testDestinationType; + } + + public Logging( + LoggingConfiguration loggingConfig) { + this(loggingConfig, Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * Configurate how the messages are logged. + */ + @JsonIgnore + public LoggingConfiguration loggingConfig() { + return loggingConfig; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional testDestinationType() { + return (Optional) testDestinationType; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public Logging withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public Logging withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Configurate how the messages are logged. + */ + public Logging withLoggingConfig(LoggingConfiguration loggingConfig) { + Utils.checkNotNull(loggingConfig, "loggingConfig"); + this.loggingConfig = loggingConfig; + return this; + } + + public Logging withTestDestinationType(TestDestinationType testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = Optional.ofNullable(testDestinationType); + return this; + } + + public Logging withTestDestinationType(Optional testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = testDestinationType; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Logging other = (Logging) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.loggingConfig, other.loggingConfig) && + Objects.deepEquals(this.testDestinationType, other.testDestinationType); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + loggingConfig, + testDestinationType); + } + + @Override + public String toString() { + return Utils.toString(Logging.class, + "additionalProperties", additionalProperties, + "loggingConfig", loggingConfig, + "testDestinationType", testDestinationType); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private LoggingConfiguration loggingConfig; + + private Optional testDestinationType; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Configurate how the messages are logged. + */ + public Builder loggingConfig(LoggingConfiguration loggingConfig) { + Utils.checkNotNull(loggingConfig, "loggingConfig"); + this.loggingConfig = loggingConfig; + return this; + } + + public Builder testDestinationType(TestDestinationType testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = Optional.ofNullable(testDestinationType); + return this; + } + + public Builder testDestinationType(Optional testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = testDestinationType; + return this; + } + + public Logging build() { + if (testDestinationType == null) { + testDestinationType = _SINGLETON_VALUE_TestDestinationType.value(); + } return new Logging( + loggingConfig, + testDestinationType) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_TestDestinationType = + new LazySingletonValue<>( + "test_destination_type", + "\"LOGGING\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/LoggingConfiguration.java b/src/main/java/com/airbyte/api/models/shared/LoggingConfiguration.java new file mode 100644 index 000000000..7cd2a164f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/LoggingConfiguration.java @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * LoggingConfiguration - Configurate how the messages are logged. + */ + +@JsonDeserialize(using = LoggingConfiguration._Deserializer.class) +public class LoggingConfiguration { + + @JsonValue + private TypedObject value; + + private LoggingConfiguration(TypedObject value) { + this.value = value; + } + + public static LoggingConfiguration of(FirstNEntries value) { + Utils.checkNotNull(value, "value"); + return new LoggingConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static LoggingConfiguration of(EveryNThEntry value) { + Utils.checkNotNull(value, "value"); + return new LoggingConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static LoggingConfiguration of(RandomSampling value) { + Utils.checkNotNull(value, "value"); + return new LoggingConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.FirstNEntries}
    • + *
    • {@code com.airbyte.api.models.shared.EveryNThEntry}
    • + *
    • {@code com.airbyte.api.models.shared.RandomSampling}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LoggingConfiguration other = (LoggingConfiguration) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(LoggingConfiguration.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(LoggingConfiguration.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/LoggingType.java b/src/main/java/com/airbyte/api/models/shared/LoggingType.java new file mode 100644 index 000000000..757dba0d4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/LoggingType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum LoggingType { + FIRST_N("FirstN"); + + @JsonValue + private final String value; + + private LoggingType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/LoginPassword.java b/src/main/java/com/airbyte/api/models/shared/LoginPassword.java index 893ca220a..d3c1caeed 100644 --- a/src/main/java/com/airbyte/api/models/shared/LoginPassword.java +++ b/src/main/java/com/airbyte/api/models/shared/LoginPassword.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * LoginPassword - Login/Password. */ @@ -100,14 +100,14 @@ public boolean equals(java.lang.Object o) { } LoginPassword other = (LoginPassword) o; return - java.util.Objects.deepEquals(this.authorization, other.authorization) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.authorization, other.authorization) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authorization, password, username); diff --git a/src/main/java/com/airbyte/api/models/shared/Lokalise.java b/src/main/java/com/airbyte/api/models/shared/Lokalise.java index 03a9b7f45..5af6b7890 100644 --- a/src/main/java/com/airbyte/api/models/shared/Lokalise.java +++ b/src/main/java/com/airbyte/api/models/shared/Lokalise.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Lokalise { LOKALISE("lokalise"); diff --git a/src/main/java/com/airbyte/api/models/shared/Looker.java b/src/main/java/com/airbyte/api/models/shared/Looker.java index 255209b12..2cf54f902 100644 --- a/src/main/java/com/airbyte/api/models/shared/Looker.java +++ b/src/main/java/com/airbyte/api/models/shared/Looker.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Looker { LOOKER("looker"); diff --git a/src/main/java/com/airbyte/api/models/shared/Luma.java b/src/main/java/com/airbyte/api/models/shared/Luma.java index 4602d931a..0b83dcb33 100644 --- a/src/main/java/com/airbyte/api/models/shared/Luma.java +++ b/src/main/java/com/airbyte/api/models/shared/Luma.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Luma { LUMA("luma"); diff --git a/src/main/java/com/airbyte/api/models/shared/Mailchimp.java b/src/main/java/com/airbyte/api/models/shared/Mailchimp.java index a15b7f505..ff0dd7954 100644 --- a/src/main/java/com/airbyte/api/models/shared/Mailchimp.java +++ b/src/main/java/com/airbyte/api/models/shared/Mailchimp.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Mailchimp { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Mailchimp other = (Mailchimp) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/MailchimpCredentials.java b/src/main/java/com/airbyte/api/models/shared/MailchimpCredentials.java index 4a04fbcf0..2845d1904 100644 --- a/src/main/java/com/airbyte/api/models/shared/MailchimpCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/MailchimpCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class MailchimpCredentials { /** @@ -25,19 +24,19 @@ public class MailchimpCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your OAuth application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public MailchimpCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public MailchimpCredentials() { /** * The Client ID of your OAuth application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your OAuth application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public MailchimpCredentials withClientId(String clientId) { /** * The Client ID of your OAuth application. */ - public MailchimpCredentials withClientId(Optional clientId) { + public MailchimpCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public MailchimpCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public MailchimpCredentials withClientSecret(Optional clientSecret) { + public MailchimpCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } MailchimpCredentials other = (MailchimpCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your OAuth application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Mailerlite.java b/src/main/java/com/airbyte/api/models/shared/Mailerlite.java new file mode 100644 index 000000000..a5ce8e996 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Mailerlite.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Mailerlite { + MAILERLITE("mailerlite"); + + @JsonValue + private final String value; + + private Mailerlite(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Mailgun.java b/src/main/java/com/airbyte/api/models/shared/Mailgun.java index fbbf318d0..b3fb1e8a1 100644 --- a/src/main/java/com/airbyte/api/models/shared/Mailgun.java +++ b/src/main/java/com/airbyte/api/models/shared/Mailgun.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Mailgun { MAILGUN("mailgun"); diff --git a/src/main/java/com/airbyte/api/models/shared/MailjetMail.java b/src/main/java/com/airbyte/api/models/shared/MailjetMail.java new file mode 100644 index 000000000..6b1a42896 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/MailjetMail.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum MailjetMail { + MAILJET_MAIL("mailjet-mail"); + + @JsonValue + private final String value; + + private MailjetMail(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/MailjetSms.java b/src/main/java/com/airbyte/api/models/shared/MailjetSms.java index ca12fc7af..de471b828 100644 --- a/src/main/java/com/airbyte/api/models/shared/MailjetSms.java +++ b/src/main/java/com/airbyte/api/models/shared/MailjetSms.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum MailjetSms { MAILJET_SMS("mailjet-sms"); diff --git a/src/main/java/com/airbyte/api/models/shared/Mailosaur.java b/src/main/java/com/airbyte/api/models/shared/Mailosaur.java new file mode 100644 index 000000000..f8f04fbcc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Mailosaur.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Mailosaur { + MAILOSAUR("mailosaur"); + + @JsonValue + private final String value; + + private Mailosaur(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Mailtrap.java b/src/main/java/com/airbyte/api/models/shared/Mailtrap.java new file mode 100644 index 000000000..5568b2307 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Mailtrap.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Mailtrap { + MAILTRAP("mailtrap"); + + @JsonValue + private final String value; + + private Mailtrap(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/MapperConfiguration.java b/src/main/java/com/airbyte/api/models/shared/MapperConfiguration.java new file mode 100644 index 000000000..c770564e8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/MapperConfiguration.java @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + +/** + * MapperConfiguration - The values required to configure the mapper. + */ + +public class MapperConfiguration { + + @JsonCreator + public MapperConfiguration() { + + + } + + public final static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash( + ); + } + + @Override + public String toString() { + return Utils.toString(MapperConfiguration.class); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public MapperConfiguration build() { + return new MapperConfiguration( + ); + } + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/MarketNewsCategory.java b/src/main/java/com/airbyte/api/models/shared/MarketNewsCategory.java new file mode 100644 index 000000000..92deca1e5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/MarketNewsCategory.java @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * MarketNewsCategory - This parameter can be 1 of the following values general, forex, crypto, merger. + */ +public enum MarketNewsCategory { + GENERAL("general"), + FOREX("forex"), + CRYPTO("crypto"), + MERGER("merger"); + + @JsonValue + private final String value; + + private MarketNewsCategory(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Marketo.java b/src/main/java/com/airbyte/api/models/shared/Marketo.java index 2d4845686..b00c1ab24 100644 --- a/src/main/java/com/airbyte/api/models/shared/Marketo.java +++ b/src/main/java/com/airbyte/api/models/shared/Marketo.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Marketo { MARKETO("marketo"); diff --git a/src/main/java/com/airbyte/api/models/shared/Marketstack.java b/src/main/java/com/airbyte/api/models/shared/Marketstack.java new file mode 100644 index 000000000..6c21a6546 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Marketstack.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Marketstack { + MARKETSTACK("marketstack"); + + @JsonValue + private final String value; + + private Marketstack(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Mention.java b/src/main/java/com/airbyte/api/models/shared/Mention.java new file mode 100644 index 000000000..628632177 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Mention.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Mention { + MENTION("mention"); + + @JsonValue + private final String value; + + private Mention(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Metabase.java b/src/main/java/com/airbyte/api/models/shared/Metabase.java index 0ce9498ee..627c23d3e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Metabase.java +++ b/src/main/java/com/airbyte/api/models/shared/Metabase.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Metabase { METABASE("metabase"); diff --git a/src/main/java/com/airbyte/api/models/shared/Method.java b/src/main/java/com/airbyte/api/models/shared/Method.java index df66ea98d..7a1210690 100644 --- a/src/main/java/com/airbyte/api/models/shared/Method.java +++ b/src/main/java/com/airbyte/api/models/shared/Method.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Method { STANDARD("Standard"); diff --git a/src/main/java/com/airbyte/api/models/shared/MetricsFilter.java b/src/main/java/com/airbyte/api/models/shared/MetricsFilter.java index d73157348..66234743d 100644 --- a/src/main/java/com/airbyte/api/models/shared/MetricsFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/MetricsFilter.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * MetricsFilter - Metrics filter @@ -28,7 +25,7 @@ @JsonDeserialize(using = MetricsFilter._Deserializer.class) public class MetricsFilter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private MetricsFilter(TypedObject value) { @@ -58,10 +55,10 @@ public static MetricsFilter of(SourceGoogleAnalyticsDataApiSchemasFilter value) /** * Returns an instance of one of these types: *
      - *
    • {@code SourceGoogleAnalyticsDataApiAndGroup}
    • - *
    • {@code SourceGoogleAnalyticsDataApiOrGroup}
    • - *
    • {@code SourceGoogleAnalyticsDataApiNotExpression}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiAndGroup}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiOrGroup}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiNotExpression}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -88,23 +85,23 @@ public boolean equals(java.lang.Object o) { return false; } MetricsFilter other = (MetricsFilter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(MetricsFilter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(MetricsFilter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/MicrosoftDataverse.java b/src/main/java/com/airbyte/api/models/shared/MicrosoftDataverse.java new file mode 100644 index 000000000..0ea1d6ab6 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/MicrosoftDataverse.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum MicrosoftDataverse { + MICROSOFT_DATAVERSE("microsoft-dataverse"); + + @JsonValue + private final String value; + + private MicrosoftDataverse(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/MicrosoftEntraId.java b/src/main/java/com/airbyte/api/models/shared/MicrosoftEntraId.java new file mode 100644 index 000000000..df7396acd --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/MicrosoftEntraId.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum MicrosoftEntraId { + MICROSOFT_ENTRA_ID("microsoft-entra-id"); + + @JsonValue + private final String value; + + private MicrosoftEntraId(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/MicrosoftLists.java b/src/main/java/com/airbyte/api/models/shared/MicrosoftLists.java new file mode 100644 index 000000000..89c17466f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/MicrosoftLists.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum MicrosoftLists { + MICROSOFT_LISTS("microsoft-lists"); + + @JsonValue + private final String value; + + private MicrosoftLists(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/MicrosoftOnedrive.java b/src/main/java/com/airbyte/api/models/shared/MicrosoftOnedrive.java index 187bcd220..de57ed49c 100644 --- a/src/main/java/com/airbyte/api/models/shared/MicrosoftOnedrive.java +++ b/src/main/java/com/airbyte/api/models/shared/MicrosoftOnedrive.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class MicrosoftOnedrive { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } MicrosoftOnedrive other = (MicrosoftOnedrive) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/MicrosoftOnedriveCredentials.java b/src/main/java/com/airbyte/api/models/shared/MicrosoftOnedriveCredentials.java index 1d13c1331..7b8a6f687 100644 --- a/src/main/java/com/airbyte/api/models/shared/MicrosoftOnedriveCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/MicrosoftOnedriveCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class MicrosoftOnedriveCredentials { /** @@ -25,19 +24,19 @@ public class MicrosoftOnedriveCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Client Secret of your Microsoft developer application */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public MicrosoftOnedriveCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public MicrosoftOnedriveCredentials() { /** * Client ID of your Microsoft developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Client Secret of your Microsoft developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public MicrosoftOnedriveCredentials withClientId(String clientId) { /** * Client ID of your Microsoft developer application */ - public MicrosoftOnedriveCredentials withClientId(Optional clientId) { + public MicrosoftOnedriveCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public MicrosoftOnedriveCredentials withClientSecret(String clientSecret) { /** * Client Secret of your Microsoft developer application */ - public MicrosoftOnedriveCredentials withClientSecret(Optional clientSecret) { + public MicrosoftOnedriveCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } MicrosoftOnedriveCredentials other = (MicrosoftOnedriveCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * Client ID of your Microsoft developer application */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * Client Secret of your Microsoft developer application */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/MicrosoftSharepoint.java b/src/main/java/com/airbyte/api/models/shared/MicrosoftSharepoint.java index 5948a1fe8..a50450980 100644 --- a/src/main/java/com/airbyte/api/models/shared/MicrosoftSharepoint.java +++ b/src/main/java/com/airbyte/api/models/shared/MicrosoftSharepoint.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class MicrosoftSharepoint { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } MicrosoftSharepoint other = (MicrosoftSharepoint) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/MicrosoftSharepointCredentials.java b/src/main/java/com/airbyte/api/models/shared/MicrosoftSharepointCredentials.java index 626a7fcf7..f97c108a3 100644 --- a/src/main/java/com/airbyte/api/models/shared/MicrosoftSharepointCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/MicrosoftSharepointCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class MicrosoftSharepointCredentials { /** @@ -25,19 +24,19 @@ public class MicrosoftSharepointCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Client Secret of your Microsoft developer application */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public MicrosoftSharepointCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public MicrosoftSharepointCredentials() { /** * Client ID of your Microsoft developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Client Secret of your Microsoft developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public MicrosoftSharepointCredentials withClientId(String clientId) { /** * Client ID of your Microsoft developer application */ - public MicrosoftSharepointCredentials withClientId(Optional clientId) { + public MicrosoftSharepointCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public MicrosoftSharepointCredentials withClientSecret(String clientSecret) { /** * Client Secret of your Microsoft developer application */ - public MicrosoftSharepointCredentials withClientSecret(Optional clientSecret) { + public MicrosoftSharepointCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } MicrosoftSharepointCredentials other = (MicrosoftSharepointCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * Client ID of your Microsoft developer application */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * Client Secret of your Microsoft developer application */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/MicrosoftTeams.java b/src/main/java/com/airbyte/api/models/shared/MicrosoftTeams.java index 6e2042890..3df87df81 100644 --- a/src/main/java/com/airbyte/api/models/shared/MicrosoftTeams.java +++ b/src/main/java/com/airbyte/api/models/shared/MicrosoftTeams.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class MicrosoftTeams { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } MicrosoftTeams other = (MicrosoftTeams) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/MicrosoftTeamsCredentials.java b/src/main/java/com/airbyte/api/models/shared/MicrosoftTeamsCredentials.java index ae455a76e..3562fc6e4 100644 --- a/src/main/java/com/airbyte/api/models/shared/MicrosoftTeamsCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/MicrosoftTeamsCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class MicrosoftTeamsCredentials { /** @@ -25,19 +24,19 @@ public class MicrosoftTeamsCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your Microsoft Teams developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public MicrosoftTeamsCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public MicrosoftTeamsCredentials() { /** * The Client ID of your Microsoft Teams developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your Microsoft Teams developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public MicrosoftTeamsCredentials withClientId(String clientId) { /** * The Client ID of your Microsoft Teams developer application. */ - public MicrosoftTeamsCredentials withClientId(Optional clientId) { + public MicrosoftTeamsCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public MicrosoftTeamsCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your Microsoft Teams developer application. */ - public MicrosoftTeamsCredentials withClientSecret(Optional clientSecret) { + public MicrosoftTeamsCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } MicrosoftTeamsCredentials other = (MicrosoftTeamsCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your Microsoft Teams developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Microsoft Teams developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Milvus.java b/src/main/java/com/airbyte/api/models/shared/Milvus.java index 90195ea40..2bf46bc53 100644 --- a/src/main/java/com/airbyte/api/models/shared/Milvus.java +++ b/src/main/java/com/airbyte/api/models/shared/Milvus.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Milvus { MILVUS("milvus"); diff --git a/src/main/java/com/airbyte/api/models/shared/Miro.java b/src/main/java/com/airbyte/api/models/shared/Miro.java new file mode 100644 index 000000000..e34ed674c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Miro.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Miro { + MIRO("miro"); + + @JsonValue + private final String value; + + private Miro(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Missive.java b/src/main/java/com/airbyte/api/models/shared/Missive.java new file mode 100644 index 000000000..9a341ba7d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Missive.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Missive { + MISSIVE("missive"); + + @JsonValue + private final String value; + + private Missive(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Mixmax.java b/src/main/java/com/airbyte/api/models/shared/Mixmax.java new file mode 100644 index 000000000..bcec4202c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Mixmax.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Mixmax { + MIXMAX("mixmax"); + + @JsonValue + private final String value; + + private Mixmax(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Mixpanel.java b/src/main/java/com/airbyte/api/models/shared/Mixpanel.java index 55f5e9a4a..88201a295 100644 --- a/src/main/java/com/airbyte/api/models/shared/Mixpanel.java +++ b/src/main/java/com/airbyte/api/models/shared/Mixpanel.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Mixpanel { MIXPANEL("mixpanel"); diff --git a/src/main/java/com/airbyte/api/models/shared/Mode.java b/src/main/java/com/airbyte/api/models/shared/Mode.java index 403bfa312..621d1275d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/Mode.java @@ -1,22 +1,14 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Mode { - DISABLE("disable"); + MODE("mode"); @JsonValue private final String value; diff --git a/src/main/java/com/airbyte/api/models/shared/Monday.java b/src/main/java/com/airbyte/api/models/shared/Monday.java index 48ff2e5ac..6cd47fe36 100644 --- a/src/main/java/com/airbyte/api/models/shared/Monday.java +++ b/src/main/java/com/airbyte/api/models/shared/Monday.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Monday { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Monday other = (Monday) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/MondayCredentials.java b/src/main/java/com/airbyte/api/models/shared/MondayCredentials.java index 4e54a038e..fb7190f1a 100644 --- a/src/main/java/com/airbyte/api/models/shared/MondayCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/MondayCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class MondayCredentials { /** @@ -25,19 +24,19 @@ public class MondayCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your OAuth application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public MondayCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public MondayCredentials() { /** * The Client ID of your OAuth application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your OAuth application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public MondayCredentials withClientId(String clientId) { /** * The Client ID of your OAuth application. */ - public MondayCredentials withClientId(Optional clientId) { + public MondayCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public MondayCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public MondayCredentials withClientSecret(Optional clientSecret) { + public MondayCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } MondayCredentials other = (MondayCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your OAuth application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/MongoDBAtlas.java b/src/main/java/com/airbyte/api/models/shared/MongoDBAtlas.java index 7a207f643..d99abd883 100644 --- a/src/main/java/com/airbyte/api/models/shared/MongoDBAtlas.java +++ b/src/main/java/com/airbyte/api/models/shared/MongoDBAtlas.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class MongoDBAtlas { /** @@ -95,13 +96,13 @@ public boolean equals(java.lang.Object o) { } MongoDBAtlas other = (MongoDBAtlas) o; return - java.util.Objects.deepEquals(this.clusterUrl, other.clusterUrl) && - java.util.Objects.deepEquals(this.instance, other.instance); + Objects.deepEquals(this.clusterUrl, other.clusterUrl) && + Objects.deepEquals(this.instance, other.instance); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clusterUrl, instance); } @@ -147,8 +148,7 @@ public Builder instance(Optional in public MongoDBAtlas build() { if (instance == null) { instance = _SINGLETON_VALUE_Instance.value(); - } - return new MongoDBAtlas( + } return new MongoDBAtlas( clusterUrl, instance); } diff --git a/src/main/java/com/airbyte/api/models/shared/MongoDBAtlasReplicaSet.java b/src/main/java/com/airbyte/api/models/shared/MongoDBAtlasReplicaSet.java new file mode 100644 index 000000000..be381ee1c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/MongoDBAtlasReplicaSet.java @@ -0,0 +1,446 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +/** + * MongoDBAtlasReplicaSet - MongoDB Atlas-hosted cluster configured as a replica set + */ + +public class MongoDBAtlasReplicaSet { + + @JsonIgnore + private Map additionalProperties; + + /** + * The authentication source where the user information is stored. See https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.authSource for more details. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_source") + private Optional authSource; + + @JsonProperty("cluster_type") + private SourceMongodbV2ClusterType clusterType; + + /** + * The connection string of the cluster that you want to replicate. + */ + @JsonProperty("connection_string") + private String connectionString; + + /** + * The name of the MongoDB database that contains the collection(s) to replicate. + */ + @JsonProperty("database") + private String database; + + /** + * The password associated with this username. + */ + @JsonProperty("password") + private String password; + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schema_enforced") + private Optional schemaEnforced; + + /** + * The username which is used to access the database. + */ + @JsonProperty("username") + private String username; + + @JsonCreator + public MongoDBAtlasReplicaSet( + @JsonProperty("auth_source") Optional authSource, + @JsonProperty("connection_string") String connectionString, + @JsonProperty("database") String database, + @JsonProperty("password") String password, + @JsonProperty("schema_enforced") Optional schemaEnforced, + @JsonProperty("username") String username) { + Utils.checkNotNull(authSource, "authSource"); + Utils.checkNotNull(connectionString, "connectionString"); + Utils.checkNotNull(database, "database"); + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + Utils.checkNotNull(username, "username"); + this.additionalProperties = new HashMap<>(); + this.authSource = authSource; + this.clusterType = Builder._SINGLETON_VALUE_ClusterType.value(); + this.connectionString = connectionString; + this.database = database; + this.password = password; + this.schemaEnforced = schemaEnforced; + this.username = username; + } + + public MongoDBAtlasReplicaSet( + String connectionString, + String database, + String password, + String username) { + this(Optional.empty(), connectionString, database, password, Optional.empty(), username); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * The authentication source where the user information is stored. See https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.authSource for more details. + */ + @JsonIgnore + public Optional authSource() { + return authSource; + } + + @JsonIgnore + public SourceMongodbV2ClusterType clusterType() { + return clusterType; + } + + /** + * The connection string of the cluster that you want to replicate. + */ + @JsonIgnore + public String connectionString() { + return connectionString; + } + + /** + * The name of the MongoDB database that contains the collection(s) to replicate. + */ + @JsonIgnore + public String database() { + return database; + } + + /** + * The password associated with this username. + */ + @JsonIgnore + public String password() { + return password; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + @JsonIgnore + public Optional schemaEnforced() { + return schemaEnforced; + } + + /** + * The username which is used to access the database. + */ + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public MongoDBAtlasReplicaSet withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public MongoDBAtlasReplicaSet withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The authentication source where the user information is stored. See https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.authSource for more details. + */ + public MongoDBAtlasReplicaSet withAuthSource(String authSource) { + Utils.checkNotNull(authSource, "authSource"); + this.authSource = Optional.ofNullable(authSource); + return this; + } + + /** + * The authentication source where the user information is stored. See https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.authSource for more details. + */ + public MongoDBAtlasReplicaSet withAuthSource(Optional authSource) { + Utils.checkNotNull(authSource, "authSource"); + this.authSource = authSource; + return this; + } + + /** + * The connection string of the cluster that you want to replicate. + */ + public MongoDBAtlasReplicaSet withConnectionString(String connectionString) { + Utils.checkNotNull(connectionString, "connectionString"); + this.connectionString = connectionString; + return this; + } + + /** + * The name of the MongoDB database that contains the collection(s) to replicate. + */ + public MongoDBAtlasReplicaSet withDatabase(String database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + /** + * The password associated with this username. + */ + public MongoDBAtlasReplicaSet withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + public MongoDBAtlasReplicaSet withSchemaEnforced(boolean schemaEnforced) { + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + this.schemaEnforced = Optional.ofNullable(schemaEnforced); + return this; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + public MongoDBAtlasReplicaSet withSchemaEnforced(Optional schemaEnforced) { + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + this.schemaEnforced = schemaEnforced; + return this; + } + + /** + * The username which is used to access the database. + */ + public MongoDBAtlasReplicaSet withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MongoDBAtlasReplicaSet other = (MongoDBAtlasReplicaSet) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.authSource, other.authSource) && + Objects.deepEquals(this.clusterType, other.clusterType) && + Objects.deepEquals(this.connectionString, other.connectionString) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.schemaEnforced, other.schemaEnforced) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + authSource, + clusterType, + connectionString, + database, + password, + schemaEnforced, + username); + } + + @Override + public String toString() { + return Utils.toString(MongoDBAtlasReplicaSet.class, + "additionalProperties", additionalProperties, + "authSource", authSource, + "clusterType", clusterType, + "connectionString", connectionString, + "database", database, + "password", password, + "schemaEnforced", schemaEnforced, + "username", username); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Optional authSource; + + private String connectionString; + + private String database; + + private String password; + + private Optional schemaEnforced; + + private String username; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The authentication source where the user information is stored. See https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.authSource for more details. + */ + public Builder authSource(String authSource) { + Utils.checkNotNull(authSource, "authSource"); + this.authSource = Optional.ofNullable(authSource); + return this; + } + + /** + * The authentication source where the user information is stored. See https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.authSource for more details. + */ + public Builder authSource(Optional authSource) { + Utils.checkNotNull(authSource, "authSource"); + this.authSource = authSource; + return this; + } + + /** + * The connection string of the cluster that you want to replicate. + */ + public Builder connectionString(String connectionString) { + Utils.checkNotNull(connectionString, "connectionString"); + this.connectionString = connectionString; + return this; + } + + /** + * The name of the MongoDB database that contains the collection(s) to replicate. + */ + public Builder database(String database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + /** + * The password associated with this username. + */ + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + public Builder schemaEnforced(boolean schemaEnforced) { + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + this.schemaEnforced = Optional.ofNullable(schemaEnforced); + return this; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + public Builder schemaEnforced(Optional schemaEnforced) { + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + this.schemaEnforced = schemaEnforced; + return this; + } + + /** + * The username which is used to access the database. + */ + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public MongoDBAtlasReplicaSet build() { + if (authSource == null) { + authSource = _SINGLETON_VALUE_AuthSource.value(); + } + if (schemaEnforced == null) { + schemaEnforced = _SINGLETON_VALUE_SchemaEnforced.value(); + } return new MongoDBAtlasReplicaSet( + authSource, + connectionString, + database, + password, + schemaEnforced, + username) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthSource = + new LazySingletonValue<>( + "auth_source", + "\"admin\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_ClusterType = + new LazySingletonValue<>( + "cluster_type", + "\"ATLAS_REPLICA_SET\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SchemaEnforced = + new LazySingletonValue<>( + "schema_enforced", + "true", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/MongoDbInstanceType.java b/src/main/java/com/airbyte/api/models/shared/MongoDbInstanceType.java index 23ea4afb8..f960319f7 100644 --- a/src/main/java/com/airbyte/api/models/shared/MongoDbInstanceType.java +++ b/src/main/java/com/airbyte/api/models/shared/MongoDbInstanceType.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * MongoDbInstanceType - MongoDb instance to connect to. For MongoDB Atlas and Replica Set TLS connection is used by default. @@ -28,7 +25,7 @@ @JsonDeserialize(using = MongoDbInstanceType._Deserializer.class) public class MongoDbInstanceType { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private MongoDbInstanceType(TypedObject value) { @@ -53,9 +50,9 @@ public static MongoDbInstanceType of(MongoDBAtlas value) { /** * Returns an instance of one of these types: *

      - *
    • {@code StandaloneMongoDbInstance}
    • - *
    • {@code ReplicaSet}
    • - *
    • {@code MongoDBAtlas}
    • + *
    • {@code com.airbyte.api.models.shared.StandaloneMongoDbInstance}
    • + *
    • {@code com.airbyte.api.models.shared.ReplicaSet}
    • + *
    • {@code com.airbyte.api.models.shared.MongoDBAtlas}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } MongoDbInstanceType other = (MongoDbInstanceType) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(MongoDbInstanceType.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(MongoDbInstanceType.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Mongodb.java b/src/main/java/com/airbyte/api/models/shared/Mongodb.java index be4d2f566..092746746 100644 --- a/src/main/java/com/airbyte/api/models/shared/Mongodb.java +++ b/src/main/java/com/airbyte/api/models/shared/Mongodb.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Mongodb { MONGODB("mongodb"); diff --git a/src/main/java/com/airbyte/api/models/shared/MongodbV2.java b/src/main/java/com/airbyte/api/models/shared/MongodbV2.java index 7283d527d..c6bf23279 100644 --- a/src/main/java/com/airbyte/api/models/shared/MongodbV2.java +++ b/src/main/java/com/airbyte/api/models/shared/MongodbV2.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum MongodbV2 { MONGODB_V2("mongodb-v2"); diff --git a/src/main/java/com/airbyte/api/models/shared/Motherduck.java b/src/main/java/com/airbyte/api/models/shared/Motherduck.java new file mode 100644 index 000000000..84962b592 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Motherduck.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Motherduck { + MOTHERDUCK("motherduck"); + + @JsonValue + private final String value; + + private Motherduck(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Mssql.java b/src/main/java/com/airbyte/api/models/shared/Mssql.java index 9f64afe9e..de0d20ac0 100644 --- a/src/main/java/com/airbyte/api/models/shared/Mssql.java +++ b/src/main/java/com/airbyte/api/models/shared/Mssql.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Mssql { MSSQL("mssql"); diff --git a/src/main/java/com/airbyte/api/models/shared/Mux.java b/src/main/java/com/airbyte/api/models/shared/Mux.java new file mode 100644 index 000000000..b882294f4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Mux.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Mux { + MUX("mux"); + + @JsonValue + private final String value; + + private Mux(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/MyHours.java b/src/main/java/com/airbyte/api/models/shared/MyHours.java index 0871574df..b53d2117a 100644 --- a/src/main/java/com/airbyte/api/models/shared/MyHours.java +++ b/src/main/java/com/airbyte/api/models/shared/MyHours.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum MyHours { MY_HOURS("my-hours"); diff --git a/src/main/java/com/airbyte/api/models/shared/Mysql.java b/src/main/java/com/airbyte/api/models/shared/Mysql.java index 1b8cad77c..2616d32ba 100644 --- a/src/main/java/com/airbyte/api/models/shared/Mysql.java +++ b/src/main/java/com/airbyte/api/models/shared/Mysql.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Mysql { MYSQL("mysql"); diff --git a/src/main/java/com/airbyte/api/models/shared/N8n.java b/src/main/java/com/airbyte/api/models/shared/N8n.java new file mode 100644 index 000000000..7d57ba7e9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/N8n.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum N8n { + N8N("n8n"); + + @JsonValue + private final String value; + + private N8n(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnum.java b/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnum.java index 9b2bc3c3f..b452cda0b 100644 --- a/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * NamespaceDefinitionEnum - Define the location where the data will be stored in the destination diff --git a/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java b/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java index f404eec17..8755fd9e7 100644 --- a/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java +++ b/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * NamespaceDefinitionEnumNoDefault - Define the location where the data will be stored in the destination diff --git a/src/main/java/com/airbyte/api/models/shared/Nasa.java b/src/main/java/com/airbyte/api/models/shared/Nasa.java new file mode 100644 index 000000000..6e44422f8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Nasa.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Nasa { + NASA("nasa"); + + @JsonValue + private final String value; + + private Nasa(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/NativeNetworkEncryptionNNE.java b/src/main/java/com/airbyte/api/models/shared/NativeNetworkEncryptionNNE.java index 93c147a2e..9ecd1a96d 100644 --- a/src/main/java/com/airbyte/api/models/shared/NativeNetworkEncryptionNNE.java +++ b/src/main/java/com/airbyte/api/models/shared/NativeNetworkEncryptionNNE.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * NativeNetworkEncryptionNNE - The native network encryption gives you the ability to encrypt database connections, without the configuration overhead of TCP/IP and SSL/TLS and without the need to open and listen on different ports. */ @@ -94,13 +95,13 @@ public boolean equals(java.lang.Object o) { } NativeNetworkEncryptionNNE other = (NativeNetworkEncryptionNNE) o; return - java.util.Objects.deepEquals(this.encryptionAlgorithm, other.encryptionAlgorithm) && - java.util.Objects.deepEquals(this.encryptionMethod, other.encryptionMethod); + Objects.deepEquals(this.encryptionAlgorithm, other.encryptionAlgorithm) && + Objects.deepEquals(this.encryptionMethod, other.encryptionMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( encryptionAlgorithm, encryptionMethod); } @@ -141,8 +142,7 @@ public Builder encryptionAlgorithm(Optional encry public NativeNetworkEncryptionNNE build() { if (encryptionAlgorithm == null) { encryptionAlgorithm = _SINGLETON_VALUE_EncryptionAlgorithm.value(); - } - return new NativeNetworkEncryptionNNE( + } return new NativeNetworkEncryptionNNE( encryptionAlgorithm); } diff --git a/src/main/java/com/airbyte/api/models/shared/Netsuite.java b/src/main/java/com/airbyte/api/models/shared/Netsuite.java index 3f20ee752..8f081d236 100644 --- a/src/main/java/com/airbyte/api/models/shared/Netsuite.java +++ b/src/main/java/com/airbyte/api/models/shared/Netsuite.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Netsuite { NETSUITE("netsuite"); diff --git a/src/main/java/com/airbyte/api/models/shared/NewsApi.java b/src/main/java/com/airbyte/api/models/shared/NewsApi.java new file mode 100644 index 000000000..370879d9c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/NewsApi.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum NewsApi { + NEWS_API("news-api"); + + @JsonValue + private final String value; + + private NewsApi(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/NewsdataIo.java b/src/main/java/com/airbyte/api/models/shared/NewsdataIo.java new file mode 100644 index 000000000..5ced9a69d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/NewsdataIo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum NewsdataIo { + NEWSDATA_IO("newsdata-io"); + + @JsonValue + private final String value; + + private NewsdataIo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/NoAuth.java b/src/main/java/com/airbyte/api/models/shared/NoAuth.java index afcb2be89..713593e11 100644 --- a/src/main/java/com/airbyte/api/models/shared/NoAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/NoAuth.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * NoAuth - Do not authenticate (suitable for locally running test clusters, do not use for clusters with public IP addresses) */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } NoAuth other = (NoAuth) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/NoAuthentication.java b/src/main/java/com/airbyte/api/models/shared/NoAuthentication.java index c51e4130a..8be3082fb 100644 --- a/src/main/java/com/airbyte/api/models/shared/NoAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/NoAuthentication.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * NoAuthentication - Do not authenticate (suitable for locally running test clusters, do not use for clusters with public IP addresses) */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } NoAuthentication other = (NoAuthentication) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/NoCompression.java b/src/main/java/com/airbyte/api/models/shared/NoCompression.java index 027197e15..771953ff6 100644 --- a/src/main/java/com/airbyte/api/models/shared/NoCompression.java +++ b/src/main/java/com/airbyte/api/models/shared/NoCompression.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class NoCompression { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } NoCompression other = (NoCompression) o; return - java.util.Objects.deepEquals(this.codec, other.codec); + Objects.deepEquals(this.codec, other.codec); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec); } @@ -106,8 +107,7 @@ public Builder codec(Optional codec) { public NoCompression build() { if (codec == null) { codec = _SINGLETON_VALUE_Codec.value(); - } - return new NoCompression( + } return new NoCompression( codec); } diff --git a/src/main/java/com/airbyte/api/models/shared/NoExternalEmbedding.java b/src/main/java/com/airbyte/api/models/shared/NoExternalEmbedding.java index beb469cc6..a188d0a40 100644 --- a/src/main/java/com/airbyte/api/models/shared/NoExternalEmbedding.java +++ b/src/main/java/com/airbyte/api/models/shared/NoExternalEmbedding.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * NoExternalEmbedding - Do not calculate and pass embeddings to Weaviate. Suitable for clusters with configured vectorizers to calculate embeddings within Weaviate or for classes that should only support regular text search. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } NoExternalEmbedding other = (NoExternalEmbedding) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/NoTunnel.java b/src/main/java/com/airbyte/api/models/shared/NoTunnel.java index ec5932c51..7cb737eb5 100644 --- a/src/main/java/com/airbyte/api/models/shared/NoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/NoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class NoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } NoTunnel other = (NoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/Nocrm.java b/src/main/java/com/airbyte/api/models/shared/Nocrm.java new file mode 100644 index 000000000..54e6a8a14 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Nocrm.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Nocrm { + NOCRM("nocrm"); + + @JsonValue + private final String value; + + private Nocrm(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnum.java b/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnum.java index 3a3fdea42..4e738155d 100644 --- a/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * NonBreakingSchemaUpdatesBehaviorEnum - Set how Airbyte handles syncs when it detects a non-breaking schema change in the source diff --git a/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java b/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java index 618114055..4c9bd878a 100644 --- a/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java +++ b/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * NonBreakingSchemaUpdatesBehaviorEnumNoDefault - Set how Airbyte handles syncs when it detects a non-breaking schema change in the source diff --git a/src/main/java/com/airbyte/api/models/shared/None.java b/src/main/java/com/airbyte/api/models/shared/None.java index 1e1667ce7..d61f1696e 100644 --- a/src/main/java/com/airbyte/api/models/shared/None.java +++ b/src/main/java/com/airbyte/api/models/shared/None.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * None - No authentication will be used */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } None other = (None) o; return - java.util.Objects.deepEquals(this.method, other.method); + Objects.deepEquals(this.method, other.method); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( method); } diff --git a/src/main/java/com/airbyte/api/models/shared/Normalization.java b/src/main/java/com/airbyte/api/models/shared/Normalization.java index 850eb6676..ec12c3af5 100644 --- a/src/main/java/com/airbyte/api/models/shared/Normalization.java +++ b/src/main/java/com/airbyte/api/models/shared/Normalization.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Normalization - Whether the input JSON data should be normalized (flattened) in the output CSV. Please refer to docs for details. diff --git a/src/main/java/com/airbyte/api/models/shared/NormalizationFlattening.java b/src/main/java/com/airbyte/api/models/shared/NormalizationFlattening.java index 5d1d11c06..353d7e98f 100644 --- a/src/main/java/com/airbyte/api/models/shared/NormalizationFlattening.java +++ b/src/main/java/com/airbyte/api/models/shared/NormalizationFlattening.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * NormalizationFlattening - Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details. diff --git a/src/main/java/com/airbyte/api/models/shared/NorthpassLms.java b/src/main/java/com/airbyte/api/models/shared/NorthpassLms.java index 85c3c91e7..6c52e1601 100644 --- a/src/main/java/com/airbyte/api/models/shared/NorthpassLms.java +++ b/src/main/java/com/airbyte/api/models/shared/NorthpassLms.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum NorthpassLms { NORTHPASS_LMS("northpass-lms"); diff --git a/src/main/java/com/airbyte/api/models/shared/NotExpression.java b/src/main/java/com/airbyte/api/models/shared/NotExpression.java index f16edfeaf..bdfc5ef59 100644 --- a/src/main/java/com/airbyte/api/models/shared/NotExpression.java +++ b/src/main/java/com/airbyte/api/models/shared/NotExpression.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * NotExpression - The FilterExpression is NOT of notExpression. */ @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } NotExpression other = (NotExpression) o; return - java.util.Objects.deepEquals(this.expression, other.expression) && - java.util.Objects.deepEquals(this.filterType, other.filterType); + Objects.deepEquals(this.expression, other.expression) && + Objects.deepEquals(this.filterType, other.filterType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( expression, filterType); } diff --git a/src/main/java/com/airbyte/api/models/shared/Notion.java b/src/main/java/com/airbyte/api/models/shared/Notion.java index 008fc67c0..fd12e3df0 100644 --- a/src/main/java/com/airbyte/api/models/shared/Notion.java +++ b/src/main/java/com/airbyte/api/models/shared/Notion.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Notion { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Notion other = (Notion) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/NotionCredentials.java b/src/main/java/com/airbyte/api/models/shared/NotionCredentials.java index ab786f23a..ac858dc40 100644 --- a/src/main/java/com/airbyte/api/models/shared/NotionCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/NotionCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class NotionCredentials { /** @@ -25,19 +24,19 @@ public class NotionCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your Notion integration. See our <a href='https://docs.airbyte.com/integrations/sources/notion#step-2-set-permissions-and-acquire-authorization-credentials'>docs</a> for more information. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public NotionCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public NotionCredentials() { /** * The Client ID of your Notion integration. See our <a href='https://docs.airbyte.com/integrations/sources/notion#step-2-set-permissions-and-acquire-authorization-credentials'>docs</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your Notion integration. See our <a href='https://docs.airbyte.com/integrations/sources/notion#step-2-set-permissions-and-acquire-authorization-credentials'>docs</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public NotionCredentials withClientId(String clientId) { /** * The Client ID of your Notion integration. See our <a href='https://docs.airbyte.com/integrations/sources/notion#step-2-set-permissions-and-acquire-authorization-credentials'>docs</a> for more information. */ - public NotionCredentials withClientId(Optional clientId) { + public NotionCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public NotionCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your Notion integration. See our <a href='https://docs.airbyte.com/integrations/sources/notion#step-2-set-permissions-and-acquire-authorization-credentials'>docs</a> for more information. */ - public NotionCredentials withClientSecret(Optional clientSecret) { + public NotionCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } NotionCredentials other = (NotionCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your Notion integration. See our <a href='https://docs.airbyte.com/integrations/sources/notion#step-2-set-permissions-and-acquire-authorization-credentials'>docs</a> for more information. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Notion integration. See our <a href='https://docs.airbyte.com/integrations/sources/notion#step-2-set-permissions-and-acquire-authorization-credentials'>docs</a> for more information. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Nullable.java b/src/main/java/com/airbyte/api/models/shared/Nullable.java index 08d9e14e0..e67b87128 100644 --- a/src/main/java/com/airbyte/api/models/shared/Nullable.java +++ b/src/main/java/com/airbyte/api/models/shared/Nullable.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Nullable { TITLE("title"), diff --git a/src/main/java/com/airbyte/api/models/shared/NumericFilter.java b/src/main/java/com/airbyte/api/models/shared/NumericFilter.java index b10787fc3..882746030 100644 --- a/src/main/java/com/airbyte/api/models/shared/NumericFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/NumericFilter.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class NumericFilter { @@ -22,14 +23,14 @@ public class NumericFilter { private SourceGoogleAnalyticsDataApiSchemasFilterName filterName; @JsonProperty("operation") - private java.util.List operation; + private List operation; @JsonProperty("value") private Value value; @JsonCreator public NumericFilter( - @JsonProperty("operation") java.util.List operation, + @JsonProperty("operation") List operation, @JsonProperty("value") Value value) { Utils.checkNotNull(operation, "operation"); Utils.checkNotNull(value, "value"); @@ -44,7 +45,7 @@ public SourceGoogleAnalyticsDataApiSchemasFilterName filterName() { } @JsonIgnore - public java.util.List operation() { + public List operation() { return operation; } @@ -57,7 +58,7 @@ public final static Builder builder() { return new Builder(); } - public NumericFilter withOperation(java.util.List operation) { + public NumericFilter withOperation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; @@ -79,14 +80,14 @@ public boolean equals(java.lang.Object o) { } NumericFilter other = (NumericFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.operation, other.operation) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.operation, other.operation) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, operation, value); @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private java.util.List operation; + private List operation; private Value value; @@ -110,7 +111,7 @@ private Builder() { // force use of static builder() method } - public Builder operation(java.util.List operation) { + public Builder operation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Nutshell.java b/src/main/java/com/airbyte/api/models/shared/Nutshell.java new file mode 100644 index 000000000..210f13921 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Nutshell.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Nutshell { + NUTSHELL("nutshell"); + + @JsonValue + private final String value; + + private Nutshell(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Nylas.java b/src/main/java/com/airbyte/api/models/shared/Nylas.java index 093cf84f1..511f11e7d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Nylas.java +++ b/src/main/java/com/airbyte/api/models/shared/Nylas.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Nylas { NYLAS("nylas"); diff --git a/src/main/java/com/airbyte/api/models/shared/Nytimes.java b/src/main/java/com/airbyte/api/models/shared/Nytimes.java index bee7a546b..59581d9e7 100644 --- a/src/main/java/com/airbyte/api/models/shared/Nytimes.java +++ b/src/main/java/com/airbyte/api/models/shared/Nytimes.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Nytimes { NYTIMES("nytimes"); diff --git a/src/main/java/com/airbyte/api/models/shared/OAuth.java b/src/main/java/com/airbyte/api/models/shared/OAuth.java index 06ecf5bed..6fa1e87a5 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuth.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class OAuth { /** @@ -32,14 +33,14 @@ public class OAuth { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * OAuth Client secret */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonInclude(Include.NON_ABSENT) @JsonProperty("option_title") @@ -48,8 +49,8 @@ public class OAuth { @JsonCreator public OAuth( @JsonProperty("access_token") String accessToken, - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -75,19 +76,17 @@ public String accessToken() { /** * OAuth Client Id */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * OAuth Client secret */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } @SuppressWarnings("unchecked") @@ -121,7 +120,7 @@ public OAuth withClientId(String clientId) { /** * OAuth Client Id */ - public OAuth withClientId(Optional clientId) { + public OAuth withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -139,7 +138,7 @@ public OAuth withClientSecret(String clientSecret) { /** * OAuth Client secret */ - public OAuth withClientSecret(Optional clientSecret) { + public OAuth withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -155,15 +154,15 @@ public boolean equals(java.lang.Object o) { } OAuth other = (OAuth) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.optionTitle, other.optionTitle); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.optionTitle, other.optionTitle); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, clientId, clientSecret, @@ -183,9 +182,9 @@ public final static class Builder { private String accessToken; - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -212,7 +211,7 @@ public Builder clientId(String clientId) { /** * OAuth Client Id */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -230,7 +229,7 @@ public Builder clientSecret(String clientSecret) { /** * OAuth Client secret */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/OAuth20.java b/src/main/java/com/airbyte/api/models/shared/OAuth20.java index 2409e8e26..dcee6b14c 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuth20.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class OAuth20 { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } OAuth20 other = (OAuth20) o; return - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authMethod, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/OAuth20Credentials.java b/src/main/java/com/airbyte/api/models/shared/OAuth20Credentials.java index 867ff7e60..90e9ae27f 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuth20Credentials.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuth20Credentials.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * OAuth20Credentials - OAuth2.0 credentials used to authenticate admin actions (creating/deleting corpora) */ @@ -90,13 +89,13 @@ public boolean equals(java.lang.Object o) { } OAuth20Credentials other = (OAuth20Credentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } diff --git a/src/main/java/com/airbyte/api/models/shared/OAuth20WithPrivateKey.java b/src/main/java/com/airbyte/api/models/shared/OAuth20WithPrivateKey.java index b36360499..14a973b99 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuth20WithPrivateKey.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuth20WithPrivateKey.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class OAuth20WithPrivateKey { @@ -149,16 +149,16 @@ public boolean equals(java.lang.Object o) { } OAuth20WithPrivateKey other = (OAuth20WithPrivateKey) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.keyId, other.keyId) && - java.util.Objects.deepEquals(this.privateKey, other.privateKey) && - java.util.Objects.deepEquals(this.scope, other.scope); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.keyId, other.keyId) && + Objects.deepEquals(this.privateKey, other.privateKey) && + Objects.deepEquals(this.scope, other.scope); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, keyId, diff --git a/src/main/java/com/airbyte/api/models/shared/OAuth2AccessToken.java b/src/main/java/com/airbyte/api/models/shared/OAuth2AccessToken.java index f21d41c2f..89415d8bc 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuth2AccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuth2AccessToken.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class OAuth2AccessToken { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } OAuth2AccessToken other = (OAuth2AccessToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/OAuth2ConfidentialApplication.java b/src/main/java/com/airbyte/api/models/shared/OAuth2ConfidentialApplication.java index 0a827b5d4..c450bd781 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuth2ConfidentialApplication.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuth2ConfidentialApplication.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class OAuth2ConfidentialApplication { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } OAuth2ConfidentialApplication other = (OAuth2ConfidentialApplication) o; return - java.util.Objects.deepEquals(this.audience, other.audience) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.audience, other.audience) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( audience, authType, clientId, diff --git a/src/main/java/com/airbyte/api/models/shared/OAuth2Recommended.java b/src/main/java/com/airbyte/api/models/shared/OAuth2Recommended.java index 84b2a01eb..851454068 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuth2Recommended.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuth2Recommended.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class OAuth2Recommended { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } OAuth2Recommended other = (OAuth2Recommended) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.secret, other.secret); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.secret, other.secret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, secret); diff --git a/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java b/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java index eebe74981..c39242193 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuthActorNames.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum OAuthActorNames { AIRTABLE("airtable"), @@ -22,7 +14,9 @@ public enum OAuthActorNames { ASANA("asana"), AZURE_BLOB_STORAGE("azure-blob-storage"), BING_ADS("bing-ads"), + DRIFT("drift"), FACEBOOK_MARKETING("facebook-marketing"), + GCS("gcs"), GITHUB("github"), GITLAB("gitlab"), GOOGLE_ADS("google-ads"), @@ -42,20 +36,18 @@ public enum OAuthActorNames { MONDAY("monday"), NOTION("notion"), PINTEREST("pinterest"), - RETENTLY("retently"), + RD_STATION_MARKETING("rd-station-marketing"), SALESFORCE("salesforce"), SLACK("slack"), SMARTSHEETS("smartsheets"), SNAPCHAT_MARKETING("snapchat-marketing"), SNOWFLAKE("snowflake"), - SQUARE("square"), SURVEYMONKEY("surveymonkey"), TIKTOK_MARKETING("tiktok-marketing"), TRELLO("trello"), TYPEFORM("typeform"), YOUTUBE_ANALYTICS("youtube-analytics"), ZENDESK_CHAT("zendesk-chat"), - ZENDESK_SUNSHINE("zendesk-sunshine"), ZENDESK_SUPPORT("zendesk-support"), ZENDESK_TALK("zendesk-talk"); diff --git a/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java b/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java index bd95ffe72..d8e1f0ca5 100644 --- a/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java +++ b/src/main/java/com/airbyte/api/models/shared/OAuthCredentialsConfiguration.java @@ -1,25 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * OAuthCredentialsConfiguration - The values required to configure the source. @@ -28,7 +26,7 @@ @JsonDeserialize(using = OAuthCredentialsConfiguration._Deserializer.class) public class OAuthCredentialsConfiguration { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private OAuthCredentialsConfiguration(TypedObject value) { @@ -65,11 +63,21 @@ public static OAuthCredentialsConfiguration of(BingAds value) { return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static OAuthCredentialsConfiguration of(Drift value) { + Utils.checkNotNull(value, "value"); + return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static OAuthCredentialsConfiguration of(FacebookMarketing value) { Utils.checkNotNull(value, "value"); return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static OAuthCredentialsConfiguration of(Gcs value) { + Utils.checkNotNull(value, "value"); + return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static OAuthCredentialsConfiguration of(Github value) { Utils.checkNotNull(value, "value"); return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -165,9 +173,9 @@ public static OAuthCredentialsConfiguration of(Pinterest value) { return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } - public static OAuthCredentialsConfiguration of(Retently value) { + public static OAuthCredentialsConfiguration of(RdStationMarketing value) { Utils.checkNotNull(value, "value"); - return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } public static OAuthCredentialsConfiguration of(Salesforce value) { @@ -200,11 +208,6 @@ public static OAuthCredentialsConfiguration of(Snowflake value) { return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } - public static OAuthCredentialsConfiguration of(Square value) { - Utils.checkNotNull(value, "value"); - return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); - } - public static OAuthCredentialsConfiguration of(Surveymonkey value) { Utils.checkNotNull(value, "value"); return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -215,9 +218,9 @@ public static OAuthCredentialsConfiguration of(TiktokMarketing value) { return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } - public static OAuthCredentialsConfiguration of(java.lang.Object value) { + public static OAuthCredentialsConfiguration of(Object value) { Utils.checkNotNull(value, "value"); - return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } public static OAuthCredentialsConfiguration of(Typeform value) { @@ -235,11 +238,6 @@ public static OAuthCredentialsConfiguration of(ZendeskChat value) { return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } - public static OAuthCredentialsConfiguration of(ZendeskSunshine value) { - Utils.checkNotNull(value, "value"); - return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); - } - public static OAuthCredentialsConfiguration of(ZendeskSupport value) { Utils.checkNotNull(value, "value"); return new OAuthCredentialsConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -253,49 +251,49 @@ public static OAuthCredentialsConfiguration of(ZendeskTalk value) { /** * Returns an instance of one of these types: *
      - *
    • {@code Airtable}
    • - *
    • {@code AmazonAds}
    • - *
    • {@code AmazonSellerPartner}
    • - *
    • {@code Asana}
    • - *
    • {@code AzureBlobStorage}
    • - *
    • {@code BingAds}
    • - *
    • {@code FacebookMarketing}
    • - *
    • {@code Github}
    • - *
    • {@code Gitlab}
    • - *
    • {@code GoogleAds}
    • - *
    • {@code GoogleAnalyticsDataApi}
    • - *
    • {@code GoogleDrive}
    • - *
    • {@code GoogleSearchConsole}
    • - *
    • {@code GoogleSheets}
    • - *
    • {@code Hubspot}
    • - *
    • {@code Instagram}
    • - *
    • {@code Intercom}
    • - *
    • {@code LeverHiring}
    • - *
    • {@code LinkedinAds}
    • - *
    • {@code Mailchimp}
    • - *
    • {@code MicrosoftOnedrive}
    • - *
    • {@code MicrosoftSharepoint}
    • - *
    • {@code MicrosoftTeams}
    • - *
    • {@code Monday}
    • - *
    • {@code Notion}
    • - *
    • {@code Pinterest}
    • - *
    • {@code Retently}
    • - *
    • {@code Salesforce}
    • - *
    • {@code Shopify}
    • - *
    • {@code Slack}
    • - *
    • {@code Smartsheets}
    • - *
    • {@code SnapchatMarketing}
    • - *
    • {@code Snowflake}
    • - *
    • {@code Square}
    • - *
    • {@code Surveymonkey}
    • - *
    • {@code TiktokMarketing}
    • + *
    • {@code com.airbyte.api.models.shared.Airtable}
    • + *
    • {@code com.airbyte.api.models.shared.AmazonAds}
    • + *
    • {@code com.airbyte.api.models.shared.AmazonSellerPartner}
    • + *
    • {@code com.airbyte.api.models.shared.Asana}
    • + *
    • {@code com.airbyte.api.models.shared.AzureBlobStorage}
    • + *
    • {@code com.airbyte.api.models.shared.BingAds}
    • + *
    • {@code com.airbyte.api.models.shared.Drift}
    • + *
    • {@code com.airbyte.api.models.shared.FacebookMarketing}
    • + *
    • {@code com.airbyte.api.models.shared.Gcs}
    • + *
    • {@code com.airbyte.api.models.shared.Github}
    • + *
    • {@code com.airbyte.api.models.shared.Gitlab}
    • + *
    • {@code com.airbyte.api.models.shared.GoogleAds}
    • + *
    • {@code com.airbyte.api.models.shared.GoogleAnalyticsDataApi}
    • + *
    • {@code com.airbyte.api.models.shared.GoogleDrive}
    • + *
    • {@code com.airbyte.api.models.shared.GoogleSearchConsole}
    • + *
    • {@code com.airbyte.api.models.shared.GoogleSheets}
    • + *
    • {@code com.airbyte.api.models.shared.Hubspot}
    • + *
    • {@code com.airbyte.api.models.shared.Instagram}
    • + *
    • {@code com.airbyte.api.models.shared.Intercom}
    • + *
    • {@code com.airbyte.api.models.shared.LeverHiring}
    • + *
    • {@code com.airbyte.api.models.shared.LinkedinAds}
    • + *
    • {@code com.airbyte.api.models.shared.Mailchimp}
    • + *
    • {@code com.airbyte.api.models.shared.MicrosoftOnedrive}
    • + *
    • {@code com.airbyte.api.models.shared.MicrosoftSharepoint}
    • + *
    • {@code com.airbyte.api.models.shared.MicrosoftTeams}
    • + *
    • {@code com.airbyte.api.models.shared.Monday}
    • + *
    • {@code com.airbyte.api.models.shared.Notion}
    • + *
    • {@code com.airbyte.api.models.shared.Pinterest}
    • + *
    • {@code com.airbyte.api.models.shared.RdStationMarketing}
    • + *
    • {@code com.airbyte.api.models.shared.Salesforce}
    • + *
    • {@code com.airbyte.api.models.shared.Shopify}
    • + *
    • {@code com.airbyte.api.models.shared.Slack}
    • + *
    • {@code com.airbyte.api.models.shared.Smartsheets}
    • + *
    • {@code com.airbyte.api.models.shared.SnapchatMarketing}
    • + *
    • {@code com.airbyte.api.models.shared.Snowflake}
    • + *
    • {@code com.airbyte.api.models.shared.Surveymonkey}
    • + *
    • {@code com.airbyte.api.models.shared.TiktokMarketing}
    • *
    • {@code java.lang.Object}
    • - *
    • {@code Typeform}
    • - *
    • {@code YoutubeAnalytics}
    • - *
    • {@code ZendeskChat}
    • - *
    • {@code ZendeskSunshine}
    • - *
    • {@code ZendeskSupport}
    • - *
    • {@code ZendeskTalk}
    • + *
    • {@code com.airbyte.api.models.shared.Typeform}
    • + *
    • {@code com.airbyte.api.models.shared.YoutubeAnalytics}
    • + *
    • {@code com.airbyte.api.models.shared.ZendeskChat}
    • + *
    • {@code com.airbyte.api.models.shared.ZendeskSupport}
    • + *
    • {@code com.airbyte.api.models.shared.ZendeskTalk}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -322,62 +320,62 @@ public boolean equals(java.lang.Object o) { return false; } OAuthCredentialsConfiguration other = (OAuthCredentialsConfiguration) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(OAuthCredentialsConfiguration.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(OAuthCredentialsConfiguration.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/OauthAuthentication.java b/src/main/java/com/airbyte/api/models/shared/OauthAuthentication.java index 48dd821c8..a917ba342 100644 --- a/src/main/java/com/airbyte/api/models/shared/OauthAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/OauthAuthentication.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class OauthAuthentication { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } OauthAuthentication other = (OauthAuthentication) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/Okta.java b/src/main/java/com/airbyte/api/models/shared/Okta.java index 871f4d7bd..32541cd01 100644 --- a/src/main/java/com/airbyte/api/models/shared/Okta.java +++ b/src/main/java/com/airbyte/api/models/shared/Okta.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Okta { OKTA("okta"); diff --git a/src/main/java/com/airbyte/api/models/shared/Omnisend.java b/src/main/java/com/airbyte/api/models/shared/Omnisend.java index aa946d7c6..a11cc228c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Omnisend.java +++ b/src/main/java/com/airbyte/api/models/shared/Omnisend.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Omnisend { OMNISEND("omnisend"); diff --git a/src/main/java/com/airbyte/api/models/shared/Oncehub.java b/src/main/java/com/airbyte/api/models/shared/Oncehub.java new file mode 100644 index 000000000..5dbed3a90 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Oncehub.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Oncehub { + ONCEHUB("oncehub"); + + @JsonValue + private final String value; + + private Oncehub(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Onepagecrm.java b/src/main/java/com/airbyte/api/models/shared/Onepagecrm.java new file mode 100644 index 000000000..5ad3afae2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Onepagecrm.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Onepagecrm { + ONEPAGECRM("onepagecrm"); + + @JsonValue + private final String value; + + private Onepagecrm(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Onesignal.java b/src/main/java/com/airbyte/api/models/shared/Onesignal.java index a782d45a4..a0a755fdd 100644 --- a/src/main/java/com/airbyte/api/models/shared/Onesignal.java +++ b/src/main/java/com/airbyte/api/models/shared/Onesignal.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Onesignal { ONESIGNAL("onesignal"); diff --git a/src/main/java/com/airbyte/api/models/shared/Onfleet.java b/src/main/java/com/airbyte/api/models/shared/Onfleet.java new file mode 100644 index 000000000..27dad1ef0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Onfleet.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Onfleet { + ONFLEET("onfleet"); + + @JsonValue + private final String value; + + private Onfleet(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/OpenAI.java b/src/main/java/com/airbyte/api/models/shared/OpenAI.java index 4713ba0b4..02fdf8e29 100644 --- a/src/main/java/com/airbyte/api/models/shared/OpenAI.java +++ b/src/main/java/com/airbyte/api/models/shared/OpenAI.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * OpenAI - Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } OpenAI other = (OpenAI) o; return - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.openaiKey, other.openaiKey); + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.openaiKey, other.openaiKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode, openaiKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/OpenAICompatible.java b/src/main/java/com/airbyte/api/models/shared/OpenAICompatible.java index 6f6559bf5..e179659fb 100644 --- a/src/main/java/com/airbyte/api/models/shared/OpenAICompatible.java +++ b/src/main/java/com/airbyte/api/models/shared/OpenAICompatible.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * OpenAICompatible - Use a service that's compatible with the OpenAI API to embed text. */ @@ -26,7 +28,7 @@ public class OpenAICompatible { @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * The base URL for your OpenAI-compatible service @@ -49,14 +51,14 @@ public class OpenAICompatible { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("model_name") - private Optional modelName; + private Optional modelName; @JsonCreator public OpenAICompatible( - @JsonProperty("api_key") Optional apiKey, + @JsonProperty("api_key") Optional apiKey, @JsonProperty("base_url") String baseUrl, @JsonProperty("dimensions") long dimensions, - @JsonProperty("model_name") Optional modelName) { + @JsonProperty("model_name") Optional modelName) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(baseUrl, "baseUrl"); Utils.checkNotNull(dimensions, "dimensions"); @@ -74,10 +76,9 @@ public OpenAICompatible( this(Optional.empty(), baseUrl, dimensions, Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** @@ -105,10 +106,9 @@ public Optional mode() { /** * The name of the model to use for embedding */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional modelName() { - return (Optional) modelName; + return modelName; } public final static Builder builder() { @@ -121,7 +121,7 @@ public OpenAICompatible withApiKey(String apiKey) { return this; } - public OpenAICompatible withApiKey(Optional apiKey) { + public OpenAICompatible withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -157,7 +157,7 @@ public OpenAICompatible withModelName(String modelName) { /** * The name of the model to use for embedding */ - public OpenAICompatible withModelName(Optional modelName) { + public OpenAICompatible withModelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } OpenAICompatible other = (OpenAICompatible) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.modelName, other.modelName); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.modelName, other.modelName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, baseUrl, dimensions, @@ -202,13 +202,13 @@ public String toString() { public final static class Builder { - private Optional apiKey; + private Optional apiKey; private String baseUrl; private Long dimensions; - private Optional modelName; + private Optional modelName; private Builder() { // force use of static builder() method @@ -220,7 +220,7 @@ public Builder apiKey(String apiKey) { return this; } - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -256,7 +256,7 @@ public Builder modelName(String modelName) { /** * The name of the model to use for embedding */ - public Builder modelName(Optional modelName) { + public Builder modelName(Optional modelName) { Utils.checkNotNull(modelName, "modelName"); this.modelName = modelName; return this; @@ -268,19 +268,18 @@ public OpenAICompatible build() { } if (modelName == null) { modelName = _SINGLETON_VALUE_ModelName.value(); - } - return new OpenAICompatible( + } return new OpenAICompatible( apiKey, baseUrl, dimensions, modelName); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = new LazySingletonValue<>( "api_key", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( @@ -288,11 +287,11 @@ public OpenAICompatible build() { "\"openai_compatible\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = + private static final LazySingletonValue> _SINGLETON_VALUE_ModelName = new LazySingletonValue<>( "model_name", "\"text-embedding-ada-002\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/OpenDataDc.java b/src/main/java/com/airbyte/api/models/shared/OpenDataDc.java new file mode 100644 index 000000000..5bf2f5e56 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/OpenDataDc.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum OpenDataDc { + OPEN_DATA_DC("open-data-dc"); + + @JsonValue + private final String value; + + private OpenDataDc(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Openaq.java b/src/main/java/com/airbyte/api/models/shared/Openaq.java new file mode 100644 index 000000000..d7e6d5a51 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Openaq.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Openaq { + OPENAQ("openaq"); + + @JsonValue + private final String value; + + private Openaq(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Openfda.java b/src/main/java/com/airbyte/api/models/shared/Openfda.java new file mode 100644 index 000000000..ea01a8511 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Openfda.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Openfda { + OPENFDA("openfda"); + + @JsonValue + private final String value; + + private Openfda(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Openweather.java b/src/main/java/com/airbyte/api/models/shared/Openweather.java new file mode 100644 index 000000000..fb3e0ee48 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Openweather.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Openweather { + OPENWEATHER("openweather"); + + @JsonValue + private final String value; + + private Openweather(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Operator.java b/src/main/java/com/airbyte/api/models/shared/Operator.java index 5f4c77761..ebff62114 100644 --- a/src/main/java/com/airbyte/api/models/shared/Operator.java +++ b/src/main/java/com/airbyte/api/models/shared/Operator.java @@ -1,26 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Operator - An Operator that will be used to filter accounts. The Contains predicate has features for matching words, matching inflectional forms of words, searching using wildcard characters, and searching using proximity. The Equals is used to return all rows where account name is equal(=) to the string that you provided */ public enum Operator { CONTAINS("Contains"), - EQUALS_("Equals"); + EQUALS("Equals"); @JsonValue private final String value; diff --git a/src/main/java/com/airbyte/api/models/shared/OpinionStage.java b/src/main/java/com/airbyte/api/models/shared/OpinionStage.java new file mode 100644 index 000000000..8a13d8455 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/OpinionStage.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum OpinionStage { + OPINION_STAGE("opinion-stage"); + + @JsonValue + private final String value; + + private OpinionStage(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Opsgenie.java b/src/main/java/com/airbyte/api/models/shared/Opsgenie.java new file mode 100644 index 000000000..80c9d4881 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Opsgenie.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Opsgenie { + OPSGENIE("opsgenie"); + + @JsonValue + private final String value; + + private Opsgenie(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/OptionTitle.java b/src/main/java/com/airbyte/api/models/shared/OptionTitle.java index 3c498ed9e..2762e09a0 100644 --- a/src/main/java/com/airbyte/api/models/shared/OptionTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/OptionTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum OptionTitle { O_AUTH_CREDENTIALS("OAuth Credentials"); diff --git a/src/main/java/com/airbyte/api/models/shared/OptionsList.java b/src/main/java/com/airbyte/api/models/shared/OptionsList.java index d90a795b3..29507b67d 100644 --- a/src/main/java/com/airbyte/api/models/shared/OptionsList.java +++ b/src/main/java/com/airbyte/api/models/shared/OptionsList.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class OptionsList { @@ -69,13 +68,13 @@ public boolean equals(java.lang.Object o) { } OptionsList other = (OptionsList) o; return - java.util.Objects.deepEquals(this.optionName, other.optionName) && - java.util.Objects.deepEquals(this.optionValue, other.optionValue); + Objects.deepEquals(this.optionName, other.optionName) && + Objects.deepEquals(this.optionValue, other.optionValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( optionName, optionValue); } diff --git a/src/main/java/com/airbyte/api/models/shared/OrGroup.java b/src/main/java/com/airbyte/api/models/shared/OrGroup.java index 87bde0b89..8b18b0796 100644 --- a/src/main/java/com/airbyte/api/models/shared/OrGroup.java +++ b/src/main/java/com/airbyte/api/models/shared/OrGroup.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + /** * OrGroup - The FilterExpressions in orGroup have an OR relationship. */ @@ -22,21 +23,21 @@ public class OrGroup { @JsonProperty("expressions") - private java.util.List expressions; + private List expressions; @JsonProperty("filter_type") private SourceGoogleAnalyticsDataApiFilterType filterType; @JsonCreator public OrGroup( - @JsonProperty("expressions") java.util.List expressions) { + @JsonProperty("expressions") List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; this.filterType = Builder._SINGLETON_VALUE_FilterType.value(); } @JsonIgnore - public java.util.List expressions() { + public List expressions() { return expressions; } @@ -49,7 +50,7 @@ public final static Builder builder() { return new Builder(); } - public OrGroup withExpressions(java.util.List expressions) { + public OrGroup withExpressions(List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; return this; @@ -65,13 +66,13 @@ public boolean equals(java.lang.Object o) { } OrGroup other = (OrGroup) o; return - java.util.Objects.deepEquals(this.expressions, other.expressions) && - java.util.Objects.deepEquals(this.filterType, other.filterType); + Objects.deepEquals(this.expressions, other.expressions) && + Objects.deepEquals(this.filterType, other.filterType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( expressions, filterType); } @@ -85,13 +86,13 @@ public String toString() { public final static class Builder { - private java.util.List expressions; + private List expressions; private Builder() { // force use of static builder() method } - public Builder expressions(java.util.List expressions) { + public Builder expressions(List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Oracle.java b/src/main/java/com/airbyte/api/models/shared/Oracle.java index 069a06c7f..db82b7cb6 100644 --- a/src/main/java/com/airbyte/api/models/shared/Oracle.java +++ b/src/main/java/com/airbyte/api/models/shared/Oracle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Oracle { ORACLE("oracle"); diff --git a/src/main/java/com/airbyte/api/models/shared/Orb.java b/src/main/java/com/airbyte/api/models/shared/Orb.java index 276f435c4..97f0f4634 100644 --- a/src/main/java/com/airbyte/api/models/shared/Orb.java +++ b/src/main/java/com/airbyte/api/models/shared/Orb.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Orb { ORB("orb"); diff --git a/src/main/java/com/airbyte/api/models/shared/Orbit.java b/src/main/java/com/airbyte/api/models/shared/Orbit.java index 61ae73b13..0cb1fd04c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Orbit.java +++ b/src/main/java/com/airbyte/api/models/shared/Orbit.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Orbit { ORBIT("orbit"); diff --git a/src/main/java/com/airbyte/api/models/shared/OrganizationResponse.java b/src/main/java/com/airbyte/api/models/shared/OrganizationResponse.java index ff9ed3a66..ab8faafd4 100644 --- a/src/main/java/com/airbyte/api/models/shared/OrganizationResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/OrganizationResponse.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * OrganizationResponse - Provides details of a single organization for a user. */ @@ -89,14 +88,14 @@ public boolean equals(java.lang.Object o) { } OrganizationResponse other = (OrganizationResponse) o; return - java.util.Objects.deepEquals(this.email, other.email) && - java.util.Objects.deepEquals(this.organizationId, other.organizationId) && - java.util.Objects.deepEquals(this.organizationName, other.organizationName); + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.organizationId, other.organizationId) && + Objects.deepEquals(this.organizationName, other.organizationName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( email, organizationId, organizationName); diff --git a/src/main/java/com/airbyte/api/models/shared/OrganizationsResponse.java b/src/main/java/com/airbyte/api/models/shared/OrganizationsResponse.java index 3a07d5e7c..2259b539d 100644 --- a/src/main/java/com/airbyte/api/models/shared/OrganizationsResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/OrganizationsResponse.java @@ -1,19 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + /** * OrganizationsResponse - List/Array of multiple organizations. */ @@ -21,17 +21,17 @@ public class OrganizationsResponse { @JsonProperty("data") - private java.util.List data; + private List data; @JsonCreator public OrganizationsResponse( - @JsonProperty("data") java.util.List data) { + @JsonProperty("data") List data) { Utils.checkNotNull(data, "data"); this.data = data; } @JsonIgnore - public java.util.List data() { + public List data() { return data; } @@ -39,7 +39,7 @@ public final static Builder builder() { return new Builder(); } - public OrganizationsResponse withData(java.util.List data) { + public OrganizationsResponse withData(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -55,12 +55,12 @@ public boolean equals(java.lang.Object o) { } OrganizationsResponse other = (OrganizationsResponse) o; return - java.util.Objects.deepEquals(this.data, other.data); + Objects.deepEquals(this.data, other.data); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( data); } @@ -72,13 +72,13 @@ public String toString() { public final static class Builder { - private java.util.List data; + private List data; private Builder() { // force use of static builder() method } - public Builder data(java.util.List data) { + public Builder data(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.java b/src/main/java/com/airbyte/api/models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.java index 2d4a74042..144668712 100644 --- a/src/main/java/com/airbyte/api/models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.java +++ b/src/main/java/com/airbyte/api/models/shared/OriginDatacenterOfTheSurveyMonkeyAccount.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * OriginDatacenterOfTheSurveyMonkeyAccount - Depending on the originating datacenter of the SurveyMonkey account, the API access URL may be different. diff --git a/src/main/java/com/airbyte/api/models/shared/Oura.java b/src/main/java/com/airbyte/api/models/shared/Oura.java new file mode 100644 index 000000000..f5b2a7481 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Oura.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Oura { + OURA("oura"); + + @JsonValue + private final String value; + + private Oura(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/OutbrainAmplify.java b/src/main/java/com/airbyte/api/models/shared/OutbrainAmplify.java index 2ab4e8a66..08c0f0990 100644 --- a/src/main/java/com/airbyte/api/models/shared/OutbrainAmplify.java +++ b/src/main/java/com/airbyte/api/models/shared/OutbrainAmplify.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum OutbrainAmplify { OUTBRAIN_AMPLIFY("outbrain-amplify"); diff --git a/src/main/java/com/airbyte/api/models/shared/OutputFormat.java b/src/main/java/com/airbyte/api/models/shared/OutputFormat.java index 6c04c9341..b52e70ff1 100644 --- a/src/main/java/com/airbyte/api/models/shared/OutputFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/OutputFormat.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * OutputFormat - Output data format @@ -28,7 +25,7 @@ @JsonDeserialize(using = OutputFormat._Deserializer.class) public class OutputFormat { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private OutputFormat(TypedObject value) { @@ -48,8 +45,8 @@ public static OutputFormat of(DestinationAzureBlobStorageJSONLinesNewlineDelimit /** * Returns an instance of one of these types: *
      - *
    • {@code CSVCommaSeparatedValues}
    • - *
    • {@code DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON}
    • + *
    • {@code com.airbyte.api.models.shared.CSVCommaSeparatedValues}
    • + *
    • {@code com.airbyte.api.models.shared.DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } OutputFormat other = (OutputFormat) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(OutputFormat.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(OutputFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/OutputFormatWildcard.java b/src/main/java/com/airbyte/api/models/shared/OutputFormatWildcard.java index 93d2e99b1..f765f3e01 100644 --- a/src/main/java/com/airbyte/api/models/shared/OutputFormatWildcard.java +++ b/src/main/java/com/airbyte/api/models/shared/OutputFormatWildcard.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * OutputFormatWildcard - Format of the data output. @@ -28,7 +25,7 @@ @JsonDeserialize(using = OutputFormatWildcard._Deserializer.class) public class OutputFormatWildcard { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private OutputFormatWildcard(TypedObject value) { @@ -48,8 +45,8 @@ public static OutputFormatWildcard of(ParquetColumnarStorage value) { /** * Returns an instance of one of these types: *

      - *
    • {@code JSONLinesNewlineDelimitedJSON}
    • - *
    • {@code ParquetColumnarStorage}
    • + *
    • {@code com.airbyte.api.models.shared.JSONLinesNewlineDelimitedJSON}
    • + *
    • {@code com.airbyte.api.models.shared.ParquetColumnarStorage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } OutputFormatWildcard other = (OutputFormatWildcard) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(OutputFormatWildcard.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(OutputFormatWildcard.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Outreach.java b/src/main/java/com/airbyte/api/models/shared/Outreach.java index 09e2c5012..dd2565d7c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Outreach.java +++ b/src/main/java/com/airbyte/api/models/shared/Outreach.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Outreach { OUTREACH("outreach"); diff --git a/src/main/java/com/airbyte/api/models/shared/Oveit.java b/src/main/java/com/airbyte/api/models/shared/Oveit.java new file mode 100644 index 000000000..f02785672 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Oveit.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Oveit { + OVEIT("oveit"); + + @JsonValue + private final String value; + + private Oveit(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/PabblySubscriptionsBilling.java b/src/main/java/com/airbyte/api/models/shared/PabblySubscriptionsBilling.java new file mode 100644 index 000000000..6f32f39e2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/PabblySubscriptionsBilling.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum PabblySubscriptionsBilling { + PABBLY_SUBSCRIPTIONS_BILLING("pabbly-subscriptions-billing"); + + @JsonValue + private final String value; + + private PabblySubscriptionsBilling(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Pandadoc.java b/src/main/java/com/airbyte/api/models/shared/Pandadoc.java new file mode 100644 index 000000000..a58ef0704 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Pandadoc.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Pandadoc { + PANDADOC("pandadoc"); + + @JsonValue + private final String value; + + private Pandadoc(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Paperform.java b/src/main/java/com/airbyte/api/models/shared/Paperform.java new file mode 100644 index 000000000..e40517717 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Paperform.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Paperform { + PAPERFORM("paperform"); + + @JsonValue + private final String value; + + private Paperform(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Papersign.java b/src/main/java/com/airbyte/api/models/shared/Papersign.java new file mode 100644 index 000000000..b51b7f28d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Papersign.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Papersign { + PAPERSIGN("papersign"); + + @JsonValue + private final String value; + + private Papersign(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Pardot.java b/src/main/java/com/airbyte/api/models/shared/Pardot.java new file mode 100644 index 000000000..b481fd175 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Pardot.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Pardot { + PARDOT("pardot"); + + @JsonValue + private final String value; + + private Pardot(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ParquetColumnarStorage.java b/src/main/java/com/airbyte/api/models/shared/ParquetColumnarStorage.java index 2f494155d..b153d2887 100644 --- a/src/main/java/com/airbyte/api/models/shared/ParquetColumnarStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/ParquetColumnarStorage.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ParquetColumnarStorage { /** @@ -105,13 +106,13 @@ public boolean equals(java.lang.Object o) { } ParquetColumnarStorage other = (ParquetColumnarStorage) o; return - java.util.Objects.deepEquals(this.compressionCodec, other.compressionCodec) && - java.util.Objects.deepEquals(this.formatType, other.formatType); + Objects.deepEquals(this.compressionCodec, other.compressionCodec) && + Objects.deepEquals(this.formatType, other.formatType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( compressionCodec, formatType); } @@ -169,8 +170,7 @@ public ParquetColumnarStorage build() { } if (formatType == null) { formatType = _SINGLETON_VALUE_FormatType.value(); - } - return new ParquetColumnarStorage( + } return new ParquetColumnarStorage( compressionCodec, formatType); } diff --git a/src/main/java/com/airbyte/api/models/shared/ParquetFormat.java b/src/main/java/com/airbyte/api/models/shared/ParquetFormat.java index fd756850e..8d35270ca 100644 --- a/src/main/java/com/airbyte/api/models/shared/ParquetFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/ParquetFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ParquetFormat { /** @@ -26,7 +28,7 @@ public class ParquetFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("decimal_as_float") - private Optional decimalAsFloat; + private Optional decimalAsFloat; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class ParquetFormat { @JsonCreator public ParquetFormat( - @JsonProperty("decimal_as_float") Optional decimalAsFloat) { + @JsonProperty("decimal_as_float") Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public ParquetFormat() { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional decimalAsFloat() { - return (Optional) decimalAsFloat; + return decimalAsFloat; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public ParquetFormat withDecimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public ParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { + public ParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } ParquetFormat other = (ParquetFormat) o; return - java.util.Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( decimalAsFloat, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional decimalAsFloat; + private Optional decimalAsFloat; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder decimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public Builder decimalAsFloat(Optional decimalAsFloat) { + public Builder decimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -138,16 +139,15 @@ public Builder decimalAsFloat(Optional decimalAsFloat) { public ParquetFormat build() { if (decimalAsFloat == null) { decimalAsFloat = _SINGLETON_VALUE_DecimalAsFloat.value(); - } - return new ParquetFormat( + } return new ParquetFormat( decimalAsFloat); } - private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = + private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = new LazySingletonValue<>( "decimal_as_float", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/ParsingStrategy.java b/src/main/java/com/airbyte/api/models/shared/ParsingStrategy.java index 197b0fd74..73684f870 100644 --- a/src/main/java/com/airbyte/api/models/shared/ParsingStrategy.java +++ b/src/main/java/com/airbyte/api/models/shared/ParsingStrategy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ParsingStrategy - The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf diff --git a/src/main/java/com/airbyte/api/models/shared/PasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/PasswordAuthentication.java index 696bcda73..2f61bfb3d 100644 --- a/src/main/java/com/airbyte/api/models/shared/PasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/PasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class PasswordAuthentication { /** @@ -38,7 +39,7 @@ public class PasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class PasswordAuthentication { @JsonCreator public PasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public DestinationClickhouseSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public PasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public PasswordAuthentication withTunnelPort(Optional tunnelPort) { + public PasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } PasswordAuthentication other = (PasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public PasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new PasswordAuthentication( + } return new PasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public PasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/PaypalTransaction.java b/src/main/java/com/airbyte/api/models/shared/PaypalTransaction.java index 957bf0ec8..af08303bb 100644 --- a/src/main/java/com/airbyte/api/models/shared/PaypalTransaction.java +++ b/src/main/java/com/airbyte/api/models/shared/PaypalTransaction.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum PaypalTransaction { PAYPAL_TRANSACTION("paypal-transaction"); diff --git a/src/main/java/com/airbyte/api/models/shared/Paystack.java b/src/main/java/com/airbyte/api/models/shared/Paystack.java index 31c86f181..b86f5cd63 100644 --- a/src/main/java/com/airbyte/api/models/shared/Paystack.java +++ b/src/main/java/com/airbyte/api/models/shared/Paystack.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Paystack { PAYSTACK("paystack"); diff --git a/src/main/java/com/airbyte/api/models/shared/Pendo.java b/src/main/java/com/airbyte/api/models/shared/Pendo.java index 4b6ead21e..df5d01c57 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pendo.java +++ b/src/main/java/com/airbyte/api/models/shared/Pendo.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Pendo { PENDO("pendo"); diff --git a/src/main/java/com/airbyte/api/models/shared/Pennylane.java b/src/main/java/com/airbyte/api/models/shared/Pennylane.java index ef2167cc2..f1c21654c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pennylane.java +++ b/src/main/java/com/airbyte/api/models/shared/Pennylane.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Pennylane { PENNYLANE("pennylane"); diff --git a/src/main/java/com/airbyte/api/models/shared/PeriodUsedForMostPopularStreams.java b/src/main/java/com/airbyte/api/models/shared/PeriodUsedForMostPopularStreams.java index 0d6ddf594..a88712800 100644 --- a/src/main/java/com/airbyte/api/models/shared/PeriodUsedForMostPopularStreams.java +++ b/src/main/java/com/airbyte/api/models/shared/PeriodUsedForMostPopularStreams.java @@ -1,19 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; /** * PeriodUsedForMostPopularStreams - Period of time (in days) diff --git a/src/main/java/com/airbyte/api/models/shared/PermissionCreateRequest.java b/src/main/java/com/airbyte/api/models/shared/PermissionCreateRequest.java index 3ea439095..a0674c635 100644 --- a/src/main/java/com/airbyte/api/models/shared/PermissionCreateRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/PermissionCreateRequest.java @@ -1,28 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class PermissionCreateRequest { @JsonInclude(Include.NON_ABSENT) @JsonProperty("organizationId") - private Optional organizationId; + private Optional organizationId; /** * Subset of `PermissionType` (removing `instance_admin`), could be used in public-api. @@ -38,14 +37,14 @@ public class PermissionCreateRequest { @JsonInclude(Include.NON_ABSENT) @JsonProperty("workspaceId") - private Optional workspaceId; + private Optional workspaceId; @JsonCreator public PermissionCreateRequest( - @JsonProperty("organizationId") Optional organizationId, + @JsonProperty("organizationId") Optional organizationId, @JsonProperty("permissionType") PublicPermissionType permissionType, @JsonProperty("userId") String userId, - @JsonProperty("workspaceId") Optional workspaceId) { + @JsonProperty("workspaceId") Optional workspaceId) { Utils.checkNotNull(organizationId, "organizationId"); Utils.checkNotNull(permissionType, "permissionType"); Utils.checkNotNull(userId, "userId"); @@ -62,10 +61,9 @@ public PermissionCreateRequest( this(Optional.empty(), permissionType, userId, Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional organizationId() { - return (Optional) organizationId; + return organizationId; } /** @@ -84,10 +82,9 @@ public String userId() { return userId; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional workspaceId() { - return (Optional) workspaceId; + return workspaceId; } public final static Builder builder() { @@ -100,7 +97,7 @@ public PermissionCreateRequest withOrganizationId(String organizationId) { return this; } - public PermissionCreateRequest withOrganizationId(Optional organizationId) { + public PermissionCreateRequest withOrganizationId(Optional organizationId) { Utils.checkNotNull(organizationId, "organizationId"); this.organizationId = organizationId; return this; @@ -130,7 +127,7 @@ public PermissionCreateRequest withWorkspaceId(String workspaceId) { return this; } - public PermissionCreateRequest withWorkspaceId(Optional workspaceId) { + public PermissionCreateRequest withWorkspaceId(Optional workspaceId) { Utils.checkNotNull(workspaceId, "workspaceId"); this.workspaceId = workspaceId; return this; @@ -146,15 +143,15 @@ public boolean equals(java.lang.Object o) { } PermissionCreateRequest other = (PermissionCreateRequest) o; return - java.util.Objects.deepEquals(this.organizationId, other.organizationId) && - java.util.Objects.deepEquals(this.permissionType, other.permissionType) && - java.util.Objects.deepEquals(this.userId, other.userId) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.organizationId, other.organizationId) && + Objects.deepEquals(this.permissionType, other.permissionType) && + Objects.deepEquals(this.userId, other.userId) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( organizationId, permissionType, userId, @@ -172,13 +169,13 @@ public String toString() { public final static class Builder { - private Optional organizationId = Optional.empty(); + private Optional organizationId = Optional.empty(); private PublicPermissionType permissionType; private String userId; - private Optional workspaceId = Optional.empty(); + private Optional workspaceId = Optional.empty(); private Builder() { // force use of static builder() method @@ -190,7 +187,7 @@ public Builder organizationId(String organizationId) { return this; } - public Builder organizationId(Optional organizationId) { + public Builder organizationId(Optional organizationId) { Utils.checkNotNull(organizationId, "organizationId"); this.organizationId = organizationId; return this; @@ -220,7 +217,7 @@ public Builder workspaceId(String workspaceId) { return this; } - public Builder workspaceId(Optional workspaceId) { + public Builder workspaceId(Optional workspaceId) { Utils.checkNotNull(workspaceId, "workspaceId"); this.workspaceId = workspaceId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/PermissionResponse.java b/src/main/java/com/airbyte/api/models/shared/PermissionResponse.java index 5dc4a86f4..9a510cd73 100644 --- a/src/main/java/com/airbyte/api/models/shared/PermissionResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/PermissionResponse.java @@ -1,22 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * PermissionResponse - Provides details of a single permission. */ @@ -25,7 +24,7 @@ public class PermissionResponse { @JsonInclude(Include.NON_ABSENT) @JsonProperty("organizationId") - private Optional organizationId; + private Optional organizationId; @JsonProperty("permissionId") private String permissionId; @@ -44,15 +43,15 @@ public class PermissionResponse { @JsonInclude(Include.NON_ABSENT) @JsonProperty("workspaceId") - private Optional workspaceId; + private Optional workspaceId; @JsonCreator public PermissionResponse( - @JsonProperty("organizationId") Optional organizationId, + @JsonProperty("organizationId") Optional organizationId, @JsonProperty("permissionId") String permissionId, @JsonProperty("permissionType") PermissionType permissionType, @JsonProperty("userId") String userId, - @JsonProperty("workspaceId") Optional workspaceId) { + @JsonProperty("workspaceId") Optional workspaceId) { Utils.checkNotNull(organizationId, "organizationId"); Utils.checkNotNull(permissionId, "permissionId"); Utils.checkNotNull(permissionType, "permissionType"); @@ -72,10 +71,9 @@ public PermissionResponse( this(Optional.empty(), permissionId, permissionType, userId, Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional organizationId() { - return (Optional) organizationId; + return organizationId; } @JsonIgnore @@ -99,10 +97,9 @@ public String userId() { return userId; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional workspaceId() { - return (Optional) workspaceId; + return workspaceId; } public final static Builder builder() { @@ -115,7 +112,7 @@ public PermissionResponse withOrganizationId(String organizationId) { return this; } - public PermissionResponse withOrganizationId(Optional organizationId) { + public PermissionResponse withOrganizationId(Optional organizationId) { Utils.checkNotNull(organizationId, "organizationId"); this.organizationId = organizationId; return this; @@ -151,7 +148,7 @@ public PermissionResponse withWorkspaceId(String workspaceId) { return this; } - public PermissionResponse withWorkspaceId(Optional workspaceId) { + public PermissionResponse withWorkspaceId(Optional workspaceId) { Utils.checkNotNull(workspaceId, "workspaceId"); this.workspaceId = workspaceId; return this; @@ -167,16 +164,16 @@ public boolean equals(java.lang.Object o) { } PermissionResponse other = (PermissionResponse) o; return - java.util.Objects.deepEquals(this.organizationId, other.organizationId) && - java.util.Objects.deepEquals(this.permissionId, other.permissionId) && - java.util.Objects.deepEquals(this.permissionType, other.permissionType) && - java.util.Objects.deepEquals(this.userId, other.userId) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.organizationId, other.organizationId) && + Objects.deepEquals(this.permissionId, other.permissionId) && + Objects.deepEquals(this.permissionType, other.permissionType) && + Objects.deepEquals(this.userId, other.userId) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( organizationId, permissionId, permissionType, @@ -196,7 +193,7 @@ public String toString() { public final static class Builder { - private Optional organizationId = Optional.empty(); + private Optional organizationId = Optional.empty(); private String permissionId; @@ -204,7 +201,7 @@ public final static class Builder { private String userId; - private Optional workspaceId = Optional.empty(); + private Optional workspaceId = Optional.empty(); private Builder() { // force use of static builder() method @@ -216,7 +213,7 @@ public Builder organizationId(String organizationId) { return this; } - public Builder organizationId(Optional organizationId) { + public Builder organizationId(Optional organizationId) { Utils.checkNotNull(organizationId, "organizationId"); this.organizationId = organizationId; return this; @@ -252,7 +249,7 @@ public Builder workspaceId(String workspaceId) { return this; } - public Builder workspaceId(Optional workspaceId) { + public Builder workspaceId(Optional workspaceId) { Utils.checkNotNull(workspaceId, "workspaceId"); this.workspaceId = workspaceId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/PermissionResponseRead.java b/src/main/java/com/airbyte/api/models/shared/PermissionResponseRead.java index ef5de1077..04131fc2f 100644 --- a/src/main/java/com/airbyte/api/models/shared/PermissionResponseRead.java +++ b/src/main/java/com/airbyte/api/models/shared/PermissionResponseRead.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * PermissionResponseRead - Reformat PermissionResponse with permission scope */ @@ -150,16 +149,16 @@ public boolean equals(java.lang.Object o) { } PermissionResponseRead other = (PermissionResponseRead) o; return - java.util.Objects.deepEquals(this.permissionId, other.permissionId) && - java.util.Objects.deepEquals(this.permissionType, other.permissionType) && - java.util.Objects.deepEquals(this.scope, other.scope) && - java.util.Objects.deepEquals(this.scopeId, other.scopeId) && - java.util.Objects.deepEquals(this.userId, other.userId); + Objects.deepEquals(this.permissionId, other.permissionId) && + Objects.deepEquals(this.permissionType, other.permissionType) && + Objects.deepEquals(this.scope, other.scope) && + Objects.deepEquals(this.scopeId, other.scopeId) && + Objects.deepEquals(this.userId, other.userId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( permissionId, permissionType, scope, diff --git a/src/main/java/com/airbyte/api/models/shared/PermissionScope.java b/src/main/java/com/airbyte/api/models/shared/PermissionScope.java index 1261bc3aa..bf47a30a6 100644 --- a/src/main/java/com/airbyte/api/models/shared/PermissionScope.java +++ b/src/main/java/com/airbyte/api/models/shared/PermissionScope.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * PermissionScope - Scope of a single permission, e.g. workspace, organization diff --git a/src/main/java/com/airbyte/api/models/shared/PermissionType.java b/src/main/java/com/airbyte/api/models/shared/PermissionType.java index 662d0f062..2ed016099 100644 --- a/src/main/java/com/airbyte/api/models/shared/PermissionType.java +++ b/src/main/java/com/airbyte/api/models/shared/PermissionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * PermissionType - Describes what actions/endpoints the permission entitles to @@ -22,10 +14,12 @@ public enum PermissionType { INSTANCE_ADMIN("instance_admin"), ORGANIZATION_ADMIN("organization_admin"), ORGANIZATION_EDITOR("organization_editor"), + ORGANIZATION_RUNNER("organization_runner"), ORGANIZATION_READER("organization_reader"), ORGANIZATION_MEMBER("organization_member"), WORKSPACE_OWNER("workspace_owner"), WORKSPACE_ADMIN("workspace_admin"), + WORKSPACE_RUNNER("workspace_runner"), WORKSPACE_EDITOR("workspace_editor"), WORKSPACE_READER("workspace_reader"); diff --git a/src/main/java/com/airbyte/api/models/shared/PermissionUpdateRequest.java b/src/main/java/com/airbyte/api/models/shared/PermissionUpdateRequest.java index 9d4b349e0..f3c2bbfd0 100644 --- a/src/main/java/com/airbyte/api/models/shared/PermissionUpdateRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/PermissionUpdateRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class PermissionUpdateRequest { @@ -61,12 +60,12 @@ public boolean equals(java.lang.Object o) { } PermissionUpdateRequest other = (PermissionUpdateRequest) o; return - java.util.Objects.deepEquals(this.permissionType, other.permissionType); + Objects.deepEquals(this.permissionType, other.permissionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( permissionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/PermissionsResponse.java b/src/main/java/com/airbyte/api/models/shared/PermissionsResponse.java index 562363887..2f74bbaa8 100644 --- a/src/main/java/com/airbyte/api/models/shared/PermissionsResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/PermissionsResponse.java @@ -1,19 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + /** * PermissionsResponse - List/Array of multiple permissions */ @@ -21,17 +21,17 @@ public class PermissionsResponse { @JsonProperty("data") - private java.util.List data; + private List data; @JsonCreator public PermissionsResponse( - @JsonProperty("data") java.util.List data) { + @JsonProperty("data") List data) { Utils.checkNotNull(data, "data"); this.data = data; } @JsonIgnore - public java.util.List data() { + public List data() { return data; } @@ -39,7 +39,7 @@ public final static Builder builder() { return new Builder(); } - public PermissionsResponse withData(java.util.List data) { + public PermissionsResponse withData(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -55,12 +55,12 @@ public boolean equals(java.lang.Object o) { } PermissionsResponse other = (PermissionsResponse) o; return - java.util.Objects.deepEquals(this.data, other.data); + Objects.deepEquals(this.data, other.data); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( data); } @@ -72,13 +72,13 @@ public String toString() { public final static class Builder { - private java.util.List data; + private List data; private Builder() { // force use of static builder() method } - public Builder data(java.util.List data) { + public Builder data(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Persistiq.java b/src/main/java/com/airbyte/api/models/shared/Persistiq.java index e043bf835..1a10714a3 100644 --- a/src/main/java/com/airbyte/api/models/shared/Persistiq.java +++ b/src/main/java/com/airbyte/api/models/shared/Persistiq.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Persistiq { PERSISTIQ("persistiq"); diff --git a/src/main/java/com/airbyte/api/models/shared/Persona.java b/src/main/java/com/airbyte/api/models/shared/Persona.java new file mode 100644 index 000000000..ee369420e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Persona.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Persona { + PERSONA("persona"); + + @JsonValue + private final String value; + + private Persona(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java b/src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java index 559ff39b7..f751edcd0 100644 --- a/src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/PersonalAccessToken.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class PersonalAccessToken { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } PersonalAccessToken other = (PersonalAccessToken) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.personalAccessToken, other.personalAccessToken); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.personalAccessToken, other.personalAccessToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, personalAccessToken); } diff --git a/src/main/java/com/airbyte/api/models/shared/PexelsApi.java b/src/main/java/com/airbyte/api/models/shared/PexelsApi.java index 663f5fa39..a8f800d12 100644 --- a/src/main/java/com/airbyte/api/models/shared/PexelsApi.java +++ b/src/main/java/com/airbyte/api/models/shared/PexelsApi.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum PexelsApi { PEXELS_API("pexels-api"); diff --git a/src/main/java/com/airbyte/api/models/shared/Pgvector.java b/src/main/java/com/airbyte/api/models/shared/Pgvector.java index b3ce5cc50..d53716c18 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pgvector.java +++ b/src/main/java/com/airbyte/api/models/shared/Pgvector.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Pgvector { PGVECTOR("pgvector"); diff --git a/src/main/java/com/airbyte/api/models/shared/Picqer.java b/src/main/java/com/airbyte/api/models/shared/Picqer.java index 52f1939e5..8b010919f 100644 --- a/src/main/java/com/airbyte/api/models/shared/Picqer.java +++ b/src/main/java/com/airbyte/api/models/shared/Picqer.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Picqer { PICQER("picqer"); diff --git a/src/main/java/com/airbyte/api/models/shared/Pinecone.java b/src/main/java/com/airbyte/api/models/shared/Pinecone.java index 2d35ee6d9..8174037f4 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pinecone.java +++ b/src/main/java/com/airbyte/api/models/shared/Pinecone.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Pinecone { PINECONE("pinecone"); diff --git a/src/main/java/com/airbyte/api/models/shared/Pinterest.java b/src/main/java/com/airbyte/api/models/shared/Pinterest.java index bb884efcf..1c31c6432 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pinterest.java +++ b/src/main/java/com/airbyte/api/models/shared/Pinterest.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Pinterest { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Pinterest other = (Pinterest) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/PinterestCredentials.java b/src/main/java/com/airbyte/api/models/shared/PinterestCredentials.java index 0eb06abc0..927b4fc22 100644 --- a/src/main/java/com/airbyte/api/models/shared/PinterestCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/PinterestCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class PinterestCredentials { /** @@ -25,19 +24,19 @@ public class PinterestCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your OAuth application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public PinterestCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public PinterestCredentials() { /** * The Client ID of your OAuth application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your OAuth application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public PinterestCredentials withClientId(String clientId) { /** * The Client ID of your OAuth application */ - public PinterestCredentials withClientId(Optional clientId) { + public PinterestCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public PinterestCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public PinterestCredentials withClientSecret(Optional clientSecret) { + public PinterestCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } PinterestCredentials other = (PinterestCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your OAuth application */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Pipedrive.java b/src/main/java/com/airbyte/api/models/shared/Pipedrive.java index d1fcca269..eb4d6243d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pipedrive.java +++ b/src/main/java/com/airbyte/api/models/shared/Pipedrive.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Pipedrive { PIPEDRIVE("pipedrive"); diff --git a/src/main/java/com/airbyte/api/models/shared/Pipeliner.java b/src/main/java/com/airbyte/api/models/shared/Pipeliner.java new file mode 100644 index 000000000..f89cdc308 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Pipeliner.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Pipeliner { + PIPELINER("pipeliner"); + + @JsonValue + private final String value; + + private Pipeliner(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/PivotCategory.java b/src/main/java/com/airbyte/api/models/shared/PivotCategory.java index f946950ed..c04964407 100644 --- a/src/main/java/com/airbyte/api/models/shared/PivotCategory.java +++ b/src/main/java/com/airbyte/api/models/shared/PivotCategory.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * PivotCategory - Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. diff --git a/src/main/java/com/airbyte/api/models/shared/PivotalTracker.java b/src/main/java/com/airbyte/api/models/shared/PivotalTracker.java new file mode 100644 index 000000000..ea4a404e9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/PivotalTracker.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum PivotalTracker { + PIVOTAL_TRACKER("pivotal-tracker"); + + @JsonValue + private final String value; + + private PivotalTracker(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Piwik.java b/src/main/java/com/airbyte/api/models/shared/Piwik.java index f76925922..2f99b0989 100644 --- a/src/main/java/com/airbyte/api/models/shared/Piwik.java +++ b/src/main/java/com/airbyte/api/models/shared/Piwik.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Piwik { PIWIK("piwik"); diff --git a/src/main/java/com/airbyte/api/models/shared/Plaid.java b/src/main/java/com/airbyte/api/models/shared/Plaid.java new file mode 100644 index 000000000..eb1b203b4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Plaid.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Plaid { + PLAID("plaid"); + + @JsonValue + private final String value; + + private Plaid(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/PlaidEnvironment.java b/src/main/java/com/airbyte/api/models/shared/PlaidEnvironment.java new file mode 100644 index 000000000..e0677e460 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/PlaidEnvironment.java @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * PlaidEnvironment - The Plaid environment. + */ +public enum PlaidEnvironment { + SANDBOX("sandbox"), + DEVELOPMENT("development"), + PRODUCTION("production"); + + @JsonValue + private final String value; + + private PlaidEnvironment(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Planhat.java b/src/main/java/com/airbyte/api/models/shared/Planhat.java index 5b8bb1381..0be9825b6 100644 --- a/src/main/java/com/airbyte/api/models/shared/Planhat.java +++ b/src/main/java/com/airbyte/api/models/shared/Planhat.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Planhat { PLANHAT("planhat"); diff --git a/src/main/java/com/airbyte/api/models/shared/Plausible.java b/src/main/java/com/airbyte/api/models/shared/Plausible.java new file mode 100644 index 000000000..8412a3247 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Plausible.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Plausible { + PLAUSIBLE("plausible"); + + @JsonValue + private final String value; + + private Plausible(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Plugin.java b/src/main/java/com/airbyte/api/models/shared/Plugin.java new file mode 100644 index 000000000..0c50ed626 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Plugin.java @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * Plugin - A logical decoding plugin installed on the PostgreSQL server. + */ +public enum Plugin { + PGOUTPUT("pgoutput"); + + @JsonValue + private final String value; + + private Plugin(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Pocket.java b/src/main/java/com/airbyte/api/models/shared/Pocket.java index 966a9d8c4..7b109040a 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pocket.java +++ b/src/main/java/com/airbyte/api/models/shared/Pocket.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Pocket { POCKET("pocket"); diff --git a/src/main/java/com/airbyte/api/models/shared/Pokeapi.java b/src/main/java/com/airbyte/api/models/shared/Pokeapi.java index 7a78d5fee..582c6ecbc 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pokeapi.java +++ b/src/main/java/com/airbyte/api/models/shared/Pokeapi.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Pokeapi { POKEAPI("pokeapi"); diff --git a/src/main/java/com/airbyte/api/models/shared/PokemonName.java b/src/main/java/com/airbyte/api/models/shared/PokemonName.java index c6971ac50..79c53d7fa 100644 --- a/src/main/java/com/airbyte/api/models/shared/PokemonName.java +++ b/src/main/java/com/airbyte/api/models/shared/PokemonName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * PokemonName - Pokemon requested from the API. diff --git a/src/main/java/com/airbyte/api/models/shared/PolygonStockApi.java b/src/main/java/com/airbyte/api/models/shared/PolygonStockApi.java index d11fbeea1..03646d64d 100644 --- a/src/main/java/com/airbyte/api/models/shared/PolygonStockApi.java +++ b/src/main/java/com/airbyte/api/models/shared/PolygonStockApi.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum PolygonStockApi { POLYGON_STOCK_API("polygon-stock-api"); diff --git a/src/main/java/com/airbyte/api/models/shared/Postgres.java b/src/main/java/com/airbyte/api/models/shared/Postgres.java index c78f66eca..68c461293 100644 --- a/src/main/java/com/airbyte/api/models/shared/Postgres.java +++ b/src/main/java/com/airbyte/api/models/shared/Postgres.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Postgres { POSTGRES("postgres"); diff --git a/src/main/java/com/airbyte/api/models/shared/PostgresConnection.java b/src/main/java/com/airbyte/api/models/shared/PostgresConnection.java index d420dc603..5773824df 100644 --- a/src/main/java/com/airbyte/api/models/shared/PostgresConnection.java +++ b/src/main/java/com/airbyte/api/models/shared/PostgresConnection.java @@ -1,19 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + /** * PostgresConnection - Postgres can be used to store vector data and retrieve embeddings. */ @@ -32,8 +37,9 @@ public class PostgresConnection { /** * Enter the name of the default schema */ + @JsonInclude(Include.NON_ABSENT) @JsonProperty("default_schema") - private String defaultSchema; + private Optional defaultSchema; /** * Enter the account name you want to use to access the database. @@ -44,8 +50,9 @@ public class PostgresConnection { /** * Enter the port you want to use to access the database */ + @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private long port; + private Optional port; /** * Enter the name of the user you want to use to access the database @@ -57,9 +64,9 @@ public class PostgresConnection { public PostgresConnection( @JsonProperty("credentials") DestinationPgvectorCredentials credentials, @JsonProperty("database") String database, - @JsonProperty("default_schema") String defaultSchema, + @JsonProperty("default_schema") Optional defaultSchema, @JsonProperty("host") String host, - @JsonProperty("port") long port, + @JsonProperty("port") Optional port, @JsonProperty("username") String username) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(database, "database"); @@ -74,6 +81,14 @@ public PostgresConnection( this.port = port; this.username = username; } + + public PostgresConnection( + DestinationPgvectorCredentials credentials, + String database, + String host, + String username) { + this(credentials, database, Optional.empty(), host, Optional.empty(), username); + } @JsonIgnore public DestinationPgvectorCredentials credentials() { @@ -92,7 +107,7 @@ public String database() { * Enter the name of the default schema */ @JsonIgnore - public String defaultSchema() { + public Optional defaultSchema() { return defaultSchema; } @@ -108,7 +123,7 @@ public String host() { * Enter the port you want to use to access the database */ @JsonIgnore - public long port() { + public Optional port() { return port; } @@ -143,6 +158,15 @@ public PostgresConnection withDatabase(String database) { * Enter the name of the default schema */ public PostgresConnection withDefaultSchema(String defaultSchema) { + Utils.checkNotNull(defaultSchema, "defaultSchema"); + this.defaultSchema = Optional.ofNullable(defaultSchema); + return this; + } + + /** + * Enter the name of the default schema + */ + public PostgresConnection withDefaultSchema(Optional defaultSchema) { Utils.checkNotNull(defaultSchema, "defaultSchema"); this.defaultSchema = defaultSchema; return this; @@ -161,6 +185,15 @@ public PostgresConnection withHost(String host) { * Enter the port you want to use to access the database */ public PostgresConnection withPort(long port) { + Utils.checkNotNull(port, "port"); + this.port = Optional.ofNullable(port); + return this; + } + + /** + * Enter the port you want to use to access the database + */ + public PostgresConnection withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -185,17 +218,17 @@ public boolean equals(java.lang.Object o) { } PostgresConnection other = (PostgresConnection) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.defaultSchema, other.defaultSchema) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.defaultSchema, other.defaultSchema) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, database, defaultSchema, @@ -221,11 +254,11 @@ public final static class Builder { private String database; - private String defaultSchema; + private Optional defaultSchema; private String host; - private Long port; + private Optional port; private String username; @@ -252,6 +285,15 @@ public Builder database(String database) { * Enter the name of the default schema */ public Builder defaultSchema(String defaultSchema) { + Utils.checkNotNull(defaultSchema, "defaultSchema"); + this.defaultSchema = Optional.ofNullable(defaultSchema); + return this; + } + + /** + * Enter the name of the default schema + */ + public Builder defaultSchema(Optional defaultSchema) { Utils.checkNotNull(defaultSchema, "defaultSchema"); this.defaultSchema = defaultSchema; return this; @@ -270,6 +312,15 @@ public Builder host(String host) { * Enter the port you want to use to access the database */ public Builder port(long port) { + Utils.checkNotNull(port, "port"); + this.port = Optional.ofNullable(port); + return this; + } + + /** + * Enter the port you want to use to access the database + */ + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -285,7 +336,12 @@ public Builder username(String username) { } public PostgresConnection build() { - return new PostgresConnection( + if (defaultSchema == null) { + defaultSchema = _SINGLETON_VALUE_DefaultSchema.value(); + } + if (port == null) { + port = _SINGLETON_VALUE_Port.value(); + } return new PostgresConnection( credentials, database, defaultSchema, @@ -293,6 +349,18 @@ public PostgresConnection build() { port, username); } + + private static final LazySingletonValue> _SINGLETON_VALUE_DefaultSchema = + new LazySingletonValue<>( + "default_schema", + "\"public\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Port = + new LazySingletonValue<>( + "port", + "5432", + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Posthog.java b/src/main/java/com/airbyte/api/models/shared/Posthog.java index 17a9a618c..ac8644d39 100644 --- a/src/main/java/com/airbyte/api/models/shared/Posthog.java +++ b/src/main/java/com/airbyte/api/models/shared/Posthog.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Posthog { POSTHOG("posthog"); diff --git a/src/main/java/com/airbyte/api/models/shared/Postmarkapp.java b/src/main/java/com/airbyte/api/models/shared/Postmarkapp.java index 1bfb9026d..b3343b5d7 100644 --- a/src/main/java/com/airbyte/api/models/shared/Postmarkapp.java +++ b/src/main/java/com/airbyte/api/models/shared/Postmarkapp.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Postmarkapp { POSTMARKAPP("postmarkapp"); diff --git a/src/main/java/com/airbyte/api/models/shared/Prefer.java b/src/main/java/com/airbyte/api/models/shared/Prefer.java index cde6f54a2..24a0f4721 100644 --- a/src/main/java/com/airbyte/api/models/shared/Prefer.java +++ b/src/main/java/com/airbyte/api/models/shared/Prefer.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * Prefer - Prefer SSL mode. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } Prefer other = (Prefer) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/Preferred.java b/src/main/java/com/airbyte/api/models/shared/Preferred.java index a96fd2747..d7718c97b 100644 --- a/src/main/java/com/airbyte/api/models/shared/Preferred.java +++ b/src/main/java/com/airbyte/api/models/shared/Preferred.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * Preferred - Automatically attempt SSL connection. If the MySQL server does not support SSL, continue with a regular connection. */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } Preferred other = (Preferred) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/Prestashop.java b/src/main/java/com/airbyte/api/models/shared/Prestashop.java index 2310fbb0b..83479cdad 100644 --- a/src/main/java/com/airbyte/api/models/shared/Prestashop.java +++ b/src/main/java/com/airbyte/api/models/shared/Prestashop.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Prestashop { PRESTASHOP("prestashop"); diff --git a/src/main/java/com/airbyte/api/models/shared/Pretix.java b/src/main/java/com/airbyte/api/models/shared/Pretix.java new file mode 100644 index 000000000..436293ed7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Pretix.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Pretix { + PRETIX("pretix"); + + @JsonValue + private final String value; + + private Pretix(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Primetric.java b/src/main/java/com/airbyte/api/models/shared/Primetric.java new file mode 100644 index 000000000..6fbb92e50 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Primetric.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Primetric { + PRIMETRIC("primetric"); + + @JsonValue + private final String value; + + private Primetric(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/PrivateApp.java b/src/main/java/com/airbyte/api/models/shared/PrivateApp.java index f33d390be..5f246c269 100644 --- a/src/main/java/com/airbyte/api/models/shared/PrivateApp.java +++ b/src/main/java/com/airbyte/api/models/shared/PrivateApp.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class PrivateApp { @@ -77,13 +77,13 @@ public boolean equals(java.lang.Object o) { } PrivateApp other = (PrivateApp) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.credentialsTitle, other.credentialsTitle); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.credentialsTitle, other.credentialsTitle); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, credentialsTitle); } diff --git a/src/main/java/com/airbyte/api/models/shared/PrivateToken.java b/src/main/java/com/airbyte/api/models/shared/PrivateToken.java index 8930ca084..5dc050a34 100644 --- a/src/main/java/com/airbyte/api/models/shared/PrivateToken.java +++ b/src/main/java/com/airbyte/api/models/shared/PrivateToken.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class PrivateToken { /** @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } PrivateToken other = (PrivateToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/Processing.java b/src/main/java/com/airbyte/api/models/shared/Processing.java index 2b4778bc0..ffb108539 100644 --- a/src/main/java/com/airbyte/api/models/shared/Processing.java +++ b/src/main/java/com/airbyte/api/models/shared/Processing.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * Processing - Processing configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = Processing._Deserializer.class) public class Processing { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private Processing(TypedObject value) { @@ -43,7 +40,7 @@ public static Processing of(Local value) { /** * Returns an instance of one of these types: *

      - *
    • {@code Local}
    • + *
    • {@code com.airbyte.api.models.shared.Local}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -70,20 +67,20 @@ public boolean equals(java.lang.Object o) { return false; } Processing other = (Processing) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(Processing.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(Processing.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/ProcessingConfigModel.java b/src/main/java/com/airbyte/api/models/shared/ProcessingConfigModel.java index d52eb2b82..b25a2a7f3 100644 --- a/src/main/java/com/airbyte/api/models/shared/ProcessingConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/ProcessingConfigModel.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class ProcessingConfigModel { /** @@ -26,7 +29,7 @@ public class ProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("chunk_overlap") - private Optional chunkOverlap; + private Optional chunkOverlap; /** * Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) @@ -39,21 +42,21 @@ public class ProcessingConfigModel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("field_name_mappings") - private Optional> fieldNameMappings; + private Optional> fieldNameMappings; /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("metadata_fields") - private Optional> metadataFields; + private Optional> metadataFields; /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("text_fields") - private Optional> textFields; + private Optional> textFields; /** * Split text fields into chunks based on the specified method. @@ -64,11 +67,11 @@ public class ProcessingConfigModel { @JsonCreator public ProcessingConfigModel( - @JsonProperty("chunk_overlap") Optional chunkOverlap, + @JsonProperty("chunk_overlap") Optional chunkOverlap, @JsonProperty("chunk_size") long chunkSize, - @JsonProperty("field_name_mappings") Optional> fieldNameMappings, - @JsonProperty("metadata_fields") Optional> metadataFields, - @JsonProperty("text_fields") Optional> textFields, + @JsonProperty("field_name_mappings") Optional> fieldNameMappings, + @JsonProperty("metadata_fields") Optional> metadataFields, + @JsonProperty("text_fields") Optional> textFields, @JsonProperty("text_splitter") Optional textSplitter) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); Utils.checkNotNull(chunkSize, "chunkSize"); @@ -92,10 +95,9 @@ public ProcessingConfigModel( /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional chunkOverlap() { - return (Optional) chunkOverlap; + return chunkOverlap; } /** @@ -111,8 +113,8 @@ public long chunkSize() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> fieldNameMappings() { - return (Optional>) fieldNameMappings; + public Optional> fieldNameMappings() { + return (Optional>) fieldNameMappings; } /** @@ -120,8 +122,8 @@ public Optional> fieldNameMappings() */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> metadataFields() { - return (Optional>) metadataFields; + public Optional> metadataFields() { + return (Optional>) metadataFields; } /** @@ -129,8 +131,8 @@ public Optional> metadataFields() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> textFields() { - return (Optional>) textFields; + public Optional> textFields() { + return (Optional>) textFields; } /** @@ -158,7 +160,7 @@ public ProcessingConfigModel withChunkOverlap(long chunkOverlap) { /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public ProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { + public ProcessingConfigModel withChunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -176,7 +178,7 @@ public ProcessingConfigModel withChunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public ProcessingConfigModel withFieldNameMappings(java.util.List fieldNameMappings) { + public ProcessingConfigModel withFieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -185,7 +187,7 @@ public ProcessingConfigModel withFieldNameMappings(java.util.List> fieldNameMappings) { + public ProcessingConfigModel withFieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -194,7 +196,7 @@ public ProcessingConfigModel withFieldNameMappings(Optional metadataFields) { + public ProcessingConfigModel withMetadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -203,7 +205,7 @@ public ProcessingConfigModel withMetadataFields(java.util.List metadataF /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public ProcessingConfigModel withMetadataFields(Optional> metadataFields) { + public ProcessingConfigModel withMetadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -212,7 +214,7 @@ public ProcessingConfigModel withMetadataFields(Optional textFields) { + public ProcessingConfigModel withTextFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -221,7 +223,7 @@ public ProcessingConfigModel withTextFields(java.util.List textFields) { /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public ProcessingConfigModel withTextFields(Optional> textFields) { + public ProcessingConfigModel withTextFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -255,17 +257,17 @@ public boolean equals(java.lang.Object o) { } ProcessingConfigModel other = (ProcessingConfigModel) o; return - java.util.Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && - java.util.Objects.deepEquals(this.chunkSize, other.chunkSize) && - java.util.Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && - java.util.Objects.deepEquals(this.metadataFields, other.metadataFields) && - java.util.Objects.deepEquals(this.textFields, other.textFields) && - java.util.Objects.deepEquals(this.textSplitter, other.textSplitter); + Objects.deepEquals(this.chunkOverlap, other.chunkOverlap) && + Objects.deepEquals(this.chunkSize, other.chunkSize) && + Objects.deepEquals(this.fieldNameMappings, other.fieldNameMappings) && + Objects.deepEquals(this.metadataFields, other.metadataFields) && + Objects.deepEquals(this.textFields, other.textFields) && + Objects.deepEquals(this.textSplitter, other.textSplitter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( chunkOverlap, chunkSize, fieldNameMappings, @@ -287,15 +289,15 @@ public String toString() { public final static class Builder { - private Optional chunkOverlap; + private Optional chunkOverlap; private Long chunkSize; - private Optional> fieldNameMappings = Optional.empty(); + private Optional> fieldNameMappings = Optional.empty(); - private Optional> metadataFields = Optional.empty(); + private Optional> metadataFields = Optional.empty(); - private Optional> textFields = Optional.empty(); + private Optional> textFields = Optional.empty(); private Optional textSplitter = Optional.empty(); @@ -315,7 +317,7 @@ public Builder chunkOverlap(long chunkOverlap) { /** * Size of overlap between chunks in tokens to store in vector store to better capture relevant context */ - public Builder chunkOverlap(Optional chunkOverlap) { + public Builder chunkOverlap(Optional chunkOverlap) { Utils.checkNotNull(chunkOverlap, "chunkOverlap"); this.chunkOverlap = chunkOverlap; return this; @@ -333,7 +335,7 @@ public Builder chunkSize(long chunkSize) { /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public Builder fieldNameMappings(java.util.List fieldNameMappings) { + public Builder fieldNameMappings(List fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = Optional.ofNullable(fieldNameMappings); return this; @@ -342,7 +344,7 @@ public Builder fieldNameMappings(java.util.List fie /** * List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. */ - public Builder fieldNameMappings(Optional> fieldNameMappings) { + public Builder fieldNameMappings(Optional> fieldNameMappings) { Utils.checkNotNull(fieldNameMappings, "fieldNameMappings"); this.fieldNameMappings = fieldNameMappings; return this; @@ -351,7 +353,7 @@ public Builder fieldNameMappings(Optional metadataFields) { + public Builder metadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -360,7 +362,7 @@ public Builder metadataFields(java.util.List metadataFields) { /** * List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. */ - public Builder metadataFields(Optional> metadataFields) { + public Builder metadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -369,7 +371,7 @@ public Builder metadataFields(Optional> metadat /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(java.util.List textFields) { + public Builder textFields(List textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = Optional.ofNullable(textFields); return this; @@ -378,7 +380,7 @@ public Builder textFields(java.util.List textFields) { /** * List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. */ - public Builder textFields(Optional> textFields) { + public Builder textFields(Optional> textFields) { Utils.checkNotNull(textFields, "textFields"); this.textFields = textFields; return this; @@ -405,8 +407,7 @@ public Builder textSplitter(Optional textSplitter) { public ProcessingConfigModel build() { if (chunkOverlap == null) { chunkOverlap = _SINGLETON_VALUE_ChunkOverlap.value(); - } - return new ProcessingConfigModel( + } return new ProcessingConfigModel( chunkOverlap, chunkSize, fieldNameMappings, @@ -415,11 +416,11 @@ public ProcessingConfigModel build() { textSplitter); } - private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = + private static final LazySingletonValue> _SINGLETON_VALUE_ChunkOverlap = new LazySingletonValue<>( "chunk_overlap", "0", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/ProductCatalog.java b/src/main/java/com/airbyte/api/models/shared/ProductCatalog.java index a27f3dad0..791d52b92 100644 --- a/src/main/java/com/airbyte/api/models/shared/ProductCatalog.java +++ b/src/main/java/com/airbyte/api/models/shared/ProductCatalog.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ProductCatalog - Product Catalog version of your Chargebee site. Instructions on how to find your version you may find <a href="https://apidocs.chargebee.com/docs/api?prod_cat_ver=2">here</a> under `API Version` section. If left blank, the product catalog version will be set to 2.0. diff --git a/src/main/java/com/airbyte/api/models/shared/Productboard.java b/src/main/java/com/airbyte/api/models/shared/Productboard.java index 7649217ff..425a6bcf6 100644 --- a/src/main/java/com/airbyte/api/models/shared/Productboard.java +++ b/src/main/java/com/airbyte/api/models/shared/Productboard.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Productboard { PRODUCTBOARD("productboard"); diff --git a/src/main/java/com/airbyte/api/models/shared/Productive.java b/src/main/java/com/airbyte/api/models/shared/Productive.java index c3ec9d922..2fb10aa0a 100644 --- a/src/main/java/com/airbyte/api/models/shared/Productive.java +++ b/src/main/java/com/airbyte/api/models/shared/Productive.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Productive { PRODUCTIVE("productive"); diff --git a/src/main/java/com/airbyte/api/models/shared/ProjectSecret.java b/src/main/java/com/airbyte/api/models/shared/ProjectSecret.java index 293fefe29..1330544f4 100644 --- a/src/main/java/com/airbyte/api/models/shared/ProjectSecret.java +++ b/src/main/java/com/airbyte/api/models/shared/ProjectSecret.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ProjectSecret { /** @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } ProjectSecret other = (ProjectSecret) o; return - java.util.Objects.deepEquals(this.apiSecret, other.apiSecret) && - java.util.Objects.deepEquals(this.optionTitle, other.optionTitle); + Objects.deepEquals(this.apiSecret, other.apiSecret) && + Objects.deepEquals(this.optionTitle, other.optionTitle); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiSecret, optionTitle); } diff --git a/src/main/java/com/airbyte/api/models/shared/PublicPermissionType.java b/src/main/java/com/airbyte/api/models/shared/PublicPermissionType.java index c8244fdb6..3f260465c 100644 --- a/src/main/java/com/airbyte/api/models/shared/PublicPermissionType.java +++ b/src/main/java/com/airbyte/api/models/shared/PublicPermissionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * PublicPermissionType - Subset of `PermissionType` (removing `instance_admin`), could be used in public-api. @@ -21,10 +13,12 @@ public enum PublicPermissionType { ORGANIZATION_ADMIN("organization_admin"), ORGANIZATION_EDITOR("organization_editor"), + ORGANIZATION_RUNNER("organization_runner"), ORGANIZATION_READER("organization_reader"), ORGANIZATION_MEMBER("organization_member"), WORKSPACE_ADMIN("workspace_admin"), WORKSPACE_EDITOR("workspace_editor"), + WORKSPACE_RUNNER("workspace_runner"), WORKSPACE_READER("workspace_reader"); @JsonValue diff --git a/src/main/java/com/airbyte/api/models/shared/Pubsub.java b/src/main/java/com/airbyte/api/models/shared/Pubsub.java index 5082b4237..7033e4d33 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pubsub.java +++ b/src/main/java/com/airbyte/api/models/shared/Pubsub.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Pubsub { PUBSUB("pubsub"); diff --git a/src/main/java/com/airbyte/api/models/shared/Pypi.java b/src/main/java/com/airbyte/api/models/shared/Pypi.java index ee6a5d7fe..e3be27dbf 100644 --- a/src/main/java/com/airbyte/api/models/shared/Pypi.java +++ b/src/main/java/com/airbyte/api/models/shared/Pypi.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Pypi { PYPI("pypi"); diff --git a/src/main/java/com/airbyte/api/models/shared/Qdrant.java b/src/main/java/com/airbyte/api/models/shared/Qdrant.java index 76836f06a..ade9bb5f9 100644 --- a/src/main/java/com/airbyte/api/models/shared/Qdrant.java +++ b/src/main/java/com/airbyte/api/models/shared/Qdrant.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Qdrant { QDRANT("qdrant"); diff --git a/src/main/java/com/airbyte/api/models/shared/Qualaroo.java b/src/main/java/com/airbyte/api/models/shared/Qualaroo.java index 7df5ae75a..5c2fcf9bf 100644 --- a/src/main/java/com/airbyte/api/models/shared/Qualaroo.java +++ b/src/main/java/com/airbyte/api/models/shared/Qualaroo.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Qualaroo { QUALAROO("qualaroo"); diff --git a/src/main/java/com/airbyte/api/models/shared/Queries.java b/src/main/java/com/airbyte/api/models/shared/Queries.java index 3f0430834..c9c24706a 100644 --- a/src/main/java/com/airbyte/api/models/shared/Queries.java +++ b/src/main/java/com/airbyte/api/models/shared/Queries.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class Queries { @@ -113,14 +112,14 @@ public boolean equals(java.lang.Object o) { } Queries other = (Queries) o; return - java.util.Objects.deepEquals(this.dataSource, other.dataSource) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.query, other.query); + Objects.deepEquals(this.dataSource, other.dataSource) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.query, other.query); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( dataSource, name, query); diff --git a/src/main/java/com/airbyte/api/models/shared/Quickbooks.java b/src/main/java/com/airbyte/api/models/shared/Quickbooks.java new file mode 100644 index 000000000..4b1c1c98b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Quickbooks.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Quickbooks { + QUICKBOOKS("quickbooks"); + + @JsonValue + private final String value; + + private Quickbooks(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/RESTCatalog.java b/src/main/java/com/airbyte/api/models/shared/RESTCatalog.java new file mode 100644 index 000000000..099d4d5fa --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/RESTCatalog.java @@ -0,0 +1,238 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * RESTCatalog - The RESTCatalog connects to a REST server at the specified URI + */ + +public class RESTCatalog { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("catalog_type") + private Optional catalogType; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rest_credential") + private Optional restCredential; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("rest_token") + private Optional restToken; + + @JsonProperty("rest_uri") + private String restUri; + + @JsonCreator + public RESTCatalog( + @JsonProperty("catalog_type") Optional catalogType, + @JsonProperty("rest_credential") Optional restCredential, + @JsonProperty("rest_token") Optional restToken, + @JsonProperty("rest_uri") String restUri) { + Utils.checkNotNull(catalogType, "catalogType"); + Utils.checkNotNull(restCredential, "restCredential"); + Utils.checkNotNull(restToken, "restToken"); + Utils.checkNotNull(restUri, "restUri"); + this.catalogType = catalogType; + this.restCredential = restCredential; + this.restToken = restToken; + this.restUri = restUri; + } + + public RESTCatalog( + String restUri) { + this(Optional.empty(), Optional.empty(), Optional.empty(), restUri); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional catalogType() { + return (Optional) catalogType; + } + + @JsonIgnore + public Optional restCredential() { + return restCredential; + } + + @JsonIgnore + public Optional restToken() { + return restToken; + } + + @JsonIgnore + public String restUri() { + return restUri; + } + + public final static Builder builder() { + return new Builder(); + } + + public RESTCatalog withCatalogType(DestinationIcebergSchemasCatalogConfigCatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public RESTCatalog withCatalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + public RESTCatalog withRestCredential(String restCredential) { + Utils.checkNotNull(restCredential, "restCredential"); + this.restCredential = Optional.ofNullable(restCredential); + return this; + } + + public RESTCatalog withRestCredential(Optional restCredential) { + Utils.checkNotNull(restCredential, "restCredential"); + this.restCredential = restCredential; + return this; + } + + public RESTCatalog withRestToken(String restToken) { + Utils.checkNotNull(restToken, "restToken"); + this.restToken = Optional.ofNullable(restToken); + return this; + } + + public RESTCatalog withRestToken(Optional restToken) { + Utils.checkNotNull(restToken, "restToken"); + this.restToken = restToken; + return this; + } + + public RESTCatalog withRestUri(String restUri) { + Utils.checkNotNull(restUri, "restUri"); + this.restUri = restUri; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RESTCatalog other = (RESTCatalog) o; + return + Objects.deepEquals(this.catalogType, other.catalogType) && + Objects.deepEquals(this.restCredential, other.restCredential) && + Objects.deepEquals(this.restToken, other.restToken) && + Objects.deepEquals(this.restUri, other.restUri); + } + + @Override + public int hashCode() { + return Objects.hash( + catalogType, + restCredential, + restToken, + restUri); + } + + @Override + public String toString() { + return Utils.toString(RESTCatalog.class, + "catalogType", catalogType, + "restCredential", restCredential, + "restToken", restToken, + "restUri", restUri); + } + + public final static class Builder { + + private Optional catalogType; + + private Optional restCredential = Optional.empty(); + + private Optional restToken = Optional.empty(); + + private String restUri; + + private Builder() { + // force use of static builder() method + } + + public Builder catalogType(DestinationIcebergSchemasCatalogConfigCatalogType catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = Optional.ofNullable(catalogType); + return this; + } + + public Builder catalogType(Optional catalogType) { + Utils.checkNotNull(catalogType, "catalogType"); + this.catalogType = catalogType; + return this; + } + + public Builder restCredential(String restCredential) { + Utils.checkNotNull(restCredential, "restCredential"); + this.restCredential = Optional.ofNullable(restCredential); + return this; + } + + public Builder restCredential(Optional restCredential) { + Utils.checkNotNull(restCredential, "restCredential"); + this.restCredential = restCredential; + return this; + } + + public Builder restToken(String restToken) { + Utils.checkNotNull(restToken, "restToken"); + this.restToken = Optional.ofNullable(restToken); + return this; + } + + public Builder restToken(Optional restToken) { + Utils.checkNotNull(restToken, "restToken"); + this.restToken = restToken; + return this; + } + + public Builder restUri(String restUri) { + Utils.checkNotNull(restUri, "restUri"); + this.restUri = restUri; + return this; + } + + public RESTCatalog build() { + if (catalogType == null) { + catalogType = _SINGLETON_VALUE_CatalogType.value(); + } return new RESTCatalog( + catalogType, + restCredential, + restToken, + restUri); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_CatalogType = + new LazySingletonValue<>( + "catalog_type", + "\"Rest\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Railz.java b/src/main/java/com/airbyte/api/models/shared/Railz.java index 4256eac5a..81f4cae6f 100644 --- a/src/main/java/com/airbyte/api/models/shared/Railz.java +++ b/src/main/java/com/airbyte/api/models/shared/Railz.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Railz { RAILZ("railz"); diff --git a/src/main/java/com/airbyte/api/models/shared/RandomSampling.java b/src/main/java/com/airbyte/api/models/shared/RandomSampling.java new file mode 100644 index 000000000..81ca9ad54 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/RandomSampling.java @@ -0,0 +1,373 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Double; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +/** + * RandomSampling - For each stream, randomly log a percentage of the entries with a maximum cap. + */ + +public class RandomSampling { + + @JsonIgnore + private Map additionalProperties; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("logging_type") + private Optional loggingType; + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("max_entry_count") + private Optional maxEntryCount; + + /** + * A positive floating number smaller than 1. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sampling_ratio") + private Optional samplingRatio; + + /** + * When the seed is unspecified, the current time millis will be used as the seed. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("seed") + private Optional seed; + + @JsonCreator + public RandomSampling( + @JsonProperty("logging_type") Optional loggingType, + @JsonProperty("max_entry_count") Optional maxEntryCount, + @JsonProperty("sampling_ratio") Optional samplingRatio, + @JsonProperty("seed") Optional seed) { + Utils.checkNotNull(loggingType, "loggingType"); + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + Utils.checkNotNull(samplingRatio, "samplingRatio"); + Utils.checkNotNull(seed, "seed"); + this.additionalProperties = new HashMap<>(); + this.loggingType = loggingType; + this.maxEntryCount = maxEntryCount; + this.samplingRatio = samplingRatio; + this.seed = seed; + } + + public RandomSampling() { + this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional loggingType() { + return (Optional) loggingType; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + @JsonIgnore + public Optional maxEntryCount() { + return maxEntryCount; + } + + /** + * A positive floating number smaller than 1. + */ + @JsonIgnore + public Optional samplingRatio() { + return samplingRatio; + } + + /** + * When the seed is unspecified, the current time millis will be used as the seed. + */ + @JsonIgnore + public Optional seed() { + return seed; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public RandomSampling withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public RandomSampling withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public RandomSampling withLoggingType(DestinationDevNullSchemasLoggingType loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = Optional.ofNullable(loggingType); + return this; + } + + public RandomSampling withLoggingType(Optional loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = loggingType; + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public RandomSampling withMaxEntryCount(double maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = Optional.ofNullable(maxEntryCount); + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public RandomSampling withMaxEntryCount(Optional maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = maxEntryCount; + return this; + } + + /** + * A positive floating number smaller than 1. + */ + public RandomSampling withSamplingRatio(double samplingRatio) { + Utils.checkNotNull(samplingRatio, "samplingRatio"); + this.samplingRatio = Optional.ofNullable(samplingRatio); + return this; + } + + /** + * A positive floating number smaller than 1. + */ + public RandomSampling withSamplingRatio(Optional samplingRatio) { + Utils.checkNotNull(samplingRatio, "samplingRatio"); + this.samplingRatio = samplingRatio; + return this; + } + + /** + * When the seed is unspecified, the current time millis will be used as the seed. + */ + public RandomSampling withSeed(double seed) { + Utils.checkNotNull(seed, "seed"); + this.seed = Optional.ofNullable(seed); + return this; + } + + /** + * When the seed is unspecified, the current time millis will be used as the seed. + */ + public RandomSampling withSeed(Optional seed) { + Utils.checkNotNull(seed, "seed"); + this.seed = seed; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RandomSampling other = (RandomSampling) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.loggingType, other.loggingType) && + Objects.deepEquals(this.maxEntryCount, other.maxEntryCount) && + Objects.deepEquals(this.samplingRatio, other.samplingRatio) && + Objects.deepEquals(this.seed, other.seed); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + loggingType, + maxEntryCount, + samplingRatio, + seed); + } + + @Override + public String toString() { + return Utils.toString(RandomSampling.class, + "additionalProperties", additionalProperties, + "loggingType", loggingType, + "maxEntryCount", maxEntryCount, + "samplingRatio", samplingRatio, + "seed", seed); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Optional loggingType; + + private Optional maxEntryCount; + + private Optional samplingRatio; + + private Optional seed = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public Builder loggingType(DestinationDevNullSchemasLoggingType loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = Optional.ofNullable(loggingType); + return this; + } + + public Builder loggingType(Optional loggingType) { + Utils.checkNotNull(loggingType, "loggingType"); + this.loggingType = loggingType; + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public Builder maxEntryCount(double maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = Optional.ofNullable(maxEntryCount); + return this; + } + + /** + * Number of entries to log. This destination is for testing only. So it won't make sense to log infinitely. The maximum is 1,000 entries. + */ + public Builder maxEntryCount(Optional maxEntryCount) { + Utils.checkNotNull(maxEntryCount, "maxEntryCount"); + this.maxEntryCount = maxEntryCount; + return this; + } + + /** + * A positive floating number smaller than 1. + */ + public Builder samplingRatio(double samplingRatio) { + Utils.checkNotNull(samplingRatio, "samplingRatio"); + this.samplingRatio = Optional.ofNullable(samplingRatio); + return this; + } + + /** + * A positive floating number smaller than 1. + */ + public Builder samplingRatio(Optional samplingRatio) { + Utils.checkNotNull(samplingRatio, "samplingRatio"); + this.samplingRatio = samplingRatio; + return this; + } + + /** + * When the seed is unspecified, the current time millis will be used as the seed. + */ + public Builder seed(double seed) { + Utils.checkNotNull(seed, "seed"); + this.seed = Optional.ofNullable(seed); + return this; + } + + /** + * When the seed is unspecified, the current time millis will be used as the seed. + */ + public Builder seed(Optional seed) { + Utils.checkNotNull(seed, "seed"); + this.seed = seed; + return this; + } + + public RandomSampling build() { + if (loggingType == null) { + loggingType = _SINGLETON_VALUE_LoggingType.value(); + } + if (maxEntryCount == null) { + maxEntryCount = _SINGLETON_VALUE_MaxEntryCount.value(); + } + if (samplingRatio == null) { + samplingRatio = _SINGLETON_VALUE_SamplingRatio.value(); + } return new RandomSampling( + loggingType, + maxEntryCount, + samplingRatio, + seed) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_LoggingType = + new LazySingletonValue<>( + "logging_type", + "\"RandomSampling\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_MaxEntryCount = + new LazySingletonValue<>( + "max_entry_count", + "100", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SamplingRatio = + new LazySingletonValue<>( + "sampling_ratio", + "0.001", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Range.java b/src/main/java/com/airbyte/api/models/shared/Range.java new file mode 100644 index 000000000..a6b90a2ab --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Range.java @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * Range - The range of prices to be queried. + */ +public enum Range { + ONED("1d"), + FIVED("5d"), + SEVEND("7d"), + ONEMO("1mo"), + THREEMO("3mo"), + SIXMO("6mo"), + ONEY("1y"), + TWOY("2y"), + FIVEY("5y"), + YTD("ytd"), + MAX("max"); + + @JsonValue + private final String value; + + private Range(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/RdStationMarketing.java b/src/main/java/com/airbyte/api/models/shared/RdStationMarketing.java new file mode 100644 index 000000000..e2c6532e4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/RdStationMarketing.java @@ -0,0 +1,111 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class RdStationMarketing { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("authorization") + private Optional authorization; + + @JsonCreator + public RdStationMarketing( + @JsonProperty("authorization") Optional authorization) { + Utils.checkNotNull(authorization, "authorization"); + this.authorization = authorization; + } + + public RdStationMarketing() { + this(Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authorization() { + return (Optional) authorization; + } + + public final static Builder builder() { + return new Builder(); + } + + public RdStationMarketing withAuthorization(RdStationMarketingAuthorization authorization) { + Utils.checkNotNull(authorization, "authorization"); + this.authorization = Optional.ofNullable(authorization); + return this; + } + + public RdStationMarketing withAuthorization(Optional authorization) { + Utils.checkNotNull(authorization, "authorization"); + this.authorization = authorization; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RdStationMarketing other = (RdStationMarketing) o; + return + Objects.deepEquals(this.authorization, other.authorization); + } + + @Override + public int hashCode() { + return Objects.hash( + authorization); + } + + @Override + public String toString() { + return Utils.toString(RdStationMarketing.class, + "authorization", authorization); + } + + public final static class Builder { + + private Optional authorization = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder authorization(RdStationMarketingAuthorization authorization) { + Utils.checkNotNull(authorization, "authorization"); + this.authorization = Optional.ofNullable(authorization); + return this; + } + + public Builder authorization(Optional authorization) { + Utils.checkNotNull(authorization, "authorization"); + this.authorization = authorization; + return this; + } + + public RdStationMarketing build() { + return new RdStationMarketing( + authorization); + } + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/RetentlyCredentials.java b/src/main/java/com/airbyte/api/models/shared/RdStationMarketingAuthorization.java similarity index 54% rename from src/main/java/com/airbyte/api/models/shared/RetentlyCredentials.java rename to src/main/java/com/airbyte/api/models/shared/RdStationMarketingAuthorization.java index 1294b7c37..48af59430 100644 --- a/src/main/java/com/airbyte/api/models/shared/RetentlyCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/RdStationMarketingAuthorization.java @@ -1,69 +1,66 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; -public class RetentlyCredentials { + +public class RdStationMarketingAuthorization { /** - * The Client ID of your Retently developer application. + * The Client ID of your RD Station developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** - * The Client Secret of your Retently developer application. + * The Client Secret of your RD Station developer application */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator - public RetentlyCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + public RdStationMarketingAuthorization( + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; this.clientSecret = clientSecret; } - public RetentlyCredentials() { + public RdStationMarketingAuthorization() { this(Optional.empty(), Optional.empty()); } /** - * The Client ID of your Retently developer application. + * The Client ID of your RD Station developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** - * The Client Secret of your Retently developer application. + * The Client Secret of your RD Station developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -71,36 +68,36 @@ public final static Builder builder() { } /** - * The Client ID of your Retently developer application. + * The Client ID of your RD Station developer application. */ - public RetentlyCredentials withClientId(String clientId) { + public RdStationMarketingAuthorization withClientId(String clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = Optional.ofNullable(clientId); return this; } /** - * The Client ID of your Retently developer application. + * The Client ID of your RD Station developer application. */ - public RetentlyCredentials withClientId(Optional clientId) { + public RdStationMarketingAuthorization withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; } /** - * The Client Secret of your Retently developer application. + * The Client Secret of your RD Station developer application */ - public RetentlyCredentials withClientSecret(String clientSecret) { + public RdStationMarketingAuthorization withClientSecret(String clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = Optional.ofNullable(clientSecret); return this; } /** - * The Client Secret of your Retently developer application. + * The Client Secret of your RD Station developer application */ - public RetentlyCredentials withClientSecret(Optional clientSecret) { + public RdStationMarketingAuthorization withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -114,38 +111,38 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RetentlyCredentials other = (RetentlyCredentials) o; + RdStationMarketingAuthorization other = (RdStationMarketingAuthorization) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @Override public String toString() { - return Utils.toString(RetentlyCredentials.class, + return Utils.toString(RdStationMarketingAuthorization.class, "clientId", clientId, "clientSecret", clientSecret); } public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method } /** - * The Client ID of your Retently developer application. + * The Client ID of your RD Station developer application. */ public Builder clientId(String clientId) { Utils.checkNotNull(clientId, "clientId"); @@ -154,16 +151,16 @@ public Builder clientId(String clientId) { } /** - * The Client ID of your Retently developer application. + * The Client ID of your RD Station developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; } /** - * The Client Secret of your Retently developer application. + * The Client Secret of your RD Station developer application */ public Builder clientSecret(String clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); @@ -172,16 +169,16 @@ public Builder clientSecret(String clientSecret) { } /** - * The Client Secret of your Retently developer application. + * The Client Secret of your RD Station developer application */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; } - public RetentlyCredentials build() { - return new RetentlyCredentials( + public RdStationMarketingAuthorization build() { + return new RdStationMarketingAuthorization( clientId, clientSecret); } diff --git a/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingBinaryLogCDC.java b/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingBinaryLogCDC.java index 5d0e40fde..5a1daeaa5 100644 --- a/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingBinaryLogCDC.java +++ b/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingBinaryLogCDC.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * ReadChangesUsingBinaryLogCDC - <i>Recommended</i> - Incrementally reads new inserts, updates, and deletes using the MySQL <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">binary log</a>. This must be enabled on your database. */ @@ -29,14 +31,14 @@ public class ReadChangesUsingBinaryLogCDC { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("initial_load_timeout_hours") - private Optional initialLoadTimeoutHours; + private Optional initialLoadTimeoutHours; /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("initial_waiting_seconds") - private Optional initialWaitingSeconds; + private Optional initialWaitingSeconds; /** * Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. @@ -53,14 +55,14 @@ public class ReadChangesUsingBinaryLogCDC { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("server_time_zone") - private Optional serverTimeZone; + private Optional serverTimeZone; @JsonCreator public ReadChangesUsingBinaryLogCDC( - @JsonProperty("initial_load_timeout_hours") Optional initialLoadTimeoutHours, - @JsonProperty("initial_waiting_seconds") Optional initialWaitingSeconds, + @JsonProperty("initial_load_timeout_hours") Optional initialLoadTimeoutHours, + @JsonProperty("initial_waiting_seconds") Optional initialWaitingSeconds, @JsonProperty("invalid_cdc_cursor_position_behavior") Optional invalidCdcCursorPositionBehavior, - @JsonProperty("server_time_zone") Optional serverTimeZone) { + @JsonProperty("server_time_zone") Optional serverTimeZone) { Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); Utils.checkNotNull(invalidCdcCursorPositionBehavior, "invalidCdcCursorPositionBehavior"); @@ -79,19 +81,17 @@ public ReadChangesUsingBinaryLogCDC() { /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional initialLoadTimeoutHours() { - return (Optional) initialLoadTimeoutHours; + return initialLoadTimeoutHours; } /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional initialWaitingSeconds() { - return (Optional) initialWaitingSeconds; + return initialWaitingSeconds; } /** @@ -111,10 +111,9 @@ public SourceMysqlMethod method() { /** * Enter the configured MySQL server timezone. This should only be done if the configured timezone in your MySQL instance does not conform to IANNA standard. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional serverTimeZone() { - return (Optional) serverTimeZone; + return serverTimeZone; } public final static Builder builder() { @@ -133,7 +132,7 @@ public ReadChangesUsingBinaryLogCDC withInitialLoadTimeoutHours(long initialLoad /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ - public ReadChangesUsingBinaryLogCDC withInitialLoadTimeoutHours(Optional initialLoadTimeoutHours) { + public ReadChangesUsingBinaryLogCDC withInitialLoadTimeoutHours(Optional initialLoadTimeoutHours) { Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); this.initialLoadTimeoutHours = initialLoadTimeoutHours; return this; @@ -151,7 +150,7 @@ public ReadChangesUsingBinaryLogCDC withInitialWaitingSeconds(long initialWaitin /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>. */ - public ReadChangesUsingBinaryLogCDC withInitialWaitingSeconds(Optional initialWaitingSeconds) { + public ReadChangesUsingBinaryLogCDC withInitialWaitingSeconds(Optional initialWaitingSeconds) { Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); this.initialWaitingSeconds = initialWaitingSeconds; return this; @@ -187,7 +186,7 @@ public ReadChangesUsingBinaryLogCDC withServerTimeZone(String serverTimeZone) { /** * Enter the configured MySQL server timezone. This should only be done if the configured timezone in your MySQL instance does not conform to IANNA standard. */ - public ReadChangesUsingBinaryLogCDC withServerTimeZone(Optional serverTimeZone) { + public ReadChangesUsingBinaryLogCDC withServerTimeZone(Optional serverTimeZone) { Utils.checkNotNull(serverTimeZone, "serverTimeZone"); this.serverTimeZone = serverTimeZone; return this; @@ -203,16 +202,16 @@ public boolean equals(java.lang.Object o) { } ReadChangesUsingBinaryLogCDC other = (ReadChangesUsingBinaryLogCDC) o; return - java.util.Objects.deepEquals(this.initialLoadTimeoutHours, other.initialLoadTimeoutHours) && - java.util.Objects.deepEquals(this.initialWaitingSeconds, other.initialWaitingSeconds) && - java.util.Objects.deepEquals(this.invalidCdcCursorPositionBehavior, other.invalidCdcCursorPositionBehavior) && - java.util.Objects.deepEquals(this.method, other.method) && - java.util.Objects.deepEquals(this.serverTimeZone, other.serverTimeZone); + Objects.deepEquals(this.initialLoadTimeoutHours, other.initialLoadTimeoutHours) && + Objects.deepEquals(this.initialWaitingSeconds, other.initialWaitingSeconds) && + Objects.deepEquals(this.invalidCdcCursorPositionBehavior, other.invalidCdcCursorPositionBehavior) && + Objects.deepEquals(this.method, other.method) && + Objects.deepEquals(this.serverTimeZone, other.serverTimeZone); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( initialLoadTimeoutHours, initialWaitingSeconds, invalidCdcCursorPositionBehavior, @@ -232,13 +231,13 @@ public String toString() { public final static class Builder { - private Optional initialLoadTimeoutHours; + private Optional initialLoadTimeoutHours; - private Optional initialWaitingSeconds; + private Optional initialWaitingSeconds; private Optional invalidCdcCursorPositionBehavior; - private Optional serverTimeZone = Optional.empty(); + private Optional serverTimeZone = Optional.empty(); private Builder() { // force use of static builder() method @@ -256,7 +255,7 @@ public Builder initialLoadTimeoutHours(long initialLoadTimeoutHours) { /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ - public Builder initialLoadTimeoutHours(Optional initialLoadTimeoutHours) { + public Builder initialLoadTimeoutHours(Optional initialLoadTimeoutHours) { Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); this.initialLoadTimeoutHours = initialLoadTimeoutHours; return this; @@ -274,7 +273,7 @@ public Builder initialWaitingSeconds(long initialWaitingSeconds) { /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>. */ - public Builder initialWaitingSeconds(Optional initialWaitingSeconds) { + public Builder initialWaitingSeconds(Optional initialWaitingSeconds) { Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); this.initialWaitingSeconds = initialWaitingSeconds; return this; @@ -310,7 +309,7 @@ public Builder serverTimeZone(String serverTimeZone) { /** * Enter the configured MySQL server timezone. This should only be done if the configured timezone in your MySQL instance does not conform to IANNA standard. */ - public Builder serverTimeZone(Optional serverTimeZone) { + public Builder serverTimeZone(Optional serverTimeZone) { Utils.checkNotNull(serverTimeZone, "serverTimeZone"); this.serverTimeZone = serverTimeZone; return this; @@ -325,25 +324,24 @@ public ReadChangesUsingBinaryLogCDC build() { } if (invalidCdcCursorPositionBehavior == null) { invalidCdcCursorPositionBehavior = _SINGLETON_VALUE_InvalidCdcCursorPositionBehavior.value(); - } - return new ReadChangesUsingBinaryLogCDC( + } return new ReadChangesUsingBinaryLogCDC( initialLoadTimeoutHours, initialWaitingSeconds, invalidCdcCursorPositionBehavior, serverTimeZone); } - private static final LazySingletonValue> _SINGLETON_VALUE_InitialLoadTimeoutHours = + private static final LazySingletonValue> _SINGLETON_VALUE_InitialLoadTimeoutHours = new LazySingletonValue<>( "initial_load_timeout_hours", "8", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_InitialWaitingSeconds = + private static final LazySingletonValue> _SINGLETON_VALUE_InitialWaitingSeconds = new LazySingletonValue<>( "initial_waiting_seconds", "300", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_InvalidCdcCursorPositionBehavior = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java b/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java index f76582893..3e5e06e40 100644 --- a/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java +++ b/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingChangeDataCaptureCDC.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * ReadChangesUsingChangeDataCaptureCDC - <i>Recommended</i> - Incrementally reads new inserts, updates, and deletes using the SQL Server's <a href="https://docs.airbyte.com/integrations/sources/mssql/#change-data-capture-cdc">change data capture feature</a>. This must be enabled on your database. */ @@ -29,14 +31,14 @@ public class ReadChangesUsingChangeDataCaptureCDC { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("initial_load_timeout_hours") - private Optional initialLoadTimeoutHours; + private Optional initialLoadTimeoutHours; /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("initial_waiting_seconds") - private Optional initialWaitingSeconds; + private Optional initialWaitingSeconds; /** * Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. @@ -53,14 +55,14 @@ public class ReadChangesUsingChangeDataCaptureCDC { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("queue_size") - private Optional queueSize; + private Optional queueSize; @JsonCreator public ReadChangesUsingChangeDataCaptureCDC( - @JsonProperty("initial_load_timeout_hours") Optional initialLoadTimeoutHours, - @JsonProperty("initial_waiting_seconds") Optional initialWaitingSeconds, + @JsonProperty("initial_load_timeout_hours") Optional initialLoadTimeoutHours, + @JsonProperty("initial_waiting_seconds") Optional initialWaitingSeconds, @JsonProperty("invalid_cdc_cursor_position_behavior") Optional invalidCdcCursorPositionBehavior, - @JsonProperty("queue_size") Optional queueSize) { + @JsonProperty("queue_size") Optional queueSize) { Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); Utils.checkNotNull(invalidCdcCursorPositionBehavior, "invalidCdcCursorPositionBehavior"); @@ -79,19 +81,17 @@ public ReadChangesUsingChangeDataCaptureCDC() { /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional initialLoadTimeoutHours() { - return (Optional) initialLoadTimeoutHours; + return initialLoadTimeoutHours; } /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional initialWaitingSeconds() { - return (Optional) initialWaitingSeconds; + return initialWaitingSeconds; } /** @@ -111,10 +111,9 @@ public SourceMssqlMethod method() { /** * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional queueSize() { - return (Optional) queueSize; + return queueSize; } public final static Builder builder() { @@ -133,7 +132,7 @@ public ReadChangesUsingChangeDataCaptureCDC withInitialLoadTimeoutHours(long ini /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ - public ReadChangesUsingChangeDataCaptureCDC withInitialLoadTimeoutHours(Optional initialLoadTimeoutHours) { + public ReadChangesUsingChangeDataCaptureCDC withInitialLoadTimeoutHours(Optional initialLoadTimeoutHours) { Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); this.initialLoadTimeoutHours = initialLoadTimeoutHours; return this; @@ -151,7 +150,7 @@ public ReadChangesUsingChangeDataCaptureCDC withInitialWaitingSeconds(long initi /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>. */ - public ReadChangesUsingChangeDataCaptureCDC withInitialWaitingSeconds(Optional initialWaitingSeconds) { + public ReadChangesUsingChangeDataCaptureCDC withInitialWaitingSeconds(Optional initialWaitingSeconds) { Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); this.initialWaitingSeconds = initialWaitingSeconds; return this; @@ -187,7 +186,7 @@ public ReadChangesUsingChangeDataCaptureCDC withQueueSize(long queueSize) { /** * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. */ - public ReadChangesUsingChangeDataCaptureCDC withQueueSize(Optional queueSize) { + public ReadChangesUsingChangeDataCaptureCDC withQueueSize(Optional queueSize) { Utils.checkNotNull(queueSize, "queueSize"); this.queueSize = queueSize; return this; @@ -203,16 +202,16 @@ public boolean equals(java.lang.Object o) { } ReadChangesUsingChangeDataCaptureCDC other = (ReadChangesUsingChangeDataCaptureCDC) o; return - java.util.Objects.deepEquals(this.initialLoadTimeoutHours, other.initialLoadTimeoutHours) && - java.util.Objects.deepEquals(this.initialWaitingSeconds, other.initialWaitingSeconds) && - java.util.Objects.deepEquals(this.invalidCdcCursorPositionBehavior, other.invalidCdcCursorPositionBehavior) && - java.util.Objects.deepEquals(this.method, other.method) && - java.util.Objects.deepEquals(this.queueSize, other.queueSize); + Objects.deepEquals(this.initialLoadTimeoutHours, other.initialLoadTimeoutHours) && + Objects.deepEquals(this.initialWaitingSeconds, other.initialWaitingSeconds) && + Objects.deepEquals(this.invalidCdcCursorPositionBehavior, other.invalidCdcCursorPositionBehavior) && + Objects.deepEquals(this.method, other.method) && + Objects.deepEquals(this.queueSize, other.queueSize); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( initialLoadTimeoutHours, initialWaitingSeconds, invalidCdcCursorPositionBehavior, @@ -232,13 +231,13 @@ public String toString() { public final static class Builder { - private Optional initialLoadTimeoutHours; + private Optional initialLoadTimeoutHours; - private Optional initialWaitingSeconds; + private Optional initialWaitingSeconds; private Optional invalidCdcCursorPositionBehavior; - private Optional queueSize; + private Optional queueSize; private Builder() { // force use of static builder() method @@ -256,7 +255,7 @@ public Builder initialLoadTimeoutHours(long initialLoadTimeoutHours) { /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ - public Builder initialLoadTimeoutHours(Optional initialLoadTimeoutHours) { + public Builder initialLoadTimeoutHours(Optional initialLoadTimeoutHours) { Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); this.initialLoadTimeoutHours = initialLoadTimeoutHours; return this; @@ -274,7 +273,7 @@ public Builder initialWaitingSeconds(long initialWaitingSeconds) { /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc">initial waiting time</a>. */ - public Builder initialWaitingSeconds(Optional initialWaitingSeconds) { + public Builder initialWaitingSeconds(Optional initialWaitingSeconds) { Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); this.initialWaitingSeconds = initialWaitingSeconds; return this; @@ -310,7 +309,7 @@ public Builder queueSize(long queueSize) { /** * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. */ - public Builder queueSize(Optional queueSize) { + public Builder queueSize(Optional queueSize) { Utils.checkNotNull(queueSize, "queueSize"); this.queueSize = queueSize; return this; @@ -328,25 +327,24 @@ public ReadChangesUsingChangeDataCaptureCDC build() { } if (queueSize == null) { queueSize = _SINGLETON_VALUE_QueueSize.value(); - } - return new ReadChangesUsingChangeDataCaptureCDC( + } return new ReadChangesUsingChangeDataCaptureCDC( initialLoadTimeoutHours, initialWaitingSeconds, invalidCdcCursorPositionBehavior, queueSize); } - private static final LazySingletonValue> _SINGLETON_VALUE_InitialLoadTimeoutHours = + private static final LazySingletonValue> _SINGLETON_VALUE_InitialLoadTimeoutHours = new LazySingletonValue<>( "initial_load_timeout_hours", "8", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_InitialWaitingSeconds = + private static final LazySingletonValue> _SINGLETON_VALUE_InitialWaitingSeconds = new LazySingletonValue<>( "initial_waiting_seconds", "300", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_InvalidCdcCursorPositionBehavior = new LazySingletonValue<>( @@ -360,11 +358,11 @@ public ReadChangesUsingChangeDataCaptureCDC build() { "\"CDC\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_QueueSize = + private static final LazySingletonValue> _SINGLETON_VALUE_QueueSize = new LazySingletonValue<>( "queue_size", "10000", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingWriteAheadLogCDC.java b/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingWriteAheadLogCDC.java new file mode 100644 index 000000000..4dfec976b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ReadChangesUsingWriteAheadLogCDC.java @@ -0,0 +1,711 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Long; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +/** + * ReadChangesUsingWriteAheadLogCDC - <i>Recommended</i> - Incrementally reads new inserts, updates, and deletes using the Postgres <a href="https://docs.airbyte.com/integrations/sources/postgres/#cdc">write-ahead log (WAL)</a>. This needs to be configured on the source database itself. Recommended for tables of any size. + */ + +public class ReadChangesUsingWriteAheadLogCDC { + + @JsonIgnore + private Map additionalProperties; + + /** + * Specifies a query that the connector executes on the source database when the connector sends a heartbeat message. Please see the <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-wal-disk-consumption-and-heartbeat-action-query">setup guide</a> for how and when to configure this setting. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("heartbeat_action_query") + private Optional heartbeatActionQuery; + + /** + * The amount of time an initial load is allowed to continue for before catching up on CDC logs. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("initial_load_timeout_hours") + private Optional initialLoadTimeoutHours; + + /** + * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 1200 seconds. Valid range: 120 seconds to 2400 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-setting-up-initial-cdc-waiting-time">initial waiting time</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("initial_waiting_seconds") + private Optional initialWaitingSeconds; + + /** + * Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("invalid_cdc_cursor_position_behavior") + private Optional invalidCdcCursorPositionBehavior; + + /** + * Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lsn_commit_behaviour") + private Optional lsnCommitBehaviour; + + @JsonProperty("method") + private SourcePostgresMethod method; + + /** + * A logical decoding plugin installed on the PostgreSQL server. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("plugin") + private Optional plugin; + + /** + * A Postgres publication used for consuming changes. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres#step-4-create-publications-and-replication-identities-for-tables">publications and replication identities</a>. + */ + @JsonProperty("publication") + private String publication; + + /** + * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("queue_size") + private Optional queueSize; + + /** + * A plugin logical replication slot. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres#step-3-create-replication-slot">replication slots</a>. + */ + @JsonProperty("replication_slot") + private String replicationSlot; + + @JsonCreator + public ReadChangesUsingWriteAheadLogCDC( + @JsonProperty("heartbeat_action_query") Optional heartbeatActionQuery, + @JsonProperty("initial_load_timeout_hours") Optional initialLoadTimeoutHours, + @JsonProperty("initial_waiting_seconds") Optional initialWaitingSeconds, + @JsonProperty("invalid_cdc_cursor_position_behavior") Optional invalidCdcCursorPositionBehavior, + @JsonProperty("lsn_commit_behaviour") Optional lsnCommitBehaviour, + @JsonProperty("plugin") Optional plugin, + @JsonProperty("publication") String publication, + @JsonProperty("queue_size") Optional queueSize, + @JsonProperty("replication_slot") String replicationSlot) { + Utils.checkNotNull(heartbeatActionQuery, "heartbeatActionQuery"); + Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); + Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); + Utils.checkNotNull(invalidCdcCursorPositionBehavior, "invalidCdcCursorPositionBehavior"); + Utils.checkNotNull(lsnCommitBehaviour, "lsnCommitBehaviour"); + Utils.checkNotNull(plugin, "plugin"); + Utils.checkNotNull(publication, "publication"); + Utils.checkNotNull(queueSize, "queueSize"); + Utils.checkNotNull(replicationSlot, "replicationSlot"); + this.additionalProperties = new HashMap<>(); + this.heartbeatActionQuery = heartbeatActionQuery; + this.initialLoadTimeoutHours = initialLoadTimeoutHours; + this.initialWaitingSeconds = initialWaitingSeconds; + this.invalidCdcCursorPositionBehavior = invalidCdcCursorPositionBehavior; + this.lsnCommitBehaviour = lsnCommitBehaviour; + this.method = Builder._SINGLETON_VALUE_Method.value(); + this.plugin = plugin; + this.publication = publication; + this.queueSize = queueSize; + this.replicationSlot = replicationSlot; + } + + public ReadChangesUsingWriteAheadLogCDC( + String publication, + String replicationSlot) { + this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), publication, Optional.empty(), replicationSlot); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * Specifies a query that the connector executes on the source database when the connector sends a heartbeat message. Please see the <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-wal-disk-consumption-and-heartbeat-action-query">setup guide</a> for how and when to configure this setting. + */ + @JsonIgnore + public Optional heartbeatActionQuery() { + return heartbeatActionQuery; + } + + /** + * The amount of time an initial load is allowed to continue for before catching up on CDC logs. + */ + @JsonIgnore + public Optional initialLoadTimeoutHours() { + return initialLoadTimeoutHours; + } + + /** + * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 1200 seconds. Valid range: 120 seconds to 2400 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-setting-up-initial-cdc-waiting-time">initial waiting time</a>. + */ + @JsonIgnore + public Optional initialWaitingSeconds() { + return initialWaitingSeconds; + } + + /** + * Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional invalidCdcCursorPositionBehavior() { + return (Optional) invalidCdcCursorPositionBehavior; + } + + /** + * Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional lsnCommitBehaviour() { + return (Optional) lsnCommitBehaviour; + } + + @JsonIgnore + public SourcePostgresMethod method() { + return method; + } + + /** + * A logical decoding plugin installed on the PostgreSQL server. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional plugin() { + return (Optional) plugin; + } + + /** + * A Postgres publication used for consuming changes. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres#step-4-create-publications-and-replication-identities-for-tables">publications and replication identities</a>. + */ + @JsonIgnore + public String publication() { + return publication; + } + + /** + * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. + */ + @JsonIgnore + public Optional queueSize() { + return queueSize; + } + + /** + * A plugin logical replication slot. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres#step-3-create-replication-slot">replication slots</a>. + */ + @JsonIgnore + public String replicationSlot() { + return replicationSlot; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public ReadChangesUsingWriteAheadLogCDC withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public ReadChangesUsingWriteAheadLogCDC withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Specifies a query that the connector executes on the source database when the connector sends a heartbeat message. Please see the <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-wal-disk-consumption-and-heartbeat-action-query">setup guide</a> for how and when to configure this setting. + */ + public ReadChangesUsingWriteAheadLogCDC withHeartbeatActionQuery(String heartbeatActionQuery) { + Utils.checkNotNull(heartbeatActionQuery, "heartbeatActionQuery"); + this.heartbeatActionQuery = Optional.ofNullable(heartbeatActionQuery); + return this; + } + + /** + * Specifies a query that the connector executes on the source database when the connector sends a heartbeat message. Please see the <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-wal-disk-consumption-and-heartbeat-action-query">setup guide</a> for how and when to configure this setting. + */ + public ReadChangesUsingWriteAheadLogCDC withHeartbeatActionQuery(Optional heartbeatActionQuery) { + Utils.checkNotNull(heartbeatActionQuery, "heartbeatActionQuery"); + this.heartbeatActionQuery = heartbeatActionQuery; + return this; + } + + /** + * The amount of time an initial load is allowed to continue for before catching up on CDC logs. + */ + public ReadChangesUsingWriteAheadLogCDC withInitialLoadTimeoutHours(long initialLoadTimeoutHours) { + Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); + this.initialLoadTimeoutHours = Optional.ofNullable(initialLoadTimeoutHours); + return this; + } + + /** + * The amount of time an initial load is allowed to continue for before catching up on CDC logs. + */ + public ReadChangesUsingWriteAheadLogCDC withInitialLoadTimeoutHours(Optional initialLoadTimeoutHours) { + Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); + this.initialLoadTimeoutHours = initialLoadTimeoutHours; + return this; + } + + /** + * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 1200 seconds. Valid range: 120 seconds to 2400 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-setting-up-initial-cdc-waiting-time">initial waiting time</a>. + */ + public ReadChangesUsingWriteAheadLogCDC withInitialWaitingSeconds(long initialWaitingSeconds) { + Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); + this.initialWaitingSeconds = Optional.ofNullable(initialWaitingSeconds); + return this; + } + + /** + * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 1200 seconds. Valid range: 120 seconds to 2400 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-setting-up-initial-cdc-waiting-time">initial waiting time</a>. + */ + public ReadChangesUsingWriteAheadLogCDC withInitialWaitingSeconds(Optional initialWaitingSeconds) { + Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); + this.initialWaitingSeconds = initialWaitingSeconds; + return this; + } + + /** + * Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. + */ + public ReadChangesUsingWriteAheadLogCDC withInvalidCdcCursorPositionBehavior(SourcePostgresInvalidCDCPositionBehaviorAdvanced invalidCdcCursorPositionBehavior) { + Utils.checkNotNull(invalidCdcCursorPositionBehavior, "invalidCdcCursorPositionBehavior"); + this.invalidCdcCursorPositionBehavior = Optional.ofNullable(invalidCdcCursorPositionBehavior); + return this; + } + + /** + * Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. + */ + public ReadChangesUsingWriteAheadLogCDC withInvalidCdcCursorPositionBehavior(Optional invalidCdcCursorPositionBehavior) { + Utils.checkNotNull(invalidCdcCursorPositionBehavior, "invalidCdcCursorPositionBehavior"); + this.invalidCdcCursorPositionBehavior = invalidCdcCursorPositionBehavior; + return this; + } + + /** + * Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync. + */ + public ReadChangesUsingWriteAheadLogCDC withLsnCommitBehaviour(LSNCommitBehaviour lsnCommitBehaviour) { + Utils.checkNotNull(lsnCommitBehaviour, "lsnCommitBehaviour"); + this.lsnCommitBehaviour = Optional.ofNullable(lsnCommitBehaviour); + return this; + } + + /** + * Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync. + */ + public ReadChangesUsingWriteAheadLogCDC withLsnCommitBehaviour(Optional lsnCommitBehaviour) { + Utils.checkNotNull(lsnCommitBehaviour, "lsnCommitBehaviour"); + this.lsnCommitBehaviour = lsnCommitBehaviour; + return this; + } + + /** + * A logical decoding plugin installed on the PostgreSQL server. + */ + public ReadChangesUsingWriteAheadLogCDC withPlugin(Plugin plugin) { + Utils.checkNotNull(plugin, "plugin"); + this.plugin = Optional.ofNullable(plugin); + return this; + } + + /** + * A logical decoding plugin installed on the PostgreSQL server. + */ + public ReadChangesUsingWriteAheadLogCDC withPlugin(Optional plugin) { + Utils.checkNotNull(plugin, "plugin"); + this.plugin = plugin; + return this; + } + + /** + * A Postgres publication used for consuming changes. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres#step-4-create-publications-and-replication-identities-for-tables">publications and replication identities</a>. + */ + public ReadChangesUsingWriteAheadLogCDC withPublication(String publication) { + Utils.checkNotNull(publication, "publication"); + this.publication = publication; + return this; + } + + /** + * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. + */ + public ReadChangesUsingWriteAheadLogCDC withQueueSize(long queueSize) { + Utils.checkNotNull(queueSize, "queueSize"); + this.queueSize = Optional.ofNullable(queueSize); + return this; + } + + /** + * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. + */ + public ReadChangesUsingWriteAheadLogCDC withQueueSize(Optional queueSize) { + Utils.checkNotNull(queueSize, "queueSize"); + this.queueSize = queueSize; + return this; + } + + /** + * A plugin logical replication slot. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres#step-3-create-replication-slot">replication slots</a>. + */ + public ReadChangesUsingWriteAheadLogCDC withReplicationSlot(String replicationSlot) { + Utils.checkNotNull(replicationSlot, "replicationSlot"); + this.replicationSlot = replicationSlot; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ReadChangesUsingWriteAheadLogCDC other = (ReadChangesUsingWriteAheadLogCDC) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.heartbeatActionQuery, other.heartbeatActionQuery) && + Objects.deepEquals(this.initialLoadTimeoutHours, other.initialLoadTimeoutHours) && + Objects.deepEquals(this.initialWaitingSeconds, other.initialWaitingSeconds) && + Objects.deepEquals(this.invalidCdcCursorPositionBehavior, other.invalidCdcCursorPositionBehavior) && + Objects.deepEquals(this.lsnCommitBehaviour, other.lsnCommitBehaviour) && + Objects.deepEquals(this.method, other.method) && + Objects.deepEquals(this.plugin, other.plugin) && + Objects.deepEquals(this.publication, other.publication) && + Objects.deepEquals(this.queueSize, other.queueSize) && + Objects.deepEquals(this.replicationSlot, other.replicationSlot); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + heartbeatActionQuery, + initialLoadTimeoutHours, + initialWaitingSeconds, + invalidCdcCursorPositionBehavior, + lsnCommitBehaviour, + method, + plugin, + publication, + queueSize, + replicationSlot); + } + + @Override + public String toString() { + return Utils.toString(ReadChangesUsingWriteAheadLogCDC.class, + "additionalProperties", additionalProperties, + "heartbeatActionQuery", heartbeatActionQuery, + "initialLoadTimeoutHours", initialLoadTimeoutHours, + "initialWaitingSeconds", initialWaitingSeconds, + "invalidCdcCursorPositionBehavior", invalidCdcCursorPositionBehavior, + "lsnCommitBehaviour", lsnCommitBehaviour, + "method", method, + "plugin", plugin, + "publication", publication, + "queueSize", queueSize, + "replicationSlot", replicationSlot); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Optional heartbeatActionQuery; + + private Optional initialLoadTimeoutHours; + + private Optional initialWaitingSeconds; + + private Optional invalidCdcCursorPositionBehavior; + + private Optional lsnCommitBehaviour; + + private Optional plugin; + + private String publication; + + private Optional queueSize; + + private String replicationSlot; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Specifies a query that the connector executes on the source database when the connector sends a heartbeat message. Please see the <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-wal-disk-consumption-and-heartbeat-action-query">setup guide</a> for how and when to configure this setting. + */ + public Builder heartbeatActionQuery(String heartbeatActionQuery) { + Utils.checkNotNull(heartbeatActionQuery, "heartbeatActionQuery"); + this.heartbeatActionQuery = Optional.ofNullable(heartbeatActionQuery); + return this; + } + + /** + * Specifies a query that the connector executes on the source database when the connector sends a heartbeat message. Please see the <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-wal-disk-consumption-and-heartbeat-action-query">setup guide</a> for how and when to configure this setting. + */ + public Builder heartbeatActionQuery(Optional heartbeatActionQuery) { + Utils.checkNotNull(heartbeatActionQuery, "heartbeatActionQuery"); + this.heartbeatActionQuery = heartbeatActionQuery; + return this; + } + + /** + * The amount of time an initial load is allowed to continue for before catching up on CDC logs. + */ + public Builder initialLoadTimeoutHours(long initialLoadTimeoutHours) { + Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); + this.initialLoadTimeoutHours = Optional.ofNullable(initialLoadTimeoutHours); + return this; + } + + /** + * The amount of time an initial load is allowed to continue for before catching up on CDC logs. + */ + public Builder initialLoadTimeoutHours(Optional initialLoadTimeoutHours) { + Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); + this.initialLoadTimeoutHours = initialLoadTimeoutHours; + return this; + } + + /** + * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 1200 seconds. Valid range: 120 seconds to 2400 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-setting-up-initial-cdc-waiting-time">initial waiting time</a>. + */ + public Builder initialWaitingSeconds(long initialWaitingSeconds) { + Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); + this.initialWaitingSeconds = Optional.ofNullable(initialWaitingSeconds); + return this; + } + + /** + * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 1200 seconds. Valid range: 120 seconds to 2400 seconds. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-setting-up-initial-cdc-waiting-time">initial waiting time</a>. + */ + public Builder initialWaitingSeconds(Optional initialWaitingSeconds) { + Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); + this.initialWaitingSeconds = initialWaitingSeconds; + return this; + } + + /** + * Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. + */ + public Builder invalidCdcCursorPositionBehavior(SourcePostgresInvalidCDCPositionBehaviorAdvanced invalidCdcCursorPositionBehavior) { + Utils.checkNotNull(invalidCdcCursorPositionBehavior, "invalidCdcCursorPositionBehavior"); + this.invalidCdcCursorPositionBehavior = Optional.ofNullable(invalidCdcCursorPositionBehavior); + return this; + } + + /** + * Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. + */ + public Builder invalidCdcCursorPositionBehavior(Optional invalidCdcCursorPositionBehavior) { + Utils.checkNotNull(invalidCdcCursorPositionBehavior, "invalidCdcCursorPositionBehavior"); + this.invalidCdcCursorPositionBehavior = invalidCdcCursorPositionBehavior; + return this; + } + + /** + * Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync. + */ + public Builder lsnCommitBehaviour(LSNCommitBehaviour lsnCommitBehaviour) { + Utils.checkNotNull(lsnCommitBehaviour, "lsnCommitBehaviour"); + this.lsnCommitBehaviour = Optional.ofNullable(lsnCommitBehaviour); + return this; + } + + /** + * Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync. + */ + public Builder lsnCommitBehaviour(Optional lsnCommitBehaviour) { + Utils.checkNotNull(lsnCommitBehaviour, "lsnCommitBehaviour"); + this.lsnCommitBehaviour = lsnCommitBehaviour; + return this; + } + + /** + * A logical decoding plugin installed on the PostgreSQL server. + */ + public Builder plugin(Plugin plugin) { + Utils.checkNotNull(plugin, "plugin"); + this.plugin = Optional.ofNullable(plugin); + return this; + } + + /** + * A logical decoding plugin installed on the PostgreSQL server. + */ + public Builder plugin(Optional plugin) { + Utils.checkNotNull(plugin, "plugin"); + this.plugin = plugin; + return this; + } + + /** + * A Postgres publication used for consuming changes. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres#step-4-create-publications-and-replication-identities-for-tables">publications and replication identities</a>. + */ + public Builder publication(String publication) { + Utils.checkNotNull(publication, "publication"); + this.publication = publication; + return this; + } + + /** + * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. + */ + public Builder queueSize(long queueSize) { + Utils.checkNotNull(queueSize, "queueSize"); + this.queueSize = Optional.ofNullable(queueSize); + return this; + } + + /** + * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. + */ + public Builder queueSize(Optional queueSize) { + Utils.checkNotNull(queueSize, "queueSize"); + this.queueSize = queueSize; + return this; + } + + /** + * A plugin logical replication slot. Read about <a href="https://docs.airbyte.com/integrations/sources/postgres#step-3-create-replication-slot">replication slots</a>. + */ + public Builder replicationSlot(String replicationSlot) { + Utils.checkNotNull(replicationSlot, "replicationSlot"); + this.replicationSlot = replicationSlot; + return this; + } + + public ReadChangesUsingWriteAheadLogCDC build() { + if (heartbeatActionQuery == null) { + heartbeatActionQuery = _SINGLETON_VALUE_HeartbeatActionQuery.value(); + } + if (initialLoadTimeoutHours == null) { + initialLoadTimeoutHours = _SINGLETON_VALUE_InitialLoadTimeoutHours.value(); + } + if (initialWaitingSeconds == null) { + initialWaitingSeconds = _SINGLETON_VALUE_InitialWaitingSeconds.value(); + } + if (invalidCdcCursorPositionBehavior == null) { + invalidCdcCursorPositionBehavior = _SINGLETON_VALUE_InvalidCdcCursorPositionBehavior.value(); + } + if (lsnCommitBehaviour == null) { + lsnCommitBehaviour = _SINGLETON_VALUE_LsnCommitBehaviour.value(); + } + if (plugin == null) { + plugin = _SINGLETON_VALUE_Plugin.value(); + } + if (queueSize == null) { + queueSize = _SINGLETON_VALUE_QueueSize.value(); + } return new ReadChangesUsingWriteAheadLogCDC( + heartbeatActionQuery, + initialLoadTimeoutHours, + initialWaitingSeconds, + invalidCdcCursorPositionBehavior, + lsnCommitBehaviour, + plugin, + publication, + queueSize, + replicationSlot) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_HeartbeatActionQuery = + new LazySingletonValue<>( + "heartbeat_action_query", + "\"\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_InitialLoadTimeoutHours = + new LazySingletonValue<>( + "initial_load_timeout_hours", + "8", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_InitialWaitingSeconds = + new LazySingletonValue<>( + "initial_waiting_seconds", + "1200", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_InvalidCdcCursorPositionBehavior = + new LazySingletonValue<>( + "invalid_cdc_cursor_position_behavior", + "\"Fail sync\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_LsnCommitBehaviour = + new LazySingletonValue<>( + "lsn_commit_behaviour", + "\"After loading Data in the destination\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_Method = + new LazySingletonValue<>( + "method", + "\"CDC\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Plugin = + new LazySingletonValue<>( + "plugin", + "\"pgoutput\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_QueueSize = + new LazySingletonValue<>( + "queue_size", + "10000", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Recharge.java b/src/main/java/com/airbyte/api/models/shared/Recharge.java index d139cd877..81aad59bc 100644 --- a/src/main/java/com/airbyte/api/models/shared/Recharge.java +++ b/src/main/java/com/airbyte/api/models/shared/Recharge.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Recharge { RECHARGE("recharge"); diff --git a/src/main/java/com/airbyte/api/models/shared/Recreation.java b/src/main/java/com/airbyte/api/models/shared/Recreation.java index cd616d725..c6a98a6a5 100644 --- a/src/main/java/com/airbyte/api/models/shared/Recreation.java +++ b/src/main/java/com/airbyte/api/models/shared/Recreation.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Recreation { RECREATION("recreation"); diff --git a/src/main/java/com/airbyte/api/models/shared/Recruitee.java b/src/main/java/com/airbyte/api/models/shared/Recruitee.java index f8bc02478..e4485f2e0 100644 --- a/src/main/java/com/airbyte/api/models/shared/Recruitee.java +++ b/src/main/java/com/airbyte/api/models/shared/Recruitee.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Recruitee { RECRUITEE("recruitee"); diff --git a/src/main/java/com/airbyte/api/models/shared/Recurly.java b/src/main/java/com/airbyte/api/models/shared/Recurly.java index f1066b840..5cf5f5126 100644 --- a/src/main/java/com/airbyte/api/models/shared/Recurly.java +++ b/src/main/java/com/airbyte/api/models/shared/Recurly.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Recurly { RECURLY("recurly"); diff --git a/src/main/java/com/airbyte/api/models/shared/Reddit.java b/src/main/java/com/airbyte/api/models/shared/Reddit.java index 88e0cb935..7ee204570 100644 --- a/src/main/java/com/airbyte/api/models/shared/Reddit.java +++ b/src/main/java/com/airbyte/api/models/shared/Reddit.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Reddit { REDDIT("reddit"); diff --git a/src/main/java/com/airbyte/api/models/shared/Redis.java b/src/main/java/com/airbyte/api/models/shared/Redis.java index 63c97b381..cecca7dd0 100644 --- a/src/main/java/com/airbyte/api/models/shared/Redis.java +++ b/src/main/java/com/airbyte/api/models/shared/Redis.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Redis { REDIS("redis"); diff --git a/src/main/java/com/airbyte/api/models/shared/Redshift.java b/src/main/java/com/airbyte/api/models/shared/Redshift.java index 7b411b961..3d4b2ce10 100644 --- a/src/main/java/com/airbyte/api/models/shared/Redshift.java +++ b/src/main/java/com/airbyte/api/models/shared/Redshift.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Redshift { REDSHIFT("redshift"); diff --git a/src/main/java/com/airbyte/api/models/shared/Referralhero.java b/src/main/java/com/airbyte/api/models/shared/Referralhero.java new file mode 100644 index 000000000..51dae2b62 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Referralhero.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Referralhero { + REFERRALHERO("referralhero"); + + @JsonValue + private final String value; + + private Referralhero(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Region.java b/src/main/java/com/airbyte/api/models/shared/Region.java index 799ab9823..2795b6d68 100644 --- a/src/main/java/com/airbyte/api/models/shared/Region.java +++ b/src/main/java/com/airbyte/api/models/shared/Region.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Region - Region to pull data from (EU/NA/FE). See <a href="https://advertising.amazon.com/API/docs/en-us/info/api-overview#api-endpoints">docs</a> for more details. diff --git a/src/main/java/com/airbyte/api/models/shared/Rentcast.java b/src/main/java/com/airbyte/api/models/shared/Rentcast.java new file mode 100644 index 000000000..c944e2412 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Rentcast.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Rentcast { + RENTCAST("rentcast"); + + @JsonValue + private final String value; + + private Rentcast(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Repairshopr.java b/src/main/java/com/airbyte/api/models/shared/Repairshopr.java new file mode 100644 index 000000000..42babac5a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Repairshopr.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Repairshopr { + REPAIRSHOPR("repairshopr"); + + @JsonValue + private final String value; + + private Repairshopr(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ReplicaSet.java b/src/main/java/com/airbyte/api/models/shared/ReplicaSet.java index caecfe730..58d93f889 100644 --- a/src/main/java/com/airbyte/api/models/shared/ReplicaSet.java +++ b/src/main/java/com/airbyte/api/models/shared/ReplicaSet.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ReplicaSet { @JsonInclude(Include.NON_ABSENT) @@ -30,7 +31,7 @@ public class ReplicaSet { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("replica_set") - private Optional replicaSet; + private Optional replicaSet; /** * The members of a replica set. Please specify `host`:`port` of each member seperated by comma. @@ -41,7 +42,7 @@ public class ReplicaSet { @JsonCreator public ReplicaSet( @JsonProperty("instance") Optional instance, - @JsonProperty("replica_set") Optional replicaSet, + @JsonProperty("replica_set") Optional replicaSet, @JsonProperty("server_addresses") String serverAddresses) { Utils.checkNotNull(instance, "instance"); Utils.checkNotNull(replicaSet, "replicaSet"); @@ -65,10 +66,9 @@ public Optional instance() { /** * A replica set name. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional replicaSet() { - return (Optional) replicaSet; + return replicaSet; } /** @@ -107,7 +107,7 @@ public ReplicaSet withReplicaSet(String replicaSet) { /** * A replica set name. */ - public ReplicaSet withReplicaSet(Optional replicaSet) { + public ReplicaSet withReplicaSet(Optional replicaSet) { Utils.checkNotNull(replicaSet, "replicaSet"); this.replicaSet = replicaSet; return this; @@ -132,14 +132,14 @@ public boolean equals(java.lang.Object o) { } ReplicaSet other = (ReplicaSet) o; return - java.util.Objects.deepEquals(this.instance, other.instance) && - java.util.Objects.deepEquals(this.replicaSet, other.replicaSet) && - java.util.Objects.deepEquals(this.serverAddresses, other.serverAddresses); + Objects.deepEquals(this.instance, other.instance) && + Objects.deepEquals(this.replicaSet, other.replicaSet) && + Objects.deepEquals(this.serverAddresses, other.serverAddresses); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( instance, replicaSet, serverAddresses); @@ -157,7 +157,7 @@ public final static class Builder { private Optional instance; - private Optional replicaSet = Optional.empty(); + private Optional replicaSet = Optional.empty(); private String serverAddresses; @@ -189,7 +189,7 @@ public Builder replicaSet(String replicaSet) { /** * A replica set name. */ - public Builder replicaSet(Optional replicaSet) { + public Builder replicaSet(Optional replicaSet) { Utils.checkNotNull(replicaSet, "replicaSet"); this.replicaSet = replicaSet; return this; @@ -207,8 +207,7 @@ public Builder serverAddresses(String serverAddresses) { public ReplicaSet build() { if (instance == null) { instance = _SINGLETON_VALUE_Instance.value(); - } - return new ReplicaSet( + } return new ReplicaSet( instance, replicaSet, serverAddresses); diff --git a/src/main/java/com/airbyte/api/models/shared/ReplicateRecords.java b/src/main/java/com/airbyte/api/models/shared/ReplicateRecords.java new file mode 100644 index 000000000..61b27c1b4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ReplicateRecords.java @@ -0,0 +1,91 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * ReplicateRecords - Recommended - Extract and load structured records into your destination of choice. This is the classic method of moving data in Airbyte. It allows for blocking and hashing individual fields or files from a structured schema. Data can be flattened, typed and deduped depending on the destination. + */ + +public class ReplicateRecords { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_type") + private Optional deliveryType; + + @JsonCreator + public ReplicateRecords() { + + this.deliveryType = Builder._SINGLETON_VALUE_DeliveryType.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryType() { + return (Optional) deliveryType; + } + + public final static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ReplicateRecords other = (ReplicateRecords) o; + return + Objects.deepEquals(this.deliveryType, other.deliveryType); + } + + @Override + public int hashCode() { + return Objects.hash( + deliveryType); + } + + @Override + public String toString() { + return Utils.toString(ReplicateRecords.class, + "deliveryType", deliveryType); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public ReplicateRecords build() { + return new ReplicateRecords( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DeliveryType = + new LazySingletonValue<>( + "delivery_type", + "\"use_records_transfer\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/ReplyIo.java b/src/main/java/com/airbyte/api/models/shared/ReplyIo.java new file mode 100644 index 000000000..aa67bd0df --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ReplyIo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ReplyIo { + REPLY_IO("reply-io"); + + @JsonValue + private final String value; + + private ReplyIo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ReportConfig.java b/src/main/java/com/airbyte/api/models/shared/ReportConfig.java index 05beff0a0..578838667 100644 --- a/src/main/java/com/airbyte/api/models/shared/ReportConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/ReportConfig.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * ReportConfig - Config for custom report */ @@ -30,7 +32,7 @@ public class ReportConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attribution_types") - private Optional> attributionTypes; + private Optional> attributionTypes; /** * Number of days to use as the conversion attribution window for a pin click action. @@ -43,7 +45,7 @@ public class ReportConfig { * A list of chosen columns */ @JsonProperty("columns") - private java.util.List columns; + private List columns; /** * The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event.. @@ -84,7 +86,7 @@ public class ReportConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Number of days to use as the conversion attribution window for a view action. @@ -95,15 +97,15 @@ public class ReportConfig { @JsonCreator public ReportConfig( - @JsonProperty("attribution_types") Optional> attributionTypes, + @JsonProperty("attribution_types") Optional> attributionTypes, @JsonProperty("click_window_days") Optional clickWindowDays, - @JsonProperty("columns") java.util.List columns, + @JsonProperty("columns") List columns, @JsonProperty("conversion_report_time") Optional conversionReportTime, @JsonProperty("engagement_window_days") Optional engagementWindowDays, @JsonProperty("granularity") Optional granularity, @JsonProperty("level") Optional level, @JsonProperty("name") String name, - @JsonProperty("start_date") Optional startDate, + @JsonProperty("start_date") Optional startDate, @JsonProperty("view_window_days") Optional viewWindowDays) { Utils.checkNotNull(attributionTypes, "attributionTypes"); Utils.checkNotNull(clickWindowDays, "clickWindowDays"); @@ -128,7 +130,7 @@ public ReportConfig( } public ReportConfig( - java.util.List columns, + List columns, String name) { this(Optional.empty(), Optional.empty(), columns, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), name, Optional.empty(), Optional.empty()); } @@ -138,8 +140,8 @@ public ReportConfig( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> attributionTypes() { - return (Optional>) attributionTypes; + public Optional> attributionTypes() { + return (Optional>) attributionTypes; } /** @@ -155,7 +157,7 @@ public Optional clickWindowDays() { * A list of chosen columns */ @JsonIgnore - public java.util.List columns() { + public List columns() { return columns; } @@ -206,10 +208,9 @@ public String name() { /** * A date in the format YYYY-MM-DD. If you have not set a date, it would be defaulted to latest allowed date by report api (913 days from today). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -228,7 +229,7 @@ public final static Builder builder() { /** * List of types of attribution for the conversion report */ - public ReportConfig withAttributionTypes(java.util.List attributionTypes) { + public ReportConfig withAttributionTypes(List attributionTypes) { Utils.checkNotNull(attributionTypes, "attributionTypes"); this.attributionTypes = Optional.ofNullable(attributionTypes); return this; @@ -237,7 +238,7 @@ public ReportConfig withAttributionTypes(java.util.List> attributionTypes) { + public ReportConfig withAttributionTypes(Optional> attributionTypes) { Utils.checkNotNull(attributionTypes, "attributionTypes"); this.attributionTypes = attributionTypes; return this; @@ -264,7 +265,7 @@ public ReportConfig withClickWindowDays(Optional clic /** * A list of chosen columns */ - public ReportConfig withColumns(java.util.List columns) { + public ReportConfig withColumns(List columns) { Utils.checkNotNull(columns, "columns"); this.columns = columns; return this; @@ -363,7 +364,7 @@ public ReportConfig withStartDate(LocalDate startDate) { /** * A date in the format YYYY-MM-DD. If you have not set a date, it would be defaulted to latest allowed date by report api (913 days from today). */ - public ReportConfig withStartDate(Optional startDate) { + public ReportConfig withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -397,21 +398,21 @@ public boolean equals(java.lang.Object o) { } ReportConfig other = (ReportConfig) o; return - java.util.Objects.deepEquals(this.attributionTypes, other.attributionTypes) && - java.util.Objects.deepEquals(this.clickWindowDays, other.clickWindowDays) && - java.util.Objects.deepEquals(this.columns, other.columns) && - java.util.Objects.deepEquals(this.conversionReportTime, other.conversionReportTime) && - java.util.Objects.deepEquals(this.engagementWindowDays, other.engagementWindowDays) && - java.util.Objects.deepEquals(this.granularity, other.granularity) && - java.util.Objects.deepEquals(this.level, other.level) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.viewWindowDays, other.viewWindowDays); + Objects.deepEquals(this.attributionTypes, other.attributionTypes) && + Objects.deepEquals(this.clickWindowDays, other.clickWindowDays) && + Objects.deepEquals(this.columns, other.columns) && + Objects.deepEquals(this.conversionReportTime, other.conversionReportTime) && + Objects.deepEquals(this.engagementWindowDays, other.engagementWindowDays) && + Objects.deepEquals(this.granularity, other.granularity) && + Objects.deepEquals(this.level, other.level) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.viewWindowDays, other.viewWindowDays); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( attributionTypes, clickWindowDays, columns, @@ -441,11 +442,11 @@ public String toString() { public final static class Builder { - private Optional> attributionTypes = Optional.empty(); + private Optional> attributionTypes = Optional.empty(); private Optional clickWindowDays; - private java.util.List columns; + private List columns; private Optional conversionReportTime; @@ -457,7 +458,7 @@ public final static class Builder { private String name; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Optional viewWindowDays; @@ -468,7 +469,7 @@ private Builder() { /** * List of types of attribution for the conversion report */ - public Builder attributionTypes(java.util.List attributionTypes) { + public Builder attributionTypes(List attributionTypes) { Utils.checkNotNull(attributionTypes, "attributionTypes"); this.attributionTypes = Optional.ofNullable(attributionTypes); return this; @@ -477,7 +478,7 @@ public Builder attributionTypes(java.util.List attrib /** * List of types of attribution for the conversion report */ - public Builder attributionTypes(Optional> attributionTypes) { + public Builder attributionTypes(Optional> attributionTypes) { Utils.checkNotNull(attributionTypes, "attributionTypes"); this.attributionTypes = attributionTypes; return this; @@ -504,7 +505,7 @@ public Builder clickWindowDays(Optional clickWindowDa /** * A list of chosen columns */ - public Builder columns(java.util.List columns) { + public Builder columns(List columns) { Utils.checkNotNull(columns, "columns"); this.columns = columns; return this; @@ -603,7 +604,7 @@ public Builder startDate(LocalDate startDate) { /** * A date in the format YYYY-MM-DD. If you have not set a date, it would be defaulted to latest allowed date by report api (913 days from today). */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -645,8 +646,7 @@ public ReportConfig build() { } if (viewWindowDays == null) { viewWindowDays = _SINGLETON_VALUE_ViewWindowDays.value(); - } - return new ReportConfig( + } return new ReportConfig( attributionTypes, clickWindowDays, columns, diff --git a/src/main/java/com/airbyte/api/models/shared/ReportName.java b/src/main/java/com/airbyte/api/models/shared/ReportName.java index 21730bd83..a9cc878f4 100644 --- a/src/main/java/com/airbyte/api/models/shared/ReportName.java +++ b/src/main/java/com/airbyte/api/models/shared/ReportName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ReportName { GET_AFN_INVENTORY_DATA("GET_AFN_INVENTORY_DATA"), diff --git a/src/main/java/com/airbyte/api/models/shared/ReportOptions.java b/src/main/java/com/airbyte/api/models/shared/ReportOptions.java index 5baa4bc5a..91831e4b7 100644 --- a/src/main/java/com/airbyte/api/models/shared/ReportOptions.java +++ b/src/main/java/com/airbyte/api/models/shared/ReportOptions.java @@ -1,19 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class ReportOptions { @@ -21,7 +21,7 @@ public class ReportOptions { * List of options */ @JsonProperty("options_list") - private java.util.List optionsList; + private List optionsList; @JsonProperty("report_name") private ReportName reportName; @@ -31,7 +31,7 @@ public class ReportOptions { @JsonCreator public ReportOptions( - @JsonProperty("options_list") java.util.List optionsList, + @JsonProperty("options_list") List optionsList, @JsonProperty("report_name") ReportName reportName, @JsonProperty("stream_name") String streamName) { Utils.checkNotNull(optionsList, "optionsList"); @@ -46,7 +46,7 @@ public ReportOptions( * List of options */ @JsonIgnore - public java.util.List optionsList() { + public List optionsList() { return optionsList; } @@ -67,7 +67,7 @@ public final static Builder builder() { /** * List of options */ - public ReportOptions withOptionsList(java.util.List optionsList) { + public ReportOptions withOptionsList(List optionsList) { Utils.checkNotNull(optionsList, "optionsList"); this.optionsList = optionsList; return this; @@ -95,14 +95,14 @@ public boolean equals(java.lang.Object o) { } ReportOptions other = (ReportOptions) o; return - java.util.Objects.deepEquals(this.optionsList, other.optionsList) && - java.util.Objects.deepEquals(this.reportName, other.reportName) && - java.util.Objects.deepEquals(this.streamName, other.streamName); + Objects.deepEquals(this.optionsList, other.optionsList) && + Objects.deepEquals(this.reportName, other.reportName) && + Objects.deepEquals(this.streamName, other.streamName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( optionsList, reportName, streamName); @@ -118,7 +118,7 @@ public String toString() { public final static class Builder { - private java.util.List optionsList; + private List optionsList; private ReportName reportName; @@ -131,7 +131,7 @@ private Builder() { /** * List of options */ - public Builder optionsList(java.util.List optionsList) { + public Builder optionsList(List optionsList) { Utils.checkNotNull(optionsList, "optionsList"); this.optionsList = optionsList; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/ReportRecordTypeEnum.java b/src/main/java/com/airbyte/api/models/shared/ReportRecordTypeEnum.java new file mode 100644 index 000000000..af83ee081 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ReportRecordTypeEnum.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * ReportRecordTypeEnum - An enumeration. + */ +public enum ReportRecordTypeEnum { + AD_GROUPS("adGroups"), + ASINS("asins"), + ASINS_KEYWORDS("asins_keywords"), + ASINS_TARGETS("asins_targets"), + CAMPAIGNS("campaigns"), + KEYWORDS("keywords"), + PRODUCT_ADS("productAds"), + TARGETS("targets"); + + @JsonValue + private final String value; + + private ReportRecordTypeEnum(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ReportRecordTypes.java b/src/main/java/com/airbyte/api/models/shared/ReportRecordTypes.java deleted file mode 100644 index e3a2580e8..000000000 --- a/src/main/java/com/airbyte/api/models/shared/ReportRecordTypes.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.shared; - -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; - -public enum ReportRecordTypes { - AD_GROUPS("adGroups"), - ASINS("asins"), - ASINS_KEYWORDS("asins_keywords"), - ASINS_TARGETS("asins_targets"), - CAMPAIGNS("campaigns"), - KEYWORDS("keywords"), - PRODUCT_ADS("productAds"), - TARGETS("targets"); - - @JsonValue - private final String value; - - private ReportRecordTypes(String value) { - this.value = value; - } - - public String value() { - return value; - } -} diff --git a/src/main/java/com/airbyte/api/models/shared/ReportingDataObject.java b/src/main/java/com/airbyte/api/models/shared/ReportingDataObject.java index 4535320ea..8d8d1e253 100644 --- a/src/main/java/com/airbyte/api/models/shared/ReportingDataObject.java +++ b/src/main/java/com/airbyte/api/models/shared/ReportingDataObject.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ReportingDataObject - The name of the the object derives from the ReportRequest object. You can find it in Bing Ads Api docs - Reporting API - Reporting Data Objects. diff --git a/src/main/java/com/airbyte/api/models/shared/Require.java b/src/main/java/com/airbyte/api/models/shared/Require.java index 9aed0c13a..2e4862dfc 100644 --- a/src/main/java/com/airbyte/api/models/shared/Require.java +++ b/src/main/java/com/airbyte/api/models/shared/Require.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * Require - Require SSL mode. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } Require other = (Require) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/Required.java b/src/main/java/com/airbyte/api/models/shared/Required.java index 389ae0de6..8fad99b99 100644 --- a/src/main/java/com/airbyte/api/models/shared/Required.java +++ b/src/main/java/com/airbyte/api/models/shared/Required.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * Required - Always connect with SSL. If the MySQL server doesn’t support SSL, the connection will not be established. Certificate Authority (CA) and Hostname are not verified. */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } Required other = (Required) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/Retently.java b/src/main/java/com/airbyte/api/models/shared/Retently.java index fe278c887..233075291 100644 --- a/src/main/java/com/airbyte/api/models/shared/Retently.java +++ b/src/main/java/com/airbyte/api/models/shared/Retently.java @@ -1,111 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.util.Optional; +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; -public class Retently { +public enum Retently { + RETENTLY("retently"); - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("credentials") - private Optional credentials; + @JsonValue + private final String value; - @JsonCreator - public Retently( - @JsonProperty("credentials") Optional credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = credentials; + private Retently(String value) { + this.value = value; } - public Retently() { - this(Optional.empty()); - } - - @SuppressWarnings("unchecked") - @JsonIgnore - public Optional credentials() { - return (Optional) credentials; - } - - public final static Builder builder() { - return new Builder(); - } - - public Retently withCredentials(RetentlyCredentials credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = Optional.ofNullable(credentials); - return this; - } - - public Retently withCredentials(Optional credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = credentials; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Retently other = (Retently) o; - return - java.util.Objects.deepEquals(this.credentials, other.credentials); - } - - @Override - public int hashCode() { - return java.util.Objects.hash( - credentials); - } - - @Override - public String toString() { - return Utils.toString(Retently.class, - "credentials", credentials); - } - - public final static class Builder { - - private Optional credentials = Optional.empty(); - - private Builder() { - // force use of static builder() method - } - - public Builder credentials(RetentlyCredentials credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = Optional.ofNullable(credentials); - return this; - } - - public Builder credentials(Optional credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = credentials; - return this; - } - - public Retently build() { - return new Retently( - credentials); - } + public String value() { + return value; } } - diff --git a/src/main/java/com/airbyte/api/models/shared/Revenuecat.java b/src/main/java/com/airbyte/api/models/shared/Revenuecat.java new file mode 100644 index 000000000..2a60cfc46 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Revenuecat.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Revenuecat { + REVENUECAT("revenuecat"); + + @JsonValue + private final String value; + + private Revenuecat(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/RevolutMerchant.java b/src/main/java/com/airbyte/api/models/shared/RevolutMerchant.java new file mode 100644 index 000000000..927c2dd48 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/RevolutMerchant.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum RevolutMerchant { + REVOLUT_MERCHANT("revolut-merchant"); + + @JsonValue + private final String value; + + private RevolutMerchant(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/RkiCovid.java b/src/main/java/com/airbyte/api/models/shared/RkiCovid.java index b3e8c5597..6253ea5ee 100644 --- a/src/main/java/com/airbyte/api/models/shared/RkiCovid.java +++ b/src/main/java/com/airbyte/api/models/shared/RkiCovid.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum RkiCovid { RKI_COVID("rki-covid"); diff --git a/src/main/java/com/airbyte/api/models/shared/Rocketlane.java b/src/main/java/com/airbyte/api/models/shared/Rocketlane.java new file mode 100644 index 000000000..eeecafcb0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Rocketlane.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Rocketlane { + ROCKETLANE("rocketlane"); + + @JsonValue + private final String value; + + private Rocketlane(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/RoleBasedAuthentication.java b/src/main/java/com/airbyte/api/models/shared/RoleBasedAuthentication.java new file mode 100644 index 000000000..6b4d73f01 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/RoleBasedAuthentication.java @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class RoleBasedAuthentication { + + @JsonIgnore + private Map additionalProperties; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + @JsonCreator + public RoleBasedAuthentication() { + + this.additionalProperties = new HashMap<>(); + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public RoleBasedAuthentication withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public RoleBasedAuthentication withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RoleBasedAuthentication other = (RoleBasedAuthentication) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.authType, other.authType); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + authType); + } + + @Override + public String toString() { + return Utils.toString(RoleBasedAuthentication.class, + "additionalProperties", additionalProperties, + "authType", authType); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public RoleBasedAuthentication build() { + return new RoleBasedAuthentication( + ) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Role\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Rollbar.java b/src/main/java/com/airbyte/api/models/shared/Rollbar.java new file mode 100644 index 000000000..49dcbf8c1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Rollbar.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Rollbar { + ROLLBAR("rollbar"); + + @JsonValue + private final String value; + + private Rollbar(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Rootly.java b/src/main/java/com/airbyte/api/models/shared/Rootly.java new file mode 100644 index 000000000..4c2bd915f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Rootly.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Rootly { + ROOTLY("rootly"); + + @JsonValue + private final String value; + + private Rootly(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Rss.java b/src/main/java/com/airbyte/api/models/shared/Rss.java index 48f6e44e3..ab3f96bb8 100644 --- a/src/main/java/com/airbyte/api/models/shared/Rss.java +++ b/src/main/java/com/airbyte/api/models/shared/Rss.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Rss { RSS("rss"); diff --git a/src/main/java/com/airbyte/api/models/shared/Ruddr.java b/src/main/java/com/airbyte/api/models/shared/Ruddr.java new file mode 100644 index 000000000..48642e7c4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Ruddr.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Ruddr { + RUDDR("ruddr"); + + @JsonValue + private final String value; + + private Ruddr(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/S3.java b/src/main/java/com/airbyte/api/models/shared/S3.java index a0f0541a0..852b21d52 100644 --- a/src/main/java/com/airbyte/api/models/shared/S3.java +++ b/src/main/java/com/airbyte/api/models/shared/S3.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum S3 { S3("s3"); diff --git a/src/main/java/com/airbyte/api/models/shared/S3AmazonWebServices.java b/src/main/java/com/airbyte/api/models/shared/S3AmazonWebServices.java index 267e2ea2d..9d40dffe6 100644 --- a/src/main/java/com/airbyte/api/models/shared/S3AmazonWebServices.java +++ b/src/main/java/com/airbyte/api/models/shared/S3AmazonWebServices.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class S3AmazonWebServices { /** @@ -26,22 +26,22 @@ public class S3AmazonWebServices { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("aws_access_key_id") - private Optional awsAccessKeyId; + private Optional awsAccessKeyId; /** * In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("aws_secret_access_key") - private Optional awsSecretAccessKey; + private Optional awsSecretAccessKey; @JsonProperty("storage") private SourceFileSchemasStorage storage; @JsonCreator public S3AmazonWebServices( - @JsonProperty("aws_access_key_id") Optional awsAccessKeyId, - @JsonProperty("aws_secret_access_key") Optional awsSecretAccessKey) { + @JsonProperty("aws_access_key_id") Optional awsAccessKeyId, + @JsonProperty("aws_secret_access_key") Optional awsSecretAccessKey) { Utils.checkNotNull(awsAccessKeyId, "awsAccessKeyId"); Utils.checkNotNull(awsSecretAccessKey, "awsSecretAccessKey"); this.awsAccessKeyId = awsAccessKeyId; @@ -56,19 +56,17 @@ public S3AmazonWebServices() { /** * In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional awsAccessKeyId() { - return (Optional) awsAccessKeyId; + return awsAccessKeyId; } /** * In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional awsSecretAccessKey() { - return (Optional) awsSecretAccessKey; + return awsSecretAccessKey; } @JsonIgnore @@ -92,7 +90,7 @@ public S3AmazonWebServices withAwsAccessKeyId(String awsAccessKeyId) { /** * In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - public S3AmazonWebServices withAwsAccessKeyId(Optional awsAccessKeyId) { + public S3AmazonWebServices withAwsAccessKeyId(Optional awsAccessKeyId) { Utils.checkNotNull(awsAccessKeyId, "awsAccessKeyId"); this.awsAccessKeyId = awsAccessKeyId; return this; @@ -110,7 +108,7 @@ public S3AmazonWebServices withAwsSecretAccessKey(String awsSecretAccessKey) { /** * In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - public S3AmazonWebServices withAwsSecretAccessKey(Optional awsSecretAccessKey) { + public S3AmazonWebServices withAwsSecretAccessKey(Optional awsSecretAccessKey) { Utils.checkNotNull(awsSecretAccessKey, "awsSecretAccessKey"); this.awsSecretAccessKey = awsSecretAccessKey; return this; @@ -126,14 +124,14 @@ public boolean equals(java.lang.Object o) { } S3AmazonWebServices other = (S3AmazonWebServices) o; return - java.util.Objects.deepEquals(this.awsAccessKeyId, other.awsAccessKeyId) && - java.util.Objects.deepEquals(this.awsSecretAccessKey, other.awsSecretAccessKey) && - java.util.Objects.deepEquals(this.storage, other.storage); + Objects.deepEquals(this.awsAccessKeyId, other.awsAccessKeyId) && + Objects.deepEquals(this.awsSecretAccessKey, other.awsSecretAccessKey) && + Objects.deepEquals(this.storage, other.storage); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( awsAccessKeyId, awsSecretAccessKey, storage); @@ -149,9 +147,9 @@ public String toString() { public final static class Builder { - private Optional awsAccessKeyId = Optional.empty(); + private Optional awsAccessKeyId = Optional.empty(); - private Optional awsSecretAccessKey = Optional.empty(); + private Optional awsSecretAccessKey = Optional.empty(); private Builder() { // force use of static builder() method @@ -169,7 +167,7 @@ public Builder awsAccessKeyId(String awsAccessKeyId) { /** * In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - public Builder awsAccessKeyId(Optional awsAccessKeyId) { + public Builder awsAccessKeyId(Optional awsAccessKeyId) { Utils.checkNotNull(awsAccessKeyId, "awsAccessKeyId"); this.awsAccessKeyId = awsAccessKeyId; return this; @@ -187,7 +185,7 @@ public Builder awsSecretAccessKey(String awsSecretAccessKey) { /** * In order to access private Buckets stored on AWS S3, this connector would need credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - public Builder awsSecretAccessKey(Optional awsSecretAccessKey) { + public Builder awsSecretAccessKey(Optional awsSecretAccessKey) { Utils.checkNotNull(awsSecretAccessKey, "awsSecretAccessKey"); this.awsSecretAccessKey = awsSecretAccessKey; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/S3BucketRegion.java b/src/main/java/com/airbyte/api/models/shared/S3BucketRegion.java index 10a905e77..f13bd6b43 100644 --- a/src/main/java/com/airbyte/api/models/shared/S3BucketRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/S3BucketRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * S3BucketRegion - The region of the S3 bucket. See <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions">here</a> for all region codes. diff --git a/src/main/java/com/airbyte/api/models/shared/S3Glue.java b/src/main/java/com/airbyte/api/models/shared/S3Glue.java index 04a41fc4d..2cb643e28 100644 --- a/src/main/java/com/airbyte/api/models/shared/S3Glue.java +++ b/src/main/java/com/airbyte/api/models/shared/S3Glue.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum S3Glue { S3_GLUE("s3-glue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SCPSecureCopyProtocol.java b/src/main/java/com/airbyte/api/models/shared/SCPSecureCopyProtocol.java index 4c15627b4..9589fc278 100644 --- a/src/main/java/com/airbyte/api/models/shared/SCPSecureCopyProtocol.java +++ b/src/main/java/com/airbyte/api/models/shared/SCPSecureCopyProtocol.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SCPSecureCopyProtocol { @JsonProperty("host") @@ -26,11 +26,11 @@ public class SCPSecureCopyProtocol { @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; @JsonProperty("storage") private SourceFileSchemasProviderStorageProvider6Storage storage; @@ -41,8 +41,8 @@ public class SCPSecureCopyProtocol { @JsonCreator public SCPSecureCopyProtocol( @JsonProperty("host") String host, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, @JsonProperty("user") String user) { Utils.checkNotNull(host, "host"); Utils.checkNotNull(password, "password"); @@ -66,16 +66,14 @@ public String host() { return host; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } @JsonIgnore @@ -104,7 +102,7 @@ public SCPSecureCopyProtocol withPassword(String password) { return this; } - public SCPSecureCopyProtocol withPassword(Optional password) { + public SCPSecureCopyProtocol withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -116,7 +114,7 @@ public SCPSecureCopyProtocol withPort(String port) { return this; } - public SCPSecureCopyProtocol withPort(Optional port) { + public SCPSecureCopyProtocol withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -138,16 +136,16 @@ public boolean equals(java.lang.Object o) { } SCPSecureCopyProtocol other = (SCPSecureCopyProtocol) o; return - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.storage, other.storage) && - java.util.Objects.deepEquals(this.user, other.user); + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.storage, other.storage) && + Objects.deepEquals(this.user, other.user); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( host, password, port, @@ -169,9 +167,9 @@ public final static class Builder { private String host; - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; private String user; @@ -191,7 +189,7 @@ public Builder password(String password) { return this; } - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -203,7 +201,7 @@ public Builder port(String port) { return this; } - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -218,19 +216,18 @@ public Builder user(String user) { public SCPSecureCopyProtocol build() { if (port == null) { port = _SINGLETON_VALUE_Port.value(); - } - return new SCPSecureCopyProtocol( + } return new SCPSecureCopyProtocol( host, password, port, user); } - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "\"22\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_Storage = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SFTPSecureFileTransferProtocol.java b/src/main/java/com/airbyte/api/models/shared/SFTPSecureFileTransferProtocol.java index 8f80f28d3..ac005a936 100644 --- a/src/main/java/com/airbyte/api/models/shared/SFTPSecureFileTransferProtocol.java +++ b/src/main/java/com/airbyte/api/models/shared/SFTPSecureFileTransferProtocol.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SFTPSecureFileTransferProtocol { @JsonProperty("host") @@ -26,11 +26,11 @@ public class SFTPSecureFileTransferProtocol { @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; @JsonProperty("storage") private SourceFileSchemasProviderStorageProvider7Storage storage; @@ -41,8 +41,8 @@ public class SFTPSecureFileTransferProtocol { @JsonCreator public SFTPSecureFileTransferProtocol( @JsonProperty("host") String host, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, @JsonProperty("user") String user) { Utils.checkNotNull(host, "host"); Utils.checkNotNull(password, "password"); @@ -66,16 +66,14 @@ public String host() { return host; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } @JsonIgnore @@ -104,7 +102,7 @@ public SFTPSecureFileTransferProtocol withPassword(String password) { return this; } - public SFTPSecureFileTransferProtocol withPassword(Optional password) { + public SFTPSecureFileTransferProtocol withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -116,7 +114,7 @@ public SFTPSecureFileTransferProtocol withPort(String port) { return this; } - public SFTPSecureFileTransferProtocol withPort(Optional port) { + public SFTPSecureFileTransferProtocol withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -138,16 +136,16 @@ public boolean equals(java.lang.Object o) { } SFTPSecureFileTransferProtocol other = (SFTPSecureFileTransferProtocol) o; return - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.storage, other.storage) && - java.util.Objects.deepEquals(this.user, other.user); + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.storage, other.storage) && + Objects.deepEquals(this.user, other.user); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( host, password, port, @@ -169,9 +167,9 @@ public final static class Builder { private String host; - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; private String user; @@ -191,7 +189,7 @@ public Builder password(String password) { return this; } - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -203,7 +201,7 @@ public Builder port(String port) { return this; } - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -218,19 +216,18 @@ public Builder user(String user) { public SFTPSecureFileTransferProtocol build() { if (port == null) { port = _SINGLETON_VALUE_Port.value(); - } - return new SFTPSecureFileTransferProtocol( + } return new SFTPSecureFileTransferProtocol( host, password, port, user); } - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "\"22\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_Storage = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SQLInserts.java b/src/main/java/com/airbyte/api/models/shared/SQLInserts.java index c46073215..5a10fdad2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SQLInserts.java +++ b/src/main/java/com/airbyte/api/models/shared/SQLInserts.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SQLInserts { @@ -46,12 +46,12 @@ public boolean equals(java.lang.Object o) { } SQLInserts other = (SQLInserts) o; return - java.util.Objects.deepEquals(this.method, other.method); + Objects.deepEquals(this.method, other.method); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( method); } diff --git a/src/main/java/com/airbyte/api/models/shared/SSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SSHKeyAuthentication.java index 4df692f6a..2024f6c33 100644 --- a/src/main/java/com/airbyte/api/models/shared/SSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class SSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class SSHKeyAuthentication { public SSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public DestinationClickhouseTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public SSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public SSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SSHKeyAuthentication other = (SSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public SSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SSHKeyAuthentication( + } return new SSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public SSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SSHSecureShell.java b/src/main/java/com/airbyte/api/models/shared/SSHSecureShell.java index b44b1b468..2e3d8cf6b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SSHSecureShell.java +++ b/src/main/java/com/airbyte/api/models/shared/SSHSecureShell.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SSHSecureShell { @JsonProperty("host") @@ -26,11 +26,11 @@ public class SSHSecureShell { @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; @JsonProperty("storage") private SourceFileSchemasProviderStorageProviderStorage storage; @@ -41,8 +41,8 @@ public class SSHSecureShell { @JsonCreator public SSHSecureShell( @JsonProperty("host") String host, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, @JsonProperty("user") String user) { Utils.checkNotNull(host, "host"); Utils.checkNotNull(password, "password"); @@ -66,16 +66,14 @@ public String host() { return host; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } @JsonIgnore @@ -104,7 +102,7 @@ public SSHSecureShell withPassword(String password) { return this; } - public SSHSecureShell withPassword(Optional password) { + public SSHSecureShell withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -116,7 +114,7 @@ public SSHSecureShell withPort(String port) { return this; } - public SSHSecureShell withPort(Optional port) { + public SSHSecureShell withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -138,16 +136,16 @@ public boolean equals(java.lang.Object o) { } SSHSecureShell other = (SSHSecureShell) o; return - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.storage, other.storage) && - java.util.Objects.deepEquals(this.user, other.user); + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.storage, other.storage) && + Objects.deepEquals(this.user, other.user); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( host, password, port, @@ -169,9 +167,9 @@ public final static class Builder { private String host; - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; private String user; @@ -191,7 +189,7 @@ public Builder password(String password) { return this; } - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -203,7 +201,7 @@ public Builder port(String port) { return this; } - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -218,19 +216,18 @@ public Builder user(String user) { public SSHSecureShell build() { if (port == null) { port = _SINGLETON_VALUE_Port.value(); - } - return new SSHSecureShell( + } return new SSHSecureShell( host, password, port, user); } - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "\"22\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_Storage = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SSHTunnelMethod.java index 53533bdbb..bfb33419c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SSHTunnelMethod._Deserializer.class) public class SSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static SSHTunnelMethod of(PasswordAuthentication value) { /** * Returns an instance of one of these types: *

      - *
    • {@code NoTunnel}
    • - *
    • {@code SSHKeyAuthentication}
    • - *
    • {@code PasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.NoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.SSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.PasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SSHTunnelMethod other = (SSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SSLMethod.java b/src/main/java/com/airbyte/api/models/shared/SSLMethod.java index dbae4a38d..d2ad5d23b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SSLMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SSLMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SSLMethod - The encryption method which is used to communicate with the database. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SSLMethod._Deserializer.class) public class SSLMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SSLMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static SSLMethod of(EncryptedVerifyCertificate value) { /** * Returns an instance of one of these types: *

      - *
    • {@code Unencrypted}
    • - *
    • {@code EncryptedTrustServerCertificate}
    • - *
    • {@code EncryptedVerifyCertificate}
    • + *
    • {@code com.airbyte.api.models.shared.Unencrypted}
    • + *
    • {@code com.airbyte.api.models.shared.EncryptedTrustServerCertificate}
    • + *
    • {@code com.airbyte.api.models.shared.EncryptedVerifyCertificate}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SSLMethod other = (SSLMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SSLMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SSLMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SSLModes.java b/src/main/java/com/airbyte/api/models/shared/SSLModes.java index 84ad9a416..c3ca84d1f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SSLModes.java +++ b/src/main/java/com/airbyte/api/models/shared/SSLModes.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SSLModes - SSL connection modes. @@ -35,7 +32,7 @@ @JsonDeserialize(using = SSLModes._Deserializer.class) public class SSLModes { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SSLModes(TypedObject value) { @@ -75,12 +72,12 @@ public static SSLModes of(VerifyFull value) { /** * Returns an instance of one of these types: *

      - *
    • {@code Disable}
    • - *
    • {@code Allow}
    • - *
    • {@code Prefer}
    • - *
    • {@code Require}
    • - *
    • {@code VerifyCa}
    • - *
    • {@code VerifyFull}
    • + *
    • {@code com.airbyte.api.models.shared.Disable}
    • + *
    • {@code com.airbyte.api.models.shared.Allow}
    • + *
    • {@code com.airbyte.api.models.shared.Prefer}
    • + *
    • {@code com.airbyte.api.models.shared.Require}
    • + *
    • {@code com.airbyte.api.models.shared.VerifyCa}
    • + *
    • {@code com.airbyte.api.models.shared.VerifyFull}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -107,25 +104,25 @@ public boolean equals(java.lang.Object o) { return false; } SSLModes other = (SSLModes) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SSLModes.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SSLModes.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Safetyculture.java b/src/main/java/com/airbyte/api/models/shared/Safetyculture.java new file mode 100644 index 000000000..68aa38898 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Safetyculture.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Safetyculture { + SAFETYCULTURE("safetyculture"); + + @JsonValue + private final String value; + + private Safetyculture(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SageHr.java b/src/main/java/com/airbyte/api/models/shared/SageHr.java new file mode 100644 index 000000000..dbca4f285 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SageHr.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SageHr { + SAGE_HR("sage-hr"); + + @JsonValue + private final String value; + + private SageHr(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Salesflare.java b/src/main/java/com/airbyte/api/models/shared/Salesflare.java new file mode 100644 index 000000000..4d48c555c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Salesflare.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Salesflare { + SALESFLARE("salesflare"); + + @JsonValue + private final String value; + + private Salesflare(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Salesforce.java b/src/main/java/com/airbyte/api/models/shared/Salesforce.java index e1e3dc6b6..b5f19f84c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Salesforce.java +++ b/src/main/java/com/airbyte/api/models/shared/Salesforce.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class Salesforce { /** @@ -25,19 +24,19 @@ public class Salesforce { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client secret</a> */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public Salesforce( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public Salesforce() { /** * Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client ID</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client secret</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public Salesforce withClientId(String clientId) { /** * Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client ID</a> */ - public Salesforce withClientId(Optional clientId) { + public Salesforce withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public Salesforce withClientSecret(String clientSecret) { /** * Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client secret</a> */ - public Salesforce withClientSecret(Optional clientSecret) { + public Salesforce withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } Salesforce other = (Salesforce) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client ID</a> */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client secret</a> */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Salesloft.java b/src/main/java/com/airbyte/api/models/shared/Salesloft.java index a5b678492..337858290 100644 --- a/src/main/java/com/airbyte/api/models/shared/Salesloft.java +++ b/src/main/java/com/airbyte/api/models/shared/Salesloft.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Salesloft { SALESLOFT("salesloft"); diff --git a/src/main/java/com/airbyte/api/models/shared/SandboxAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SandboxAccessToken.java index 78a41ac9b..d445fbb5c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SandboxAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SandboxAccessToken.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SandboxAccessToken { /** @@ -102,14 +103,14 @@ public boolean equals(java.lang.Object o) { } SandboxAccessToken other = (SandboxAccessToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.advertiserId, other.advertiserId) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.advertiserId, other.advertiserId) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, advertiserId, authType); diff --git a/src/main/java/com/airbyte/api/models/shared/SapFieldglass.java b/src/main/java/com/airbyte/api/models/shared/SapFieldglass.java index 5b260f063..1e9305652 100644 --- a/src/main/java/com/airbyte/api/models/shared/SapFieldglass.java +++ b/src/main/java/com/airbyte/api/models/shared/SapFieldglass.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SapFieldglass { SAP_FIELDGLASS("sap-fieldglass"); diff --git a/src/main/java/com/airbyte/api/models/shared/Savvycal.java b/src/main/java/com/airbyte/api/models/shared/Savvycal.java index f6415528f..43768e8c2 100644 --- a/src/main/java/com/airbyte/api/models/shared/Savvycal.java +++ b/src/main/java/com/airbyte/api/models/shared/Savvycal.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Savvycal { SAVVYCAL("savvycal"); diff --git a/src/main/java/com/airbyte/api/models/shared/ScanChangesWithUserDefinedCursor.java b/src/main/java/com/airbyte/api/models/shared/ScanChangesWithUserDefinedCursor.java index 1e9ff0bb2..7aa64738f 100644 --- a/src/main/java/com/airbyte/api/models/shared/ScanChangesWithUserDefinedCursor.java +++ b/src/main/java/com/airbyte/api/models/shared/ScanChangesWithUserDefinedCursor.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * ScanChangesWithUserDefinedCursor - Incrementally detects new inserts and updates using the <a href="https://docs.airbyte.com/understanding-airbyte/connections/incremental-append/#user-defined-cursor">cursor column</a> chosen when configuring a connection (e.g. created_at, updated_at). */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } ScanChangesWithUserDefinedCursor other = (ScanChangesWithUserDefinedCursor) o; return - java.util.Objects.deepEquals(this.method, other.method); + Objects.deepEquals(this.method, other.method); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( method); } diff --git a/src/main/java/com/airbyte/api/models/shared/ScheduleTypeEnum.java b/src/main/java/com/airbyte/api/models/shared/ScheduleTypeEnum.java index 498df36ff..9e07bd8de 100644 --- a/src/main/java/com/airbyte/api/models/shared/ScheduleTypeEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/ScheduleTypeEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ScheduleTypeEnum { MANUAL("manual"), diff --git a/src/main/java/com/airbyte/api/models/shared/ScheduleTypeWithBasicEnum.java b/src/main/java/com/airbyte/api/models/shared/ScheduleTypeWithBasicEnum.java index 287596476..8a1ce7e32 100644 --- a/src/main/java/com/airbyte/api/models/shared/ScheduleTypeWithBasicEnum.java +++ b/src/main/java/com/airbyte/api/models/shared/ScheduleTypeWithBasicEnum.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ScheduleTypeWithBasicEnum { MANUAL("manual"), diff --git a/src/main/java/com/airbyte/api/models/shared/SchemeBasicAuth.java b/src/main/java/com/airbyte/api/models/shared/SchemeBasicAuth.java index a08cb9759..4549957dd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SchemeBasicAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/SchemeBasicAuth.java @@ -1,20 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SchemeBasicAuth { @@ -70,13 +68,13 @@ public boolean equals(java.lang.Object o) { } SchemeBasicAuth other = (SchemeBasicAuth) o; return - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( password, username); } diff --git a/src/main/java/com/airbyte/api/models/shared/SchemeClientCredentials.java b/src/main/java/com/airbyte/api/models/shared/SchemeClientCredentials.java index a8b055a9e..1bc1b5a14 100644 --- a/src/main/java/com/airbyte/api/models/shared/SchemeClientCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/SchemeClientCredentials.java @@ -1,21 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SchemeClientCredentials { @@ -30,12 +29,14 @@ public class SchemeClientCredentials { @JsonCreator public SchemeClientCredentials( String clientID, - String clientSecret) { + String clientSecret, + String tokenURL) { Utils.checkNotNull(clientID, "clientID"); Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(tokenURL, "tokenURL"); this.clientID = clientID; this.clientSecret = clientSecret; - this.tokenURL = Builder._SINGLETON_VALUE_TokenURL.value(); + this.tokenURL = tokenURL; } @JsonIgnore @@ -68,6 +69,12 @@ public SchemeClientCredentials withClientSecret(String clientSecret) { this.clientSecret = clientSecret; return this; } + + public SchemeClientCredentials withTokenURL(String tokenURL) { + Utils.checkNotNull(tokenURL, "tokenURL"); + this.tokenURL = tokenURL; + return this; + } @Override public boolean equals(java.lang.Object o) { @@ -79,14 +86,14 @@ public boolean equals(java.lang.Object o) { } SchemeClientCredentials other = (SchemeClientCredentials) o; return - java.util.Objects.deepEquals(this.clientID, other.clientID) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.tokenURL, other.tokenURL); + Objects.deepEquals(this.clientID, other.clientID) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.tokenURL, other.tokenURL); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientID, clientSecret, tokenURL); @@ -104,7 +111,9 @@ public final static class Builder { private String clientID; - private String clientSecret; + private String clientSecret; + + private String tokenURL; private Builder() { // force use of static builder() method @@ -121,11 +130,20 @@ public Builder clientSecret(String clientSecret) { this.clientSecret = clientSecret; return this; } + + public Builder tokenURL(String tokenURL) { + Utils.checkNotNull(tokenURL, "tokenURL"); + this.tokenURL = tokenURL; + return this; + } public SchemeClientCredentials build() { - return new SchemeClientCredentials( + if (tokenURL == null) { + tokenURL = _SINGLETON_VALUE_TokenURL.value(); + } return new SchemeClientCredentials( clientID, - clientSecret); + clientSecret, + tokenURL); } private static final LazySingletonValue _SINGLETON_VALUE_TokenURL = diff --git a/src/main/java/com/airbyte/api/models/shared/ScopeType.java b/src/main/java/com/airbyte/api/models/shared/ScopeType.java new file mode 100644 index 000000000..3b2468070 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ScopeType.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ScopeType { + PERSONAL("Personal"), + GLOBAL("Global"); + + @JsonValue + private final String value; + + private ScopeType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Scryfall.java b/src/main/java/com/airbyte/api/models/shared/Scryfall.java index 5187ec205..133e2c022 100644 --- a/src/main/java/com/airbyte/api/models/shared/Scryfall.java +++ b/src/main/java/com/airbyte/api/models/shared/Scryfall.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Scryfall { SCRYFALL("scryfall"); diff --git a/src/main/java/com/airbyte/api/models/shared/SearchCriteria.java b/src/main/java/com/airbyte/api/models/shared/SearchCriteria.java index 58fcf7281..6bb8c5c29 100644 --- a/src/main/java/com/airbyte/api/models/shared/SearchCriteria.java +++ b/src/main/java/com/airbyte/api/models/shared/SearchCriteria.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SearchCriteria { STARTS_WITH("starts with"), diff --git a/src/main/java/com/airbyte/api/models/shared/SearchIn.java b/src/main/java/com/airbyte/api/models/shared/SearchIn.java new file mode 100644 index 000000000..5d11fd96a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SearchIn.java @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SearchIn { + TITLE("title"), + DESCRIPTION("description"), + CONTENT("content"); + + @JsonValue + private final String value; + + private SearchIn(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SearchScope.java b/src/main/java/com/airbyte/api/models/shared/SearchScope.java index c19c18dec..e7cdadb59 100644 --- a/src/main/java/com/airbyte/api/models/shared/SearchScope.java +++ b/src/main/java/com/airbyte/api/models/shared/SearchScope.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SearchScope - Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' to search in the selected OneDrive drive, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. diff --git a/src/main/java/com/airbyte/api/models/shared/Secoda.java b/src/main/java/com/airbyte/api/models/shared/Secoda.java index 5f5958f55..12796f55d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Secoda.java +++ b/src/main/java/com/airbyte/api/models/shared/Secoda.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Secoda { SECODA("secoda"); diff --git a/src/main/java/com/airbyte/api/models/shared/Security.java b/src/main/java/com/airbyte/api/models/shared/Security.java index 28321ecf8..43713ca3e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Security.java +++ b/src/main/java/com/airbyte/api/models/shared/Security.java @@ -1,28 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.SpeakeasyMetadata; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Security { @SpeakeasyMetadata("security:scheme=true,type=http,subtype=basic") private Optional basicAuth; @SpeakeasyMetadata("security:scheme=true,type=http,subtype=bearer,name=Authorization") - private Optional bearerAuth; + private Optional bearerAuth; @SpeakeasyMetadata("security:scheme=true,type=oauth2,subtype=client_credentials") private Optional clientCredentials; @@ -30,7 +30,7 @@ public class Security { @JsonCreator public Security( Optional basicAuth, - Optional bearerAuth, + Optional bearerAuth, Optional clientCredentials) { Utils.checkNotNull(basicAuth, "basicAuth"); Utils.checkNotNull(bearerAuth, "bearerAuth"); @@ -50,10 +50,9 @@ public Optional basicAuth() { return (Optional) basicAuth; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional bearerAuth() { - return (Optional) bearerAuth; + return bearerAuth; } @SuppressWarnings("unchecked") @@ -84,7 +83,7 @@ public Security withBearerAuth(String bearerAuth) { return this; } - public Security withBearerAuth(Optional bearerAuth) { + public Security withBearerAuth(Optional bearerAuth) { Utils.checkNotNull(bearerAuth, "bearerAuth"); this.bearerAuth = bearerAuth; return this; @@ -112,14 +111,14 @@ public boolean equals(java.lang.Object o) { } Security other = (Security) o; return - java.util.Objects.deepEquals(this.basicAuth, other.basicAuth) && - java.util.Objects.deepEquals(this.bearerAuth, other.bearerAuth) && - java.util.Objects.deepEquals(this.clientCredentials, other.clientCredentials); + Objects.deepEquals(this.basicAuth, other.basicAuth) && + Objects.deepEquals(this.bearerAuth, other.bearerAuth) && + Objects.deepEquals(this.clientCredentials, other.clientCredentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( basicAuth, bearerAuth, clientCredentials); @@ -137,7 +136,7 @@ public final static class Builder { private Optional basicAuth = Optional.empty(); - private Optional bearerAuth = Optional.empty(); + private Optional bearerAuth = Optional.empty(); private Optional clientCredentials = Optional.empty(); @@ -163,7 +162,7 @@ public Builder bearerAuth(String bearerAuth) { return this; } - public Builder bearerAuth(Optional bearerAuth) { + public Builder bearerAuth(Optional bearerAuth) { Utils.checkNotNull(bearerAuth, "bearerAuth"); this.bearerAuth = bearerAuth; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Segment.java b/src/main/java/com/airbyte/api/models/shared/Segment.java new file mode 100644 index 000000000..e77a46d65 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Segment.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Segment { + SEGMENT("segment"); + + @JsonValue + private final String value; + + private Segment(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SelectedFieldInfo.java b/src/main/java/com/airbyte/api/models/shared/SelectedFieldInfo.java index f5bb918a6..953c2f868 100644 --- a/src/main/java/com/airbyte/api/models/shared/SelectedFieldInfo.java +++ b/src/main/java/com/airbyte/api/models/shared/SelectedFieldInfo.java @@ -1,22 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * SelectedFieldInfo - Path to a field/column/property in a stream to be selected. For example, if the field to be selected is a database column called "foo", this will be ["foo"]. Use multiple path elements for nested schemas. */ @@ -25,11 +26,11 @@ public class SelectedFieldInfo { @JsonInclude(Include.NON_ABSENT) @JsonProperty("fieldPath") - private Optional> fieldPath; + private Optional> fieldPath; @JsonCreator public SelectedFieldInfo( - @JsonProperty("fieldPath") Optional> fieldPath) { + @JsonProperty("fieldPath") Optional> fieldPath) { Utils.checkNotNull(fieldPath, "fieldPath"); this.fieldPath = fieldPath; } @@ -40,21 +41,21 @@ public SelectedFieldInfo() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional> fieldPath() { - return (Optional>) fieldPath; + public Optional> fieldPath() { + return (Optional>) fieldPath; } public final static Builder builder() { return new Builder(); } - public SelectedFieldInfo withFieldPath(java.util.List fieldPath) { + public SelectedFieldInfo withFieldPath(List fieldPath) { Utils.checkNotNull(fieldPath, "fieldPath"); this.fieldPath = Optional.ofNullable(fieldPath); return this; } - public SelectedFieldInfo withFieldPath(Optional> fieldPath) { + public SelectedFieldInfo withFieldPath(Optional> fieldPath) { Utils.checkNotNull(fieldPath, "fieldPath"); this.fieldPath = fieldPath; return this; @@ -70,12 +71,12 @@ public boolean equals(java.lang.Object o) { } SelectedFieldInfo other = (SelectedFieldInfo) o; return - java.util.Objects.deepEquals(this.fieldPath, other.fieldPath); + Objects.deepEquals(this.fieldPath, other.fieldPath); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fieldPath); } @@ -87,19 +88,19 @@ public String toString() { public final static class Builder { - private Optional> fieldPath = Optional.empty(); + private Optional> fieldPath = Optional.empty(); private Builder() { // force use of static builder() method } - public Builder fieldPath(java.util.List fieldPath) { + public Builder fieldPath(List fieldPath) { Utils.checkNotNull(fieldPath, "fieldPath"); this.fieldPath = Optional.ofNullable(fieldPath); return this; } - public Builder fieldPath(Optional> fieldPath) { + public Builder fieldPath(Optional> fieldPath) { Utils.checkNotNull(fieldPath, "fieldPath"); this.fieldPath = fieldPath; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SelfManagedReplicaSet.java b/src/main/java/com/airbyte/api/models/shared/SelfManagedReplicaSet.java new file mode 100644 index 000000000..a1bedd925 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SelfManagedReplicaSet.java @@ -0,0 +1,482 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +/** + * SelfManagedReplicaSet - MongoDB self-hosted cluster configured as a replica set + */ + +public class SelfManagedReplicaSet { + + @JsonIgnore + private Map additionalProperties; + + /** + * The authentication source where the user information is stored. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_source") + private Optional authSource; + + @JsonProperty("cluster_type") + private SourceMongodbV2SchemasClusterType clusterType; + + /** + * The connection string of the cluster that you want to replicate. https://www.mongodb.com/docs/manual/reference/connection-string/#find-your-self-hosted-deployment-s-connection-string for more information. + */ + @JsonProperty("connection_string") + private String connectionString; + + /** + * The name of the MongoDB database that contains the collection(s) to replicate. + */ + @JsonProperty("database") + private String database; + + /** + * The password associated with this username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schema_enforced") + private Optional schemaEnforced; + + /** + * The username which is used to access the database. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("username") + private Optional username; + + @JsonCreator + public SelfManagedReplicaSet( + @JsonProperty("auth_source") Optional authSource, + @JsonProperty("connection_string") String connectionString, + @JsonProperty("database") String database, + @JsonProperty("password") Optional password, + @JsonProperty("schema_enforced") Optional schemaEnforced, + @JsonProperty("username") Optional username) { + Utils.checkNotNull(authSource, "authSource"); + Utils.checkNotNull(connectionString, "connectionString"); + Utils.checkNotNull(database, "database"); + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + Utils.checkNotNull(username, "username"); + this.additionalProperties = new HashMap<>(); + this.authSource = authSource; + this.clusterType = Builder._SINGLETON_VALUE_ClusterType.value(); + this.connectionString = connectionString; + this.database = database; + this.password = password; + this.schemaEnforced = schemaEnforced; + this.username = username; + } + + public SelfManagedReplicaSet( + String connectionString, + String database) { + this(Optional.empty(), connectionString, database, Optional.empty(), Optional.empty(), Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * The authentication source where the user information is stored. + */ + @JsonIgnore + public Optional authSource() { + return authSource; + } + + @JsonIgnore + public SourceMongodbV2SchemasClusterType clusterType() { + return clusterType; + } + + /** + * The connection string of the cluster that you want to replicate. https://www.mongodb.com/docs/manual/reference/connection-string/#find-your-self-hosted-deployment-s-connection-string for more information. + */ + @JsonIgnore + public String connectionString() { + return connectionString; + } + + /** + * The name of the MongoDB database that contains the collection(s) to replicate. + */ + @JsonIgnore + public String database() { + return database; + } + + /** + * The password associated with this username. + */ + @JsonIgnore + public Optional password() { + return password; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + @JsonIgnore + public Optional schemaEnforced() { + return schemaEnforced; + } + + /** + * The username which is used to access the database. + */ + @JsonIgnore + public Optional username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SelfManagedReplicaSet withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SelfManagedReplicaSet withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The authentication source where the user information is stored. + */ + public SelfManagedReplicaSet withAuthSource(String authSource) { + Utils.checkNotNull(authSource, "authSource"); + this.authSource = Optional.ofNullable(authSource); + return this; + } + + /** + * The authentication source where the user information is stored. + */ + public SelfManagedReplicaSet withAuthSource(Optional authSource) { + Utils.checkNotNull(authSource, "authSource"); + this.authSource = authSource; + return this; + } + + /** + * The connection string of the cluster that you want to replicate. https://www.mongodb.com/docs/manual/reference/connection-string/#find-your-self-hosted-deployment-s-connection-string for more information. + */ + public SelfManagedReplicaSet withConnectionString(String connectionString) { + Utils.checkNotNull(connectionString, "connectionString"); + this.connectionString = connectionString; + return this; + } + + /** + * The name of the MongoDB database that contains the collection(s) to replicate. + */ + public SelfManagedReplicaSet withDatabase(String database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + /** + * The password associated with this username. + */ + public SelfManagedReplicaSet withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * The password associated with this username. + */ + public SelfManagedReplicaSet withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + public SelfManagedReplicaSet withSchemaEnforced(boolean schemaEnforced) { + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + this.schemaEnforced = Optional.ofNullable(schemaEnforced); + return this; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + public SelfManagedReplicaSet withSchemaEnforced(Optional schemaEnforced) { + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + this.schemaEnforced = schemaEnforced; + return this; + } + + /** + * The username which is used to access the database. + */ + public SelfManagedReplicaSet withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = Optional.ofNullable(username); + return this; + } + + /** + * The username which is used to access the database. + */ + public SelfManagedReplicaSet withUsername(Optional username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SelfManagedReplicaSet other = (SelfManagedReplicaSet) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.authSource, other.authSource) && + Objects.deepEquals(this.clusterType, other.clusterType) && + Objects.deepEquals(this.connectionString, other.connectionString) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.schemaEnforced, other.schemaEnforced) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + authSource, + clusterType, + connectionString, + database, + password, + schemaEnforced, + username); + } + + @Override + public String toString() { + return Utils.toString(SelfManagedReplicaSet.class, + "additionalProperties", additionalProperties, + "authSource", authSource, + "clusterType", clusterType, + "connectionString", connectionString, + "database", database, + "password", password, + "schemaEnforced", schemaEnforced, + "username", username); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Optional authSource; + + private String connectionString; + + private String database; + + private Optional password = Optional.empty(); + + private Optional schemaEnforced; + + private Optional username = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The authentication source where the user information is stored. + */ + public Builder authSource(String authSource) { + Utils.checkNotNull(authSource, "authSource"); + this.authSource = Optional.ofNullable(authSource); + return this; + } + + /** + * The authentication source where the user information is stored. + */ + public Builder authSource(Optional authSource) { + Utils.checkNotNull(authSource, "authSource"); + this.authSource = authSource; + return this; + } + + /** + * The connection string of the cluster that you want to replicate. https://www.mongodb.com/docs/manual/reference/connection-string/#find-your-self-hosted-deployment-s-connection-string for more information. + */ + public Builder connectionString(String connectionString) { + Utils.checkNotNull(connectionString, "connectionString"); + this.connectionString = connectionString; + return this; + } + + /** + * The name of the MongoDB database that contains the collection(s) to replicate. + */ + public Builder database(String database) { + Utils.checkNotNull(database, "database"); + this.database = database; + return this; + } + + /** + * The password associated with this username. + */ + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * The password associated with this username. + */ + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + public Builder schemaEnforced(boolean schemaEnforced) { + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + this.schemaEnforced = Optional.ofNullable(schemaEnforced); + return this; + } + + /** + * When enabled, syncs will validate and structure records against the stream's schema. + */ + public Builder schemaEnforced(Optional schemaEnforced) { + Utils.checkNotNull(schemaEnforced, "schemaEnforced"); + this.schemaEnforced = schemaEnforced; + return this; + } + + /** + * The username which is used to access the database. + */ + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = Optional.ofNullable(username); + return this; + } + + /** + * The username which is used to access the database. + */ + public Builder username(Optional username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SelfManagedReplicaSet build() { + if (authSource == null) { + authSource = _SINGLETON_VALUE_AuthSource.value(); + } + if (schemaEnforced == null) { + schemaEnforced = _SINGLETON_VALUE_SchemaEnforced.value(); + } return new SelfManagedReplicaSet( + authSource, + connectionString, + database, + password, + schemaEnforced, + username) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthSource = + new LazySingletonValue<>( + "auth_source", + "\"admin\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_ClusterType = + new LazySingletonValue<>( + "cluster_type", + "\"SELF_MANAGED_REPLICA_SET\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SchemaEnforced = + new LazySingletonValue<>( + "schema_enforced", + "true", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Sendgrid.java b/src/main/java/com/airbyte/api/models/shared/Sendgrid.java index dce68a9f8..5f52c2537 100644 --- a/src/main/java/com/airbyte/api/models/shared/Sendgrid.java +++ b/src/main/java/com/airbyte/api/models/shared/Sendgrid.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Sendgrid { SENDGRID("sendgrid"); diff --git a/src/main/java/com/airbyte/api/models/shared/Sendinblue.java b/src/main/java/com/airbyte/api/models/shared/Sendinblue.java index a3f26a80e..45d662a76 100644 --- a/src/main/java/com/airbyte/api/models/shared/Sendinblue.java +++ b/src/main/java/com/airbyte/api/models/shared/Sendinblue.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Sendinblue { SENDINBLUE("sendinblue"); diff --git a/src/main/java/com/airbyte/api/models/shared/Sendowl.java b/src/main/java/com/airbyte/api/models/shared/Sendowl.java new file mode 100644 index 000000000..50e8344bb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Sendowl.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Sendowl { + SENDOWL("sendowl"); + + @JsonValue + private final String value; + + private Sendowl(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Sendpulse.java b/src/main/java/com/airbyte/api/models/shared/Sendpulse.java new file mode 100644 index 000000000..7aab9ed91 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Sendpulse.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Sendpulse { + SENDPULSE("sendpulse"); + + @JsonValue + private final String value; + + private Sendpulse(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Senseforce.java b/src/main/java/com/airbyte/api/models/shared/Senseforce.java index ea5b5cb91..c6a04191c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Senseforce.java +++ b/src/main/java/com/airbyte/api/models/shared/Senseforce.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Senseforce { SENSEFORCE("senseforce"); diff --git a/src/main/java/com/airbyte/api/models/shared/Sentry.java b/src/main/java/com/airbyte/api/models/shared/Sentry.java index a3bfcc42f..c17779264 100644 --- a/src/main/java/com/airbyte/api/models/shared/Sentry.java +++ b/src/main/java/com/airbyte/api/models/shared/Sentry.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Sentry { SENTRY("sentry"); diff --git a/src/main/java/com/airbyte/api/models/shared/SerializationLibrary.java b/src/main/java/com/airbyte/api/models/shared/SerializationLibrary.java index c3194b721..6b4348b7e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SerializationLibrary.java +++ b/src/main/java/com/airbyte/api/models/shared/SerializationLibrary.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SerializationLibrary - The library that your query engine will use for reading and writing data in your lake. diff --git a/src/main/java/com/airbyte/api/models/shared/ServerManaged.java b/src/main/java/com/airbyte/api/models/shared/ServerManaged.java new file mode 100644 index 000000000..080eb4aa2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ServerManaged.java @@ -0,0 +1,166 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * ServerManaged - Server-managed object storage + */ + +public class ServerManaged { + + /** + * The name of the managed warehouse + */ + @JsonProperty("managed_warehouse_name") + private String managedWarehouseName; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("storage_type") + private Optional storageType; + + @JsonCreator + public ServerManaged( + @JsonProperty("managed_warehouse_name") String managedWarehouseName, + @JsonProperty("storage_type") Optional storageType) { + Utils.checkNotNull(managedWarehouseName, "managedWarehouseName"); + Utils.checkNotNull(storageType, "storageType"); + this.managedWarehouseName = managedWarehouseName; + this.storageType = storageType; + } + + public ServerManaged( + String managedWarehouseName) { + this(managedWarehouseName, Optional.empty()); + } + + /** + * The name of the managed warehouse + */ + @JsonIgnore + public String managedWarehouseName() { + return managedWarehouseName; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional storageType() { + return (Optional) storageType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The name of the managed warehouse + */ + public ServerManaged withManagedWarehouseName(String managedWarehouseName) { + Utils.checkNotNull(managedWarehouseName, "managedWarehouseName"); + this.managedWarehouseName = managedWarehouseName; + return this; + } + + public ServerManaged withStorageType(DestinationIcebergStorageType storageType) { + Utils.checkNotNull(storageType, "storageType"); + this.storageType = Optional.ofNullable(storageType); + return this; + } + + public ServerManaged withStorageType(Optional storageType) { + Utils.checkNotNull(storageType, "storageType"); + this.storageType = storageType; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ServerManaged other = (ServerManaged) o; + return + Objects.deepEquals(this.managedWarehouseName, other.managedWarehouseName) && + Objects.deepEquals(this.storageType, other.storageType); + } + + @Override + public int hashCode() { + return Objects.hash( + managedWarehouseName, + storageType); + } + + @Override + public String toString() { + return Utils.toString(ServerManaged.class, + "managedWarehouseName", managedWarehouseName, + "storageType", storageType); + } + + public final static class Builder { + + private String managedWarehouseName; + + private Optional storageType; + + private Builder() { + // force use of static builder() method + } + + /** + * The name of the managed warehouse + */ + public Builder managedWarehouseName(String managedWarehouseName) { + Utils.checkNotNull(managedWarehouseName, "managedWarehouseName"); + this.managedWarehouseName = managedWarehouseName; + return this; + } + + public Builder storageType(DestinationIcebergStorageType storageType) { + Utils.checkNotNull(storageType, "storageType"); + this.storageType = Optional.ofNullable(storageType); + return this; + } + + public Builder storageType(Optional storageType) { + Utils.checkNotNull(storageType, "storageType"); + this.storageType = storageType; + return this; + } + + public ServerManaged build() { + if (storageType == null) { + storageType = _SINGLETON_VALUE_StorageType.value(); + } return new ServerManaged( + managedWarehouseName, + storageType); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_StorageType = + new LazySingletonValue<>( + "storage_type", + "\"MANAGED\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/ServiceAccount.java b/src/main/java/com/airbyte/api/models/shared/ServiceAccount.java index 9186a6e75..f0c61a319 100644 --- a/src/main/java/com/airbyte/api/models/shared/ServiceAccount.java +++ b/src/main/java/com/airbyte/api/models/shared/ServiceAccount.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ServiceAccount { @JsonInclude(Include.NON_ABSENT) @@ -128,15 +130,15 @@ public boolean equals(java.lang.Object o) { } ServiceAccount other = (ServiceAccount) o; return - java.util.Objects.deepEquals(this.optionTitle, other.optionTitle) && - java.util.Objects.deepEquals(this.projectId, other.projectId) && - java.util.Objects.deepEquals(this.secret, other.secret) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.optionTitle, other.optionTitle) && + Objects.deepEquals(this.projectId, other.projectId) && + Objects.deepEquals(this.secret, other.secret) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( optionTitle, projectId, secret, diff --git a/src/main/java/com/airbyte/api/models/shared/ServiceAccountAuthentication.java b/src/main/java/com/airbyte/api/models/shared/ServiceAccountAuthentication.java new file mode 100644 index 000000000..a5be4a588 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ServiceAccountAuthentication.java @@ -0,0 +1,127 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class ServiceAccountAuthentication { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * Enter your Google Cloud <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys">service account key</a> in JSON format + */ + @JsonProperty("service_account") + private String serviceAccount; + + @JsonCreator + public ServiceAccountAuthentication( + @JsonProperty("service_account") String serviceAccount) { + Utils.checkNotNull(serviceAccount, "serviceAccount"); + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.serviceAccount = serviceAccount; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * Enter your Google Cloud <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys">service account key</a> in JSON format + */ + @JsonIgnore + public String serviceAccount() { + return serviceAccount; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Enter your Google Cloud <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys">service account key</a> in JSON format + */ + public ServiceAccountAuthentication withServiceAccount(String serviceAccount) { + Utils.checkNotNull(serviceAccount, "serviceAccount"); + this.serviceAccount = serviceAccount; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ServiceAccountAuthentication other = (ServiceAccountAuthentication) o; + return + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.serviceAccount, other.serviceAccount); + } + + @Override + public int hashCode() { + return Objects.hash( + authType, + serviceAccount); + } + + @Override + public String toString() { + return Utils.toString(ServiceAccountAuthentication.class, + "authType", authType, + "serviceAccount", serviceAccount); + } + + public final static class Builder { + + private String serviceAccount; + + private Builder() { + // force use of static builder() method + } + + /** + * Enter your Google Cloud <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys">service account key</a> in JSON format + */ + public Builder serviceAccount(String serviceAccount) { + Utils.checkNotNull(serviceAccount, "serviceAccount"); + this.serviceAccount = serviceAccount; + return this; + } + + public ServiceAccountAuthentication build() { + return new ServiceAccountAuthentication( + serviceAccount); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Service\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/ServiceAccountKey.java b/src/main/java/com/airbyte/api/models/shared/ServiceAccountKey.java index 10969da16..f8fc174a8 100644 --- a/src/main/java/com/airbyte/api/models/shared/ServiceAccountKey.java +++ b/src/main/java/com/airbyte/api/models/shared/ServiceAccountKey.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * ServiceAccountKey - For these scenario user should obtain service account's credentials from the Google API Console and provide delegated email. */ @@ -111,14 +112,14 @@ public boolean equals(java.lang.Object o) { } ServiceAccountKey other = (ServiceAccountKey) o; return - java.util.Objects.deepEquals(this.credentialsJson, other.credentialsJson) && - java.util.Objects.deepEquals(this.credentialsTitle, other.credentialsTitle) && - java.util.Objects.deepEquals(this.email, other.email); + Objects.deepEquals(this.credentialsJson, other.credentialsJson) && + Objects.deepEquals(this.credentialsTitle, other.credentialsTitle) && + Objects.deepEquals(this.email, other.email); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentialsJson, credentialsTitle, email); diff --git a/src/main/java/com/airbyte/api/models/shared/ServiceAccountKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/ServiceAccountKeyAuthentication.java index b09b8432c..ec596f7f2 100644 --- a/src/main/java/com/airbyte/api/models/shared/ServiceAccountKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/ServiceAccountKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ServiceAccountKeyAuthentication { /** @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } ServiceAccountKeyAuthentication other = (ServiceAccountKeyAuthentication) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/ServiceKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/ServiceKeyAuthentication.java index f191c6c82..c6cfe3a2e 100644 --- a/src/main/java/com/airbyte/api/models/shared/ServiceKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/ServiceKeyAuthentication.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * ServiceKeyAuthentication - ServiceCredentials class for service key authentication. * This class is structured similarly to OAuthCredentials but for a different authentication method. @@ -158,16 +159,16 @@ public boolean equals(java.lang.Object o) { } ServiceKeyAuthentication other = (ServiceKeyAuthentication) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.tenantId, other.tenantId) && - java.util.Objects.deepEquals(this.userPrincipalName, other.userPrincipalName); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.tenantId, other.tenantId) && + Objects.deepEquals(this.userPrincipalName, other.userPrincipalName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/ServiceName.java b/src/main/java/com/airbyte/api/models/shared/ServiceName.java index a5c8d5e7e..276008bd2 100644 --- a/src/main/java/com/airbyte/api/models/shared/ServiceName.java +++ b/src/main/java/com/airbyte/api/models/shared/ServiceName.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * ServiceName - Use service name */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } ServiceName other = (ServiceName) o; return - java.util.Objects.deepEquals(this.connectionType, other.connectionType) && - java.util.Objects.deepEquals(this.serviceName, other.serviceName); + Objects.deepEquals(this.connectionType, other.connectionType) && + Objects.deepEquals(this.serviceName, other.serviceName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionType, serviceName); } diff --git a/src/main/java/com/airbyte/api/models/shared/Sevenshifts.java b/src/main/java/com/airbyte/api/models/shared/Sevenshifts.java index 84788259a..09392a382 100644 --- a/src/main/java/com/airbyte/api/models/shared/Sevenshifts.java +++ b/src/main/java/com/airbyte/api/models/shared/Sevenshifts.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Sevenshifts { SEVENSHIFTS("7shifts"); diff --git a/src/main/java/com/airbyte/api/models/shared/Sftp.java b/src/main/java/com/airbyte/api/models/shared/Sftp.java index 0288d26eb..46aacfd17 100644 --- a/src/main/java/com/airbyte/api/models/shared/Sftp.java +++ b/src/main/java/com/airbyte/api/models/shared/Sftp.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Sftp { SFTP("sftp"); diff --git a/src/main/java/com/airbyte/api/models/shared/SftpBulk.java b/src/main/java/com/airbyte/api/models/shared/SftpBulk.java index 6bc094e26..7aa021ab7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SftpBulk.java +++ b/src/main/java/com/airbyte/api/models/shared/SftpBulk.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SftpBulk { SFTP_BULK("sftp-bulk"); diff --git a/src/main/java/com/airbyte/api/models/shared/SftpJson.java b/src/main/java/com/airbyte/api/models/shared/SftpJson.java index 4ed82c9c7..e3a1f0982 100644 --- a/src/main/java/com/airbyte/api/models/shared/SftpJson.java +++ b/src/main/java/com/airbyte/api/models/shared/SftpJson.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SftpJson { SFTP_JSON("sftp-json"); diff --git a/src/main/java/com/airbyte/api/models/shared/ShareTypeUsedForMostPopularSharedStream.java b/src/main/java/com/airbyte/api/models/shared/ShareTypeUsedForMostPopularSharedStream.java index f7b581727..ed042ccb4 100644 --- a/src/main/java/com/airbyte/api/models/shared/ShareTypeUsedForMostPopularSharedStream.java +++ b/src/main/java/com/airbyte/api/models/shared/ShareTypeUsedForMostPopularSharedStream.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ShareTypeUsedForMostPopularSharedStream - Share Type diff --git a/src/main/java/com/airbyte/api/models/shared/Sharetribe.java b/src/main/java/com/airbyte/api/models/shared/Sharetribe.java new file mode 100644 index 000000000..af0791e37 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Sharetribe.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Sharetribe { + SHARETRIBE("sharetribe"); + + @JsonValue + private final String value; + + private Sharetribe(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Shippo.java b/src/main/java/com/airbyte/api/models/shared/Shippo.java new file mode 100644 index 000000000..703f25a9e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Shippo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Shippo { + SHIPPO("shippo"); + + @JsonValue + private final String value; + + private Shippo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Shopify.java b/src/main/java/com/airbyte/api/models/shared/Shopify.java index 343d7cfb5..9962ef384 100644 --- a/src/main/java/com/airbyte/api/models/shared/Shopify.java +++ b/src/main/java/com/airbyte/api/models/shared/Shopify.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Shopify { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Shopify other = (Shopify) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/ShopifyAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/ShopifyAuthorizationMethod.java index b0eaca790..f3a1908a2 100644 --- a/src/main/java/com/airbyte/api/models/shared/ShopifyAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/ShopifyAuthorizationMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * ShopifyAuthorizationMethod - The authorization method to use to retrieve data from Shopify @@ -28,7 +25,7 @@ @JsonDeserialize(using = ShopifyAuthorizationMethod._Deserializer.class) public class ShopifyAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private ShopifyAuthorizationMethod(TypedObject value) { @@ -48,8 +45,8 @@ public static ShopifyAuthorizationMethod of(APIPassword value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceShopifyOAuth20}
    • - *
    • {@code APIPassword}
    • + *
    • {@code com.airbyte.api.models.shared.SourceShopifyOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.APIPassword}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } ShopifyAuthorizationMethod other = (ShopifyAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(ShopifyAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(ShopifyAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/ShopifyCredentials.java b/src/main/java/com/airbyte/api/models/shared/ShopifyCredentials.java index 2b1d98e9d..82435bb1e 100644 --- a/src/main/java/com/airbyte/api/models/shared/ShopifyCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/ShopifyCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class ShopifyCredentials { /** @@ -25,19 +24,19 @@ public class ShopifyCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of the Shopify developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public ShopifyCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public ShopifyCredentials() { /** * The Client ID of the Shopify developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of the Shopify developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public ShopifyCredentials withClientId(String clientId) { /** * The Client ID of the Shopify developer application. */ - public ShopifyCredentials withClientId(Optional clientId) { + public ShopifyCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public ShopifyCredentials withClientSecret(String clientSecret) { /** * The Client Secret of the Shopify developer application. */ - public ShopifyCredentials withClientSecret(Optional clientSecret) { + public ShopifyCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } ShopifyCredentials other = (ShopifyCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of the Shopify developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of the Shopify developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Shortcut.java b/src/main/java/com/airbyte/api/models/shared/Shortcut.java index 8deaabbfc..d0792a21e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Shortcut.java +++ b/src/main/java/com/airbyte/api/models/shared/Shortcut.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Shortcut { SHORTCUT("shortcut"); diff --git a/src/main/java/com/airbyte/api/models/shared/Shortio.java b/src/main/java/com/airbyte/api/models/shared/Shortio.java index 91e654bf5..9cbde9cfd 100644 --- a/src/main/java/com/airbyte/api/models/shared/Shortio.java +++ b/src/main/java/com/airbyte/api/models/shared/Shortio.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Shortio { SHORTIO("shortio"); diff --git a/src/main/java/com/airbyte/api/models/shared/SigmaComputing.java b/src/main/java/com/airbyte/api/models/shared/SigmaComputing.java new file mode 100644 index 000000000..c1d5e7cd9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SigmaComputing.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SigmaComputing { + SIGMA_COMPUTING("sigma-computing"); + + @JsonValue + private final String value; + + private SigmaComputing(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SignInViaGoogleOAuth.java b/src/main/java/com/airbyte/api/models/shared/SignInViaGoogleOAuth.java index 6ea82fb43..724c76914 100644 --- a/src/main/java/com/airbyte/api/models/shared/SignInViaGoogleOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/SignInViaGoogleOAuth.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SignInViaGoogleOAuth - For these scenario user only needs to give permission to read Google Directory data. */ @@ -137,15 +138,15 @@ public boolean equals(java.lang.Object o) { } SignInViaGoogleOAuth other = (SignInViaGoogleOAuth) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.credentialsTitle, other.credentialsTitle) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.credentialsTitle, other.credentialsTitle) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, credentialsTitle, diff --git a/src/main/java/com/airbyte/api/models/shared/SignInViaRDStationOAuth.java b/src/main/java/com/airbyte/api/models/shared/SignInViaRDStationOAuth.java new file mode 100644 index 000000000..53e905419 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SignInViaRDStationOAuth.java @@ -0,0 +1,267 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SignInViaRDStationOAuth { + + @JsonProperty("auth_type") + private SourceRdStationMarketingAuthType authType; + + /** + * The Client ID of your RD Station developer application. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + private Optional clientId; + + /** + * The Client Secret of your RD Station developer application + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + private Optional clientSecret; + + /** + * The token for obtaining the new access token. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("refresh_token") + private Optional refreshToken; + + @JsonCreator + public SignInViaRDStationOAuth( + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret, + @JsonProperty("refresh_token") Optional refreshToken) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(refreshToken, "refreshToken"); + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.refreshToken = refreshToken; + } + + public SignInViaRDStationOAuth() { + this(Optional.empty(), Optional.empty(), Optional.empty()); + } + + @JsonIgnore + public SourceRdStationMarketingAuthType authType() { + return authType; + } + + /** + * The Client ID of your RD Station developer application. + */ + @JsonIgnore + public Optional clientId() { + return clientId; + } + + /** + * The Client Secret of your RD Station developer application + */ + @JsonIgnore + public Optional clientSecret() { + return clientSecret; + } + + /** + * The token for obtaining the new access token. + */ + @JsonIgnore + public Optional refreshToken() { + return refreshToken; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The Client ID of your RD Station developer application. + */ + public SignInViaRDStationOAuth withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = Optional.ofNullable(clientId); + return this; + } + + /** + * The Client ID of your RD Station developer application. + */ + public SignInViaRDStationOAuth withClientId(Optional clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your RD Station developer application + */ + public SignInViaRDStationOAuth withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = Optional.ofNullable(clientSecret); + return this; + } + + /** + * The Client Secret of your RD Station developer application + */ + public SignInViaRDStationOAuth withClientSecret(Optional clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The token for obtaining the new access token. + */ + public SignInViaRDStationOAuth withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = Optional.ofNullable(refreshToken); + return this; + } + + /** + * The token for obtaining the new access token. + */ + public SignInViaRDStationOAuth withRefreshToken(Optional refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SignInViaRDStationOAuth other = (SignInViaRDStationOAuth) o; + return + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); + } + + @Override + public int hashCode() { + return Objects.hash( + authType, + clientId, + clientSecret, + refreshToken); + } + + @Override + public String toString() { + return Utils.toString(SignInViaRDStationOAuth.class, + "authType", authType, + "clientId", clientId, + "clientSecret", clientSecret, + "refreshToken", refreshToken); + } + + public final static class Builder { + + private Optional clientId = Optional.empty(); + + private Optional clientSecret = Optional.empty(); + + private Optional refreshToken = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * The Client ID of your RD Station developer application. + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = Optional.ofNullable(clientId); + return this; + } + + /** + * The Client ID of your RD Station developer application. + */ + public Builder clientId(Optional clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your RD Station developer application + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = Optional.ofNullable(clientSecret); + return this; + } + + /** + * The Client Secret of your RD Station developer application + */ + public Builder clientSecret(Optional clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The token for obtaining the new access token. + */ + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = Optional.ofNullable(refreshToken); + return this; + } + + /** + * The token for obtaining the new access token. + */ + public Builder refreshToken(Optional refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public SignInViaRDStationOAuth build() { + return new SignInViaRDStationOAuth( + clientId, + clientSecret, + refreshToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Client\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SignInViaSlackOAuth.java b/src/main/java/com/airbyte/api/models/shared/SignInViaSlackOAuth.java index e407a652a..cf48441a9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SignInViaSlackOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/SignInViaSlackOAuth.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SignInViaSlackOAuth { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } SignInViaSlackOAuth other = (SignInViaSlackOAuth) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.optionTitle, other.optionTitle); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.optionTitle, other.optionTitle); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/Silent.java b/src/main/java/com/airbyte/api/models/shared/Silent.java new file mode 100644 index 000000000..4d7e2864f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Silent.java @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class Silent { + + @JsonIgnore + private Map additionalProperties; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("test_destination_type") + private Optional testDestinationType; + + @JsonCreator + public Silent( + @JsonProperty("test_destination_type") Optional testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.additionalProperties = new HashMap<>(); + this.testDestinationType = testDestinationType; + } + + public Silent() { + this(Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional testDestinationType() { + return (Optional) testDestinationType; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public Silent withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public Silent withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public Silent withTestDestinationType(DestinationDevNullTestDestinationType testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = Optional.ofNullable(testDestinationType); + return this; + } + + public Silent withTestDestinationType(Optional testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = testDestinationType; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Silent other = (Silent) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.testDestinationType, other.testDestinationType); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + testDestinationType); + } + + @Override + public String toString() { + return Utils.toString(Silent.class, + "additionalProperties", additionalProperties, + "testDestinationType", testDestinationType); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Optional testDestinationType; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public Builder testDestinationType(DestinationDevNullTestDestinationType testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = Optional.ofNullable(testDestinationType); + return this; + } + + public Builder testDestinationType(Optional testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = testDestinationType; + return this; + } + + public Silent build() { + if (testDestinationType == null) { + testDestinationType = _SINGLETON_VALUE_TestDestinationType.value(); + } return new Silent( + testDestinationType) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_TestDestinationType = + new LazySingletonValue<>( + "test_destination_type", + "\"SILENT\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Simfin.java b/src/main/java/com/airbyte/api/models/shared/Simfin.java new file mode 100644 index 000000000..444ed70d5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Simfin.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Simfin { + SIMFIN("simfin"); + + @JsonValue + private final String value; + + private Simfin(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Simplecast.java b/src/main/java/com/airbyte/api/models/shared/Simplecast.java new file mode 100644 index 000000000..08873b83c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Simplecast.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Simplecast { + SIMPLECAST("simplecast"); + + @JsonValue + private final String value; + + private Simplecast(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Simplesat.java b/src/main/java/com/airbyte/api/models/shared/Simplesat.java new file mode 100644 index 000000000..0fc1138c9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Simplesat.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Simplesat { + SIMPLESAT("simplesat"); + + @JsonValue + private final String value; + + private Simplesat(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SingleStoreAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SingleStoreAccessToken.java index 9c0570167..3579fd6e9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SingleStoreAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SingleStoreAccessToken.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SingleStoreAccessToken { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SingleStoreAccessToken other = (SingleStoreAccessToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.storeName, other.storeName); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.storeName, other.storeName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, storeName); diff --git a/src/main/java/com/airbyte/api/models/shared/Site.java b/src/main/java/com/airbyte/api/models/shared/Site.java index 33ff7f18d..5036b1a33 100644 --- a/src/main/java/com/airbyte/api/models/shared/Site.java +++ b/src/main/java/com/airbyte/api/models/shared/Site.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * Site - The site where Datadog data resides in. diff --git a/src/main/java/com/airbyte/api/models/shared/Slack.java b/src/main/java/com/airbyte/api/models/shared/Slack.java index 0d641b6ed..d4b98487c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Slack.java +++ b/src/main/java/com/airbyte/api/models/shared/Slack.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Slack { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Slack other = (Slack) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/SlackCredentials.java b/src/main/java/com/airbyte/api/models/shared/SlackCredentials.java index a19c1f1c1..25223b7b8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SlackCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/SlackCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SlackCredentials { /** @@ -25,19 +24,19 @@ public class SlackCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Slack client_secret. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this secret. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public SlackCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public SlackCredentials() { /** * Slack client_id. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this id. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Slack client_secret. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this secret. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public SlackCredentials withClientId(String clientId) { /** * Slack client_id. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this id. */ - public SlackCredentials withClientId(Optional clientId) { + public SlackCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public SlackCredentials withClientSecret(String clientSecret) { /** * Slack client_secret. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this secret. */ - public SlackCredentials withClientSecret(Optional clientSecret) { + public SlackCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } SlackCredentials other = (SlackCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * Slack client_id. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this id. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * Slack client_secret. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this secret. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Smaily.java b/src/main/java/com/airbyte/api/models/shared/Smaily.java index b55c46f96..6fd7b43af 100644 --- a/src/main/java/com/airbyte/api/models/shared/Smaily.java +++ b/src/main/java/com/airbyte/api/models/shared/Smaily.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Smaily { SMAILY("smaily"); diff --git a/src/main/java/com/airbyte/api/models/shared/Smartengage.java b/src/main/java/com/airbyte/api/models/shared/Smartengage.java index 8a90cda25..694197483 100644 --- a/src/main/java/com/airbyte/api/models/shared/Smartengage.java +++ b/src/main/java/com/airbyte/api/models/shared/Smartengage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Smartengage { SMARTENGAGE("smartengage"); diff --git a/src/main/java/com/airbyte/api/models/shared/Smartreach.java b/src/main/java/com/airbyte/api/models/shared/Smartreach.java new file mode 100644 index 000000000..6b58c1ac3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Smartreach.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Smartreach { + SMARTREACH("smartreach"); + + @JsonValue + private final String value; + + private Smartreach(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Smartsheets.java b/src/main/java/com/airbyte/api/models/shared/Smartsheets.java index c8c76f73b..776d36d18 100644 --- a/src/main/java/com/airbyte/api/models/shared/Smartsheets.java +++ b/src/main/java/com/airbyte/api/models/shared/Smartsheets.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Smartsheets { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Smartsheets other = (Smartsheets) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/SmartsheetsCredentials.java b/src/main/java/com/airbyte/api/models/shared/SmartsheetsCredentials.java index 54ef3dc5a..10ece22f0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SmartsheetsCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/SmartsheetsCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SmartsheetsCredentials { /** @@ -25,19 +24,19 @@ public class SmartsheetsCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The API Secret the SmartSheets developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public SmartsheetsCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public SmartsheetsCredentials() { /** * The API ID of the SmartSheets developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The API Secret the SmartSheets developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public SmartsheetsCredentials withClientId(String clientId) { /** * The API ID of the SmartSheets developer application. */ - public SmartsheetsCredentials withClientId(Optional clientId) { + public SmartsheetsCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public SmartsheetsCredentials withClientSecret(String clientSecret) { /** * The API Secret the SmartSheets developer application. */ - public SmartsheetsCredentials withClientSecret(Optional clientSecret) { + public SmartsheetsCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } SmartsheetsCredentials other = (SmartsheetsCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The API ID of the SmartSheets developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The API Secret the SmartSheets developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Smartwaiver.java b/src/main/java/com/airbyte/api/models/shared/Smartwaiver.java new file mode 100644 index 000000000..0d73ed4a0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Smartwaiver.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Smartwaiver { + SMARTWAIVER("smartwaiver"); + + @JsonValue + private final String value; + + private Smartwaiver(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SnapchatMarketing.java b/src/main/java/com/airbyte/api/models/shared/SnapchatMarketing.java index a22fbd403..bb8feaf8b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SnapchatMarketing.java +++ b/src/main/java/com/airbyte/api/models/shared/SnapchatMarketing.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SnapchatMarketing { /** @@ -25,19 +24,19 @@ public class SnapchatMarketing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your Snapchat developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public SnapchatMarketing( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public SnapchatMarketing() { /** * The Client ID of your Snapchat developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your Snapchat developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public SnapchatMarketing withClientId(String clientId) { /** * The Client ID of your Snapchat developer application. */ - public SnapchatMarketing withClientId(Optional clientId) { + public SnapchatMarketing withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public SnapchatMarketing withClientSecret(String clientSecret) { /** * The Client Secret of your Snapchat developer application. */ - public SnapchatMarketing withClientSecret(Optional clientSecret) { + public SnapchatMarketing withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } SnapchatMarketing other = (SnapchatMarketing) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your Snapchat developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Snapchat developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Snappy.java b/src/main/java/com/airbyte/api/models/shared/Snappy.java index c7e75ad16..871be9547 100644 --- a/src/main/java/com/airbyte/api/models/shared/Snappy.java +++ b/src/main/java/com/airbyte/api/models/shared/Snappy.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Snappy { @JsonInclude(Include.NON_ABSENT) @@ -68,12 +69,12 @@ public boolean equals(java.lang.Object o) { } Snappy other = (Snappy) o; return - java.util.Objects.deepEquals(this.codec, other.codec); + Objects.deepEquals(this.codec, other.codec); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec); } @@ -106,8 +107,7 @@ public Builder codec(Optional clientId; + private Optional clientId; /** * The Client Secret of your Snowflake developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public SnowflakeCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public SnowflakeCredentials() { /** * The Client ID of your Snowflake developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your Snowflake developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public SnowflakeCredentials withClientId(String clientId) { /** * The Client ID of your Snowflake developer application. */ - public SnowflakeCredentials withClientId(Optional clientId) { + public SnowflakeCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public SnowflakeCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your Snowflake developer application. */ - public SnowflakeCredentials withClientSecret(Optional clientSecret) { + public SnowflakeCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } SnowflakeCredentials other = (SnowflakeCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your Snowflake developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Snowflake developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SolarwindsServiceDesk.java b/src/main/java/com/airbyte/api/models/shared/SolarwindsServiceDesk.java new file mode 100644 index 000000000..bbd11a1aa --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SolarwindsServiceDesk.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SolarwindsServiceDesk { + SOLARWINDS_SERVICE_DESK("solarwinds-service-desk"); + + @JsonValue + private final String value; + + private SolarwindsServiceDesk(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SonarCloud.java b/src/main/java/com/airbyte/api/models/shared/SonarCloud.java index 594a152d5..8842631f2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SonarCloud.java +++ b/src/main/java/com/airbyte/api/models/shared/SonarCloud.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SonarCloud { SONAR_CLOUD("sonar-cloud"); diff --git a/src/main/java/com/airbyte/api/models/shared/SortBy.java b/src/main/java/com/airbyte/api/models/shared/SortBy.java index 2e861828e..c07fde784 100644 --- a/src/main/java/com/airbyte/api/models/shared/SortBy.java +++ b/src/main/java/com/airbyte/api/models/shared/SortBy.java @@ -1,28 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** - * SortBy - This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: - * - publishedAt = sort by publication date, the articles with the most recent publication date are returned first - * - relevance = sort by best match to keywords, the articles with the best match are returned first + * SortBy - The order to sort the articles in. Possible options: relevancy, + * popularity, publishedAt. + * */ public enum SortBy { - PUBLISHED_AT("publishedAt"), - RELEVANCE("relevance"); + RELEVANCY("relevancy"), + POPULARITY("popularity"), + PUBLISHED_AT("publishedAt"); @JsonValue private final String value; diff --git a/src/main/java/com/airbyte/api/models/shared/Source7shifts.java b/src/main/java/com/airbyte/api/models/shared/Source7shifts.java index 312486300..a091a61c9 100644 --- a/src/main/java/com/airbyte/api/models/shared/Source7shifts.java +++ b/src/main/java/com/airbyte/api/models/shared/Source7shifts.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class Source7shifts { @@ -91,14 +89,14 @@ public boolean equals(java.lang.Object o) { } Source7shifts other = (Source7shifts) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceActivecampaign.java b/src/main/java/com/airbyte/api/models/shared/SourceActivecampaign.java new file mode 100644 index 000000000..8bbf242f7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceActivecampaign.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceActivecampaign { + + /** + * Account Username + */ + @JsonProperty("account_username") + private String accountUsername; + + /** + * API Key + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Activecampaign sourceType; + + @JsonCreator + public SourceActivecampaign( + @JsonProperty("account_username") String accountUsername, + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(accountUsername, "accountUsername"); + Utils.checkNotNull(apiKey, "apiKey"); + this.accountUsername = accountUsername; + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Account Username + */ + @JsonIgnore + public String accountUsername() { + return accountUsername; + } + + /** + * API Key + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Activecampaign sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Account Username + */ + public SourceActivecampaign withAccountUsername(String accountUsername) { + Utils.checkNotNull(accountUsername, "accountUsername"); + this.accountUsername = accountUsername; + return this; + } + + /** + * API Key + */ + public SourceActivecampaign withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceActivecampaign other = (SourceActivecampaign) o; + return + Objects.deepEquals(this.accountUsername, other.accountUsername) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + accountUsername, + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceActivecampaign.class, + "accountUsername", accountUsername, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String accountUsername; + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * Account Username + */ + public Builder accountUsername(String accountUsername) { + Utils.checkNotNull(accountUsername, "accountUsername"); + this.accountUsername = accountUsername; + return this; + } + + /** + * API Key + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceActivecampaign build() { + return new SourceActivecampaign( + accountUsername, + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"activecampaign\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAgilecrm.java b/src/main/java/com/airbyte/api/models/shared/SourceAgilecrm.java new file mode 100644 index 000000000..c6b35fac4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceAgilecrm.java @@ -0,0 +1,203 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceAgilecrm { + + /** + * API key to use. Find it at Admin Settings -> API & Analytics -> API Key in your Agile CRM account. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * The specific subdomain for your Agile CRM account + */ + @JsonProperty("domain") + private String domain; + + /** + * Your Agile CRM account email address. This is used as the username for authentication. + */ + @JsonProperty("email") + private String email; + + @JsonProperty("sourceType") + private Agilecrm sourceType; + + @JsonCreator + public SourceAgilecrm( + @JsonProperty("api_key") String apiKey, + @JsonProperty("domain") String domain, + @JsonProperty("email") String email) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(domain, "domain"); + Utils.checkNotNull(email, "email"); + this.apiKey = apiKey; + this.domain = domain; + this.email = email; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Find it at Admin Settings -> API & Analytics -> API Key in your Agile CRM account. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The specific subdomain for your Agile CRM account + */ + @JsonIgnore + public String domain() { + return domain; + } + + /** + * Your Agile CRM account email address. This is used as the username for authentication. + */ + @JsonIgnore + public String email() { + return email; + } + + @JsonIgnore + public Agilecrm sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at Admin Settings -> API & Analytics -> API Key in your Agile CRM account. + */ + public SourceAgilecrm withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The specific subdomain for your Agile CRM account + */ + public SourceAgilecrm withDomain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + /** + * Your Agile CRM account email address. This is used as the username for authentication. + */ + public SourceAgilecrm withEmail(String email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceAgilecrm other = (SourceAgilecrm) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + domain, + email, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceAgilecrm.class, + "apiKey", apiKey, + "domain", domain, + "email", email, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private String domain; + + private String email; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at Admin Settings -> API & Analytics -> API Key in your Agile CRM account. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The specific subdomain for your Agile CRM account + */ + public Builder domain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + /** + * Your Agile CRM account email address. This is used as the username for authentication. + */ + public Builder email(String email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + public SourceAgilecrm build() { + return new SourceAgilecrm( + apiKey, + domain, + email); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"agilecrm\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAha.java b/src/main/java/com/airbyte/api/models/shared/SourceAha.java index 1c0afbc24..69921a8bb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAha.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAha.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceAha { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceAha other = (SourceAha) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.url, other.url); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.url, other.url); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, url); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirbyte.java b/src/main/java/com/airbyte/api/models/shared/SourceAirbyte.java index af6592498..de50b0ec6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAirbyte.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAirbyte.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceAirbyte { @@ -99,15 +97,15 @@ public boolean equals(java.lang.Object o) { } SourceAirbyte other = (SourceAirbyte) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, sourceType, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAircall.java b/src/main/java/com/airbyte/api/models/shared/SourceAircall.java index 764eebc5f..5b0addfae 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAircall.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAircall.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceAircall { @@ -126,15 +124,15 @@ public boolean equals(java.lang.Object o) { } SourceAircall other = (SourceAircall) o; return - java.util.Objects.deepEquals(this.apiId, other.apiId) && - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiId, other.apiId) && + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiId, apiToken, sourceType, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java b/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java index 3c2337027..5b9a4fc01 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceAirtable { @JsonInclude(Include.NON_ABSENT) @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } SourceAirtable other = (SourceAirtable) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtable.java b/src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtable.java index 7bf4f2a29..da6a33b70 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtable.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAirtableAirtable.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAirtableAirtable { AIRTABLE("airtable"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthMethod.java index 196c5c883..a7f231070 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAirtableAuthMethod { API_KEY("api_key"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java index 4cf412d65..eb0b64c2f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAirtableAuthentication.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceAirtableAuthentication._Deserializer.class) public class SourceAirtableAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceAirtableAuthentication(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceAirtableAuthentication of(SourceAirtablePersonalAccessToken /** * Returns an instance of one of these types: *

      - *
    • {@code SourceAirtableOAuth20}
    • - *
    • {@code SourceAirtablePersonalAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAirtableOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAirtablePersonalAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceAirtableAuthentication other = (SourceAirtableAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceAirtableAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceAirtableAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirtableOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceAirtableOAuth20.java index dc9f21018..f1c195109 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAirtableOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAirtableOAuth20.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceAirtableOAuth20 { /** @@ -29,7 +28,7 @@ public class SourceAirtableOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_token") - private Optional accessToken; + private Optional accessToken; @JsonInclude(Include.NON_ABSENT) @JsonProperty("auth_method") @@ -58,15 +57,15 @@ public class SourceAirtableOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("token_expiry_date") - private Optional tokenExpiryDate; + private Optional tokenExpiryDate; @JsonCreator public SourceAirtableOAuth20( - @JsonProperty("access_token") Optional accessToken, + @JsonProperty("access_token") Optional accessToken, @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, @JsonProperty("refresh_token") String refreshToken, - @JsonProperty("token_expiry_date") Optional tokenExpiryDate) { + @JsonProperty("token_expiry_date") Optional tokenExpiryDate) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -90,10 +89,9 @@ public SourceAirtableOAuth20( /** * Access Token for making authenticated requests. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessToken() { - return (Optional) accessToken; + return accessToken; } @SuppressWarnings("unchecked") @@ -129,10 +127,9 @@ public String refreshToken() { /** * The date-time when the access token should be refreshed. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tokenExpiryDate() { - return (Optional) tokenExpiryDate; + return tokenExpiryDate; } public final static Builder builder() { @@ -151,7 +148,7 @@ public SourceAirtableOAuth20 withAccessToken(String accessToken) { /** * Access Token for making authenticated requests. */ - public SourceAirtableOAuth20 withAccessToken(Optional accessToken) { + public SourceAirtableOAuth20 withAccessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -196,7 +193,7 @@ public SourceAirtableOAuth20 withTokenExpiryDate(OffsetDateTime tokenExpiryDate) /** * The date-time when the access token should be refreshed. */ - public SourceAirtableOAuth20 withTokenExpiryDate(Optional tokenExpiryDate) { + public SourceAirtableOAuth20 withTokenExpiryDate(Optional tokenExpiryDate) { Utils.checkNotNull(tokenExpiryDate, "tokenExpiryDate"); this.tokenExpiryDate = tokenExpiryDate; return this; @@ -212,17 +209,17 @@ public boolean equals(java.lang.Object o) { } SourceAirtableOAuth20 other = (SourceAirtableOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authMethod, clientId, @@ -244,7 +241,7 @@ public String toString() { public final static class Builder { - private Optional accessToken = Optional.empty(); + private Optional accessToken = Optional.empty(); private String clientId; @@ -252,7 +249,7 @@ public final static class Builder { private String refreshToken; - private Optional tokenExpiryDate = Optional.empty(); + private Optional tokenExpiryDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -270,7 +267,7 @@ public Builder accessToken(String accessToken) { /** * Access Token for making authenticated requests. */ - public Builder accessToken(Optional accessToken) { + public Builder accessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -315,7 +312,7 @@ public Builder tokenExpiryDate(OffsetDateTime tokenExpiryDate) { /** * The date-time when the access token should be refreshed. */ - public Builder tokenExpiryDate(Optional tokenExpiryDate) { + public Builder tokenExpiryDate(Optional tokenExpiryDate) { Utils.checkNotNull(tokenExpiryDate, "tokenExpiryDate"); this.tokenExpiryDate = tokenExpiryDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirtablePersonalAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SourceAirtablePersonalAccessToken.java index dfc4c23e1..d3ae05608 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAirtablePersonalAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAirtablePersonalAccessToken.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceAirtablePersonalAccessToken { /** @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } SourceAirtablePersonalAccessToken other = (SourceAirtablePersonalAccessToken) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.authMethod, other.authMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, authMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAirtableSchemasAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceAirtableSchemasAuthMethod.java index d7d28e51d..029df1f71 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAirtableSchemasAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAirtableSchemasAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAirtableSchemasAuthMethod { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAkeneo.java b/src/main/java/com/airbyte/api/models/shared/SourceAkeneo.java new file mode 100644 index 000000000..9e597065e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceAkeneo.java @@ -0,0 +1,261 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceAkeneo { + + @JsonProperty("api_username") + private String apiUsername; + + @JsonProperty("client_id") + private String clientId; + + /** + * https://cb8715249e.trial.akeneo.cloud + */ + @JsonProperty("host") + private String host; + + @JsonProperty("password") + private String password; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secret") + private Optional secret; + + @JsonProperty("sourceType") + private Akeneo sourceType; + + @JsonCreator + public SourceAkeneo( + @JsonProperty("api_username") String apiUsername, + @JsonProperty("client_id") String clientId, + @JsonProperty("host") String host, + @JsonProperty("password") String password, + @JsonProperty("secret") Optional secret) { + Utils.checkNotNull(apiUsername, "apiUsername"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(host, "host"); + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(secret, "secret"); + this.apiUsername = apiUsername; + this.clientId = clientId; + this.host = host; + this.password = password; + this.secret = secret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceAkeneo( + String apiUsername, + String clientId, + String host, + String password) { + this(apiUsername, clientId, host, password, Optional.empty()); + } + + @JsonIgnore + public String apiUsername() { + return apiUsername; + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * https://cb8715249e.trial.akeneo.cloud + */ + @JsonIgnore + public String host() { + return host; + } + + @JsonIgnore + public String password() { + return password; + } + + @JsonIgnore + public Optional secret() { + return secret; + } + + @JsonIgnore + public Akeneo sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceAkeneo withApiUsername(String apiUsername) { + Utils.checkNotNull(apiUsername, "apiUsername"); + this.apiUsername = apiUsername; + return this; + } + + public SourceAkeneo withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * https://cb8715249e.trial.akeneo.cloud + */ + public SourceAkeneo withHost(String host) { + Utils.checkNotNull(host, "host"); + this.host = host; + return this; + } + + public SourceAkeneo withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourceAkeneo withSecret(String secret) { + Utils.checkNotNull(secret, "secret"); + this.secret = Optional.ofNullable(secret); + return this; + } + + public SourceAkeneo withSecret(Optional secret) { + Utils.checkNotNull(secret, "secret"); + this.secret = secret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceAkeneo other = (SourceAkeneo) o; + return + Objects.deepEquals(this.apiUsername, other.apiUsername) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.secret, other.secret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiUsername, + clientId, + host, + password, + secret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceAkeneo.class, + "apiUsername", apiUsername, + "clientId", clientId, + "host", host, + "password", password, + "secret", secret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiUsername; + + private String clientId; + + private String host; + + private String password; + + private Optional secret = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder apiUsername(String apiUsername) { + Utils.checkNotNull(apiUsername, "apiUsername"); + this.apiUsername = apiUsername; + return this; + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * https://cb8715249e.trial.akeneo.cloud + */ + public Builder host(String host) { + Utils.checkNotNull(host, "host"); + this.host = host; + return this; + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public Builder secret(String secret) { + Utils.checkNotNull(secret, "secret"); + this.secret = Optional.ofNullable(secret); + return this; + } + + public Builder secret(Optional secret) { + Utils.checkNotNull(secret, "secret"); + this.secret = secret; + return this; + } + + public SourceAkeneo build() { + return new SourceAkeneo( + apiUsername, + clientId, + host, + password, + secret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"akeneo\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAlgolia.java b/src/main/java/com/airbyte/api/models/shared/SourceAlgolia.java new file mode 100644 index 000000000..aaa9602b7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceAlgolia.java @@ -0,0 +1,327 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceAlgolia { + + @JsonProperty("api_key") + private String apiKey; + + /** + * The application ID for your application found in settings + */ + @JsonProperty("application_id") + private String applicationId; + + /** + * Object ID within index for search queries + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("object_id") + private Optional objectId; + + /** + * Search query to be used with indexes_query stream with format defined in `https://www.algolia.com/doc/rest-api/search/#tag/Search/operation/searchSingleIndex` + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("search_query") + private Optional searchQuery; + + @JsonProperty("sourceType") + private Algolia sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceAlgolia( + @JsonProperty("api_key") String apiKey, + @JsonProperty("application_id") String applicationId, + @JsonProperty("object_id") Optional objectId, + @JsonProperty("search_query") Optional searchQuery, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(applicationId, "applicationId"); + Utils.checkNotNull(objectId, "objectId"); + Utils.checkNotNull(searchQuery, "searchQuery"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.applicationId = applicationId; + this.objectId = objectId; + this.searchQuery = searchQuery; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceAlgolia( + String apiKey, + String applicationId, + OffsetDateTime startDate) { + this(apiKey, applicationId, Optional.empty(), Optional.empty(), startDate); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The application ID for your application found in settings + */ + @JsonIgnore + public String applicationId() { + return applicationId; + } + + /** + * Object ID within index for search queries + */ + @JsonIgnore + public Optional objectId() { + return objectId; + } + + /** + * Search query to be used with indexes_query stream with format defined in `https://www.algolia.com/doc/rest-api/search/#tag/Search/operation/searchSingleIndex` + */ + @JsonIgnore + public Optional searchQuery() { + return searchQuery; + } + + @JsonIgnore + public Algolia sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceAlgolia withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The application ID for your application found in settings + */ + public SourceAlgolia withApplicationId(String applicationId) { + Utils.checkNotNull(applicationId, "applicationId"); + this.applicationId = applicationId; + return this; + } + + /** + * Object ID within index for search queries + */ + public SourceAlgolia withObjectId(String objectId) { + Utils.checkNotNull(objectId, "objectId"); + this.objectId = Optional.ofNullable(objectId); + return this; + } + + /** + * Object ID within index for search queries + */ + public SourceAlgolia withObjectId(Optional objectId) { + Utils.checkNotNull(objectId, "objectId"); + this.objectId = objectId; + return this; + } + + /** + * Search query to be used with indexes_query stream with format defined in `https://www.algolia.com/doc/rest-api/search/#tag/Search/operation/searchSingleIndex` + */ + public SourceAlgolia withSearchQuery(String searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = Optional.ofNullable(searchQuery); + return this; + } + + /** + * Search query to be used with indexes_query stream with format defined in `https://www.algolia.com/doc/rest-api/search/#tag/Search/operation/searchSingleIndex` + */ + public SourceAlgolia withSearchQuery(Optional searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = searchQuery; + return this; + } + + public SourceAlgolia withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceAlgolia other = (SourceAlgolia) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.applicationId, other.applicationId) && + Objects.deepEquals(this.objectId, other.objectId) && + Objects.deepEquals(this.searchQuery, other.searchQuery) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + applicationId, + objectId, + searchQuery, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceAlgolia.class, + "apiKey", apiKey, + "applicationId", applicationId, + "objectId", objectId, + "searchQuery", searchQuery, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private String applicationId; + + private Optional objectId; + + private Optional searchQuery; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The application ID for your application found in settings + */ + public Builder applicationId(String applicationId) { + Utils.checkNotNull(applicationId, "applicationId"); + this.applicationId = applicationId; + return this; + } + + /** + * Object ID within index for search queries + */ + public Builder objectId(String objectId) { + Utils.checkNotNull(objectId, "objectId"); + this.objectId = Optional.ofNullable(objectId); + return this; + } + + /** + * Object ID within index for search queries + */ + public Builder objectId(Optional objectId) { + Utils.checkNotNull(objectId, "objectId"); + this.objectId = objectId; + return this; + } + + /** + * Search query to be used with indexes_query stream with format defined in `https://www.algolia.com/doc/rest-api/search/#tag/Search/operation/searchSingleIndex` + */ + public Builder searchQuery(String searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = Optional.ofNullable(searchQuery); + return this; + } + + /** + * Search query to be used with indexes_query stream with format defined in `https://www.algolia.com/doc/rest-api/search/#tag/Search/operation/searchSingleIndex` + */ + public Builder searchQuery(Optional searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = searchQuery; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceAlgolia build() { + if (objectId == null) { + objectId = _SINGLETON_VALUE_ObjectId.value(); + } + if (searchQuery == null) { + searchQuery = _SINGLETON_VALUE_SearchQuery.value(); + } return new SourceAlgolia( + apiKey, + applicationId, + objectId, + searchQuery, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_ObjectId = + new LazySingletonValue<>( + "object_id", + "\"ecommerce-sample-data-9999996\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SearchQuery = + new LazySingletonValue<>( + "search_query", + "\"hitsPerPage=2&getRankingInfo=1\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"algolia\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java b/src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java index 64f532abe..1af1fe8a0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java @@ -1,25 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceAmazonAds { @JsonInclude(Include.NON_ABSENT) @@ -43,21 +46,21 @@ public class SourceAmazonAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("look_back_window") - private Optional lookBackWindow; + private Optional lookBackWindow; /** * Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("marketplace_ids") - private Optional> marketplaceIds; + private Optional> marketplaceIds; /** * Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See <a href="https://advertising.amazon.com/API/docs/en-us/concepts/authorization/profiles">docs</a> for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("profiles") - private Optional> profiles; + private Optional> profiles; /** * Amazon Ads refresh token. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens">docs</a> for more information on how to obtain this token. @@ -77,7 +80,7 @@ public class SourceAmazonAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("report_record_types") - private Optional> reportRecordTypes; + private Optional> reportRecordTypes; @JsonProperty("sourceType") private SourceAmazonAdsAmazonAds sourceType; @@ -87,27 +90,27 @@ public class SourceAmazonAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Reflects the state of the Display, Product, and Brand Campaign streams as enabled, paused, or archived. If you do not populate this field, it will be ignored completely. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("state_filter") - private Optional> stateFilter; + private Optional> stateFilter; @JsonCreator public SourceAmazonAds( @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, - @JsonProperty("look_back_window") Optional lookBackWindow, - @JsonProperty("marketplace_ids") Optional> marketplaceIds, - @JsonProperty("profiles") Optional> profiles, + @JsonProperty("look_back_window") Optional lookBackWindow, + @JsonProperty("marketplace_ids") Optional> marketplaceIds, + @JsonProperty("profiles") Optional> profiles, @JsonProperty("refresh_token") String refreshToken, @JsonProperty("region") Optional region, - @JsonProperty("report_record_types") Optional> reportRecordTypes, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("state_filter") Optional> stateFilter) { + @JsonProperty("report_record_types") Optional> reportRecordTypes, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("state_filter") Optional> stateFilter) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); Utils.checkNotNull(lookBackWindow, "lookBackWindow"); @@ -164,10 +167,9 @@ public String clientSecret() { /** * The amount of days to go back in time to get the updated data from Amazon Ads */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookBackWindow() { - return (Optional) lookBackWindow; + return lookBackWindow; } /** @@ -175,8 +177,8 @@ public Optional lookBackWindow() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> marketplaceIds() { - return (Optional>) marketplaceIds; + public Optional> marketplaceIds() { + return (Optional>) marketplaceIds; } /** @@ -184,8 +186,8 @@ public Optional> marketplaceIds() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> profiles() { - return (Optional>) profiles; + public Optional> profiles() { + return (Optional>) profiles; } /** @@ -210,8 +212,8 @@ public Optional region() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> reportRecordTypes() { - return (Optional>) reportRecordTypes; + public Optional> reportRecordTypes() { + return (Optional>) reportRecordTypes; } @JsonIgnore @@ -222,10 +224,9 @@ public SourceAmazonAdsAmazonAds sourceType() { /** * The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -233,8 +234,8 @@ public Optional startDate() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> stateFilter() { - return (Optional>) stateFilter; + public Optional> stateFilter() { + return (Optional>) stateFilter; } public final static Builder builder() { @@ -271,7 +272,7 @@ public SourceAmazonAds withLookBackWindow(long lookBackWindow) { /** * The amount of days to go back in time to get the updated data from Amazon Ads */ - public SourceAmazonAds withLookBackWindow(Optional lookBackWindow) { + public SourceAmazonAds withLookBackWindow(Optional lookBackWindow) { Utils.checkNotNull(lookBackWindow, "lookBackWindow"); this.lookBackWindow = lookBackWindow; return this; @@ -280,7 +281,7 @@ public SourceAmazonAds withLookBackWindow(Optional lookBackWindo /** * Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. */ - public SourceAmazonAds withMarketplaceIds(java.util.List marketplaceIds) { + public SourceAmazonAds withMarketplaceIds(List marketplaceIds) { Utils.checkNotNull(marketplaceIds, "marketplaceIds"); this.marketplaceIds = Optional.ofNullable(marketplaceIds); return this; @@ -289,7 +290,7 @@ public SourceAmazonAds withMarketplaceIds(java.util.List marketplaceIds) /** * Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. */ - public SourceAmazonAds withMarketplaceIds(Optional> marketplaceIds) { + public SourceAmazonAds withMarketplaceIds(Optional> marketplaceIds) { Utils.checkNotNull(marketplaceIds, "marketplaceIds"); this.marketplaceIds = marketplaceIds; return this; @@ -298,7 +299,7 @@ public SourceAmazonAds withMarketplaceIds(Optional profiles) { + public SourceAmazonAds withProfiles(List profiles) { Utils.checkNotNull(profiles, "profiles"); this.profiles = Optional.ofNullable(profiles); return this; @@ -307,7 +308,7 @@ public SourceAmazonAds withProfiles(java.util.List profiles) { /** * Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See <a href="https://advertising.amazon.com/API/docs/en-us/concepts/authorization/profiles">docs</a> for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. */ - public SourceAmazonAds withProfiles(Optional> profiles) { + public SourceAmazonAds withProfiles(Optional> profiles) { Utils.checkNotNull(profiles, "profiles"); this.profiles = profiles; return this; @@ -343,7 +344,7 @@ public SourceAmazonAds withRegion(Optional region) { /** * Optional configuration which accepts an array of string of record types. Leave blank for default behaviour to pull all report types. Use this config option only if you want to pull specific report type(s). See <a href="https://advertising.amazon.com/API/docs/en-us/reporting/v2/report-types">docs</a> for more details */ - public SourceAmazonAds withReportRecordTypes(java.util.List reportRecordTypes) { + public SourceAmazonAds withReportRecordTypes(List reportRecordTypes) { Utils.checkNotNull(reportRecordTypes, "reportRecordTypes"); this.reportRecordTypes = Optional.ofNullable(reportRecordTypes); return this; @@ -352,7 +353,7 @@ public SourceAmazonAds withReportRecordTypes(java.util.List r /** * Optional configuration which accepts an array of string of record types. Leave blank for default behaviour to pull all report types. Use this config option only if you want to pull specific report type(s). See <a href="https://advertising.amazon.com/API/docs/en-us/reporting/v2/report-types">docs</a> for more details */ - public SourceAmazonAds withReportRecordTypes(Optional> reportRecordTypes) { + public SourceAmazonAds withReportRecordTypes(Optional> reportRecordTypes) { Utils.checkNotNull(reportRecordTypes, "reportRecordTypes"); this.reportRecordTypes = reportRecordTypes; return this; @@ -370,7 +371,7 @@ public SourceAmazonAds withStartDate(LocalDate startDate) { /** * The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format */ - public SourceAmazonAds withStartDate(Optional startDate) { + public SourceAmazonAds withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -379,7 +380,7 @@ public SourceAmazonAds withStartDate(Optional startDate) { /** * Reflects the state of the Display, Product, and Brand Campaign streams as enabled, paused, or archived. If you do not populate this field, it will be ignored completely. */ - public SourceAmazonAds withStateFilter(java.util.List stateFilter) { + public SourceAmazonAds withStateFilter(List stateFilter) { Utils.checkNotNull(stateFilter, "stateFilter"); this.stateFilter = Optional.ofNullable(stateFilter); return this; @@ -388,7 +389,7 @@ public SourceAmazonAds withStateFilter(java.util.List stateFilter) /** * Reflects the state of the Display, Product, and Brand Campaign streams as enabled, paused, or archived. If you do not populate this field, it will be ignored completely. */ - public SourceAmazonAds withStateFilter(Optional> stateFilter) { + public SourceAmazonAds withStateFilter(Optional> stateFilter) { Utils.checkNotNull(stateFilter, "stateFilter"); this.stateFilter = stateFilter; return this; @@ -404,23 +405,23 @@ public boolean equals(java.lang.Object o) { } SourceAmazonAds other = (SourceAmazonAds) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.lookBackWindow, other.lookBackWindow) && - java.util.Objects.deepEquals(this.marketplaceIds, other.marketplaceIds) && - java.util.Objects.deepEquals(this.profiles, other.profiles) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.region, other.region) && - java.util.Objects.deepEquals(this.reportRecordTypes, other.reportRecordTypes) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.stateFilter, other.stateFilter); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.lookBackWindow, other.lookBackWindow) && + Objects.deepEquals(this.marketplaceIds, other.marketplaceIds) && + Objects.deepEquals(this.profiles, other.profiles) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.reportRecordTypes, other.reportRecordTypes) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.stateFilter, other.stateFilter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, @@ -458,21 +459,21 @@ public final static class Builder { private String clientSecret; - private Optional lookBackWindow; + private Optional lookBackWindow; - private Optional> marketplaceIds = Optional.empty(); + private Optional> marketplaceIds = Optional.empty(); - private Optional> profiles = Optional.empty(); + private Optional> profiles = Optional.empty(); private String refreshToken; private Optional region; - private Optional> reportRecordTypes = Optional.empty(); + private Optional> reportRecordTypes = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private Optional> stateFilter = Optional.empty(); + private Optional> stateFilter = Optional.empty(); private Builder() { // force use of static builder() method @@ -508,7 +509,7 @@ public Builder lookBackWindow(long lookBackWindow) { /** * The amount of days to go back in time to get the updated data from Amazon Ads */ - public Builder lookBackWindow(Optional lookBackWindow) { + public Builder lookBackWindow(Optional lookBackWindow) { Utils.checkNotNull(lookBackWindow, "lookBackWindow"); this.lookBackWindow = lookBackWindow; return this; @@ -517,7 +518,7 @@ public Builder lookBackWindow(Optional lookBackWindow) { /** * Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. */ - public Builder marketplaceIds(java.util.List marketplaceIds) { + public Builder marketplaceIds(List marketplaceIds) { Utils.checkNotNull(marketplaceIds, "marketplaceIds"); this.marketplaceIds = Optional.ofNullable(marketplaceIds); return this; @@ -526,7 +527,7 @@ public Builder marketplaceIds(java.util.List marketplaceIds) { /** * Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. */ - public Builder marketplaceIds(Optional> marketplaceIds) { + public Builder marketplaceIds(Optional> marketplaceIds) { Utils.checkNotNull(marketplaceIds, "marketplaceIds"); this.marketplaceIds = marketplaceIds; return this; @@ -535,7 +536,7 @@ public Builder marketplaceIds(Optional> marketp /** * Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See <a href="https://advertising.amazon.com/API/docs/en-us/concepts/authorization/profiles">docs</a> for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. */ - public Builder profiles(java.util.List profiles) { + public Builder profiles(List profiles) { Utils.checkNotNull(profiles, "profiles"); this.profiles = Optional.ofNullable(profiles); return this; @@ -544,7 +545,7 @@ public Builder profiles(java.util.List profiles) { /** * Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See <a href="https://advertising.amazon.com/API/docs/en-us/concepts/authorization/profiles">docs</a> for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. */ - public Builder profiles(Optional> profiles) { + public Builder profiles(Optional> profiles) { Utils.checkNotNull(profiles, "profiles"); this.profiles = profiles; return this; @@ -580,7 +581,7 @@ public Builder region(Optional region) { /** * Optional configuration which accepts an array of string of record types. Leave blank for default behaviour to pull all report types. Use this config option only if you want to pull specific report type(s). See <a href="https://advertising.amazon.com/API/docs/en-us/reporting/v2/report-types">docs</a> for more details */ - public Builder reportRecordTypes(java.util.List reportRecordTypes) { + public Builder reportRecordTypes(List reportRecordTypes) { Utils.checkNotNull(reportRecordTypes, "reportRecordTypes"); this.reportRecordTypes = Optional.ofNullable(reportRecordTypes); return this; @@ -589,7 +590,7 @@ public Builder reportRecordTypes(java.util.List reportRecordT /** * Optional configuration which accepts an array of string of record types. Leave blank for default behaviour to pull all report types. Use this config option only if you want to pull specific report type(s). See <a href="https://advertising.amazon.com/API/docs/en-us/reporting/v2/report-types">docs</a> for more details */ - public Builder reportRecordTypes(Optional> reportRecordTypes) { + public Builder reportRecordTypes(Optional> reportRecordTypes) { Utils.checkNotNull(reportRecordTypes, "reportRecordTypes"); this.reportRecordTypes = reportRecordTypes; return this; @@ -607,7 +608,7 @@ public Builder startDate(LocalDate startDate) { /** * The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -616,7 +617,7 @@ public Builder startDate(Optional startDate) { /** * Reflects the state of the Display, Product, and Brand Campaign streams as enabled, paused, or archived. If you do not populate this field, it will be ignored completely. */ - public Builder stateFilter(java.util.List stateFilter) { + public Builder stateFilter(List stateFilter) { Utils.checkNotNull(stateFilter, "stateFilter"); this.stateFilter = Optional.ofNullable(stateFilter); return this; @@ -625,7 +626,7 @@ public Builder stateFilter(java.util.List stateFilter) { /** * Reflects the state of the Display, Product, and Brand Campaign streams as enabled, paused, or archived. If you do not populate this field, it will be ignored completely. */ - public Builder stateFilter(Optional> stateFilter) { + public Builder stateFilter(Optional> stateFilter) { Utils.checkNotNull(stateFilter, "stateFilter"); this.stateFilter = stateFilter; return this; @@ -637,8 +638,7 @@ public SourceAmazonAds build() { } if (region == null) { region = _SINGLETON_VALUE_Region.value(); - } - return new SourceAmazonAds( + } return new SourceAmazonAds( clientId, clientSecret, lookBackWindow, @@ -657,11 +657,11 @@ public SourceAmazonAds build() { "\"oauth2.0\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_LookBackWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_LookBackWindow = new LazySingletonValue<>( "look_back_window", "3", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Region = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAds.java b/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAds.java index 7dc3f6445..c2dba19da 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAds.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAds.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAmazonAdsAmazonAds { AMAZON_ADS("amazon-ads"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthType.java index b3bd5d3ad..a16488b06 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAmazonAdsAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java index 00fc5c050..d7c809ff2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java @@ -1,27 +1,29 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceAmazonSellerPartner { /** @@ -59,7 +61,7 @@ public class SourceAmazonSellerPartner { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("period_in_days") - private Optional periodInDays; + private Optional periodInDays; /** * The Refresh Token obtained via OAuth flow authorization. @@ -79,21 +81,21 @@ public class SourceAmazonSellerPartner { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("replication_end_date") - private Optional replicationEndDate; + private Optional replicationEndDate; /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If start date is not provided or older than 2 years ago from today, the date 2 years ago from today will be used. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("replication_start_date") - private Optional replicationStartDate; + private Optional replicationStartDate; /** * Additional information passed to reports. This varies by report type. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("report_options_list") - private Optional> reportOptionsList; + private Optional> reportOptionsList; @JsonProperty("sourceType") private SourceAmazonSellerPartnerAmazonSellerPartner sourceType; @@ -103,7 +105,7 @@ public class SourceAmazonSellerPartner { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("wait_to_avoid_fatal_errors") - private Optional waitToAvoidFatalErrors; + private Optional waitToAvoidFatalErrors; @JsonCreator public SourceAmazonSellerPartner( @@ -111,13 +113,13 @@ public SourceAmazonSellerPartner( @JsonProperty("aws_environment") Optional awsEnvironment, @JsonProperty("lwa_app_id") String lwaAppId, @JsonProperty("lwa_client_secret") String lwaClientSecret, - @JsonProperty("period_in_days") Optional periodInDays, + @JsonProperty("period_in_days") Optional periodInDays, @JsonProperty("refresh_token") String refreshToken, @JsonProperty("region") Optional region, - @JsonProperty("replication_end_date") Optional replicationEndDate, - @JsonProperty("replication_start_date") Optional replicationStartDate, - @JsonProperty("report_options_list") Optional> reportOptionsList, - @JsonProperty("wait_to_avoid_fatal_errors") Optional waitToAvoidFatalErrors) { + @JsonProperty("replication_end_date") Optional replicationEndDate, + @JsonProperty("replication_start_date") Optional replicationStartDate, + @JsonProperty("report_options_list") Optional> reportOptionsList, + @JsonProperty("wait_to_avoid_fatal_errors") Optional waitToAvoidFatalErrors) { Utils.checkNotNull(accountType, "accountType"); Utils.checkNotNull(awsEnvironment, "awsEnvironment"); Utils.checkNotNull(lwaAppId, "lwaAppId"); @@ -194,10 +196,9 @@ public String lwaClientSecret() { /** * For syncs spanning a large date range, this option is used to request data in a smaller fixed window to improve sync reliability. This time window can be configured granularly by day. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional periodInDays() { - return (Optional) periodInDays; + return periodInDays; } /** @@ -220,19 +221,17 @@ public Optional region() { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional replicationEndDate() { - return (Optional) replicationEndDate; + return replicationEndDate; } /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If start date is not provided or older than 2 years ago from today, the date 2 years ago from today will be used. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional replicationStartDate() { - return (Optional) replicationStartDate; + return replicationStartDate; } /** @@ -240,8 +239,8 @@ public Optional replicationStartDate() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> reportOptionsList() { - return (Optional>) reportOptionsList; + public Optional> reportOptionsList() { + return (Optional>) reportOptionsList; } @JsonIgnore @@ -252,10 +251,9 @@ public SourceAmazonSellerPartnerAmazonSellerPartner sourceType() { /** * For report based streams with known amount of requests per time period, this option will use waiting time between requests to avoid fatal statuses in reports. See <a href="https://docs.airbyte.com/integrations/sources/amazon-seller-partner#limitations--troubleshooting" target="_blank">Troubleshooting</a> section for more details */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional waitToAvoidFatalErrors() { - return (Optional) waitToAvoidFatalErrors; + return waitToAvoidFatalErrors; } public final static Builder builder() { @@ -328,7 +326,7 @@ public SourceAmazonSellerPartner withPeriodInDays(long periodInDays) { /** * For syncs spanning a large date range, this option is used to request data in a smaller fixed window to improve sync reliability. This time window can be configured granularly by day. */ - public SourceAmazonSellerPartner withPeriodInDays(Optional periodInDays) { + public SourceAmazonSellerPartner withPeriodInDays(Optional periodInDays) { Utils.checkNotNull(periodInDays, "periodInDays"); this.periodInDays = periodInDays; return this; @@ -373,7 +371,7 @@ public SourceAmazonSellerPartner withReplicationEndDate(OffsetDateTime replicati /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated. */ - public SourceAmazonSellerPartner withReplicationEndDate(Optional replicationEndDate) { + public SourceAmazonSellerPartner withReplicationEndDate(Optional replicationEndDate) { Utils.checkNotNull(replicationEndDate, "replicationEndDate"); this.replicationEndDate = replicationEndDate; return this; @@ -391,7 +389,7 @@ public SourceAmazonSellerPartner withReplicationStartDate(OffsetDateTime replica /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If start date is not provided or older than 2 years ago from today, the date 2 years ago from today will be used. */ - public SourceAmazonSellerPartner withReplicationStartDate(Optional replicationStartDate) { + public SourceAmazonSellerPartner withReplicationStartDate(Optional replicationStartDate) { Utils.checkNotNull(replicationStartDate, "replicationStartDate"); this.replicationStartDate = replicationStartDate; return this; @@ -400,7 +398,7 @@ public SourceAmazonSellerPartner withReplicationStartDate(Optional reportOptionsList) { + public SourceAmazonSellerPartner withReportOptionsList(List reportOptionsList) { Utils.checkNotNull(reportOptionsList, "reportOptionsList"); this.reportOptionsList = Optional.ofNullable(reportOptionsList); return this; @@ -409,7 +407,7 @@ public SourceAmazonSellerPartner withReportOptionsList(java.util.List> reportOptionsList) { + public SourceAmazonSellerPartner withReportOptionsList(Optional> reportOptionsList) { Utils.checkNotNull(reportOptionsList, "reportOptionsList"); this.reportOptionsList = reportOptionsList; return this; @@ -427,7 +425,7 @@ public SourceAmazonSellerPartner withWaitToAvoidFatalErrors(boolean waitToAvoidF /** * For report based streams with known amount of requests per time period, this option will use waiting time between requests to avoid fatal statuses in reports. See <a href="https://docs.airbyte.com/integrations/sources/amazon-seller-partner#limitations--troubleshooting" target="_blank">Troubleshooting</a> section for more details */ - public SourceAmazonSellerPartner withWaitToAvoidFatalErrors(Optional waitToAvoidFatalErrors) { + public SourceAmazonSellerPartner withWaitToAvoidFatalErrors(Optional waitToAvoidFatalErrors) { Utils.checkNotNull(waitToAvoidFatalErrors, "waitToAvoidFatalErrors"); this.waitToAvoidFatalErrors = waitToAvoidFatalErrors; return this; @@ -443,24 +441,24 @@ public boolean equals(java.lang.Object o) { } SourceAmazonSellerPartner other = (SourceAmazonSellerPartner) o; return - java.util.Objects.deepEquals(this.accountType, other.accountType) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.awsEnvironment, other.awsEnvironment) && - java.util.Objects.deepEquals(this.lwaAppId, other.lwaAppId) && - java.util.Objects.deepEquals(this.lwaClientSecret, other.lwaClientSecret) && - java.util.Objects.deepEquals(this.periodInDays, other.periodInDays) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.region, other.region) && - java.util.Objects.deepEquals(this.replicationEndDate, other.replicationEndDate) && - java.util.Objects.deepEquals(this.replicationStartDate, other.replicationStartDate) && - java.util.Objects.deepEquals(this.reportOptionsList, other.reportOptionsList) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.waitToAvoidFatalErrors, other.waitToAvoidFatalErrors); + Objects.deepEquals(this.accountType, other.accountType) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.awsEnvironment, other.awsEnvironment) && + Objects.deepEquals(this.lwaAppId, other.lwaAppId) && + Objects.deepEquals(this.lwaClientSecret, other.lwaClientSecret) && + Objects.deepEquals(this.periodInDays, other.periodInDays) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.replicationEndDate, other.replicationEndDate) && + Objects.deepEquals(this.replicationStartDate, other.replicationStartDate) && + Objects.deepEquals(this.reportOptionsList, other.reportOptionsList) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.waitToAvoidFatalErrors, other.waitToAvoidFatalErrors); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountType, authType, awsEnvironment, @@ -504,19 +502,19 @@ public final static class Builder { private String lwaClientSecret; - private Optional periodInDays; + private Optional periodInDays; private String refreshToken; private Optional region; - private Optional replicationEndDate = Optional.empty(); + private Optional replicationEndDate = Optional.empty(); - private Optional replicationStartDate = Optional.empty(); + private Optional replicationStartDate = Optional.empty(); - private Optional> reportOptionsList = Optional.empty(); + private Optional> reportOptionsList = Optional.empty(); - private Optional waitToAvoidFatalErrors; + private Optional waitToAvoidFatalErrors; private Builder() { // force use of static builder() method @@ -588,7 +586,7 @@ public Builder periodInDays(long periodInDays) { /** * For syncs spanning a large date range, this option is used to request data in a smaller fixed window to improve sync reliability. This time window can be configured granularly by day. */ - public Builder periodInDays(Optional periodInDays) { + public Builder periodInDays(Optional periodInDays) { Utils.checkNotNull(periodInDays, "periodInDays"); this.periodInDays = periodInDays; return this; @@ -633,7 +631,7 @@ public Builder replicationEndDate(OffsetDateTime replicationEndDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated. */ - public Builder replicationEndDate(Optional replicationEndDate) { + public Builder replicationEndDate(Optional replicationEndDate) { Utils.checkNotNull(replicationEndDate, "replicationEndDate"); this.replicationEndDate = replicationEndDate; return this; @@ -651,7 +649,7 @@ public Builder replicationStartDate(OffsetDateTime replicationStartDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If start date is not provided or older than 2 years ago from today, the date 2 years ago from today will be used. */ - public Builder replicationStartDate(Optional replicationStartDate) { + public Builder replicationStartDate(Optional replicationStartDate) { Utils.checkNotNull(replicationStartDate, "replicationStartDate"); this.replicationStartDate = replicationStartDate; return this; @@ -660,7 +658,7 @@ public Builder replicationStartDate(Optional replicati /** * Additional information passed to reports. This varies by report type. */ - public Builder reportOptionsList(java.util.List reportOptionsList) { + public Builder reportOptionsList(List reportOptionsList) { Utils.checkNotNull(reportOptionsList, "reportOptionsList"); this.reportOptionsList = Optional.ofNullable(reportOptionsList); return this; @@ -669,7 +667,7 @@ public Builder reportOptionsList(java.util.List reportOptionsList /** * Additional information passed to reports. This varies by report type. */ - public Builder reportOptionsList(Optional> reportOptionsList) { + public Builder reportOptionsList(Optional> reportOptionsList) { Utils.checkNotNull(reportOptionsList, "reportOptionsList"); this.reportOptionsList = reportOptionsList; return this; @@ -687,7 +685,7 @@ public Builder waitToAvoidFatalErrors(boolean waitToAvoidFatalErrors) { /** * For report based streams with known amount of requests per time period, this option will use waiting time between requests to avoid fatal statuses in reports. See <a href="https://docs.airbyte.com/integrations/sources/amazon-seller-partner#limitations--troubleshooting" target="_blank">Troubleshooting</a> section for more details */ - public Builder waitToAvoidFatalErrors(Optional waitToAvoidFatalErrors) { + public Builder waitToAvoidFatalErrors(Optional waitToAvoidFatalErrors) { Utils.checkNotNull(waitToAvoidFatalErrors, "waitToAvoidFatalErrors"); this.waitToAvoidFatalErrors = waitToAvoidFatalErrors; return this; @@ -708,8 +706,7 @@ public SourceAmazonSellerPartner build() { } if (waitToAvoidFatalErrors == null) { waitToAvoidFatalErrors = _SINGLETON_VALUE_WaitToAvoidFatalErrors.value(); - } - return new SourceAmazonSellerPartner( + } return new SourceAmazonSellerPartner( accountType, awsEnvironment, lwaAppId, @@ -741,11 +738,11 @@ public SourceAmazonSellerPartner build() { "\"PRODUCTION\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_PeriodInDays = + private static final LazySingletonValue> _SINGLETON_VALUE_PeriodInDays = new LazySingletonValue<>( "period_in_days", "90", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Region = new LazySingletonValue<>( @@ -759,11 +756,11 @@ public SourceAmazonSellerPartner build() { "\"amazon-seller-partner\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_WaitToAvoidFatalErrors = + private static final LazySingletonValue> _SINGLETON_VALUE_WaitToAvoidFatalErrors = new LazySingletonValue<>( "wait_to_avoid_fatal_errors", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java index 0203a12d2..689333787 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAmazonSellerPartnerAmazonSellerPartner { AMAZON_SELLER_PARTNER("amazon-seller-partner"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java index e1de396b6..cc574625f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAmazonSellerPartnerAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java index 6b610fbd4..c682efec7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceAmazonSqs { /** @@ -26,35 +28,35 @@ public class SourceAmazonSqs { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_key") - private Optional accessKey; + private Optional accessKey; /** * Comma separated list of Mesage Attribute names to return */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attributes_to_return") - private Optional attributesToReturn; + private Optional attributesToReturn; /** * If Enabled, messages will be deleted from the SQS Queue after being read. If Disabled, messages are left in the queue and can be read more than once. WARNING: Enabling this option can result in data loss in cases of failure, use with caution, see documentation for more detail. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("delete_messages") - private Optional deleteMessages; + private Optional deleteMessages; /** * Max amount of messages to get in one batch (10 max) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("max_batch_size") - private Optional maxBatchSize; + private Optional maxBatchSize; /** * Max amount of time in seconds to wait for messages in a single poll (20 max) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("max_wait_time") - private Optional maxWaitTime; + private Optional maxWaitTime; /** * URL of the SQS Queue @@ -73,7 +75,7 @@ public class SourceAmazonSqs { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("secret_key") - private Optional secretKey; + private Optional secretKey; @JsonProperty("sourceType") private AmazonSqs sourceType; @@ -83,19 +85,19 @@ public class SourceAmazonSqs { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("visibility_timeout") - private Optional visibilityTimeout; + private Optional visibilityTimeout; @JsonCreator public SourceAmazonSqs( - @JsonProperty("access_key") Optional accessKey, - @JsonProperty("attributes_to_return") Optional attributesToReturn, - @JsonProperty("delete_messages") Optional deleteMessages, - @JsonProperty("max_batch_size") Optional maxBatchSize, - @JsonProperty("max_wait_time") Optional maxWaitTime, + @JsonProperty("access_key") Optional accessKey, + @JsonProperty("attributes_to_return") Optional attributesToReturn, + @JsonProperty("delete_messages") Optional deleteMessages, + @JsonProperty("max_batch_size") Optional maxBatchSize, + @JsonProperty("max_wait_time") Optional maxWaitTime, @JsonProperty("queue_url") String queueUrl, @JsonProperty("region") SourceAmazonSqsAWSRegion region, - @JsonProperty("secret_key") Optional secretKey, - @JsonProperty("visibility_timeout") Optional visibilityTimeout) { + @JsonProperty("secret_key") Optional secretKey, + @JsonProperty("visibility_timeout") Optional visibilityTimeout) { Utils.checkNotNull(accessKey, "accessKey"); Utils.checkNotNull(attributesToReturn, "attributesToReturn"); Utils.checkNotNull(deleteMessages, "deleteMessages"); @@ -126,46 +128,41 @@ public SourceAmazonSqs( /** * The Access Key ID of the AWS IAM Role to use for pulling messages */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessKey() { - return (Optional) accessKey; + return accessKey; } /** * Comma separated list of Mesage Attribute names to return */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional attributesToReturn() { - return (Optional) attributesToReturn; + return attributesToReturn; } /** * If Enabled, messages will be deleted from the SQS Queue after being read. If Disabled, messages are left in the queue and can be read more than once. WARNING: Enabling this option can result in data loss in cases of failure, use with caution, see documentation for more detail. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional deleteMessages() { - return (Optional) deleteMessages; + return deleteMessages; } /** * Max amount of messages to get in one batch (10 max) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional maxBatchSize() { - return (Optional) maxBatchSize; + return maxBatchSize; } /** * Max amount of time in seconds to wait for messages in a single poll (20 max) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional maxWaitTime() { - return (Optional) maxWaitTime; + return maxWaitTime; } /** @@ -187,10 +184,9 @@ public SourceAmazonSqsAWSRegion region() { /** * The Secret Key of the AWS IAM Role to use for pulling messages */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional secretKey() { - return (Optional) secretKey; + return secretKey; } @JsonIgnore @@ -201,10 +197,9 @@ public AmazonSqs sourceType() { /** * Modify the Visibility Timeout of the individual message from the Queue's default (seconds). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional visibilityTimeout() { - return (Optional) visibilityTimeout; + return visibilityTimeout; } public final static Builder builder() { @@ -223,7 +218,7 @@ public SourceAmazonSqs withAccessKey(String accessKey) { /** * The Access Key ID of the AWS IAM Role to use for pulling messages */ - public SourceAmazonSqs withAccessKey(Optional accessKey) { + public SourceAmazonSqs withAccessKey(Optional accessKey) { Utils.checkNotNull(accessKey, "accessKey"); this.accessKey = accessKey; return this; @@ -241,7 +236,7 @@ public SourceAmazonSqs withAttributesToReturn(String attributesToReturn) { /** * Comma separated list of Mesage Attribute names to return */ - public SourceAmazonSqs withAttributesToReturn(Optional attributesToReturn) { + public SourceAmazonSqs withAttributesToReturn(Optional attributesToReturn) { Utils.checkNotNull(attributesToReturn, "attributesToReturn"); this.attributesToReturn = attributesToReturn; return this; @@ -259,7 +254,7 @@ public SourceAmazonSqs withDeleteMessages(boolean deleteMessages) { /** * If Enabled, messages will be deleted from the SQS Queue after being read. If Disabled, messages are left in the queue and can be read more than once. WARNING: Enabling this option can result in data loss in cases of failure, use with caution, see documentation for more detail. */ - public SourceAmazonSqs withDeleteMessages(Optional deleteMessages) { + public SourceAmazonSqs withDeleteMessages(Optional deleteMessages) { Utils.checkNotNull(deleteMessages, "deleteMessages"); this.deleteMessages = deleteMessages; return this; @@ -277,7 +272,7 @@ public SourceAmazonSqs withMaxBatchSize(long maxBatchSize) { /** * Max amount of messages to get in one batch (10 max) */ - public SourceAmazonSqs withMaxBatchSize(Optional maxBatchSize) { + public SourceAmazonSqs withMaxBatchSize(Optional maxBatchSize) { Utils.checkNotNull(maxBatchSize, "maxBatchSize"); this.maxBatchSize = maxBatchSize; return this; @@ -295,7 +290,7 @@ public SourceAmazonSqs withMaxWaitTime(long maxWaitTime) { /** * Max amount of time in seconds to wait for messages in a single poll (20 max) */ - public SourceAmazonSqs withMaxWaitTime(Optional maxWaitTime) { + public SourceAmazonSqs withMaxWaitTime(Optional maxWaitTime) { Utils.checkNotNull(maxWaitTime, "maxWaitTime"); this.maxWaitTime = maxWaitTime; return this; @@ -331,7 +326,7 @@ public SourceAmazonSqs withSecretKey(String secretKey) { /** * The Secret Key of the AWS IAM Role to use for pulling messages */ - public SourceAmazonSqs withSecretKey(Optional secretKey) { + public SourceAmazonSqs withSecretKey(Optional secretKey) { Utils.checkNotNull(secretKey, "secretKey"); this.secretKey = secretKey; return this; @@ -349,7 +344,7 @@ public SourceAmazonSqs withVisibilityTimeout(long visibilityTimeout) { /** * Modify the Visibility Timeout of the individual message from the Queue's default (seconds). */ - public SourceAmazonSqs withVisibilityTimeout(Optional visibilityTimeout) { + public SourceAmazonSqs withVisibilityTimeout(Optional visibilityTimeout) { Utils.checkNotNull(visibilityTimeout, "visibilityTimeout"); this.visibilityTimeout = visibilityTimeout; return this; @@ -365,21 +360,21 @@ public boolean equals(java.lang.Object o) { } SourceAmazonSqs other = (SourceAmazonSqs) o; return - java.util.Objects.deepEquals(this.accessKey, other.accessKey) && - java.util.Objects.deepEquals(this.attributesToReturn, other.attributesToReturn) && - java.util.Objects.deepEquals(this.deleteMessages, other.deleteMessages) && - java.util.Objects.deepEquals(this.maxBatchSize, other.maxBatchSize) && - java.util.Objects.deepEquals(this.maxWaitTime, other.maxWaitTime) && - java.util.Objects.deepEquals(this.queueUrl, other.queueUrl) && - java.util.Objects.deepEquals(this.region, other.region) && - java.util.Objects.deepEquals(this.secretKey, other.secretKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.visibilityTimeout, other.visibilityTimeout); + Objects.deepEquals(this.accessKey, other.accessKey) && + Objects.deepEquals(this.attributesToReturn, other.attributesToReturn) && + Objects.deepEquals(this.deleteMessages, other.deleteMessages) && + Objects.deepEquals(this.maxBatchSize, other.maxBatchSize) && + Objects.deepEquals(this.maxWaitTime, other.maxWaitTime) && + Objects.deepEquals(this.queueUrl, other.queueUrl) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.secretKey, other.secretKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.visibilityTimeout, other.visibilityTimeout); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKey, attributesToReturn, deleteMessages, @@ -409,23 +404,23 @@ public String toString() { public final static class Builder { - private Optional accessKey = Optional.empty(); + private Optional accessKey = Optional.empty(); - private Optional attributesToReturn = Optional.empty(); + private Optional attributesToReturn = Optional.empty(); - private Optional deleteMessages; + private Optional deleteMessages; - private Optional maxBatchSize = Optional.empty(); + private Optional maxBatchSize = Optional.empty(); - private Optional maxWaitTime = Optional.empty(); + private Optional maxWaitTime = Optional.empty(); private String queueUrl; private SourceAmazonSqsAWSRegion region; - private Optional secretKey = Optional.empty(); + private Optional secretKey = Optional.empty(); - private Optional visibilityTimeout = Optional.empty(); + private Optional visibilityTimeout = Optional.empty(); private Builder() { // force use of static builder() method @@ -443,7 +438,7 @@ public Builder accessKey(String accessKey) { /** * The Access Key ID of the AWS IAM Role to use for pulling messages */ - public Builder accessKey(Optional accessKey) { + public Builder accessKey(Optional accessKey) { Utils.checkNotNull(accessKey, "accessKey"); this.accessKey = accessKey; return this; @@ -461,7 +456,7 @@ public Builder attributesToReturn(String attributesToReturn) { /** * Comma separated list of Mesage Attribute names to return */ - public Builder attributesToReturn(Optional attributesToReturn) { + public Builder attributesToReturn(Optional attributesToReturn) { Utils.checkNotNull(attributesToReturn, "attributesToReturn"); this.attributesToReturn = attributesToReturn; return this; @@ -479,7 +474,7 @@ public Builder deleteMessages(boolean deleteMessages) { /** * If Enabled, messages will be deleted from the SQS Queue after being read. If Disabled, messages are left in the queue and can be read more than once. WARNING: Enabling this option can result in data loss in cases of failure, use with caution, see documentation for more detail. */ - public Builder deleteMessages(Optional deleteMessages) { + public Builder deleteMessages(Optional deleteMessages) { Utils.checkNotNull(deleteMessages, "deleteMessages"); this.deleteMessages = deleteMessages; return this; @@ -497,7 +492,7 @@ public Builder maxBatchSize(long maxBatchSize) { /** * Max amount of messages to get in one batch (10 max) */ - public Builder maxBatchSize(Optional maxBatchSize) { + public Builder maxBatchSize(Optional maxBatchSize) { Utils.checkNotNull(maxBatchSize, "maxBatchSize"); this.maxBatchSize = maxBatchSize; return this; @@ -515,7 +510,7 @@ public Builder maxWaitTime(long maxWaitTime) { /** * Max amount of time in seconds to wait for messages in a single poll (20 max) */ - public Builder maxWaitTime(Optional maxWaitTime) { + public Builder maxWaitTime(Optional maxWaitTime) { Utils.checkNotNull(maxWaitTime, "maxWaitTime"); this.maxWaitTime = maxWaitTime; return this; @@ -551,7 +546,7 @@ public Builder secretKey(String secretKey) { /** * The Secret Key of the AWS IAM Role to use for pulling messages */ - public Builder secretKey(Optional secretKey) { + public Builder secretKey(Optional secretKey) { Utils.checkNotNull(secretKey, "secretKey"); this.secretKey = secretKey; return this; @@ -569,7 +564,7 @@ public Builder visibilityTimeout(long visibilityTimeout) { /** * Modify the Visibility Timeout of the individual message from the Queue's default (seconds). */ - public Builder visibilityTimeout(Optional visibilityTimeout) { + public Builder visibilityTimeout(Optional visibilityTimeout) { Utils.checkNotNull(visibilityTimeout, "visibilityTimeout"); this.visibilityTimeout = visibilityTimeout; return this; @@ -578,8 +573,7 @@ public Builder visibilityTimeout(Optional visibilityTimeout) { public SourceAmazonSqs build() { if (deleteMessages == null) { deleteMessages = _SINGLETON_VALUE_DeleteMessages.value(); - } - return new SourceAmazonSqs( + } return new SourceAmazonSqs( accessKey, attributesToReturn, deleteMessages, @@ -591,11 +585,11 @@ public SourceAmazonSqs build() { visibilityTimeout); } - private static final LazySingletonValue> _SINGLETON_VALUE_DeleteMessages = + private static final LazySingletonValue> _SINGLETON_VALUE_DeleteMessages = new LazySingletonValue<>( "delete_messages", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegion.java b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegion.java index 4bdf26749..0c5977673 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceAmazonSqsAWSRegion - AWS Region of the SQS Queue diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java b/src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java index 44cb94be7..2b7dbc26d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java @@ -1,29 +1,37 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceAmplitude { + /** + * According to <a href="https://amplitude.com/docs/apis/analytics/dashboard-rest#query-parameters">Considerations</a> the grouping by `Country` is optional, if you're facing issues fetching the stream, or checking the connection please set this to `False` instead. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("active_users_group_by_country") + private Optional activeUsersGroupByCountry; + /** * Amplitude API Key. See the <a href="https://docs.airbyte.com/integrations/sources/amplitude#setup-guide">setup guide</a> for more information on how to obtain this key. */ @@ -42,7 +50,7 @@ public class SourceAmplitude { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("request_time_range") - private Optional requestTimeRange; + private Optional requestTimeRange; /** * Amplitude Secret Key. See the <a href="https://docs.airbyte.com/integrations/sources/amplitude#setup-guide">setup guide</a> for more information on how to obtain this key. @@ -61,16 +69,19 @@ public class SourceAmplitude { @JsonCreator public SourceAmplitude( + @JsonProperty("active_users_group_by_country") Optional activeUsersGroupByCountry, @JsonProperty("api_key") String apiKey, @JsonProperty("data_region") Optional dataRegion, - @JsonProperty("request_time_range") Optional requestTimeRange, + @JsonProperty("request_time_range") Optional requestTimeRange, @JsonProperty("secret_key") String secretKey, @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(activeUsersGroupByCountry, "activeUsersGroupByCountry"); Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(dataRegion, "dataRegion"); Utils.checkNotNull(requestTimeRange, "requestTimeRange"); Utils.checkNotNull(secretKey, "secretKey"); Utils.checkNotNull(startDate, "startDate"); + this.activeUsersGroupByCountry = activeUsersGroupByCountry; this.apiKey = apiKey; this.dataRegion = dataRegion; this.requestTimeRange = requestTimeRange; @@ -83,7 +94,15 @@ public SourceAmplitude( String apiKey, String secretKey, OffsetDateTime startDate) { - this(apiKey, Optional.empty(), Optional.empty(), secretKey, startDate); + this(Optional.empty(), apiKey, Optional.empty(), Optional.empty(), secretKey, startDate); + } + + /** + * According to <a href="https://amplitude.com/docs/apis/analytics/dashboard-rest#query-parameters">Considerations</a> the grouping by `Country` is optional, if you're facing issues fetching the stream, or checking the connection please set this to `False` instead. + */ + @JsonIgnore + public Optional activeUsersGroupByCountry() { + return activeUsersGroupByCountry; } /** @@ -106,10 +125,9 @@ public Optional dataRegion() { /** * According to <a href="https://www.docs.developers.amplitude.com/analytics/apis/export-api/#considerations">Considerations</a> too big time range in request can cause a timeout error. In this case, set shorter time interval in hours. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional requestTimeRange() { - return (Optional) requestTimeRange; + return requestTimeRange; } /** @@ -137,6 +155,24 @@ public final static Builder builder() { return new Builder(); } + /** + * According to <a href="https://amplitude.com/docs/apis/analytics/dashboard-rest#query-parameters">Considerations</a> the grouping by `Country` is optional, if you're facing issues fetching the stream, or checking the connection please set this to `False` instead. + */ + public SourceAmplitude withActiveUsersGroupByCountry(boolean activeUsersGroupByCountry) { + Utils.checkNotNull(activeUsersGroupByCountry, "activeUsersGroupByCountry"); + this.activeUsersGroupByCountry = Optional.ofNullable(activeUsersGroupByCountry); + return this; + } + + /** + * According to <a href="https://amplitude.com/docs/apis/analytics/dashboard-rest#query-parameters">Considerations</a> the grouping by `Country` is optional, if you're facing issues fetching the stream, or checking the connection please set this to `False` instead. + */ + public SourceAmplitude withActiveUsersGroupByCountry(Optional activeUsersGroupByCountry) { + Utils.checkNotNull(activeUsersGroupByCountry, "activeUsersGroupByCountry"); + this.activeUsersGroupByCountry = activeUsersGroupByCountry; + return this; + } + /** * Amplitude API Key. See the <a href="https://docs.airbyte.com/integrations/sources/amplitude#setup-guide">setup guide</a> for more information on how to obtain this key. */ @@ -176,7 +212,7 @@ public SourceAmplitude withRequestTimeRange(long requestTimeRange) { /** * According to <a href="https://www.docs.developers.amplitude.com/analytics/apis/export-api/#considerations">Considerations</a> too big time range in request can cause a timeout error. In this case, set shorter time interval in hours. */ - public SourceAmplitude withRequestTimeRange(Optional requestTimeRange) { + public SourceAmplitude withRequestTimeRange(Optional requestTimeRange) { Utils.checkNotNull(requestTimeRange, "requestTimeRange"); this.requestTimeRange = requestTimeRange; return this; @@ -210,17 +246,19 @@ public boolean equals(java.lang.Object o) { } SourceAmplitude other = (SourceAmplitude) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.dataRegion, other.dataRegion) && - java.util.Objects.deepEquals(this.requestTimeRange, other.requestTimeRange) && - java.util.Objects.deepEquals(this.secretKey, other.secretKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.activeUsersGroupByCountry, other.activeUsersGroupByCountry) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.dataRegion, other.dataRegion) && + Objects.deepEquals(this.requestTimeRange, other.requestTimeRange) && + Objects.deepEquals(this.secretKey, other.secretKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( + activeUsersGroupByCountry, apiKey, dataRegion, requestTimeRange, @@ -232,6 +270,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString(SourceAmplitude.class, + "activeUsersGroupByCountry", activeUsersGroupByCountry, "apiKey", apiKey, "dataRegion", dataRegion, "requestTimeRange", requestTimeRange, @@ -242,11 +281,13 @@ public String toString() { public final static class Builder { + private Optional activeUsersGroupByCountry; + private String apiKey; private Optional dataRegion; - private Optional requestTimeRange; + private Optional requestTimeRange; private String secretKey; @@ -256,6 +297,24 @@ private Builder() { // force use of static builder() method } + /** + * According to <a href="https://amplitude.com/docs/apis/analytics/dashboard-rest#query-parameters">Considerations</a> the grouping by `Country` is optional, if you're facing issues fetching the stream, or checking the connection please set this to `False` instead. + */ + public Builder activeUsersGroupByCountry(boolean activeUsersGroupByCountry) { + Utils.checkNotNull(activeUsersGroupByCountry, "activeUsersGroupByCountry"); + this.activeUsersGroupByCountry = Optional.ofNullable(activeUsersGroupByCountry); + return this; + } + + /** + * According to <a href="https://amplitude.com/docs/apis/analytics/dashboard-rest#query-parameters">Considerations</a> the grouping by `Country` is optional, if you're facing issues fetching the stream, or checking the connection please set this to `False` instead. + */ + public Builder activeUsersGroupByCountry(Optional activeUsersGroupByCountry) { + Utils.checkNotNull(activeUsersGroupByCountry, "activeUsersGroupByCountry"); + this.activeUsersGroupByCountry = activeUsersGroupByCountry; + return this; + } + /** * Amplitude API Key. See the <a href="https://docs.airbyte.com/integrations/sources/amplitude#setup-guide">setup guide</a> for more information on how to obtain this key. */ @@ -295,7 +354,7 @@ public Builder requestTimeRange(long requestTimeRange) { /** * According to <a href="https://www.docs.developers.amplitude.com/analytics/apis/export-api/#considerations">Considerations</a> too big time range in request can cause a timeout error. In this case, set shorter time interval in hours. */ - public Builder requestTimeRange(Optional requestTimeRange) { + public Builder requestTimeRange(Optional requestTimeRange) { Utils.checkNotNull(requestTimeRange, "requestTimeRange"); this.requestTimeRange = requestTimeRange; return this; @@ -320,13 +379,16 @@ public Builder startDate(OffsetDateTime startDate) { } public SourceAmplitude build() { + if (activeUsersGroupByCountry == null) { + activeUsersGroupByCountry = _SINGLETON_VALUE_ActiveUsersGroupByCountry.value(); + } if (dataRegion == null) { dataRegion = _SINGLETON_VALUE_DataRegion.value(); } if (requestTimeRange == null) { requestTimeRange = _SINGLETON_VALUE_RequestTimeRange.value(); - } - return new SourceAmplitude( + } return new SourceAmplitude( + activeUsersGroupByCountry, apiKey, dataRegion, requestTimeRange, @@ -334,17 +396,23 @@ public SourceAmplitude build() { startDate); } + private static final LazySingletonValue> _SINGLETON_VALUE_ActiveUsersGroupByCountry = + new LazySingletonValue<>( + "active_users_group_by_country", + "true", + new TypeReference>() {}); + private static final LazySingletonValue> _SINGLETON_VALUE_DataRegion = new LazySingletonValue<>( "data_region", "\"Standard Server\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_RequestTimeRange = + private static final LazySingletonValue> _SINGLETON_VALUE_RequestTimeRange = new LazySingletonValue<>( "request_time_range", "24", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java b/src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java index 7c0c9e9e0..a49190aab 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceApifyDataset { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceApifyDataset other = (SourceApifyDataset) o; return - java.util.Objects.deepEquals(this.datasetId, other.datasetId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.token, other.token); + Objects.deepEquals(this.datasetId, other.datasetId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.token, other.token); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( datasetId, sourceType, token); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAppcues.java b/src/main/java/com/airbyte/api/models/shared/SourceAppcues.java index 4c316a820..9e4b6295a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAppcues.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAppcues.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceAppcues { /** @@ -32,7 +30,7 @@ public class SourceAppcues { @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; @JsonProperty("sourceType") private Appcues sourceType; @@ -46,7 +44,7 @@ public class SourceAppcues { @JsonCreator public SourceAppcues( @JsonProperty("account_id") String accountId, - @JsonProperty("password") Optional password, + @JsonProperty("password") Optional password, @JsonProperty("start_date") OffsetDateTime startDate, @JsonProperty("username") String username) { Utils.checkNotNull(accountId, "accountId"); @@ -75,10 +73,9 @@ public String accountId() { return accountId; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } @JsonIgnore @@ -115,7 +112,7 @@ public SourceAppcues withPassword(String password) { return this; } - public SourceAppcues withPassword(Optional password) { + public SourceAppcues withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -143,16 +140,16 @@ public boolean equals(java.lang.Object o) { } SourceAppcues other = (SourceAppcues) o; return - java.util.Objects.deepEquals(this.accountId, other.accountId) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountId, password, sourceType, @@ -174,7 +171,7 @@ public final static class Builder { private String accountId; - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); private OffsetDateTime startDate; @@ -199,7 +196,7 @@ public Builder password(String password) { return this; } - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAppfigures.java b/src/main/java/com/airbyte/api/models/shared/SourceAppfigures.java index c0a0fa344..8d875829a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAppfigures.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAppfigures.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceAppfigures { @JsonProperty("api_key") @@ -39,7 +38,7 @@ public class SourceAppfigures { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("search_store") - private Optional searchStore; + private Optional searchStore; @JsonProperty("sourceType") private Appfigures sourceType; @@ -51,7 +50,7 @@ public class SourceAppfigures { public SourceAppfigures( @JsonProperty("api_key") String apiKey, @JsonProperty("group_by") Optional groupBy, - @JsonProperty("search_store") Optional searchStore, + @JsonProperty("search_store") Optional searchStore, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(groupBy, "groupBy"); @@ -87,10 +86,9 @@ public Optional groupBy() { /** * The store which needs to be searched in streams */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional searchStore() { - return (Optional) searchStore; + return searchStore; } @JsonIgnore @@ -143,7 +141,7 @@ public SourceAppfigures withSearchStore(String searchStore) { /** * The store which needs to be searched in streams */ - public SourceAppfigures withSearchStore(Optional searchStore) { + public SourceAppfigures withSearchStore(Optional searchStore) { Utils.checkNotNull(searchStore, "searchStore"); this.searchStore = searchStore; return this; @@ -165,16 +163,16 @@ public boolean equals(java.lang.Object o) { } SourceAppfigures other = (SourceAppfigures) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.groupBy, other.groupBy) && - java.util.Objects.deepEquals(this.searchStore, other.searchStore) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.groupBy, other.groupBy) && + Objects.deepEquals(this.searchStore, other.searchStore) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, groupBy, searchStore, @@ -198,7 +196,7 @@ public final static class Builder { private Optional groupBy; - private Optional searchStore; + private Optional searchStore; private OffsetDateTime startDate; @@ -242,7 +240,7 @@ public Builder searchStore(String searchStore) { /** * The store which needs to be searched in streams */ - public Builder searchStore(Optional searchStore) { + public Builder searchStore(Optional searchStore) { Utils.checkNotNull(searchStore, "searchStore"); this.searchStore = searchStore; return this; @@ -260,8 +258,7 @@ public SourceAppfigures build() { } if (searchStore == null) { searchStore = _SINGLETON_VALUE_SearchStore.value(); - } - return new SourceAppfigures( + } return new SourceAppfigures( apiKey, groupBy, searchStore, @@ -274,11 +271,11 @@ public SourceAppfigures build() { "\"product\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SearchStore = + private static final LazySingletonValue> _SINGLETON_VALUE_SearchStore = new LazySingletonValue<>( "search_store", "\"apple\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAppfollow.java b/src/main/java/com/airbyte/api/models/shared/SourceAppfollow.java index 508ba56aa..aafbd484e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAppfollow.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAppfollow.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceAppfollow { /** @@ -26,14 +26,14 @@ public class SourceAppfollow { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_secret") - private Optional apiSecret; + private Optional apiSecret; @JsonProperty("sourceType") private Appfollow sourceType; @JsonCreator public SourceAppfollow( - @JsonProperty("api_secret") Optional apiSecret) { + @JsonProperty("api_secret") Optional apiSecret) { Utils.checkNotNull(apiSecret, "apiSecret"); this.apiSecret = apiSecret; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); @@ -46,10 +46,9 @@ public SourceAppfollow() { /** * API Key provided by Appfollow */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiSecret() { - return (Optional) apiSecret; + return apiSecret; } @JsonIgnore @@ -73,7 +72,7 @@ public SourceAppfollow withApiSecret(String apiSecret) { /** * API Key provided by Appfollow */ - public SourceAppfollow withApiSecret(Optional apiSecret) { + public SourceAppfollow withApiSecret(Optional apiSecret) { Utils.checkNotNull(apiSecret, "apiSecret"); this.apiSecret = apiSecret; return this; @@ -89,13 +88,13 @@ public boolean equals(java.lang.Object o) { } SourceAppfollow other = (SourceAppfollow) o; return - java.util.Objects.deepEquals(this.apiSecret, other.apiSecret) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiSecret, other.apiSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiSecret, sourceType); } @@ -109,7 +108,7 @@ public String toString() { public final static class Builder { - private Optional apiSecret = Optional.empty(); + private Optional apiSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -127,7 +126,7 @@ public Builder apiSecret(String apiSecret) { /** * API Key provided by Appfollow */ - public Builder apiSecret(Optional apiSecret) { + public Builder apiSecret(Optional apiSecret) { Utils.checkNotNull(apiSecret, "apiSecret"); this.apiSecret = apiSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAppleSearchAds.java b/src/main/java/com/airbyte/api/models/shared/SourceAppleSearchAds.java new file mode 100644 index 000000000..c35bf81a1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceAppleSearchAds.java @@ -0,0 +1,316 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceAppleSearchAds { + + /** + * A user identifier for the token request. See <a href="https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api">here</a> + */ + @JsonProperty("client_id") + private String clientId; + + /** + * A string that authenticates the user’s setup request. See <a href="https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api">here</a> + */ + @JsonProperty("client_secret") + private String clientSecret; + + /** + * Data is retrieved until that date (included) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_date") + private Optional endDate; + + /** + * The identifier of the organization that owns the campaign. Your Org Id is the same as your account in the Apple Search Ads UI. + */ + @JsonProperty("org_id") + private long orgId; + + @JsonProperty("sourceType") + private AppleSearchAds sourceType; + + /** + * Start getting data from that date. + */ + @JsonProperty("start_date") + private String startDate; + + @JsonCreator + public SourceAppleSearchAds( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("org_id") long orgId, + @JsonProperty("start_date") String startDate) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(endDate, "endDate"); + Utils.checkNotNull(orgId, "orgId"); + Utils.checkNotNull(startDate, "startDate"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endDate = endDate; + this.orgId = orgId; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceAppleSearchAds( + String clientId, + String clientSecret, + long orgId, + String startDate) { + this(clientId, clientSecret, Optional.empty(), orgId, startDate); + } + + /** + * A user identifier for the token request. See <a href="https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api">here</a> + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * A string that authenticates the user’s setup request. See <a href="https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api">here</a> + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * Data is retrieved until that date (included) + */ + @JsonIgnore + public Optional endDate() { + return endDate; + } + + /** + * The identifier of the organization that owns the campaign. Your Org Id is the same as your account in the Apple Search Ads UI. + */ + @JsonIgnore + public long orgId() { + return orgId; + } + + @JsonIgnore + public AppleSearchAds sourceType() { + return sourceType; + } + + /** + * Start getting data from that date. + */ + @JsonIgnore + public String startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * A user identifier for the token request. See <a href="https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api">here</a> + */ + public SourceAppleSearchAds withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * A string that authenticates the user’s setup request. See <a href="https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api">here</a> + */ + public SourceAppleSearchAds withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Data is retrieved until that date (included) + */ + public SourceAppleSearchAds withEndDate(String endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * Data is retrieved until that date (included) + */ + public SourceAppleSearchAds withEndDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * The identifier of the organization that owns the campaign. Your Org Id is the same as your account in the Apple Search Ads UI. + */ + public SourceAppleSearchAds withOrgId(long orgId) { + Utils.checkNotNull(orgId, "orgId"); + this.orgId = orgId; + return this; + } + + /** + * Start getting data from that date. + */ + public SourceAppleSearchAds withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceAppleSearchAds other = (SourceAppleSearchAds) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.orgId, other.orgId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + endDate, + orgId, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceAppleSearchAds.class, + "clientId", clientId, + "clientSecret", clientSecret, + "endDate", endDate, + "orgId", orgId, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Optional endDate = Optional.empty(); + + private Long orgId; + + private String startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * A user identifier for the token request. See <a href="https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api">here</a> + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * A string that authenticates the user’s setup request. See <a href="https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api">here</a> + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Data is retrieved until that date (included) + */ + public Builder endDate(String endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * Data is retrieved until that date (included) + */ + public Builder endDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * The identifier of the organization that owns the campaign. Your Org Id is the same as your account in the Apple Search Ads UI. + */ + public Builder orgId(long orgId) { + Utils.checkNotNull(orgId, "orgId"); + this.orgId = orgId; + return this; + } + + /** + * Start getting data from that date. + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceAppleSearchAds build() { + return new SourceAppleSearchAds( + clientId, + clientSecret, + endDate, + orgId, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"apple-search-ads\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceApptivo.java b/src/main/java/com/airbyte/api/models/shared/SourceApptivo.java new file mode 100644 index 000000000..fb29186ba --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceApptivo.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceApptivo { + + @JsonProperty("access_key") + private String accessKey; + + /** + * API key to use. Find it in your Apptivo account under Business Settings -> API Access. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Apptivo sourceType; + + @JsonCreator + public SourceApptivo( + @JsonProperty("access_key") String accessKey, + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(accessKey, "accessKey"); + Utils.checkNotNull(apiKey, "apiKey"); + this.accessKey = accessKey; + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String accessKey() { + return accessKey; + } + + /** + * API key to use. Find it in your Apptivo account under Business Settings -> API Access. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Apptivo sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceApptivo withAccessKey(String accessKey) { + Utils.checkNotNull(accessKey, "accessKey"); + this.accessKey = accessKey; + return this; + } + + /** + * API key to use. Find it in your Apptivo account under Business Settings -> API Access. + */ + public SourceApptivo withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceApptivo other = (SourceApptivo) o; + return + Objects.deepEquals(this.accessKey, other.accessKey) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + accessKey, + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceApptivo.class, + "accessKey", accessKey, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String accessKey; + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder accessKey(String accessKey) { + Utils.checkNotNull(accessKey, "accessKey"); + this.accessKey = accessKey; + return this; + } + + /** + * API key to use. Find it in your Apptivo account under Business Settings -> API Access. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceApptivo build() { + return new SourceApptivo( + accessKey, + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"apptivo\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAsana.java b/src/main/java/com/airbyte/api/models/shared/SourceAsana.java index ed7d3228e..a5102517d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAsana.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAsana.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceAsana { /** @@ -33,7 +36,7 @@ public class SourceAsana { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("organization_export_ids") - private Optional> organizationExportIds; + private Optional> organizationExportIds; @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") @@ -42,7 +45,7 @@ public class SourceAsana { @JsonCreator public SourceAsana( @JsonProperty("credentials") Optional credentials, - @JsonProperty("organization_export_ids") Optional> organizationExportIds) { + @JsonProperty("organization_export_ids") Optional> organizationExportIds) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(organizationExportIds, "organizationExportIds"); this.credentials = credentials; @@ -68,8 +71,8 @@ public Optional credentials() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> organizationExportIds() { - return (Optional>) organizationExportIds; + public Optional> organizationExportIds() { + return (Optional>) organizationExportIds; } @SuppressWarnings("unchecked") @@ -103,7 +106,7 @@ public SourceAsana withCredentials(Optional c /** * Globally unique identifiers for the organization exports */ - public SourceAsana withOrganizationExportIds(java.util.List organizationExportIds) { + public SourceAsana withOrganizationExportIds(List organizationExportIds) { Utils.checkNotNull(organizationExportIds, "organizationExportIds"); this.organizationExportIds = Optional.ofNullable(organizationExportIds); return this; @@ -112,7 +115,7 @@ public SourceAsana withOrganizationExportIds(java.util.List or /** * Globally unique identifiers for the organization exports */ - public SourceAsana withOrganizationExportIds(Optional> organizationExportIds) { + public SourceAsana withOrganizationExportIds(Optional> organizationExportIds) { Utils.checkNotNull(organizationExportIds, "organizationExportIds"); this.organizationExportIds = organizationExportIds; return this; @@ -128,14 +131,14 @@ public boolean equals(java.lang.Object o) { } SourceAsana other = (SourceAsana) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.organizationExportIds, other.organizationExportIds) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.organizationExportIds, other.organizationExportIds) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, organizationExportIds, sourceType); @@ -153,7 +156,7 @@ public final static class Builder { private Optional credentials = Optional.empty(); - private Optional> organizationExportIds = Optional.empty(); + private Optional> organizationExportIds = Optional.empty(); private Builder() { // force use of static builder() method @@ -180,7 +183,7 @@ public Builder credentials(Optional credentia /** * Globally unique identifiers for the organization exports */ - public Builder organizationExportIds(java.util.List organizationExportIds) { + public Builder organizationExportIds(List organizationExportIds) { Utils.checkNotNull(organizationExportIds, "organizationExportIds"); this.organizationExportIds = Optional.ofNullable(organizationExportIds); return this; @@ -189,7 +192,7 @@ public Builder organizationExportIds(java.util.List organizati /** * Globally unique identifiers for the organization exports */ - public Builder organizationExportIds(Optional> organizationExportIds) { + public Builder organizationExportIds(Optional> organizationExportIds) { Utils.checkNotNull(organizationExportIds, "organizationExportIds"); this.organizationExportIds = organizationExportIds; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAsanaAsana.java b/src/main/java/com/airbyte/api/models/shared/SourceAsanaAsana.java index 716a833e9..3277c330d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAsanaAsana.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAsanaAsana.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAsanaAsana { ASANA("asana"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsTitle.java b/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsTitle.java index 71c42672d..006360bdd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceAsanaCredentialsTitle - OAuth Credentials diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAsanaSchemasCredentialsTitle.java b/src/main/java/com/airbyte/api/models/shared/SourceAsanaSchemasCredentialsTitle.java index 261cfa388..5858cf341 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAsanaSchemasCredentialsTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAsanaSchemasCredentialsTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceAsanaSchemasCredentialsTitle - PAT Credentials diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAshby.java b/src/main/java/com/airbyte/api/models/shared/SourceAshby.java new file mode 100644 index 000000000..a0987fbb6 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceAshby.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceAshby { + + /** + * The Ashby API Key, see <a href=\"https://developers.ashbyhq.com/reference/authentication\">doc</a> here. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Ashby sourceType; + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + private String startDate; + + @JsonCreator + public SourceAshby( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") String startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * The Ashby API Key, see <a href=\"https://developers.ashbyhq.com/reference/authentication\">doc</a> here. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Ashby sourceType() { + return sourceType; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonIgnore + public String startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The Ashby API Key, see <a href=\"https://developers.ashbyhq.com/reference/authentication\">doc</a> here. + */ + public SourceAshby withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + public SourceAshby withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceAshby other = (SourceAshby) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceAshby.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private String startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * The Ashby API Key, see <a href=\"https://developers.ashbyhq.com/reference/authentication\">doc</a> here. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceAshby build() { + return new SourceAshby( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"ashby\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAuth0.java b/src/main/java/com/airbyte/api/models/shared/SourceAuth0.java index 592ca91f2..5e270c716 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAuth0.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAuth0.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceAuth0 { /** @@ -38,13 +38,13 @@ public class SourceAuth0 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceAuth0( @JsonProperty("base_url") String baseUrl, @JsonProperty("credentials") SourceAuth0AuthenticationMethod credentials, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(baseUrl, "baseUrl"); Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(startDate, "startDate"); @@ -81,10 +81,9 @@ public Auth0 sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -118,7 +117,7 @@ public SourceAuth0 withStartDate(String startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. */ - public SourceAuth0 withStartDate(Optional startDate) { + public SourceAuth0 withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -134,15 +133,15 @@ public boolean equals(java.lang.Object o) { } SourceAuth0 other = (SourceAuth0) o; return - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( baseUrl, credentials, sourceType, @@ -164,7 +163,7 @@ public final static class Builder { private SourceAuth0AuthenticationMethod credentials; - private Optional startDate; + private Optional startDate; private Builder() { // force use of static builder() method @@ -197,7 +196,7 @@ public Builder startDate(String startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -206,8 +205,7 @@ public Builder startDate(Optional startDate) { public SourceAuth0 build() { if (startDate == null) { startDate = _SINGLETON_VALUE_StartDate.value(); - } - return new SourceAuth0( + } return new SourceAuth0( baseUrl, credentials, startDate); @@ -219,11 +217,11 @@ public SourceAuth0 build() { "\"auth0\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2023-08-05T00:43:59.244Z\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAuth0AuthenticationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceAuth0AuthenticationMethod.java index c5b2e4e2d..6b14b35de 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAuth0AuthenticationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAuth0AuthenticationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceAuth0AuthenticationMethod._Deserializer.class) public class SourceAuth0AuthenticationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceAuth0AuthenticationMethod(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceAuth0AuthenticationMethod of(OAuth2AccessToken value) { /** * Returns an instance of one of these types: *
      - *
    • {@code OAuth2ConfidentialApplication}
    • - *
    • {@code OAuth2AccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.OAuth2ConfidentialApplication}
    • + *
    • {@code com.airbyte.api.models.shared.OAuth2AccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceAuth0AuthenticationMethod other = (SourceAuth0AuthenticationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceAuth0AuthenticationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceAuth0AuthenticationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasAuthenticationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasAuthenticationMethod.java index ee45ed2e0..0977eb4c1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasAuthenticationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasAuthenticationMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAuth0SchemasAuthenticationMethod { OAUTH2_CONFIDENTIAL_APPLICATION("oauth2_confidential_application"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.java index bb5a8c699..390d06ffe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAuth0SchemasCredentialsAuthenticationMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAuth0SchemasCredentialsAuthenticationMethod { OAUTH2_ACCESS_TOKEN("oauth2_access_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java b/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java index d24e99745..4c508867b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAwsCloudtrail.java @@ -1,25 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.Objects; import java.util.Optional; + public class SourceAwsCloudtrail { /** @@ -33,7 +34,7 @@ public class SourceAwsCloudtrail { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("aws_region_name") - private Optional awsRegionName; + private Optional awsRegionName; /** * AWS CloudTrail Access Key ID. See the <a href="https://docs.airbyte.com/integrations/sources/aws-cloudtrail">docs</a> for more information on how to obtain this key. @@ -53,15 +54,15 @@ public class SourceAwsCloudtrail { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceAwsCloudtrail( @JsonProperty("aws_key_id") String awsKeyId, - @JsonProperty("aws_region_name") Optional awsRegionName, + @JsonProperty("aws_region_name") Optional awsRegionName, @JsonProperty("aws_secret_key") String awsSecretKey, @JsonProperty("lookup_attributes_filter") Optional lookupAttributesFilter, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(awsKeyId, "awsKeyId"); Utils.checkNotNull(awsRegionName, "awsRegionName"); Utils.checkNotNull(awsSecretKey, "awsSecretKey"); @@ -92,10 +93,9 @@ public String awsKeyId() { /** * The default AWS Region to use, for example, us-west-1 or us-west-2. When specifying a Region inline during client initialization, this property is named region_name. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional awsRegionName() { - return (Optional) awsRegionName; + return awsRegionName; } /** @@ -120,10 +120,9 @@ public AwsCloudtrail sourceType() { /** * The date you would like to replicate data. Data in AWS CloudTrail is available for last 90 days only. Format: YYYY-MM-DD. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -151,7 +150,7 @@ public SourceAwsCloudtrail withAwsRegionName(String awsRegionName) { /** * The default AWS Region to use, for example, us-west-1 or us-west-2. When specifying a Region inline during client initialization, this property is named region_name. */ - public SourceAwsCloudtrail withAwsRegionName(Optional awsRegionName) { + public SourceAwsCloudtrail withAwsRegionName(Optional awsRegionName) { Utils.checkNotNull(awsRegionName, "awsRegionName"); this.awsRegionName = awsRegionName; return this; @@ -190,7 +189,7 @@ public SourceAwsCloudtrail withStartDate(LocalDate startDate) { /** * The date you would like to replicate data. Data in AWS CloudTrail is available for last 90 days only. Format: YYYY-MM-DD. */ - public SourceAwsCloudtrail withStartDate(Optional startDate) { + public SourceAwsCloudtrail withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -206,17 +205,17 @@ public boolean equals(java.lang.Object o) { } SourceAwsCloudtrail other = (SourceAwsCloudtrail) o; return - java.util.Objects.deepEquals(this.awsKeyId, other.awsKeyId) && - java.util.Objects.deepEquals(this.awsRegionName, other.awsRegionName) && - java.util.Objects.deepEquals(this.awsSecretKey, other.awsSecretKey) && - java.util.Objects.deepEquals(this.lookupAttributesFilter, other.lookupAttributesFilter) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.awsKeyId, other.awsKeyId) && + Objects.deepEquals(this.awsRegionName, other.awsRegionName) && + Objects.deepEquals(this.awsSecretKey, other.awsSecretKey) && + Objects.deepEquals(this.lookupAttributesFilter, other.lookupAttributesFilter) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( awsKeyId, awsRegionName, awsSecretKey, @@ -240,13 +239,13 @@ public final static class Builder { private String awsKeyId; - private Optional awsRegionName; + private Optional awsRegionName; private String awsSecretKey; private Optional lookupAttributesFilter = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -273,7 +272,7 @@ public Builder awsRegionName(String awsRegionName) { /** * The default AWS Region to use, for example, us-west-1 or us-west-2. When specifying a Region inline during client initialization, this property is named region_name. */ - public Builder awsRegionName(Optional awsRegionName) { + public Builder awsRegionName(Optional awsRegionName) { Utils.checkNotNull(awsRegionName, "awsRegionName"); this.awsRegionName = awsRegionName; return this; @@ -312,7 +311,7 @@ public Builder startDate(LocalDate startDate) { /** * The date you would like to replicate data. Data in AWS CloudTrail is available for last 90 days only. Format: YYYY-MM-DD. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -321,8 +320,7 @@ public Builder startDate(Optional startDate) { public SourceAwsCloudtrail build() { if (awsRegionName == null) { awsRegionName = _SINGLETON_VALUE_AwsRegionName.value(); - } - return new SourceAwsCloudtrail( + } return new SourceAwsCloudtrail( awsKeyId, awsRegionName, awsSecretKey, @@ -330,11 +328,11 @@ public SourceAwsCloudtrail build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_AwsRegionName = + private static final LazySingletonValue> _SINGLETON_VALUE_AwsRegionName = new LazySingletonValue<>( "aws_region_name", "\"us-east-1\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java index 11c78d920..f3bb27151 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorage.java @@ -1,26 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * SourceAzureBlobStorage - NOTE: When this Spec is changed, legacy_config_transformer.py must also be modified to uptake the changes * because it is responsible for converting legacy Azure Blob Storage v0 configs into v1 configs using the File-Based CDK. @@ -45,7 +44,7 @@ public class SourceAzureBlobStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("azure_blob_storage_endpoint") - private Optional azureBlobStorageEndpoint; + private Optional azureBlobStorageEndpoint; /** * Credentials for connecting to the Azure Blob Storage @@ -61,22 +60,22 @@ public class SourceAzureBlobStorage { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonProperty("streams") - private java.util.List streams; + private List streams; @JsonCreator public SourceAzureBlobStorage( @JsonProperty("azure_blob_storage_account_name") String azureBlobStorageAccountName, @JsonProperty("azure_blob_storage_container_name") String azureBlobStorageContainerName, - @JsonProperty("azure_blob_storage_endpoint") Optional azureBlobStorageEndpoint, + @JsonProperty("azure_blob_storage_endpoint") Optional azureBlobStorageEndpoint, @JsonProperty("credentials") SourceAzureBlobStorageAuthentication credentials, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("streams") java.util.List streams) { + @JsonProperty("start_date") Optional startDate, + @JsonProperty("streams") List streams) { Utils.checkNotNull(azureBlobStorageAccountName, "azureBlobStorageAccountName"); Utils.checkNotNull(azureBlobStorageContainerName, "azureBlobStorageContainerName"); Utils.checkNotNull(azureBlobStorageEndpoint, "azureBlobStorageEndpoint"); @@ -96,7 +95,7 @@ public SourceAzureBlobStorage( String azureBlobStorageAccountName, String azureBlobStorageContainerName, SourceAzureBlobStorageAuthentication credentials, - java.util.List streams) { + List streams) { this(azureBlobStorageAccountName, azureBlobStorageContainerName, Optional.empty(), credentials, Optional.empty(), streams); } @@ -119,10 +118,9 @@ public String azureBlobStorageContainerName() { /** * This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional azureBlobStorageEndpoint() { - return (Optional) azureBlobStorageEndpoint; + return azureBlobStorageEndpoint; } /** @@ -141,17 +139,16 @@ public SourceAzureBlobStorageAzureBlobStorage sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonIgnore - public java.util.List streams() { + public List streams() { return streams; } @@ -189,7 +186,7 @@ public SourceAzureBlobStorage withAzureBlobStorageEndpoint(String azureBlobStora /** * This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. */ - public SourceAzureBlobStorage withAzureBlobStorageEndpoint(Optional azureBlobStorageEndpoint) { + public SourceAzureBlobStorage withAzureBlobStorageEndpoint(Optional azureBlobStorageEndpoint) { Utils.checkNotNull(azureBlobStorageEndpoint, "azureBlobStorageEndpoint"); this.azureBlobStorageEndpoint = azureBlobStorageEndpoint; return this; @@ -216,7 +213,7 @@ public SourceAzureBlobStorage withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public SourceAzureBlobStorage withStartDate(Optional startDate) { + public SourceAzureBlobStorage withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -225,7 +222,7 @@ public SourceAzureBlobStorage withStartDate(Optional s /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public SourceAzureBlobStorage withStreams(java.util.List streams) { + public SourceAzureBlobStorage withStreams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -241,18 +238,18 @@ public boolean equals(java.lang.Object o) { } SourceAzureBlobStorage other = (SourceAzureBlobStorage) o; return - java.util.Objects.deepEquals(this.azureBlobStorageAccountName, other.azureBlobStorageAccountName) && - java.util.Objects.deepEquals(this.azureBlobStorageContainerName, other.azureBlobStorageContainerName) && - java.util.Objects.deepEquals(this.azureBlobStorageEndpoint, other.azureBlobStorageEndpoint) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.streams, other.streams); + Objects.deepEquals(this.azureBlobStorageAccountName, other.azureBlobStorageAccountName) && + Objects.deepEquals(this.azureBlobStorageContainerName, other.azureBlobStorageContainerName) && + Objects.deepEquals(this.azureBlobStorageEndpoint, other.azureBlobStorageEndpoint) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.streams, other.streams); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( azureBlobStorageAccountName, azureBlobStorageContainerName, azureBlobStorageEndpoint, @@ -280,13 +277,13 @@ public final static class Builder { private String azureBlobStorageContainerName; - private Optional azureBlobStorageEndpoint = Optional.empty(); + private Optional azureBlobStorageEndpoint = Optional.empty(); private SourceAzureBlobStorageAuthentication credentials; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private java.util.List streams; + private List streams; private Builder() { // force use of static builder() method @@ -322,7 +319,7 @@ public Builder azureBlobStorageEndpoint(String azureBlobStorageEndpoint) { /** * This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. */ - public Builder azureBlobStorageEndpoint(Optional azureBlobStorageEndpoint) { + public Builder azureBlobStorageEndpoint(Optional azureBlobStorageEndpoint) { Utils.checkNotNull(azureBlobStorageEndpoint, "azureBlobStorageEndpoint"); this.azureBlobStorageEndpoint = azureBlobStorageEndpoint; return this; @@ -349,7 +346,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -358,7 +355,7 @@ public Builder startDate(Optional startDate) { /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public Builder streams(java.util.List streams) { + public Builder streams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthType.java index 6f8fb2149..6e7c520bb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageAuthType { OAUTH2("oauth2"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthentication.java index 790831371..fe0bd31a9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceAzureBlobStorageAuthentication - Credentials for connecting to the Azure Blob Storage @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceAzureBlobStorageAuthentication._Deserializer.class) public class SourceAzureBlobStorageAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceAzureBlobStorageAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceAzureBlobStorageAuthentication of(AuthenticateViaStorageAcco /** * Returns an instance of one of these types: *

      - *
    • {@code AuthenticateViaOauth2}
    • - *
    • {@code AuthenticateViaStorageAccountKey}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaOauth2}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaStorageAccountKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceAzureBlobStorageAuthentication other = (SourceAzureBlobStorageAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceAzureBlobStorageAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceAzureBlobStorageAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorage.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorage.java index 5cce942a1..3f7111a69 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageAzureBlobStorage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageAzureBlobStorage { AZURE_BLOB_STORAGE("azure-blob-storage"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFiletype.java index e91a680ed..1954f1af6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageFiletype { CSV("csv"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageHeaderDefinitionType.java index 64c20f98a..83b6ab0b2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageHeaderDefinitionType { AUTOGENERATED("Autogenerated"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageMode.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageMode.java index 493e8e434..fb7f7be10 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageMode { LOCAL("local"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasAuthType.java index 0f0223f58..6e39ffb77 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageSchemasAuthType { STORAGE_ACCOUNT_KEY("storage_account_key"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasFiletype.java index cca6086b0..0d587ee7d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageSchemasFiletype { JSONL("jsonl"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasHeaderDefinitionType.java index 64ff857e7..174d8b910 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageSchemasHeaderDefinitionType { USER_PROVIDED("User Provided"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.java index 7624c278f..6dc74af90 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageSchemasStreamsFiletype { PARQUET("parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.java index 86615b864..f1900afce 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureBlobStorageSchemasStreamsFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceAzureBlobStorageSchemasStreamsFormatFiletype { UNSTRUCTURED("unstructured"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java b/src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java index ac073f9e1..5087d0107 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceAzureTable.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceAzureTable { @JsonProperty("sourceType") @@ -41,13 +41,13 @@ public class SourceAzureTable { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("storage_endpoint_suffix") - private Optional storageEndpointSuffix; + private Optional storageEndpointSuffix; @JsonCreator public SourceAzureTable( @JsonProperty("storage_access_key") String storageAccessKey, @JsonProperty("storage_account_name") String storageAccountName, - @JsonProperty("storage_endpoint_suffix") Optional storageEndpointSuffix) { + @JsonProperty("storage_endpoint_suffix") Optional storageEndpointSuffix) { Utils.checkNotNull(storageAccessKey, "storageAccessKey"); Utils.checkNotNull(storageAccountName, "storageAccountName"); Utils.checkNotNull(storageEndpointSuffix, "storageEndpointSuffix"); @@ -87,10 +87,9 @@ public String storageAccountName() { /** * Azure Table Storage service account URL suffix. See the <a href="https://docs.airbyte.com/integrations/sources/azure-table">docs</a> for more information on how to obtain endpoint suffix */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional storageEndpointSuffix() { - return (Optional) storageEndpointSuffix; + return storageEndpointSuffix; } public final static Builder builder() { @@ -127,7 +126,7 @@ public SourceAzureTable withStorageEndpointSuffix(String storageEndpointSuffix) /** * Azure Table Storage service account URL suffix. See the <a href="https://docs.airbyte.com/integrations/sources/azure-table">docs</a> for more information on how to obtain endpoint suffix */ - public SourceAzureTable withStorageEndpointSuffix(Optional storageEndpointSuffix) { + public SourceAzureTable withStorageEndpointSuffix(Optional storageEndpointSuffix) { Utils.checkNotNull(storageEndpointSuffix, "storageEndpointSuffix"); this.storageEndpointSuffix = storageEndpointSuffix; return this; @@ -143,15 +142,15 @@ public boolean equals(java.lang.Object o) { } SourceAzureTable other = (SourceAzureTable) o; return - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.storageAccessKey, other.storageAccessKey) && - java.util.Objects.deepEquals(this.storageAccountName, other.storageAccountName) && - java.util.Objects.deepEquals(this.storageEndpointSuffix, other.storageEndpointSuffix); + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.storageAccessKey, other.storageAccessKey) && + Objects.deepEquals(this.storageAccountName, other.storageAccountName) && + Objects.deepEquals(this.storageEndpointSuffix, other.storageEndpointSuffix); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourceType, storageAccessKey, storageAccountName, @@ -173,7 +172,7 @@ public final static class Builder { private String storageAccountName; - private Optional storageEndpointSuffix; + private Optional storageEndpointSuffix; private Builder() { // force use of static builder() method @@ -209,7 +208,7 @@ public Builder storageEndpointSuffix(String storageEndpointSuffix) { /** * Azure Table Storage service account URL suffix. See the <a href="https://docs.airbyte.com/integrations/sources/azure-table">docs</a> for more information on how to obtain endpoint suffix */ - public Builder storageEndpointSuffix(Optional storageEndpointSuffix) { + public Builder storageEndpointSuffix(Optional storageEndpointSuffix) { Utils.checkNotNull(storageEndpointSuffix, "storageEndpointSuffix"); this.storageEndpointSuffix = storageEndpointSuffix; return this; @@ -218,8 +217,7 @@ public Builder storageEndpointSuffix(Optional storageEndpointS public SourceAzureTable build() { if (storageEndpointSuffix == null) { storageEndpointSuffix = _SINGLETON_VALUE_StorageEndpointSuffix.value(); - } - return new SourceAzureTable( + } return new SourceAzureTable( storageAccessKey, storageAccountName, storageEndpointSuffix); @@ -231,11 +229,11 @@ public SourceAzureTable build() { "\"azure-table\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StorageEndpointSuffix = + private static final LazySingletonValue> _SINGLETON_VALUE_StorageEndpointSuffix = new LazySingletonValue<>( "storage_endpoint_suffix", "\"core.windows.net\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java b/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java index e8eccf2a6..00afa3369 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBambooHr.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceBambooHr { /** @@ -35,21 +34,21 @@ public class SourceBambooHr { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("custom_reports_fields") - private Optional customReportsFields; + private Optional customReportsFields; /** * If true, the custom reports endpoint will include the default fields defined here: https://documentation.bamboohr.com/docs/list-of-field-names. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("custom_reports_include_default_fields") - private Optional customReportsIncludeDefaultFields; + private Optional customReportsIncludeDefaultFields; @JsonProperty("sourceType") private BambooHr sourceType; @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Sub Domain of bamboo hr @@ -60,9 +59,9 @@ public class SourceBambooHr { @JsonCreator public SourceBambooHr( @JsonProperty("api_key") String apiKey, - @JsonProperty("custom_reports_fields") Optional customReportsFields, - @JsonProperty("custom_reports_include_default_fields") Optional customReportsIncludeDefaultFields, - @JsonProperty("start_date") Optional startDate, + @JsonProperty("custom_reports_fields") Optional customReportsFields, + @JsonProperty("custom_reports_include_default_fields") Optional customReportsIncludeDefaultFields, + @JsonProperty("start_date") Optional startDate, @JsonProperty("subdomain") String subdomain) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(customReportsFields, "customReportsFields"); @@ -94,19 +93,17 @@ public String apiKey() { /** * Comma-separated list of fields to include in custom reports. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional customReportsFields() { - return (Optional) customReportsFields; + return customReportsFields; } /** * If true, the custom reports endpoint will include the default fields defined here: https://documentation.bamboohr.com/docs/list-of-field-names. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional customReportsIncludeDefaultFields() { - return (Optional) customReportsIncludeDefaultFields; + return customReportsIncludeDefaultFields; } @JsonIgnore @@ -114,10 +111,9 @@ public BambooHr sourceType() { return sourceType; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -153,7 +149,7 @@ public SourceBambooHr withCustomReportsFields(String customReportsFields) { /** * Comma-separated list of fields to include in custom reports. */ - public SourceBambooHr withCustomReportsFields(Optional customReportsFields) { + public SourceBambooHr withCustomReportsFields(Optional customReportsFields) { Utils.checkNotNull(customReportsFields, "customReportsFields"); this.customReportsFields = customReportsFields; return this; @@ -171,7 +167,7 @@ public SourceBambooHr withCustomReportsIncludeDefaultFields(boolean customReport /** * If true, the custom reports endpoint will include the default fields defined here: https://documentation.bamboohr.com/docs/list-of-field-names. */ - public SourceBambooHr withCustomReportsIncludeDefaultFields(Optional customReportsIncludeDefaultFields) { + public SourceBambooHr withCustomReportsIncludeDefaultFields(Optional customReportsIncludeDefaultFields) { Utils.checkNotNull(customReportsIncludeDefaultFields, "customReportsIncludeDefaultFields"); this.customReportsIncludeDefaultFields = customReportsIncludeDefaultFields; return this; @@ -183,7 +179,7 @@ public SourceBambooHr withStartDate(OffsetDateTime startDate) { return this; } - public SourceBambooHr withStartDate(Optional startDate) { + public SourceBambooHr withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -208,17 +204,17 @@ public boolean equals(java.lang.Object o) { } SourceBambooHr other = (SourceBambooHr) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.customReportsFields, other.customReportsFields) && - java.util.Objects.deepEquals(this.customReportsIncludeDefaultFields, other.customReportsIncludeDefaultFields) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.subdomain, other.subdomain); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.customReportsFields, other.customReportsFields) && + Objects.deepEquals(this.customReportsIncludeDefaultFields, other.customReportsIncludeDefaultFields) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.subdomain, other.subdomain); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, customReportsFields, customReportsIncludeDefaultFields, @@ -242,11 +238,11 @@ public final static class Builder { private String apiKey; - private Optional customReportsFields = Optional.empty(); + private Optional customReportsFields = Optional.empty(); - private Optional customReportsIncludeDefaultFields; + private Optional customReportsIncludeDefaultFields; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private String subdomain; @@ -275,7 +271,7 @@ public Builder customReportsFields(String customReportsFields) { /** * Comma-separated list of fields to include in custom reports. */ - public Builder customReportsFields(Optional customReportsFields) { + public Builder customReportsFields(Optional customReportsFields) { Utils.checkNotNull(customReportsFields, "customReportsFields"); this.customReportsFields = customReportsFields; return this; @@ -293,7 +289,7 @@ public Builder customReportsIncludeDefaultFields(boolean customReportsIncludeDef /** * If true, the custom reports endpoint will include the default fields defined here: https://documentation.bamboohr.com/docs/list-of-field-names. */ - public Builder customReportsIncludeDefaultFields(Optional customReportsIncludeDefaultFields) { + public Builder customReportsIncludeDefaultFields(Optional customReportsIncludeDefaultFields) { Utils.checkNotNull(customReportsIncludeDefaultFields, "customReportsIncludeDefaultFields"); this.customReportsIncludeDefaultFields = customReportsIncludeDefaultFields; return this; @@ -305,7 +301,7 @@ public Builder startDate(OffsetDateTime startDate) { return this; } - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -323,8 +319,7 @@ public Builder subdomain(String subdomain) { public SourceBambooHr build() { if (customReportsIncludeDefaultFields == null) { customReportsIncludeDefaultFields = _SINGLETON_VALUE_CustomReportsIncludeDefaultFields.value(); - } - return new SourceBambooHr( + } return new SourceBambooHr( apiKey, customReportsFields, customReportsIncludeDefaultFields, @@ -332,11 +327,11 @@ public SourceBambooHr build() { subdomain); } - private static final LazySingletonValue> _SINGLETON_VALUE_CustomReportsIncludeDefaultFields = + private static final LazySingletonValue> _SINGLETON_VALUE_CustomReportsIncludeDefaultFields = new LazySingletonValue<>( "custom_reports_include_default_fields", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBasecamp.java b/src/main/java/com/airbyte/api/models/shared/SourceBasecamp.java index dd969a5eb..19dac6ae3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBasecamp.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBasecamp.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceBasecamp { @@ -133,17 +132,17 @@ public boolean equals(java.lang.Object o) { } SourceBasecamp other = (SourceBasecamp) o; return - java.util.Objects.deepEquals(this.accountId, other.accountId) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientRefreshToken2, other.clientRefreshToken2) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken2, other.clientRefreshToken2) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountId, clientId, clientRefreshToken2, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBeamer.java b/src/main/java/com/airbyte/api/models/shared/SourceBeamer.java new file mode 100644 index 000000000..288990b7a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceBeamer.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceBeamer { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Beamer sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceBeamer( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Beamer sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceBeamer withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceBeamer withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceBeamer other = (SourceBeamer) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceBeamer.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceBeamer build() { + return new SourceBeamer( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"beamer\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBigmailer.java b/src/main/java/com/airbyte/api/models/shared/SourceBigmailer.java new file mode 100644 index 000000000..20ed3eb95 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceBigmailer.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceBigmailer { + + /** + * API key to use. You can create and find it on the API key management page in your BigMailer account. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Bigmailer sourceType; + + @JsonCreator + public SourceBigmailer( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. You can create and find it on the API key management page in your BigMailer account. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Bigmailer sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. You can create and find it on the API key management page in your BigMailer account. + */ + public SourceBigmailer withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceBigmailer other = (SourceBigmailer) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceBigmailer.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. You can create and find it on the API key management page in your BigMailer account. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceBigmailer build() { + return new SourceBigmailer( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"bigmailer\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBigquery.java b/src/main/java/com/airbyte/api/models/shared/SourceBigquery.java index 43762b576..a56e082ee 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBigquery.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBigquery.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceBigquery { /** @@ -32,7 +32,7 @@ public class SourceBigquery { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("dataset_id") - private Optional datasetId; + private Optional datasetId; /** * The GCP project ID for the project containing the target BigQuery dataset. @@ -46,7 +46,7 @@ public class SourceBigquery { @JsonCreator public SourceBigquery( @JsonProperty("credentials_json") String credentialsJson, - @JsonProperty("dataset_id") Optional datasetId, + @JsonProperty("dataset_id") Optional datasetId, @JsonProperty("project_id") String projectId) { Utils.checkNotNull(credentialsJson, "credentialsJson"); Utils.checkNotNull(datasetId, "datasetId"); @@ -74,10 +74,9 @@ public String credentialsJson() { /** * The dataset ID to search for tables and views. If you are only loading data from one dataset, setting this option could result in much faster schema discovery. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional datasetId() { - return (Optional) datasetId; + return datasetId; } /** @@ -118,7 +117,7 @@ public SourceBigquery withDatasetId(String datasetId) { /** * The dataset ID to search for tables and views. If you are only loading data from one dataset, setting this option could result in much faster schema discovery. */ - public SourceBigquery withDatasetId(Optional datasetId) { + public SourceBigquery withDatasetId(Optional datasetId) { Utils.checkNotNull(datasetId, "datasetId"); this.datasetId = datasetId; return this; @@ -143,15 +142,15 @@ public boolean equals(java.lang.Object o) { } SourceBigquery other = (SourceBigquery) o; return - java.util.Objects.deepEquals(this.credentialsJson, other.credentialsJson) && - java.util.Objects.deepEquals(this.datasetId, other.datasetId) && - java.util.Objects.deepEquals(this.projectId, other.projectId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.credentialsJson, other.credentialsJson) && + Objects.deepEquals(this.datasetId, other.datasetId) && + Objects.deepEquals(this.projectId, other.projectId) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentialsJson, datasetId, projectId, @@ -171,7 +170,7 @@ public final static class Builder { private String credentialsJson; - private Optional datasetId = Optional.empty(); + private Optional datasetId = Optional.empty(); private String projectId; @@ -200,7 +199,7 @@ public Builder datasetId(String datasetId) { /** * The dataset ID to search for tables and views. If you are only loading data from one dataset, setting this option could result in much faster schema discovery. */ - public Builder datasetId(Optional datasetId) { + public Builder datasetId(Optional datasetId) { Utils.checkNotNull(datasetId, "datasetId"); this.datasetId = datasetId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigquery.java b/src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigquery.java index 0e7136db2..a6d43190a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigquery.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBigqueryBigquery.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceBigqueryBigquery { BIGQUERY("bigquery"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBingAds.java b/src/main/java/com/airbyte/api/models/shared/SourceBingAds.java index ce4e1e77b..ea4c5706f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBingAds.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBingAds.java @@ -1,25 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceBingAds { /** @@ -27,7 +30,7 @@ public class SourceBingAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("account_names") - private Optional> accountNames; + private Optional> accountNames; @JsonInclude(Include.NON_ABSENT) @JsonProperty("auth_method") @@ -44,14 +47,14 @@ public class SourceBingAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; /** * You can add your Custom Bing Ads report by creating one. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("custom_reports") - private Optional> customReports; + private Optional> customReports; /** * Developer token associated with user. See more info <a href="https://docs.microsoft.com/en-us/advertising/guides/get-started?view=bingads-13#get-developer-token"> in the docs</a>. @@ -64,7 +67,7 @@ public class SourceBingAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window") - private Optional lookbackWindow; + private Optional lookbackWindow; /** * Refresh Token to renew the expired Access Token. @@ -77,7 +80,7 @@ public class SourceBingAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("reports_start_date") - private Optional reportsStartDate; + private Optional reportsStartDate; @JsonProperty("sourceType") private SourceBingAdsBingAds sourceType; @@ -87,19 +90,19 @@ public class SourceBingAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tenant_id") - private Optional tenantId; + private Optional tenantId; @JsonCreator public SourceBingAds( - @JsonProperty("account_names") Optional> accountNames, + @JsonProperty("account_names") Optional> accountNames, @JsonProperty("client_id") String clientId, - @JsonProperty("client_secret") Optional clientSecret, - @JsonProperty("custom_reports") Optional> customReports, + @JsonProperty("client_secret") Optional clientSecret, + @JsonProperty("custom_reports") Optional> customReports, @JsonProperty("developer_token") String developerToken, - @JsonProperty("lookback_window") Optional lookbackWindow, + @JsonProperty("lookback_window") Optional lookbackWindow, @JsonProperty("refresh_token") String refreshToken, - @JsonProperty("reports_start_date") Optional reportsStartDate, - @JsonProperty("tenant_id") Optional tenantId) { + @JsonProperty("reports_start_date") Optional reportsStartDate, + @JsonProperty("tenant_id") Optional tenantId) { Utils.checkNotNull(accountNames, "accountNames"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -134,8 +137,8 @@ public SourceBingAds( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> accountNames() { - return (Optional>) accountNames; + public Optional> accountNames() { + return (Optional>) accountNames; } @SuppressWarnings("unchecked") @@ -155,10 +158,9 @@ public String clientId() { /** * The Client Secret of your Microsoft Advertising developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } /** @@ -166,8 +168,8 @@ public Optional clientSecret() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> customReports() { - return (Optional>) customReports; + public Optional> customReports() { + return (Optional>) customReports; } /** @@ -181,10 +183,9 @@ public String developerToken() { /** * Also known as attribution or conversion window. How far into the past to look for records (in days). If your conversion window has an hours/minutes granularity, round it up to the number of days exceeding. Used only for performance report streams in incremental mode without specified Reports Start Date. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindow() { - return (Optional) lookbackWindow; + return lookbackWindow; } /** @@ -198,10 +199,9 @@ public String refreshToken() { /** * The start date from which to begin replicating report data. Any data generated before this date will not be replicated in reports. This is a UTC date in YYYY-MM-DD format. If not set, data from previous and current calendar year will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional reportsStartDate() { - return (Optional) reportsStartDate; + return reportsStartDate; } @JsonIgnore @@ -212,10 +212,9 @@ public SourceBingAdsBingAds sourceType() { /** * The Tenant ID of your Microsoft Advertising developer application. Set this to "common" unless you know you need a different value. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tenantId() { - return (Optional) tenantId; + return tenantId; } public final static Builder builder() { @@ -225,7 +224,7 @@ public final static Builder builder() { /** * Predicates that will be used to sync data by specific accounts. */ - public SourceBingAds withAccountNames(java.util.List accountNames) { + public SourceBingAds withAccountNames(List accountNames) { Utils.checkNotNull(accountNames, "accountNames"); this.accountNames = Optional.ofNullable(accountNames); return this; @@ -234,7 +233,7 @@ public SourceBingAds withAccountNames(java.util.List accountNames) /** * Predicates that will be used to sync data by specific accounts. */ - public SourceBingAds withAccountNames(Optional> accountNames) { + public SourceBingAds withAccountNames(Optional> accountNames) { Utils.checkNotNull(accountNames, "accountNames"); this.accountNames = accountNames; return this; @@ -261,7 +260,7 @@ public SourceBingAds withClientSecret(String clientSecret) { /** * The Client Secret of your Microsoft Advertising developer application. */ - public SourceBingAds withClientSecret(Optional clientSecret) { + public SourceBingAds withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -270,7 +269,7 @@ public SourceBingAds withClientSecret(Optional clientSecret) { /** * You can add your Custom Bing Ads report by creating one. */ - public SourceBingAds withCustomReports(java.util.List customReports) { + public SourceBingAds withCustomReports(List customReports) { Utils.checkNotNull(customReports, "customReports"); this.customReports = Optional.ofNullable(customReports); return this; @@ -279,7 +278,7 @@ public SourceBingAds withCustomReports(java.util.List custom /** * You can add your Custom Bing Ads report by creating one. */ - public SourceBingAds withCustomReports(Optional> customReports) { + public SourceBingAds withCustomReports(Optional> customReports) { Utils.checkNotNull(customReports, "customReports"); this.customReports = customReports; return this; @@ -306,7 +305,7 @@ public SourceBingAds withLookbackWindow(long lookbackWindow) { /** * Also known as attribution or conversion window. How far into the past to look for records (in days). If your conversion window has an hours/minutes granularity, round it up to the number of days exceeding. Used only for performance report streams in incremental mode without specified Reports Start Date. */ - public SourceBingAds withLookbackWindow(Optional lookbackWindow) { + public SourceBingAds withLookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -333,7 +332,7 @@ public SourceBingAds withReportsStartDate(LocalDate reportsStartDate) { /** * The start date from which to begin replicating report data. Any data generated before this date will not be replicated in reports. This is a UTC date in YYYY-MM-DD format. If not set, data from previous and current calendar year will be replicated. */ - public SourceBingAds withReportsStartDate(Optional reportsStartDate) { + public SourceBingAds withReportsStartDate(Optional reportsStartDate) { Utils.checkNotNull(reportsStartDate, "reportsStartDate"); this.reportsStartDate = reportsStartDate; return this; @@ -351,7 +350,7 @@ public SourceBingAds withTenantId(String tenantId) { /** * The Tenant ID of your Microsoft Advertising developer application. Set this to "common" unless you know you need a different value. */ - public SourceBingAds withTenantId(Optional tenantId) { + public SourceBingAds withTenantId(Optional tenantId) { Utils.checkNotNull(tenantId, "tenantId"); this.tenantId = tenantId; return this; @@ -367,22 +366,22 @@ public boolean equals(java.lang.Object o) { } SourceBingAds other = (SourceBingAds) o; return - java.util.Objects.deepEquals(this.accountNames, other.accountNames) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.customReports, other.customReports) && - java.util.Objects.deepEquals(this.developerToken, other.developerToken) && - java.util.Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.reportsStartDate, other.reportsStartDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.tenantId, other.tenantId); + Objects.deepEquals(this.accountNames, other.accountNames) && + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.customReports, other.customReports) && + Objects.deepEquals(this.developerToken, other.developerToken) && + Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.reportsStartDate, other.reportsStartDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.tenantId, other.tenantId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountNames, authMethod, clientId, @@ -414,23 +413,23 @@ public String toString() { public final static class Builder { - private Optional> accountNames = Optional.empty(); + private Optional> accountNames = Optional.empty(); private String clientId; - private Optional clientSecret; + private Optional clientSecret; - private Optional> customReports = Optional.empty(); + private Optional> customReports = Optional.empty(); private String developerToken; - private Optional lookbackWindow; + private Optional lookbackWindow; private String refreshToken; - private Optional reportsStartDate = Optional.empty(); + private Optional reportsStartDate = Optional.empty(); - private Optional tenantId; + private Optional tenantId; private Builder() { // force use of static builder() method @@ -439,7 +438,7 @@ private Builder() { /** * Predicates that will be used to sync data by specific accounts. */ - public Builder accountNames(java.util.List accountNames) { + public Builder accountNames(List accountNames) { Utils.checkNotNull(accountNames, "accountNames"); this.accountNames = Optional.ofNullable(accountNames); return this; @@ -448,7 +447,7 @@ public Builder accountNames(java.util.List accountNames) { /** * Predicates that will be used to sync data by specific accounts. */ - public Builder accountNames(Optional> accountNames) { + public Builder accountNames(Optional> accountNames) { Utils.checkNotNull(accountNames, "accountNames"); this.accountNames = accountNames; return this; @@ -475,7 +474,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your Microsoft Advertising developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -484,7 +483,7 @@ public Builder clientSecret(Optional clientSecret) { /** * You can add your Custom Bing Ads report by creating one. */ - public Builder customReports(java.util.List customReports) { + public Builder customReports(List customReports) { Utils.checkNotNull(customReports, "customReports"); this.customReports = Optional.ofNullable(customReports); return this; @@ -493,7 +492,7 @@ public Builder customReports(java.util.List customReports) { /** * You can add your Custom Bing Ads report by creating one. */ - public Builder customReports(Optional> customReports) { + public Builder customReports(Optional> customReports) { Utils.checkNotNull(customReports, "customReports"); this.customReports = customReports; return this; @@ -520,7 +519,7 @@ public Builder lookbackWindow(long lookbackWindow) { /** * Also known as attribution or conversion window. How far into the past to look for records (in days). If your conversion window has an hours/minutes granularity, round it up to the number of days exceeding. Used only for performance report streams in incremental mode without specified Reports Start Date. */ - public Builder lookbackWindow(Optional lookbackWindow) { + public Builder lookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -547,7 +546,7 @@ public Builder reportsStartDate(LocalDate reportsStartDate) { /** * The start date from which to begin replicating report data. Any data generated before this date will not be replicated in reports. This is a UTC date in YYYY-MM-DD format. If not set, data from previous and current calendar year will be replicated. */ - public Builder reportsStartDate(Optional reportsStartDate) { + public Builder reportsStartDate(Optional reportsStartDate) { Utils.checkNotNull(reportsStartDate, "reportsStartDate"); this.reportsStartDate = reportsStartDate; return this; @@ -565,7 +564,7 @@ public Builder tenantId(String tenantId) { /** * The Tenant ID of your Microsoft Advertising developer application. Set this to "common" unless you know you need a different value. */ - public Builder tenantId(Optional tenantId) { + public Builder tenantId(Optional tenantId) { Utils.checkNotNull(tenantId, "tenantId"); this.tenantId = tenantId; return this; @@ -580,8 +579,7 @@ public SourceBingAds build() { } if (tenantId == null) { tenantId = _SINGLETON_VALUE_TenantId.value(); - } - return new SourceBingAds( + } return new SourceBingAds( accountNames, clientId, clientSecret, @@ -599,17 +597,17 @@ public SourceBingAds build() { "\"oauth2.0\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ClientSecret = + private static final LazySingletonValue> _SINGLETON_VALUE_ClientSecret = new LazySingletonValue<>( "client_secret", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = new LazySingletonValue<>( "lookback_window", "0", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( @@ -617,11 +615,11 @@ public SourceBingAds build() { "\"bing-ads\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TenantId = + private static final LazySingletonValue> _SINGLETON_VALUE_TenantId = new LazySingletonValue<>( "tenant_id", "\"common\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAds.java b/src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAds.java index 5b298ec95..ae74be7eb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAds.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBingAdsBingAds.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceBingAdsBingAds { BING_ADS("bing-ads"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBitly.java b/src/main/java/com/airbyte/api/models/shared/SourceBitly.java index 11da4e980..3a0c8fa82 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBitly.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBitly.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceBitly { @@ -99,15 +97,15 @@ public boolean equals(java.lang.Object o) { } SourceBitly other = (SourceBitly) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, endDate, sourceType, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBlogger.java b/src/main/java/com/airbyte/api/models/shared/SourceBlogger.java new file mode 100644 index 000000000..3647e7f0a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceBlogger.java @@ -0,0 +1,167 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceBlogger { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token") + private String clientRefreshToken; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private Blogger sourceType; + + @JsonCreator + public SourceBlogger( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token") String clientRefreshToken, + @JsonProperty("client_secret") String clientSecret) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientId = clientId; + this.clientRefreshToken = clientRefreshToken; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken() { + return clientRefreshToken; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public Blogger sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceBlogger withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceBlogger withClientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public SourceBlogger withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceBlogger other = (SourceBlogger) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken, other.clientRefreshToken) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientRefreshToken, + clientSecret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceBlogger.class, + "clientId", clientId, + "clientRefreshToken", clientRefreshToken, + "clientSecret", clientSecret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientRefreshToken; + + private String clientSecret; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceBlogger build() { + return new SourceBlogger( + clientId, + clientRefreshToken, + clientSecret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"blogger\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBox.java b/src/main/java/com/airbyte/api/models/shared/SourceBox.java new file mode 100644 index 000000000..0a57a4cdb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceBox.java @@ -0,0 +1,168 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceBox { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private Box sourceType; + + @JsonProperty("user") + private double user; + + @JsonCreator + public SourceBox( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("user") double user) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(user, "user"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.user = user; + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public Box sourceType() { + return sourceType; + } + + @JsonIgnore + public double user() { + return user; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceBox withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceBox withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceBox withUser(double user) { + Utils.checkNotNull(user, "user"); + this.user = user; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceBox other = (SourceBox) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.user, other.user); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + sourceType, + user); + } + + @Override + public String toString() { + return Utils.toString(SourceBox.class, + "clientId", clientId, + "clientSecret", clientSecret, + "sourceType", sourceType, + "user", user); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Double user; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder user(double user) { + Utils.checkNotNull(user, "user"); + this.user = user; + return this; + } + + public SourceBox build() { + return new SourceBox( + clientId, + clientSecret, + user); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"box\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBraintree.java b/src/main/java/com/airbyte/api/models/shared/SourceBraintree.java index 98aaf25c6..468567818 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBraintree.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBraintree.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceBraintree { /** @@ -56,7 +54,7 @@ public class SourceBraintree { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceBraintree( @@ -64,7 +62,7 @@ public SourceBraintree( @JsonProperty("merchant_id") String merchantId, @JsonProperty("private_key") String privateKey, @JsonProperty("public_key") String publicKey, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(environment, "environment"); Utils.checkNotNull(merchantId, "merchantId"); Utils.checkNotNull(privateKey, "privateKey"); @@ -126,10 +124,9 @@ public Braintree sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -184,7 +181,7 @@ public SourceBraintree withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. */ - public SourceBraintree withStartDate(Optional startDate) { + public SourceBraintree withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -200,17 +197,17 @@ public boolean equals(java.lang.Object o) { } SourceBraintree other = (SourceBraintree) o; return - java.util.Objects.deepEquals(this.environment, other.environment) && - java.util.Objects.deepEquals(this.merchantId, other.merchantId) && - java.util.Objects.deepEquals(this.privateKey, other.privateKey) && - java.util.Objects.deepEquals(this.publicKey, other.publicKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.environment, other.environment) && + Objects.deepEquals(this.merchantId, other.merchantId) && + Objects.deepEquals(this.privateKey, other.privateKey) && + Objects.deepEquals(this.publicKey, other.publicKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( environment, merchantId, privateKey, @@ -240,7 +237,7 @@ public final static class Builder { private String publicKey; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -294,7 +291,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironment.java b/src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironment.java index 6d3497815..e37ed23cd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironment.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBraintreeEnvironment.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceBraintreeEnvironment - Environment specifies where the data will come from. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBraze.java b/src/main/java/com/airbyte/api/models/shared/SourceBraze.java index 861d02f8a..44cf7cb71 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBraze.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBraze.java @@ -1,21 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.Objects; + public class SourceBraze { @@ -124,15 +124,15 @@ public boolean equals(java.lang.Object o) { } SourceBraze other = (SourceBraze) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.url, other.url); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.url, other.url); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBreezyHr.java b/src/main/java/com/airbyte/api/models/shared/SourceBreezyHr.java index b17fe1e20..818fcc834 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBreezyHr.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBreezyHr.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceBreezyHr { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceBreezyHr other = (SourceBreezyHr) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.companyId, other.companyId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.companyId, other.companyId) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, companyId, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBrevo.java b/src/main/java/com/airbyte/api/models/shared/SourceBrevo.java index f63b08e70..0184e4618 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBrevo.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBrevo.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceBrevo { @@ -82,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceBrevo other = (SourceBrevo) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBrex.java b/src/main/java/com/airbyte/api/models/shared/SourceBrex.java new file mode 100644 index 000000000..9dc644010 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceBrex.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceBrex { + + @JsonProperty("sourceType") + private Brex sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * User token to authenticate API requests. Generate it from your Brex dashboard under Developer > Settings. + */ + @JsonProperty("user_token") + private String userToken; + + @JsonCreator + public SourceBrex( + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("user_token") String userToken) { + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(userToken, "userToken"); + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.userToken = userToken; + } + + @JsonIgnore + public Brex sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * User token to authenticate API requests. Generate it from your Brex dashboard under Developer > Settings. + */ + @JsonIgnore + public String userToken() { + return userToken; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceBrex withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * User token to authenticate API requests. Generate it from your Brex dashboard under Developer > Settings. + */ + public SourceBrex withUserToken(String userToken) { + Utils.checkNotNull(userToken, "userToken"); + this.userToken = userToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceBrex other = (SourceBrex) o; + return + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.userToken, other.userToken); + } + + @Override + public int hashCode() { + return Objects.hash( + sourceType, + startDate, + userToken); + } + + @Override + public String toString() { + return Utils.toString(SourceBrex.class, + "sourceType", sourceType, + "startDate", startDate, + "userToken", userToken); + } + + public final static class Builder { + + private OffsetDateTime startDate; + + private String userToken; + + private Builder() { + // force use of static builder() method + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * User token to authenticate API requests. Generate it from your Brex dashboard under Developer > Settings. + */ + public Builder userToken(String userToken) { + Utils.checkNotNull(userToken, "userToken"); + this.userToken = userToken; + return this; + } + + public SourceBrex build() { + return new SourceBrex( + startDate, + userToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"brex\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBugsnag.java b/src/main/java/com/airbyte/api/models/shared/SourceBugsnag.java new file mode 100644 index 000000000..e5ecedbc4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceBugsnag.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceBugsnag { + + /** + * Personal auth token for accessing the Bugsnag API. Generate it in the My Account section of Bugsnag settings. + */ + @JsonProperty("auth_token") + private String authToken; + + @JsonProperty("sourceType") + private Bugsnag sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceBugsnag( + @JsonProperty("auth_token") String authToken, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(authToken, "authToken"); + Utils.checkNotNull(startDate, "startDate"); + this.authToken = authToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Personal auth token for accessing the Bugsnag API. Generate it in the My Account section of Bugsnag settings. + */ + @JsonIgnore + public String authToken() { + return authToken; + } + + @JsonIgnore + public Bugsnag sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Personal auth token for accessing the Bugsnag API. Generate it in the My Account section of Bugsnag settings. + */ + public SourceBugsnag withAuthToken(String authToken) { + Utils.checkNotNull(authToken, "authToken"); + this.authToken = authToken; + return this; + } + + public SourceBugsnag withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceBugsnag other = (SourceBugsnag) o; + return + Objects.deepEquals(this.authToken, other.authToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + authToken, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceBugsnag.class, + "authToken", authToken, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String authToken; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Personal auth token for accessing the Bugsnag API. Generate it in the My Account section of Bugsnag settings. + */ + public Builder authToken(String authToken) { + Utils.checkNotNull(authToken, "authToken"); + this.authToken = authToken; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceBugsnag build() { + return new SourceBugsnag( + authToken, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"bugsnag\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBuildkite.java b/src/main/java/com/airbyte/api/models/shared/SourceBuildkite.java index 82f607e7f..36c67607a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBuildkite.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBuildkite.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceBuildkite { @@ -82,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceBuildkite other = (SourceBuildkite) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBunnyInc.java b/src/main/java/com/airbyte/api/models/shared/SourceBunnyInc.java new file mode 100644 index 000000000..1518fd4e0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceBunnyInc.java @@ -0,0 +1,202 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceBunnyInc { + + @JsonProperty("apikey") + private String apikey; + + @JsonProperty("sourceType") + private BunnyInc sourceType; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + /** + * The subdomain specific to your Bunny account or service. + */ + @JsonProperty("subdomain") + private String subdomain; + + @JsonCreator + public SourceBunnyInc( + @JsonProperty("apikey") String apikey, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("subdomain") String subdomain) { + Utils.checkNotNull(apikey, "apikey"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(subdomain, "subdomain"); + this.apikey = apikey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.subdomain = subdomain; + } + + public SourceBunnyInc( + String apikey, + String subdomain) { + this(apikey, Optional.empty(), subdomain); + } + + @JsonIgnore + public String apikey() { + return apikey; + } + + @JsonIgnore + public BunnyInc sourceType() { + return sourceType; + } + + @JsonIgnore + public Optional startDate() { + return startDate; + } + + /** + * The subdomain specific to your Bunny account or service. + */ + @JsonIgnore + public String subdomain() { + return subdomain; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceBunnyInc withApikey(String apikey) { + Utils.checkNotNull(apikey, "apikey"); + this.apikey = apikey; + return this; + } + + public SourceBunnyInc withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + public SourceBunnyInc withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * The subdomain specific to your Bunny account or service. + */ + public SourceBunnyInc withSubdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceBunnyInc other = (SourceBunnyInc) o; + return + Objects.deepEquals(this.apikey, other.apikey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.subdomain, other.subdomain); + } + + @Override + public int hashCode() { + return Objects.hash( + apikey, + sourceType, + startDate, + subdomain); + } + + @Override + public String toString() { + return Utils.toString(SourceBunnyInc.class, + "apikey", apikey, + "sourceType", sourceType, + "startDate", startDate, + "subdomain", subdomain); + } + + public final static class Builder { + + private String apikey; + + private Optional startDate = Optional.empty(); + + private String subdomain; + + private Builder() { + // force use of static builder() method + } + + public Builder apikey(String apikey) { + Utils.checkNotNull(apikey, "apikey"); + this.apikey = apikey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * The subdomain specific to your Bunny account or service. + */ + public Builder subdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + public SourceBunnyInc build() { + return new SourceBunnyInc( + apikey, + startDate, + subdomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"bunny-inc\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceBuzzsprout.java b/src/main/java/com/airbyte/api/models/shared/SourceBuzzsprout.java index 5e35e0818..93b5b08e6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceBuzzsprout.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceBuzzsprout.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceBuzzsprout { @@ -108,15 +106,15 @@ public boolean equals(java.lang.Object o) { } SourceBuzzsprout other = (SourceBuzzsprout) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.podcastId, other.podcastId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.podcastId, other.podcastId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, podcastId, sourceType, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCalCom.java b/src/main/java/com/airbyte/api/models/shared/SourceCalCom.java new file mode 100644 index 000000000..714797925 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCalCom.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceCalCom { + + /** + * API key to use. Find it at https://cal.com/account + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("orgId") + private String orgId; + + @JsonProperty("sourceType") + private CalCom sourceType; + + @JsonCreator + public SourceCalCom( + @JsonProperty("api_key") String apiKey, + @JsonProperty("orgId") String orgId) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(orgId, "orgId"); + this.apiKey = apiKey; + this.orgId = orgId; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Find it at https://cal.com/account + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public String orgId() { + return orgId; + } + + @JsonIgnore + public CalCom sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://cal.com/account + */ + public SourceCalCom withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceCalCom withOrgId(String orgId) { + Utils.checkNotNull(orgId, "orgId"); + this.orgId = orgId; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCalCom other = (SourceCalCom) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.orgId, other.orgId) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + orgId, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceCalCom.class, + "apiKey", apiKey, + "orgId", orgId, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private String orgId; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://cal.com/account + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder orgId(String orgId) { + Utils.checkNotNull(orgId, "orgId"); + this.orgId = orgId; + return this; + } + + public SourceCalCom build() { + return new SourceCalCom( + apiKey, + orgId); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"cal-com\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCalendly.java b/src/main/java/com/airbyte/api/models/shared/SourceCalendly.java index b0197ccb3..9ae8cfc56 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCalendly.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCalendly.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceCalendly { @@ -91,14 +89,14 @@ public boolean equals(java.lang.Object o) { } SourceCalendly other = (SourceCalendly) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCallrail.java b/src/main/java/com/airbyte/api/models/shared/SourceCallrail.java new file mode 100644 index 000000000..c27e7ce4d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCallrail.java @@ -0,0 +1,203 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceCallrail { + + /** + * Account ID + */ + @JsonProperty("account_id") + private String accountId; + + /** + * API access key + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Callrail sourceType; + + /** + * Start getting data from that date. + */ + @JsonProperty("start_date") + private String startDate; + + @JsonCreator + public SourceCallrail( + @JsonProperty("account_id") String accountId, + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") String startDate) { + Utils.checkNotNull(accountId, "accountId"); + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.accountId = accountId; + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Account ID + */ + @JsonIgnore + public String accountId() { + return accountId; + } + + /** + * API access key + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Callrail sourceType() { + return sourceType; + } + + /** + * Start getting data from that date. + */ + @JsonIgnore + public String startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Account ID + */ + public SourceCallrail withAccountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + /** + * API access key + */ + public SourceCallrail withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Start getting data from that date. + */ + public SourceCallrail withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCallrail other = (SourceCallrail) o; + return + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accountId, + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceCallrail.class, + "accountId", accountId, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accountId; + + private String apiKey; + + private String startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Account ID + */ + public Builder accountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + /** + * API access key + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Start getting data from that date. + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceCallrail build() { + return new SourceCallrail( + accountId, + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"callrail\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCampaignMonitor.java b/src/main/java/com/airbyte/api/models/shared/SourceCampaignMonitor.java new file mode 100644 index 000000000..b139a4c12 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCampaignMonitor.java @@ -0,0 +1,219 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceCampaignMonitor { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private CampaignMonitor sourceType; + + /** + * Date from when the sync should start + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceCampaignMonitor( + @JsonProperty("password") Optional password, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.username = username; + } + + public SourceCampaignMonitor( + String username) { + this(Optional.empty(), Optional.empty(), username); + } + + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public CampaignMonitor sourceType() { + return sourceType; + } + + /** + * Date from when the sync should start + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceCampaignMonitor withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourceCampaignMonitor withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Date from when the sync should start + */ + public SourceCampaignMonitor withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Date from when the sync should start + */ + public SourceCampaignMonitor withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceCampaignMonitor withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCampaignMonitor other = (SourceCampaignMonitor) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + sourceType, + startDate, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceCampaignMonitor.class, + "password", password, + "sourceType", sourceType, + "startDate", startDate, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private Optional startDate = Optional.empty(); + + private String username; + + private Builder() { + // force use of static builder() method + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Date from when the sync should start + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Date from when the sync should start + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceCampaignMonitor build() { + return new SourceCampaignMonitor( + password, + startDate, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"campaign-monitor\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCampayn.java b/src/main/java/com/airbyte/api/models/shared/SourceCampayn.java new file mode 100644 index 000000000..dd3db8e79 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCampayn.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceCampayn { + + /** + * API key to use. Find it in your Campayn account settings. Keep it secure as it grants access to your Campayn data. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Campayn sourceType; + + @JsonProperty("sub_domain") + private String subDomain; + + @JsonCreator + public SourceCampayn( + @JsonProperty("api_key") String apiKey, + @JsonProperty("sub_domain") String subDomain) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(subDomain, "subDomain"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.subDomain = subDomain; + } + + /** + * API key to use. Find it in your Campayn account settings. Keep it secure as it grants access to your Campayn data. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Campayn sourceType() { + return sourceType; + } + + @JsonIgnore + public String subDomain() { + return subDomain; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it in your Campayn account settings. Keep it secure as it grants access to your Campayn data. + */ + public SourceCampayn withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceCampayn withSubDomain(String subDomain) { + Utils.checkNotNull(subDomain, "subDomain"); + this.subDomain = subDomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCampayn other = (SourceCampayn) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.subDomain, other.subDomain); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + subDomain); + } + + @Override + public String toString() { + return Utils.toString(SourceCampayn.class, + "apiKey", apiKey, + "sourceType", sourceType, + "subDomain", subDomain); + } + + public final static class Builder { + + private String apiKey; + + private String subDomain; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it in your Campayn account settings. Keep it secure as it grants access to your Campayn data. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder subDomain(String subDomain) { + Utils.checkNotNull(subDomain, "subDomain"); + this.subDomain = subDomain; + return this; + } + + public SourceCampayn build() { + return new SourceCampayn( + apiKey, + subDomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"campayn\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCanny.java b/src/main/java/com/airbyte/api/models/shared/SourceCanny.java index 518bb17c7..0c959f87d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCanny.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCanny.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceCanny { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceCanny other = (SourceCanny) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCapsuleCrm.java b/src/main/java/com/airbyte/api/models/shared/SourceCapsuleCrm.java new file mode 100644 index 000000000..c6468a1b2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCapsuleCrm.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceCapsuleCrm { + + /** + * Bearer token to authenticate API requests. Generate it from the 'My Preferences' > 'API Authentication Tokens' page in your Capsule account. + */ + @JsonProperty("bearer_token") + private String bearerToken; + + @JsonProperty("entity") + private Entity entity; + + @JsonProperty("sourceType") + private CapsuleCrm sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceCapsuleCrm( + @JsonProperty("bearer_token") String bearerToken, + @JsonProperty("entity") Entity entity, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(bearerToken, "bearerToken"); + Utils.checkNotNull(entity, "entity"); + Utils.checkNotNull(startDate, "startDate"); + this.bearerToken = bearerToken; + this.entity = entity; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Bearer token to authenticate API requests. Generate it from the 'My Preferences' > 'API Authentication Tokens' page in your Capsule account. + */ + @JsonIgnore + public String bearerToken() { + return bearerToken; + } + + @JsonIgnore + public Entity entity() { + return entity; + } + + @JsonIgnore + public CapsuleCrm sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Bearer token to authenticate API requests. Generate it from the 'My Preferences' > 'API Authentication Tokens' page in your Capsule account. + */ + public SourceCapsuleCrm withBearerToken(String bearerToken) { + Utils.checkNotNull(bearerToken, "bearerToken"); + this.bearerToken = bearerToken; + return this; + } + + public SourceCapsuleCrm withEntity(Entity entity) { + Utils.checkNotNull(entity, "entity"); + this.entity = entity; + return this; + } + + public SourceCapsuleCrm withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCapsuleCrm other = (SourceCapsuleCrm) o; + return + Objects.deepEquals(this.bearerToken, other.bearerToken) && + Objects.deepEquals(this.entity, other.entity) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + bearerToken, + entity, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceCapsuleCrm.class, + "bearerToken", bearerToken, + "entity", entity, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String bearerToken; + + private Entity entity; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Bearer token to authenticate API requests. Generate it from the 'My Preferences' > 'API Authentication Tokens' page in your Capsule account. + */ + public Builder bearerToken(String bearerToken) { + Utils.checkNotNull(bearerToken, "bearerToken"); + this.bearerToken = bearerToken; + return this; + } + + public Builder entity(Entity entity) { + Utils.checkNotNull(entity, "entity"); + this.entity = entity; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceCapsuleCrm build() { + return new SourceCapsuleCrm( + bearerToken, + entity, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"capsule-crm\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCareQualityCommission.java b/src/main/java/com/airbyte/api/models/shared/SourceCareQualityCommission.java new file mode 100644 index 000000000..38bfdef52 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCareQualityCommission.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceCareQualityCommission { + + /** + * Your CQC Primary Key. See https://www.cqc.org.uk/about-us/transparency/using-cqc-data#api for steps to generate one. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private CareQualityCommission sourceType; + + @JsonCreator + public SourceCareQualityCommission( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Your CQC Primary Key. See https://www.cqc.org.uk/about-us/transparency/using-cqc-data#api for steps to generate one. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public CareQualityCommission sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your CQC Primary Key. See https://www.cqc.org.uk/about-us/transparency/using-cqc-data#api for steps to generate one. + */ + public SourceCareQualityCommission withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCareQualityCommission other = (SourceCareQualityCommission) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceCareQualityCommission.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * Your CQC Primary Key. See https://www.cqc.org.uk/about-us/transparency/using-cqc-data#api for steps to generate one. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceCareQualityCommission build() { + return new SourceCareQualityCommission( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"care-quality-commission\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCart.java b/src/main/java/com/airbyte/api/models/shared/SourceCart.java index f954c649c..67fb1c502 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCart.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCart.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceCart { @JsonInclude(Include.NON_ABSENT) @@ -104,14 +105,14 @@ public boolean equals(java.lang.Object o) { } SourceCart other = (SourceCart) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCartAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceCartAuthType.java index ba6c61892..aa5eafe58 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCartAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCartAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceCartAuthType { CENTRAL_API_ROUTER("CENTRAL_API_ROUTER"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCartAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceCartAuthorizationMethod.java index 33b34013b..8727d0901 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCartAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCartAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceCartAuthorizationMethod._Deserializer.class) public class SourceCartAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceCartAuthorizationMethod(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceCartAuthorizationMethod of(SingleStoreAccessToken value) { /** * Returns an instance of one of these types: *

      - *
    • {@code CentralAPIRouter}
    • - *
    • {@code SingleStoreAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.CentralAPIRouter}
    • + *
    • {@code com.airbyte.api.models.shared.SingleStoreAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceCartAuthorizationMethod other = (SourceCartAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceCartAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceCartAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCartSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceCartSchemasAuthType.java index 1f391d4a7..09e209b53 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCartSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCartSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceCartSchemasAuthType { SINGLE_STORE_ACCESS_TOKEN("SINGLE_STORE_ACCESS_TOKEN"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCastorEdc.java b/src/main/java/com/airbyte/api/models/shared/SourceCastorEdc.java new file mode 100644 index 000000000..ff69b0a1b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCastorEdc.java @@ -0,0 +1,272 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceCastorEdc { + + /** + * Visit `https://YOUR_REGION.castoredc.com/account/settings` + */ + @JsonProperty("client_id") + private String clientId; + + /** + * Visit `https://YOUR_REGION.castoredc.com/account/settings` + */ + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private CastorEdc sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * The url region given at time of registration + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("url_region") + private Optional urlRegion; + + @JsonCreator + public SourceCastorEdc( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("url_region") Optional urlRegion) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(urlRegion, "urlRegion"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.urlRegion = urlRegion; + } + + public SourceCastorEdc( + String clientId, + String clientSecret, + OffsetDateTime startDate) { + this(clientId, clientSecret, startDate, Optional.empty()); + } + + /** + * Visit `https://YOUR_REGION.castoredc.com/account/settings` + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * Visit `https://YOUR_REGION.castoredc.com/account/settings` + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public CastorEdc sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * The url region given at time of registration + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional urlRegion() { + return (Optional) urlRegion; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Visit `https://YOUR_REGION.castoredc.com/account/settings` + */ + public SourceCastorEdc withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Visit `https://YOUR_REGION.castoredc.com/account/settings` + */ + public SourceCastorEdc withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceCastorEdc withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * The url region given at time of registration + */ + public SourceCastorEdc withUrlRegion(URLRegion urlRegion) { + Utils.checkNotNull(urlRegion, "urlRegion"); + this.urlRegion = Optional.ofNullable(urlRegion); + return this; + } + + /** + * The url region given at time of registration + */ + public SourceCastorEdc withUrlRegion(Optional urlRegion) { + Utils.checkNotNull(urlRegion, "urlRegion"); + this.urlRegion = urlRegion; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCastorEdc other = (SourceCastorEdc) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.urlRegion, other.urlRegion); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + sourceType, + startDate, + urlRegion); + } + + @Override + public String toString() { + return Utils.toString(SourceCastorEdc.class, + "clientId", clientId, + "clientSecret", clientSecret, + "sourceType", sourceType, + "startDate", startDate, + "urlRegion", urlRegion); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private OffsetDateTime startDate; + + private Optional urlRegion; + + private Builder() { + // force use of static builder() method + } + + /** + * Visit `https://YOUR_REGION.castoredc.com/account/settings` + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Visit `https://YOUR_REGION.castoredc.com/account/settings` + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * The url region given at time of registration + */ + public Builder urlRegion(URLRegion urlRegion) { + Utils.checkNotNull(urlRegion, "urlRegion"); + this.urlRegion = Optional.ofNullable(urlRegion); + return this; + } + + /** + * The url region given at time of registration + */ + public Builder urlRegion(Optional urlRegion) { + Utils.checkNotNull(urlRegion, "urlRegion"); + this.urlRegion = urlRegion; + return this; + } + + public SourceCastorEdc build() { + if (urlRegion == null) { + urlRegion = _SINGLETON_VALUE_UrlRegion.value(); + } return new SourceCastorEdc( + clientId, + clientSecret, + startDate, + urlRegion); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"castor-edc\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_UrlRegion = + new LazySingletonValue<>( + "url_region", + "\"uk\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceChameleon.java b/src/main/java/com/airbyte/api/models/shared/SourceChameleon.java index 7aedb3557..0b0ffc8bd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceChameleon.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceChameleon.java @@ -1,34 +1,37 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceChameleon { @JsonProperty("api_key") private String apiKey; + /** + * End date for incremental sync + */ + @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private OffsetDateTime endDate; + private Optional endDate; /** * Filter for using in the `segments_experiences` stream @@ -42,7 +45,7 @@ public class SourceChameleon { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("limit") - private Optional limit; + private Optional limit; @JsonProperty("sourceType") private Chameleon sourceType; @@ -53,9 +56,9 @@ public class SourceChameleon { @JsonCreator public SourceChameleon( @JsonProperty("api_key") String apiKey, - @JsonProperty("end_date") OffsetDateTime endDate, + @JsonProperty("end_date") Optional endDate, @JsonProperty("filter") Optional filter, - @JsonProperty("limit") Optional limit, + @JsonProperty("limit") Optional limit, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(endDate, "endDate"); @@ -72,9 +75,8 @@ public SourceChameleon( public SourceChameleon( String apiKey, - OffsetDateTime endDate, OffsetDateTime startDate) { - this(apiKey, endDate, Optional.empty(), Optional.empty(), startDate); + this(apiKey, Optional.empty(), Optional.empty(), Optional.empty(), startDate); } @JsonIgnore @@ -82,8 +84,11 @@ public String apiKey() { return apiKey; } + /** + * End date for incremental sync + */ @JsonIgnore - public OffsetDateTime endDate() { + public Optional endDate() { return endDate; } @@ -99,10 +104,9 @@ public Optional filter() { /** * Max records per page limit */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional limit() { - return (Optional) limit; + return limit; } @JsonIgnore @@ -125,7 +129,19 @@ public SourceChameleon withApiKey(String apiKey) { return this; } + /** + * End date for incremental sync + */ public SourceChameleon withEndDate(OffsetDateTime endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * End date for incremental sync + */ + public SourceChameleon withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -161,7 +177,7 @@ public SourceChameleon withLimit(String limit) { /** * Max records per page limit */ - public SourceChameleon withLimit(Optional limit) { + public SourceChameleon withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -183,17 +199,17 @@ public boolean equals(java.lang.Object o) { } SourceChameleon other = (SourceChameleon) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.filter, other.filter) && - java.util.Objects.deepEquals(this.limit, other.limit) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.filter, other.filter) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, endDate, filter, @@ -217,11 +233,11 @@ public final static class Builder { private String apiKey; - private OffsetDateTime endDate; + private Optional endDate = Optional.empty(); private Optional filter; - private Optional limit; + private Optional limit; private OffsetDateTime startDate; @@ -235,7 +251,19 @@ public Builder apiKey(String apiKey) { return this; } + /** + * End date for incremental sync + */ public Builder endDate(OffsetDateTime endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * End date for incremental sync + */ + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -271,7 +299,7 @@ public Builder limit(String limit) { /** * Max records per page limit */ - public Builder limit(Optional limit) { + public Builder limit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -289,8 +317,7 @@ public SourceChameleon build() { } if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); - } - return new SourceChameleon( + } return new SourceChameleon( apiKey, endDate, filter, @@ -304,11 +331,11 @@ public SourceChameleon build() { "\"tour\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = new LazySingletonValue<>( "limit", "\"50\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceChargebee.java b/src/main/java/com/airbyte/api/models/shared/SourceChargebee.java index f62e148c2..2f883f175 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceChargebee.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceChargebee.java @@ -1,29 +1,36 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceChargebee { + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://support.chargebee.com/support/solutions/articles/243576-what-are-the-chargebee-api-limits-">docs</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("num_workers") + private Optional numWorkers; + /** * Product Catalog version of your Chargebee site. Instructions on how to find your version you may find <a href="https://apidocs.chargebee.com/docs/api?prod_cat_ver=2">here</a> under `API Version` section. If left blank, the product catalog version will be set to 2.0. */ @@ -54,14 +61,17 @@ public class SourceChargebee { @JsonCreator public SourceChargebee( + @JsonProperty("num_workers") Optional numWorkers, @JsonProperty("product_catalog") Optional productCatalog, @JsonProperty("site") String site, @JsonProperty("site_api_key") String siteApiKey, @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(numWorkers, "numWorkers"); Utils.checkNotNull(productCatalog, "productCatalog"); Utils.checkNotNull(site, "site"); Utils.checkNotNull(siteApiKey, "siteApiKey"); Utils.checkNotNull(startDate, "startDate"); + this.numWorkers = numWorkers; this.productCatalog = productCatalog; this.site = site; this.siteApiKey = siteApiKey; @@ -73,7 +83,15 @@ public SourceChargebee( String site, String siteApiKey, OffsetDateTime startDate) { - this(Optional.empty(), site, siteApiKey, startDate); + this(Optional.empty(), Optional.empty(), site, siteApiKey, startDate); + } + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://support.chargebee.com/support/solutions/articles/243576-what-are-the-chargebee-api-limits-">docs</a>. + */ + @JsonIgnore + public Optional numWorkers() { + return numWorkers; } /** @@ -118,6 +136,24 @@ public final static Builder builder() { return new Builder(); } + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://support.chargebee.com/support/solutions/articles/243576-what-are-the-chargebee-api-limits-">docs</a>. + */ + public SourceChargebee withNumWorkers(long numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = Optional.ofNullable(numWorkers); + return this; + } + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://support.chargebee.com/support/solutions/articles/243576-what-are-the-chargebee-api-limits-">docs</a>. + */ + public SourceChargebee withNumWorkers(Optional numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = numWorkers; + return this; + } + /** * Product Catalog version of your Chargebee site. Instructions on how to find your version you may find <a href="https://apidocs.chargebee.com/docs/api?prod_cat_ver=2">here</a> under `API Version` section. If left blank, the product catalog version will be set to 2.0. */ @@ -173,16 +209,18 @@ public boolean equals(java.lang.Object o) { } SourceChargebee other = (SourceChargebee) o; return - java.util.Objects.deepEquals(this.productCatalog, other.productCatalog) && - java.util.Objects.deepEquals(this.site, other.site) && - java.util.Objects.deepEquals(this.siteApiKey, other.siteApiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.numWorkers, other.numWorkers) && + Objects.deepEquals(this.productCatalog, other.productCatalog) && + Objects.deepEquals(this.site, other.site) && + Objects.deepEquals(this.siteApiKey, other.siteApiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( + numWorkers, productCatalog, site, siteApiKey, @@ -193,6 +231,7 @@ public int hashCode() { @Override public String toString() { return Utils.toString(SourceChargebee.class, + "numWorkers", numWorkers, "productCatalog", productCatalog, "site", site, "siteApiKey", siteApiKey, @@ -202,6 +241,8 @@ public String toString() { public final static class Builder { + private Optional numWorkers; + private Optional productCatalog; private String site; @@ -214,6 +255,24 @@ private Builder() { // force use of static builder() method } + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://support.chargebee.com/support/solutions/articles/243576-what-are-the-chargebee-api-limits-">docs</a>. + */ + public Builder numWorkers(long numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = Optional.ofNullable(numWorkers); + return this; + } + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://support.chargebee.com/support/solutions/articles/243576-what-are-the-chargebee-api-limits-">docs</a>. + */ + public Builder numWorkers(Optional numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = numWorkers; + return this; + } + /** * Product Catalog version of your Chargebee site. Instructions on how to find your version you may find <a href="https://apidocs.chargebee.com/docs/api?prod_cat_ver=2">here</a> under `API Version` section. If left blank, the product catalog version will be set to 2.0. */ @@ -260,16 +319,25 @@ public Builder startDate(OffsetDateTime startDate) { } public SourceChargebee build() { + if (numWorkers == null) { + numWorkers = _SINGLETON_VALUE_NumWorkers.value(); + } if (productCatalog == null) { productCatalog = _SINGLETON_VALUE_ProductCatalog.value(); - } - return new SourceChargebee( + } return new SourceChargebee( + numWorkers, productCatalog, site, siteApiKey, startDate); } + private static final LazySingletonValue> _SINGLETON_VALUE_NumWorkers = + new LazySingletonValue<>( + "num_workers", + "3", + new TypeReference>() {}); + private static final LazySingletonValue> _SINGLETON_VALUE_ProductCatalog = new LazySingletonValue<>( "product_catalog", diff --git a/src/main/java/com/airbyte/api/models/shared/SourceChargedesk.java b/src/main/java/com/airbyte/api/models/shared/SourceChargedesk.java new file mode 100644 index 000000000..6373f966a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceChargedesk.java @@ -0,0 +1,220 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceChargedesk { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Chargedesk sourceType; + + /** + * Date from when the sync should start in epoch Unix timestamp + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceChargedesk( + @JsonProperty("password") Optional password, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.username = username; + } + + public SourceChargedesk( + String username) { + this(Optional.empty(), Optional.empty(), username); + } + + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Chargedesk sourceType() { + return sourceType; + } + + /** + * Date from when the sync should start in epoch Unix timestamp + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceChargedesk withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourceChargedesk withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Date from when the sync should start in epoch Unix timestamp + */ + public SourceChargedesk withStartDate(long startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Date from when the sync should start in epoch Unix timestamp + */ + public SourceChargedesk withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceChargedesk withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceChargedesk other = (SourceChargedesk) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + sourceType, + startDate, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceChargedesk.class, + "password", password, + "sourceType", sourceType, + "startDate", startDate, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private Optional startDate = Optional.empty(); + + private String username; + + private Builder() { + // force use of static builder() method + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Date from when the sync should start in epoch Unix timestamp + */ + public Builder startDate(long startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Date from when the sync should start in epoch Unix timestamp + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceChargedesk build() { + return new SourceChargedesk( + password, + startDate, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"chargedesk\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceChargify.java b/src/main/java/com/airbyte/api/models/shared/SourceChargify.java new file mode 100644 index 000000000..d63deaf81 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceChargify.java @@ -0,0 +1,243 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceChargify { + + /** + * Maxio Advanced Billing/Chargify API Key. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * Chargify domain. Normally this domain follows the following format + */ + @JsonProperty("domain") + private String domain; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Chargify sourceType; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceChargify( + @JsonProperty("api_key") String apiKey, + @JsonProperty("domain") String domain, + @JsonProperty("password") Optional password, + @JsonProperty("username") String username) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(domain, "domain"); + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(username, "username"); + this.apiKey = apiKey; + this.domain = domain; + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.username = username; + } + + public SourceChargify( + String apiKey, + String domain, + String username) { + this(apiKey, domain, Optional.empty(), username); + } + + /** + * Maxio Advanced Billing/Chargify API Key. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Chargify domain. Normally this domain follows the following format + */ + @JsonIgnore + public String domain() { + return domain; + } + + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Chargify sourceType() { + return sourceType; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Maxio Advanced Billing/Chargify API Key. + */ + public SourceChargify withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Chargify domain. Normally this domain follows the following format + */ + public SourceChargify withDomain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + public SourceChargify withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourceChargify withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourceChargify withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceChargify other = (SourceChargify) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + domain, + password, + sourceType, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceChargify.class, + "apiKey", apiKey, + "domain", domain, + "password", password, + "sourceType", sourceType, + "username", username); + } + + public final static class Builder { + + private String apiKey; + + private String domain; + + private Optional password = Optional.empty(); + + private String username; + + private Builder() { + // force use of static builder() method + } + + /** + * Maxio Advanced Billing/Chargify API Key. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Chargify domain. Normally this domain follows the following format + */ + public Builder domain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceChargify build() { + return new SourceChargify( + apiKey, + domain, + password, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"chargify\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java b/src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java index d46cd559c..e1909a3c5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceChartmogul.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceChartmogul { @@ -100,14 +98,14 @@ public boolean equals(java.lang.Object o) { } SourceChartmogul other = (SourceChartmogul) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCimis.java b/src/main/java/com/airbyte/api/models/shared/SourceCimis.java index e4a4dea76..28d851bce 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCimis.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCimis.java @@ -1,27 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceCimis { @JsonProperty("api_key") @@ -29,14 +30,14 @@ public class SourceCimis { @JsonInclude(Include.NON_ABSENT) @JsonProperty("daily_data_items") - private Optional> dailyDataItems; + private Optional> dailyDataItems; @JsonProperty("end_date") private OffsetDateTime endDate; @JsonInclude(Include.NON_ABSENT) @JsonProperty("hourly_data_items") - private Optional> hourlyDataItems; + private Optional> hourlyDataItems; @JsonProperty("sourceType") private Cimis sourceType; @@ -45,7 +46,7 @@ public class SourceCimis { private OffsetDateTime startDate; @JsonProperty("targets") - private java.util.List targets; + private List targets; @JsonProperty("targets_type") private TargetsType targetsType; @@ -57,11 +58,11 @@ public class SourceCimis { @JsonCreator public SourceCimis( @JsonProperty("api_key") String apiKey, - @JsonProperty("daily_data_items") Optional> dailyDataItems, + @JsonProperty("daily_data_items") Optional> dailyDataItems, @JsonProperty("end_date") OffsetDateTime endDate, - @JsonProperty("hourly_data_items") Optional> hourlyDataItems, + @JsonProperty("hourly_data_items") Optional> hourlyDataItems, @JsonProperty("start_date") OffsetDateTime startDate, - @JsonProperty("targets") java.util.List targets, + @JsonProperty("targets") List targets, @JsonProperty("targets_type") TargetsType targetsType, @JsonProperty("unit_of_measure") Optional unitOfMeasure) { Utils.checkNotNull(apiKey, "apiKey"); @@ -87,7 +88,7 @@ public SourceCimis( String apiKey, OffsetDateTime endDate, OffsetDateTime startDate, - java.util.List targets, + List targets, TargetsType targetsType) { this(apiKey, Optional.empty(), endDate, Optional.empty(), startDate, targets, targetsType, Optional.empty()); } @@ -99,8 +100,8 @@ public String apiKey() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional> dailyDataItems() { - return (Optional>) dailyDataItems; + public Optional> dailyDataItems() { + return (Optional>) dailyDataItems; } @JsonIgnore @@ -110,8 +111,8 @@ public OffsetDateTime endDate() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional> hourlyDataItems() { - return (Optional>) hourlyDataItems; + public Optional> hourlyDataItems() { + return (Optional>) hourlyDataItems; } @JsonIgnore @@ -125,7 +126,7 @@ public OffsetDateTime startDate() { } @JsonIgnore - public java.util.List targets() { + public List targets() { return targets; } @@ -150,13 +151,13 @@ public SourceCimis withApiKey(String apiKey) { return this; } - public SourceCimis withDailyDataItems(java.util.List dailyDataItems) { + public SourceCimis withDailyDataItems(List dailyDataItems) { Utils.checkNotNull(dailyDataItems, "dailyDataItems"); this.dailyDataItems = Optional.ofNullable(dailyDataItems); return this; } - public SourceCimis withDailyDataItems(Optional> dailyDataItems) { + public SourceCimis withDailyDataItems(Optional> dailyDataItems) { Utils.checkNotNull(dailyDataItems, "dailyDataItems"); this.dailyDataItems = dailyDataItems; return this; @@ -168,13 +169,13 @@ public SourceCimis withEndDate(OffsetDateTime endDate) { return this; } - public SourceCimis withHourlyDataItems(java.util.List hourlyDataItems) { + public SourceCimis withHourlyDataItems(List hourlyDataItems) { Utils.checkNotNull(hourlyDataItems, "hourlyDataItems"); this.hourlyDataItems = Optional.ofNullable(hourlyDataItems); return this; } - public SourceCimis withHourlyDataItems(Optional> hourlyDataItems) { + public SourceCimis withHourlyDataItems(Optional> hourlyDataItems) { Utils.checkNotNull(hourlyDataItems, "hourlyDataItems"); this.hourlyDataItems = hourlyDataItems; return this; @@ -186,7 +187,7 @@ public SourceCimis withStartDate(OffsetDateTime startDate) { return this; } - public SourceCimis withTargets(java.util.List targets) { + public SourceCimis withTargets(List targets) { Utils.checkNotNull(targets, "targets"); this.targets = targets; return this; @@ -220,20 +221,20 @@ public boolean equals(java.lang.Object o) { } SourceCimis other = (SourceCimis) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.dailyDataItems, other.dailyDataItems) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.hourlyDataItems, other.hourlyDataItems) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.targets, other.targets) && - java.util.Objects.deepEquals(this.targetsType, other.targetsType) && - java.util.Objects.deepEquals(this.unitOfMeasure, other.unitOfMeasure); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.dailyDataItems, other.dailyDataItems) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.hourlyDataItems, other.hourlyDataItems) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.targets, other.targets) && + Objects.deepEquals(this.targetsType, other.targetsType) && + Objects.deepEquals(this.unitOfMeasure, other.unitOfMeasure); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, dailyDataItems, endDate, @@ -263,15 +264,15 @@ public final static class Builder { private String apiKey; - private Optional> dailyDataItems = Optional.empty(); + private Optional> dailyDataItems = Optional.empty(); private OffsetDateTime endDate; - private Optional> hourlyDataItems = Optional.empty(); + private Optional> hourlyDataItems = Optional.empty(); private OffsetDateTime startDate; - private java.util.List targets; + private List targets; private TargetsType targetsType; @@ -287,13 +288,13 @@ public Builder apiKey(String apiKey) { return this; } - public Builder dailyDataItems(java.util.List dailyDataItems) { + public Builder dailyDataItems(List dailyDataItems) { Utils.checkNotNull(dailyDataItems, "dailyDataItems"); this.dailyDataItems = Optional.ofNullable(dailyDataItems); return this; } - public Builder dailyDataItems(Optional> dailyDataItems) { + public Builder dailyDataItems(Optional> dailyDataItems) { Utils.checkNotNull(dailyDataItems, "dailyDataItems"); this.dailyDataItems = dailyDataItems; return this; @@ -305,13 +306,13 @@ public Builder endDate(OffsetDateTime endDate) { return this; } - public Builder hourlyDataItems(java.util.List hourlyDataItems) { + public Builder hourlyDataItems(List hourlyDataItems) { Utils.checkNotNull(hourlyDataItems, "hourlyDataItems"); this.hourlyDataItems = Optional.ofNullable(hourlyDataItems); return this; } - public Builder hourlyDataItems(Optional> hourlyDataItems) { + public Builder hourlyDataItems(Optional> hourlyDataItems) { Utils.checkNotNull(hourlyDataItems, "hourlyDataItems"); this.hourlyDataItems = hourlyDataItems; return this; @@ -323,7 +324,7 @@ public Builder startDate(OffsetDateTime startDate) { return this; } - public Builder targets(java.util.List targets) { + public Builder targets(List targets) { Utils.checkNotNull(targets, "targets"); this.targets = targets; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCin7.java b/src/main/java/com/airbyte/api/models/shared/SourceCin7.java new file mode 100644 index 000000000..de8f9efb1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCin7.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceCin7 { + + /** + * The ID associated with your account. + */ + @JsonProperty("accountid") + private String accountid; + + /** + * The API key associated with your account. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Cin7 sourceType; + + @JsonCreator + public SourceCin7( + @JsonProperty("accountid") String accountid, + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(accountid, "accountid"); + Utils.checkNotNull(apiKey, "apiKey"); + this.accountid = accountid; + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * The ID associated with your account. + */ + @JsonIgnore + public String accountid() { + return accountid; + } + + /** + * The API key associated with your account. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Cin7 sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The ID associated with your account. + */ + public SourceCin7 withAccountid(String accountid) { + Utils.checkNotNull(accountid, "accountid"); + this.accountid = accountid; + return this; + } + + /** + * The API key associated with your account. + */ + public SourceCin7 withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCin7 other = (SourceCin7) o; + return + Objects.deepEquals(this.accountid, other.accountid) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + accountid, + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceCin7.class, + "accountid", accountid, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String accountid; + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * The ID associated with your account. + */ + public Builder accountid(String accountid) { + Utils.checkNotNull(accountid, "accountid"); + this.accountid = accountid; + return this; + } + + /** + * The API key associated with your account. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceCin7 build() { + return new SourceCin7( + accountid, + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"cin7\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCirca.java b/src/main/java/com/airbyte/api/models/shared/SourceCirca.java new file mode 100644 index 000000000..be4174616 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCirca.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceCirca { + + /** + * API key to use. Find it at https://app.circa.co/settings/integrations/api + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Circa sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceCirca( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API key to use. Find it at https://app.circa.co/settings/integrations/api + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Circa sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://app.circa.co/settings/integrations/api + */ + public SourceCirca withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceCirca withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCirca other = (SourceCirca) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceCirca.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://app.circa.co/settings/integrations/api + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceCirca build() { + return new SourceCirca( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"circa\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCircleci.java b/src/main/java/com/airbyte/api/models/shared/SourceCircleci.java new file mode 100644 index 000000000..6ceabe551 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCircleci.java @@ -0,0 +1,489 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceCircleci { + + @JsonProperty("api_key") + private String apiKey; + + /** + * Job ID for fetching information + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("job_id") + private Optional jobId; + + /** + * Job Number of the workflow + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("job_number") + private Optional jobNumber; + + /** + * The org ID found in `https://app.circleci.com/settings/organization/circleci/xxxxx/overview` + */ + @JsonProperty("org_id") + private String orgId; + + /** + * Project ID found in the project settings + */ + @JsonProperty("project_id") + private String projectId; + + @JsonProperty("sourceType") + private Circleci sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * workflow ID of a project pipeline + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("workflow_id") + private Optional workflowId; + + /** + * Workflow name for fetching information + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("workflow_name") + private Optional workflowName; + + @JsonCreator + public SourceCircleci( + @JsonProperty("api_key") String apiKey, + @JsonProperty("job_id") Optional jobId, + @JsonProperty("job_number") Optional jobNumber, + @JsonProperty("org_id") String orgId, + @JsonProperty("project_id") String projectId, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("workflow_id") Optional workflowId, + @JsonProperty("workflow_name") Optional workflowName) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(jobId, "jobId"); + Utils.checkNotNull(jobNumber, "jobNumber"); + Utils.checkNotNull(orgId, "orgId"); + Utils.checkNotNull(projectId, "projectId"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(workflowId, "workflowId"); + Utils.checkNotNull(workflowName, "workflowName"); + this.apiKey = apiKey; + this.jobId = jobId; + this.jobNumber = jobNumber; + this.orgId = orgId; + this.projectId = projectId; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.workflowId = workflowId; + this.workflowName = workflowName; + } + + public SourceCircleci( + String apiKey, + String orgId, + String projectId, + OffsetDateTime startDate) { + this(apiKey, Optional.empty(), Optional.empty(), orgId, projectId, startDate, Optional.empty(), Optional.empty()); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Job ID for fetching information + */ + @JsonIgnore + public Optional jobId() { + return jobId; + } + + /** + * Job Number of the workflow + */ + @JsonIgnore + public Optional jobNumber() { + return jobNumber; + } + + /** + * The org ID found in `https://app.circleci.com/settings/organization/circleci/xxxxx/overview` + */ + @JsonIgnore + public String orgId() { + return orgId; + } + + /** + * Project ID found in the project settings + */ + @JsonIgnore + public String projectId() { + return projectId; + } + + @JsonIgnore + public Circleci sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * workflow ID of a project pipeline + */ + @JsonIgnore + public Optional workflowId() { + return workflowId; + } + + /** + * Workflow name for fetching information + */ + @JsonIgnore + public Optional workflowName() { + return workflowName; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceCircleci withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Job ID for fetching information + */ + public SourceCircleci withJobId(String jobId) { + Utils.checkNotNull(jobId, "jobId"); + this.jobId = Optional.ofNullable(jobId); + return this; + } + + /** + * Job ID for fetching information + */ + public SourceCircleci withJobId(Optional jobId) { + Utils.checkNotNull(jobId, "jobId"); + this.jobId = jobId; + return this; + } + + /** + * Job Number of the workflow + */ + public SourceCircleci withJobNumber(String jobNumber) { + Utils.checkNotNull(jobNumber, "jobNumber"); + this.jobNumber = Optional.ofNullable(jobNumber); + return this; + } + + /** + * Job Number of the workflow + */ + public SourceCircleci withJobNumber(Optional jobNumber) { + Utils.checkNotNull(jobNumber, "jobNumber"); + this.jobNumber = jobNumber; + return this; + } + + /** + * The org ID found in `https://app.circleci.com/settings/organization/circleci/xxxxx/overview` + */ + public SourceCircleci withOrgId(String orgId) { + Utils.checkNotNull(orgId, "orgId"); + this.orgId = orgId; + return this; + } + + /** + * Project ID found in the project settings + */ + public SourceCircleci withProjectId(String projectId) { + Utils.checkNotNull(projectId, "projectId"); + this.projectId = projectId; + return this; + } + + public SourceCircleci withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * workflow ID of a project pipeline + */ + public SourceCircleci withWorkflowId(String workflowId) { + Utils.checkNotNull(workflowId, "workflowId"); + this.workflowId = Optional.ofNullable(workflowId); + return this; + } + + /** + * workflow ID of a project pipeline + */ + public SourceCircleci withWorkflowId(Optional workflowId) { + Utils.checkNotNull(workflowId, "workflowId"); + this.workflowId = workflowId; + return this; + } + + /** + * Workflow name for fetching information + */ + public SourceCircleci withWorkflowName(String workflowName) { + Utils.checkNotNull(workflowName, "workflowName"); + this.workflowName = Optional.ofNullable(workflowName); + return this; + } + + /** + * Workflow name for fetching information + */ + public SourceCircleci withWorkflowName(Optional workflowName) { + Utils.checkNotNull(workflowName, "workflowName"); + this.workflowName = workflowName; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCircleci other = (SourceCircleci) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.jobId, other.jobId) && + Objects.deepEquals(this.jobNumber, other.jobNumber) && + Objects.deepEquals(this.orgId, other.orgId) && + Objects.deepEquals(this.projectId, other.projectId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.workflowId, other.workflowId) && + Objects.deepEquals(this.workflowName, other.workflowName); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + jobId, + jobNumber, + orgId, + projectId, + sourceType, + startDate, + workflowId, + workflowName); + } + + @Override + public String toString() { + return Utils.toString(SourceCircleci.class, + "apiKey", apiKey, + "jobId", jobId, + "jobNumber", jobNumber, + "orgId", orgId, + "projectId", projectId, + "sourceType", sourceType, + "startDate", startDate, + "workflowId", workflowId, + "workflowName", workflowName); + } + + public final static class Builder { + + private String apiKey; + + private Optional jobId = Optional.empty(); + + private Optional jobNumber; + + private String orgId; + + private String projectId; + + private OffsetDateTime startDate; + + private Optional workflowId = Optional.empty(); + + private Optional workflowName; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Job ID for fetching information + */ + public Builder jobId(String jobId) { + Utils.checkNotNull(jobId, "jobId"); + this.jobId = Optional.ofNullable(jobId); + return this; + } + + /** + * Job ID for fetching information + */ + public Builder jobId(Optional jobId) { + Utils.checkNotNull(jobId, "jobId"); + this.jobId = jobId; + return this; + } + + /** + * Job Number of the workflow + */ + public Builder jobNumber(String jobNumber) { + Utils.checkNotNull(jobNumber, "jobNumber"); + this.jobNumber = Optional.ofNullable(jobNumber); + return this; + } + + /** + * Job Number of the workflow + */ + public Builder jobNumber(Optional jobNumber) { + Utils.checkNotNull(jobNumber, "jobNumber"); + this.jobNumber = jobNumber; + return this; + } + + /** + * The org ID found in `https://app.circleci.com/settings/organization/circleci/xxxxx/overview` + */ + public Builder orgId(String orgId) { + Utils.checkNotNull(orgId, "orgId"); + this.orgId = orgId; + return this; + } + + /** + * Project ID found in the project settings + */ + public Builder projectId(String projectId) { + Utils.checkNotNull(projectId, "projectId"); + this.projectId = projectId; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * workflow ID of a project pipeline + */ + public Builder workflowId(String workflowId) { + Utils.checkNotNull(workflowId, "workflowId"); + this.workflowId = Optional.ofNullable(workflowId); + return this; + } + + /** + * workflow ID of a project pipeline + */ + public Builder workflowId(Optional workflowId) { + Utils.checkNotNull(workflowId, "workflowId"); + this.workflowId = workflowId; + return this; + } + + /** + * Workflow name for fetching information + */ + public Builder workflowName(String workflowName) { + Utils.checkNotNull(workflowName, "workflowName"); + this.workflowName = Optional.ofNullable(workflowName); + return this; + } + + /** + * Workflow name for fetching information + */ + public Builder workflowName(Optional workflowName) { + Utils.checkNotNull(workflowName, "workflowName"); + this.workflowName = workflowName; + return this; + } + + public SourceCircleci build() { + if (jobNumber == null) { + jobNumber = _SINGLETON_VALUE_JobNumber.value(); + } + if (workflowName == null) { + workflowName = _SINGLETON_VALUE_WorkflowName.value(); + } return new SourceCircleci( + apiKey, + jobId, + jobNumber, + orgId, + projectId, + startDate, + workflowId, + workflowName); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_JobNumber = + new LazySingletonValue<>( + "job_number", + "\"2\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"circleci\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_WorkflowName = + new LazySingletonValue<>( + "workflow_name", + "\"build-and-test\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClarifAi.java b/src/main/java/com/airbyte/api/models/shared/SourceClarifAi.java new file mode 100644 index 000000000..57f111395 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceClarifAi.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceClarifAi { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private ClarifAi sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * User ID found in settings + */ + @JsonProperty("user_id") + private String userId; + + @JsonCreator + public SourceClarifAi( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("user_id") String userId) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(userId, "userId"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.userId = userId; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public ClarifAi sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * User ID found in settings + */ + @JsonIgnore + public String userId() { + return userId; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceClarifAi withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceClarifAi withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * User ID found in settings + */ + public SourceClarifAi withUserId(String userId) { + Utils.checkNotNull(userId, "userId"); + this.userId = userId; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceClarifAi other = (SourceClarifAi) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.userId, other.userId); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate, + userId); + } + + @Override + public String toString() { + return Utils.toString(SourceClarifAi.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate, + "userId", userId); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private String userId; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * User ID found in settings + */ + public Builder userId(String userId) { + Utils.checkNotNull(userId, "userId"); + this.userId = userId; + return this; + } + + public SourceClarifAi build() { + return new SourceClarifAi( + apiKey, + startDate, + userId); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"clarif-ai\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClazar.java b/src/main/java/com/airbyte/api/models/shared/SourceClazar.java index 1450170be..6e6f0f28a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClazar.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClazar.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceClazar { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceClazar other = (SourceClazar) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java b/src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java index 8f78ce472..5e0a6e87d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickhouse.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceClickhouse { /** @@ -38,21 +41,21 @@ public class SourceClickhouse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * The password associated with this username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * The port of the database. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; @JsonProperty("sourceType") private SourceClickhouseClickhouse sourceType; @@ -62,7 +65,7 @@ public class SourceClickhouse { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl") - private Optional ssl; + private Optional ssl; /** * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -81,10 +84,10 @@ public class SourceClickhouse { public SourceClickhouse( @JsonProperty("database") String database, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, - @JsonProperty("ssl") Optional ssl, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, + @JsonProperty("ssl") Optional ssl, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { Utils.checkNotNull(database, "database"); @@ -132,28 +135,25 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about <a href="https://jdbc.postgresql.org/documentation/head/connect.html">JDBC URL parameters</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * The password associated with this username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * The port of the database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } @JsonIgnore @@ -164,10 +164,9 @@ public SourceClickhouseClickhouse sourceType() { /** * Encrypt data using SSL. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ssl() { - return (Optional) ssl; + return ssl; } /** @@ -221,7 +220,7 @@ public SourceClickhouse withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about <a href="https://jdbc.postgresql.org/documentation/head/connect.html">JDBC URL parameters</a>. */ - public SourceClickhouse withJdbcUrlParams(Optional jdbcUrlParams) { + public SourceClickhouse withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -239,7 +238,7 @@ public SourceClickhouse withPassword(String password) { /** * The password associated with this username. */ - public SourceClickhouse withPassword(Optional password) { + public SourceClickhouse withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -257,7 +256,7 @@ public SourceClickhouse withPort(long port) { /** * The port of the database. */ - public SourceClickhouse withPort(Optional port) { + public SourceClickhouse withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -275,7 +274,7 @@ public SourceClickhouse withSsl(boolean ssl) { /** * Encrypt data using SSL. */ - public SourceClickhouse withSsl(Optional ssl) { + public SourceClickhouse withSsl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -318,20 +317,20 @@ public boolean equals(java.lang.Object o) { } SourceClickhouse other = (SourceClickhouse) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.ssl, other.ssl) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.ssl, other.ssl) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, host, jdbcUrlParams, @@ -363,13 +362,13 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; - private Optional ssl; + private Optional ssl; private Optional tunnelMethod = Optional.empty(); @@ -409,7 +408,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about <a href="https://jdbc.postgresql.org/documentation/head/connect.html">JDBC URL parameters</a>. */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -427,7 +426,7 @@ public Builder password(String password) { /** * The password associated with this username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -445,7 +444,7 @@ public Builder port(long port) { /** * The port of the database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -463,7 +462,7 @@ public Builder ssl(boolean ssl) { /** * Encrypt data using SSL. */ - public Builder ssl(Optional ssl) { + public Builder ssl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -502,8 +501,7 @@ public SourceClickhouse build() { } if (ssl == null) { ssl = _SINGLETON_VALUE_Ssl.value(); - } - return new SourceClickhouse( + } return new SourceClickhouse( database, host, jdbcUrlParams, @@ -514,11 +512,11 @@ public SourceClickhouse build() { username); } - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "8123", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( @@ -526,11 +524,11 @@ public SourceClickhouse build() { "\"clickhouse\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = + private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = new LazySingletonValue<>( "ssl", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouse.java b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouse.java index 6ae4967fa..3cebf8ee9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouse.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseClickhouse.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceClickhouseClickhouse { CLICKHOUSE("clickhouse"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseNoTunnel.java index b055739c4..6a3129f19 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceClickhouseNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceClickhouseNoTunnel other = (SourceClickhouseNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickhousePasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceClickhousePasswordAuthentication.java index a1b61cd2d..70682e59b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickhousePasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickhousePasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceClickhousePasswordAuthentication { /** @@ -38,7 +39,7 @@ public class SourceClickhousePasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class SourceClickhousePasswordAuthentication { @JsonCreator public SourceClickhousePasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public SourceClickhouseSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public SourceClickhousePasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourceClickhousePasswordAuthentication withTunnelPort(Optional tunnelPort) { + public SourceClickhousePasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourceClickhousePasswordAuthentication other = (SourceClickhousePasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public SourceClickhousePasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourceClickhousePasswordAuthentication( + } return new SourceClickhousePasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public SourceClickhousePasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHKeyAuthentication.java index 4ba041ad5..ecaf2da35 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceClickhouseSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class SourceClickhouseSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class SourceClickhouseSSHKeyAuthentication { public SourceClickhouseSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public SourceClickhouseSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public SourceClickhouseSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourceClickhouseSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public SourceClickhouseSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourceClickhouseSSHKeyAuthentication other = (SourceClickhouseSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public SourceClickhouseSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourceClickhouseSSHKeyAuthentication( + } return new SourceClickhouseSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public SourceClickhouseSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHTunnelMethod.java index aa9775149..f583b44ca 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceClickhouseSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceClickhouseSSHTunnelMethod._Deserializer.class) public class SourceClickhouseSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceClickhouseSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceClickhouseSSHTunnelMethod of(SourceClickhousePasswordAuthent /** * Returns an instance of one of these types: *
      - *
    • {@code SourceClickhouseNoTunnel}
    • - *
    • {@code SourceClickhouseSSHKeyAuthentication}
    • - *
    • {@code SourceClickhousePasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceClickhouseNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.SourceClickhouseSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceClickhousePasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceClickhouseSSHTunnelMethod other = (SourceClickhouseSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceClickhouseSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceClickhouseSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethod.java index e2298a70b..1ab0b4027 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceClickhouseSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.java index 357c00c6a..0a76e4081 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceClickhouseSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethod.java index 54faa8a6d..f8b9a09ab 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickhouseTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceClickhouseTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java b/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java index be3a37f13..722d53194 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClickupApi.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceClickupApi { /** @@ -32,7 +33,7 @@ public class SourceClickupApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("include_closed_tasks") - private Optional includeClosedTasks; + private Optional includeClosedTasks; @JsonProperty("sourceType") private ClickupApi sourceType; @@ -40,7 +41,7 @@ public class SourceClickupApi { @JsonCreator public SourceClickupApi( @JsonProperty("api_token") String apiToken, - @JsonProperty("include_closed_tasks") Optional includeClosedTasks) { + @JsonProperty("include_closed_tasks") Optional includeClosedTasks) { Utils.checkNotNull(apiToken, "apiToken"); Utils.checkNotNull(includeClosedTasks, "includeClosedTasks"); this.apiToken = apiToken; @@ -64,10 +65,9 @@ public String apiToken() { /** * Include or exclude closed tasks. By default, they are excluded. See <a https://clickup.com/api/clickupreference/operation/GetTasks/#!in=query&path=include_closed&t=request">here</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeClosedTasks() { - return (Optional) includeClosedTasks; + return includeClosedTasks; } @JsonIgnore @@ -100,7 +100,7 @@ public SourceClickupApi withIncludeClosedTasks(boolean includeClosedTasks) { /** * Include or exclude closed tasks. By default, they are excluded. See <a https://clickup.com/api/clickupreference/operation/GetTasks/#!in=query&path=include_closed&t=request">here</a>. */ - public SourceClickupApi withIncludeClosedTasks(Optional includeClosedTasks) { + public SourceClickupApi withIncludeClosedTasks(Optional includeClosedTasks) { Utils.checkNotNull(includeClosedTasks, "includeClosedTasks"); this.includeClosedTasks = includeClosedTasks; return this; @@ -116,14 +116,14 @@ public boolean equals(java.lang.Object o) { } SourceClickupApi other = (SourceClickupApi) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.includeClosedTasks, other.includeClosedTasks) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.includeClosedTasks, other.includeClosedTasks) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, includeClosedTasks, sourceType); @@ -141,7 +141,7 @@ public final static class Builder { private String apiToken; - private Optional includeClosedTasks; + private Optional includeClosedTasks; private Builder() { // force use of static builder() method @@ -168,7 +168,7 @@ public Builder includeClosedTasks(boolean includeClosedTasks) { /** * Include or exclude closed tasks. By default, they are excluded. See <a https://clickup.com/api/clickupreference/operation/GetTasks/#!in=query&path=include_closed&t=request">here</a>. */ - public Builder includeClosedTasks(Optional includeClosedTasks) { + public Builder includeClosedTasks(Optional includeClosedTasks) { Utils.checkNotNull(includeClosedTasks, "includeClosedTasks"); this.includeClosedTasks = includeClosedTasks; return this; @@ -177,17 +177,16 @@ public Builder includeClosedTasks(Optional includeClosedTasks public SourceClickupApi build() { if (includeClosedTasks == null) { includeClosedTasks = _SINGLETON_VALUE_IncludeClosedTasks.value(); - } - return new SourceClickupApi( + } return new SourceClickupApi( apiToken, includeClosedTasks); } - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeClosedTasks = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeClosedTasks = new LazySingletonValue<>( "include_closed_tasks", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClockify.java b/src/main/java/com/airbyte/api/models/shared/SourceClockify.java index 073df6944..d693b210d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceClockify.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceClockify.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceClockify { /** @@ -32,7 +32,7 @@ public class SourceClockify { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_url") - private Optional apiUrl; + private Optional apiUrl; @JsonProperty("sourceType") private Clockify sourceType; @@ -46,7 +46,7 @@ public class SourceClockify { @JsonCreator public SourceClockify( @JsonProperty("api_key") String apiKey, - @JsonProperty("api_url") Optional apiUrl, + @JsonProperty("api_url") Optional apiUrl, @JsonProperty("workspace_id") String workspaceId) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(apiUrl, "apiUrl"); @@ -74,10 +74,9 @@ public String apiKey() { /** * The URL for the Clockify API. This should only need to be modified if connecting to an enterprise version of Clockify. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiUrl() { - return (Optional) apiUrl; + return apiUrl; } @JsonIgnore @@ -118,7 +117,7 @@ public SourceClockify withApiUrl(String apiUrl) { /** * The URL for the Clockify API. This should only need to be modified if connecting to an enterprise version of Clockify. */ - public SourceClockify withApiUrl(Optional apiUrl) { + public SourceClockify withApiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -143,15 +142,15 @@ public boolean equals(java.lang.Object o) { } SourceClockify other = (SourceClockify) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.apiUrl, other.apiUrl) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiUrl, other.apiUrl) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, apiUrl, sourceType, @@ -171,7 +170,7 @@ public final static class Builder { private String apiKey; - private Optional apiUrl; + private Optional apiUrl; private String workspaceId; @@ -200,7 +199,7 @@ public Builder apiUrl(String apiUrl) { /** * The URL for the Clockify API. This should only need to be modified if connecting to an enterprise version of Clockify. */ - public Builder apiUrl(Optional apiUrl) { + public Builder apiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -218,18 +217,17 @@ public Builder workspaceId(String workspaceId) { public SourceClockify build() { if (apiUrl == null) { apiUrl = _SINGLETON_VALUE_ApiUrl.value(); - } - return new SourceClockify( + } return new SourceClockify( apiKey, apiUrl, workspaceId); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = new LazySingletonValue<>( "api_url", "\"https://api.clockify.me\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceClockodo.java b/src/main/java/com/airbyte/api/models/shared/SourceClockodo.java new file mode 100644 index 000000000..4c8dc7bd5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceClockodo.java @@ -0,0 +1,314 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + + +public class SourceClockodo { + + /** + * API key to use. Find it in the 'Personal data' section of your Clockodo account. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * Your Clockodo account email address. Find it in your Clockodo account settings. + */ + @JsonProperty("email_address") + private String emailAddress; + + /** + * Identification of the calling application, including the email address of a technical contact person. Format: [name of application or company];[email address]. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("external_application") + private Optional externalApplication; + + @JsonProperty("sourceType") + private Clockodo sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * 2024, 2025 + */ + @JsonProperty("years") + private List years; + + @JsonCreator + public SourceClockodo( + @JsonProperty("api_key") String apiKey, + @JsonProperty("email_address") String emailAddress, + @JsonProperty("external_application") Optional externalApplication, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("years") List years) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(emailAddress, "emailAddress"); + Utils.checkNotNull(externalApplication, "externalApplication"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(years, "years"); + this.apiKey = apiKey; + this.emailAddress = emailAddress; + this.externalApplication = externalApplication; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.years = years; + } + + public SourceClockodo( + String apiKey, + String emailAddress, + OffsetDateTime startDate, + List years) { + this(apiKey, emailAddress, Optional.empty(), startDate, years); + } + + /** + * API key to use. Find it in the 'Personal data' section of your Clockodo account. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Your Clockodo account email address. Find it in your Clockodo account settings. + */ + @JsonIgnore + public String emailAddress() { + return emailAddress; + } + + /** + * Identification of the calling application, including the email address of a technical contact person. Format: [name of application or company];[email address]. + */ + @JsonIgnore + public Optional externalApplication() { + return externalApplication; + } + + @JsonIgnore + public Clockodo sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * 2024, 2025 + */ + @JsonIgnore + public List years() { + return years; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it in the 'Personal data' section of your Clockodo account. + */ + public SourceClockodo withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Your Clockodo account email address. Find it in your Clockodo account settings. + */ + public SourceClockodo withEmailAddress(String emailAddress) { + Utils.checkNotNull(emailAddress, "emailAddress"); + this.emailAddress = emailAddress; + return this; + } + + /** + * Identification of the calling application, including the email address of a technical contact person. Format: [name of application or company];[email address]. + */ + public SourceClockodo withExternalApplication(String externalApplication) { + Utils.checkNotNull(externalApplication, "externalApplication"); + this.externalApplication = Optional.ofNullable(externalApplication); + return this; + } + + /** + * Identification of the calling application, including the email address of a technical contact person. Format: [name of application or company];[email address]. + */ + public SourceClockodo withExternalApplication(Optional externalApplication) { + Utils.checkNotNull(externalApplication, "externalApplication"); + this.externalApplication = externalApplication; + return this; + } + + public SourceClockodo withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * 2024, 2025 + */ + public SourceClockodo withYears(List years) { + Utils.checkNotNull(years, "years"); + this.years = years; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceClockodo other = (SourceClockodo) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.emailAddress, other.emailAddress) && + Objects.deepEquals(this.externalApplication, other.externalApplication) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.years, other.years); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + emailAddress, + externalApplication, + sourceType, + startDate, + years); + } + + @Override + public String toString() { + return Utils.toString(SourceClockodo.class, + "apiKey", apiKey, + "emailAddress", emailAddress, + "externalApplication", externalApplication, + "sourceType", sourceType, + "startDate", startDate, + "years", years); + } + + public final static class Builder { + + private String apiKey; + + private String emailAddress; + + private Optional externalApplication; + + private OffsetDateTime startDate; + + private List years; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it in the 'Personal data' section of your Clockodo account. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Your Clockodo account email address. Find it in your Clockodo account settings. + */ + public Builder emailAddress(String emailAddress) { + Utils.checkNotNull(emailAddress, "emailAddress"); + this.emailAddress = emailAddress; + return this; + } + + /** + * Identification of the calling application, including the email address of a technical contact person. Format: [name of application or company];[email address]. + */ + public Builder externalApplication(String externalApplication) { + Utils.checkNotNull(externalApplication, "externalApplication"); + this.externalApplication = Optional.ofNullable(externalApplication); + return this; + } + + /** + * Identification of the calling application, including the email address of a technical contact person. Format: [name of application or company];[email address]. + */ + public Builder externalApplication(Optional externalApplication) { + Utils.checkNotNull(externalApplication, "externalApplication"); + this.externalApplication = externalApplication; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * 2024, 2025 + */ + public Builder years(List years) { + Utils.checkNotNull(years, "years"); + this.years = years; + return this; + } + + public SourceClockodo build() { + if (externalApplication == null) { + externalApplication = _SINGLETON_VALUE_ExternalApplication.value(); + } return new SourceClockodo( + apiKey, + emailAddress, + externalApplication, + startDate, + years); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_ExternalApplication = + new LazySingletonValue<>( + "external_application", + "\"Airbyte\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"clockodo\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java b/src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java index 85526542a..5816a6fbf 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCloseCom.java @@ -1,25 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.Objects; import java.util.Optional; + public class SourceCloseCom { /** @@ -36,12 +36,12 @@ public class SourceCloseCom { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceCloseCom( @JsonProperty("api_key") String apiKey, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(startDate, "startDate"); this.apiKey = apiKey; @@ -70,10 +70,9 @@ public CloseCom sourceType() { /** * The start date to sync data; all data after this date will be replicated. Leave blank to retrieve all the data available in the account. Format: YYYY-MM-DD. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -101,7 +100,7 @@ public SourceCloseCom withStartDate(LocalDate startDate) { /** * The start date to sync data; all data after this date will be replicated. Leave blank to retrieve all the data available in the account. Format: YYYY-MM-DD. */ - public SourceCloseCom withStartDate(Optional startDate) { + public SourceCloseCom withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -117,14 +116,14 @@ public boolean equals(java.lang.Object o) { } SourceCloseCom other = (SourceCloseCom) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate); @@ -142,7 +141,7 @@ public final static class Builder { private String apiKey; - private Optional startDate; + private Optional startDate; private Builder() { // force use of static builder() method @@ -169,7 +168,7 @@ public Builder startDate(LocalDate startDate) { /** * The start date to sync data; all data after this date will be replicated. Leave blank to retrieve all the data available in the account. Format: YYYY-MM-DD. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -178,8 +177,7 @@ public Builder startDate(Optional startDate) { public SourceCloseCom build() { if (startDate == null) { startDate = _SINGLETON_VALUE_StartDate.value(); - } - return new SourceCloseCom( + } return new SourceCloseCom( apiKey, startDate); } @@ -190,11 +188,11 @@ public SourceCloseCom build() { "\"close-com\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2021-01-01\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCloudbeds.java b/src/main/java/com/airbyte/api/models/shared/SourceCloudbeds.java new file mode 100644 index 000000000..a96bddb5e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCloudbeds.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceCloudbeds { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Cloudbeds sourceType; + + @JsonCreator + public SourceCloudbeds( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Cloudbeds sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceCloudbeds withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCloudbeds other = (SourceCloudbeds) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceCloudbeds.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceCloudbeds build() { + return new SourceCloudbeds( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"cloudbeds\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCoassemble.java b/src/main/java/com/airbyte/api/models/shared/SourceCoassemble.java new file mode 100644 index 000000000..0b2b5a13c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCoassemble.java @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceCoassemble { + + @JsonProperty("sourceType") + private Coassemble sourceType; + + @JsonProperty("user_id") + private String userId; + + @JsonProperty("user_token") + private String userToken; + + @JsonCreator + public SourceCoassemble( + @JsonProperty("user_id") String userId, + @JsonProperty("user_token") String userToken) { + Utils.checkNotNull(userId, "userId"); + Utils.checkNotNull(userToken, "userToken"); + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.userId = userId; + this.userToken = userToken; + } + + @JsonIgnore + public Coassemble sourceType() { + return sourceType; + } + + @JsonIgnore + public String userId() { + return userId; + } + + @JsonIgnore + public String userToken() { + return userToken; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceCoassemble withUserId(String userId) { + Utils.checkNotNull(userId, "userId"); + this.userId = userId; + return this; + } + + public SourceCoassemble withUserToken(String userToken) { + Utils.checkNotNull(userToken, "userToken"); + this.userToken = userToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCoassemble other = (SourceCoassemble) o; + return + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.userId, other.userId) && + Objects.deepEquals(this.userToken, other.userToken); + } + + @Override + public int hashCode() { + return Objects.hash( + sourceType, + userId, + userToken); + } + + @Override + public String toString() { + return Utils.toString(SourceCoassemble.class, + "sourceType", sourceType, + "userId", userId, + "userToken", userToken); + } + + public final static class Builder { + + private String userId; + + private String userToken; + + private Builder() { + // force use of static builder() method + } + + public Builder userId(String userId) { + Utils.checkNotNull(userId, "userId"); + this.userId = userId; + return this; + } + + public Builder userToken(String userToken) { + Utils.checkNotNull(userToken, "userToken"); + this.userToken = userToken; + return this; + } + + public SourceCoassemble build() { + return new SourceCoassemble( + userId, + userToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"coassemble\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCoda.java b/src/main/java/com/airbyte/api/models/shared/SourceCoda.java index f82b9391f..d4c2e6e6c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCoda.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCoda.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceCoda { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceCoda other = (SourceCoda) o; return - java.util.Objects.deepEquals(this.authToken, other.authToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.authToken, other.authToken) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authToken, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCodefresh.java b/src/main/java/com/airbyte/api/models/shared/SourceCodefresh.java new file mode 100644 index 000000000..f897a8e66 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCodefresh.java @@ -0,0 +1,266 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + + +public class SourceCodefresh { + + @JsonProperty("account_id") + private String accountId; + + @JsonProperty("api_key") + private String apiKey; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("report_date_range") + private Optional> reportDateRange; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("report_granularity") + private Optional reportGranularity; + + @JsonProperty("sourceType") + private Codefresh sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceCodefresh( + @JsonProperty("account_id") String accountId, + @JsonProperty("api_key") String apiKey, + @JsonProperty("report_date_range") Optional> reportDateRange, + @JsonProperty("report_granularity") Optional reportGranularity, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(accountId, "accountId"); + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(reportDateRange, "reportDateRange"); + Utils.checkNotNull(reportGranularity, "reportGranularity"); + Utils.checkNotNull(startDate, "startDate"); + this.accountId = accountId; + this.apiKey = apiKey; + this.reportDateRange = reportDateRange; + this.reportGranularity = reportGranularity; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceCodefresh( + String accountId, + String apiKey, + OffsetDateTime startDate) { + this(accountId, apiKey, Optional.empty(), Optional.empty(), startDate); + } + + @JsonIgnore + public String accountId() { + return accountId; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> reportDateRange() { + return (Optional>) reportDateRange; + } + + @JsonIgnore + public Optional reportGranularity() { + return reportGranularity; + } + + @JsonIgnore + public Codefresh sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceCodefresh withAccountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + public SourceCodefresh withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceCodefresh withReportDateRange(List reportDateRange) { + Utils.checkNotNull(reportDateRange, "reportDateRange"); + this.reportDateRange = Optional.ofNullable(reportDateRange); + return this; + } + + public SourceCodefresh withReportDateRange(Optional> reportDateRange) { + Utils.checkNotNull(reportDateRange, "reportDateRange"); + this.reportDateRange = reportDateRange; + return this; + } + + public SourceCodefresh withReportGranularity(String reportGranularity) { + Utils.checkNotNull(reportGranularity, "reportGranularity"); + this.reportGranularity = Optional.ofNullable(reportGranularity); + return this; + } + + public SourceCodefresh withReportGranularity(Optional reportGranularity) { + Utils.checkNotNull(reportGranularity, "reportGranularity"); + this.reportGranularity = reportGranularity; + return this; + } + + public SourceCodefresh withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCodefresh other = (SourceCodefresh) o; + return + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.reportDateRange, other.reportDateRange) && + Objects.deepEquals(this.reportGranularity, other.reportGranularity) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accountId, + apiKey, + reportDateRange, + reportGranularity, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceCodefresh.class, + "accountId", accountId, + "apiKey", apiKey, + "reportDateRange", reportDateRange, + "reportGranularity", reportGranularity, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accountId; + + private String apiKey; + + private Optional> reportDateRange = Optional.empty(); + + private Optional reportGranularity = Optional.empty(); + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder accountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder reportDateRange(List reportDateRange) { + Utils.checkNotNull(reportDateRange, "reportDateRange"); + this.reportDateRange = Optional.ofNullable(reportDateRange); + return this; + } + + public Builder reportDateRange(Optional> reportDateRange) { + Utils.checkNotNull(reportDateRange, "reportDateRange"); + this.reportDateRange = reportDateRange; + return this; + } + + public Builder reportGranularity(String reportGranularity) { + Utils.checkNotNull(reportGranularity, "reportGranularity"); + this.reportGranularity = Optional.ofNullable(reportGranularity); + return this; + } + + public Builder reportGranularity(Optional reportGranularity) { + Utils.checkNotNull(reportGranularity, "reportGranularity"); + this.reportGranularity = reportGranularity; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceCodefresh build() { + return new SourceCodefresh( + accountId, + apiKey, + reportDateRange, + reportGranularity, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"codefresh\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java b/src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java index 625d713ad..1d92d655f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCoinApi.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceCoinApi { /** @@ -35,7 +37,7 @@ public class SourceCoinApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * The environment to use. Either sandbox or production. @@ -53,7 +55,7 @@ public class SourceCoinApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("limit") - private Optional limit; + private Optional limit; /** * The period to use. See the documentation for a list. https://docs.coinapi.io/#list-all-periods-get @@ -81,9 +83,9 @@ public class SourceCoinApi { @JsonCreator public SourceCoinApi( @JsonProperty("api_key") String apiKey, - @JsonProperty("end_date") Optional endDate, + @JsonProperty("end_date") Optional endDate, @JsonProperty("environment") Optional environment, - @JsonProperty("limit") Optional limit, + @JsonProperty("limit") Optional limit, @JsonProperty("period") String period, @JsonProperty("start_date") String startDate, @JsonProperty("symbol_id") String symbolId) { @@ -126,10 +128,9 @@ public String apiKey() { * elements reaches its limit. * */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** @@ -148,10 +149,9 @@ public Optional environment() { * request for pricing purposes. Maximum value is 100000. * */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional limit() { - return (Optional) limit; + return limit; } /** @@ -216,7 +216,7 @@ public SourceCoinApi withEndDate(String endDate) { * elements reaches its limit. * */ - public SourceCoinApi withEndDate(Optional endDate) { + public SourceCoinApi withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -260,7 +260,7 @@ public SourceCoinApi withLimit(long limit) { * request for pricing purposes. Maximum value is 100000. * */ - public SourceCoinApi withLimit(Optional limit) { + public SourceCoinApi withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -305,19 +305,19 @@ public boolean equals(java.lang.Object o) { } SourceCoinApi other = (SourceCoinApi) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.environment, other.environment) && - java.util.Objects.deepEquals(this.limit, other.limit) && - java.util.Objects.deepEquals(this.period, other.period) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.symbolId, other.symbolId); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.environment, other.environment) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.period, other.period) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.symbolId, other.symbolId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, endDate, environment, @@ -345,11 +345,11 @@ public final static class Builder { private String apiKey; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); private Optional environment; - private Optional limit; + private Optional limit; private String period; @@ -388,7 +388,7 @@ public Builder endDate(String endDate) { * elements reaches its limit. * */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -432,7 +432,7 @@ public Builder limit(long limit) { * request for pricing purposes. Maximum value is 100000. * */ - public Builder limit(Optional limit) { + public Builder limit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -473,8 +473,7 @@ public SourceCoinApi build() { } if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); - } - return new SourceCoinApi( + } return new SourceCoinApi( apiKey, endDate, environment, @@ -490,11 +489,11 @@ public SourceCoinApi build() { "\"sandbox\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = new LazySingletonValue<>( "limit", "100", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java b/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java index b26e3e221..b095d36f5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCoinmarketcap.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceCoinmarketcap { /** @@ -41,13 +43,13 @@ public class SourceCoinmarketcap { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("symbols") - private Optional> symbols; + private Optional> symbols; @JsonCreator public SourceCoinmarketcap( @JsonProperty("api_key") String apiKey, @JsonProperty("data_type") DataType dataType, - @JsonProperty("symbols") Optional> symbols) { + @JsonProperty("symbols") Optional> symbols) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(dataType, "dataType"); Utils.checkNotNull(symbols, "symbols"); @@ -89,8 +91,8 @@ public Coinmarketcap sourceType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> symbols() { - return (Optional>) symbols; + public Optional> symbols() { + return (Optional>) symbols; } public final static Builder builder() { @@ -118,7 +120,7 @@ public SourceCoinmarketcap withDataType(DataType dataType) { /** * Cryptocurrency symbols. (only used for quotes stream) */ - public SourceCoinmarketcap withSymbols(java.util.List symbols) { + public SourceCoinmarketcap withSymbols(List symbols) { Utils.checkNotNull(symbols, "symbols"); this.symbols = Optional.ofNullable(symbols); return this; @@ -127,7 +129,7 @@ public SourceCoinmarketcap withSymbols(java.util.List symbols) { /** * Cryptocurrency symbols. (only used for quotes stream) */ - public SourceCoinmarketcap withSymbols(Optional> symbols) { + public SourceCoinmarketcap withSymbols(Optional> symbols) { Utils.checkNotNull(symbols, "symbols"); this.symbols = symbols; return this; @@ -143,15 +145,15 @@ public boolean equals(java.lang.Object o) { } SourceCoinmarketcap other = (SourceCoinmarketcap) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.dataType, other.dataType) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.symbols, other.symbols); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.dataType, other.dataType) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.symbols, other.symbols); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, dataType, sourceType, @@ -173,7 +175,7 @@ public final static class Builder { private DataType dataType; - private Optional> symbols = Optional.empty(); + private Optional> symbols = Optional.empty(); private Builder() { // force use of static builder() method @@ -200,7 +202,7 @@ public Builder dataType(DataType dataType) { /** * Cryptocurrency symbols. (only used for quotes stream) */ - public Builder symbols(java.util.List symbols) { + public Builder symbols(List symbols) { Utils.checkNotNull(symbols, "symbols"); this.symbols = Optional.ofNullable(symbols); return this; @@ -209,7 +211,7 @@ public Builder symbols(java.util.List symbols) { /** * Cryptocurrency symbols. (only used for quotes stream) */ - public Builder symbols(Optional> symbols) { + public Builder symbols(Optional> symbols) { Utils.checkNotNull(symbols, "symbols"); this.symbols = symbols; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConcord.java b/src/main/java/com/airbyte/api/models/shared/SourceConcord.java new file mode 100644 index 000000000..854c9682b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceConcord.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceConcord { + + @JsonProperty("api_key") + private String apiKey; + + /** + * The environment from where you want to access the API. + */ + @JsonProperty("env") + private SourceConcordEnvironment env; + + @JsonProperty("sourceType") + private Concord sourceType; + + @JsonCreator + public SourceConcord( + @JsonProperty("api_key") String apiKey, + @JsonProperty("env") SourceConcordEnvironment env) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(env, "env"); + this.apiKey = apiKey; + this.env = env; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The environment from where you want to access the API. + */ + @JsonIgnore + public SourceConcordEnvironment env() { + return env; + } + + @JsonIgnore + public Concord sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceConcord withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The environment from where you want to access the API. + */ + public SourceConcord withEnv(SourceConcordEnvironment env) { + Utils.checkNotNull(env, "env"); + this.env = env; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceConcord other = (SourceConcord) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.env, other.env) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + env, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceConcord.class, + "apiKey", apiKey, + "env", env, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private SourceConcordEnvironment env; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The environment from where you want to access the API. + */ + public Builder env(SourceConcordEnvironment env) { + Utils.checkNotNull(env, "env"); + this.env = env; + return this; + } + + public SourceConcord build() { + return new SourceConcord( + apiKey, + env); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"concord\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConcordEnvironment.java b/src/main/java/com/airbyte/api/models/shared/SourceConcordEnvironment.java new file mode 100644 index 000000000..9bd45eb49 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceConcordEnvironment.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceConcordEnvironment - The environment from where you want to access the API. + */ +public enum SourceConcordEnvironment { + UAT("uat"), + API("api"); + + @JsonValue + private final String value; + + private SourceConcordEnvironment(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java b/src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java index 36f58770d..a12bea23e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceConfigcat.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceConfigcat { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceConfigcat other = (SourceConfigcat) o; return - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( password, sourceType, username); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java b/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java index 9d490acc0..ed87858e0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceConfiguration.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceConfiguration - The values required to configure the source. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceConfiguration._Deserializer.class) public class SourceConfiguration { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceConfiguration(TypedObject value) { @@ -45,6 +42,16 @@ public static SourceConfiguration of(Source7shifts value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceActivecampaign value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceAgilecrm value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceAirbyte value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -60,6 +67,16 @@ public static SourceConfiguration of(SourceAirtable value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceAkeneo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceAlgolia value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceAmazonAds value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -100,11 +117,26 @@ public static SourceConfiguration of(SourceAppfollow value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceAppleSearchAds value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceApptivo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceAsana value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceAshby value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceAuth0 value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -135,6 +167,16 @@ public static SourceConfiguration of(SourceBasecamp value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceBeamer value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceBigmailer value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceBigquery value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -150,6 +192,16 @@ public static SourceConfiguration of(SourceBitly value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceBlogger value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceBox value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceBraintree value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -170,31 +222,81 @@ public static SourceConfiguration of(SourceBrevo value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceBrex value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceBugsnag value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceBuildkite value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceBunnyInc value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceBuzzsprout value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceCalCom value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceCalendly value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceCallrail value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceCampaignMonitor value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceCampayn value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceCanny value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceCapsuleCrm value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceCareQualityCommission value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceCart value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceCastorEdc value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceChameleon value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -205,6 +307,16 @@ public static SourceConfiguration of(SourceChargebee value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceChargedesk value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceChargify value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceChartmogul value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -215,6 +327,26 @@ public static SourceConfiguration of(SourceCimis value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceCin7 value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceCirca value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceCircleci value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceClarifAi value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceClazar value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -235,16 +367,36 @@ public static SourceConfiguration of(SourceClockify value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceClockodo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceCloseCom value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceCloudbeds value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceCoassemble value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceCoda value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceCodefresh value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceCoinApi value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -255,6 +407,11 @@ public static SourceConfiguration of(SourceCoinmarketcap value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceConcord value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceConfigcat value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -265,11 +422,26 @@ public static SourceConfiguration of(SourceConfluence value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceConvertkit value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceConvex value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceCopper value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceCountercyclical value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceCustomerIo value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -295,6 +467,11 @@ public static SourceConfiguration of(SourceDelighted value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceDeputy value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceDixa value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -310,16 +487,76 @@ public static SourceConfiguration of(SourceDremio value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceDrift value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceDrip value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceDropboxSign value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceDynamodb value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceEConomic value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceEasypost value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceEasypromos value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceElasticemail value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceEmailoctopus value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceEmploymentHero value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceEncharge value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceEventbrite value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceEventee value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceEventzilla value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceExchangeRates value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -335,6 +572,11 @@ public static SourceConfiguration of(SourceFacebookMarketing value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceFactorial value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceFaker value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -350,21 +592,96 @@ public static SourceConfiguration of(SourceFile value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceFillout value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFinage value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFinancialModelling value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFinnhub value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFinnworlds value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceFirebolt value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceFirehydrant value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceFleetio value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceFlexmail value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFlexport value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFloat value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFlowlu value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFormbricks value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFreeAgentConnector value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFreightview value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceFreshbooks value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceFreshcaller value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceFreshchat value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceFreshdesk value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -375,11 +692,21 @@ public static SourceConfiguration of(SourceFreshsales value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceFreshservice value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceFront value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceFulcrum value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceGainsightPx value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -390,11 +717,21 @@ public static SourceConfiguration of(SourceGcs value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceGetgist value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceGetlago value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceGitbook value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceGithub value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -410,16 +747,31 @@ public static SourceConfiguration of(SourceGlassfrog value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceGmail value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceGnews value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceGocardless value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceGoldcast value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceGong value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceGoogleAds value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -430,6 +782,16 @@ public static SourceConfiguration of(SourceGoogleAnalyticsDataApi value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceGoogleCalendar value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceGoogleClassroom value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceGoogleDirectory value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -440,6 +802,11 @@ public static SourceConfiguration of(SourceGoogleDrive value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceGoogleForms value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceGooglePagespeedInsights value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -465,6 +832,11 @@ public static SourceConfiguration of(SourceGoogleWebfonts value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceGorgias value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceGreenhouse value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -480,6 +852,11 @@ public static SourceConfiguration of(SourceGuru value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceGutendex value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceHardcodedRecords value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -515,6 +892,26 @@ public static SourceConfiguration of(SourceHubspot value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceHumanitix value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceIlluminaBasespace value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceIncidentIo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceInflowinventory value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceInsightly value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -535,6 +932,16 @@ public static SourceConfiguration of(SourceIntercom value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceInvoiced value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceInvoiceninja value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceIp2whois value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -550,21 +957,56 @@ public static SourceConfiguration of(SourceJira value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceJobnimbus value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceJotform value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceJustSift value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceJustcall value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceK6Cloud value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceKatana value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceKisi value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceKissmetrics value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceKlarna value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceKlausApi value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceKlaviyo value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -590,11 +1032,21 @@ public static SourceConfiguration of(SourceLemlist value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceLessAnnoyingCrm value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceLeverHiring value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceLightspeedRetail value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceLinkedinAds value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -610,6 +1062,11 @@ public static SourceConfiguration of(SourceLinnworks value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceLob value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceLokalise value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -630,26 +1087,71 @@ public static SourceConfiguration of(SourceMailchimp value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceMailerlite value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceMailgun value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceMailjetMail value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceMailjetSms value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceMailosaur value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceMailtrap value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceMarketo value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceMarketstack value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceMention value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceMetabase value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceMicrosoftDataverse value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceMicrosoftEntraId value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceMicrosoftLists value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceMicrosoftOnedrive value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -665,11 +1167,31 @@ public static SourceConfiguration of(SourceMicrosoftTeams value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceMiro value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceMissive value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceMixmax value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceMixpanel value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceMode value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceMonday value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -685,6 +1207,11 @@ public static SourceConfiguration of(SourceMssql value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceMux value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceMyHours value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -695,11 +1222,36 @@ public static SourceConfiguration of(SourceMysql value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceN8n value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceNasa value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceNetsuite value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceNewsApi value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceNewsdataIo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceNocrm value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceNorthpassLms value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -710,6 +1262,11 @@ public static SourceConfiguration of(SourceNotion value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceNutshell value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceNylas value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -730,11 +1287,56 @@ public static SourceConfiguration of(SourceOmnisend value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceOncehub value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceOnepagecrm value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceOnesignal value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceOnfleet value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceOpenDataDc value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceOpenaq value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceOpenfda value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceOpenweather value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceOpinionStage value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceOpsgenie value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceOracle value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -750,6 +1352,11 @@ public static SourceConfiguration of(SourceOrbit value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceOura value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceOutbrainAmplify value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -760,6 +1367,36 @@ public static SourceConfiguration of(SourceOutreach value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceOveit value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourcePabblySubscriptionsBilling value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourcePandadoc value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourcePaperform value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourcePapersign value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourcePardot value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourcePaypalTransaction value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -785,6 +1422,11 @@ public static SourceConfiguration of(SourcePersistiq value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourcePersona value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourcePexelsApi value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -805,16 +1447,36 @@ public static SourceConfiguration of(SourcePipedrive value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourcePipeliner value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourcePivotalTracker value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourcePiwik value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourcePlaid value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourcePlanhat value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourcePlausible value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourcePocket value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -850,6 +1512,16 @@ public static SourceConfiguration of(SourcePrestashop value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourcePretix value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourcePrimetric value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceProductboard value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -870,11 +1542,21 @@ public static SourceConfiguration of(SourceQualaroo value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceQuickbooks value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceRailz value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceRdStationMarketing value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceRecharge value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -905,26 +1587,91 @@ public static SourceConfiguration of(SourceRedshift value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceReferralhero value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceRentcast value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceRepairshopr value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceReplyIo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceRetently value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceRevenuecat value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceRevolutMerchant value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceRkiCovid value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceRocketlane value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceRollbar value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceRootly value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceRss value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceRuddr value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceS3 value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSafetyculture value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceSageHr value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceSalesflare value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceSalesforce value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -955,6 +1702,11 @@ public static SourceConfiguration of(SourceSecoda value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSegment value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceSendgrid value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -965,6 +1717,16 @@ public static SourceConfiguration of(SourceSendinblue value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSendowl value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceSendpulse value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceSenseforce value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -985,6 +1747,16 @@ public static SourceConfiguration of(SourceSftpBulk value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSharetribe value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceShippo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceShopify value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1000,6 +1772,26 @@ public static SourceConfiguration of(SourceShortio value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSigmaComputing value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceSimfin value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceSimplecast value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceSimplesat value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceSlack value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1015,11 +1807,21 @@ public static SourceConfiguration of(SourceSmartengage value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSmartreach value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceSmartsheets value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSmartwaiver value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceSnapchatMarketing value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1030,6 +1832,11 @@ public static SourceConfiguration of(SourceSnowflake value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSolarwindsServiceDesk value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceSonarCloud value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1040,11 +1847,46 @@ public static SourceConfiguration of(SourceSpacexApi value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSparkpost value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceSplitIo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceSpotlercrm value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceSquare value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSquarespace value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceStatsig value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceStatuspage value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceStockdata value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceStrava value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1070,6 +1912,21 @@ public static SourceConfiguration of(SourceSurvicate value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceSysteme value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceTaboola value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceTeamtailor value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceTeamwork value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1080,21 +1937,66 @@ public static SourceConfiguration of(SourceTempo value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceTestrail value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceTheGuardianApi value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceThinkific value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceTicketmaster value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceTickettailor value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceTiktokMarketing value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceTimely value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceTinyemail value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceTodoist value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceTrackPms value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceTrello value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceTremendous value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceTrustpilot value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1105,6 +2007,11 @@ public static SourceConfiguration of(SourceTvmazeSchedule value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceTwelveData value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceTwilio value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1125,16 +2032,81 @@ public static SourceConfiguration of(SourceTypeform value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceUbidots value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceUnleash value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceUppromote value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceUsCensus value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceUservoice value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceVantage value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceVeeqo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceVercel value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceVismaEconomic value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceVitally value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceVwo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceWaiteraid value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceWasabiStatsApi value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceWeatherstack value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceWebScrapper value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceWebflow value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1160,11 +2132,51 @@ public static SourceConfiguration of(SourceWoocommerce value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceWordpress value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceWorkable value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceWorkflowmax value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceWorkramp value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceWrike value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceWufoo value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceXkcd value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceXsolla value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceYahooFinancePrice value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceYandexMetrica value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1175,11 +2187,26 @@ public static SourceConfiguration of(SourceYotpo value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceYouNeedABudgetYnab value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceYoutubeAnalytics value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceYoutubeData value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceZapierSupportedStorage value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceZendeskChat value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1200,16 +2227,71 @@ public static SourceConfiguration of(SourceZendeskTalk value) { return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceZenefits value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceZenloop value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceZohoAnalyticsMetadataApi value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceZohoBigin value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceZohoBilling value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceZohoBooks value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceZohoCampaign value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceZohoCrm value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + public static SourceConfiguration of(SourceZohoDesk value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceZohoExpense value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceZohoInventory value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceZohoInvoice value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceConfiguration of(SourceZonkaFeedback value) { + Utils.checkNotNull(value, "value"); + return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + public static SourceConfiguration of(SourceZoom value) { Utils.checkNotNull(value, "value"); return new SourceConfiguration(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); @@ -1218,242 +2300,459 @@ public static SourceConfiguration of(SourceZoom value) { /** * Returns an instance of one of these types: *
      - *
    • {@code SourceAha}
    • - *
    • {@code Source7shifts}
    • - *
    • {@code SourceAirbyte}
    • - *
    • {@code SourceAircall}
    • - *
    • {@code SourceAirtable}
    • - *
    • {@code SourceAmazonAds}
    • - *
    • {@code SourceAmazonSellerPartner}
    • - *
    • {@code SourceAmazonSqs}
    • - *
    • {@code SourceAmplitude}
    • - *
    • {@code SourceApifyDataset}
    • - *
    • {@code SourceAppcues}
    • - *
    • {@code SourceAppfigures}
    • - *
    • {@code SourceAppfollow}
    • - *
    • {@code SourceAsana}
    • - *
    • {@code SourceAuth0}
    • - *
    • {@code SourceAwsCloudtrail}
    • - *
    • {@code SourceAzureBlobStorage}
    • - *
    • {@code SourceAzureTable}
    • - *
    • {@code SourceBambooHr}
    • - *
    • {@code SourceBasecamp}
    • - *
    • {@code SourceBigquery}
    • - *
    • {@code SourceBingAds}
    • - *
    • {@code SourceBitly}
    • - *
    • {@code SourceBraintree}
    • - *
    • {@code SourceBraze}
    • - *
    • {@code SourceBreezyHr}
    • - *
    • {@code SourceBrevo}
    • - *
    • {@code SourceBuildkite}
    • - *
    • {@code SourceBuzzsprout}
    • - *
    • {@code SourceCalendly}
    • - *
    • {@code SourceCanny}
    • - *
    • {@code SourceCart}
    • - *
    • {@code SourceChameleon}
    • - *
    • {@code SourceChargebee}
    • - *
    • {@code SourceChartmogul}
    • - *
    • {@code SourceCimis}
    • - *
    • {@code SourceClazar}
    • - *
    • {@code SourceClickhouse}
    • - *
    • {@code SourceClickupApi}
    • - *
    • {@code SourceClockify}
    • - *
    • {@code SourceCloseCom}
    • - *
    • {@code SourceCoda}
    • - *
    • {@code SourceCoinApi}
    • - *
    • {@code SourceCoinmarketcap}
    • - *
    • {@code SourceConfigcat}
    • - *
    • {@code SourceConfluence}
    • - *
    • {@code SourceConvex}
    • - *
    • {@code SourceCustomerIo}
    • - *
    • {@code SourceDatadog}
    • - *
    • {@code SourceDatascope}
    • - *
    • {@code SourceDbt}
    • - *
    • {@code SourceDelighted}
    • - *
    • {@code SourceDixa}
    • - *
    • {@code SourceDockerhub}
    • - *
    • {@code SourceDremio}
    • - *
    • {@code SourceDynamodb}
    • - *
    • {@code SourceEmailoctopus}
    • - *
    • {@code SourceExchangeRates}
    • - *
    • {@code SourceEzofficeinventory}
    • - *
    • {@code SourceFacebookMarketing}
    • - *
    • {@code SourceFaker}
    • - *
    • {@code SourceFauna}
    • - *
    • {@code SourceFile}
    • - *
    • {@code SourceFirebolt}
    • - *
    • {@code SourceFleetio}
    • - *
    • {@code SourceFreshcaller}
    • - *
    • {@code SourceFreshdesk}
    • - *
    • {@code SourceFreshsales}
    • - *
    • {@code SourceFront}
    • - *
    • {@code SourceGainsightPx}
    • - *
    • {@code SourceGcs}
    • - *
    • {@code SourceGetlago}
    • - *
    • {@code SourceGithub}
    • - *
    • {@code SourceGitlab}
    • - *
    • {@code SourceGlassfrog}
    • - *
    • {@code SourceGnews}
    • - *
    • {@code SourceGoldcast}
    • - *
    • {@code SourceGoogleAds}
    • - *
    • {@code SourceGoogleAnalyticsDataApi}
    • - *
    • {@code SourceGoogleDirectory}
    • - *
    • {@code SourceGoogleDrive}
    • - *
    • {@code SourceGooglePagespeedInsights}
    • - *
    • {@code SourceGoogleSearchConsole}
    • - *
    • {@code SourceGoogleSheets}
    • - *
    • {@code SourceGoogleTasks}
    • - *
    • {@code SourceGoogleWebfonts}
    • - *
    • {@code SourceGreenhouse}
    • - *
    • {@code SourceGridly}
    • - *
    • {@code SourceGuru}
    • - *
    • {@code SourceHardcodedRecords}
    • - *
    • {@code SourceHarvest}
    • - *
    • {@code SourceHeight}
    • - *
    • {@code SourceHibob}
    • - *
    • {@code SourceHighLevel}
    • - *
    • {@code SourceHubplanner}
    • - *
    • {@code SourceHubspot}
    • - *
    • {@code SourceInsightly}
    • - *
    • {@code SourceInstagram}
    • - *
    • {@code SourceInstatus}
    • - *
    • {@code SourceIntercom}
    • - *
    • {@code SourceIp2whois}
    • - *
    • {@code SourceIterable}
    • - *
    • {@code SourceJira}
    • - *
    • {@code SourceJotform}
    • - *
    • {@code SourceK6Cloud}
    • - *
    • {@code SourceKlarna}
    • - *
    • {@code SourceKlaviyo}
    • - *
    • {@code SourceKyve}
    • - *
    • {@code SourceLaunchdarkly}
    • - *
    • {@code SourceLeadfeeder}
    • - *
    • {@code SourceLemlist}
    • - *
    • {@code SourceLeverHiring}
    • - *
    • {@code SourceLinkedinAds}
    • - *
    • {@code SourceLinkedinPages}
    • - *
    • {@code SourceLinnworks}
    • - *
    • {@code SourceLokalise}
    • - *
    • {@code SourceLooker}
    • - *
    • {@code SourceLuma}
    • - *
    • {@code SourceMailchimp}
    • - *
    • {@code SourceMailgun}
    • - *
    • {@code SourceMailjetSms}
    • - *
    • {@code SourceMarketo}
    • - *
    • {@code SourceMetabase}
    • - *
    • {@code SourceMicrosoftOnedrive}
    • - *
    • {@code SourceMicrosoftSharepoint}
    • - *
    • {@code SourceMicrosoftTeams}
    • - *
    • {@code SourceMixpanel}
    • - *
    • {@code SourceMonday}
    • - *
    • {@code SourceMongodbV2}
    • - *
    • {@code SourceMssql}
    • - *
    • {@code SourceMyHours}
    • - *
    • {@code SourceMysql}
    • - *
    • {@code SourceNetsuite}
    • - *
    • {@code SourceNorthpassLms}
    • - *
    • {@code SourceNotion}
    • - *
    • {@code SourceNylas}
    • - *
    • {@code SourceNytimes}
    • - *
    • {@code SourceOkta}
    • - *
    • {@code SourceOmnisend}
    • - *
    • {@code SourceOnesignal}
    • - *
    • {@code SourceOracle}
    • - *
    • {@code SourceOrb}
    • - *
    • {@code SourceOrbit}
    • - *
    • {@code SourceOutbrainAmplify}
    • - *
    • {@code SourceOutreach}
    • - *
    • {@code SourcePaypalTransaction}
    • - *
    • {@code SourcePaystack}
    • - *
    • {@code SourcePendo}
    • - *
    • {@code SourcePennylane}
    • - *
    • {@code SourcePersistiq}
    • - *
    • {@code SourcePexelsApi}
    • - *
    • {@code SourcePicqer}
    • - *
    • {@code SourcePinterest}
    • - *
    • {@code SourcePipedrive}
    • - *
    • {@code SourcePiwik}
    • - *
    • {@code SourcePlanhat}
    • - *
    • {@code SourcePocket}
    • - *
    • {@code SourcePokeapi}
    • - *
    • {@code SourcePolygonStockApi}
    • - *
    • {@code SourcePostgres}
    • - *
    • {@code SourcePosthog}
    • - *
    • {@code SourcePostmarkapp}
    • - *
    • {@code SourcePrestashop}
    • - *
    • {@code SourceProductboard}
    • - *
    • {@code SourceProductive}
    • - *
    • {@code SourcePypi}
    • - *
    • {@code SourceQualaroo}
    • - *
    • {@code SourceRailz}
    • - *
    • {@code SourceRecharge}
    • - *
    • {@code SourceRecreation}
    • - *
    • {@code SourceRecruitee}
    • - *
    • {@code SourceRecurly}
    • - *
    • {@code SourceReddit}
    • - *
    • {@code SourceRedshift}
    • - *
    • {@code SourceRetently}
    • - *
    • {@code SourceRkiCovid}
    • - *
    • {@code SourceRss}
    • - *
    • {@code SourceS3}
    • - *
    • {@code SourceSalesforce}
    • - *
    • {@code SourceSalesloft}
    • - *
    • {@code SourceSapFieldglass}
    • - *
    • {@code SourceSavvycal}
    • - *
    • {@code SourceScryfall}
    • - *
    • {@code SourceSecoda}
    • - *
    • {@code SourceSendgrid}
    • - *
    • {@code SourceSendinblue}
    • - *
    • {@code SourceSenseforce}
    • - *
    • {@code SourceSentry}
    • - *
    • {@code SourceSftp}
    • - *
    • {@code SourceSftpBulk}
    • - *
    • {@code SourceShopify}
    • - *
    • {@code SourceShortcut}
    • - *
    • {@code SourceShortio}
    • - *
    • {@code SourceSlack}
    • - *
    • {@code SourceSmaily}
    • - *
    • {@code SourceSmartengage}
    • - *
    • {@code SourceSmartsheets}
    • - *
    • {@code SourceSnapchatMarketing}
    • - *
    • {@code SourceSnowflake}
    • - *
    • {@code SourceSonarCloud}
    • - *
    • {@code SourceSpacexApi}
    • - *
    • {@code SourceSquare}
    • - *
    • {@code SourceStrava}
    • - *
    • {@code SourceStripe}
    • - *
    • {@code SourceSurveySparrow}
    • - *
    • {@code SourceSurveymonkey}
    • - *
    • {@code SourceSurvicate}
    • - *
    • {@code SourceTeamwork}
    • - *
    • {@code SourceTempo}
    • - *
    • {@code SourceTheGuardianApi}
    • - *
    • {@code SourceTiktokMarketing}
    • - *
    • {@code SourceTrello}
    • - *
    • {@code SourceTrustpilot}
    • - *
    • {@code SourceTvmazeSchedule}
    • - *
    • {@code SourceTwilio}
    • - *
    • {@code SourceTwilioTaskrouter}
    • - *
    • {@code SourceTwitter}
    • - *
    • {@code SourceTypeform}
    • - *
    • {@code SourceUsCensus}
    • - *
    • {@code SourceVantage}
    • - *
    • {@code SourceWebflow}
    • - *
    • {@code SourceWhenIWork}
    • - *
    • {@code SourceWhiskyHunter}
    • - *
    • {@code SourceWikipediaPageviews}
    • - *
    • {@code SourceWoocommerce}
    • - *
    • {@code SourceXkcd}
    • - *
    • {@code SourceYandexMetrica}
    • - *
    • {@code SourceYotpo}
    • - *
    • {@code SourceYoutubeAnalytics}
    • - *
    • {@code SourceZendeskChat}
    • - *
    • {@code SourceZendeskSunshine}
    • - *
    • {@code SourceZendeskSupport}
    • - *
    • {@code SourceZendeskTalk}
    • - *
    • {@code SourceZenloop}
    • - *
    • {@code SourceZohoCrm}
    • - *
    • {@code SourceZoom}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAha}
    • + *
    • {@code com.airbyte.api.models.shared.Source7shifts}
    • + *
    • {@code com.airbyte.api.models.shared.SourceActivecampaign}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAgilecrm}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAirbyte}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAircall}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAirtable}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAkeneo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAlgolia}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAmazonAds}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAmazonSellerPartner}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAmazonSqs}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAmplitude}
    • + *
    • {@code com.airbyte.api.models.shared.SourceApifyDataset}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAppcues}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAppfigures}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAppfollow}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAppleSearchAds}
    • + *
    • {@code com.airbyte.api.models.shared.SourceApptivo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAsana}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAshby}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAuth0}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAwsCloudtrail}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAzureBlobStorage}
    • + *
    • {@code com.airbyte.api.models.shared.SourceAzureTable}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBambooHr}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBasecamp}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBeamer}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBigmailer}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBigquery}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBingAds}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBitly}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBlogger}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBox}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBraintree}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBraze}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBreezyHr}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBrevo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBrex}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBugsnag}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBuildkite}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBunnyInc}
    • + *
    • {@code com.airbyte.api.models.shared.SourceBuzzsprout}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCalCom}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCalendly}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCallrail}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCampaignMonitor}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCampayn}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCanny}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCapsuleCrm}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCareQualityCommission}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCart}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCastorEdc}
    • + *
    • {@code com.airbyte.api.models.shared.SourceChameleon}
    • + *
    • {@code com.airbyte.api.models.shared.SourceChargebee}
    • + *
    • {@code com.airbyte.api.models.shared.SourceChargedesk}
    • + *
    • {@code com.airbyte.api.models.shared.SourceChargify}
    • + *
    • {@code com.airbyte.api.models.shared.SourceChartmogul}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCimis}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCin7}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCirca}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCircleci}
    • + *
    • {@code com.airbyte.api.models.shared.SourceClarifAi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceClazar}
    • + *
    • {@code com.airbyte.api.models.shared.SourceClickhouse}
    • + *
    • {@code com.airbyte.api.models.shared.SourceClickupApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceClockify}
    • + *
    • {@code com.airbyte.api.models.shared.SourceClockodo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCloseCom}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCloudbeds}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCoassemble}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCoda}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCodefresh}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCoinApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCoinmarketcap}
    • + *
    • {@code com.airbyte.api.models.shared.SourceConcord}
    • + *
    • {@code com.airbyte.api.models.shared.SourceConfigcat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceConfluence}
    • + *
    • {@code com.airbyte.api.models.shared.SourceConvertkit}
    • + *
    • {@code com.airbyte.api.models.shared.SourceConvex}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCopper}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCountercyclical}
    • + *
    • {@code com.airbyte.api.models.shared.SourceCustomerIo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDatadog}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDatascope}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDbt}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDelighted}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDeputy}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDixa}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDockerhub}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDremio}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDrift}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDrip}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDropboxSign}
    • + *
    • {@code com.airbyte.api.models.shared.SourceDynamodb}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEConomic}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEasypost}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEasypromos}
    • + *
    • {@code com.airbyte.api.models.shared.SourceElasticemail}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEmailoctopus}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEmploymentHero}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEncharge}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEventbrite}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEventee}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEventzilla}
    • + *
    • {@code com.airbyte.api.models.shared.SourceExchangeRates}
    • + *
    • {@code com.airbyte.api.models.shared.SourceEzofficeinventory}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFacebookMarketing}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFactorial}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFaker}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFauna}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFile}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFillout}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFinage}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFinancialModelling}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFinnhub}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFinnworlds}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFirebolt}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFirehydrant}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFleetio}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFlexmail}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFlexport}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFloat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFlowlu}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFormbricks}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFreeAgentConnector}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFreightview}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFreshbooks}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFreshcaller}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFreshchat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFreshdesk}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFreshsales}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFreshservice}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFront}
    • + *
    • {@code com.airbyte.api.models.shared.SourceFulcrum}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGainsightPx}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGcs}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGetgist}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGetlago}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGitbook}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGithub}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGitlab}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGlassfrog}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGmail}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGnews}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGocardless}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoldcast}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGong}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAds}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleCalendar}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleClassroom}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDirectory}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDrive}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleForms}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGooglePagespeedInsights}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleSearchConsole}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleSheets}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleTasks}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleWebfonts}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGorgias}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGreenhouse}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGridly}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGuru}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGutendex}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHardcodedRecords}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHarvest}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHeight}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHibob}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHighLevel}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHubplanner}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHubspot}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHumanitix}
    • + *
    • {@code com.airbyte.api.models.shared.SourceIlluminaBasespace}
    • + *
    • {@code com.airbyte.api.models.shared.SourceIncidentIo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceInflowinventory}
    • + *
    • {@code com.airbyte.api.models.shared.SourceInsightly}
    • + *
    • {@code com.airbyte.api.models.shared.SourceInstagram}
    • + *
    • {@code com.airbyte.api.models.shared.SourceInstatus}
    • + *
    • {@code com.airbyte.api.models.shared.SourceIntercom}
    • + *
    • {@code com.airbyte.api.models.shared.SourceInvoiced}
    • + *
    • {@code com.airbyte.api.models.shared.SourceInvoiceninja}
    • + *
    • {@code com.airbyte.api.models.shared.SourceIp2whois}
    • + *
    • {@code com.airbyte.api.models.shared.SourceIterable}
    • + *
    • {@code com.airbyte.api.models.shared.SourceJira}
    • + *
    • {@code com.airbyte.api.models.shared.SourceJobnimbus}
    • + *
    • {@code com.airbyte.api.models.shared.SourceJotform}
    • + *
    • {@code com.airbyte.api.models.shared.SourceJustSift}
    • + *
    • {@code com.airbyte.api.models.shared.SourceJustcall}
    • + *
    • {@code com.airbyte.api.models.shared.SourceK6Cloud}
    • + *
    • {@code com.airbyte.api.models.shared.SourceKatana}
    • + *
    • {@code com.airbyte.api.models.shared.SourceKisi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceKissmetrics}
    • + *
    • {@code com.airbyte.api.models.shared.SourceKlarna}
    • + *
    • {@code com.airbyte.api.models.shared.SourceKlausApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceKlaviyo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceKyve}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLaunchdarkly}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLeadfeeder}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLemlist}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLessAnnoyingCrm}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLeverHiring}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLightspeedRetail}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLinkedinAds}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLinkedinPages}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLinnworks}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLob}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLokalise}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLooker}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLuma}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMailchimp}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMailerlite}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMailgun}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMailjetMail}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMailjetSms}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMailosaur}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMailtrap}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMarketo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMarketstack}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMention}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMetabase}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftDataverse}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftEntraId}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftLists}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedrive}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepoint}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftTeams}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMiro}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMissive}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMixmax}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMixpanel}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMode}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMonday}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMongodbV2}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMssql}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMux}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMyHours}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMysql}
    • + *
    • {@code com.airbyte.api.models.shared.SourceN8n}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNasa}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNetsuite}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNewsApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNewsdataIo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNocrm}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNorthpassLms}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNotion}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNutshell}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNylas}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNytimes}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOkta}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOmnisend}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOncehub}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOnepagecrm}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOnesignal}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOnfleet}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOpenDataDc}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOpenaq}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOpenfda}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOpenweather}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOpinionStage}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOpsgenie}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOracle}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOrb}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOrbit}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOura}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOutbrainAmplify}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOutreach}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOveit}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePabblySubscriptionsBilling}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePandadoc}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePaperform}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePapersign}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePardot}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePaypalTransaction}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePaystack}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePendo}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePennylane}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePersistiq}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePersona}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePexelsApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePicqer}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePinterest}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePipedrive}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePipeliner}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePivotalTracker}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePiwik}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePlaid}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePlanhat}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePlausible}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePocket}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePokeapi}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePolygonStockApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgres}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePosthog}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostmarkapp}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePrestashop}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePretix}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePrimetric}
    • + *
    • {@code com.airbyte.api.models.shared.SourceProductboard}
    • + *
    • {@code com.airbyte.api.models.shared.SourceProductive}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePypi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceQualaroo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceQuickbooks}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRailz}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRdStationMarketing}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRecharge}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRecreation}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRecruitee}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRecurly}
    • + *
    • {@code com.airbyte.api.models.shared.SourceReddit}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRedshift}
    • + *
    • {@code com.airbyte.api.models.shared.SourceReferralhero}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRentcast}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRepairshopr}
    • + *
    • {@code com.airbyte.api.models.shared.SourceReplyIo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRetently}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRevenuecat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRevolutMerchant}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRkiCovid}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRocketlane}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRollbar}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRootly}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRss}
    • + *
    • {@code com.airbyte.api.models.shared.SourceRuddr}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSafetyculture}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSageHr}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSalesflare}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSalesforce}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSalesloft}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSapFieldglass}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSavvycal}
    • + *
    • {@code com.airbyte.api.models.shared.SourceScryfall}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSecoda}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSegment}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSendgrid}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSendinblue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSendowl}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSendpulse}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSenseforce}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSentry}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftp}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulk}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSharetribe}
    • + *
    • {@code com.airbyte.api.models.shared.SourceShippo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceShopify}
    • + *
    • {@code com.airbyte.api.models.shared.SourceShortcut}
    • + *
    • {@code com.airbyte.api.models.shared.SourceShortio}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSigmaComputing}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSimfin}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSimplecast}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSimplesat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSlack}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSmaily}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSmartengage}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSmartreach}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSmartsheets}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSmartwaiver}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSnapchatMarketing}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSnowflake}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSolarwindsServiceDesk}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSonarCloud}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSpacexApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSparkpost}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSplitIo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSpotlercrm}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSquare}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSquarespace}
    • + *
    • {@code com.airbyte.api.models.shared.SourceStatsig}
    • + *
    • {@code com.airbyte.api.models.shared.SourceStatuspage}
    • + *
    • {@code com.airbyte.api.models.shared.SourceStockdata}
    • + *
    • {@code com.airbyte.api.models.shared.SourceStrava}
    • + *
    • {@code com.airbyte.api.models.shared.SourceStripe}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSurveySparrow}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSurveymonkey}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSurvicate}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSysteme}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTaboola}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTeamtailor}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTeamwork}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTempo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTestrail}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTheGuardianApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceThinkific}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTicketmaster}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTickettailor}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTiktokMarketing}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTimely}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTinyemail}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTodoist}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTrackPms}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTrello}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTremendous}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTrustpilot}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTvmazeSchedule}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTwelveData}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTwilio}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTwilioTaskrouter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTwitter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTypeform}
    • + *
    • {@code com.airbyte.api.models.shared.SourceUbidots}
    • + *
    • {@code com.airbyte.api.models.shared.SourceUnleash}
    • + *
    • {@code com.airbyte.api.models.shared.SourceUppromote}
    • + *
    • {@code com.airbyte.api.models.shared.SourceUsCensus}
    • + *
    • {@code com.airbyte.api.models.shared.SourceUservoice}
    • + *
    • {@code com.airbyte.api.models.shared.SourceVantage}
    • + *
    • {@code com.airbyte.api.models.shared.SourceVeeqo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceVercel}
    • + *
    • {@code com.airbyte.api.models.shared.SourceVismaEconomic}
    • + *
    • {@code com.airbyte.api.models.shared.SourceVitally}
    • + *
    • {@code com.airbyte.api.models.shared.SourceVwo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWaiteraid}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWasabiStatsApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWeatherstack}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWebScrapper}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWebflow}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWhenIWork}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWhiskyHunter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWikipediaPageviews}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWoocommerce}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWordpress}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWorkable}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWorkflowmax}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWorkramp}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWrike}
    • + *
    • {@code com.airbyte.api.models.shared.SourceWufoo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceXkcd}
    • + *
    • {@code com.airbyte.api.models.shared.SourceXsolla}
    • + *
    • {@code com.airbyte.api.models.shared.SourceYahooFinancePrice}
    • + *
    • {@code com.airbyte.api.models.shared.SourceYandexMetrica}
    • + *
    • {@code com.airbyte.api.models.shared.SourceYotpo}
    • + *
    • {@code com.airbyte.api.models.shared.SourceYouNeedABudgetYnab}
    • + *
    • {@code com.airbyte.api.models.shared.SourceYoutubeAnalytics}
    • + *
    • {@code com.airbyte.api.models.shared.SourceYoutubeData}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZapierSupportedStorage}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskChat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskSunshine}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskSupport}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskTalk}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZenefits}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZenloop}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoAnalyticsMetadataApi}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoBigin}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoBilling}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoBooks}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoCampaign}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoCrm}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoDesk}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoExpense}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoInventory}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZohoInvoice}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZonkaFeedback}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZoom}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -1480,255 +2779,472 @@ public boolean equals(java.lang.Object o) { return false; } SourceConfiguration other = (SourceConfiguration) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceConfiguration.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceConfiguration.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConfluence.java b/src/main/java/com/airbyte/api/models/shared/SourceConfluence.java index 89d08fb7e..9917f35fc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceConfluence.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceConfluence.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceConfluence { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } SourceConfluence other = (SourceConfluence) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.domainName, other.domainName) && - java.util.Objects.deepEquals(this.email, other.email) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.domainName, other.domainName) && + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, domainName, email, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConvertkit.java b/src/main/java/com/airbyte/api/models/shared/SourceConvertkit.java new file mode 100644 index 000000000..34534cd1a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceConvertkit.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceConvertkit { + + /** + * API Secret + */ + @JsonProperty("api_secret") + private String apiSecret; + + @JsonProperty("sourceType") + private Convertkit sourceType; + + @JsonCreator + public SourceConvertkit( + @JsonProperty("api_secret") String apiSecret) { + Utils.checkNotNull(apiSecret, "apiSecret"); + this.apiSecret = apiSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API Secret + */ + @JsonIgnore + public String apiSecret() { + return apiSecret; + } + + @JsonIgnore + public Convertkit sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API Secret + */ + public SourceConvertkit withApiSecret(String apiSecret) { + Utils.checkNotNull(apiSecret, "apiSecret"); + this.apiSecret = apiSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceConvertkit other = (SourceConvertkit) o; + return + Objects.deepEquals(this.apiSecret, other.apiSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiSecret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceConvertkit.class, + "apiSecret", apiSecret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiSecret; + + private Builder() { + // force use of static builder() method + } + + /** + * API Secret + */ + public Builder apiSecret(String apiSecret) { + Utils.checkNotNull(apiSecret, "apiSecret"); + this.apiSecret = apiSecret; + return this; + } + + public SourceConvertkit build() { + return new SourceConvertkit( + apiSecret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"convertkit\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConvex.java b/src/main/java/com/airbyte/api/models/shared/SourceConvex.java index d7c82a5f2..df7c0e052 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceConvex.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceConvex.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceConvex { @@ -88,14 +88,14 @@ public boolean equals(java.lang.Object o) { } SourceConvex other = (SourceConvex) o; return - java.util.Objects.deepEquals(this.accessKey, other.accessKey) && - java.util.Objects.deepEquals(this.deploymentUrl, other.deploymentUrl) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.accessKey, other.accessKey) && + Objects.deepEquals(this.deploymentUrl, other.deploymentUrl) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKey, deploymentUrl, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceConvexConvex.java b/src/main/java/com/airbyte/api/models/shared/SourceConvexConvex.java index 9155f8d33..bb90d3047 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceConvexConvex.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceConvexConvex.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceConvexConvex { CONVEX("convex"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCopper.java b/src/main/java/com/airbyte/api/models/shared/SourceCopper.java new file mode 100644 index 000000000..1c6905e90 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCopper.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceCopper { + + /** + * Copper API key + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Copper sourceType; + + /** + * user email used to login in to Copper + */ + @JsonProperty("user_email") + private String userEmail; + + @JsonCreator + public SourceCopper( + @JsonProperty("api_key") String apiKey, + @JsonProperty("user_email") String userEmail) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(userEmail, "userEmail"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.userEmail = userEmail; + } + + /** + * Copper API key + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Copper sourceType() { + return sourceType; + } + + /** + * user email used to login in to Copper + */ + @JsonIgnore + public String userEmail() { + return userEmail; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Copper API key + */ + public SourceCopper withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * user email used to login in to Copper + */ + public SourceCopper withUserEmail(String userEmail) { + Utils.checkNotNull(userEmail, "userEmail"); + this.userEmail = userEmail; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCopper other = (SourceCopper) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.userEmail, other.userEmail); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + userEmail); + } + + @Override + public String toString() { + return Utils.toString(SourceCopper.class, + "apiKey", apiKey, + "sourceType", sourceType, + "userEmail", userEmail); + } + + public final static class Builder { + + private String apiKey; + + private String userEmail; + + private Builder() { + // force use of static builder() method + } + + /** + * Copper API key + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * user email used to login in to Copper + */ + public Builder userEmail(String userEmail) { + Utils.checkNotNull(userEmail, "userEmail"); + this.userEmail = userEmail; + return this; + } + + public SourceCopper build() { + return new SourceCopper( + apiKey, + userEmail); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"copper\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCountercyclical.java b/src/main/java/com/airbyte/api/models/shared/SourceCountercyclical.java new file mode 100644 index 000000000..0eff95f16 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceCountercyclical.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceCountercyclical { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Countercyclical sourceType; + + @JsonCreator + public SourceCountercyclical( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Countercyclical sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceCountercyclical withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceCountercyclical other = (SourceCountercyclical) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceCountercyclical.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceCountercyclical build() { + return new SourceCountercyclical( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"countercyclical\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java b/src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java index 5ce066452..2a1f427d3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceCreateRequest { /** @@ -31,7 +30,7 @@ public class SourceCreateRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("definitionId") - private Optional definitionId; + private Optional definitionId; /** * Name of the source e.g. dev-mysql-instance. @@ -44,7 +43,7 @@ public class SourceCreateRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("secretId") - private Optional secretId; + private Optional secretId; @JsonProperty("workspaceId") private String workspaceId; @@ -52,9 +51,9 @@ public class SourceCreateRequest { @JsonCreator public SourceCreateRequest( @JsonProperty("configuration") SourceConfiguration configuration, - @JsonProperty("definitionId") Optional definitionId, + @JsonProperty("definitionId") Optional definitionId, @JsonProperty("name") String name, - @JsonProperty("secretId") Optional secretId, + @JsonProperty("secretId") Optional secretId, @JsonProperty("workspaceId") String workspaceId) { Utils.checkNotNull(configuration, "configuration"); Utils.checkNotNull(definitionId, "definitionId"); @@ -86,10 +85,9 @@ public SourceConfiguration configuration() { /** * The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional definitionId() { - return (Optional) definitionId; + return definitionId; } /** @@ -103,10 +101,9 @@ public String name() { /** * Optional secretID obtained through the OAuth redirect flow. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional secretId() { - return (Optional) secretId; + return secretId; } @JsonIgnore @@ -139,7 +136,7 @@ public SourceCreateRequest withDefinitionId(String definitionId) { /** * The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. */ - public SourceCreateRequest withDefinitionId(Optional definitionId) { + public SourceCreateRequest withDefinitionId(Optional definitionId) { Utils.checkNotNull(definitionId, "definitionId"); this.definitionId = definitionId; return this; @@ -166,7 +163,7 @@ public SourceCreateRequest withSecretId(String secretId) { /** * Optional secretID obtained through the OAuth redirect flow. */ - public SourceCreateRequest withSecretId(Optional secretId) { + public SourceCreateRequest withSecretId(Optional secretId) { Utils.checkNotNull(secretId, "secretId"); this.secretId = secretId; return this; @@ -188,16 +185,16 @@ public boolean equals(java.lang.Object o) { } SourceCreateRequest other = (SourceCreateRequest) o; return - java.util.Objects.deepEquals(this.configuration, other.configuration) && - java.util.Objects.deepEquals(this.definitionId, other.definitionId) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.secretId, other.secretId) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.configuration, other.configuration) && + Objects.deepEquals(this.definitionId, other.definitionId) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.secretId, other.secretId) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configuration, definitionId, name, @@ -219,11 +216,11 @@ public final static class Builder { private SourceConfiguration configuration; - private Optional definitionId = Optional.empty(); + private Optional definitionId = Optional.empty(); private String name; - private Optional secretId = Optional.empty(); + private Optional secretId = Optional.empty(); private String workspaceId; @@ -252,7 +249,7 @@ public Builder definitionId(String definitionId) { /** * The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. */ - public Builder definitionId(Optional definitionId) { + public Builder definitionId(Optional definitionId) { Utils.checkNotNull(definitionId, "definitionId"); this.definitionId = definitionId; return this; @@ -279,7 +276,7 @@ public Builder secretId(String secretId) { /** * Optional secretID obtained through the OAuth redirect flow. */ - public Builder secretId(Optional secretId) { + public Builder secretId(Optional secretId) { Utils.checkNotNull(secretId, "secretId"); this.secretId = secretId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceCustomerIo.java b/src/main/java/com/airbyte/api/models/shared/SourceCustomerIo.java index 1f31a4729..173c1c8d9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceCustomerIo.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceCustomerIo.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceCustomerIo { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceCustomerIo other = (SourceCustomerIo) o; return - java.util.Objects.deepEquals(this.appApiKey, other.appApiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.appApiKey, other.appApiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( appApiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDatadog.java b/src/main/java/com/airbyte/api/models/shared/SourceDatadog.java index 92221ddfe..c2d57287b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDatadog.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDatadog.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceDatadog { /** @@ -38,28 +41,28 @@ public class SourceDatadog { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * Maximum number of records to collect per request. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("max_records_per_request") - private Optional maxRecordsPerRequest; + private Optional maxRecordsPerRequest; /** * List of queries to be run and used as inputs. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("queries") - private Optional> queries; + private Optional> queries; /** * The search query. This just applies to Incremental syncs. If empty, it'll collect all logs. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("query") - private Optional query; + private Optional query; /** * The site where Datadog data resides in. @@ -76,18 +79,18 @@ public class SourceDatadog { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceDatadog( @JsonProperty("api_key") String apiKey, @JsonProperty("application_key") String applicationKey, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("max_records_per_request") Optional maxRecordsPerRequest, - @JsonProperty("queries") Optional> queries, - @JsonProperty("query") Optional query, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("max_records_per_request") Optional maxRecordsPerRequest, + @JsonProperty("queries") Optional> queries, + @JsonProperty("query") Optional query, @JsonProperty("site") Optional site, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(applicationKey, "applicationKey"); Utils.checkNotNull(endDate, "endDate"); @@ -132,19 +135,17 @@ public String applicationKey() { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Data after this date will not be replicated. An empty value will represent the current datetime for each execution. This just applies to Incremental syncs. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** * Maximum number of records to collect per request. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional maxRecordsPerRequest() { - return (Optional) maxRecordsPerRequest; + return maxRecordsPerRequest; } /** @@ -152,17 +153,16 @@ public Optional maxRecordsPerRequest() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> queries() { - return (Optional>) queries; + public Optional> queries() { + return (Optional>) queries; } /** * The search query. This just applies to Incremental syncs. If empty, it'll collect all logs. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional query() { - return (Optional) query; + return query; } /** @@ -182,10 +182,9 @@ public Datadog sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This just applies to Incremental syncs. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -222,7 +221,7 @@ public SourceDatadog withEndDate(String endDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Data after this date will not be replicated. An empty value will represent the current datetime for each execution. This just applies to Incremental syncs. */ - public SourceDatadog withEndDate(Optional endDate) { + public SourceDatadog withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -240,7 +239,7 @@ public SourceDatadog withMaxRecordsPerRequest(long maxRecordsPerRequest) { /** * Maximum number of records to collect per request. */ - public SourceDatadog withMaxRecordsPerRequest(Optional maxRecordsPerRequest) { + public SourceDatadog withMaxRecordsPerRequest(Optional maxRecordsPerRequest) { Utils.checkNotNull(maxRecordsPerRequest, "maxRecordsPerRequest"); this.maxRecordsPerRequest = maxRecordsPerRequest; return this; @@ -249,7 +248,7 @@ public SourceDatadog withMaxRecordsPerRequest(Optional maxRecord /** * List of queries to be run and used as inputs. */ - public SourceDatadog withQueries(java.util.List queries) { + public SourceDatadog withQueries(List queries) { Utils.checkNotNull(queries, "queries"); this.queries = Optional.ofNullable(queries); return this; @@ -258,7 +257,7 @@ public SourceDatadog withQueries(java.util.List queries) { /** * List of queries to be run and used as inputs. */ - public SourceDatadog withQueries(Optional> queries) { + public SourceDatadog withQueries(Optional> queries) { Utils.checkNotNull(queries, "queries"); this.queries = queries; return this; @@ -276,7 +275,7 @@ public SourceDatadog withQuery(String query) { /** * The search query. This just applies to Incremental syncs. If empty, it'll collect all logs. */ - public SourceDatadog withQuery(Optional query) { + public SourceDatadog withQuery(Optional query) { Utils.checkNotNull(query, "query"); this.query = query; return this; @@ -312,7 +311,7 @@ public SourceDatadog withStartDate(String startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This just applies to Incremental syncs. */ - public SourceDatadog withStartDate(Optional startDate) { + public SourceDatadog withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -328,20 +327,20 @@ public boolean equals(java.lang.Object o) { } SourceDatadog other = (SourceDatadog) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.applicationKey, other.applicationKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.maxRecordsPerRequest, other.maxRecordsPerRequest) && - java.util.Objects.deepEquals(this.queries, other.queries) && - java.util.Objects.deepEquals(this.query, other.query) && - java.util.Objects.deepEquals(this.site, other.site) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.applicationKey, other.applicationKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.maxRecordsPerRequest, other.maxRecordsPerRequest) && + Objects.deepEquals(this.queries, other.queries) && + Objects.deepEquals(this.query, other.query) && + Objects.deepEquals(this.site, other.site) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, applicationKey, endDate, @@ -373,17 +372,17 @@ public final static class Builder { private String applicationKey; - private Optional endDate; + private Optional endDate; - private Optional maxRecordsPerRequest; + private Optional maxRecordsPerRequest; - private Optional> queries = Optional.empty(); + private Optional> queries = Optional.empty(); - private Optional query = Optional.empty(); + private Optional query = Optional.empty(); private Optional site; - private Optional startDate; + private Optional startDate; private Builder() { // force use of static builder() method @@ -419,7 +418,7 @@ public Builder endDate(String endDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Data after this date will not be replicated. An empty value will represent the current datetime for each execution. This just applies to Incremental syncs. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -437,7 +436,7 @@ public Builder maxRecordsPerRequest(long maxRecordsPerRequest) { /** * Maximum number of records to collect per request. */ - public Builder maxRecordsPerRequest(Optional maxRecordsPerRequest) { + public Builder maxRecordsPerRequest(Optional maxRecordsPerRequest) { Utils.checkNotNull(maxRecordsPerRequest, "maxRecordsPerRequest"); this.maxRecordsPerRequest = maxRecordsPerRequest; return this; @@ -446,7 +445,7 @@ public Builder maxRecordsPerRequest(Optional maxRecordsPerReques /** * List of queries to be run and used as inputs. */ - public Builder queries(java.util.List queries) { + public Builder queries(List queries) { Utils.checkNotNull(queries, "queries"); this.queries = Optional.ofNullable(queries); return this; @@ -455,7 +454,7 @@ public Builder queries(java.util.List queries) { /** * List of queries to be run and used as inputs. */ - public Builder queries(Optional> queries) { + public Builder queries(Optional> queries) { Utils.checkNotNull(queries, "queries"); this.queries = queries; return this; @@ -473,7 +472,7 @@ public Builder query(String query) { /** * The search query. This just applies to Incremental syncs. If empty, it'll collect all logs. */ - public Builder query(Optional query) { + public Builder query(Optional query) { Utils.checkNotNull(query, "query"); this.query = query; return this; @@ -509,7 +508,7 @@ public Builder startDate(String startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This just applies to Incremental syncs. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -527,8 +526,7 @@ public SourceDatadog build() { } if (startDate == null) { startDate = _SINGLETON_VALUE_StartDate.value(); - } - return new SourceDatadog( + } return new SourceDatadog( apiKey, applicationKey, endDate, @@ -539,17 +537,17 @@ public SourceDatadog build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_EndDate = + private static final LazySingletonValue> _SINGLETON_VALUE_EndDate = new LazySingletonValue<>( "end_date", "\"2024-01-01T00:00:00Z\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_MaxRecordsPerRequest = + private static final LazySingletonValue> _SINGLETON_VALUE_MaxRecordsPerRequest = new LazySingletonValue<>( "max_records_per_request", "5000", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Site = new LazySingletonValue<>( @@ -563,11 +561,11 @@ public SourceDatadog build() { "\"datadog\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2023-12-01T00:00:00Z\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDatascope.java b/src/main/java/com/airbyte/api/models/shared/SourceDatascope.java index 743eb8753..3c0b44b5a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDatascope.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDatascope.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceDatascope { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceDatascope other = (SourceDatascope) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDbt.java b/src/main/java/com/airbyte/api/models/shared/SourceDbt.java index ae1578ebd..1332c4c41 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDbt.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDbt.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceDbt { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceDbt other = (SourceDbt) o; return - java.util.Objects.deepEquals(this.accountId, other.accountId) && - java.util.Objects.deepEquals(this.apiKey2, other.apiKey2) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.apiKey2, other.apiKey2) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountId, apiKey2, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDelighted.java b/src/main/java/com/airbyte/api/models/shared/SourceDelighted.java index 2049fec8e..74cdd400a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDelighted.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDelighted.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceDelighted { @@ -100,14 +98,14 @@ public boolean equals(java.lang.Object o) { } SourceDelighted other = (SourceDelighted) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.since, other.since) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.since, other.since) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, since, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDeputy.java b/src/main/java/com/airbyte/api/models/shared/SourceDeputy.java new file mode 100644 index 000000000..4b5b6ddd3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDeputy.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceDeputy { + + @JsonProperty("api_key") + private String apiKey; + + /** + * The base url for your deputy account to make API requests + */ + @JsonProperty("base_url") + private String baseUrl; + + @JsonProperty("sourceType") + private Deputy sourceType; + + @JsonCreator + public SourceDeputy( + @JsonProperty("api_key") String apiKey, + @JsonProperty("base_url") String baseUrl) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(baseUrl, "baseUrl"); + this.apiKey = apiKey; + this.baseUrl = baseUrl; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The base url for your deputy account to make API requests + */ + @JsonIgnore + public String baseUrl() { + return baseUrl; + } + + @JsonIgnore + public Deputy sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceDeputy withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The base url for your deputy account to make API requests + */ + public SourceDeputy withBaseUrl(String baseUrl) { + Utils.checkNotNull(baseUrl, "baseUrl"); + this.baseUrl = baseUrl; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceDeputy other = (SourceDeputy) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + baseUrl, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceDeputy.class, + "apiKey", apiKey, + "baseUrl", baseUrl, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private String baseUrl; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The base url for your deputy account to make API requests + */ + public Builder baseUrl(String baseUrl) { + Utils.checkNotNull(baseUrl, "baseUrl"); + this.baseUrl = baseUrl; + return this; + } + + public SourceDeputy build() { + return new SourceDeputy( + apiKey, + baseUrl); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"deputy\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDixa.java b/src/main/java/com/airbyte/api/models/shared/SourceDixa.java index 7efe0ec1e..e95c81cad 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDixa.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDixa.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceDixa { /** @@ -35,7 +34,7 @@ public class SourceDixa { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("batch_size") - private Optional batchSize; + private Optional batchSize; @JsonProperty("sourceType") private Dixa sourceType; @@ -49,7 +48,7 @@ public class SourceDixa { @JsonCreator public SourceDixa( @JsonProperty("api_token") String apiToken, - @JsonProperty("batch_size") Optional batchSize, + @JsonProperty("batch_size") Optional batchSize, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(apiToken, "apiToken"); Utils.checkNotNull(batchSize, "batchSize"); @@ -77,10 +76,9 @@ public String apiToken() { /** * Number of days to batch into one request. Max 31. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional batchSize() { - return (Optional) batchSize; + return batchSize; } @JsonIgnore @@ -121,7 +119,7 @@ public SourceDixa withBatchSize(long batchSize) { /** * Number of days to batch into one request. Max 31. */ - public SourceDixa withBatchSize(Optional batchSize) { + public SourceDixa withBatchSize(Optional batchSize) { Utils.checkNotNull(batchSize, "batchSize"); this.batchSize = batchSize; return this; @@ -146,15 +144,15 @@ public boolean equals(java.lang.Object o) { } SourceDixa other = (SourceDixa) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.batchSize, other.batchSize) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.batchSize, other.batchSize) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, batchSize, sourceType, @@ -174,7 +172,7 @@ public final static class Builder { private String apiToken; - private Optional batchSize; + private Optional batchSize; private OffsetDateTime startDate; @@ -203,7 +201,7 @@ public Builder batchSize(long batchSize) { /** * Number of days to batch into one request. Max 31. */ - public Builder batchSize(Optional batchSize) { + public Builder batchSize(Optional batchSize) { Utils.checkNotNull(batchSize, "batchSize"); this.batchSize = batchSize; return this; @@ -221,18 +219,17 @@ public Builder startDate(OffsetDateTime startDate) { public SourceDixa build() { if (batchSize == null) { batchSize = _SINGLETON_VALUE_BatchSize.value(); - } - return new SourceDixa( + } return new SourceDixa( apiToken, batchSize, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_BatchSize = + private static final LazySingletonValue> _SINGLETON_VALUE_BatchSize = new LazySingletonValue<>( "batch_size", "31", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java b/src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java index ff376a8c4..41315ea3b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDockerhub.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceDockerhub { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceDockerhub other = (SourceDockerhub) o; return - java.util.Objects.deepEquals(this.dockerUsername, other.dockerUsername) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.dockerUsername, other.dockerUsername) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( dockerUsername, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDremio.java b/src/main/java/com/airbyte/api/models/shared/SourceDremio.java index 2809625ab..da14461c1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDremio.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDremio.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceDremio { /** @@ -32,7 +32,7 @@ public class SourceDremio { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("base_url") - private Optional baseUrl; + private Optional baseUrl; @JsonProperty("sourceType") private Dremio sourceType; @@ -40,7 +40,7 @@ public class SourceDremio { @JsonCreator public SourceDremio( @JsonProperty("api_key") String apiKey, - @JsonProperty("base_url") Optional baseUrl) { + @JsonProperty("base_url") Optional baseUrl) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(baseUrl, "baseUrl"); this.apiKey = apiKey; @@ -64,10 +64,9 @@ public String apiKey() { /** * URL of your Dremio instance */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional baseUrl() { - return (Optional) baseUrl; + return baseUrl; } @JsonIgnore @@ -100,7 +99,7 @@ public SourceDremio withBaseUrl(String baseUrl) { /** * URL of your Dremio instance */ - public SourceDremio withBaseUrl(Optional baseUrl) { + public SourceDremio withBaseUrl(Optional baseUrl) { Utils.checkNotNull(baseUrl, "baseUrl"); this.baseUrl = baseUrl; return this; @@ -116,14 +115,14 @@ public boolean equals(java.lang.Object o) { } SourceDremio other = (SourceDremio) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, baseUrl, sourceType); @@ -141,7 +140,7 @@ public final static class Builder { private String apiKey; - private Optional baseUrl; + private Optional baseUrl; private Builder() { // force use of static builder() method @@ -168,7 +167,7 @@ public Builder baseUrl(String baseUrl) { /** * URL of your Dremio instance */ - public Builder baseUrl(Optional baseUrl) { + public Builder baseUrl(Optional baseUrl) { Utils.checkNotNull(baseUrl, "baseUrl"); this.baseUrl = baseUrl; return this; @@ -177,17 +176,16 @@ public Builder baseUrl(Optional baseUrl) { public SourceDremio build() { if (baseUrl == null) { baseUrl = _SINGLETON_VALUE_BaseUrl.value(); - } - return new SourceDremio( + } return new SourceDremio( apiKey, baseUrl); } - private static final LazySingletonValue> _SINGLETON_VALUE_BaseUrl = + private static final LazySingletonValue> _SINGLETON_VALUE_BaseUrl = new LazySingletonValue<>( "base_url", "\"https://app.dremio.cloud\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDrift.java b/src/main/java/com/airbyte/api/models/shared/SourceDrift.java new file mode 100644 index 000000000..44b9e3847 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDrift.java @@ -0,0 +1,199 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceDrift { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + private Optional credentials; + + /** + * Email used as parameter for contacts stream + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("email") + private Optional email; + + @JsonProperty("sourceType") + private SourceDriftDrift sourceType; + + @JsonCreator + public SourceDrift( + @JsonProperty("credentials") Optional credentials, + @JsonProperty("email") Optional email) { + Utils.checkNotNull(credentials, "credentials"); + Utils.checkNotNull(email, "email"); + this.credentials = credentials; + this.email = email; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceDrift() { + this(Optional.empty(), Optional.empty()); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional credentials() { + return (Optional) credentials; + } + + /** + * Email used as parameter for contacts stream + */ + @JsonIgnore + public Optional email() { + return email; + } + + @JsonIgnore + public SourceDriftDrift sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceDrift withCredentials(SourceDriftAuthorizationMethod credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = Optional.ofNullable(credentials); + return this; + } + + public SourceDrift withCredentials(Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + /** + * Email used as parameter for contacts stream + */ + public SourceDrift withEmail(String email) { + Utils.checkNotNull(email, "email"); + this.email = Optional.ofNullable(email); + return this; + } + + /** + * Email used as parameter for contacts stream + */ + public SourceDrift withEmail(Optional email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceDrift other = (SourceDrift) o; + return + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + credentials, + email, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceDrift.class, + "credentials", credentials, + "email", email, + "sourceType", sourceType); + } + + public final static class Builder { + + private Optional credentials = Optional.empty(); + + private Optional email; + + private Builder() { + // force use of static builder() method + } + + public Builder credentials(SourceDriftAuthorizationMethod credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = Optional.ofNullable(credentials); + return this; + } + + public Builder credentials(Optional credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + /** + * Email used as parameter for contacts stream + */ + public Builder email(String email) { + Utils.checkNotNull(email, "email"); + this.email = Optional.ofNullable(email); + return this; + } + + /** + * Email used as parameter for contacts stream + */ + public Builder email(Optional email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + public SourceDrift build() { + if (email == null) { + email = _SINGLETON_VALUE_Email.value(); + } return new SourceDrift( + credentials, + email); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Email = + new LazySingletonValue<>( + "email", + "\"test@test.com\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"drift\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDriftAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceDriftAuthorizationMethod.java new file mode 100644 index 000000000..7edf0947e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDriftAuthorizationMethod.java @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + + +@JsonDeserialize(using = SourceDriftAuthorizationMethod._Deserializer.class) +public class SourceDriftAuthorizationMethod { + + @JsonValue + private TypedObject value; + + private SourceDriftAuthorizationMethod(TypedObject value) { + this.value = value; + } + + public static SourceDriftAuthorizationMethod of(SourceDriftOAuth20 value) { + Utils.checkNotNull(value, "value"); + return new SourceDriftAuthorizationMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceDriftAuthorizationMethod of(AccessToken value) { + Utils.checkNotNull(value, "value"); + return new SourceDriftAuthorizationMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourceDriftOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.AccessToken}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceDriftAuthorizationMethod other = (SourceDriftAuthorizationMethod) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceDriftAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceDriftAuthorizationMethod.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDriftCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceDriftCredentials.java new file mode 100644 index 000000000..bd1f4dd1d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDriftCredentials.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceDriftCredentials { + OAUTH20("oauth2.0"); + + @JsonValue + private final String value; + + private SourceDriftCredentials(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDriftDrift.java b/src/main/java/com/airbyte/api/models/shared/SourceDriftDrift.java new file mode 100644 index 000000000..cc4a82aa7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDriftDrift.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceDriftDrift { + DRIFT("drift"); + + @JsonValue + private final String value; + + private SourceDriftDrift(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDriftOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceDriftOAuth20.java new file mode 100644 index 000000000..6f6dfd956 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDriftOAuth20.java @@ -0,0 +1,250 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceDriftOAuth20 { + + /** + * Access Token for making authenticated requests. + */ + @JsonProperty("access_token") + private String accessToken; + + /** + * The Client ID of your Drift developer application. + */ + @JsonProperty("client_id") + private String clientId; + + /** + * The Client Secret of your Drift developer application. + */ + @JsonProperty("client_secret") + private String clientSecret; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + private Optional credentials; + + /** + * Refresh Token to renew the expired Access Token. + */ + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonCreator + public SourceDriftOAuth20( + @JsonProperty("access_token") String accessToken, + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("refresh_token") String refreshToken) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(refreshToken, "refreshToken"); + this.accessToken = accessToken; + this.clientId = clientId; + this.clientSecret = clientSecret; + this.credentials = Builder._SINGLETON_VALUE_Credentials.value(); + this.refreshToken = refreshToken; + } + + /** + * Access Token for making authenticated requests. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + /** + * The Client ID of your Drift developer application. + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * The Client Secret of your Drift developer application. + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional credentials() { + return (Optional) credentials; + } + + /** + * Refresh Token to renew the expired Access Token. + */ + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Access Token for making authenticated requests. + */ + public SourceDriftOAuth20 withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * The Client ID of your Drift developer application. + */ + public SourceDriftOAuth20 withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Drift developer application. + */ + public SourceDriftOAuth20 withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Refresh Token to renew the expired Access Token. + */ + public SourceDriftOAuth20 withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceDriftOAuth20 other = (SourceDriftOAuth20) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.refreshToken, other.refreshToken); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + clientId, + clientSecret, + credentials, + refreshToken); + } + + @Override + public String toString() { + return Utils.toString(SourceDriftOAuth20.class, + "accessToken", accessToken, + "clientId", clientId, + "clientSecret", clientSecret, + "credentials", credentials, + "refreshToken", refreshToken); + } + + public final static class Builder { + + private String accessToken; + + private String clientId; + + private String clientSecret; + + private String refreshToken; + + private Builder() { + // force use of static builder() method + } + + /** + * Access Token for making authenticated requests. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * The Client ID of your Drift developer application. + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Drift developer application. + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Refresh Token to renew the expired Access Token. + */ + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public SourceDriftOAuth20 build() { + return new SourceDriftOAuth20( + accessToken, + clientId, + clientSecret, + refreshToken); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Credentials = + new LazySingletonValue<>( + "credentials", + "\"oauth2.0\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDriftSchemasCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceDriftSchemasCredentials.java new file mode 100644 index 000000000..7ecf59371 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDriftSchemasCredentials.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceDriftSchemasCredentials { + ACCESS_TOKEN("access_token"); + + @JsonValue + private final String value; + + private SourceDriftSchemasCredentials(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDrip.java b/src/main/java/com/airbyte/api/models/shared/SourceDrip.java new file mode 100644 index 000000000..b4e1b5ce6 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDrip.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceDrip { + + /** + * API key to use. Find it at https://www.getdrip.com/user/edit + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Drip sourceType; + + @JsonCreator + public SourceDrip( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Find it at https://www.getdrip.com/user/edit + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Drip sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://www.getdrip.com/user/edit + */ + public SourceDrip withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceDrip other = (SourceDrip) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceDrip.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://www.getdrip.com/user/edit + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceDrip build() { + return new SourceDrip( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"drip\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDropboxSign.java b/src/main/java/com/airbyte/api/models/shared/SourceDropboxSign.java new file mode 100644 index 000000000..265ee71bd --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDropboxSign.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceDropboxSign { + + /** + * API key to use. Find it at https://app.hellosign.com/home/myAccount#api + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private DropboxSign sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceDropboxSign( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API key to use. Find it at https://app.hellosign.com/home/myAccount#api + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public DropboxSign sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://app.hellosign.com/home/myAccount#api + */ + public SourceDropboxSign withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceDropboxSign withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceDropboxSign other = (SourceDropboxSign) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceDropboxSign.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://app.hellosign.com/home/myAccount#api + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceDropboxSign build() { + return new SourceDropboxSign( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"dropbox-sign\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java b/src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java index 817a99223..f32732c0f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDynamodb.java @@ -1,25 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; + public class SourceDynamodb { /** @@ -27,21 +29,21 @@ public class SourceDynamodb { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("credentials") - private JsonNullable credentials; + private JsonNullable credentials; /** * the URL of the Dynamodb database */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("endpoint") - private Optional endpoint; + private Optional endpoint; /** * Ignore tables with missing scan/read permissions */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ignore_missing_read_permissions_tables") - private Optional ignoreMissingReadPermissionsTables; + private Optional ignoreMissingReadPermissionsTables; /** * The region of the Dynamodb database @@ -55,7 +57,7 @@ public class SourceDynamodb { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("reserved_attribute_names") - private Optional reservedAttributeNames; + private Optional reservedAttributeNames; @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") @@ -63,11 +65,11 @@ public class SourceDynamodb { @JsonCreator public SourceDynamodb( - @JsonProperty("credentials") JsonNullable credentials, - @JsonProperty("endpoint") Optional endpoint, - @JsonProperty("ignore_missing_read_permissions_tables") Optional ignoreMissingReadPermissionsTables, + @JsonProperty("credentials") JsonNullable credentials, + @JsonProperty("endpoint") Optional endpoint, + @JsonProperty("ignore_missing_read_permissions_tables") Optional ignoreMissingReadPermissionsTables, @JsonProperty("region") Optional region, - @JsonProperty("reserved_attribute_names") Optional reservedAttributeNames) { + @JsonProperty("reserved_attribute_names") Optional reservedAttributeNames) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(endpoint, "endpoint"); Utils.checkNotNull(ignoreMissingReadPermissionsTables, "ignoreMissingReadPermissionsTables"); @@ -90,26 +92,24 @@ public SourceDynamodb() { */ @SuppressWarnings("unchecked") @JsonIgnore - public JsonNullable credentials() { - return (JsonNullable) credentials; + public JsonNullable credentials() { + return (JsonNullable) credentials; } /** * the URL of the Dynamodb database */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endpoint() { - return (Optional) endpoint; + return endpoint; } /** * Ignore tables with missing scan/read permissions */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreMissingReadPermissionsTables() { - return (Optional) ignoreMissingReadPermissionsTables; + return ignoreMissingReadPermissionsTables; } /** @@ -124,10 +124,9 @@ public Optional region() { /** * Comma separated reserved attribute names present in your tables */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional reservedAttributeNames() { - return (Optional) reservedAttributeNames; + return reservedAttributeNames; } @SuppressWarnings("unchecked") @@ -143,7 +142,7 @@ public final static Builder builder() { /** * Credentials for the service */ - public SourceDynamodb withCredentials(java.lang.Object credentials) { + public SourceDynamodb withCredentials(SourceDynamodbCredentials credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = JsonNullable.of(credentials); return this; @@ -152,7 +151,7 @@ public SourceDynamodb withCredentials(java.lang.Object credentials) { /** * Credentials for the service */ - public SourceDynamodb withCredentials(JsonNullable credentials) { + public SourceDynamodb withCredentials(JsonNullable credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; @@ -170,7 +169,7 @@ public SourceDynamodb withEndpoint(String endpoint) { /** * the URL of the Dynamodb database */ - public SourceDynamodb withEndpoint(Optional endpoint) { + public SourceDynamodb withEndpoint(Optional endpoint) { Utils.checkNotNull(endpoint, "endpoint"); this.endpoint = endpoint; return this; @@ -188,7 +187,7 @@ public SourceDynamodb withIgnoreMissingReadPermissionsTables(boolean ignoreMissi /** * Ignore tables with missing scan/read permissions */ - public SourceDynamodb withIgnoreMissingReadPermissionsTables(Optional ignoreMissingReadPermissionsTables) { + public SourceDynamodb withIgnoreMissingReadPermissionsTables(Optional ignoreMissingReadPermissionsTables) { Utils.checkNotNull(ignoreMissingReadPermissionsTables, "ignoreMissingReadPermissionsTables"); this.ignoreMissingReadPermissionsTables = ignoreMissingReadPermissionsTables; return this; @@ -224,7 +223,7 @@ public SourceDynamodb withReservedAttributeNames(String reservedAttributeNames) /** * Comma separated reserved attribute names present in your tables */ - public SourceDynamodb withReservedAttributeNames(Optional reservedAttributeNames) { + public SourceDynamodb withReservedAttributeNames(Optional reservedAttributeNames) { Utils.checkNotNull(reservedAttributeNames, "reservedAttributeNames"); this.reservedAttributeNames = reservedAttributeNames; return this; @@ -240,17 +239,17 @@ public boolean equals(java.lang.Object o) { } SourceDynamodb other = (SourceDynamodb) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.endpoint, other.endpoint) && - java.util.Objects.deepEquals(this.ignoreMissingReadPermissionsTables, other.ignoreMissingReadPermissionsTables) && - java.util.Objects.deepEquals(this.region, other.region) && - java.util.Objects.deepEquals(this.reservedAttributeNames, other.reservedAttributeNames) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.endpoint, other.endpoint) && + Objects.deepEquals(this.ignoreMissingReadPermissionsTables, other.ignoreMissingReadPermissionsTables) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.reservedAttributeNames, other.reservedAttributeNames) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, endpoint, ignoreMissingReadPermissionsTables, @@ -272,15 +271,15 @@ public String toString() { public final static class Builder { - private JsonNullable credentials = JsonNullable.undefined(); + private JsonNullable credentials = JsonNullable.undefined(); - private Optional endpoint; + private Optional endpoint; - private Optional ignoreMissingReadPermissionsTables; + private Optional ignoreMissingReadPermissionsTables; private Optional region; - private Optional reservedAttributeNames = Optional.empty(); + private Optional reservedAttributeNames = Optional.empty(); private Builder() { // force use of static builder() method @@ -289,7 +288,7 @@ private Builder() { /** * Credentials for the service */ - public Builder credentials(java.lang.Object credentials) { + public Builder credentials(SourceDynamodbCredentials credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = JsonNullable.of(credentials); return this; @@ -298,7 +297,7 @@ public Builder credentials(java.lang.Object credentials) { /** * Credentials for the service */ - public Builder credentials(JsonNullable credentials) { + public Builder credentials(JsonNullable credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; @@ -316,7 +315,7 @@ public Builder endpoint(String endpoint) { /** * the URL of the Dynamodb database */ - public Builder endpoint(Optional endpoint) { + public Builder endpoint(Optional endpoint) { Utils.checkNotNull(endpoint, "endpoint"); this.endpoint = endpoint; return this; @@ -334,7 +333,7 @@ public Builder ignoreMissingReadPermissionsTables(boolean ignoreMissingReadPermi /** * Ignore tables with missing scan/read permissions */ - public Builder ignoreMissingReadPermissionsTables(Optional ignoreMissingReadPermissionsTables) { + public Builder ignoreMissingReadPermissionsTables(Optional ignoreMissingReadPermissionsTables) { Utils.checkNotNull(ignoreMissingReadPermissionsTables, "ignoreMissingReadPermissionsTables"); this.ignoreMissingReadPermissionsTables = ignoreMissingReadPermissionsTables; return this; @@ -370,7 +369,7 @@ public Builder reservedAttributeNames(String reservedAttributeNames) { /** * Comma separated reserved attribute names present in your tables */ - public Builder reservedAttributeNames(Optional reservedAttributeNames) { + public Builder reservedAttributeNames(Optional reservedAttributeNames) { Utils.checkNotNull(reservedAttributeNames, "reservedAttributeNames"); this.reservedAttributeNames = reservedAttributeNames; return this; @@ -385,8 +384,7 @@ public SourceDynamodb build() { } if (region == null) { region = _SINGLETON_VALUE_Region.value(); - } - return new SourceDynamodb( + } return new SourceDynamodb( credentials, endpoint, ignoreMissingReadPermissionsTables, @@ -394,17 +392,17 @@ public SourceDynamodb build() { reservedAttributeNames); } - private static final LazySingletonValue> _SINGLETON_VALUE_Endpoint = + private static final LazySingletonValue> _SINGLETON_VALUE_Endpoint = new LazySingletonValue<>( "endpoint", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreMissingReadPermissionsTables = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreMissingReadPermissionsTables = new LazySingletonValue<>( "ignore_missing_read_permissions_tables", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Region = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDynamodbAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbAuthType.java new file mode 100644 index 000000000..e4efa29ad --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceDynamodbAuthType { + USER("User"); + + @JsonValue + private final String value; + + private SourceDynamodbAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDynamodbCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbCredentials.java new file mode 100644 index 000000000..e8371adbb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbCredentials.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceDynamodbCredentials - Credentials for the service + */ + +@JsonDeserialize(using = SourceDynamodbCredentials._Deserializer.class) +public class SourceDynamodbCredentials { + + @JsonValue + private TypedObject value; + + private SourceDynamodbCredentials(TypedObject value) { + this.value = value; + } + + public static SourceDynamodbCredentials of(AuthenticateViaAccessKeys value) { + Utils.checkNotNull(value, "value"); + return new SourceDynamodbCredentials(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceDynamodbCredentials of(RoleBasedAuthentication value) { + Utils.checkNotNull(value, "value"); + return new SourceDynamodbCredentials(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *
      + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaAccessKeys}
    • + *
    • {@code com.airbyte.api.models.shared.RoleBasedAuthentication}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceDynamodbCredentials other = (SourceDynamodbCredentials) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceDynamodbCredentials.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceDynamodbCredentials.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodb.java b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodb.java index 80c42ed4b..b326e3038 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodb.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodb.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceDynamodbDynamodb { DYNAMODB("dynamodb"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegion.java b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegion.java index 1734e123d..562e18971 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbDynamodbRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceDynamodbDynamodbRegion - The region of the Dynamodb database diff --git a/src/main/java/com/airbyte/api/models/shared/SourceDynamodbSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbSchemasAuthType.java new file mode 100644 index 000000000..de7e6dfb3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceDynamodbSchemasAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceDynamodbSchemasAuthType { + ROLE("Role"); + + @JsonValue + private final String value; + + private SourceDynamodbSchemasAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEConomic.java b/src/main/java/com/airbyte/api/models/shared/SourceEConomic.java new file mode 100644 index 000000000..cfa93a305 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceEConomic.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceEConomic { + + /** + * Token that identifies the grant issued by an agreement, allowing your app to access data. Obtain it from your e-conomic account settings. + */ + @JsonProperty("agreement_grant_token") + private String agreementGrantToken; + + /** + * Your private token that identifies your app. Find it in your e-conomic account settings. + */ + @JsonProperty("app_secret_token") + private String appSecretToken; + + @JsonProperty("sourceType") + private EConomic sourceType; + + @JsonCreator + public SourceEConomic( + @JsonProperty("agreement_grant_token") String agreementGrantToken, + @JsonProperty("app_secret_token") String appSecretToken) { + Utils.checkNotNull(agreementGrantToken, "agreementGrantToken"); + Utils.checkNotNull(appSecretToken, "appSecretToken"); + this.agreementGrantToken = agreementGrantToken; + this.appSecretToken = appSecretToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Token that identifies the grant issued by an agreement, allowing your app to access data. Obtain it from your e-conomic account settings. + */ + @JsonIgnore + public String agreementGrantToken() { + return agreementGrantToken; + } + + /** + * Your private token that identifies your app. Find it in your e-conomic account settings. + */ + @JsonIgnore + public String appSecretToken() { + return appSecretToken; + } + + @JsonIgnore + public EConomic sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Token that identifies the grant issued by an agreement, allowing your app to access data. Obtain it from your e-conomic account settings. + */ + public SourceEConomic withAgreementGrantToken(String agreementGrantToken) { + Utils.checkNotNull(agreementGrantToken, "agreementGrantToken"); + this.agreementGrantToken = agreementGrantToken; + return this; + } + + /** + * Your private token that identifies your app. Find it in your e-conomic account settings. + */ + public SourceEConomic withAppSecretToken(String appSecretToken) { + Utils.checkNotNull(appSecretToken, "appSecretToken"); + this.appSecretToken = appSecretToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceEConomic other = (SourceEConomic) o; + return + Objects.deepEquals(this.agreementGrantToken, other.agreementGrantToken) && + Objects.deepEquals(this.appSecretToken, other.appSecretToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + agreementGrantToken, + appSecretToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceEConomic.class, + "agreementGrantToken", agreementGrantToken, + "appSecretToken", appSecretToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String agreementGrantToken; + + private String appSecretToken; + + private Builder() { + // force use of static builder() method + } + + /** + * Token that identifies the grant issued by an agreement, allowing your app to access data. Obtain it from your e-conomic account settings. + */ + public Builder agreementGrantToken(String agreementGrantToken) { + Utils.checkNotNull(agreementGrantToken, "agreementGrantToken"); + this.agreementGrantToken = agreementGrantToken; + return this; + } + + /** + * Your private token that identifies your app. Find it in your e-conomic account settings. + */ + public Builder appSecretToken(String appSecretToken) { + Utils.checkNotNull(appSecretToken, "appSecretToken"); + this.appSecretToken = appSecretToken; + return this; + } + + public SourceEConomic build() { + return new SourceEConomic( + agreementGrantToken, + appSecretToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"e-conomic\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEasypost.java b/src/main/java/com/airbyte/api/models/shared/SourceEasypost.java new file mode 100644 index 000000000..64082eba8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceEasypost.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceEasypost { + + @JsonProperty("sourceType") + private Easypost sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * The API Key from your easypost settings + */ + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceEasypost( + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("username") String username) { + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(username, "username"); + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.username = username; + } + + @JsonIgnore + public Easypost sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * The API Key from your easypost settings + */ + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceEasypost withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * The API Key from your easypost settings + */ + public SourceEasypost withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceEasypost other = (SourceEasypost) o; + return + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + sourceType, + startDate, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceEasypost.class, + "sourceType", sourceType, + "startDate", startDate, + "username", username); + } + + public final static class Builder { + + private OffsetDateTime startDate; + + private String username; + + private Builder() { + // force use of static builder() method + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * The API Key from your easypost settings + */ + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceEasypost build() { + return new SourceEasypost( + startDate, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"easypost\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEasypromos.java b/src/main/java/com/airbyte/api/models/shared/SourceEasypromos.java new file mode 100644 index 000000000..96ddc8276 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceEasypromos.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceEasypromos { + + @JsonProperty("bearer_token") + private String bearerToken; + + @JsonProperty("sourceType") + private Easypromos sourceType; + + @JsonCreator + public SourceEasypromos( + @JsonProperty("bearer_token") String bearerToken) { + Utils.checkNotNull(bearerToken, "bearerToken"); + this.bearerToken = bearerToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String bearerToken() { + return bearerToken; + } + + @JsonIgnore + public Easypromos sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceEasypromos withBearerToken(String bearerToken) { + Utils.checkNotNull(bearerToken, "bearerToken"); + this.bearerToken = bearerToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceEasypromos other = (SourceEasypromos) o; + return + Objects.deepEquals(this.bearerToken, other.bearerToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + bearerToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceEasypromos.class, + "bearerToken", bearerToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String bearerToken; + + private Builder() { + // force use of static builder() method + } + + public Builder bearerToken(String bearerToken) { + Utils.checkNotNull(bearerToken, "bearerToken"); + this.bearerToken = bearerToken; + return this; + } + + public SourceEasypromos build() { + return new SourceEasypromos( + bearerToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"easypromos\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceElasticemail.java b/src/main/java/com/airbyte/api/models/shared/SourceElasticemail.java new file mode 100644 index 000000000..15c4af403 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceElasticemail.java @@ -0,0 +1,234 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceElasticemail { + + @JsonProperty("api_key") + private String apiKey; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("from") + private Optional from; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("scope_type") + private Optional scopeType; + + @JsonProperty("sourceType") + private Elasticemail sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceElasticemail( + @JsonProperty("api_key") String apiKey, + @JsonProperty("from") Optional from, + @JsonProperty("scope_type") Optional scopeType, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(from, "from"); + Utils.checkNotNull(scopeType, "scopeType"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.from = from; + this.scopeType = scopeType; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceElasticemail( + String apiKey, + OffsetDateTime startDate) { + this(apiKey, Optional.empty(), Optional.empty(), startDate); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Optional from() { + return from; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional scopeType() { + return (Optional) scopeType; + } + + @JsonIgnore + public Elasticemail sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceElasticemail withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceElasticemail withFrom(OffsetDateTime from) { + Utils.checkNotNull(from, "from"); + this.from = Optional.ofNullable(from); + return this; + } + + public SourceElasticemail withFrom(Optional from) { + Utils.checkNotNull(from, "from"); + this.from = from; + return this; + } + + public SourceElasticemail withScopeType(ScopeType scopeType) { + Utils.checkNotNull(scopeType, "scopeType"); + this.scopeType = Optional.ofNullable(scopeType); + return this; + } + + public SourceElasticemail withScopeType(Optional scopeType) { + Utils.checkNotNull(scopeType, "scopeType"); + this.scopeType = scopeType; + return this; + } + + public SourceElasticemail withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceElasticemail other = (SourceElasticemail) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.from, other.from) && + Objects.deepEquals(this.scopeType, other.scopeType) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + from, + scopeType, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceElasticemail.class, + "apiKey", apiKey, + "from", from, + "scopeType", scopeType, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional from = Optional.empty(); + + private Optional scopeType = Optional.empty(); + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder from(OffsetDateTime from) { + Utils.checkNotNull(from, "from"); + this.from = Optional.ofNullable(from); + return this; + } + + public Builder from(Optional from) { + Utils.checkNotNull(from, "from"); + this.from = from; + return this; + } + + public Builder scopeType(ScopeType scopeType) { + Utils.checkNotNull(scopeType, "scopeType"); + this.scopeType = Optional.ofNullable(scopeType); + return this; + } + + public Builder scopeType(Optional scopeType) { + Utils.checkNotNull(scopeType, "scopeType"); + this.scopeType = scopeType; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceElasticemail build() { + return new SourceElasticemail( + apiKey, + from, + scopeType, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"elasticemail\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java b/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java index fbf3e3f26..cbe54b3d9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceEmailoctopus { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceEmailoctopus other = (SourceEmailoctopus) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEmploymentHero.java b/src/main/java/com/airbyte/api/models/shared/SourceEmploymentHero.java new file mode 100644 index 000000000..d38d7f402 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceEmploymentHero.java @@ -0,0 +1,242 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + + +public class SourceEmploymentHero { + + @JsonProperty("api_key") + private String apiKey; + + /** + * Employees IDs in the given organisation found in `employees` stream for passing to sub-streams + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("employees_configids") + private Optional> employeesConfigids; + + /** + * Organization ID which could be found as result of `organizations` stream to be used in other substreams + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("organization_configids") + private Optional> organizationConfigids; + + @JsonProperty("sourceType") + private EmploymentHero sourceType; + + @JsonCreator + public SourceEmploymentHero( + @JsonProperty("api_key") String apiKey, + @JsonProperty("employees_configids") Optional> employeesConfigids, + @JsonProperty("organization_configids") Optional> organizationConfigids) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(employeesConfigids, "employeesConfigids"); + Utils.checkNotNull(organizationConfigids, "organizationConfigids"); + this.apiKey = apiKey; + this.employeesConfigids = employeesConfigids; + this.organizationConfigids = organizationConfigids; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceEmploymentHero( + String apiKey) { + this(apiKey, Optional.empty(), Optional.empty()); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Employees IDs in the given organisation found in `employees` stream for passing to sub-streams + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> employeesConfigids() { + return (Optional>) employeesConfigids; + } + + /** + * Organization ID which could be found as result of `organizations` stream to be used in other substreams + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> organizationConfigids() { + return (Optional>) organizationConfigids; + } + + @JsonIgnore + public EmploymentHero sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceEmploymentHero withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Employees IDs in the given organisation found in `employees` stream for passing to sub-streams + */ + public SourceEmploymentHero withEmployeesConfigids(List employeesConfigids) { + Utils.checkNotNull(employeesConfigids, "employeesConfigids"); + this.employeesConfigids = Optional.ofNullable(employeesConfigids); + return this; + } + + /** + * Employees IDs in the given organisation found in `employees` stream for passing to sub-streams + */ + public SourceEmploymentHero withEmployeesConfigids(Optional> employeesConfigids) { + Utils.checkNotNull(employeesConfigids, "employeesConfigids"); + this.employeesConfigids = employeesConfigids; + return this; + } + + /** + * Organization ID which could be found as result of `organizations` stream to be used in other substreams + */ + public SourceEmploymentHero withOrganizationConfigids(List organizationConfigids) { + Utils.checkNotNull(organizationConfigids, "organizationConfigids"); + this.organizationConfigids = Optional.ofNullable(organizationConfigids); + return this; + } + + /** + * Organization ID which could be found as result of `organizations` stream to be used in other substreams + */ + public SourceEmploymentHero withOrganizationConfigids(Optional> organizationConfigids) { + Utils.checkNotNull(organizationConfigids, "organizationConfigids"); + this.organizationConfigids = organizationConfigids; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceEmploymentHero other = (SourceEmploymentHero) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.employeesConfigids, other.employeesConfigids) && + Objects.deepEquals(this.organizationConfigids, other.organizationConfigids) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + employeesConfigids, + organizationConfigids, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceEmploymentHero.class, + "apiKey", apiKey, + "employeesConfigids", employeesConfigids, + "organizationConfigids", organizationConfigids, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Optional> employeesConfigids = Optional.empty(); + + private Optional> organizationConfigids = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Employees IDs in the given organisation found in `employees` stream for passing to sub-streams + */ + public Builder employeesConfigids(List employeesConfigids) { + Utils.checkNotNull(employeesConfigids, "employeesConfigids"); + this.employeesConfigids = Optional.ofNullable(employeesConfigids); + return this; + } + + /** + * Employees IDs in the given organisation found in `employees` stream for passing to sub-streams + */ + public Builder employeesConfigids(Optional> employeesConfigids) { + Utils.checkNotNull(employeesConfigids, "employeesConfigids"); + this.employeesConfigids = employeesConfigids; + return this; + } + + /** + * Organization ID which could be found as result of `organizations` stream to be used in other substreams + */ + public Builder organizationConfigids(List organizationConfigids) { + Utils.checkNotNull(organizationConfigids, "organizationConfigids"); + this.organizationConfigids = Optional.ofNullable(organizationConfigids); + return this; + } + + /** + * Organization ID which could be found as result of `organizations` stream to be used in other substreams + */ + public Builder organizationConfigids(Optional> organizationConfigids) { + Utils.checkNotNull(organizationConfigids, "organizationConfigids"); + this.organizationConfigids = organizationConfigids; + return this; + } + + public SourceEmploymentHero build() { + return new SourceEmploymentHero( + apiKey, + employeesConfigids, + organizationConfigids); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"employment-hero\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEncharge.java b/src/main/java/com/airbyte/api/models/shared/SourceEncharge.java new file mode 100644 index 000000000..f14cd0e82 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceEncharge.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceEncharge { + + /** + * The API key to use for authentication + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Encharge sourceType; + + @JsonCreator + public SourceEncharge( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * The API key to use for authentication + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Encharge sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The API key to use for authentication + */ + public SourceEncharge withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceEncharge other = (SourceEncharge) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceEncharge.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * The API key to use for authentication + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceEncharge build() { + return new SourceEncharge( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"encharge\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEventbrite.java b/src/main/java/com/airbyte/api/models/shared/SourceEventbrite.java new file mode 100644 index 000000000..3b8f7b221 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceEventbrite.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceEventbrite { + + /** + * The private token to use for authenticating API requests. + */ + @JsonProperty("private_token") + private String privateToken; + + @JsonProperty("sourceType") + private Eventbrite sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceEventbrite( + @JsonProperty("private_token") String privateToken, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(privateToken, "privateToken"); + Utils.checkNotNull(startDate, "startDate"); + this.privateToken = privateToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * The private token to use for authenticating API requests. + */ + @JsonIgnore + public String privateToken() { + return privateToken; + } + + @JsonIgnore + public Eventbrite sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The private token to use for authenticating API requests. + */ + public SourceEventbrite withPrivateToken(String privateToken) { + Utils.checkNotNull(privateToken, "privateToken"); + this.privateToken = privateToken; + return this; + } + + public SourceEventbrite withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceEventbrite other = (SourceEventbrite) o; + return + Objects.deepEquals(this.privateToken, other.privateToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + privateToken, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceEventbrite.class, + "privateToken", privateToken, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String privateToken; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * The private token to use for authenticating API requests. + */ + public Builder privateToken(String privateToken) { + Utils.checkNotNull(privateToken, "privateToken"); + this.privateToken = privateToken; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceEventbrite build() { + return new SourceEventbrite( + privateToken, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"eventbrite\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEventee.java b/src/main/java/com/airbyte/api/models/shared/SourceEventee.java new file mode 100644 index 000000000..dc0e93b0f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceEventee.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceEventee { + + /** + * API token to use. Generate it at https://admin.eventee.co/ in 'Settings -> Features'. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private Eventee sourceType; + + @JsonCreator + public SourceEventee( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API token to use. Generate it at https://admin.eventee.co/ in 'Settings -> Features'. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public Eventee sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token to use. Generate it at https://admin.eventee.co/ in 'Settings -> Features'. + */ + public SourceEventee withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceEventee other = (SourceEventee) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceEventee.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * API token to use. Generate it at https://admin.eventee.co/ in 'Settings -> Features'. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceEventee build() { + return new SourceEventee( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"eventee\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEventzilla.java b/src/main/java/com/airbyte/api/models/shared/SourceEventzilla.java new file mode 100644 index 000000000..9b96b8b41 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceEventzilla.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceEventzilla { + + @JsonProperty("sourceType") + private Eventzilla sourceType; + + /** + * API key to use. Generate it by creating a new application within your Eventzilla account settings under Settings > App Management. + */ + @JsonProperty("x-api-key") + private String xApiKey; + + @JsonCreator + public SourceEventzilla( + @JsonProperty("x-api-key") String xApiKey) { + Utils.checkNotNull(xApiKey, "xApiKey"); + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.xApiKey = xApiKey; + } + + @JsonIgnore + public Eventzilla sourceType() { + return sourceType; + } + + /** + * API key to use. Generate it by creating a new application within your Eventzilla account settings under Settings > App Management. + */ + @JsonIgnore + public String xApiKey() { + return xApiKey; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Generate it by creating a new application within your Eventzilla account settings under Settings > App Management. + */ + public SourceEventzilla withXApiKey(String xApiKey) { + Utils.checkNotNull(xApiKey, "xApiKey"); + this.xApiKey = xApiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceEventzilla other = (SourceEventzilla) o; + return + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.xApiKey, other.xApiKey); + } + + @Override + public int hashCode() { + return Objects.hash( + sourceType, + xApiKey); + } + + @Override + public String toString() { + return Utils.toString(SourceEventzilla.class, + "sourceType", sourceType, + "xApiKey", xApiKey); + } + + public final static class Builder { + + private String xApiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Generate it by creating a new application within your Eventzilla account settings under Settings > App Management. + */ + public Builder xApiKey(String xApiKey) { + Utils.checkNotNull(xApiKey, "xApiKey"); + this.xApiKey = xApiKey; + return this; + } + + public SourceEventzilla build() { + return new SourceEventzilla( + xApiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"eventzilla\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java b/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java index ff2b0f4d6..bbac342d3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java @@ -1,25 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.Objects; import java.util.Optional; + public class SourceExchangeRates { /** @@ -33,14 +34,14 @@ public class SourceExchangeRates { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("base") - private Optional base; + private Optional base; /** * Ignore weekends? (Exchanges don't run on weekends) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ignore_weekends") - private Optional ignoreWeekends; + private Optional ignoreWeekends; @JsonProperty("sourceType") private ExchangeRates sourceType; @@ -54,8 +55,8 @@ public class SourceExchangeRates { @JsonCreator public SourceExchangeRates( @JsonProperty("access_key") String accessKey, - @JsonProperty("base") Optional base, - @JsonProperty("ignore_weekends") Optional ignoreWeekends, + @JsonProperty("base") Optional base, + @JsonProperty("ignore_weekends") Optional ignoreWeekends, @JsonProperty("start_date") LocalDate startDate) { Utils.checkNotNull(accessKey, "accessKey"); Utils.checkNotNull(base, "base"); @@ -85,19 +86,17 @@ public String accessKey() { /** * ISO reference currency. See <a href="https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html">here</a>. Free plan doesn't support Source Currency Switching, default base currency is EUR */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional base() { - return (Optional) base; + return base; } /** * Ignore weekends? (Exchanges don't run on weekends) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreWeekends() { - return (Optional) ignoreWeekends; + return ignoreWeekends; } @JsonIgnore @@ -138,7 +137,7 @@ public SourceExchangeRates withBase(String base) { /** * ISO reference currency. See <a href="https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html">here</a>. Free plan doesn't support Source Currency Switching, default base currency is EUR */ - public SourceExchangeRates withBase(Optional base) { + public SourceExchangeRates withBase(Optional base) { Utils.checkNotNull(base, "base"); this.base = base; return this; @@ -156,7 +155,7 @@ public SourceExchangeRates withIgnoreWeekends(boolean ignoreWeekends) { /** * Ignore weekends? (Exchanges don't run on weekends) */ - public SourceExchangeRates withIgnoreWeekends(Optional ignoreWeekends) { + public SourceExchangeRates withIgnoreWeekends(Optional ignoreWeekends) { Utils.checkNotNull(ignoreWeekends, "ignoreWeekends"); this.ignoreWeekends = ignoreWeekends; return this; @@ -181,16 +180,16 @@ public boolean equals(java.lang.Object o) { } SourceExchangeRates other = (SourceExchangeRates) o; return - java.util.Objects.deepEquals(this.accessKey, other.accessKey) && - java.util.Objects.deepEquals(this.base, other.base) && - java.util.Objects.deepEquals(this.ignoreWeekends, other.ignoreWeekends) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accessKey, other.accessKey) && + Objects.deepEquals(this.base, other.base) && + Objects.deepEquals(this.ignoreWeekends, other.ignoreWeekends) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKey, base, ignoreWeekends, @@ -212,9 +211,9 @@ public final static class Builder { private String accessKey; - private Optional base = Optional.empty(); + private Optional base = Optional.empty(); - private Optional ignoreWeekends; + private Optional ignoreWeekends; private LocalDate startDate; @@ -243,7 +242,7 @@ public Builder base(String base) { /** * ISO reference currency. See <a href="https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html">here</a>. Free plan doesn't support Source Currency Switching, default base currency is EUR */ - public Builder base(Optional base) { + public Builder base(Optional base) { Utils.checkNotNull(base, "base"); this.base = base; return this; @@ -261,7 +260,7 @@ public Builder ignoreWeekends(boolean ignoreWeekends) { /** * Ignore weekends? (Exchanges don't run on weekends) */ - public Builder ignoreWeekends(Optional ignoreWeekends) { + public Builder ignoreWeekends(Optional ignoreWeekends) { Utils.checkNotNull(ignoreWeekends, "ignoreWeekends"); this.ignoreWeekends = ignoreWeekends; return this; @@ -279,19 +278,18 @@ public Builder startDate(LocalDate startDate) { public SourceExchangeRates build() { if (ignoreWeekends == null) { ignoreWeekends = _SINGLETON_VALUE_IgnoreWeekends.value(); - } - return new SourceExchangeRates( + } return new SourceExchangeRates( accessKey, base, ignoreWeekends, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreWeekends = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreWeekends = new LazySingletonValue<>( "ignore_weekends", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceEzofficeinventory.java b/src/main/java/com/airbyte/api/models/shared/SourceEzofficeinventory.java index b89b7cc36..6512527cc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceEzofficeinventory.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceEzofficeinventory.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceEzofficeinventory { @@ -126,15 +124,15 @@ public boolean equals(java.lang.Object o) { } SourceEzofficeinventory other = (SourceEzofficeinventory) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.subdomain, other.subdomain); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.subdomain, other.subdomain); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java index 54cc8b1bf..fdef11212 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketing.java @@ -1,27 +1,29 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceFacebookMarketing { /** @@ -29,34 +31,34 @@ public class SourceFacebookMarketing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_token") - private Optional accessToken; + private Optional accessToken; /** * The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your <a href="https://adsmanager.facebook.com/adsmanager/">Meta Ads Manager</a>. See the <a href="https://www.facebook.com/business/help/1492627900875762">docs</a> for more information. */ @JsonProperty("account_ids") - private java.util.List accountIds; + private List accountIds; /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ad_statuses") - private Optional> adStatuses; + private Optional> adStatuses; /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("adset_statuses") - private Optional> adsetStatuses; + private Optional> adsetStatuses; /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("campaign_statuses") - private Optional> campaignStatuses; + private Optional> campaignStatuses; /** * Credentials for connecting to the Facebook Marketing API @@ -69,42 +71,42 @@ public class SourceFacebookMarketing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("custom_insights") - private Optional> customInsights; + private Optional> customInsights; /** * The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * Set to active if you want to fetch the thumbnail_url and store the result in thumbnail_data_url for each Ad Creative. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("fetch_thumbnail_images") - private Optional fetchThumbnailImages; + private Optional fetchThumbnailImages; /** * Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("insights_job_timeout") - private Optional insightsJobTimeout; + private Optional insightsJobTimeout; /** * The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("insights_lookback_window") - private Optional insightsLookbackWindow; + private Optional insightsLookbackWindow; /** * Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("page_size") - private Optional pageSize; + private Optional pageSize; @JsonProperty("sourceType") private SourceFacebookMarketingFacebookMarketing sourceType; @@ -114,23 +116,23 @@ public class SourceFacebookMarketing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceFacebookMarketing( - @JsonProperty("access_token") Optional accessToken, - @JsonProperty("account_ids") java.util.List accountIds, - @JsonProperty("ad_statuses") Optional> adStatuses, - @JsonProperty("adset_statuses") Optional> adsetStatuses, - @JsonProperty("campaign_statuses") Optional> campaignStatuses, + @JsonProperty("access_token") Optional accessToken, + @JsonProperty("account_ids") List accountIds, + @JsonProperty("ad_statuses") Optional> adStatuses, + @JsonProperty("adset_statuses") Optional> adsetStatuses, + @JsonProperty("campaign_statuses") Optional> campaignStatuses, @JsonProperty("credentials") SourceFacebookMarketingAuthentication credentials, - @JsonProperty("custom_insights") Optional> customInsights, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("fetch_thumbnail_images") Optional fetchThumbnailImages, - @JsonProperty("insights_job_timeout") Optional insightsJobTimeout, - @JsonProperty("insights_lookback_window") Optional insightsLookbackWindow, - @JsonProperty("page_size") Optional pageSize, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("custom_insights") Optional> customInsights, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("fetch_thumbnail_images") Optional fetchThumbnailImages, + @JsonProperty("insights_job_timeout") Optional insightsJobTimeout, + @JsonProperty("insights_lookback_window") Optional insightsLookbackWindow, + @JsonProperty("page_size") Optional pageSize, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(accountIds, "accountIds"); Utils.checkNotNull(adStatuses, "adStatuses"); @@ -161,7 +163,7 @@ public SourceFacebookMarketing( } public SourceFacebookMarketing( - java.util.List accountIds, + List accountIds, SourceFacebookMarketingAuthentication credentials) { this(Optional.empty(), accountIds, Optional.empty(), Optional.empty(), Optional.empty(), credentials, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); } @@ -169,17 +171,16 @@ public SourceFacebookMarketing( /** * The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions <b>ads_management, ads_read, read_insights, business_management</b>. Then click on "Get token". See the <a href="https://docs.airbyte.com/integrations/sources/facebook-marketing">docs</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessToken() { - return (Optional) accessToken; + return accessToken; } /** * The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your <a href="https://adsmanager.facebook.com/adsmanager/">Meta Ads Manager</a>. See the <a href="https://www.facebook.com/business/help/1492627900875762">docs</a> for more information. */ @JsonIgnore - public java.util.List accountIds() { + public List accountIds() { return accountIds; } @@ -188,8 +189,8 @@ public java.util.List accountIds() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> adStatuses() { - return (Optional>) adStatuses; + public Optional> adStatuses() { + return (Optional>) adStatuses; } /** @@ -197,8 +198,8 @@ public Optional> adStatuses() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> adsetStatuses() { - return (Optional>) adsetStatuses; + public Optional> adsetStatuses() { + return (Optional>) adsetStatuses; } /** @@ -206,8 +207,8 @@ public Optional> adsetStatuses() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> campaignStatuses() { - return (Optional>) campaignStatuses; + public Optional> campaignStatuses() { + return (Optional>) campaignStatuses; } /** @@ -223,53 +224,48 @@ public SourceFacebookMarketingAuthentication credentials() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> customInsights() { - return (Optional>) customInsights; + public Optional> customInsights() { + return (Optional>) customInsights; } /** * The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** * Set to active if you want to fetch the thumbnail_url and store the result in thumbnail_data_url for each Ad Creative. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional fetchThumbnailImages() { - return (Optional) fetchThumbnailImages; + return fetchThumbnailImages; } /** * Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional insightsJobTimeout() { - return (Optional) insightsJobTimeout; + return insightsJobTimeout; } /** * The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional insightsLookbackWindow() { - return (Optional) insightsLookbackWindow; + return insightsLookbackWindow; } /** * Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional pageSize() { - return (Optional) pageSize; + return pageSize; } @JsonIgnore @@ -280,10 +276,9 @@ public SourceFacebookMarketingFacebookMarketing sourceType() { /** * The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -302,7 +297,7 @@ public SourceFacebookMarketing withAccessToken(String accessToken) { /** * The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions <b>ads_management, ads_read, read_insights, business_management</b>. Then click on "Get token". See the <a href="https://docs.airbyte.com/integrations/sources/facebook-marketing">docs</a> for more information. */ - public SourceFacebookMarketing withAccessToken(Optional accessToken) { + public SourceFacebookMarketing withAccessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -311,7 +306,7 @@ public SourceFacebookMarketing withAccessToken(Optional access /** * The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your <a href="https://adsmanager.facebook.com/adsmanager/">Meta Ads Manager</a>. See the <a href="https://www.facebook.com/business/help/1492627900875762">docs</a> for more information. */ - public SourceFacebookMarketing withAccountIds(java.util.List accountIds) { + public SourceFacebookMarketing withAccountIds(List accountIds) { Utils.checkNotNull(accountIds, "accountIds"); this.accountIds = accountIds; return this; @@ -320,7 +315,7 @@ public SourceFacebookMarketing withAccountIds(java.util.List accountIds) /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ - public SourceFacebookMarketing withAdStatuses(java.util.List adStatuses) { + public SourceFacebookMarketing withAdStatuses(List adStatuses) { Utils.checkNotNull(adStatuses, "adStatuses"); this.adStatuses = Optional.ofNullable(adStatuses); return this; @@ -329,7 +324,7 @@ public SourceFacebookMarketing withAdStatuses(java.util.List ad /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ - public SourceFacebookMarketing withAdStatuses(Optional> adStatuses) { + public SourceFacebookMarketing withAdStatuses(Optional> adStatuses) { Utils.checkNotNull(adStatuses, "adStatuses"); this.adStatuses = adStatuses; return this; @@ -338,7 +333,7 @@ public SourceFacebookMarketing withAdStatuses(Optional adsetStatuses) { + public SourceFacebookMarketing withAdsetStatuses(List adsetStatuses) { Utils.checkNotNull(adsetStatuses, "adsetStatuses"); this.adsetStatuses = Optional.ofNullable(adsetStatuses); return this; @@ -347,7 +342,7 @@ public SourceFacebookMarketing withAdsetStatuses(java.util.List> adsetStatuses) { + public SourceFacebookMarketing withAdsetStatuses(Optional> adsetStatuses) { Utils.checkNotNull(adsetStatuses, "adsetStatuses"); this.adsetStatuses = adsetStatuses; return this; @@ -356,7 +351,7 @@ public SourceFacebookMarketing withAdsetStatuses(Optional campaignStatuses) { + public SourceFacebookMarketing withCampaignStatuses(List campaignStatuses) { Utils.checkNotNull(campaignStatuses, "campaignStatuses"); this.campaignStatuses = Optional.ofNullable(campaignStatuses); return this; @@ -365,7 +360,7 @@ public SourceFacebookMarketing withCampaignStatuses(java.util.List> campaignStatuses) { + public SourceFacebookMarketing withCampaignStatuses(Optional> campaignStatuses) { Utils.checkNotNull(campaignStatuses, "campaignStatuses"); this.campaignStatuses = campaignStatuses; return this; @@ -383,7 +378,7 @@ public SourceFacebookMarketing withCredentials(SourceFacebookMarketingAuthentica /** * A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. */ - public SourceFacebookMarketing withCustomInsights(java.util.List customInsights) { + public SourceFacebookMarketing withCustomInsights(List customInsights) { Utils.checkNotNull(customInsights, "customInsights"); this.customInsights = Optional.ofNullable(customInsights); return this; @@ -392,7 +387,7 @@ public SourceFacebookMarketing withCustomInsights(java.util.List /** * A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. */ - public SourceFacebookMarketing withCustomInsights(Optional> customInsights) { + public SourceFacebookMarketing withCustomInsights(Optional> customInsights) { Utils.checkNotNull(customInsights, "customInsights"); this.customInsights = customInsights; return this; @@ -410,7 +405,7 @@ public SourceFacebookMarketing withEndDate(OffsetDateTime endDate) { /** * The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. */ - public SourceFacebookMarketing withEndDate(Optional endDate) { + public SourceFacebookMarketing withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -428,7 +423,7 @@ public SourceFacebookMarketing withFetchThumbnailImages(boolean fetchThumbnailIm /** * Set to active if you want to fetch the thumbnail_url and store the result in thumbnail_data_url for each Ad Creative. */ - public SourceFacebookMarketing withFetchThumbnailImages(Optional fetchThumbnailImages) { + public SourceFacebookMarketing withFetchThumbnailImages(Optional fetchThumbnailImages) { Utils.checkNotNull(fetchThumbnailImages, "fetchThumbnailImages"); this.fetchThumbnailImages = fetchThumbnailImages; return this; @@ -446,7 +441,7 @@ public SourceFacebookMarketing withInsightsJobTimeout(long insightsJobTimeout) { /** * Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. */ - public SourceFacebookMarketing withInsightsJobTimeout(Optional insightsJobTimeout) { + public SourceFacebookMarketing withInsightsJobTimeout(Optional insightsJobTimeout) { Utils.checkNotNull(insightsJobTimeout, "insightsJobTimeout"); this.insightsJobTimeout = insightsJobTimeout; return this; @@ -464,7 +459,7 @@ public SourceFacebookMarketing withInsightsLookbackWindow(long insightsLookbackW /** * The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. */ - public SourceFacebookMarketing withInsightsLookbackWindow(Optional insightsLookbackWindow) { + public SourceFacebookMarketing withInsightsLookbackWindow(Optional insightsLookbackWindow) { Utils.checkNotNull(insightsLookbackWindow, "insightsLookbackWindow"); this.insightsLookbackWindow = insightsLookbackWindow; return this; @@ -482,7 +477,7 @@ public SourceFacebookMarketing withPageSize(long pageSize) { /** * Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. */ - public SourceFacebookMarketing withPageSize(Optional pageSize) { + public SourceFacebookMarketing withPageSize(Optional pageSize) { Utils.checkNotNull(pageSize, "pageSize"); this.pageSize = pageSize; return this; @@ -500,7 +495,7 @@ public SourceFacebookMarketing withStartDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams. */ - public SourceFacebookMarketing withStartDate(Optional startDate) { + public SourceFacebookMarketing withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -516,25 +511,25 @@ public boolean equals(java.lang.Object o) { } SourceFacebookMarketing other = (SourceFacebookMarketing) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.accountIds, other.accountIds) && - java.util.Objects.deepEquals(this.adStatuses, other.adStatuses) && - java.util.Objects.deepEquals(this.adsetStatuses, other.adsetStatuses) && - java.util.Objects.deepEquals(this.campaignStatuses, other.campaignStatuses) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.customInsights, other.customInsights) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.fetchThumbnailImages, other.fetchThumbnailImages) && - java.util.Objects.deepEquals(this.insightsJobTimeout, other.insightsJobTimeout) && - java.util.Objects.deepEquals(this.insightsLookbackWindow, other.insightsLookbackWindow) && - java.util.Objects.deepEquals(this.pageSize, other.pageSize) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.accountIds, other.accountIds) && + Objects.deepEquals(this.adStatuses, other.adStatuses) && + Objects.deepEquals(this.adsetStatuses, other.adsetStatuses) && + Objects.deepEquals(this.campaignStatuses, other.campaignStatuses) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.customInsights, other.customInsights) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.fetchThumbnailImages, other.fetchThumbnailImages) && + Objects.deepEquals(this.insightsJobTimeout, other.insightsJobTimeout) && + Objects.deepEquals(this.insightsLookbackWindow, other.insightsLookbackWindow) && + Objects.deepEquals(this.pageSize, other.pageSize) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, accountIds, adStatuses, @@ -572,31 +567,31 @@ public String toString() { public final static class Builder { - private Optional accessToken = Optional.empty(); + private Optional accessToken = Optional.empty(); - private java.util.List accountIds; + private List accountIds; - private Optional> adStatuses = Optional.empty(); + private Optional> adStatuses = Optional.empty(); - private Optional> adsetStatuses = Optional.empty(); + private Optional> adsetStatuses = Optional.empty(); - private Optional> campaignStatuses = Optional.empty(); + private Optional> campaignStatuses = Optional.empty(); private SourceFacebookMarketingAuthentication credentials; - private Optional> customInsights = Optional.empty(); + private Optional> customInsights = Optional.empty(); - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional fetchThumbnailImages; + private Optional fetchThumbnailImages; - private Optional insightsJobTimeout; + private Optional insightsJobTimeout; - private Optional insightsLookbackWindow; + private Optional insightsLookbackWindow; - private Optional pageSize; + private Optional pageSize; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -614,7 +609,7 @@ public Builder accessToken(String accessToken) { /** * The value of the generated access token. From your App’s Dashboard, click on "Marketing API" then "Tools". Select permissions <b>ads_management, ads_read, read_insights, business_management</b>. Then click on "Get token". See the <a href="https://docs.airbyte.com/integrations/sources/facebook-marketing">docs</a> for more information. */ - public Builder accessToken(Optional accessToken) { + public Builder accessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -623,7 +618,7 @@ public Builder accessToken(Optional accessToken) { /** * The Facebook Ad account ID(s) to pull data from. The Ad account ID number is in the account dropdown menu or in your browser's address bar of your <a href="https://adsmanager.facebook.com/adsmanager/">Meta Ads Manager</a>. See the <a href="https://www.facebook.com/business/help/1492627900875762">docs</a> for more information. */ - public Builder accountIds(java.util.List accountIds) { + public Builder accountIds(List accountIds) { Utils.checkNotNull(accountIds, "accountIds"); this.accountIds = accountIds; return this; @@ -632,7 +627,7 @@ public Builder accountIds(java.util.List accountIds) { /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ - public Builder adStatuses(java.util.List adStatuses) { + public Builder adStatuses(List adStatuses) { Utils.checkNotNull(adStatuses, "adStatuses"); this.adStatuses = Optional.ofNullable(adStatuses); return this; @@ -641,7 +636,7 @@ public Builder adStatuses(java.util.List adStatuses) { /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ - public Builder adStatuses(Optional> adStatuses) { + public Builder adStatuses(Optional> adStatuses) { Utils.checkNotNull(adStatuses, "adStatuses"); this.adStatuses = adStatuses; return this; @@ -650,7 +645,7 @@ public Builder adStatuses(Optional> ad /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ - public Builder adsetStatuses(java.util.List adsetStatuses) { + public Builder adsetStatuses(List adsetStatuses) { Utils.checkNotNull(adsetStatuses, "adsetStatuses"); this.adsetStatuses = Optional.ofNullable(adsetStatuses); return this; @@ -659,7 +654,7 @@ public Builder adsetStatuses(java.util.List adsetStatuses) { /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ - public Builder adsetStatuses(Optional> adsetStatuses) { + public Builder adsetStatuses(Optional> adsetStatuses) { Utils.checkNotNull(adsetStatuses, "adsetStatuses"); this.adsetStatuses = adsetStatuses; return this; @@ -668,7 +663,7 @@ public Builder adsetStatuses(Optional campaignStatuses) { + public Builder campaignStatuses(List campaignStatuses) { Utils.checkNotNull(campaignStatuses, "campaignStatuses"); this.campaignStatuses = Optional.ofNullable(campaignStatuses); return this; @@ -677,7 +672,7 @@ public Builder campaignStatuses(java.util.List campaignSt /** * Select the statuses you want to be loaded in the stream. If no specific statuses are selected, the API's default behavior applies, and some statuses may be filtered out. */ - public Builder campaignStatuses(Optional> campaignStatuses) { + public Builder campaignStatuses(Optional> campaignStatuses) { Utils.checkNotNull(campaignStatuses, "campaignStatuses"); this.campaignStatuses = campaignStatuses; return this; @@ -695,7 +690,7 @@ public Builder credentials(SourceFacebookMarketingAuthentication credentials) { /** * A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. */ - public Builder customInsights(java.util.List customInsights) { + public Builder customInsights(List customInsights) { Utils.checkNotNull(customInsights, "customInsights"); this.customInsights = Optional.ofNullable(customInsights); return this; @@ -704,7 +699,7 @@ public Builder customInsights(java.util.List customInsights) { /** * A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. */ - public Builder customInsights(Optional> customInsights) { + public Builder customInsights(Optional> customInsights) { Utils.checkNotNull(customInsights, "customInsights"); this.customInsights = customInsights; return this; @@ -722,7 +717,7 @@ public Builder endDate(OffsetDateTime endDate) { /** * The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated between the start date and this end date will be replicated. Not setting this option will result in always syncing the latest data. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -740,7 +735,7 @@ public Builder fetchThumbnailImages(boolean fetchThumbnailImages) { /** * Set to active if you want to fetch the thumbnail_url and store the result in thumbnail_data_url for each Ad Creative. */ - public Builder fetchThumbnailImages(Optional fetchThumbnailImages) { + public Builder fetchThumbnailImages(Optional fetchThumbnailImages) { Utils.checkNotNull(fetchThumbnailImages, "fetchThumbnailImages"); this.fetchThumbnailImages = fetchThumbnailImages; return this; @@ -758,7 +753,7 @@ public Builder insightsJobTimeout(long insightsJobTimeout) { /** * Insights Job Timeout establishes the maximum amount of time (in minutes) of waiting for the report job to complete. When timeout is reached the job is considered failed and we are trying to request smaller amount of data by breaking the job to few smaller ones. If you definitely know that 60 minutes is not enough for your report to be processed then you can decrease the timeout value, so we start breaking job to smaller parts faster. */ - public Builder insightsJobTimeout(Optional insightsJobTimeout) { + public Builder insightsJobTimeout(Optional insightsJobTimeout) { Utils.checkNotNull(insightsJobTimeout, "insightsJobTimeout"); this.insightsJobTimeout = insightsJobTimeout; return this; @@ -776,7 +771,7 @@ public Builder insightsLookbackWindow(long insightsLookbackWindow) { /** * The attribution window. Facebook freezes insight data 28 days after it was generated, which means that all data from the past 28 days may have changed since we last emitted it, so you can retrieve refreshed insights from the past by setting this parameter. If you set a custom lookback window value in Facebook account, please provide the same value here. */ - public Builder insightsLookbackWindow(Optional insightsLookbackWindow) { + public Builder insightsLookbackWindow(Optional insightsLookbackWindow) { Utils.checkNotNull(insightsLookbackWindow, "insightsLookbackWindow"); this.insightsLookbackWindow = insightsLookbackWindow; return this; @@ -794,7 +789,7 @@ public Builder pageSize(long pageSize) { /** * Page size used when sending requests to Facebook API to specify number of records per page when response has pagination. Most users do not need to set this field unless they specifically need to tune the connector to address specific issues or use cases. */ - public Builder pageSize(Optional pageSize) { + public Builder pageSize(Optional pageSize) { Utils.checkNotNull(pageSize, "pageSize"); this.pageSize = pageSize; return this; @@ -812,7 +807,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. If not set then all data will be replicated for usual streams and only last 2 years for insight streams. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -830,8 +825,7 @@ public SourceFacebookMarketing build() { } if (pageSize == null) { pageSize = _SINGLETON_VALUE_PageSize.value(); - } - return new SourceFacebookMarketing( + } return new SourceFacebookMarketing( accessToken, accountIds, adStatuses, @@ -847,29 +841,29 @@ public SourceFacebookMarketing build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_FetchThumbnailImages = + private static final LazySingletonValue> _SINGLETON_VALUE_FetchThumbnailImages = new LazySingletonValue<>( "fetch_thumbnail_images", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_InsightsJobTimeout = + private static final LazySingletonValue> _SINGLETON_VALUE_InsightsJobTimeout = new LazySingletonValue<>( "insights_job_timeout", "60", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_InsightsLookbackWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_InsightsLookbackWindow = new LazySingletonValue<>( "insights_lookback_window", "28", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_PageSize = + private static final LazySingletonValue> _SINGLETON_VALUE_PageSize = new LazySingletonValue<>( "page_size", "100", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingActionReportTime.java b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingActionReportTime.java index a8de9dd2b..bb82e9dc4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingActionReportTime.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingActionReportTime.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceFacebookMarketingActionReportTime - Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with action_report_time=impression, you see a conversion on Jan 1st. When you query the API with action_report_time=conversion, you see a conversion on Jan 2nd. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthType.java index 4257d282b..81a165e58 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFacebookMarketingAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthentication.java index 76cdb859f..62e15ee61 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceFacebookMarketingAuthentication - Credentials for connecting to the Facebook Marketing API @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceFacebookMarketingAuthentication._Deserializer.class) public class SourceFacebookMarketingAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceFacebookMarketingAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceFacebookMarketingAuthentication of(ServiceAccountKeyAuthenti /** * Returns an instance of one of these types: *
      - *
    • {@code AuthenticateViaFacebookMarketingOauth}
    • - *
    • {@code ServiceAccountKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaFacebookMarketingOauth}
    • + *
    • {@code com.airbyte.api.models.shared.ServiceAccountKeyAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceFacebookMarketingAuthentication other = (SourceFacebookMarketingAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceFacebookMarketingAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceFacebookMarketingAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketing.java b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketing.java index 7d65c8eb6..889504558 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketing.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFacebookMarketingFacebookMarketing { FACEBOOK_MARKETING("facebook-marketing"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingSchemasAuthType.java index 85e027d3d..99edcf5d5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFacebookMarketingSchemasAuthType { SERVICE("Service"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingValidEnums.java index f99747998..d4137cde9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceFacebookMarketingValidEnums - An enumeration. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFactorial.java b/src/main/java/com/airbyte/api/models/shared/SourceFactorial.java new file mode 100644 index 000000000..b26981d8b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFactorial.java @@ -0,0 +1,216 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceFactorial { + + @JsonProperty("api_key") + private String apiKey; + + /** + * Max records per page limit + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("limit") + private Optional limit; + + @JsonProperty("sourceType") + private Factorial sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceFactorial( + @JsonProperty("api_key") String apiKey, + @JsonProperty("limit") Optional limit, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(limit, "limit"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.limit = limit; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceFactorial( + String apiKey, + OffsetDateTime startDate) { + this(apiKey, Optional.empty(), startDate); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Max records per page limit + */ + @JsonIgnore + public Optional limit() { + return limit; + } + + @JsonIgnore + public Factorial sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceFactorial withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Max records per page limit + */ + public SourceFactorial withLimit(String limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = Optional.ofNullable(limit); + return this; + } + + /** + * Max records per page limit + */ + public SourceFactorial withLimit(Optional limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = limit; + return this; + } + + public SourceFactorial withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFactorial other = (SourceFactorial) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + limit, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceFactorial.class, + "apiKey", apiKey, + "limit", limit, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional limit; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Max records per page limit + */ + public Builder limit(String limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = Optional.ofNullable(limit); + return this; + } + + /** + * Max records per page limit + */ + public Builder limit(Optional limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = limit; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceFactorial build() { + if (limit == null) { + limit = _SINGLETON_VALUE_Limit.value(); + } return new SourceFactorial( + apiKey, + limit, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + new LazySingletonValue<>( + "limit", + "\"50\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"factorial\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFaker.java b/src/main/java/com/airbyte/api/models/shared/SourceFaker.java index e794d986d..335497495 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFaker.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFaker.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceFaker { /** @@ -26,46 +28,46 @@ public class SourceFaker { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("always_updated") - private Optional alwaysUpdated; + private Optional alwaysUpdated; /** * How many users should be generated in total. The purchases table will be scaled to match, with 10 purchases created per 10 users. This setting does not apply to the products stream. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("count") - private Optional count; + private Optional count; /** * How many parallel workers should we use to generate fake data? Choose a value equal to the number of CPUs you will allocate to this source. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("parallelism") - private Optional parallelism; + private Optional parallelism; /** * How many fake records will be in each page (stream slice), before a state message is emitted? */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("records_per_slice") - private Optional recordsPerSlice; + private Optional recordsPerSlice; /** * Manually control the faker random seed to return the same values on subsequent runs (leave -1 for random) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("seed") - private Optional seed; + private Optional seed; @JsonProperty("sourceType") private Faker sourceType; @JsonCreator public SourceFaker( - @JsonProperty("always_updated") Optional alwaysUpdated, - @JsonProperty("count") Optional count, - @JsonProperty("parallelism") Optional parallelism, - @JsonProperty("records_per_slice") Optional recordsPerSlice, - @JsonProperty("seed") Optional seed) { + @JsonProperty("always_updated") Optional alwaysUpdated, + @JsonProperty("count") Optional count, + @JsonProperty("parallelism") Optional parallelism, + @JsonProperty("records_per_slice") Optional recordsPerSlice, + @JsonProperty("seed") Optional seed) { Utils.checkNotNull(alwaysUpdated, "alwaysUpdated"); Utils.checkNotNull(count, "count"); Utils.checkNotNull(parallelism, "parallelism"); @@ -86,46 +88,41 @@ public SourceFaker() { /** * Should the updated_at values for every record be new each sync? Setting this to false will case the source to stop emitting records after COUNT records have been emitted. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional alwaysUpdated() { - return (Optional) alwaysUpdated; + return alwaysUpdated; } /** * How many users should be generated in total. The purchases table will be scaled to match, with 10 purchases created per 10 users. This setting does not apply to the products stream. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional count() { - return (Optional) count; + return count; } /** * How many parallel workers should we use to generate fake data? Choose a value equal to the number of CPUs you will allocate to this source. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional parallelism() { - return (Optional) parallelism; + return parallelism; } /** * How many fake records will be in each page (stream slice), before a state message is emitted? */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional recordsPerSlice() { - return (Optional) recordsPerSlice; + return recordsPerSlice; } /** * Manually control the faker random seed to return the same values on subsequent runs (leave -1 for random) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional seed() { - return (Optional) seed; + return seed; } @JsonIgnore @@ -149,7 +146,7 @@ public SourceFaker withAlwaysUpdated(boolean alwaysUpdated) { /** * Should the updated_at values for every record be new each sync? Setting this to false will case the source to stop emitting records after COUNT records have been emitted. */ - public SourceFaker withAlwaysUpdated(Optional alwaysUpdated) { + public SourceFaker withAlwaysUpdated(Optional alwaysUpdated) { Utils.checkNotNull(alwaysUpdated, "alwaysUpdated"); this.alwaysUpdated = alwaysUpdated; return this; @@ -167,7 +164,7 @@ public SourceFaker withCount(long count) { /** * How many users should be generated in total. The purchases table will be scaled to match, with 10 purchases created per 10 users. This setting does not apply to the products stream. */ - public SourceFaker withCount(Optional count) { + public SourceFaker withCount(Optional count) { Utils.checkNotNull(count, "count"); this.count = count; return this; @@ -185,7 +182,7 @@ public SourceFaker withParallelism(long parallelism) { /** * How many parallel workers should we use to generate fake data? Choose a value equal to the number of CPUs you will allocate to this source. */ - public SourceFaker withParallelism(Optional parallelism) { + public SourceFaker withParallelism(Optional parallelism) { Utils.checkNotNull(parallelism, "parallelism"); this.parallelism = parallelism; return this; @@ -203,7 +200,7 @@ public SourceFaker withRecordsPerSlice(long recordsPerSlice) { /** * How many fake records will be in each page (stream slice), before a state message is emitted? */ - public SourceFaker withRecordsPerSlice(Optional recordsPerSlice) { + public SourceFaker withRecordsPerSlice(Optional recordsPerSlice) { Utils.checkNotNull(recordsPerSlice, "recordsPerSlice"); this.recordsPerSlice = recordsPerSlice; return this; @@ -221,7 +218,7 @@ public SourceFaker withSeed(long seed) { /** * Manually control the faker random seed to return the same values on subsequent runs (leave -1 for random) */ - public SourceFaker withSeed(Optional seed) { + public SourceFaker withSeed(Optional seed) { Utils.checkNotNull(seed, "seed"); this.seed = seed; return this; @@ -237,17 +234,17 @@ public boolean equals(java.lang.Object o) { } SourceFaker other = (SourceFaker) o; return - java.util.Objects.deepEquals(this.alwaysUpdated, other.alwaysUpdated) && - java.util.Objects.deepEquals(this.count, other.count) && - java.util.Objects.deepEquals(this.parallelism, other.parallelism) && - java.util.Objects.deepEquals(this.recordsPerSlice, other.recordsPerSlice) && - java.util.Objects.deepEquals(this.seed, other.seed) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.alwaysUpdated, other.alwaysUpdated) && + Objects.deepEquals(this.count, other.count) && + Objects.deepEquals(this.parallelism, other.parallelism) && + Objects.deepEquals(this.recordsPerSlice, other.recordsPerSlice) && + Objects.deepEquals(this.seed, other.seed) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( alwaysUpdated, count, parallelism, @@ -269,15 +266,15 @@ public String toString() { public final static class Builder { - private Optional alwaysUpdated; + private Optional alwaysUpdated; - private Optional count; + private Optional count; - private Optional parallelism; + private Optional parallelism; - private Optional recordsPerSlice; + private Optional recordsPerSlice; - private Optional seed; + private Optional seed; private Builder() { // force use of static builder() method @@ -295,7 +292,7 @@ public Builder alwaysUpdated(boolean alwaysUpdated) { /** * Should the updated_at values for every record be new each sync? Setting this to false will case the source to stop emitting records after COUNT records have been emitted. */ - public Builder alwaysUpdated(Optional alwaysUpdated) { + public Builder alwaysUpdated(Optional alwaysUpdated) { Utils.checkNotNull(alwaysUpdated, "alwaysUpdated"); this.alwaysUpdated = alwaysUpdated; return this; @@ -313,7 +310,7 @@ public Builder count(long count) { /** * How many users should be generated in total. The purchases table will be scaled to match, with 10 purchases created per 10 users. This setting does not apply to the products stream. */ - public Builder count(Optional count) { + public Builder count(Optional count) { Utils.checkNotNull(count, "count"); this.count = count; return this; @@ -331,7 +328,7 @@ public Builder parallelism(long parallelism) { /** * How many parallel workers should we use to generate fake data? Choose a value equal to the number of CPUs you will allocate to this source. */ - public Builder parallelism(Optional parallelism) { + public Builder parallelism(Optional parallelism) { Utils.checkNotNull(parallelism, "parallelism"); this.parallelism = parallelism; return this; @@ -349,7 +346,7 @@ public Builder recordsPerSlice(long recordsPerSlice) { /** * How many fake records will be in each page (stream slice), before a state message is emitted? */ - public Builder recordsPerSlice(Optional recordsPerSlice) { + public Builder recordsPerSlice(Optional recordsPerSlice) { Utils.checkNotNull(recordsPerSlice, "recordsPerSlice"); this.recordsPerSlice = recordsPerSlice; return this; @@ -367,7 +364,7 @@ public Builder seed(long seed) { /** * Manually control the faker random seed to return the same values on subsequent runs (leave -1 for random) */ - public Builder seed(Optional seed) { + public Builder seed(Optional seed) { Utils.checkNotNull(seed, "seed"); this.seed = seed; return this; @@ -388,8 +385,7 @@ public SourceFaker build() { } if (seed == null) { seed = _SINGLETON_VALUE_Seed.value(); - } - return new SourceFaker( + } return new SourceFaker( alwaysUpdated, count, parallelism, @@ -397,35 +393,35 @@ public SourceFaker build() { seed); } - private static final LazySingletonValue> _SINGLETON_VALUE_AlwaysUpdated = + private static final LazySingletonValue> _SINGLETON_VALUE_AlwaysUpdated = new LazySingletonValue<>( "always_updated", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Count = + private static final LazySingletonValue> _SINGLETON_VALUE_Count = new LazySingletonValue<>( "count", "1000", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Parallelism = + private static final LazySingletonValue> _SINGLETON_VALUE_Parallelism = new LazySingletonValue<>( "parallelism", "4", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_RecordsPerSlice = + private static final LazySingletonValue> _SINGLETON_VALUE_RecordsPerSlice = new LazySingletonValue<>( "records_per_slice", "1000", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Seed = + private static final LazySingletonValue> _SINGLETON_VALUE_Seed = new LazySingletonValue<>( "seed", "-1", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFauna.java b/src/main/java/com/airbyte/api/models/shared/SourceFauna.java index 90f4db631..d382940de 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFauna.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFauna.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceFauna { /** @@ -33,21 +35,21 @@ public class SourceFauna { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("domain") - private Optional domain; + private Optional domain; /** * Endpoint port. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * URL scheme. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("scheme") - private Optional scheme; + private Optional scheme; /** * Fauna secret, used when authenticating with the database. @@ -61,9 +63,9 @@ public class SourceFauna { @JsonCreator public SourceFauna( @JsonProperty("collection") Optional collection, - @JsonProperty("domain") Optional domain, - @JsonProperty("port") Optional port, - @JsonProperty("scheme") Optional scheme, + @JsonProperty("domain") Optional domain, + @JsonProperty("port") Optional port, + @JsonProperty("scheme") Optional scheme, @JsonProperty("secret") String secret) { Utils.checkNotNull(collection, "collection"); Utils.checkNotNull(domain, "domain"); @@ -95,28 +97,25 @@ public Optional collection() { /** * Domain of Fauna to query. Defaults db.fauna.com. See <a href=https://docs.fauna.com/fauna/current/learn/understanding/region_groups#how-to-use-region-groups>the docs</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional domain() { - return (Optional) domain; + return domain; } /** * Endpoint port. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * URL scheme. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional scheme() { - return (Optional) scheme; + return scheme; } /** @@ -166,7 +165,7 @@ public SourceFauna withDomain(String domain) { /** * Domain of Fauna to query. Defaults db.fauna.com. See <a href=https://docs.fauna.com/fauna/current/learn/understanding/region_groups#how-to-use-region-groups>the docs</a>. */ - public SourceFauna withDomain(Optional domain) { + public SourceFauna withDomain(Optional domain) { Utils.checkNotNull(domain, "domain"); this.domain = domain; return this; @@ -184,7 +183,7 @@ public SourceFauna withPort(long port) { /** * Endpoint port. */ - public SourceFauna withPort(Optional port) { + public SourceFauna withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -202,7 +201,7 @@ public SourceFauna withScheme(String scheme) { /** * URL scheme. */ - public SourceFauna withScheme(Optional scheme) { + public SourceFauna withScheme(Optional scheme) { Utils.checkNotNull(scheme, "scheme"); this.scheme = scheme; return this; @@ -227,17 +226,17 @@ public boolean equals(java.lang.Object o) { } SourceFauna other = (SourceFauna) o; return - java.util.Objects.deepEquals(this.collection, other.collection) && - java.util.Objects.deepEquals(this.domain, other.domain) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.scheme, other.scheme) && - java.util.Objects.deepEquals(this.secret, other.secret) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.collection, other.collection) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.scheme, other.scheme) && + Objects.deepEquals(this.secret, other.secret) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( collection, domain, port, @@ -261,11 +260,11 @@ public final static class Builder { private Optional collection = Optional.empty(); - private Optional domain; + private Optional domain; - private Optional port; + private Optional port; - private Optional scheme; + private Optional scheme; private String secret; @@ -303,7 +302,7 @@ public Builder domain(String domain) { /** * Domain of Fauna to query. Defaults db.fauna.com. See <a href=https://docs.fauna.com/fauna/current/learn/understanding/region_groups#how-to-use-region-groups>the docs</a>. */ - public Builder domain(Optional domain) { + public Builder domain(Optional domain) { Utils.checkNotNull(domain, "domain"); this.domain = domain; return this; @@ -321,7 +320,7 @@ public Builder port(long port) { /** * Endpoint port. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -339,7 +338,7 @@ public Builder scheme(String scheme) { /** * URL scheme. */ - public Builder scheme(Optional scheme) { + public Builder scheme(Optional scheme) { Utils.checkNotNull(scheme, "scheme"); this.scheme = scheme; return this; @@ -363,8 +362,7 @@ public SourceFauna build() { } if (scheme == null) { scheme = _SINGLETON_VALUE_Scheme.value(); - } - return new SourceFauna( + } return new SourceFauna( collection, domain, port, @@ -372,23 +370,23 @@ public SourceFauna build() { secret); } - private static final LazySingletonValue> _SINGLETON_VALUE_Domain = + private static final LazySingletonValue> _SINGLETON_VALUE_Domain = new LazySingletonValue<>( "domain", "\"db.fauna.com\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "443", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Scheme = + private static final LazySingletonValue> _SINGLETON_VALUE_Scheme = new LazySingletonValue<>( "scheme", "\"https\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFaunaDeletionMode.java b/src/main/java/com/airbyte/api/models/shared/SourceFaunaDeletionMode.java index 29cf37662..36ec284a7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFaunaDeletionMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFaunaDeletionMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFaunaDeletionMode { IGNORE("ignore"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFaunaSchemasDeletionMode.java b/src/main/java/com/airbyte/api/models/shared/SourceFaunaSchemasDeletionMode.java index 057fc4213..507ece8a4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFaunaSchemasDeletionMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFaunaSchemasDeletionMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFaunaSchemasDeletionMode { DELETED_FIELD("deleted_field"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFile.java b/src/main/java/com/airbyte/api/models/shared/SourceFile.java index 01dbe10d0..d4bc9b6ec 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFile.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFile.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceFile { /** @@ -32,7 +33,7 @@ public class SourceFile { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("format") - private Optional format; + private Optional format; /** * The storage Provider or Location of the file(s) which should be replicated. @@ -45,7 +46,7 @@ public class SourceFile { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("reader_options") - private Optional readerOptions; + private Optional readerOptions; @JsonProperty("sourceType") private File sourceType; @@ -59,9 +60,9 @@ public class SourceFile { @JsonCreator public SourceFile( @JsonProperty("dataset_name") String datasetName, - @JsonProperty("format") Optional format, + @JsonProperty("format") Optional format, @JsonProperty("provider") StorageProvider provider, - @JsonProperty("reader_options") Optional readerOptions, + @JsonProperty("reader_options") Optional readerOptions, @JsonProperty("url") String url) { Utils.checkNotNull(datasetName, "datasetName"); Utils.checkNotNull(format, "format"); @@ -96,8 +97,8 @@ public String datasetName() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional format() { - return (Optional) format; + public Optional format() { + return (Optional) format; } /** @@ -111,10 +112,9 @@ public StorageProvider provider() { /** * This should be a string in JSON format. It depends on the chosen file format to provide additional options and tune its behavior. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional readerOptions() { - return (Optional) readerOptions; + return readerOptions; } @JsonIgnore @@ -146,7 +146,7 @@ public SourceFile withDatasetName(String datasetName) { /** * The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). */ - public SourceFile withFormat(FileFormat format) { + public SourceFile withFormat(SourceFileFileFormat format) { Utils.checkNotNull(format, "format"); this.format = Optional.ofNullable(format); return this; @@ -155,7 +155,7 @@ public SourceFile withFormat(FileFormat format) { /** * The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). */ - public SourceFile withFormat(Optional format) { + public SourceFile withFormat(Optional format) { Utils.checkNotNull(format, "format"); this.format = format; return this; @@ -182,7 +182,7 @@ public SourceFile withReaderOptions(String readerOptions) { /** * This should be a string in JSON format. It depends on the chosen file format to provide additional options and tune its behavior. */ - public SourceFile withReaderOptions(Optional readerOptions) { + public SourceFile withReaderOptions(Optional readerOptions) { Utils.checkNotNull(readerOptions, "readerOptions"); this.readerOptions = readerOptions; return this; @@ -207,17 +207,17 @@ public boolean equals(java.lang.Object o) { } SourceFile other = (SourceFile) o; return - java.util.Objects.deepEquals(this.datasetName, other.datasetName) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.provider, other.provider) && - java.util.Objects.deepEquals(this.readerOptions, other.readerOptions) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.url, other.url); + Objects.deepEquals(this.datasetName, other.datasetName) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.provider, other.provider) && + Objects.deepEquals(this.readerOptions, other.readerOptions) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.url, other.url); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( datasetName, format, provider, @@ -241,11 +241,11 @@ public final static class Builder { private String datasetName; - private Optional format; + private Optional format; private StorageProvider provider; - private Optional readerOptions = Optional.empty(); + private Optional readerOptions = Optional.empty(); private String url; @@ -265,7 +265,7 @@ public Builder datasetName(String datasetName) { /** * The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). */ - public Builder format(FileFormat format) { + public Builder format(SourceFileFileFormat format) { Utils.checkNotNull(format, "format"); this.format = Optional.ofNullable(format); return this; @@ -274,7 +274,7 @@ public Builder format(FileFormat format) { /** * The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). */ - public Builder format(Optional format) { + public Builder format(Optional format) { Utils.checkNotNull(format, "format"); this.format = format; return this; @@ -301,7 +301,7 @@ public Builder readerOptions(String readerOptions) { /** * This should be a string in JSON format. It depends on the chosen file format to provide additional options and tune its behavior. */ - public Builder readerOptions(Optional readerOptions) { + public Builder readerOptions(Optional readerOptions) { Utils.checkNotNull(readerOptions, "readerOptions"); this.readerOptions = readerOptions; return this; @@ -319,8 +319,7 @@ public Builder url(String url) { public SourceFile build() { if (format == null) { format = _SINGLETON_VALUE_Format.value(); - } - return new SourceFile( + } return new SourceFile( datasetName, format, provider, @@ -328,11 +327,11 @@ public SourceFile build() { url); } - private static final LazySingletonValue> _SINGLETON_VALUE_Format = + private static final LazySingletonValue> _SINGLETON_VALUE_Format = new LazySingletonValue<>( "format", "\"csv\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFileFileFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceFileFileFormat.java new file mode 100644 index 000000000..2507c58bc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFileFileFormat.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceFileFileFormat - The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs). + */ +public enum SourceFileFileFormat { + CSV("csv"), + JSON("json"), + JSONL("jsonl"), + EXCEL("excel"), + EXCEL_BINARY("excel_binary"), + FWF("fwf"), + FEATHER("feather"), + PARQUET("parquet"), + YAML("yaml"); + + @JsonValue + private final String value; + + private SourceFileFileFormat(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorage.java b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorage.java index 921d49136..934442023 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFileSchemasProviderStorage { AZ_BLOB("AzBlob"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider6Storage.java b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider6Storage.java index 1e2ae4f0b..43c3734cb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider6Storage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider6Storage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFileSchemasProviderStorageProvider6Storage { SCP("SCP"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider7Storage.java b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider7Storage.java index feaed15c8..629a10c35 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider7Storage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider7Storage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFileSchemasProviderStorageProvider7Storage { SFTP("SFTP"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider8Storage.java b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider8Storage.java index 3dd8ede7e..7d6530edb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider8Storage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProvider8Storage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceFileSchemasProviderStorageProvider8Storage - WARNING: Note that the local storage URL available for reading must start with the local mount "/local/" at the moment until we implement more advanced docker mounting options. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProviderStorage.java b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProviderStorage.java index ed0844842..f73d553e1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProviderStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasProviderStorageProviderStorage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFileSchemasProviderStorageProviderStorage { SSH("SSH"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasStorage.java b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasStorage.java index 8cda73c09..9374d0ce1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFileSchemasStorage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFileSchemasStorage { S3("S3"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFileStorage.java b/src/main/java/com/airbyte/api/models/shared/SourceFileStorage.java index 87ab5c681..ea7222339 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFileStorage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFileStorage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFileStorage { GCS("GCS"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFillout.java b/src/main/java/com/airbyte/api/models/shared/SourceFillout.java new file mode 100644 index 000000000..e1bb3aa0f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFillout.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceFillout { + + /** + * API key to use. Find it in the Developer settings tab of your Fillout account. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Fillout sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceFillout( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API key to use. Find it in the Developer settings tab of your Fillout account. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Fillout sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it in the Developer settings tab of your Fillout account. + */ + public SourceFillout withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceFillout withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFillout other = (SourceFillout) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceFillout.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it in the Developer settings tab of your Fillout account. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceFillout build() { + return new SourceFillout( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"fillout\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFinage.java b/src/main/java/com/airbyte/api/models/shared/SourceFinage.java new file mode 100644 index 000000000..dc088364b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFinage.java @@ -0,0 +1,505 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + + +public class SourceFinage { + + @JsonProperty("api_key") + private String apiKey; + + /** + * Time period. Default is 10 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("period") + private Optional period; + + @JsonProperty("sourceType") + private Finage sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * List of symbols + */ + @JsonProperty("symbols") + private List symbols; + + /** + * One of DEMA, EMA, SMA, WMA, RSI, TEMA, Williams, ADX + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tech_indicator_type") + private Optional techIndicatorType; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("time") + private Optional time; + + /** + * Size of the time + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("time_aggregates") + private Optional timeAggregates; + + /** + * Time Period for cash flow stmts + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("time_period") + private Optional timePeriod; + + @JsonCreator + public SourceFinage( + @JsonProperty("api_key") String apiKey, + @JsonProperty("period") Optional period, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("symbols") List symbols, + @JsonProperty("tech_indicator_type") Optional techIndicatorType, + @JsonProperty("time") Optional time, + @JsonProperty("time_aggregates") Optional timeAggregates, + @JsonProperty("time_period") Optional timePeriod) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(period, "period"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(symbols, "symbols"); + Utils.checkNotNull(techIndicatorType, "techIndicatorType"); + Utils.checkNotNull(time, "time"); + Utils.checkNotNull(timeAggregates, "timeAggregates"); + Utils.checkNotNull(timePeriod, "timePeriod"); + this.apiKey = apiKey; + this.period = period; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.symbols = symbols; + this.techIndicatorType = techIndicatorType; + this.time = time; + this.timeAggregates = timeAggregates; + this.timePeriod = timePeriod; + } + + public SourceFinage( + String apiKey, + OffsetDateTime startDate, + List symbols) { + this(apiKey, Optional.empty(), startDate, symbols, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Time period. Default is 10 + */ + @JsonIgnore + public Optional period() { + return period; + } + + @JsonIgnore + public Finage sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * List of symbols + */ + @JsonIgnore + public List symbols() { + return symbols; + } + + /** + * One of DEMA, EMA, SMA, WMA, RSI, TEMA, Williams, ADX + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional techIndicatorType() { + return (Optional) techIndicatorType; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional time() { + return (Optional) time; + } + + /** + * Size of the time + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional timeAggregates() { + return (Optional) timeAggregates; + } + + /** + * Time Period for cash flow stmts + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional timePeriod() { + return (Optional) timePeriod; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceFinage withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Time period. Default is 10 + */ + public SourceFinage withPeriod(String period) { + Utils.checkNotNull(period, "period"); + this.period = Optional.ofNullable(period); + return this; + } + + /** + * Time period. Default is 10 + */ + public SourceFinage withPeriod(Optional period) { + Utils.checkNotNull(period, "period"); + this.period = period; + return this; + } + + public SourceFinage withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * List of symbols + */ + public SourceFinage withSymbols(List symbols) { + Utils.checkNotNull(symbols, "symbols"); + this.symbols = symbols; + return this; + } + + /** + * One of DEMA, EMA, SMA, WMA, RSI, TEMA, Williams, ADX + */ + public SourceFinage withTechIndicatorType(TechnicalIndicatorType techIndicatorType) { + Utils.checkNotNull(techIndicatorType, "techIndicatorType"); + this.techIndicatorType = Optional.ofNullable(techIndicatorType); + return this; + } + + /** + * One of DEMA, EMA, SMA, WMA, RSI, TEMA, Williams, ADX + */ + public SourceFinage withTechIndicatorType(Optional techIndicatorType) { + Utils.checkNotNull(techIndicatorType, "techIndicatorType"); + this.techIndicatorType = techIndicatorType; + return this; + } + + public SourceFinage withTime(TimeInterval time) { + Utils.checkNotNull(time, "time"); + this.time = Optional.ofNullable(time); + return this; + } + + public SourceFinage withTime(Optional time) { + Utils.checkNotNull(time, "time"); + this.time = time; + return this; + } + + /** + * Size of the time + */ + public SourceFinage withTimeAggregates(TimeAggregates timeAggregates) { + Utils.checkNotNull(timeAggregates, "timeAggregates"); + this.timeAggregates = Optional.ofNullable(timeAggregates); + return this; + } + + /** + * Size of the time + */ + public SourceFinage withTimeAggregates(Optional timeAggregates) { + Utils.checkNotNull(timeAggregates, "timeAggregates"); + this.timeAggregates = timeAggregates; + return this; + } + + /** + * Time Period for cash flow stmts + */ + public SourceFinage withTimePeriod(TimePeriod timePeriod) { + Utils.checkNotNull(timePeriod, "timePeriod"); + this.timePeriod = Optional.ofNullable(timePeriod); + return this; + } + + /** + * Time Period for cash flow stmts + */ + public SourceFinage withTimePeriod(Optional timePeriod) { + Utils.checkNotNull(timePeriod, "timePeriod"); + this.timePeriod = timePeriod; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFinage other = (SourceFinage) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.period, other.period) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.symbols, other.symbols) && + Objects.deepEquals(this.techIndicatorType, other.techIndicatorType) && + Objects.deepEquals(this.time, other.time) && + Objects.deepEquals(this.timeAggregates, other.timeAggregates) && + Objects.deepEquals(this.timePeriod, other.timePeriod); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + period, + sourceType, + startDate, + symbols, + techIndicatorType, + time, + timeAggregates, + timePeriod); + } + + @Override + public String toString() { + return Utils.toString(SourceFinage.class, + "apiKey", apiKey, + "period", period, + "sourceType", sourceType, + "startDate", startDate, + "symbols", symbols, + "techIndicatorType", techIndicatorType, + "time", time, + "timeAggregates", timeAggregates, + "timePeriod", timePeriod); + } + + public final static class Builder { + + private String apiKey; + + private Optional period = Optional.empty(); + + private OffsetDateTime startDate; + + private List symbols; + + private Optional techIndicatorType; + + private Optional time; + + private Optional timeAggregates; + + private Optional timePeriod = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Time period. Default is 10 + */ + public Builder period(String period) { + Utils.checkNotNull(period, "period"); + this.period = Optional.ofNullable(period); + return this; + } + + /** + * Time period. Default is 10 + */ + public Builder period(Optional period) { + Utils.checkNotNull(period, "period"); + this.period = period; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * List of symbols + */ + public Builder symbols(List symbols) { + Utils.checkNotNull(symbols, "symbols"); + this.symbols = symbols; + return this; + } + + /** + * One of DEMA, EMA, SMA, WMA, RSI, TEMA, Williams, ADX + */ + public Builder techIndicatorType(TechnicalIndicatorType techIndicatorType) { + Utils.checkNotNull(techIndicatorType, "techIndicatorType"); + this.techIndicatorType = Optional.ofNullable(techIndicatorType); + return this; + } + + /** + * One of DEMA, EMA, SMA, WMA, RSI, TEMA, Williams, ADX + */ + public Builder techIndicatorType(Optional techIndicatorType) { + Utils.checkNotNull(techIndicatorType, "techIndicatorType"); + this.techIndicatorType = techIndicatorType; + return this; + } + + public Builder time(TimeInterval time) { + Utils.checkNotNull(time, "time"); + this.time = Optional.ofNullable(time); + return this; + } + + public Builder time(Optional time) { + Utils.checkNotNull(time, "time"); + this.time = time; + return this; + } + + /** + * Size of the time + */ + public Builder timeAggregates(TimeAggregates timeAggregates) { + Utils.checkNotNull(timeAggregates, "timeAggregates"); + this.timeAggregates = Optional.ofNullable(timeAggregates); + return this; + } + + /** + * Size of the time + */ + public Builder timeAggregates(Optional timeAggregates) { + Utils.checkNotNull(timeAggregates, "timeAggregates"); + this.timeAggregates = timeAggregates; + return this; + } + + /** + * Time Period for cash flow stmts + */ + public Builder timePeriod(TimePeriod timePeriod) { + Utils.checkNotNull(timePeriod, "timePeriod"); + this.timePeriod = Optional.ofNullable(timePeriod); + return this; + } + + /** + * Time Period for cash flow stmts + */ + public Builder timePeriod(Optional timePeriod) { + Utils.checkNotNull(timePeriod, "timePeriod"); + this.timePeriod = timePeriod; + return this; + } + + public SourceFinage build() { + if (techIndicatorType == null) { + techIndicatorType = _SINGLETON_VALUE_TechIndicatorType.value(); + } + if (time == null) { + time = _SINGLETON_VALUE_Time.value(); + } + if (timeAggregates == null) { + timeAggregates = _SINGLETON_VALUE_TimeAggregates.value(); + } return new SourceFinage( + apiKey, + period, + startDate, + symbols, + techIndicatorType, + time, + timeAggregates, + timePeriod); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"finage\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_TechIndicatorType = + new LazySingletonValue<>( + "tech_indicator_type", + "\"SMA\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Time = + new LazySingletonValue<>( + "time", + "\"daily\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_TimeAggregates = + new LazySingletonValue<>( + "time_aggregates", + "\"day\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFinancialModelling.java b/src/main/java/com/airbyte/api/models/shared/SourceFinancialModelling.java new file mode 100644 index 000000000..87ac6c2c1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFinancialModelling.java @@ -0,0 +1,407 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceFinancialModelling { + + @JsonProperty("api_key") + private String apiKey; + + /** + * The stock exchange : AMEX, AMS, AQS, ASX, ATH, BER, BME, BRU, BSE, BUD, BUE, BVC, CAI, CBOE, CNQ, CPH, DFM, DOH, DUS, DXE, EGX, EURONEXT, HAM, HEL, HKSE, ICE, IOB, IST, JKT, JNB, JPX, KLS, KOE, KSC, KUW, LSE, MCX, MEX, MIL, MUN, NASDAQ, NEO, NSE, NYSE, NZE, OEM, OQX, OSL, OTC, PNK, PRA, RIS, SAO, SAU, SES, SET, SGO, SHH, SHZ, SIX, STO, STU, TAI, TLV, TSX, TSXV, TWO, VIE, VSE, WSE, XETRA + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("exchange") + private Optional exchange; + + /** + * Used in screener to filter out stocks with a market cap lower than the give marketcap + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("marketcaplowerthan") + private Optional marketcaplowerthan; + + /** + * Used in screener to filter out stocks with a market cap more than the give marketcap + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("marketcapmorethan") + private Optional marketcapmorethan; + + @JsonProperty("sourceType") + private FinancialModelling sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * For example 1min, 5min, 15min, 30min, 1hour, 4hour + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("time_frame") + private Optional timeFrame; + + @JsonCreator + public SourceFinancialModelling( + @JsonProperty("api_key") String apiKey, + @JsonProperty("exchange") Optional exchange, + @JsonProperty("marketcaplowerthan") Optional marketcaplowerthan, + @JsonProperty("marketcapmorethan") Optional marketcapmorethan, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("time_frame") Optional timeFrame) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(exchange, "exchange"); + Utils.checkNotNull(marketcaplowerthan, "marketcaplowerthan"); + Utils.checkNotNull(marketcapmorethan, "marketcapmorethan"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(timeFrame, "timeFrame"); + this.apiKey = apiKey; + this.exchange = exchange; + this.marketcaplowerthan = marketcaplowerthan; + this.marketcapmorethan = marketcapmorethan; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.timeFrame = timeFrame; + } + + public SourceFinancialModelling( + String apiKey, + OffsetDateTime startDate) { + this(apiKey, Optional.empty(), Optional.empty(), Optional.empty(), startDate, Optional.empty()); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The stock exchange : AMEX, AMS, AQS, ASX, ATH, BER, BME, BRU, BSE, BUD, BUE, BVC, CAI, CBOE, CNQ, CPH, DFM, DOH, DUS, DXE, EGX, EURONEXT, HAM, HEL, HKSE, ICE, IOB, IST, JKT, JNB, JPX, KLS, KOE, KSC, KUW, LSE, MCX, MEX, MIL, MUN, NASDAQ, NEO, NSE, NYSE, NZE, OEM, OQX, OSL, OTC, PNK, PRA, RIS, SAO, SAU, SES, SET, SGO, SHH, SHZ, SIX, STO, STU, TAI, TLV, TSX, TSXV, TWO, VIE, VSE, WSE, XETRA + */ + @JsonIgnore + public Optional exchange() { + return exchange; + } + + /** + * Used in screener to filter out stocks with a market cap lower than the give marketcap + */ + @JsonIgnore + public Optional marketcaplowerthan() { + return marketcaplowerthan; + } + + /** + * Used in screener to filter out stocks with a market cap more than the give marketcap + */ + @JsonIgnore + public Optional marketcapmorethan() { + return marketcapmorethan; + } + + @JsonIgnore + public FinancialModelling sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * For example 1min, 5min, 15min, 30min, 1hour, 4hour + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional timeFrame() { + return (Optional) timeFrame; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceFinancialModelling withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The stock exchange : AMEX, AMS, AQS, ASX, ATH, BER, BME, BRU, BSE, BUD, BUE, BVC, CAI, CBOE, CNQ, CPH, DFM, DOH, DUS, DXE, EGX, EURONEXT, HAM, HEL, HKSE, ICE, IOB, IST, JKT, JNB, JPX, KLS, KOE, KSC, KUW, LSE, MCX, MEX, MIL, MUN, NASDAQ, NEO, NSE, NYSE, NZE, OEM, OQX, OSL, OTC, PNK, PRA, RIS, SAO, SAU, SES, SET, SGO, SHH, SHZ, SIX, STO, STU, TAI, TLV, TSX, TSXV, TWO, VIE, VSE, WSE, XETRA + */ + public SourceFinancialModelling withExchange(String exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = Optional.ofNullable(exchange); + return this; + } + + /** + * The stock exchange : AMEX, AMS, AQS, ASX, ATH, BER, BME, BRU, BSE, BUD, BUE, BVC, CAI, CBOE, CNQ, CPH, DFM, DOH, DUS, DXE, EGX, EURONEXT, HAM, HEL, HKSE, ICE, IOB, IST, JKT, JNB, JPX, KLS, KOE, KSC, KUW, LSE, MCX, MEX, MIL, MUN, NASDAQ, NEO, NSE, NYSE, NZE, OEM, OQX, OSL, OTC, PNK, PRA, RIS, SAO, SAU, SES, SET, SGO, SHH, SHZ, SIX, STO, STU, TAI, TLV, TSX, TSXV, TWO, VIE, VSE, WSE, XETRA + */ + public SourceFinancialModelling withExchange(Optional exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = exchange; + return this; + } + + /** + * Used in screener to filter out stocks with a market cap lower than the give marketcap + */ + public SourceFinancialModelling withMarketcaplowerthan(String marketcaplowerthan) { + Utils.checkNotNull(marketcaplowerthan, "marketcaplowerthan"); + this.marketcaplowerthan = Optional.ofNullable(marketcaplowerthan); + return this; + } + + /** + * Used in screener to filter out stocks with a market cap lower than the give marketcap + */ + public SourceFinancialModelling withMarketcaplowerthan(Optional marketcaplowerthan) { + Utils.checkNotNull(marketcaplowerthan, "marketcaplowerthan"); + this.marketcaplowerthan = marketcaplowerthan; + return this; + } + + /** + * Used in screener to filter out stocks with a market cap more than the give marketcap + */ + public SourceFinancialModelling withMarketcapmorethan(String marketcapmorethan) { + Utils.checkNotNull(marketcapmorethan, "marketcapmorethan"); + this.marketcapmorethan = Optional.ofNullable(marketcapmorethan); + return this; + } + + /** + * Used in screener to filter out stocks with a market cap more than the give marketcap + */ + public SourceFinancialModelling withMarketcapmorethan(Optional marketcapmorethan) { + Utils.checkNotNull(marketcapmorethan, "marketcapmorethan"); + this.marketcapmorethan = marketcapmorethan; + return this; + } + + public SourceFinancialModelling withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * For example 1min, 5min, 15min, 30min, 1hour, 4hour + */ + public SourceFinancialModelling withTimeFrame(TimeFrame timeFrame) { + Utils.checkNotNull(timeFrame, "timeFrame"); + this.timeFrame = Optional.ofNullable(timeFrame); + return this; + } + + /** + * For example 1min, 5min, 15min, 30min, 1hour, 4hour + */ + public SourceFinancialModelling withTimeFrame(Optional timeFrame) { + Utils.checkNotNull(timeFrame, "timeFrame"); + this.timeFrame = timeFrame; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFinancialModelling other = (SourceFinancialModelling) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.exchange, other.exchange) && + Objects.deepEquals(this.marketcaplowerthan, other.marketcaplowerthan) && + Objects.deepEquals(this.marketcapmorethan, other.marketcapmorethan) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.timeFrame, other.timeFrame); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + exchange, + marketcaplowerthan, + marketcapmorethan, + sourceType, + startDate, + timeFrame); + } + + @Override + public String toString() { + return Utils.toString(SourceFinancialModelling.class, + "apiKey", apiKey, + "exchange", exchange, + "marketcaplowerthan", marketcaplowerthan, + "marketcapmorethan", marketcapmorethan, + "sourceType", sourceType, + "startDate", startDate, + "timeFrame", timeFrame); + } + + public final static class Builder { + + private String apiKey; + + private Optional exchange; + + private Optional marketcaplowerthan = Optional.empty(); + + private Optional marketcapmorethan = Optional.empty(); + + private OffsetDateTime startDate; + + private Optional timeFrame; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The stock exchange : AMEX, AMS, AQS, ASX, ATH, BER, BME, BRU, BSE, BUD, BUE, BVC, CAI, CBOE, CNQ, CPH, DFM, DOH, DUS, DXE, EGX, EURONEXT, HAM, HEL, HKSE, ICE, IOB, IST, JKT, JNB, JPX, KLS, KOE, KSC, KUW, LSE, MCX, MEX, MIL, MUN, NASDAQ, NEO, NSE, NYSE, NZE, OEM, OQX, OSL, OTC, PNK, PRA, RIS, SAO, SAU, SES, SET, SGO, SHH, SHZ, SIX, STO, STU, TAI, TLV, TSX, TSXV, TWO, VIE, VSE, WSE, XETRA + */ + public Builder exchange(String exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = Optional.ofNullable(exchange); + return this; + } + + /** + * The stock exchange : AMEX, AMS, AQS, ASX, ATH, BER, BME, BRU, BSE, BUD, BUE, BVC, CAI, CBOE, CNQ, CPH, DFM, DOH, DUS, DXE, EGX, EURONEXT, HAM, HEL, HKSE, ICE, IOB, IST, JKT, JNB, JPX, KLS, KOE, KSC, KUW, LSE, MCX, MEX, MIL, MUN, NASDAQ, NEO, NSE, NYSE, NZE, OEM, OQX, OSL, OTC, PNK, PRA, RIS, SAO, SAU, SES, SET, SGO, SHH, SHZ, SIX, STO, STU, TAI, TLV, TSX, TSXV, TWO, VIE, VSE, WSE, XETRA + */ + public Builder exchange(Optional exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = exchange; + return this; + } + + /** + * Used in screener to filter out stocks with a market cap lower than the give marketcap + */ + public Builder marketcaplowerthan(String marketcaplowerthan) { + Utils.checkNotNull(marketcaplowerthan, "marketcaplowerthan"); + this.marketcaplowerthan = Optional.ofNullable(marketcaplowerthan); + return this; + } + + /** + * Used in screener to filter out stocks with a market cap lower than the give marketcap + */ + public Builder marketcaplowerthan(Optional marketcaplowerthan) { + Utils.checkNotNull(marketcaplowerthan, "marketcaplowerthan"); + this.marketcaplowerthan = marketcaplowerthan; + return this; + } + + /** + * Used in screener to filter out stocks with a market cap more than the give marketcap + */ + public Builder marketcapmorethan(String marketcapmorethan) { + Utils.checkNotNull(marketcapmorethan, "marketcapmorethan"); + this.marketcapmorethan = Optional.ofNullable(marketcapmorethan); + return this; + } + + /** + * Used in screener to filter out stocks with a market cap more than the give marketcap + */ + public Builder marketcapmorethan(Optional marketcapmorethan) { + Utils.checkNotNull(marketcapmorethan, "marketcapmorethan"); + this.marketcapmorethan = marketcapmorethan; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * For example 1min, 5min, 15min, 30min, 1hour, 4hour + */ + public Builder timeFrame(TimeFrame timeFrame) { + Utils.checkNotNull(timeFrame, "timeFrame"); + this.timeFrame = Optional.ofNullable(timeFrame); + return this; + } + + /** + * For example 1min, 5min, 15min, 30min, 1hour, 4hour + */ + public Builder timeFrame(Optional timeFrame) { + Utils.checkNotNull(timeFrame, "timeFrame"); + this.timeFrame = timeFrame; + return this; + } + + public SourceFinancialModelling build() { + if (exchange == null) { + exchange = _SINGLETON_VALUE_Exchange.value(); + } + if (timeFrame == null) { + timeFrame = _SINGLETON_VALUE_TimeFrame.value(); + } return new SourceFinancialModelling( + apiKey, + exchange, + marketcaplowerthan, + marketcapmorethan, + startDate, + timeFrame); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Exchange = + new LazySingletonValue<>( + "exchange", + "\"NASDAQ\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"financial-modelling\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_TimeFrame = + new LazySingletonValue<>( + "time_frame", + "\"4hour\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFinnhub.java b/src/main/java/com/airbyte/api/models/shared/SourceFinnhub.java new file mode 100644 index 000000000..fcffd7935 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFinnhub.java @@ -0,0 +1,331 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + + +public class SourceFinnhub { + + /** + * The API key to use for authentication + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * More info: https://finnhub.io/docs/api/stock-symbols + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("exchange") + private Optional exchange; + + /** + * This parameter can be 1 of the following values general, forex, crypto, merger. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("market_news_category") + private Optional marketNewsCategory; + + @JsonProperty("sourceType") + private Finnhub sourceType; + + @JsonProperty("start_date_2") + private OffsetDateTime startDate2; + + @JsonProperty("symbols") + private List symbols; + + @JsonCreator + public SourceFinnhub( + @JsonProperty("api_key") String apiKey, + @JsonProperty("exchange") Optional exchange, + @JsonProperty("market_news_category") Optional marketNewsCategory, + @JsonProperty("start_date_2") OffsetDateTime startDate2, + @JsonProperty("symbols") List symbols) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(exchange, "exchange"); + Utils.checkNotNull(marketNewsCategory, "marketNewsCategory"); + Utils.checkNotNull(startDate2, "startDate2"); + Utils.checkNotNull(symbols, "symbols"); + this.apiKey = apiKey; + this.exchange = exchange; + this.marketNewsCategory = marketNewsCategory; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate2 = startDate2; + this.symbols = symbols; + } + + public SourceFinnhub( + String apiKey, + OffsetDateTime startDate2, + List symbols) { + this(apiKey, Optional.empty(), Optional.empty(), startDate2, symbols); + } + + /** + * The API key to use for authentication + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * More info: https://finnhub.io/docs/api/stock-symbols + */ + @JsonIgnore + public Optional exchange() { + return exchange; + } + + /** + * This parameter can be 1 of the following values general, forex, crypto, merger. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional marketNewsCategory() { + return (Optional) marketNewsCategory; + } + + @JsonIgnore + public Finnhub sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate2() { + return startDate2; + } + + @JsonIgnore + public List symbols() { + return symbols; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The API key to use for authentication + */ + public SourceFinnhub withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * More info: https://finnhub.io/docs/api/stock-symbols + */ + public SourceFinnhub withExchange(String exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = Optional.ofNullable(exchange); + return this; + } + + /** + * More info: https://finnhub.io/docs/api/stock-symbols + */ + public SourceFinnhub withExchange(Optional exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = exchange; + return this; + } + + /** + * This parameter can be 1 of the following values general, forex, crypto, merger. + */ + public SourceFinnhub withMarketNewsCategory(MarketNewsCategory marketNewsCategory) { + Utils.checkNotNull(marketNewsCategory, "marketNewsCategory"); + this.marketNewsCategory = Optional.ofNullable(marketNewsCategory); + return this; + } + + /** + * This parameter can be 1 of the following values general, forex, crypto, merger. + */ + public SourceFinnhub withMarketNewsCategory(Optional marketNewsCategory) { + Utils.checkNotNull(marketNewsCategory, "marketNewsCategory"); + this.marketNewsCategory = marketNewsCategory; + return this; + } + + public SourceFinnhub withStartDate2(OffsetDateTime startDate2) { + Utils.checkNotNull(startDate2, "startDate2"); + this.startDate2 = startDate2; + return this; + } + + public SourceFinnhub withSymbols(List symbols) { + Utils.checkNotNull(symbols, "symbols"); + this.symbols = symbols; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFinnhub other = (SourceFinnhub) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.exchange, other.exchange) && + Objects.deepEquals(this.marketNewsCategory, other.marketNewsCategory) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate2, other.startDate2) && + Objects.deepEquals(this.symbols, other.symbols); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + exchange, + marketNewsCategory, + sourceType, + startDate2, + symbols); + } + + @Override + public String toString() { + return Utils.toString(SourceFinnhub.class, + "apiKey", apiKey, + "exchange", exchange, + "marketNewsCategory", marketNewsCategory, + "sourceType", sourceType, + "startDate2", startDate2, + "symbols", symbols); + } + + public final static class Builder { + + private String apiKey; + + private Optional exchange; + + private Optional marketNewsCategory; + + private OffsetDateTime startDate2; + + private List symbols; + + private Builder() { + // force use of static builder() method + } + + /** + * The API key to use for authentication + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * More info: https://finnhub.io/docs/api/stock-symbols + */ + public Builder exchange(String exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = Optional.ofNullable(exchange); + return this; + } + + /** + * More info: https://finnhub.io/docs/api/stock-symbols + */ + public Builder exchange(Optional exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = exchange; + return this; + } + + /** + * This parameter can be 1 of the following values general, forex, crypto, merger. + */ + public Builder marketNewsCategory(MarketNewsCategory marketNewsCategory) { + Utils.checkNotNull(marketNewsCategory, "marketNewsCategory"); + this.marketNewsCategory = Optional.ofNullable(marketNewsCategory); + return this; + } + + /** + * This parameter can be 1 of the following values general, forex, crypto, merger. + */ + public Builder marketNewsCategory(Optional marketNewsCategory) { + Utils.checkNotNull(marketNewsCategory, "marketNewsCategory"); + this.marketNewsCategory = marketNewsCategory; + return this; + } + + public Builder startDate2(OffsetDateTime startDate2) { + Utils.checkNotNull(startDate2, "startDate2"); + this.startDate2 = startDate2; + return this; + } + + public Builder symbols(List symbols) { + Utils.checkNotNull(symbols, "symbols"); + this.symbols = symbols; + return this; + } + + public SourceFinnhub build() { + if (exchange == null) { + exchange = _SINGLETON_VALUE_Exchange.value(); + } + if (marketNewsCategory == null) { + marketNewsCategory = _SINGLETON_VALUE_MarketNewsCategory.value(); + } return new SourceFinnhub( + apiKey, + exchange, + marketNewsCategory, + startDate2, + symbols); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Exchange = + new LazySingletonValue<>( + "exchange", + "\"US\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_MarketNewsCategory = + new LazySingletonValue<>( + "market_news_category", + "\"general\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"finnhub\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFinnworlds.java b/src/main/java/com/airbyte/api/models/shared/SourceFinnworlds.java new file mode 100644 index 000000000..6a9eeba37 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFinnworlds.java @@ -0,0 +1,514 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + + +public class SourceFinnworlds { + + /** + * For example 10y, 5y, 2y... + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("bond_type") + private Optional> bondType; + + /** + * Options Available: beef, cheese, oil, ... + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("commodities") + private Optional> commodities; + + /** + * brazil, united states, italia, japan + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countries") + private Optional> countries; + + @JsonProperty("key") + private String key; + + /** + * Choose isin, ticker, reg_lei or cik + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("list") + private Optional list; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("list_countries_for_bonds") + private Optional listCountriesForBonds; + + @JsonProperty("sourceType") + private Finnworlds sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * AAPL, T, MU, GOOG + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tickers") + private Optional> tickers; + + @JsonCreator + public SourceFinnworlds( + @JsonProperty("bond_type") Optional> bondType, + @JsonProperty("commodities") Optional> commodities, + @JsonProperty("countries") Optional> countries, + @JsonProperty("key") String key, + @JsonProperty("list") Optional list, + @JsonProperty("list_countries_for_bonds") Optional listCountriesForBonds, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("tickers") Optional> tickers) { + Utils.checkNotNull(bondType, "bondType"); + Utils.checkNotNull(commodities, "commodities"); + Utils.checkNotNull(countries, "countries"); + Utils.checkNotNull(key, "key"); + Utils.checkNotNull(list, "list"); + Utils.checkNotNull(listCountriesForBonds, "listCountriesForBonds"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(tickers, "tickers"); + this.bondType = bondType; + this.commodities = commodities; + this.countries = countries; + this.key = key; + this.list = list; + this.listCountriesForBonds = listCountriesForBonds; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.tickers = tickers; + } + + public SourceFinnworlds( + String key, + OffsetDateTime startDate) { + this(Optional.empty(), Optional.empty(), Optional.empty(), key, Optional.empty(), Optional.empty(), startDate, Optional.empty()); + } + + /** + * For example 10y, 5y, 2y... + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> bondType() { + return (Optional>) bondType; + } + + /** + * Options Available: beef, cheese, oil, ... + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> commodities() { + return (Optional>) commodities; + } + + /** + * brazil, united states, italia, japan + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> countries() { + return (Optional>) countries; + } + + @JsonIgnore + public String key() { + return key; + } + + /** + * Choose isin, ticker, reg_lei or cik + */ + @JsonIgnore + public Optional list() { + return list; + } + + @JsonIgnore + public Optional listCountriesForBonds() { + return listCountriesForBonds; + } + + @JsonIgnore + public Finnworlds sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * AAPL, T, MU, GOOG + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> tickers() { + return (Optional>) tickers; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * For example 10y, 5y, 2y... + */ + public SourceFinnworlds withBondType(List bondType) { + Utils.checkNotNull(bondType, "bondType"); + this.bondType = Optional.ofNullable(bondType); + return this; + } + + /** + * For example 10y, 5y, 2y... + */ + public SourceFinnworlds withBondType(Optional> bondType) { + Utils.checkNotNull(bondType, "bondType"); + this.bondType = bondType; + return this; + } + + /** + * Options Available: beef, cheese, oil, ... + */ + public SourceFinnworlds withCommodities(List commodities) { + Utils.checkNotNull(commodities, "commodities"); + this.commodities = Optional.ofNullable(commodities); + return this; + } + + /** + * Options Available: beef, cheese, oil, ... + */ + public SourceFinnworlds withCommodities(Optional> commodities) { + Utils.checkNotNull(commodities, "commodities"); + this.commodities = commodities; + return this; + } + + /** + * brazil, united states, italia, japan + */ + public SourceFinnworlds withCountries(List countries) { + Utils.checkNotNull(countries, "countries"); + this.countries = Optional.ofNullable(countries); + return this; + } + + /** + * brazil, united states, italia, japan + */ + public SourceFinnworlds withCountries(Optional> countries) { + Utils.checkNotNull(countries, "countries"); + this.countries = countries; + return this; + } + + public SourceFinnworlds withKey(String key) { + Utils.checkNotNull(key, "key"); + this.key = key; + return this; + } + + /** + * Choose isin, ticker, reg_lei or cik + */ + public SourceFinnworlds withList(String list) { + Utils.checkNotNull(list, "list"); + this.list = Optional.ofNullable(list); + return this; + } + + /** + * Choose isin, ticker, reg_lei or cik + */ + public SourceFinnworlds withList(Optional list) { + Utils.checkNotNull(list, "list"); + this.list = list; + return this; + } + + public SourceFinnworlds withListCountriesForBonds(String listCountriesForBonds) { + Utils.checkNotNull(listCountriesForBonds, "listCountriesForBonds"); + this.listCountriesForBonds = Optional.ofNullable(listCountriesForBonds); + return this; + } + + public SourceFinnworlds withListCountriesForBonds(Optional listCountriesForBonds) { + Utils.checkNotNull(listCountriesForBonds, "listCountriesForBonds"); + this.listCountriesForBonds = listCountriesForBonds; + return this; + } + + public SourceFinnworlds withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * AAPL, T, MU, GOOG + */ + public SourceFinnworlds withTickers(List tickers) { + Utils.checkNotNull(tickers, "tickers"); + this.tickers = Optional.ofNullable(tickers); + return this; + } + + /** + * AAPL, T, MU, GOOG + */ + public SourceFinnworlds withTickers(Optional> tickers) { + Utils.checkNotNull(tickers, "tickers"); + this.tickers = tickers; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFinnworlds other = (SourceFinnworlds) o; + return + Objects.deepEquals(this.bondType, other.bondType) && + Objects.deepEquals(this.commodities, other.commodities) && + Objects.deepEquals(this.countries, other.countries) && + Objects.deepEquals(this.key, other.key) && + Objects.deepEquals(this.list, other.list) && + Objects.deepEquals(this.listCountriesForBonds, other.listCountriesForBonds) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.tickers, other.tickers); + } + + @Override + public int hashCode() { + return Objects.hash( + bondType, + commodities, + countries, + key, + list, + listCountriesForBonds, + sourceType, + startDate, + tickers); + } + + @Override + public String toString() { + return Utils.toString(SourceFinnworlds.class, + "bondType", bondType, + "commodities", commodities, + "countries", countries, + "key", key, + "list", list, + "listCountriesForBonds", listCountriesForBonds, + "sourceType", sourceType, + "startDate", startDate, + "tickers", tickers); + } + + public final static class Builder { + + private Optional> bondType = Optional.empty(); + + private Optional> commodities = Optional.empty(); + + private Optional> countries = Optional.empty(); + + private String key; + + private Optional list; + + private Optional listCountriesForBonds; + + private OffsetDateTime startDate; + + private Optional> tickers = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * For example 10y, 5y, 2y... + */ + public Builder bondType(List bondType) { + Utils.checkNotNull(bondType, "bondType"); + this.bondType = Optional.ofNullable(bondType); + return this; + } + + /** + * For example 10y, 5y, 2y... + */ + public Builder bondType(Optional> bondType) { + Utils.checkNotNull(bondType, "bondType"); + this.bondType = bondType; + return this; + } + + /** + * Options Available: beef, cheese, oil, ... + */ + public Builder commodities(List commodities) { + Utils.checkNotNull(commodities, "commodities"); + this.commodities = Optional.ofNullable(commodities); + return this; + } + + /** + * Options Available: beef, cheese, oil, ... + */ + public Builder commodities(Optional> commodities) { + Utils.checkNotNull(commodities, "commodities"); + this.commodities = commodities; + return this; + } + + /** + * brazil, united states, italia, japan + */ + public Builder countries(List countries) { + Utils.checkNotNull(countries, "countries"); + this.countries = Optional.ofNullable(countries); + return this; + } + + /** + * brazil, united states, italia, japan + */ + public Builder countries(Optional> countries) { + Utils.checkNotNull(countries, "countries"); + this.countries = countries; + return this; + } + + public Builder key(String key) { + Utils.checkNotNull(key, "key"); + this.key = key; + return this; + } + + /** + * Choose isin, ticker, reg_lei or cik + */ + public Builder list(String list) { + Utils.checkNotNull(list, "list"); + this.list = Optional.ofNullable(list); + return this; + } + + /** + * Choose isin, ticker, reg_lei or cik + */ + public Builder list(Optional list) { + Utils.checkNotNull(list, "list"); + this.list = list; + return this; + } + + public Builder listCountriesForBonds(String listCountriesForBonds) { + Utils.checkNotNull(listCountriesForBonds, "listCountriesForBonds"); + this.listCountriesForBonds = Optional.ofNullable(listCountriesForBonds); + return this; + } + + public Builder listCountriesForBonds(Optional listCountriesForBonds) { + Utils.checkNotNull(listCountriesForBonds, "listCountriesForBonds"); + this.listCountriesForBonds = listCountriesForBonds; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * AAPL, T, MU, GOOG + */ + public Builder tickers(List tickers) { + Utils.checkNotNull(tickers, "tickers"); + this.tickers = Optional.ofNullable(tickers); + return this; + } + + /** + * AAPL, T, MU, GOOG + */ + public Builder tickers(Optional> tickers) { + Utils.checkNotNull(tickers, "tickers"); + this.tickers = tickers; + return this; + } + + public SourceFinnworlds build() { + if (list == null) { + list = _SINGLETON_VALUE_List.value(); + } + if (listCountriesForBonds == null) { + listCountriesForBonds = _SINGLETON_VALUE_ListCountriesForBonds.value(); + } return new SourceFinnworlds( + bondType, + commodities, + countries, + key, + list, + listCountriesForBonds, + startDate, + tickers); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_List = + new LazySingletonValue<>( + "list", + "\"ticker\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_ListCountriesForBonds = + new LazySingletonValue<>( + "list_countries_for_bonds", + "\"country\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"finnworlds\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java b/src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java index 9e8f3fdeb..a90672713 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFirebolt.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceFirebolt { /** @@ -56,7 +56,7 @@ public class SourceFirebolt { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("host") - private Optional host; + private Optional host; @JsonProperty("sourceType") private SourceFireboltFirebolt sourceType; @@ -68,7 +68,7 @@ public SourceFirebolt( @JsonProperty("client_secret") String clientSecret, @JsonProperty("database") String database, @JsonProperty("engine") String engine, - @JsonProperty("host") Optional host) { + @JsonProperty("host") Optional host) { Utils.checkNotNull(account, "account"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -136,10 +136,9 @@ public String engine() { /** * The host name of your Firebolt database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional host() { - return (Optional) host; + return host; } @JsonIgnore @@ -208,7 +207,7 @@ public SourceFirebolt withHost(String host) { /** * The host name of your Firebolt database. */ - public SourceFirebolt withHost(Optional host) { + public SourceFirebolt withHost(Optional host) { Utils.checkNotNull(host, "host"); this.host = host; return this; @@ -224,18 +223,18 @@ public boolean equals(java.lang.Object o) { } SourceFirebolt other = (SourceFirebolt) o; return - java.util.Objects.deepEquals(this.account, other.account) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.engine, other.engine) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.account, other.account) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.engine, other.engine) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( account, clientId, clientSecret, @@ -269,7 +268,7 @@ public final static class Builder { private String engine; - private Optional host = Optional.empty(); + private Optional host = Optional.empty(); private Builder() { // force use of static builder() method @@ -332,7 +331,7 @@ public Builder host(String host) { /** * The host name of your Firebolt database. */ - public Builder host(Optional host) { + public Builder host(Optional host) { Utils.checkNotNull(host, "host"); this.host = host; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFireboltFirebolt.java b/src/main/java/com/airbyte/api/models/shared/SourceFireboltFirebolt.java index 5a576d8f6..e30e6f420 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFireboltFirebolt.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFireboltFirebolt.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceFireboltFirebolt { FIREBOLT("firebolt"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFirehydrant.java b/src/main/java/com/airbyte/api/models/shared/SourceFirehydrant.java new file mode 100644 index 000000000..35e58304d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFirehydrant.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceFirehydrant { + + /** + * Bot token to use for authenticating with the FireHydrant API. You can find or create a bot token by logging into your organization and visiting the Bot users page at https://app.firehydrant.io/organizations/bots. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private Firehydrant sourceType; + + @JsonCreator + public SourceFirehydrant( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Bot token to use for authenticating with the FireHydrant API. You can find or create a bot token by logging into your organization and visiting the Bot users page at https://app.firehydrant.io/organizations/bots. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public Firehydrant sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Bot token to use for authenticating with the FireHydrant API. You can find or create a bot token by logging into your organization and visiting the Bot users page at https://app.firehydrant.io/organizations/bots. + */ + public SourceFirehydrant withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFirehydrant other = (SourceFirehydrant) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceFirehydrant.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * Bot token to use for authenticating with the FireHydrant API. You can find or create a bot token by logging into your organization and visiting the Bot users page at https://app.firehydrant.io/organizations/bots. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceFirehydrant build() { + return new SourceFirehydrant( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"firehydrant\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFleetio.java b/src/main/java/com/airbyte/api/models/shared/SourceFleetio.java index 826ae3758..55a9161a1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFleetio.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFleetio.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceFleetio { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceFleetio other = (SourceFleetio) o; return - java.util.Objects.deepEquals(this.accountToken, other.accountToken) && - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.accountToken, other.accountToken) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountToken, apiKey, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFlexmail.java b/src/main/java/com/airbyte/api/models/shared/SourceFlexmail.java new file mode 100644 index 000000000..94f0fba1f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFlexmail.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceFlexmail { + + /** + * Your Flexmail account ID. You can find it in your Flexmail account settings. + */ + @JsonProperty("account_id") + private String accountId; + + /** + * A personal access token for API authentication. Manage your tokens in Flexmail under Settings > API > Personal access tokens. + */ + @JsonProperty("personal_access_token") + private String personalAccessToken; + + @JsonProperty("sourceType") + private Flexmail sourceType; + + @JsonCreator + public SourceFlexmail( + @JsonProperty("account_id") String accountId, + @JsonProperty("personal_access_token") String personalAccessToken) { + Utils.checkNotNull(accountId, "accountId"); + Utils.checkNotNull(personalAccessToken, "personalAccessToken"); + this.accountId = accountId; + this.personalAccessToken = personalAccessToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Your Flexmail account ID. You can find it in your Flexmail account settings. + */ + @JsonIgnore + public String accountId() { + return accountId; + } + + /** + * A personal access token for API authentication. Manage your tokens in Flexmail under Settings > API > Personal access tokens. + */ + @JsonIgnore + public String personalAccessToken() { + return personalAccessToken; + } + + @JsonIgnore + public Flexmail sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your Flexmail account ID. You can find it in your Flexmail account settings. + */ + public SourceFlexmail withAccountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + /** + * A personal access token for API authentication. Manage your tokens in Flexmail under Settings > API > Personal access tokens. + */ + public SourceFlexmail withPersonalAccessToken(String personalAccessToken) { + Utils.checkNotNull(personalAccessToken, "personalAccessToken"); + this.personalAccessToken = personalAccessToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFlexmail other = (SourceFlexmail) o; + return + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.personalAccessToken, other.personalAccessToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + accountId, + personalAccessToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceFlexmail.class, + "accountId", accountId, + "personalAccessToken", personalAccessToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String accountId; + + private String personalAccessToken; + + private Builder() { + // force use of static builder() method + } + + /** + * Your Flexmail account ID. You can find it in your Flexmail account settings. + */ + public Builder accountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + /** + * A personal access token for API authentication. Manage your tokens in Flexmail under Settings > API > Personal access tokens. + */ + public Builder personalAccessToken(String personalAccessToken) { + Utils.checkNotNull(personalAccessToken, "personalAccessToken"); + this.personalAccessToken = personalAccessToken; + return this; + } + + public SourceFlexmail build() { + return new SourceFlexmail( + accountId, + personalAccessToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"flexmail\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFlexport.java b/src/main/java/com/airbyte/api/models/shared/SourceFlexport.java new file mode 100644 index 000000000..67fbe6a88 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFlexport.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceFlexport { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Flexport sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceFlexport( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Flexport sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceFlexport withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceFlexport withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFlexport other = (SourceFlexport) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceFlexport.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceFlexport build() { + return new SourceFlexport( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"flexport\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFloat.java b/src/main/java/com/airbyte/api/models/shared/SourceFloat.java new file mode 100644 index 000000000..aefc491e2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFloat.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceFloat { + + /** + * API token obtained from your Float Account Settings page + */ + @JsonProperty("access_token") + private String accessToken; + + @JsonProperty("sourceType") + private Float sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceFloat( + @JsonProperty("access_token") String accessToken, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(startDate, "startDate"); + this.accessToken = accessToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API token obtained from your Float Account Settings page + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + @JsonIgnore + public Float sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token obtained from your Float Account Settings page + */ + public SourceFloat withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + public SourceFloat withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFloat other = (SourceFloat) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceFloat.class, + "accessToken", accessToken, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accessToken; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API token obtained from your Float Account Settings page + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceFloat build() { + return new SourceFloat( + accessToken, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"float\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFlowlu.java b/src/main/java/com/airbyte/api/models/shared/SourceFlowlu.java new file mode 100644 index 000000000..a77722000 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFlowlu.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceFlowlu { + + /** + * The API key to use for authentication + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("company") + private String company; + + @JsonProperty("sourceType") + private Flowlu sourceType; + + @JsonCreator + public SourceFlowlu( + @JsonProperty("api_key") String apiKey, + @JsonProperty("company") String company) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(company, "company"); + this.apiKey = apiKey; + this.company = company; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * The API key to use for authentication + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public String company() { + return company; + } + + @JsonIgnore + public Flowlu sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The API key to use for authentication + */ + public SourceFlowlu withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceFlowlu withCompany(String company) { + Utils.checkNotNull(company, "company"); + this.company = company; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFlowlu other = (SourceFlowlu) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.company, other.company) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + company, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceFlowlu.class, + "apiKey", apiKey, + "company", company, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private String company; + + private Builder() { + // force use of static builder() method + } + + /** + * The API key to use for authentication + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder company(String company) { + Utils.checkNotNull(company, "company"); + this.company = company; + return this; + } + + public SourceFlowlu build() { + return new SourceFlowlu( + apiKey, + company); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"flowlu\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFormbricks.java b/src/main/java/com/airbyte/api/models/shared/SourceFormbricks.java new file mode 100644 index 000000000..7a4b300f8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFormbricks.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceFormbricks { + + /** + * API key to use. You can generate and find it in your Postman account settings. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Formbricks sourceType; + + @JsonCreator + public SourceFormbricks( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. You can generate and find it in your Postman account settings. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Formbricks sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. You can generate and find it in your Postman account settings. + */ + public SourceFormbricks withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFormbricks other = (SourceFormbricks) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceFormbricks.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. You can generate and find it in your Postman account settings. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceFormbricks build() { + return new SourceFormbricks( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"formbricks\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFreeAgentConnector.java b/src/main/java/com/airbyte/api/models/shared/SourceFreeAgentConnector.java new file mode 100644 index 000000000..5e7128120 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFreeAgentConnector.java @@ -0,0 +1,263 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceFreeAgentConnector { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token_2") + private String clientRefreshToken2; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("payroll_year") + private Optional payrollYear; + + @JsonProperty("sourceType") + private FreeAgentConnector sourceType; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("updated_since") + private Optional updatedSince; + + @JsonCreator + public SourceFreeAgentConnector( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token_2") String clientRefreshToken2, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("payroll_year") Optional payrollYear, + @JsonProperty("updated_since") Optional updatedSince) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken2, "clientRefreshToken2"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(payrollYear, "payrollYear"); + Utils.checkNotNull(updatedSince, "updatedSince"); + this.clientId = clientId; + this.clientRefreshToken2 = clientRefreshToken2; + this.clientSecret = clientSecret; + this.payrollYear = payrollYear; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.updatedSince = updatedSince; + } + + public SourceFreeAgentConnector( + String clientId, + String clientRefreshToken2, + String clientSecret) { + this(clientId, clientRefreshToken2, clientSecret, Optional.empty(), Optional.empty()); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken2() { + return clientRefreshToken2; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public Optional payrollYear() { + return payrollYear; + } + + @JsonIgnore + public FreeAgentConnector sourceType() { + return sourceType; + } + + @JsonIgnore + public Optional updatedSince() { + return updatedSince; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceFreeAgentConnector withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceFreeAgentConnector withClientRefreshToken2(String clientRefreshToken2) { + Utils.checkNotNull(clientRefreshToken2, "clientRefreshToken2"); + this.clientRefreshToken2 = clientRefreshToken2; + return this; + } + + public SourceFreeAgentConnector withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceFreeAgentConnector withPayrollYear(double payrollYear) { + Utils.checkNotNull(payrollYear, "payrollYear"); + this.payrollYear = Optional.ofNullable(payrollYear); + return this; + } + + public SourceFreeAgentConnector withPayrollYear(Optional payrollYear) { + Utils.checkNotNull(payrollYear, "payrollYear"); + this.payrollYear = payrollYear; + return this; + } + + public SourceFreeAgentConnector withUpdatedSince(OffsetDateTime updatedSince) { + Utils.checkNotNull(updatedSince, "updatedSince"); + this.updatedSince = Optional.ofNullable(updatedSince); + return this; + } + + public SourceFreeAgentConnector withUpdatedSince(Optional updatedSince) { + Utils.checkNotNull(updatedSince, "updatedSince"); + this.updatedSince = updatedSince; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFreeAgentConnector other = (SourceFreeAgentConnector) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken2, other.clientRefreshToken2) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.payrollYear, other.payrollYear) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.updatedSince, other.updatedSince); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientRefreshToken2, + clientSecret, + payrollYear, + sourceType, + updatedSince); + } + + @Override + public String toString() { + return Utils.toString(SourceFreeAgentConnector.class, + "clientId", clientId, + "clientRefreshToken2", clientRefreshToken2, + "clientSecret", clientSecret, + "payrollYear", payrollYear, + "sourceType", sourceType, + "updatedSince", updatedSince); + } + + public final static class Builder { + + private String clientId; + + private String clientRefreshToken2; + + private String clientSecret; + + private Optional payrollYear = Optional.empty(); + + private Optional updatedSince = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken2(String clientRefreshToken2) { + Utils.checkNotNull(clientRefreshToken2, "clientRefreshToken2"); + this.clientRefreshToken2 = clientRefreshToken2; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder payrollYear(double payrollYear) { + Utils.checkNotNull(payrollYear, "payrollYear"); + this.payrollYear = Optional.ofNullable(payrollYear); + return this; + } + + public Builder payrollYear(Optional payrollYear) { + Utils.checkNotNull(payrollYear, "payrollYear"); + this.payrollYear = payrollYear; + return this; + } + + public Builder updatedSince(OffsetDateTime updatedSince) { + Utils.checkNotNull(updatedSince, "updatedSince"); + this.updatedSince = Optional.ofNullable(updatedSince); + return this; + } + + public Builder updatedSince(Optional updatedSince) { + Utils.checkNotNull(updatedSince, "updatedSince"); + this.updatedSince = updatedSince; + return this; + } + + public SourceFreeAgentConnector build() { + return new SourceFreeAgentConnector( + clientId, + clientRefreshToken2, + clientSecret, + payrollYear, + updatedSince); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"free-agent-connector\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFreightview.java b/src/main/java/com/airbyte/api/models/shared/SourceFreightview.java new file mode 100644 index 000000000..b72bba875 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFreightview.java @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceFreightview { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private Freightview sourceType; + + @JsonCreator + public SourceFreightview( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public Freightview sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceFreightview withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceFreightview withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFreightview other = (SourceFreightview) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceFreightview.class, + "clientId", clientId, + "clientSecret", clientSecret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceFreightview build() { + return new SourceFreightview( + clientId, + clientSecret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"freightview\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFreshbooks.java b/src/main/java/com/airbyte/api/models/shared/SourceFreshbooks.java new file mode 100644 index 000000000..913ddf370 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFreshbooks.java @@ -0,0 +1,388 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceFreshbooks { + + @JsonProperty("account_id") + private String accountId; + + @JsonProperty("business_uuid") + private String businessUuid; + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token") + private String clientRefreshToken; + + @JsonProperty("client_secret") + private String clientSecret; + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("oauth_access_token") + private Optional oauthAccessToken; + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("oauth_token_expiry_date") + private Optional oauthTokenExpiryDate; + + @JsonProperty("redirect_uri") + private String redirectUri; + + @JsonProperty("sourceType") + private Freshbooks sourceType; + + @JsonCreator + public SourceFreshbooks( + @JsonProperty("account_id") String accountId, + @JsonProperty("business_uuid") String businessUuid, + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token") String clientRefreshToken, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("oauth_access_token") Optional oauthAccessToken, + @JsonProperty("oauth_token_expiry_date") Optional oauthTokenExpiryDate, + @JsonProperty("redirect_uri") String redirectUri) { + Utils.checkNotNull(accountId, "accountId"); + Utils.checkNotNull(businessUuid, "businessUuid"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + Utils.checkNotNull(redirectUri, "redirectUri"); + this.accountId = accountId; + this.businessUuid = businessUuid; + this.clientId = clientId; + this.clientRefreshToken = clientRefreshToken; + this.clientSecret = clientSecret; + this.oauthAccessToken = oauthAccessToken; + this.oauthTokenExpiryDate = oauthTokenExpiryDate; + this.redirectUri = redirectUri; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceFreshbooks( + String accountId, + String businessUuid, + String clientId, + String clientRefreshToken, + String clientSecret, + String redirectUri) { + this(accountId, businessUuid, clientId, clientRefreshToken, clientSecret, Optional.empty(), Optional.empty(), redirectUri); + } + + @JsonIgnore + public String accountId() { + return accountId; + } + + @JsonIgnore + public String businessUuid() { + return businessUuid; + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken() { + return clientRefreshToken; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonIgnore + public Optional oauthAccessToken() { + return oauthAccessToken; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonIgnore + public Optional oauthTokenExpiryDate() { + return oauthTokenExpiryDate; + } + + @JsonIgnore + public String redirectUri() { + return redirectUri; + } + + @JsonIgnore + public Freshbooks sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceFreshbooks withAccountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + public SourceFreshbooks withBusinessUuid(String businessUuid) { + Utils.checkNotNull(businessUuid, "businessUuid"); + this.businessUuid = businessUuid; + return this; + } + + public SourceFreshbooks withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceFreshbooks withClientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public SourceFreshbooks withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceFreshbooks withOauthAccessToken(String oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = Optional.ofNullable(oauthAccessToken); + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceFreshbooks withOauthAccessToken(Optional oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = oauthAccessToken; + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceFreshbooks withOauthTokenExpiryDate(OffsetDateTime oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = Optional.ofNullable(oauthTokenExpiryDate); + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceFreshbooks withOauthTokenExpiryDate(Optional oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = oauthTokenExpiryDate; + return this; + } + + public SourceFreshbooks withRedirectUri(String redirectUri) { + Utils.checkNotNull(redirectUri, "redirectUri"); + this.redirectUri = redirectUri; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFreshbooks other = (SourceFreshbooks) o; + return + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.businessUuid, other.businessUuid) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken, other.clientRefreshToken) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.oauthAccessToken, other.oauthAccessToken) && + Objects.deepEquals(this.oauthTokenExpiryDate, other.oauthTokenExpiryDate) && + Objects.deepEquals(this.redirectUri, other.redirectUri) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + accountId, + businessUuid, + clientId, + clientRefreshToken, + clientSecret, + oauthAccessToken, + oauthTokenExpiryDate, + redirectUri, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceFreshbooks.class, + "accountId", accountId, + "businessUuid", businessUuid, + "clientId", clientId, + "clientRefreshToken", clientRefreshToken, + "clientSecret", clientSecret, + "oauthAccessToken", oauthAccessToken, + "oauthTokenExpiryDate", oauthTokenExpiryDate, + "redirectUri", redirectUri, + "sourceType", sourceType); + } + + public final static class Builder { + + private String accountId; + + private String businessUuid; + + private String clientId; + + private String clientRefreshToken; + + private String clientSecret; + + private Optional oauthAccessToken = Optional.empty(); + + private Optional oauthTokenExpiryDate = Optional.empty(); + + private String redirectUri; + + private Builder() { + // force use of static builder() method + } + + public Builder accountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + public Builder businessUuid(String businessUuid) { + Utils.checkNotNull(businessUuid, "businessUuid"); + this.businessUuid = businessUuid; + return this; + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthAccessToken(String oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = Optional.ofNullable(oauthAccessToken); + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthAccessToken(Optional oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = oauthAccessToken; + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthTokenExpiryDate(OffsetDateTime oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = Optional.ofNullable(oauthTokenExpiryDate); + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthTokenExpiryDate(Optional oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = oauthTokenExpiryDate; + return this; + } + + public Builder redirectUri(String redirectUri) { + Utils.checkNotNull(redirectUri, "redirectUri"); + this.redirectUri = redirectUri; + return this; + } + + public SourceFreshbooks build() { + return new SourceFreshbooks( + accountId, + businessUuid, + clientId, + clientRefreshToken, + clientSecret, + oauthAccessToken, + oauthTokenExpiryDate, + redirectUri); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"freshbooks\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java b/src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java index 79c1f23d6..16a4962d7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFreshcaller.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceFreshcaller { /** @@ -41,7 +40,7 @@ public class SourceFreshcaller { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("requests_per_minute") - private Optional requestsPerMinute; + private Optional requestsPerMinute; @JsonProperty("sourceType") private Freshcaller sourceType; @@ -51,22 +50,22 @@ public class SourceFreshcaller { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Lag in minutes for each sync, i.e., at time T, data for the time range [prev_sync_time, T-30] will be fetched */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("sync_lag_minutes") - private Optional syncLagMinutes; + private Optional syncLagMinutes; @JsonCreator public SourceFreshcaller( @JsonProperty("api_key") String apiKey, @JsonProperty("domain") String domain, - @JsonProperty("requests_per_minute") Optional requestsPerMinute, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("sync_lag_minutes") Optional syncLagMinutes) { + @JsonProperty("requests_per_minute") Optional requestsPerMinute, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("sync_lag_minutes") Optional syncLagMinutes) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(domain, "domain"); Utils.checkNotNull(requestsPerMinute, "requestsPerMinute"); @@ -105,10 +104,9 @@ public String domain() { /** * The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional requestsPerMinute() { - return (Optional) requestsPerMinute; + return requestsPerMinute; } @JsonIgnore @@ -119,19 +117,17 @@ public Freshcaller sourceType() { /** * UTC date and time. Any data created after this date will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Lag in minutes for each sync, i.e., at time T, data for the time range [prev_sync_time, T-30] will be fetched */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional syncLagMinutes() { - return (Optional) syncLagMinutes; + return syncLagMinutes; } public final static Builder builder() { @@ -168,7 +164,7 @@ public SourceFreshcaller withRequestsPerMinute(long requestsPerMinute) { /** * The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. */ - public SourceFreshcaller withRequestsPerMinute(Optional requestsPerMinute) { + public SourceFreshcaller withRequestsPerMinute(Optional requestsPerMinute) { Utils.checkNotNull(requestsPerMinute, "requestsPerMinute"); this.requestsPerMinute = requestsPerMinute; return this; @@ -186,7 +182,7 @@ public SourceFreshcaller withStartDate(OffsetDateTime startDate) { /** * UTC date and time. Any data created after this date will be replicated. */ - public SourceFreshcaller withStartDate(Optional startDate) { + public SourceFreshcaller withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -204,7 +200,7 @@ public SourceFreshcaller withSyncLagMinutes(long syncLagMinutes) { /** * Lag in minutes for each sync, i.e., at time T, data for the time range [prev_sync_time, T-30] will be fetched */ - public SourceFreshcaller withSyncLagMinutes(Optional syncLagMinutes) { + public SourceFreshcaller withSyncLagMinutes(Optional syncLagMinutes) { Utils.checkNotNull(syncLagMinutes, "syncLagMinutes"); this.syncLagMinutes = syncLagMinutes; return this; @@ -220,17 +216,17 @@ public boolean equals(java.lang.Object o) { } SourceFreshcaller other = (SourceFreshcaller) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.domain, other.domain) && - java.util.Objects.deepEquals(this.requestsPerMinute, other.requestsPerMinute) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.syncLagMinutes, other.syncLagMinutes); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.requestsPerMinute, other.requestsPerMinute) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.syncLagMinutes, other.syncLagMinutes); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, domain, requestsPerMinute, @@ -256,11 +252,11 @@ public final static class Builder { private String domain; - private Optional requestsPerMinute = Optional.empty(); + private Optional requestsPerMinute = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private Optional syncLagMinutes = Optional.empty(); + private Optional syncLagMinutes = Optional.empty(); private Builder() { // force use of static builder() method @@ -296,7 +292,7 @@ public Builder requestsPerMinute(long requestsPerMinute) { /** * The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. */ - public Builder requestsPerMinute(Optional requestsPerMinute) { + public Builder requestsPerMinute(Optional requestsPerMinute) { Utils.checkNotNull(requestsPerMinute, "requestsPerMinute"); this.requestsPerMinute = requestsPerMinute; return this; @@ -314,7 +310,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time. Any data created after this date will be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -332,7 +328,7 @@ public Builder syncLagMinutes(long syncLagMinutes) { /** * Lag in minutes for each sync, i.e., at time T, data for the time range [prev_sync_time, T-30] will be fetched */ - public Builder syncLagMinutes(Optional syncLagMinutes) { + public Builder syncLagMinutes(Optional syncLagMinutes) { Utils.checkNotNull(syncLagMinutes, "syncLagMinutes"); this.syncLagMinutes = syncLagMinutes; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFreshchat.java b/src/main/java/com/airbyte/api/models/shared/SourceFreshchat.java new file mode 100644 index 000000000..737d60887 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFreshchat.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceFreshchat { + + /** + * The unique account name for your Freshchat instance + */ + @JsonProperty("account_name") + private String accountName; + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Freshchat sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceFreshchat( + @JsonProperty("account_name") String accountName, + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(accountName, "accountName"); + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.accountName = accountName; + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * The unique account name for your Freshchat instance + */ + @JsonIgnore + public String accountName() { + return accountName; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Freshchat sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The unique account name for your Freshchat instance + */ + public SourceFreshchat withAccountName(String accountName) { + Utils.checkNotNull(accountName, "accountName"); + this.accountName = accountName; + return this; + } + + public SourceFreshchat withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceFreshchat withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFreshchat other = (SourceFreshchat) o; + return + Objects.deepEquals(this.accountName, other.accountName) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accountName, + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceFreshchat.class, + "accountName", accountName, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accountName; + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique account name for your Freshchat instance + */ + public Builder accountName(String accountName) { + Utils.checkNotNull(accountName, "accountName"); + this.accountName = accountName; + return this; + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceFreshchat build() { + return new SourceFreshchat( + accountName, + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"freshchat\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java b/src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java index 90b721f76..bbf582bf4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceFreshdesk { /** @@ -41,14 +40,14 @@ public class SourceFreshdesk { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window_in_days") - private Optional lookbackWindowInDays; + private Optional lookbackWindowInDays; /** * The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("requests_per_minute") - private Optional requestsPerMinute; + private Optional requestsPerMinute; @JsonProperty("sourceType") private Freshdesk sourceType; @@ -58,15 +57,15 @@ public class SourceFreshdesk { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceFreshdesk( @JsonProperty("api_key") String apiKey, @JsonProperty("domain") String domain, - @JsonProperty("lookback_window_in_days") Optional lookbackWindowInDays, - @JsonProperty("requests_per_minute") Optional requestsPerMinute, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("lookback_window_in_days") Optional lookbackWindowInDays, + @JsonProperty("requests_per_minute") Optional requestsPerMinute, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(domain, "domain"); Utils.checkNotNull(lookbackWindowInDays, "lookbackWindowInDays"); @@ -105,19 +104,17 @@ public String domain() { /** * Number of days for lookback window for the stream Satisfaction Ratings */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindowInDays() { - return (Optional) lookbackWindowInDays; + return lookbackWindowInDays; } /** * The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional requestsPerMinute() { - return (Optional) requestsPerMinute; + return requestsPerMinute; } @JsonIgnore @@ -128,10 +125,9 @@ public Freshdesk sourceType() { /** * UTC date and time. Any data created after this date will be replicated. If this parameter is not set, all data will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -168,7 +164,7 @@ public SourceFreshdesk withLookbackWindowInDays(long lookbackWindowInDays) { /** * Number of days for lookback window for the stream Satisfaction Ratings */ - public SourceFreshdesk withLookbackWindowInDays(Optional lookbackWindowInDays) { + public SourceFreshdesk withLookbackWindowInDays(Optional lookbackWindowInDays) { Utils.checkNotNull(lookbackWindowInDays, "lookbackWindowInDays"); this.lookbackWindowInDays = lookbackWindowInDays; return this; @@ -186,7 +182,7 @@ public SourceFreshdesk withRequestsPerMinute(long requestsPerMinute) { /** * The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. */ - public SourceFreshdesk withRequestsPerMinute(Optional requestsPerMinute) { + public SourceFreshdesk withRequestsPerMinute(Optional requestsPerMinute) { Utils.checkNotNull(requestsPerMinute, "requestsPerMinute"); this.requestsPerMinute = requestsPerMinute; return this; @@ -204,7 +200,7 @@ public SourceFreshdesk withStartDate(OffsetDateTime startDate) { /** * UTC date and time. Any data created after this date will be replicated. If this parameter is not set, all data will be replicated. */ - public SourceFreshdesk withStartDate(Optional startDate) { + public SourceFreshdesk withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -220,17 +216,17 @@ public boolean equals(java.lang.Object o) { } SourceFreshdesk other = (SourceFreshdesk) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.domain, other.domain) && - java.util.Objects.deepEquals(this.lookbackWindowInDays, other.lookbackWindowInDays) && - java.util.Objects.deepEquals(this.requestsPerMinute, other.requestsPerMinute) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.lookbackWindowInDays, other.lookbackWindowInDays) && + Objects.deepEquals(this.requestsPerMinute, other.requestsPerMinute) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, domain, lookbackWindowInDays, @@ -256,11 +252,11 @@ public final static class Builder { private String domain; - private Optional lookbackWindowInDays; + private Optional lookbackWindowInDays; - private Optional requestsPerMinute = Optional.empty(); + private Optional requestsPerMinute = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -296,7 +292,7 @@ public Builder lookbackWindowInDays(long lookbackWindowInDays) { /** * Number of days for lookback window for the stream Satisfaction Ratings */ - public Builder lookbackWindowInDays(Optional lookbackWindowInDays) { + public Builder lookbackWindowInDays(Optional lookbackWindowInDays) { Utils.checkNotNull(lookbackWindowInDays, "lookbackWindowInDays"); this.lookbackWindowInDays = lookbackWindowInDays; return this; @@ -314,7 +310,7 @@ public Builder requestsPerMinute(long requestsPerMinute) { /** * The number of requests per minute that this source allowed to use. There is a rate limit of 50 requests per minute per app per account. */ - public Builder requestsPerMinute(Optional requestsPerMinute) { + public Builder requestsPerMinute(Optional requestsPerMinute) { Utils.checkNotNull(requestsPerMinute, "requestsPerMinute"); this.requestsPerMinute = requestsPerMinute; return this; @@ -332,7 +328,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time. Any data created after this date will be replicated. If this parameter is not set, all data will be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -341,8 +337,7 @@ public Builder startDate(Optional startDate) { public SourceFreshdesk build() { if (lookbackWindowInDays == null) { lookbackWindowInDays = _SINGLETON_VALUE_LookbackWindowInDays.value(); - } - return new SourceFreshdesk( + } return new SourceFreshdesk( apiKey, domain, lookbackWindowInDays, @@ -350,11 +345,11 @@ public SourceFreshdesk build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowInDays = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowInDays = new LazySingletonValue<>( "lookback_window_in_days", "14", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java b/src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java index 07ff853aa..66b7e6eed 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceFreshsales { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceFreshsales other = (SourceFreshsales) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.domainName, other.domainName) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.domainName, other.domainName) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, domainName, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFreshservice.java b/src/main/java/com/airbyte/api/models/shared/SourceFreshservice.java new file mode 100644 index 000000000..2bfa55ac3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFreshservice.java @@ -0,0 +1,204 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceFreshservice { + + /** + * Freshservice API Key. See <a href="https://api.freshservice.com/#authentication">here</a>. The key is case sensitive. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * The name of your Freshservice domain + */ + @JsonProperty("domain_name") + private String domainName; + + @JsonProperty("sourceType") + private Freshservice sourceType; + + /** + * UTC date and time in the format 2020-10-01T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceFreshservice( + @JsonProperty("api_key") String apiKey, + @JsonProperty("domain_name") String domainName, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(domainName, "domainName"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.domainName = domainName; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Freshservice API Key. See <a href="https://api.freshservice.com/#authentication">here</a>. The key is case sensitive. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The name of your Freshservice domain + */ + @JsonIgnore + public String domainName() { + return domainName; + } + + @JsonIgnore + public Freshservice sourceType() { + return sourceType; + } + + /** + * UTC date and time in the format 2020-10-01T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Freshservice API Key. See <a href="https://api.freshservice.com/#authentication">here</a>. The key is case sensitive. + */ + public SourceFreshservice withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The name of your Freshservice domain + */ + public SourceFreshservice withDomainName(String domainName) { + Utils.checkNotNull(domainName, "domainName"); + this.domainName = domainName; + return this; + } + + /** + * UTC date and time in the format 2020-10-01T00:00:00Z. Any data before this date will not be replicated. + */ + public SourceFreshservice withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFreshservice other = (SourceFreshservice) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.domainName, other.domainName) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + domainName, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceFreshservice.class, + "apiKey", apiKey, + "domainName", domainName, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private String domainName; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Freshservice API Key. See <a href="https://api.freshservice.com/#authentication">here</a>. The key is case sensitive. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The name of your Freshservice domain + */ + public Builder domainName(String domainName) { + Utils.checkNotNull(domainName, "domainName"); + this.domainName = domainName; + return this; + } + + /** + * UTC date and time in the format 2020-10-01T00:00:00Z. Any data before this date will not be replicated. + */ + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceFreshservice build() { + return new SourceFreshservice( + apiKey, + domainName, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"freshservice\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFront.java b/src/main/java/com/airbyte/api/models/shared/SourceFront.java index b32ea9b87..1f2541deb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceFront.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceFront.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceFront { @JsonProperty("api_key") @@ -32,7 +30,7 @@ public class SourceFront { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("page_limit") - private Optional pageLimit; + private Optional pageLimit; @JsonProperty("sourceType") private Front sourceType; @@ -43,7 +41,7 @@ public class SourceFront { @JsonCreator public SourceFront( @JsonProperty("api_key") String apiKey, - @JsonProperty("page_limit") Optional pageLimit, + @JsonProperty("page_limit") Optional pageLimit, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(pageLimit, "pageLimit"); @@ -68,10 +66,9 @@ public String apiKey() { /** * Page limit for the responses */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional pageLimit() { - return (Optional) pageLimit; + return pageLimit; } @JsonIgnore @@ -106,7 +103,7 @@ public SourceFront withPageLimit(String pageLimit) { /** * Page limit for the responses */ - public SourceFront withPageLimit(Optional pageLimit) { + public SourceFront withPageLimit(Optional pageLimit) { Utils.checkNotNull(pageLimit, "pageLimit"); this.pageLimit = pageLimit; return this; @@ -128,15 +125,15 @@ public boolean equals(java.lang.Object o) { } SourceFront other = (SourceFront) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.pageLimit, other.pageLimit) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.pageLimit, other.pageLimit) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, pageLimit, sourceType, @@ -156,7 +153,7 @@ public final static class Builder { private String apiKey; - private Optional pageLimit; + private Optional pageLimit; private OffsetDateTime startDate; @@ -182,7 +179,7 @@ public Builder pageLimit(String pageLimit) { /** * Page limit for the responses */ - public Builder pageLimit(Optional pageLimit) { + public Builder pageLimit(Optional pageLimit) { Utils.checkNotNull(pageLimit, "pageLimit"); this.pageLimit = pageLimit; return this; @@ -197,18 +194,17 @@ public Builder startDate(OffsetDateTime startDate) { public SourceFront build() { if (pageLimit == null) { pageLimit = _SINGLETON_VALUE_PageLimit.value(); - } - return new SourceFront( + } return new SourceFront( apiKey, pageLimit, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_PageLimit = + private static final LazySingletonValue> _SINGLETON_VALUE_PageLimit = new LazySingletonValue<>( "page_limit", "\"50\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceFulcrum.java b/src/main/java/com/airbyte/api/models/shared/SourceFulcrum.java new file mode 100644 index 000000000..61a2f60b5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceFulcrum.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceFulcrum { + + /** + * API key to use. Find it at https://web.fulcrumapp.com/settings/api + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Fulcrum sourceType; + + @JsonCreator + public SourceFulcrum( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Find it at https://web.fulcrumapp.com/settings/api + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Fulcrum sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://web.fulcrumapp.com/settings/api + */ + public SourceFulcrum withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceFulcrum other = (SourceFulcrum) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceFulcrum.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://web.fulcrumapp.com/settings/api + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceFulcrum build() { + return new SourceFulcrum( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"fulcrum\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGainsightPx.java b/src/main/java/com/airbyte/api/models/shared/SourceGainsightPx.java index 42c4348a2..e7bb930e0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGainsightPx.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGainsightPx.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGainsightPx { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceGainsightPx other = (SourceGainsightPx) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcs.java b/src/main/java/com/airbyte/api/models/shared/SourceGcs.java index ff9db02bb..7824c9905 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcs.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcs.java @@ -1,26 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * SourceGcs - NOTE: When this Spec is changed, legacy_config_transformer.py must also be * modified to uptake the changes because it is responsible for converting @@ -36,10 +35,10 @@ public class SourceGcs { private String bucket; /** - * Enter your Google Cloud <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys">service account key</a> in JSON format + * Credentials for connecting to the Google Cloud Storage API */ - @JsonProperty("service_account") - private String serviceAccount; + @JsonProperty("credentials") + private SourceGcsAuthentication credentials; @JsonProperty("sourceType") private SourceGcsGcs sourceType; @@ -49,26 +48,26 @@ public class SourceGcs { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonProperty("streams") - private java.util.List streams; + private List streams; @JsonCreator public SourceGcs( @JsonProperty("bucket") String bucket, - @JsonProperty("service_account") String serviceAccount, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("streams") java.util.List streams) { + @JsonProperty("credentials") SourceGcsAuthentication credentials, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("streams") List streams) { Utils.checkNotNull(bucket, "bucket"); - Utils.checkNotNull(serviceAccount, "serviceAccount"); + Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(startDate, "startDate"); Utils.checkNotNull(streams, "streams"); this.bucket = bucket; - this.serviceAccount = serviceAccount; + this.credentials = credentials; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); this.startDate = startDate; this.streams = streams; @@ -76,9 +75,9 @@ public SourceGcs( public SourceGcs( String bucket, - String serviceAccount, - java.util.List streams) { - this(bucket, serviceAccount, Optional.empty(), streams); + SourceGcsAuthentication credentials, + List streams) { + this(bucket, credentials, Optional.empty(), streams); } /** @@ -90,11 +89,11 @@ public String bucket() { } /** - * Enter your Google Cloud <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys">service account key</a> in JSON format + * Credentials for connecting to the Google Cloud Storage API */ @JsonIgnore - public String serviceAccount() { - return serviceAccount; + public SourceGcsAuthentication credentials() { + return credentials; } @JsonIgnore @@ -105,17 +104,16 @@ public SourceGcsGcs sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonIgnore - public java.util.List streams() { + public List streams() { return streams; } @@ -133,11 +131,11 @@ public SourceGcs withBucket(String bucket) { } /** - * Enter your Google Cloud <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys">service account key</a> in JSON format + * Credentials for connecting to the Google Cloud Storage API */ - public SourceGcs withServiceAccount(String serviceAccount) { - Utils.checkNotNull(serviceAccount, "serviceAccount"); - this.serviceAccount = serviceAccount; + public SourceGcs withCredentials(SourceGcsAuthentication credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; return this; } @@ -153,7 +151,7 @@ public SourceGcs withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public SourceGcs withStartDate(Optional startDate) { + public SourceGcs withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -162,7 +160,7 @@ public SourceGcs withStartDate(Optional startDate) { /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public SourceGcs withStreams(java.util.List streams) { + public SourceGcs withStreams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -178,18 +176,18 @@ public boolean equals(java.lang.Object o) { } SourceGcs other = (SourceGcs) o; return - java.util.Objects.deepEquals(this.bucket, other.bucket) && - java.util.Objects.deepEquals(this.serviceAccount, other.serviceAccount) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.streams, other.streams); + Objects.deepEquals(this.bucket, other.bucket) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.streams, other.streams); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( bucket, - serviceAccount, + credentials, sourceType, startDate, streams); @@ -199,7 +197,7 @@ public int hashCode() { public String toString() { return Utils.toString(SourceGcs.class, "bucket", bucket, - "serviceAccount", serviceAccount, + "credentials", credentials, "sourceType", sourceType, "startDate", startDate, "streams", streams); @@ -209,11 +207,11 @@ public final static class Builder { private String bucket; - private String serviceAccount; + private SourceGcsAuthentication credentials; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private java.util.List streams; + private List streams; private Builder() { // force use of static builder() method @@ -229,11 +227,11 @@ public Builder bucket(String bucket) { } /** - * Enter your Google Cloud <a href="https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys">service account key</a> in JSON format + * Credentials for connecting to the Google Cloud Storage API */ - public Builder serviceAccount(String serviceAccount) { - Utils.checkNotNull(serviceAccount, "serviceAccount"); - this.serviceAccount = serviceAccount; + public Builder credentials(SourceGcsAuthentication credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; return this; } @@ -249,7 +247,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -258,7 +256,7 @@ public Builder startDate(Optional startDate) { /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public Builder streams(java.util.List streams) { + public Builder streams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -267,7 +265,7 @@ public Builder streams(java.util.List streams) { public SourceGcs build() { return new SourceGcs( bucket, - serviceAccount, + credentials, startDate, streams); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsAuthType.java new file mode 100644 index 000000000..7798d1d3c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceGcsAuthType { + CLIENT("Client"); + + @JsonValue + private final String value; + + private SourceGcsAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsAuthentication.java new file mode 100644 index 000000000..9476d3276 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsAuthentication.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceGcsAuthentication - Credentials for connecting to the Google Cloud Storage API + */ + +@JsonDeserialize(using = SourceGcsAuthentication._Deserializer.class) +public class SourceGcsAuthentication { + + @JsonValue + private TypedObject value; + + private SourceGcsAuthentication(TypedObject value) { + this.value = value; + } + + public static SourceGcsAuthentication of(AuthenticateViaGoogleOAuth value) { + Utils.checkNotNull(value, "value"); + return new SourceGcsAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceGcsAuthentication of(ServiceAccountAuthentication value) { + Utils.checkNotNull(value, "value"); + return new SourceGcsAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *
      + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaGoogleOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.ServiceAccountAuthentication}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGcsAuthentication other = (SourceGcsAuthentication) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceGcsAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceGcsAuthentication.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsAutogenerated.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsAutogenerated.java index d18b6823a..448d35615 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsAutogenerated.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsAutogenerated.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGcsAutogenerated { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceGcsAutogenerated other = (SourceGcsAutogenerated) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsAvroFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsAvroFormat.java index 57388ea4f..15d199b00 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsAvroFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsAvroFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGcsAvroFormat { /** @@ -26,7 +28,7 @@ public class SourceGcsAvroFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_as_string") - private Optional doubleAsString; + private Optional doubleAsString; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceGcsAvroFormat { @JsonCreator public SourceGcsAvroFormat( - @JsonProperty("double_as_string") Optional doubleAsString) { + @JsonProperty("double_as_string") Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceGcsAvroFormat() { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleAsString() { - return (Optional) doubleAsString; + return doubleAsString; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceGcsAvroFormat withDoubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public SourceGcsAvroFormat withDoubleAsString(Optional doubleAsString) { + public SourceGcsAvroFormat withDoubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceGcsAvroFormat other = (SourceGcsAvroFormat) o; return - java.util.Objects.deepEquals(this.doubleAsString, other.doubleAsString) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.doubleAsString, other.doubleAsString) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( doubleAsString, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional doubleAsString; + private Optional doubleAsString; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder doubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public Builder doubleAsString(Optional doubleAsString) { + public Builder doubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -138,16 +139,15 @@ public Builder doubleAsString(Optional doubleAsString) { public SourceGcsAvroFormat build() { if (doubleAsString == null) { doubleAsString = _SINGLETON_VALUE_DoubleAsString.value(); - } - return new SourceGcsAvroFormat( + } return new SourceGcsAvroFormat( doubleAsString); } - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = new LazySingletonValue<>( "double_as_string", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsCSVFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsCSVFormat.java index 12c967d42..256c0d059 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsCSVFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsCSVFormat.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGcsCSVFormat { /** @@ -26,35 +30,35 @@ public class SourceGcsCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("delimiter") - private Optional delimiter; + private Optional delimiter; /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_quote") - private Optional doubleQuote; + private Optional doubleQuote; /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("encoding") - private Optional encoding; + private Optional encoding; /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("escape_char") - private Optional escapeChar; + private Optional escapeChar; /** * A set of case-sensitive strings that should be interpreted as false values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("false_values") - private Optional> falseValues; + private Optional> falseValues; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -72,65 +76,65 @@ public class SourceGcsCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ignore_errors_on_fields_mismatch") - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("null_values") - private Optional> nullValues; + private Optional> nullValues; /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("quote_char") - private Optional quoteChar; + private Optional quoteChar; /** * The number of rows to skip after the header row. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_after_header") - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_before_header") - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("strings_can_be_null") - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; /** * A set of case-sensitive strings that should be interpreted as true values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("true_values") - private Optional> trueValues; + private Optional> trueValues; @JsonCreator public SourceGcsCSVFormat( - @JsonProperty("delimiter") Optional delimiter, - @JsonProperty("double_quote") Optional doubleQuote, - @JsonProperty("encoding") Optional encoding, - @JsonProperty("escape_char") Optional escapeChar, - @JsonProperty("false_values") Optional> falseValues, + @JsonProperty("delimiter") Optional delimiter, + @JsonProperty("double_quote") Optional doubleQuote, + @JsonProperty("encoding") Optional encoding, + @JsonProperty("escape_char") Optional escapeChar, + @JsonProperty("false_values") Optional> falseValues, @JsonProperty("header_definition") Optional headerDefinition, - @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, - @JsonProperty("null_values") Optional> nullValues, - @JsonProperty("quote_char") Optional quoteChar, - @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, - @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, - @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, - @JsonProperty("true_values") Optional> trueValues) { + @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, + @JsonProperty("null_values") Optional> nullValues, + @JsonProperty("quote_char") Optional quoteChar, + @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, + @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, + @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, + @JsonProperty("true_values") Optional> trueValues) { Utils.checkNotNull(delimiter, "delimiter"); Utils.checkNotNull(doubleQuote, "doubleQuote"); Utils.checkNotNull(encoding, "encoding"); @@ -167,37 +171,33 @@ public SourceGcsCSVFormat() { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional delimiter() { - return (Optional) delimiter; + return delimiter; } /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleQuote() { - return (Optional) doubleQuote; + return doubleQuote; } /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional encoding() { - return (Optional) encoding; + return encoding; } /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional escapeChar() { - return (Optional) escapeChar; + return escapeChar; } /** @@ -205,8 +205,8 @@ public Optional escapeChar() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> falseValues() { - return (Optional>) falseValues; + public Optional> falseValues() { + return (Optional>) falseValues; } @SuppressWarnings("unchecked") @@ -227,10 +227,9 @@ public Optional headerDefinition() { /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreErrorsOnFieldsMismatch() { - return (Optional) ignoreErrorsOnFieldsMismatch; + return ignoreErrorsOnFieldsMismatch; } /** @@ -238,44 +237,40 @@ public Optional ignoreErrorsOnFieldsMismatch() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> nullValues() { - return (Optional>) nullValues; + public Optional> nullValues() { + return (Optional>) nullValues; } /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional quoteChar() { - return (Optional) quoteChar; + return quoteChar; } /** * The number of rows to skip after the header row. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsAfterHeader() { - return (Optional) skipRowsAfterHeader; + return skipRowsAfterHeader; } /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsBeforeHeader() { - return (Optional) skipRowsBeforeHeader; + return skipRowsBeforeHeader; } /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional stringsCanBeNull() { - return (Optional) stringsCanBeNull; + return stringsCanBeNull; } /** @@ -283,8 +278,8 @@ public Optional stringsCanBeNull() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> trueValues() { - return (Optional>) trueValues; + public Optional> trueValues() { + return (Optional>) trueValues; } public final static Builder builder() { @@ -303,7 +298,7 @@ public SourceGcsCSVFormat withDelimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public SourceGcsCSVFormat withDelimiter(Optional delimiter) { + public SourceGcsCSVFormat withDelimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -321,7 +316,7 @@ public SourceGcsCSVFormat withDoubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public SourceGcsCSVFormat withDoubleQuote(Optional doubleQuote) { + public SourceGcsCSVFormat withDoubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -339,7 +334,7 @@ public SourceGcsCSVFormat withEncoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public SourceGcsCSVFormat withEncoding(Optional encoding) { + public SourceGcsCSVFormat withEncoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -357,7 +352,7 @@ public SourceGcsCSVFormat withEscapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public SourceGcsCSVFormat withEscapeChar(Optional escapeChar) { + public SourceGcsCSVFormat withEscapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -366,7 +361,7 @@ public SourceGcsCSVFormat withEscapeChar(Optional escapeChar) /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceGcsCSVFormat withFalseValues(java.util.List falseValues) { + public SourceGcsCSVFormat withFalseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -375,7 +370,7 @@ public SourceGcsCSVFormat withFalseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceGcsCSVFormat withFalseValues(Optional> falseValues) { + public SourceGcsCSVFormat withFalseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -411,7 +406,7 @@ public SourceGcsCSVFormat withIgnoreErrorsOnFieldsMismatch(boolean ignoreErrorsO /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public SourceGcsCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public SourceGcsCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -420,7 +415,7 @@ public SourceGcsCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional nullValues) { + public SourceGcsCSVFormat withNullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -429,7 +424,7 @@ public SourceGcsCSVFormat withNullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public SourceGcsCSVFormat withNullValues(Optional> nullValues) { + public SourceGcsCSVFormat withNullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -447,7 +442,7 @@ public SourceGcsCSVFormat withQuoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public SourceGcsCSVFormat withQuoteChar(Optional quoteChar) { + public SourceGcsCSVFormat withQuoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -465,7 +460,7 @@ public SourceGcsCSVFormat withSkipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public SourceGcsCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { + public SourceGcsCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -483,7 +478,7 @@ public SourceGcsCSVFormat withSkipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public SourceGcsCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public SourceGcsCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -501,7 +496,7 @@ public SourceGcsCSVFormat withStringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public SourceGcsCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { + public SourceGcsCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -510,7 +505,7 @@ public SourceGcsCSVFormat withStringsCanBeNull(Optional strin /** * A set of case-sensitive strings that should be interpreted as true values. */ - public SourceGcsCSVFormat withTrueValues(java.util.List trueValues) { + public SourceGcsCSVFormat withTrueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -519,7 +514,7 @@ public SourceGcsCSVFormat withTrueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public SourceGcsCSVFormat withTrueValues(Optional> trueValues) { + public SourceGcsCSVFormat withTrueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -535,25 +530,25 @@ public boolean equals(java.lang.Object o) { } SourceGcsCSVFormat other = (SourceGcsCSVFormat) o; return - java.util.Objects.deepEquals(this.delimiter, other.delimiter) && - java.util.Objects.deepEquals(this.doubleQuote, other.doubleQuote) && - java.util.Objects.deepEquals(this.encoding, other.encoding) && - java.util.Objects.deepEquals(this.escapeChar, other.escapeChar) && - java.util.Objects.deepEquals(this.falseValues, other.falseValues) && - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.headerDefinition, other.headerDefinition) && - java.util.Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && - java.util.Objects.deepEquals(this.nullValues, other.nullValues) && - java.util.Objects.deepEquals(this.quoteChar, other.quoteChar) && - java.util.Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && - java.util.Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && - java.util.Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && - java.util.Objects.deepEquals(this.trueValues, other.trueValues); + Objects.deepEquals(this.delimiter, other.delimiter) && + Objects.deepEquals(this.doubleQuote, other.doubleQuote) && + Objects.deepEquals(this.encoding, other.encoding) && + Objects.deepEquals(this.escapeChar, other.escapeChar) && + Objects.deepEquals(this.falseValues, other.falseValues) && + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.headerDefinition, other.headerDefinition) && + Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && + Objects.deepEquals(this.nullValues, other.nullValues) && + Objects.deepEquals(this.quoteChar, other.quoteChar) && + Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && + Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && + Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && + Objects.deepEquals(this.trueValues, other.trueValues); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( delimiter, doubleQuote, encoding, @@ -591,31 +586,31 @@ public String toString() { public final static class Builder { - private Optional delimiter; + private Optional delimiter; - private Optional doubleQuote; + private Optional doubleQuote; - private Optional encoding; + private Optional encoding; - private Optional escapeChar = Optional.empty(); + private Optional escapeChar = Optional.empty(); - private Optional> falseValues = Optional.empty(); + private Optional> falseValues = Optional.empty(); private Optional headerDefinition = Optional.empty(); - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; - private Optional> nullValues = Optional.empty(); + private Optional> nullValues = Optional.empty(); - private Optional quoteChar; + private Optional quoteChar; - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; - private Optional> trueValues = Optional.empty(); + private Optional> trueValues = Optional.empty(); private Builder() { // force use of static builder() method @@ -633,7 +628,7 @@ public Builder delimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public Builder delimiter(Optional delimiter) { + public Builder delimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -651,7 +646,7 @@ public Builder doubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public Builder doubleQuote(Optional doubleQuote) { + public Builder doubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -669,7 +664,7 @@ public Builder encoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public Builder encoding(Optional encoding) { + public Builder encoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -687,7 +682,7 @@ public Builder escapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public Builder escapeChar(Optional escapeChar) { + public Builder escapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -696,7 +691,7 @@ public Builder escapeChar(Optional escapeChar) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(java.util.List falseValues) { + public Builder falseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -705,7 +700,7 @@ public Builder falseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(Optional> falseValues) { + public Builder falseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -741,7 +736,7 @@ public Builder ignoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMismatch /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -750,7 +745,7 @@ public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreEr /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(java.util.List nullValues) { + public Builder nullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -759,7 +754,7 @@ public Builder nullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(Optional> nullValues) { + public Builder nullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -777,7 +772,7 @@ public Builder quoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public Builder quoteChar(Optional quoteChar) { + public Builder quoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -795,7 +790,7 @@ public Builder skipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { + public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -813,7 +808,7 @@ public Builder skipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -831,7 +826,7 @@ public Builder stringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public Builder stringsCanBeNull(Optional stringsCanBeNull) { + public Builder stringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -840,7 +835,7 @@ public Builder stringsCanBeNull(Optional stringsCanBeNull) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(java.util.List trueValues) { + public Builder trueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -849,7 +844,7 @@ public Builder trueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(Optional> trueValues) { + public Builder trueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -879,8 +874,7 @@ public SourceGcsCSVFormat build() { } if (stringsCanBeNull == null) { stringsCanBeNull = _SINGLETON_VALUE_StringsCanBeNull.value(); - } - return new SourceGcsCSVFormat( + } return new SourceGcsCSVFormat( delimiter, doubleQuote, encoding, @@ -896,23 +890,23 @@ public SourceGcsCSVFormat build() { trueValues); } - private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = + private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = new LazySingletonValue<>( "delimiter", "\",\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = new LazySingletonValue<>( "double_quote", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = + private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = new LazySingletonValue<>( "encoding", "\"utf8\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( @@ -920,35 +914,35 @@ public SourceGcsCSVFormat build() { "\"csv\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = new LazySingletonValue<>( "ignore_errors_on_fields_mismatch", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = + private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = new LazySingletonValue<>( "quote_char", "\"\\\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = new LazySingletonValue<>( "skip_rows_after_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = new LazySingletonValue<>( "skip_rows_before_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = + private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = new LazySingletonValue<>( "strings_can_be_null", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsCSVHeaderDefinition.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsCSVHeaderDefinition.java index c7f91968b..2b6a63ba7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsCSVHeaderDefinition.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsCSVHeaderDefinition.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGcsCSVHeaderDefinition - How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGcsCSVHeaderDefinition._Deserializer.class) public class SourceGcsCSVHeaderDefinition { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGcsCSVHeaderDefinition(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceGcsCSVHeaderDefinition of(SourceGcsUserProvided value) { /** * Returns an instance of one of these types: *
      - *
    • {@code SourceGcsFromCSV}
    • - *
    • {@code SourceGcsAutogenerated}
    • - *
    • {@code SourceGcsUserProvided}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGcsFromCSV}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGcsAutogenerated}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGcsUserProvided}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceGcsCSVHeaderDefinition other = (SourceGcsCSVHeaderDefinition) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGcsCSVHeaderDefinition.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGcsCSVHeaderDefinition.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsFileBasedStreamConfig.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsFileBasedStreamConfig.java index 6e836bf88..9b0a4892c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsFileBasedStreamConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsFileBasedStreamConfig.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGcsFileBasedStreamConfig { /** @@ -26,7 +30,7 @@ public class SourceGcsFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("days_to_sync_if_history_is_full") - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; /** * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -39,14 +43,14 @@ public class SourceGcsFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("globs") - private Optional> globs; + private Optional> globs; /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("input_schema") - private Optional inputSchema; + private Optional inputSchema; /** * The name of the stream. @@ -59,14 +63,14 @@ public class SourceGcsFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("recent_n_files_to_read_for_schema_discovery") - private Optional recentNFilesToReadForSchemaDiscovery; + private Optional recentNFilesToReadForSchemaDiscovery; /** * When enabled, syncs will not validate or structure records against the stream's schema. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemaless") - private Optional schemaless; + private Optional schemaless; /** * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. @@ -77,13 +81,13 @@ public class SourceGcsFileBasedStreamConfig { @JsonCreator public SourceGcsFileBasedStreamConfig( - @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, + @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, @JsonProperty("format") SourceGcsFormat format, - @JsonProperty("globs") Optional> globs, - @JsonProperty("input_schema") Optional inputSchema, + @JsonProperty("globs") Optional> globs, + @JsonProperty("input_schema") Optional inputSchema, @JsonProperty("name") String name, - @JsonProperty("recent_n_files_to_read_for_schema_discovery") Optional recentNFilesToReadForSchemaDiscovery, - @JsonProperty("schemaless") Optional schemaless, + @JsonProperty("recent_n_files_to_read_for_schema_discovery") Optional recentNFilesToReadForSchemaDiscovery, + @JsonProperty("schemaless") Optional schemaless, @JsonProperty("validation_policy") Optional validationPolicy) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); Utils.checkNotNull(format, "format"); @@ -112,10 +116,9 @@ public SourceGcsFileBasedStreamConfig( /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional daysToSyncIfHistoryIsFull() { - return (Optional) daysToSyncIfHistoryIsFull; + return daysToSyncIfHistoryIsFull; } /** @@ -131,17 +134,16 @@ public SourceGcsFormat format() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> globs() { - return (Optional>) globs; + public Optional> globs() { + return (Optional>) globs; } /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional inputSchema() { - return (Optional) inputSchema; + return inputSchema; } /** @@ -155,19 +157,17 @@ public String name() { /** * The number of resent files which will be used to discover the schema for this stream. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional recentNFilesToReadForSchemaDiscovery() { - return (Optional) recentNFilesToReadForSchemaDiscovery; + return recentNFilesToReadForSchemaDiscovery; } /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schemaless() { - return (Optional) schemaless; + return schemaless; } /** @@ -195,7 +195,7 @@ public SourceGcsFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(long daysToS /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public SourceGcsFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public SourceGcsFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -213,7 +213,7 @@ public SourceGcsFileBasedStreamConfig withFormat(SourceGcsFormat format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceGcsFileBasedStreamConfig withGlobs(java.util.List globs) { + public SourceGcsFileBasedStreamConfig withGlobs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -222,7 +222,7 @@ public SourceGcsFileBasedStreamConfig withGlobs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceGcsFileBasedStreamConfig withGlobs(Optional> globs) { + public SourceGcsFileBasedStreamConfig withGlobs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -240,7 +240,7 @@ public SourceGcsFileBasedStreamConfig withInputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public SourceGcsFileBasedStreamConfig withInputSchema(Optional inputSchema) { + public SourceGcsFileBasedStreamConfig withInputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -267,7 +267,7 @@ public SourceGcsFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(l /** * The number of resent files which will be used to discover the schema for this stream. */ - public SourceGcsFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + public SourceGcsFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; return this; @@ -285,7 +285,7 @@ public SourceGcsFileBasedStreamConfig withSchemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public SourceGcsFileBasedStreamConfig withSchemaless(Optional schemaless) { + public SourceGcsFileBasedStreamConfig withSchemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -319,19 +319,19 @@ public boolean equals(java.lang.Object o) { } SourceGcsFileBasedStreamConfig other = (SourceGcsFileBasedStreamConfig) o; return - java.util.Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.globs, other.globs) && - java.util.Objects.deepEquals(this.inputSchema, other.inputSchema) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.recentNFilesToReadForSchemaDiscovery, other.recentNFilesToReadForSchemaDiscovery) && - java.util.Objects.deepEquals(this.schemaless, other.schemaless) && - java.util.Objects.deepEquals(this.validationPolicy, other.validationPolicy); + Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.globs, other.globs) && + Objects.deepEquals(this.inputSchema, other.inputSchema) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.recentNFilesToReadForSchemaDiscovery, other.recentNFilesToReadForSchemaDiscovery) && + Objects.deepEquals(this.schemaless, other.schemaless) && + Objects.deepEquals(this.validationPolicy, other.validationPolicy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( daysToSyncIfHistoryIsFull, format, globs, @@ -357,19 +357,19 @@ public String toString() { public final static class Builder { - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; private SourceGcsFormat format; - private Optional> globs = Optional.empty(); + private Optional> globs = Optional.empty(); - private Optional inputSchema = Optional.empty(); + private Optional inputSchema = Optional.empty(); private String name; - private Optional recentNFilesToReadForSchemaDiscovery = Optional.empty(); + private Optional recentNFilesToReadForSchemaDiscovery = Optional.empty(); - private Optional schemaless; + private Optional schemaless; private Optional validationPolicy; @@ -389,7 +389,7 @@ public Builder daysToSyncIfHistoryIsFull(long daysToSyncIfHistoryIsFull) { /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -407,7 +407,7 @@ public Builder format(SourceGcsFormat format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(java.util.List globs) { + public Builder globs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -416,7 +416,7 @@ public Builder globs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(Optional> globs) { + public Builder globs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -434,7 +434,7 @@ public Builder inputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public Builder inputSchema(Optional inputSchema) { + public Builder inputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -461,7 +461,7 @@ public Builder recentNFilesToReadForSchemaDiscovery(long recentNFilesToReadForSc /** * The number of resent files which will be used to discover the schema for this stream. */ - public Builder recentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + public Builder recentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; return this; @@ -479,7 +479,7 @@ public Builder schemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public Builder schemaless(Optional schemaless) { + public Builder schemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -512,8 +512,7 @@ public SourceGcsFileBasedStreamConfig build() { } if (validationPolicy == null) { validationPolicy = _SINGLETON_VALUE_ValidationPolicy.value(); - } - return new SourceGcsFileBasedStreamConfig( + } return new SourceGcsFileBasedStreamConfig( daysToSyncIfHistoryIsFull, format, globs, @@ -524,17 +523,17 @@ public SourceGcsFileBasedStreamConfig build() { validationPolicy); } - private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = + private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = new LazySingletonValue<>( "days_to_sync_if_history_is_full", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = + private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = new LazySingletonValue<>( "schemaless", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_ValidationPolicy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsFiletype.java index 076733a04..2ffd61253 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsFiletype { AVRO("avro"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsFormat.java index c176a1335..cfc2734ae 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsFormat.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGcsFormat - The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGcsFormat._Deserializer.class) public class SourceGcsFormat { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGcsFormat(TypedObject value) { @@ -68,12 +65,12 @@ public static SourceGcsFormat of(ExcelFormat value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGcsAvroFormat}
    • - *
    • {@code SourceGcsCSVFormat}
    • - *
    • {@code SourceGcsJsonlFormat}
    • - *
    • {@code SourceGcsParquetFormat}
    • - *
    • {@code UnstructuredDocumentFormat}
    • - *
    • {@code ExcelFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGcsAvroFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGcsCSVFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGcsJsonlFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGcsParquetFormat}
    • + *
    • {@code com.airbyte.api.models.shared.UnstructuredDocumentFormat}
    • + *
    • {@code com.airbyte.api.models.shared.ExcelFormat}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -100,25 +97,25 @@ public boolean equals(java.lang.Object o) { return false; } SourceGcsFormat other = (SourceGcsFormat) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGcsFormat.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGcsFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsFromCSV.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsFromCSV.java index 664d4ba2c..b92e08c37 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsFromCSV.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsFromCSV.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGcsFromCSV { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceGcsFromCSV other = (SourceGcsFromCSV) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsGcs.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsGcs.java index a1137329b..1cbc0585d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsGcs.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsGcs.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsGcs { GCS("gcs"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsHeaderDefinitionType.java index 885fde592..2891a71f3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsHeaderDefinitionType { FROM_CSV("From CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsJsonlFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsJsonlFormat.java index 0119c3227..b85787fc8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsJsonlFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsJsonlFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGcsJsonlFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceGcsJsonlFormat other = (SourceGcsJsonlFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsLocal.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsLocal.java index 3e6963b6b..fee86c5ef 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsLocal.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsLocal.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceGcsLocal - Process files locally, supporting `fast` and `ocr` modes. This is the default option. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } SourceGcsLocal other = (SourceGcsLocal) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsMode.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsMode.java index d1b5f596b..7c78b2ff4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsMode { LOCAL("local"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsParquetFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsParquetFormat.java index 56989879d..d990c0779 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsParquetFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsParquetFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGcsParquetFormat { /** @@ -26,7 +28,7 @@ public class SourceGcsParquetFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("decimal_as_float") - private Optional decimalAsFloat; + private Optional decimalAsFloat; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceGcsParquetFormat { @JsonCreator public SourceGcsParquetFormat( - @JsonProperty("decimal_as_float") Optional decimalAsFloat) { + @JsonProperty("decimal_as_float") Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceGcsParquetFormat() { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional decimalAsFloat() { - return (Optional) decimalAsFloat; + return decimalAsFloat; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceGcsParquetFormat withDecimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public SourceGcsParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { + public SourceGcsParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceGcsParquetFormat other = (SourceGcsParquetFormat) o; return - java.util.Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( decimalAsFloat, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional decimalAsFloat; + private Optional decimalAsFloat; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder decimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public Builder decimalAsFloat(Optional decimalAsFloat) { + public Builder decimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -138,16 +139,15 @@ public Builder decimalAsFloat(Optional decimalAsFloat) { public SourceGcsParquetFormat build() { if (decimalAsFloat == null) { decimalAsFloat = _SINGLETON_VALUE_DecimalAsFloat.value(); - } - return new SourceGcsParquetFormat( + } return new SourceGcsParquetFormat( decimalAsFloat); } - private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = + private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = new LazySingletonValue<>( "decimal_as_float", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsParsingStrategy.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsParsingStrategy.java index 252a18cd5..0bdd0e99f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsParsingStrategy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsParsingStrategy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceGcsParsingStrategy - The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsProcessing.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsProcessing.java index a3c4a89a6..1eca6ee5b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsProcessing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsProcessing.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGcsProcessing - Processing configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGcsProcessing._Deserializer.class) public class SourceGcsProcessing { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGcsProcessing(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceGcsProcessing of(ViaAPI value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGcsLocal}
    • - *
    • {@code ViaAPI}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGcsLocal}
    • + *
    • {@code com.airbyte.api.models.shared.ViaAPI}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGcsProcessing other = (SourceGcsProcessing) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGcsProcessing.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGcsProcessing.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasAuthType.java new file mode 100644 index 000000000..8670767e8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceGcsSchemasAuthType { + SERVICE("Service"); + + @JsonValue + private final String value; + + private SourceGcsSchemasAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasFiletype.java index 89e028eda..78d5bd1d7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsSchemasFiletype { CSV("csv"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasHeaderDefinitionType.java index 482206c2e..a90dc05a0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsSchemasHeaderDefinitionType { AUTOGENERATED("Autogenerated"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasMode.java index 7f53d7e6a..c37721bc5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsSchemasMode { API("api"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFiletype.java index 576d161a0..5329948c5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsSchemasStreamsFiletype { JSONL("jsonl"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFiletype.java index 6aa12e0a6..b9f68e77a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsSchemasStreamsFormatFiletype { PARQUET("parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.java index fdf3dac8a..b90a69cfb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormat6Filetype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsSchemasStreamsFormatFormat6Filetype { EXCEL("excel"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.java index 20073fa3d..ee6a08555 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsFormatFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsSchemasStreamsFormatFormatFiletype { UNSTRUCTURED("unstructured"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsHeaderDefinitionType.java index 45aa9fd75..71b3cbf3d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsSchemasStreamsHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGcsSchemasStreamsHeaderDefinitionType { USER_PROVIDED("User Provided"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsUserProvided.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsUserProvided.java index df3ea7f7c..ad50beb52 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsUserProvided.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsUserProvided.java @@ -1,31 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGcsUserProvided { /** * The column names that will be used while emitting the CSV records */ @JsonProperty("column_names") - private java.util.List columnNames; + private List columnNames; @JsonInclude(Include.NON_ABSENT) @JsonProperty("header_definition_type") @@ -33,7 +35,7 @@ public class SourceGcsUserProvided { @JsonCreator public SourceGcsUserProvided( - @JsonProperty("column_names") java.util.List columnNames) { + @JsonProperty("column_names") List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); @@ -43,7 +45,7 @@ public SourceGcsUserProvided( * The column names that will be used while emitting the CSV records */ @JsonIgnore - public java.util.List columnNames() { + public List columnNames() { return columnNames; } @@ -60,7 +62,7 @@ public final static Builder builder() { /** * The column names that will be used while emitting the CSV records */ - public SourceGcsUserProvided withColumnNames(java.util.List columnNames) { + public SourceGcsUserProvided withColumnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; @@ -76,13 +78,13 @@ public boolean equals(java.lang.Object o) { } SourceGcsUserProvided other = (SourceGcsUserProvided) o; return - java.util.Objects.deepEquals(this.columnNames, other.columnNames) && - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.columnNames, other.columnNames) && + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( columnNames, headerDefinitionType); } @@ -96,7 +98,7 @@ public String toString() { public final static class Builder { - private java.util.List columnNames; + private List columnNames; private Builder() { // force use of static builder() method @@ -105,7 +107,7 @@ private Builder() { /** * The column names that will be used while emitting the CSV records */ - public Builder columnNames(java.util.List columnNames) { + public Builder columnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGcsValidationPolicy.java b/src/main/java/com/airbyte/api/models/shared/SourceGcsValidationPolicy.java index 4997c089c..69b044292 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGcsValidationPolicy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGcsValidationPolicy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceGcsValidationPolicy - The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGetgist.java b/src/main/java/com/airbyte/api/models/shared/SourceGetgist.java new file mode 100644 index 000000000..7e663275d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGetgist.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceGetgist { + + /** + * API key to use. Find it in the Integration Settings on your Gist dashboard at https://app.getgist.com/projects/_/settings/api-key. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Getgist sourceType; + + @JsonCreator + public SourceGetgist( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Find it in the Integration Settings on your Gist dashboard at https://app.getgist.com/projects/_/settings/api-key. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Getgist sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it in the Integration Settings on your Gist dashboard at https://app.getgist.com/projects/_/settings/api-key. + */ + public SourceGetgist withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGetgist other = (SourceGetgist) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceGetgist.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it in the Integration Settings on your Gist dashboard at https://app.getgist.com/projects/_/settings/api-key. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceGetgist build() { + return new SourceGetgist( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"getgist\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGetlago.java b/src/main/java/com/airbyte/api/models/shared/SourceGetlago.java index 45056a9ab..c8751d32c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGetlago.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGetlago.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceGetlago { /** @@ -32,7 +32,7 @@ public class SourceGetlago { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_url") - private Optional apiUrl; + private Optional apiUrl; @JsonProperty("sourceType") private Getlago sourceType; @@ -40,7 +40,7 @@ public class SourceGetlago { @JsonCreator public SourceGetlago( @JsonProperty("api_key") String apiKey, - @JsonProperty("api_url") Optional apiUrl) { + @JsonProperty("api_url") Optional apiUrl) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(apiUrl, "apiUrl"); this.apiKey = apiKey; @@ -64,10 +64,9 @@ public String apiKey() { /** * Your Lago API URL */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiUrl() { - return (Optional) apiUrl; + return apiUrl; } @JsonIgnore @@ -100,7 +99,7 @@ public SourceGetlago withApiUrl(String apiUrl) { /** * Your Lago API URL */ - public SourceGetlago withApiUrl(Optional apiUrl) { + public SourceGetlago withApiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -116,14 +115,14 @@ public boolean equals(java.lang.Object o) { } SourceGetlago other = (SourceGetlago) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.apiUrl, other.apiUrl) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiUrl, other.apiUrl) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, apiUrl, sourceType); @@ -141,7 +140,7 @@ public final static class Builder { private String apiKey; - private Optional apiUrl; + private Optional apiUrl; private Builder() { // force use of static builder() method @@ -168,7 +167,7 @@ public Builder apiUrl(String apiUrl) { /** * Your Lago API URL */ - public Builder apiUrl(Optional apiUrl) { + public Builder apiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -177,17 +176,16 @@ public Builder apiUrl(Optional apiUrl) { public SourceGetlago build() { if (apiUrl == null) { apiUrl = _SINGLETON_VALUE_ApiUrl.value(); - } - return new SourceGetlago( + } return new SourceGetlago( apiKey, apiUrl); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = new LazySingletonValue<>( "api_url", "\"https://api.getlago.com/api/v1\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGitbook.java b/src/main/java/com/airbyte/api/models/shared/SourceGitbook.java new file mode 100644 index 000000000..dcbbaf680 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGitbook.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceGitbook { + + /** + * Personal access token for authenticating with the GitBook API. You can view and manage your access tokens in the Developer settings of your GitBook user account. + */ + @JsonProperty("access_token") + private String accessToken; + + @JsonProperty("sourceType") + private Gitbook sourceType; + + @JsonProperty("space_id") + private String spaceId; + + @JsonCreator + public SourceGitbook( + @JsonProperty("access_token") String accessToken, + @JsonProperty("space_id") String spaceId) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(spaceId, "spaceId"); + this.accessToken = accessToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.spaceId = spaceId; + } + + /** + * Personal access token for authenticating with the GitBook API. You can view and manage your access tokens in the Developer settings of your GitBook user account. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + @JsonIgnore + public Gitbook sourceType() { + return sourceType; + } + + @JsonIgnore + public String spaceId() { + return spaceId; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Personal access token for authenticating with the GitBook API. You can view and manage your access tokens in the Developer settings of your GitBook user account. + */ + public SourceGitbook withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + public SourceGitbook withSpaceId(String spaceId) { + Utils.checkNotNull(spaceId, "spaceId"); + this.spaceId = spaceId; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGitbook other = (SourceGitbook) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.spaceId, other.spaceId); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + sourceType, + spaceId); + } + + @Override + public String toString() { + return Utils.toString(SourceGitbook.class, + "accessToken", accessToken, + "sourceType", sourceType, + "spaceId", spaceId); + } + + public final static class Builder { + + private String accessToken; + + private String spaceId; + + private Builder() { + // force use of static builder() method + } + + /** + * Personal access token for authenticating with the GitBook API. You can view and manage your access tokens in the Developer settings of your GitBook user account. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + public Builder spaceId(String spaceId) { + Utils.checkNotNull(spaceId, "spaceId"); + this.spaceId = spaceId; + return this; + } + + public SourceGitbook build() { + return new SourceGitbook( + accessToken, + spaceId); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"gitbook\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGithub.java b/src/main/java/com/airbyte/api/models/shared/SourceGithub.java index 2ce953c1c..6a9be63ed 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGithub.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGithub.java @@ -1,27 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGithub { /** @@ -29,14 +30,14 @@ public class SourceGithub { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_url") - private Optional apiUrl; + private Optional apiUrl; /** * List of GitHub repository branches to pull commits for, e.g. `airbytehq/airbyte/master`. If no branches are specified for a repository, the default branch will be pulled. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("branches") - private Optional> branches; + private Optional> branches; /** * Choose how to authenticate to GitHub @@ -49,13 +50,13 @@ public class SourceGithub { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("max_waiting_time") - private Optional maxWaitingTime; + private Optional maxWaitingTime; /** * List of GitHub organizations/repositories, e.g. `airbytehq/airbyte` for single repository, `airbytehq/*` for get all repositories from organization and `airbytehq/a* for matching multiple repositories by pattern. */ @JsonProperty("repositories") - private java.util.List repositories; + private List repositories; @JsonProperty("sourceType") private SourceGithubGithub sourceType; @@ -65,16 +66,16 @@ public class SourceGithub { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceGithub( - @JsonProperty("api_url") Optional apiUrl, - @JsonProperty("branches") Optional> branches, + @JsonProperty("api_url") Optional apiUrl, + @JsonProperty("branches") Optional> branches, @JsonProperty("credentials") SourceGithubAuthentication credentials, - @JsonProperty("max_waiting_time") Optional maxWaitingTime, - @JsonProperty("repositories") java.util.List repositories, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("max_waiting_time") Optional maxWaitingTime, + @JsonProperty("repositories") List repositories, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(apiUrl, "apiUrl"); Utils.checkNotNull(branches, "branches"); Utils.checkNotNull(credentials, "credentials"); @@ -92,17 +93,16 @@ public SourceGithub( public SourceGithub( SourceGithubAuthentication credentials, - java.util.List repositories) { + List repositories) { this(Optional.empty(), Optional.empty(), credentials, Optional.empty(), repositories, Optional.empty()); } /** * Please enter your basic URL from self-hosted GitHub instance or leave it empty to use GitHub. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiUrl() { - return (Optional) apiUrl; + return apiUrl; } /** @@ -110,8 +110,8 @@ public Optional apiUrl() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> branches() { - return (Optional>) branches; + public Optional> branches() { + return (Optional>) branches; } /** @@ -125,17 +125,16 @@ public SourceGithubAuthentication credentials() { /** * Max Waiting Time for rate limit. Set higher value to wait till rate limits will be resetted to continue sync */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional maxWaitingTime() { - return (Optional) maxWaitingTime; + return maxWaitingTime; } /** * List of GitHub organizations/repositories, e.g. `airbytehq/airbyte` for single repository, `airbytehq/*` for get all repositories from organization and `airbytehq/a* for matching multiple repositories by pattern. */ @JsonIgnore - public java.util.List repositories() { + public List repositories() { return repositories; } @@ -147,10 +146,9 @@ public SourceGithubGithub sourceType() { /** * The date from which you'd like to replicate data from GitHub in the format YYYY-MM-DDT00:00:00Z. If the date is not set, all data will be replicated. For the streams which support this configuration, only data generated on or after the start date will be replicated. This field doesn't apply to all streams, see the <a href="https://docs.airbyte.com/integrations/sources/github">docs</a> for more info */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -169,7 +167,7 @@ public SourceGithub withApiUrl(String apiUrl) { /** * Please enter your basic URL from self-hosted GitHub instance or leave it empty to use GitHub. */ - public SourceGithub withApiUrl(Optional apiUrl) { + public SourceGithub withApiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -178,7 +176,7 @@ public SourceGithub withApiUrl(Optional apiUrl) { /** * List of GitHub repository branches to pull commits for, e.g. `airbytehq/airbyte/master`. If no branches are specified for a repository, the default branch will be pulled. */ - public SourceGithub withBranches(java.util.List branches) { + public SourceGithub withBranches(List branches) { Utils.checkNotNull(branches, "branches"); this.branches = Optional.ofNullable(branches); return this; @@ -187,7 +185,7 @@ public SourceGithub withBranches(java.util.List branches) { /** * List of GitHub repository branches to pull commits for, e.g. `airbytehq/airbyte/master`. If no branches are specified for a repository, the default branch will be pulled. */ - public SourceGithub withBranches(Optional> branches) { + public SourceGithub withBranches(Optional> branches) { Utils.checkNotNull(branches, "branches"); this.branches = branches; return this; @@ -214,7 +212,7 @@ public SourceGithub withMaxWaitingTime(long maxWaitingTime) { /** * Max Waiting Time for rate limit. Set higher value to wait till rate limits will be resetted to continue sync */ - public SourceGithub withMaxWaitingTime(Optional maxWaitingTime) { + public SourceGithub withMaxWaitingTime(Optional maxWaitingTime) { Utils.checkNotNull(maxWaitingTime, "maxWaitingTime"); this.maxWaitingTime = maxWaitingTime; return this; @@ -223,7 +221,7 @@ public SourceGithub withMaxWaitingTime(Optional maxWaitingTime) /** * List of GitHub organizations/repositories, e.g. `airbytehq/airbyte` for single repository, `airbytehq/*` for get all repositories from organization and `airbytehq/a* for matching multiple repositories by pattern. */ - public SourceGithub withRepositories(java.util.List repositories) { + public SourceGithub withRepositories(List repositories) { Utils.checkNotNull(repositories, "repositories"); this.repositories = repositories; return this; @@ -241,7 +239,7 @@ public SourceGithub withStartDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data from GitHub in the format YYYY-MM-DDT00:00:00Z. If the date is not set, all data will be replicated. For the streams which support this configuration, only data generated on or after the start date will be replicated. This field doesn't apply to all streams, see the <a href="https://docs.airbyte.com/integrations/sources/github">docs</a> for more info */ - public SourceGithub withStartDate(Optional startDate) { + public SourceGithub withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -257,18 +255,18 @@ public boolean equals(java.lang.Object o) { } SourceGithub other = (SourceGithub) o; return - java.util.Objects.deepEquals(this.apiUrl, other.apiUrl) && - java.util.Objects.deepEquals(this.branches, other.branches) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.maxWaitingTime, other.maxWaitingTime) && - java.util.Objects.deepEquals(this.repositories, other.repositories) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiUrl, other.apiUrl) && + Objects.deepEquals(this.branches, other.branches) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.maxWaitingTime, other.maxWaitingTime) && + Objects.deepEquals(this.repositories, other.repositories) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiUrl, branches, credentials, @@ -292,17 +290,17 @@ public String toString() { public final static class Builder { - private Optional apiUrl; + private Optional apiUrl; - private Optional> branches = Optional.empty(); + private Optional> branches = Optional.empty(); private SourceGithubAuthentication credentials; - private Optional maxWaitingTime; + private Optional maxWaitingTime; - private java.util.List repositories; + private List repositories; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -320,7 +318,7 @@ public Builder apiUrl(String apiUrl) { /** * Please enter your basic URL from self-hosted GitHub instance or leave it empty to use GitHub. */ - public Builder apiUrl(Optional apiUrl) { + public Builder apiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -329,7 +327,7 @@ public Builder apiUrl(Optional apiUrl) { /** * List of GitHub repository branches to pull commits for, e.g. `airbytehq/airbyte/master`. If no branches are specified for a repository, the default branch will be pulled. */ - public Builder branches(java.util.List branches) { + public Builder branches(List branches) { Utils.checkNotNull(branches, "branches"); this.branches = Optional.ofNullable(branches); return this; @@ -338,7 +336,7 @@ public Builder branches(java.util.List branches) { /** * List of GitHub repository branches to pull commits for, e.g. `airbytehq/airbyte/master`. If no branches are specified for a repository, the default branch will be pulled. */ - public Builder branches(Optional> branches) { + public Builder branches(Optional> branches) { Utils.checkNotNull(branches, "branches"); this.branches = branches; return this; @@ -365,7 +363,7 @@ public Builder maxWaitingTime(long maxWaitingTime) { /** * Max Waiting Time for rate limit. Set higher value to wait till rate limits will be resetted to continue sync */ - public Builder maxWaitingTime(Optional maxWaitingTime) { + public Builder maxWaitingTime(Optional maxWaitingTime) { Utils.checkNotNull(maxWaitingTime, "maxWaitingTime"); this.maxWaitingTime = maxWaitingTime; return this; @@ -374,7 +372,7 @@ public Builder maxWaitingTime(Optional maxWaitingTime) { /** * List of GitHub organizations/repositories, e.g. `airbytehq/airbyte` for single repository, `airbytehq/*` for get all repositories from organization and `airbytehq/a* for matching multiple repositories by pattern. */ - public Builder repositories(java.util.List repositories) { + public Builder repositories(List repositories) { Utils.checkNotNull(repositories, "repositories"); this.repositories = repositories; return this; @@ -392,7 +390,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data from GitHub in the format YYYY-MM-DDT00:00:00Z. If the date is not set, all data will be replicated. For the streams which support this configuration, only data generated on or after the start date will be replicated. This field doesn't apply to all streams, see the <a href="https://docs.airbyte.com/integrations/sources/github">docs</a> for more info */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -404,8 +402,7 @@ public SourceGithub build() { } if (maxWaitingTime == null) { maxWaitingTime = _SINGLETON_VALUE_MaxWaitingTime.value(); - } - return new SourceGithub( + } return new SourceGithub( apiUrl, branches, credentials, @@ -414,17 +411,17 @@ public SourceGithub build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = new LazySingletonValue<>( "api_url", "\"https://api.github.com/\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_MaxWaitingTime = + private static final LazySingletonValue> _SINGLETON_VALUE_MaxWaitingTime = new LazySingletonValue<>( "max_waiting_time", "10", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGithubAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceGithubAuthentication.java index d544a8540..bbb439a1d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGithubAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGithubAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGithubAuthentication - Choose how to authenticate to GitHub @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGithubAuthentication._Deserializer.class) public class SourceGithubAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGithubAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceGithubAuthentication of(SourceGithubPersonalAccessToken valu /** * Returns an instance of one of these types: *

      - *
    • {@code OAuth}
    • - *
    • {@code SourceGithubPersonalAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.OAuth}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGithubPersonalAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGithubAuthentication other = (SourceGithubAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGithubAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGithubAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGithubGithub.java b/src/main/java/com/airbyte/api/models/shared/SourceGithubGithub.java index de2aeb06e..f5e9afb4c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGithubGithub.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGithubGithub.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGithubGithub { GITHUB("github"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGithubOptionTitle.java b/src/main/java/com/airbyte/api/models/shared/SourceGithubOptionTitle.java index acd233c8d..beab5d013 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGithubOptionTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGithubOptionTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGithubOptionTitle { PAT_CREDENTIALS("PAT Credentials"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGithubPersonalAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SourceGithubPersonalAccessToken.java index d8e089f31..d7e1629e1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGithubPersonalAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGithubPersonalAccessToken.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGithubPersonalAccessToken { @JsonInclude(Include.NON_ABSENT) @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } SourceGithubPersonalAccessToken other = (SourceGithubPersonalAccessToken) o; return - java.util.Objects.deepEquals(this.optionTitle, other.optionTitle) && - java.util.Objects.deepEquals(this.personalAccessToken, other.personalAccessToken); + Objects.deepEquals(this.optionTitle, other.optionTitle) && + Objects.deepEquals(this.personalAccessToken, other.personalAccessToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( optionTitle, personalAccessToken); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGitlab.java b/src/main/java/com/airbyte/api/models/shared/SourceGitlab.java index 397e12a6b..f87c021cb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGitlab.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGitlab.java @@ -1,27 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGitlab { /** @@ -29,7 +29,7 @@ public class SourceGitlab { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_url") - private Optional apiUrl; + private Optional apiUrl; @JsonProperty("credentials") private SourceGitlabAuthorizationMethod credentials; @@ -39,14 +39,14 @@ public class SourceGitlab { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("groups_list") - private Optional> groupsList; + private Optional> groupsList; /** * Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("projects_list") - private Optional> projectsList; + private Optional> projectsList; @JsonProperty("sourceType") private SourceGitlabGitlab sourceType; @@ -56,15 +56,15 @@ public class SourceGitlab { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceGitlab( - @JsonProperty("api_url") Optional apiUrl, + @JsonProperty("api_url") Optional apiUrl, @JsonProperty("credentials") SourceGitlabAuthorizationMethod credentials, - @JsonProperty("groups_list") Optional> groupsList, - @JsonProperty("projects_list") Optional> projectsList, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("groups_list") Optional> groupsList, + @JsonProperty("projects_list") Optional> projectsList, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(apiUrl, "apiUrl"); Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(groupsList, "groupsList"); @@ -86,10 +86,9 @@ public SourceGitlab( /** * Please enter your basic URL from GitLab instance. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiUrl() { - return (Optional) apiUrl; + return apiUrl; } @JsonIgnore @@ -102,8 +101,8 @@ public SourceGitlabAuthorizationMethod credentials() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> groupsList() { - return (Optional>) groupsList; + public Optional> groupsList() { + return (Optional>) groupsList; } /** @@ -111,8 +110,8 @@ public Optional> groupsList() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> projectsList() { - return (Optional>) projectsList; + public Optional> projectsList() { + return (Optional>) projectsList; } @JsonIgnore @@ -123,10 +122,9 @@ public SourceGitlabGitlab sourceType() { /** * The date from which you'd like to replicate data for GitLab API, in the format YYYY-MM-DDT00:00:00Z. Optional. If not set, all data will be replicated. All data generated after this date will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -145,7 +143,7 @@ public SourceGitlab withApiUrl(String apiUrl) { /** * Please enter your basic URL from GitLab instance. */ - public SourceGitlab withApiUrl(Optional apiUrl) { + public SourceGitlab withApiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -160,7 +158,7 @@ public SourceGitlab withCredentials(SourceGitlabAuthorizationMethod credentials) /** * List of groups. e.g. airbyte.io. */ - public SourceGitlab withGroupsList(java.util.List groupsList) { + public SourceGitlab withGroupsList(List groupsList) { Utils.checkNotNull(groupsList, "groupsList"); this.groupsList = Optional.ofNullable(groupsList); return this; @@ -169,7 +167,7 @@ public SourceGitlab withGroupsList(java.util.List groupsList) { /** * List of groups. e.g. airbyte.io. */ - public SourceGitlab withGroupsList(Optional> groupsList) { + public SourceGitlab withGroupsList(Optional> groupsList) { Utils.checkNotNull(groupsList, "groupsList"); this.groupsList = groupsList; return this; @@ -178,7 +176,7 @@ public SourceGitlab withGroupsList(Optional> gr /** * Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab. */ - public SourceGitlab withProjectsList(java.util.List projectsList) { + public SourceGitlab withProjectsList(List projectsList) { Utils.checkNotNull(projectsList, "projectsList"); this.projectsList = Optional.ofNullable(projectsList); return this; @@ -187,7 +185,7 @@ public SourceGitlab withProjectsList(java.util.List projectsList) { /** * Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab. */ - public SourceGitlab withProjectsList(Optional> projectsList) { + public SourceGitlab withProjectsList(Optional> projectsList) { Utils.checkNotNull(projectsList, "projectsList"); this.projectsList = projectsList; return this; @@ -205,7 +203,7 @@ public SourceGitlab withStartDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for GitLab API, in the format YYYY-MM-DDT00:00:00Z. Optional. If not set, all data will be replicated. All data generated after this date will be replicated. */ - public SourceGitlab withStartDate(Optional startDate) { + public SourceGitlab withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -221,17 +219,17 @@ public boolean equals(java.lang.Object o) { } SourceGitlab other = (SourceGitlab) o; return - java.util.Objects.deepEquals(this.apiUrl, other.apiUrl) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.groupsList, other.groupsList) && - java.util.Objects.deepEquals(this.projectsList, other.projectsList) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiUrl, other.apiUrl) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.groupsList, other.groupsList) && + Objects.deepEquals(this.projectsList, other.projectsList) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiUrl, credentials, groupsList, @@ -253,15 +251,15 @@ public String toString() { public final static class Builder { - private Optional apiUrl; + private Optional apiUrl; private SourceGitlabAuthorizationMethod credentials; - private Optional> groupsList = Optional.empty(); + private Optional> groupsList = Optional.empty(); - private Optional> projectsList = Optional.empty(); + private Optional> projectsList = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -279,7 +277,7 @@ public Builder apiUrl(String apiUrl) { /** * Please enter your basic URL from GitLab instance. */ - public Builder apiUrl(Optional apiUrl) { + public Builder apiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -294,7 +292,7 @@ public Builder credentials(SourceGitlabAuthorizationMethod credentials) { /** * List of groups. e.g. airbyte.io. */ - public Builder groupsList(java.util.List groupsList) { + public Builder groupsList(List groupsList) { Utils.checkNotNull(groupsList, "groupsList"); this.groupsList = Optional.ofNullable(groupsList); return this; @@ -303,7 +301,7 @@ public Builder groupsList(java.util.List groupsList) { /** * List of groups. e.g. airbyte.io. */ - public Builder groupsList(Optional> groupsList) { + public Builder groupsList(Optional> groupsList) { Utils.checkNotNull(groupsList, "groupsList"); this.groupsList = groupsList; return this; @@ -312,7 +310,7 @@ public Builder groupsList(Optional> groupsList) /** * Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab. */ - public Builder projectsList(java.util.List projectsList) { + public Builder projectsList(List projectsList) { Utils.checkNotNull(projectsList, "projectsList"); this.projectsList = Optional.ofNullable(projectsList); return this; @@ -321,7 +319,7 @@ public Builder projectsList(java.util.List projectsList) { /** * Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab. */ - public Builder projectsList(Optional> projectsList) { + public Builder projectsList(Optional> projectsList) { Utils.checkNotNull(projectsList, "projectsList"); this.projectsList = projectsList; return this; @@ -339,7 +337,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for GitLab API, in the format YYYY-MM-DDT00:00:00Z. Optional. If not set, all data will be replicated. All data generated after this date will be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -348,8 +346,7 @@ public Builder startDate(Optional startDate) { public SourceGitlab build() { if (apiUrl == null) { apiUrl = _SINGLETON_VALUE_ApiUrl.value(); - } - return new SourceGitlab( + } return new SourceGitlab( apiUrl, credentials, groupsList, @@ -357,11 +354,11 @@ public SourceGitlab build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = new LazySingletonValue<>( "api_url", "\"gitlab.com\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthType.java index 80e6f7017..0cbba6eea 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGitlabAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthorizationMethod.java index 4c51f9982..936d1af8c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGitlabAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGitlabAuthorizationMethod._Deserializer.class) public class SourceGitlabAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGitlabAuthorizationMethod(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGitlabAuthorizationMethod of(PrivateToken value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGitlabOAuth20}
    • - *
    • {@code PrivateToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGitlabOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.PrivateToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGitlabAuthorizationMethod other = (SourceGitlabAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGitlabAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGitlabAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlab.java b/src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlab.java index a5465a4ba..82fa5b868 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlab.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGitlabGitlab.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGitlabGitlab { GITLAB("gitlab"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGitlabOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceGitlabOAuth20.java index 7992c645d..f5d460c99 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGitlabOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGitlabOAuth20.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceGitlabOAuth20 { /** @@ -183,17 +182,17 @@ public boolean equals(java.lang.Object o) { } SourceGitlabOAuth20 other = (SourceGitlabOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGitlabSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGitlabSchemasAuthType.java index 7110e37c9..55d29eb7c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGitlabSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGitlabSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGitlabSchemasAuthType { ACCESS_TOKEN("access_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java b/src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java index bc180b72e..49b76e859 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGlassfrog.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGlassfrog { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceGlassfrog other = (SourceGlassfrog) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGmail.java b/src/main/java/com/airbyte/api/models/shared/SourceGmail.java new file mode 100644 index 000000000..4f8f38c7b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGmail.java @@ -0,0 +1,246 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceGmail { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token") + private String clientRefreshToken; + + @JsonProperty("client_secret") + private String clientSecret; + + /** + * Include drafts/messages from SPAM and TRASH in the results. Defaults to false. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("include_spam_and_trash") + private Optional includeSpamAndTrash; + + @JsonProperty("sourceType") + private Gmail sourceType; + + @JsonCreator + public SourceGmail( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token") String clientRefreshToken, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("include_spam_and_trash") Optional includeSpamAndTrash) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(includeSpamAndTrash, "includeSpamAndTrash"); + this.clientId = clientId; + this.clientRefreshToken = clientRefreshToken; + this.clientSecret = clientSecret; + this.includeSpamAndTrash = includeSpamAndTrash; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceGmail( + String clientId, + String clientRefreshToken, + String clientSecret) { + this(clientId, clientRefreshToken, clientSecret, Optional.empty()); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken() { + return clientRefreshToken; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * Include drafts/messages from SPAM and TRASH in the results. Defaults to false. + */ + @JsonIgnore + public Optional includeSpamAndTrash() { + return includeSpamAndTrash; + } + + @JsonIgnore + public Gmail sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceGmail withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceGmail withClientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public SourceGmail withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Include drafts/messages from SPAM and TRASH in the results. Defaults to false. + */ + public SourceGmail withIncludeSpamAndTrash(boolean includeSpamAndTrash) { + Utils.checkNotNull(includeSpamAndTrash, "includeSpamAndTrash"); + this.includeSpamAndTrash = Optional.ofNullable(includeSpamAndTrash); + return this; + } + + /** + * Include drafts/messages from SPAM and TRASH in the results. Defaults to false. + */ + public SourceGmail withIncludeSpamAndTrash(Optional includeSpamAndTrash) { + Utils.checkNotNull(includeSpamAndTrash, "includeSpamAndTrash"); + this.includeSpamAndTrash = includeSpamAndTrash; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGmail other = (SourceGmail) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken, other.clientRefreshToken) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.includeSpamAndTrash, other.includeSpamAndTrash) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientRefreshToken, + clientSecret, + includeSpamAndTrash, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceGmail.class, + "clientId", clientId, + "clientRefreshToken", clientRefreshToken, + "clientSecret", clientSecret, + "includeSpamAndTrash", includeSpamAndTrash, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientRefreshToken; + + private String clientSecret; + + private Optional includeSpamAndTrash; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Include drafts/messages from SPAM and TRASH in the results. Defaults to false. + */ + public Builder includeSpamAndTrash(boolean includeSpamAndTrash) { + Utils.checkNotNull(includeSpamAndTrash, "includeSpamAndTrash"); + this.includeSpamAndTrash = Optional.ofNullable(includeSpamAndTrash); + return this; + } + + /** + * Include drafts/messages from SPAM and TRASH in the results. Defaults to false. + */ + public Builder includeSpamAndTrash(Optional includeSpamAndTrash) { + Utils.checkNotNull(includeSpamAndTrash, "includeSpamAndTrash"); + this.includeSpamAndTrash = includeSpamAndTrash; + return this; + } + + public SourceGmail build() { + if (includeSpamAndTrash == null) { + includeSpamAndTrash = _SINGLETON_VALUE_IncludeSpamAndTrash.value(); + } return new SourceGmail( + clientId, + clientRefreshToken, + clientSecret, + includeSpamAndTrash); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeSpamAndTrash = + new LazySingletonValue<>( + "include_spam_and_trash", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"gmail\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGnews.java b/src/main/java/com/airbyte/api/models/shared/SourceGnews.java index bd25e9d21..5d2c8a666 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGnews.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGnews.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGnews { /** @@ -32,47 +34,53 @@ public class SourceGnews { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("country") - private Optional country; + private Optional country; /** * This parameter allows you to filter the articles that have a publication date smaller than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * This parameter allows you to choose in which attributes the keywords are searched. The attributes that can be set are title, description and content. It is possible to combine several attributes. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("in") - private Optional> in; + private Optional> in; @JsonInclude(Include.NON_ABSENT) @JsonProperty("language") - private Optional language; + private Optional language; /** * This parameter allows you to specify the attributes that you allow to return null values. The attributes that can be set are title, description and content. It is possible to combine several attributes */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("nullable") - private Optional> nullable; + private Optional> nullable; /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ @JsonProperty("query") @@ -80,12 +88,14 @@ public class SourceGnews { /** * This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: - * - publishedAt = sort by publication date, the articles with the most recent publication date are returned first - * - relevance = sort by best match to keywords, the articles with the best match are returned first + * - publishedAt = sort by publication date, the articles with the most recent + * publication date are returned first + * - relevance = sort by best match to keywords, the articles with the best + * match are returned first */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("sortby") - private Optional sortby; + private Optional sortby; @JsonProperty("sourceType") private Gnews sourceType; @@ -95,27 +105,33 @@ public class SourceGnews { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("top_headlines_query") - private Optional topHeadlinesQuery; + private Optional topHeadlinesQuery; /** * This parameter allows you to change the category for the request. @@ -127,15 +143,15 @@ public class SourceGnews { @JsonCreator public SourceGnews( @JsonProperty("api_key") String apiKey, - @JsonProperty("country") Optional country, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("in") Optional> in, - @JsonProperty("language") Optional language, - @JsonProperty("nullable") Optional> nullable, + @JsonProperty("country") Optional country, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("in") Optional> in, + @JsonProperty("language") Optional language, + @JsonProperty("nullable") Optional> nullable, @JsonProperty("query") String query, - @JsonProperty("sortby") Optional sortby, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("top_headlines_query") Optional topHeadlinesQuery, + @JsonProperty("sortby") Optional sortby, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("top_headlines_query") Optional topHeadlinesQuery, @JsonProperty("top_headlines_topic") Optional topHeadlinesTopic) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(country, "country"); @@ -181,17 +197,16 @@ public String apiKey() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional country() { - return (Optional) country; + public Optional country() { + return (Optional) country; } /** * This parameter allows you to filter the articles that have a publication date smaller than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** @@ -199,14 +214,14 @@ public Optional endDate() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> in() { - return (Optional>) in; + public Optional> in() { + return (Optional>) in; } @SuppressWarnings("unchecked") @JsonIgnore - public Optional language() { - return (Optional) language; + public Optional language() { + return (Optional) language; } /** @@ -214,24 +229,30 @@ public Optional language() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> nullable() { - return (Optional>) nullable; + public Optional> nullable() { + return (Optional>) nullable; } /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ @JsonIgnore @@ -241,13 +262,15 @@ public String query() { /** * This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: - * - publishedAt = sort by publication date, the articles with the most recent publication date are returned first - * - relevance = sort by best match to keywords, the articles with the best match are returned first + * - publishedAt = sort by publication date, the articles with the most recent + * publication date are returned first + * - relevance = sort by best match to keywords, the articles with the best + * match are returned first */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional sortby() { - return (Optional) sortby; + public Optional sortby() { + return (Optional) sortby; } @JsonIgnore @@ -258,32 +281,36 @@ public Gnews sourceType() { /** * This parameter allows you to filter the articles that have a publication date greater than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional topHeadlinesQuery() { - return (Optional) topHeadlinesQuery; + return topHeadlinesQuery; } /** @@ -311,7 +338,7 @@ public SourceGnews withApiKey(String apiKey) { /** * This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. */ - public SourceGnews withCountry(Country country) { + public SourceGnews withCountry(SourceGnewsCountry country) { Utils.checkNotNull(country, "country"); this.country = Optional.ofNullable(country); return this; @@ -320,7 +347,7 @@ public SourceGnews withCountry(Country country) { /** * This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. */ - public SourceGnews withCountry(Optional country) { + public SourceGnews withCountry(Optional country) { Utils.checkNotNull(country, "country"); this.country = country; return this; @@ -338,7 +365,7 @@ public SourceGnews withEndDate(String endDate) { /** * This parameter allows you to filter the articles that have a publication date smaller than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) */ - public SourceGnews withEndDate(Optional endDate) { + public SourceGnews withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -347,7 +374,7 @@ public SourceGnews withEndDate(Optional endDate) { /** * This parameter allows you to choose in which attributes the keywords are searched. The attributes that can be set are title, description and content. It is possible to combine several attributes. */ - public SourceGnews withIn(java.util.List in) { + public SourceGnews withIn(List in) { Utils.checkNotNull(in, "in"); this.in = Optional.ofNullable(in); return this; @@ -356,19 +383,19 @@ public SourceGnews withIn(java.util.List in) { /** * This parameter allows you to choose in which attributes the keywords are searched. The attributes that can be set are title, description and content. It is possible to combine several attributes. */ - public SourceGnews withIn(Optional> in) { + public SourceGnews withIn(Optional> in) { Utils.checkNotNull(in, "in"); this.in = in; return this; } - public SourceGnews withLanguage(Language language) { + public SourceGnews withLanguage(SourceGnewsLanguage language) { Utils.checkNotNull(language, "language"); this.language = Optional.ofNullable(language); return this; } - public SourceGnews withLanguage(Optional language) { + public SourceGnews withLanguage(Optional language) { Utils.checkNotNull(language, "language"); this.language = language; return this; @@ -377,7 +404,7 @@ public SourceGnews withLanguage(Optional language) { /** * This parameter allows you to specify the attributes that you allow to return null values. The attributes that can be set are title, description and content. It is possible to combine several attributes */ - public SourceGnews withNullable(java.util.List nullable) { + public SourceGnews withNullable(List nullable) { Utils.checkNotNull(nullable, "nullable"); this.nullable = Optional.ofNullable(nullable); return this; @@ -386,7 +413,7 @@ public SourceGnews withNullable(java.util.List nullable) { /** * This parameter allows you to specify the attributes that you allow to return null values. The attributes that can be set are title, description and content. It is possible to combine several attributes */ - public SourceGnews withNullable(Optional> nullable) { + public SourceGnews withNullable(Optional> nullable) { Utils.checkNotNull(nullable, "nullable"); this.nullable = nullable; return this; @@ -394,18 +421,24 @@ public SourceGnews withNullable(Optional> nul /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ public SourceGnews withQuery(String query) { @@ -416,10 +449,12 @@ public SourceGnews withQuery(String query) { /** * This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: - * - publishedAt = sort by publication date, the articles with the most recent publication date are returned first - * - relevance = sort by best match to keywords, the articles with the best match are returned first + * - publishedAt = sort by publication date, the articles with the most recent + * publication date are returned first + * - relevance = sort by best match to keywords, the articles with the best + * match are returned first */ - public SourceGnews withSortby(SortBy sortby) { + public SourceGnews withSortby(SourceGnewsSortBy sortby) { Utils.checkNotNull(sortby, "sortby"); this.sortby = Optional.ofNullable(sortby); return this; @@ -427,10 +462,12 @@ public SourceGnews withSortby(SortBy sortby) { /** * This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: - * - publishedAt = sort by publication date, the articles with the most recent publication date are returned first - * - relevance = sort by best match to keywords, the articles with the best match are returned first + * - publishedAt = sort by publication date, the articles with the most recent + * publication date are returned first + * - relevance = sort by best match to keywords, the articles with the best + * match are returned first */ - public SourceGnews withSortby(Optional sortby) { + public SourceGnews withSortby(Optional sortby) { Utils.checkNotNull(sortby, "sortby"); this.sortby = sortby; return this; @@ -448,7 +485,7 @@ public SourceGnews withStartDate(String startDate) { /** * This parameter allows you to filter the articles that have a publication date greater than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) */ - public SourceGnews withStartDate(Optional startDate) { + public SourceGnews withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -456,18 +493,24 @@ public SourceGnews withStartDate(Optional startDate) { /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ public SourceGnews withTopHeadlinesQuery(String topHeadlinesQuery) { @@ -478,21 +521,27 @@ public SourceGnews withTopHeadlinesQuery(String topHeadlinesQuery) { /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ - public SourceGnews withTopHeadlinesQuery(Optional topHeadlinesQuery) { + public SourceGnews withTopHeadlinesQuery(Optional topHeadlinesQuery) { Utils.checkNotNull(topHeadlinesQuery, "topHeadlinesQuery"); this.topHeadlinesQuery = topHeadlinesQuery; return this; @@ -526,23 +575,23 @@ public boolean equals(java.lang.Object o) { } SourceGnews other = (SourceGnews) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.country, other.country) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.in, other.in) && - java.util.Objects.deepEquals(this.language, other.language) && - java.util.Objects.deepEquals(this.nullable, other.nullable) && - java.util.Objects.deepEquals(this.query, other.query) && - java.util.Objects.deepEquals(this.sortby, other.sortby) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.topHeadlinesQuery, other.topHeadlinesQuery) && - java.util.Objects.deepEquals(this.topHeadlinesTopic, other.topHeadlinesTopic); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.country, other.country) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.in, other.in) && + Objects.deepEquals(this.language, other.language) && + Objects.deepEquals(this.nullable, other.nullable) && + Objects.deepEquals(this.query, other.query) && + Objects.deepEquals(this.sortby, other.sortby) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.topHeadlinesQuery, other.topHeadlinesQuery) && + Objects.deepEquals(this.topHeadlinesTopic, other.topHeadlinesTopic); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, country, endDate, @@ -578,23 +627,23 @@ public final static class Builder { private String apiKey; - private Optional country = Optional.empty(); + private Optional country = Optional.empty(); - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional> in = Optional.empty(); + private Optional> in = Optional.empty(); - private Optional language = Optional.empty(); + private Optional language = Optional.empty(); - private Optional> nullable = Optional.empty(); + private Optional> nullable = Optional.empty(); private String query; - private Optional sortby = Optional.empty(); + private Optional sortby = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private Optional topHeadlinesQuery = Optional.empty(); + private Optional topHeadlinesQuery = Optional.empty(); private Optional topHeadlinesTopic = Optional.empty(); @@ -614,7 +663,7 @@ public Builder apiKey(String apiKey) { /** * This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. */ - public Builder country(Country country) { + public Builder country(SourceGnewsCountry country) { Utils.checkNotNull(country, "country"); this.country = Optional.ofNullable(country); return this; @@ -623,7 +672,7 @@ public Builder country(Country country) { /** * This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. */ - public Builder country(Optional country) { + public Builder country(Optional country) { Utils.checkNotNull(country, "country"); this.country = country; return this; @@ -641,7 +690,7 @@ public Builder endDate(String endDate) { /** * This parameter allows you to filter the articles that have a publication date smaller than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -650,7 +699,7 @@ public Builder endDate(Optional endDate) { /** * This parameter allows you to choose in which attributes the keywords are searched. The attributes that can be set are title, description and content. It is possible to combine several attributes. */ - public Builder in(java.util.List in) { + public Builder in(List in) { Utils.checkNotNull(in, "in"); this.in = Optional.ofNullable(in); return this; @@ -659,19 +708,19 @@ public Builder in(java.util.List in) { /** * This parameter allows you to choose in which attributes the keywords are searched. The attributes that can be set are title, description and content. It is possible to combine several attributes. */ - public Builder in(Optional> in) { + public Builder in(Optional> in) { Utils.checkNotNull(in, "in"); this.in = in; return this; } - public Builder language(Language language) { + public Builder language(SourceGnewsLanguage language) { Utils.checkNotNull(language, "language"); this.language = Optional.ofNullable(language); return this; } - public Builder language(Optional language) { + public Builder language(Optional language) { Utils.checkNotNull(language, "language"); this.language = language; return this; @@ -680,7 +729,7 @@ public Builder language(Optional language) { /** * This parameter allows you to specify the attributes that you allow to return null values. The attributes that can be set are title, description and content. It is possible to combine several attributes */ - public Builder nullable(java.util.List nullable) { + public Builder nullable(List nullable) { Utils.checkNotNull(nullable, "nullable"); this.nullable = Optional.ofNullable(nullable); return this; @@ -689,7 +738,7 @@ public Builder nullable(java.util.List nullable) { /** * This parameter allows you to specify the attributes that you allow to return null values. The attributes that can be set are title, description and content. It is possible to combine several attributes */ - public Builder nullable(Optional> nullable) { + public Builder nullable(Optional> nullable) { Utils.checkNotNull(nullable, "nullable"); this.nullable = nullable; return this; @@ -697,18 +746,24 @@ public Builder nullable(Optional> nullable) { /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ public Builder query(String query) { @@ -719,10 +774,12 @@ public Builder query(String query) { /** * This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: - * - publishedAt = sort by publication date, the articles with the most recent publication date are returned first - * - relevance = sort by best match to keywords, the articles with the best match are returned first + * - publishedAt = sort by publication date, the articles with the most recent + * publication date are returned first + * - relevance = sort by best match to keywords, the articles with the best + * match are returned first */ - public Builder sortby(SortBy sortby) { + public Builder sortby(SourceGnewsSortBy sortby) { Utils.checkNotNull(sortby, "sortby"); this.sortby = Optional.ofNullable(sortby); return this; @@ -730,10 +787,12 @@ public Builder sortby(SortBy sortby) { /** * This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: - * - publishedAt = sort by publication date, the articles with the most recent publication date are returned first - * - relevance = sort by best match to keywords, the articles with the best match are returned first + * - publishedAt = sort by publication date, the articles with the most recent + * publication date are returned first + * - relevance = sort by best match to keywords, the articles with the best + * match are returned first */ - public Builder sortby(Optional sortby) { + public Builder sortby(Optional sortby) { Utils.checkNotNull(sortby, "sortby"); this.sortby = sortby; return this; @@ -751,7 +810,7 @@ public Builder startDate(String startDate) { /** * This parameter allows you to filter the articles that have a publication date greater than or equal to the specified value. The date must respect the following format: YYYY-MM-DD hh:mm:ss (in UTC) */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -759,18 +818,24 @@ public Builder startDate(Optional startDate) { /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ public Builder topHeadlinesQuery(String topHeadlinesQuery) { @@ -781,21 +846,27 @@ public Builder topHeadlinesQuery(String topHeadlinesQuery) { /** * This parameter allows you to specify your search keywords to find the news articles you are looking for. The keywords will be used to return the most relevant articles. It is possible to use logical operators with keywords. - Phrase Search Operator: This operator allows you to make an exact search. Keywords surrounded by - * quotation marks are used to search for articles with the exact same keyword sequence. - * For example the query: "Apple iPhone" will return articles matching at least once this sequence of keywords. - * - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article - * search. By default the space character acts as an AND operator, it is possible to replace the space character - * by AND to obtain the same result. For example the query: Apple Microsoft is equivalent to Apple AND Microsoft - * - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. - * It is important to note that this operator has a higher precedence than the AND operator. For example the - * query: Apple OR Microsoft will return all articles matching the keyword Apple as well as all articles matching + * quotation marks are used to search for articles with the exact same keyword + * sequence. + * For example the query: "Apple iPhone" will return articles matching at + * least once this sequence of keywords. - Logical AND Operator: This operator allows you to make sure that several keywords are all used in the article + * search. By default the space character acts as an AND operator, it is + * possible to replace the space character + * by AND to obtain the same result. For example the query: Apple Microsoft + * is equivalent to Apple AND Microsoft - Logical OR Operator: This operator allows you to retrieve articles matching the keyword a or the keyword b. + * It is important to note that this operator has a higher precedence than + * the AND operator. For example the + * query: Apple OR Microsoft will return all articles matching the keyword + * Apple as well as all articles matching * the keyword Microsoft * - Logical NOT Operator: This operator allows you to remove from the results the articles corresponding to the - * specified keywords. To use it, you need to add NOT in front of each word or phrase surrounded by quotes. - * For example the query: Apple NOT iPhone will return all articles matching the keyword Apple but not the keyword + * specified keywords. To use it, you need to add NOT in front of each word + * or phrase surrounded by quotes. + * For example the query: Apple NOT iPhone will return all articles matching + * the keyword Apple but not the keyword * iPhone */ - public Builder topHeadlinesQuery(Optional topHeadlinesQuery) { + public Builder topHeadlinesQuery(Optional topHeadlinesQuery) { Utils.checkNotNull(topHeadlinesQuery, "topHeadlinesQuery"); this.topHeadlinesQuery = topHeadlinesQuery; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGnewsCountry.java b/src/main/java/com/airbyte/api/models/shared/SourceGnewsCountry.java new file mode 100644 index 000000000..faf676fb8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGnewsCountry.java @@ -0,0 +1,55 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceGnewsCountry - This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter. + */ +public enum SourceGnewsCountry { + AU("au"), + BR("br"), + CA("ca"), + CN("cn"), + EG("eg"), + FR("fr"), + DE("de"), + GR("gr"), + HK("hk"), + IN("in"), + IE("ie"), + IL("il"), + IT("it"), + JP("jp"), + NL("nl"), + NO("no"), + PK("pk"), + PE("pe"), + PH("ph"), + PT("pt"), + RO("ro"), + RU("ru"), + SG("sg"), + ES("es"), + SE("se"), + CH("ch"), + TW("tw"), + UA("ua"), + GB("gb"), + US("us"); + + @JsonValue + private final String value; + + private SourceGnewsCountry(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGnewsLanguage.java b/src/main/java/com/airbyte/api/models/shared/SourceGnewsLanguage.java new file mode 100644 index 000000000..a82a7b07c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGnewsLanguage.java @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceGnewsLanguage { + AR("ar"), + ZH("zh"), + NL("nl"), + EN("en"), + FR("fr"), + DE("de"), + EL("el"), + HE("he"), + HI("hi"), + IT("it"), + JA("ja"), + ML("ml"), + MR("mr"), + NO("no"), + PT("pt"), + RO("ro"), + RU("ru"), + ES("es"), + SV("sv"), + TA("ta"), + TE("te"), + UK("uk"); + + @JsonValue + private final String value; + + private SourceGnewsLanguage(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGnewsSortBy.java b/src/main/java/com/airbyte/api/models/shared/SourceGnewsSortBy.java new file mode 100644 index 000000000..9b5df3208 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGnewsSortBy.java @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceGnewsSortBy - This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: + * - publishedAt = sort by publication date, the articles with the most recent + * publication date are returned first + * - relevance = sort by best match to keywords, the articles with the best + * match are returned first + */ +public enum SourceGnewsSortBy { + PUBLISHED_AT("publishedAt"), + RELEVANCE("relevance"); + + @JsonValue + private final String value; + + private SourceGnewsSortBy(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGocardless.java b/src/main/java/com/airbyte/api/models/shared/SourceGocardless.java new file mode 100644 index 000000000..5c9baaa6d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGocardless.java @@ -0,0 +1,299 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceGocardless { + + /** + * Gocardless API TOKEN + */ + @JsonProperty("access_token") + private String accessToken; + + /** + * Environment you are trying to connect to. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("gocardless_environment") + private Optional gocardlessEnvironment; + + /** + * GoCardless version. This is a date. You can find the latest here: + * https://developer.gocardless.com/api-reference/#api-usage-making-requests + * + */ + @JsonProperty("gocardless_version") + private String gocardlessVersion; + + @JsonProperty("sourceType") + private Gocardless sourceType; + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data + * before this date will not be replicated. + * + */ + @JsonProperty("start_date") + private String startDate; + + @JsonCreator + public SourceGocardless( + @JsonProperty("access_token") String accessToken, + @JsonProperty("gocardless_environment") Optional gocardlessEnvironment, + @JsonProperty("gocardless_version") String gocardlessVersion, + @JsonProperty("start_date") String startDate) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(gocardlessEnvironment, "gocardlessEnvironment"); + Utils.checkNotNull(gocardlessVersion, "gocardlessVersion"); + Utils.checkNotNull(startDate, "startDate"); + this.accessToken = accessToken; + this.gocardlessEnvironment = gocardlessEnvironment; + this.gocardlessVersion = gocardlessVersion; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceGocardless( + String accessToken, + String gocardlessVersion, + String startDate) { + this(accessToken, Optional.empty(), gocardlessVersion, startDate); + } + + /** + * Gocardless API TOKEN + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + /** + * Environment you are trying to connect to. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional gocardlessEnvironment() { + return (Optional) gocardlessEnvironment; + } + + /** + * GoCardless version. This is a date. You can find the latest here: + * https://developer.gocardless.com/api-reference/#api-usage-making-requests + * + */ + @JsonIgnore + public String gocardlessVersion() { + return gocardlessVersion; + } + + @JsonIgnore + public Gocardless sourceType() { + return sourceType; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data + * before this date will not be replicated. + * + */ + @JsonIgnore + public String startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Gocardless API TOKEN + */ + public SourceGocardless withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Environment you are trying to connect to. + */ + public SourceGocardless withGocardlessEnvironment(GoCardlessAPIEnvironment gocardlessEnvironment) { + Utils.checkNotNull(gocardlessEnvironment, "gocardlessEnvironment"); + this.gocardlessEnvironment = Optional.ofNullable(gocardlessEnvironment); + return this; + } + + /** + * Environment you are trying to connect to. + */ + public SourceGocardless withGocardlessEnvironment(Optional gocardlessEnvironment) { + Utils.checkNotNull(gocardlessEnvironment, "gocardlessEnvironment"); + this.gocardlessEnvironment = gocardlessEnvironment; + return this; + } + + /** + * GoCardless version. This is a date. You can find the latest here: + * https://developer.gocardless.com/api-reference/#api-usage-making-requests + * + */ + public SourceGocardless withGocardlessVersion(String gocardlessVersion) { + Utils.checkNotNull(gocardlessVersion, "gocardlessVersion"); + this.gocardlessVersion = gocardlessVersion; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data + * before this date will not be replicated. + * + */ + public SourceGocardless withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGocardless other = (SourceGocardless) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.gocardlessEnvironment, other.gocardlessEnvironment) && + Objects.deepEquals(this.gocardlessVersion, other.gocardlessVersion) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + gocardlessEnvironment, + gocardlessVersion, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceGocardless.class, + "accessToken", accessToken, + "gocardlessEnvironment", gocardlessEnvironment, + "gocardlessVersion", gocardlessVersion, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accessToken; + + private Optional gocardlessEnvironment; + + private String gocardlessVersion; + + private String startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Gocardless API TOKEN + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Environment you are trying to connect to. + */ + public Builder gocardlessEnvironment(GoCardlessAPIEnvironment gocardlessEnvironment) { + Utils.checkNotNull(gocardlessEnvironment, "gocardlessEnvironment"); + this.gocardlessEnvironment = Optional.ofNullable(gocardlessEnvironment); + return this; + } + + /** + * Environment you are trying to connect to. + */ + public Builder gocardlessEnvironment(Optional gocardlessEnvironment) { + Utils.checkNotNull(gocardlessEnvironment, "gocardlessEnvironment"); + this.gocardlessEnvironment = gocardlessEnvironment; + return this; + } + + /** + * GoCardless version. This is a date. You can find the latest here: + * https://developer.gocardless.com/api-reference/#api-usage-making-requests + * + */ + public Builder gocardlessVersion(String gocardlessVersion) { + Utils.checkNotNull(gocardlessVersion, "gocardlessVersion"); + this.gocardlessVersion = gocardlessVersion; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data + * before this date will not be replicated. + * + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceGocardless build() { + if (gocardlessEnvironment == null) { + gocardlessEnvironment = _SINGLETON_VALUE_GocardlessEnvironment.value(); + } return new SourceGocardless( + accessToken, + gocardlessEnvironment, + gocardlessVersion, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_GocardlessEnvironment = + new LazySingletonValue<>( + "gocardless_environment", + "\"sandbox\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"gocardless\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoldcast.java b/src/main/java/com/airbyte/api/models/shared/SourceGoldcast.java index 289d4e3d6..3118f2b66 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoldcast.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoldcast.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoldcast { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceGoldcast other = (SourceGoldcast) o; return - java.util.Objects.deepEquals(this.accessKey, other.accessKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.accessKey, other.accessKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGong.java b/src/main/java/com/airbyte/api/models/shared/SourceGong.java new file mode 100644 index 000000000..f9e6bd2d4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGong.java @@ -0,0 +1,231 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceGong { + + /** + * Gong Access Key + */ + @JsonProperty("access_key") + private String accessKey; + + /** + * Gong Access Key Secret + */ + @JsonProperty("access_key_secret") + private String accessKeySecret; + + @JsonProperty("sourceType") + private Gong sourceType; + + /** + * The date from which to list calls, in the ISO-8601 format; if not specified, the calls start with the earliest recorded call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonCreator + public SourceGong( + @JsonProperty("access_key") String accessKey, + @JsonProperty("access_key_secret") String accessKeySecret, + @JsonProperty("start_date") Optional startDate) { + Utils.checkNotNull(accessKey, "accessKey"); + Utils.checkNotNull(accessKeySecret, "accessKeySecret"); + Utils.checkNotNull(startDate, "startDate"); + this.accessKey = accessKey; + this.accessKeySecret = accessKeySecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceGong( + String accessKey, + String accessKeySecret) { + this(accessKey, accessKeySecret, Optional.empty()); + } + + /** + * Gong Access Key + */ + @JsonIgnore + public String accessKey() { + return accessKey; + } + + /** + * Gong Access Key Secret + */ + @JsonIgnore + public String accessKeySecret() { + return accessKeySecret; + } + + @JsonIgnore + public Gong sourceType() { + return sourceType; + } + + /** + * The date from which to list calls, in the ISO-8601 format; if not specified, the calls start with the earliest recorded call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Gong Access Key + */ + public SourceGong withAccessKey(String accessKey) { + Utils.checkNotNull(accessKey, "accessKey"); + this.accessKey = accessKey; + return this; + } + + /** + * Gong Access Key Secret + */ + public SourceGong withAccessKeySecret(String accessKeySecret) { + Utils.checkNotNull(accessKeySecret, "accessKeySecret"); + this.accessKeySecret = accessKeySecret; + return this; + } + + /** + * The date from which to list calls, in the ISO-8601 format; if not specified, the calls start with the earliest recorded call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. + */ + public SourceGong withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * The date from which to list calls, in the ISO-8601 format; if not specified, the calls start with the earliest recorded call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. + */ + public SourceGong withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGong other = (SourceGong) o; + return + Objects.deepEquals(this.accessKey, other.accessKey) && + Objects.deepEquals(this.accessKeySecret, other.accessKeySecret) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accessKey, + accessKeySecret, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceGong.class, + "accessKey", accessKey, + "accessKeySecret", accessKeySecret, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accessKey; + + private String accessKeySecret; + + private Optional startDate = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * Gong Access Key + */ + public Builder accessKey(String accessKey) { + Utils.checkNotNull(accessKey, "accessKey"); + this.accessKey = accessKey; + return this; + } + + /** + * Gong Access Key Secret + */ + public Builder accessKeySecret(String accessKeySecret) { + Utils.checkNotNull(accessKeySecret, "accessKeySecret"); + this.accessKeySecret = accessKeySecret; + return this; + } + + /** + * The date from which to list calls, in the ISO-8601 format; if not specified, the calls start with the earliest recorded call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * The date from which to list calls, in the ISO-8601 format; if not specified, the calls start with the earliest recorded call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceGong build() { + return new SourceGong( + accessKey, + accessKeySecret, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"gong\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java index fdbbee393..57076d8c6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAds.java @@ -1,25 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAds { /** @@ -27,35 +30,35 @@ public class SourceGoogleAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("conversion_window_days") - private Optional conversionWindowDays; + private Optional conversionWindowDays; @JsonProperty("credentials") private GoogleCredentials credentials; @JsonInclude(Include.NON_ABSENT) @JsonProperty("custom_queries_array") - private Optional> customQueriesArray; + private Optional> customQueriesArray; /** * Comma-separated list of (client) customer IDs. Each customer ID must be specified as a 10-digit number without dashes. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("customer_id") - private Optional customerId; + private Optional customerId; /** * A list of customer statuses to filter on. For detailed info about what each status mean refer to Google Ads <a href="https://developers.google.com/google-ads/api/reference/rpc/v15/CustomerStatusEnum.CustomerStatus">documentation</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("customer_status_filter") - private Optional> customerStatusFilter; + private Optional> customerStatusFilter; /** * UTC date in the format YYYY-MM-DD. Any data after this date will not be replicated. (Default value of today is used if not set) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; @JsonProperty("sourceType") private SourceGoogleAdsGoogleAds sourceType; @@ -65,17 +68,17 @@ public class SourceGoogleAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceGoogleAds( - @JsonProperty("conversion_window_days") Optional conversionWindowDays, + @JsonProperty("conversion_window_days") Optional conversionWindowDays, @JsonProperty("credentials") GoogleCredentials credentials, - @JsonProperty("custom_queries_array") Optional> customQueriesArray, - @JsonProperty("customer_id") Optional customerId, - @JsonProperty("customer_status_filter") Optional> customerStatusFilter, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("custom_queries_array") Optional> customQueriesArray, + @JsonProperty("customer_id") Optional customerId, + @JsonProperty("customer_status_filter") Optional> customerStatusFilter, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(conversionWindowDays, "conversionWindowDays"); Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(customQueriesArray, "customQueriesArray"); @@ -101,10 +104,9 @@ public SourceGoogleAds( /** * A conversion window is the number of days after an ad interaction (such as an ad click or video view) during which a conversion, such as a purchase, is recorded in Google Ads. For more information, see <a href="https://support.google.com/google-ads/answer/3123169?hl=en">Google's documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional conversionWindowDays() { - return (Optional) conversionWindowDays; + return conversionWindowDays; } @JsonIgnore @@ -114,17 +116,16 @@ public GoogleCredentials credentials() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional> customQueriesArray() { - return (Optional>) customQueriesArray; + public Optional> customQueriesArray() { + return (Optional>) customQueriesArray; } /** * Comma-separated list of (client) customer IDs. Each customer ID must be specified as a 10-digit number without dashes. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional customerId() { - return (Optional) customerId; + return customerId; } /** @@ -132,17 +133,16 @@ public Optional customerId() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> customerStatusFilter() { - return (Optional>) customerStatusFilter; + public Optional> customerStatusFilter() { + return (Optional>) customerStatusFilter; } /** * UTC date in the format YYYY-MM-DD. Any data after this date will not be replicated. (Default value of today is used if not set) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } @JsonIgnore @@ -153,10 +153,9 @@ public SourceGoogleAdsGoogleAds sourceType() { /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. (Default value of two years ago is used if not set) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -175,7 +174,7 @@ public SourceGoogleAds withConversionWindowDays(long conversionWindowDays) { /** * A conversion window is the number of days after an ad interaction (such as an ad click or video view) during which a conversion, such as a purchase, is recorded in Google Ads. For more information, see <a href="https://support.google.com/google-ads/answer/3123169?hl=en">Google's documentation</a>. */ - public SourceGoogleAds withConversionWindowDays(Optional conversionWindowDays) { + public SourceGoogleAds withConversionWindowDays(Optional conversionWindowDays) { Utils.checkNotNull(conversionWindowDays, "conversionWindowDays"); this.conversionWindowDays = conversionWindowDays; return this; @@ -187,13 +186,13 @@ public SourceGoogleAds withCredentials(GoogleCredentials credentials) { return this; } - public SourceGoogleAds withCustomQueriesArray(java.util.List customQueriesArray) { + public SourceGoogleAds withCustomQueriesArray(List customQueriesArray) { Utils.checkNotNull(customQueriesArray, "customQueriesArray"); this.customQueriesArray = Optional.ofNullable(customQueriesArray); return this; } - public SourceGoogleAds withCustomQueriesArray(Optional> customQueriesArray) { + public SourceGoogleAds withCustomQueriesArray(Optional> customQueriesArray) { Utils.checkNotNull(customQueriesArray, "customQueriesArray"); this.customQueriesArray = customQueriesArray; return this; @@ -211,7 +210,7 @@ public SourceGoogleAds withCustomerId(String customerId) { /** * Comma-separated list of (client) customer IDs. Each customer ID must be specified as a 10-digit number without dashes. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public SourceGoogleAds withCustomerId(Optional customerId) { + public SourceGoogleAds withCustomerId(Optional customerId) { Utils.checkNotNull(customerId, "customerId"); this.customerId = customerId; return this; @@ -220,7 +219,7 @@ public SourceGoogleAds withCustomerId(Optional customerId) { /** * A list of customer statuses to filter on. For detailed info about what each status mean refer to Google Ads <a href="https://developers.google.com/google-ads/api/reference/rpc/v15/CustomerStatusEnum.CustomerStatus">documentation</a>. */ - public SourceGoogleAds withCustomerStatusFilter(java.util.List customerStatusFilter) { + public SourceGoogleAds withCustomerStatusFilter(List customerStatusFilter) { Utils.checkNotNull(customerStatusFilter, "customerStatusFilter"); this.customerStatusFilter = Optional.ofNullable(customerStatusFilter); return this; @@ -229,7 +228,7 @@ public SourceGoogleAds withCustomerStatusFilter(java.util.List c /** * A list of customer statuses to filter on. For detailed info about what each status mean refer to Google Ads <a href="https://developers.google.com/google-ads/api/reference/rpc/v15/CustomerStatusEnum.CustomerStatus">documentation</a>. */ - public SourceGoogleAds withCustomerStatusFilter(Optional> customerStatusFilter) { + public SourceGoogleAds withCustomerStatusFilter(Optional> customerStatusFilter) { Utils.checkNotNull(customerStatusFilter, "customerStatusFilter"); this.customerStatusFilter = customerStatusFilter; return this; @@ -247,7 +246,7 @@ public SourceGoogleAds withEndDate(LocalDate endDate) { /** * UTC date in the format YYYY-MM-DD. Any data after this date will not be replicated. (Default value of today is used if not set) */ - public SourceGoogleAds withEndDate(Optional endDate) { + public SourceGoogleAds withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -265,7 +264,7 @@ public SourceGoogleAds withStartDate(LocalDate startDate) { /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. (Default value of two years ago is used if not set) */ - public SourceGoogleAds withStartDate(Optional startDate) { + public SourceGoogleAds withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -281,19 +280,19 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAds other = (SourceGoogleAds) o; return - java.util.Objects.deepEquals(this.conversionWindowDays, other.conversionWindowDays) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.customQueriesArray, other.customQueriesArray) && - java.util.Objects.deepEquals(this.customerId, other.customerId) && - java.util.Objects.deepEquals(this.customerStatusFilter, other.customerStatusFilter) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.conversionWindowDays, other.conversionWindowDays) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.customQueriesArray, other.customQueriesArray) && + Objects.deepEquals(this.customerId, other.customerId) && + Objects.deepEquals(this.customerStatusFilter, other.customerStatusFilter) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( conversionWindowDays, credentials, customQueriesArray, @@ -319,19 +318,19 @@ public String toString() { public final static class Builder { - private Optional conversionWindowDays; + private Optional conversionWindowDays; private GoogleCredentials credentials; - private Optional> customQueriesArray = Optional.empty(); + private Optional> customQueriesArray = Optional.empty(); - private Optional customerId = Optional.empty(); + private Optional customerId = Optional.empty(); - private Optional> customerStatusFilter = Optional.empty(); + private Optional> customerStatusFilter = Optional.empty(); - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -349,7 +348,7 @@ public Builder conversionWindowDays(long conversionWindowDays) { /** * A conversion window is the number of days after an ad interaction (such as an ad click or video view) during which a conversion, such as a purchase, is recorded in Google Ads. For more information, see <a href="https://support.google.com/google-ads/answer/3123169?hl=en">Google's documentation</a>. */ - public Builder conversionWindowDays(Optional conversionWindowDays) { + public Builder conversionWindowDays(Optional conversionWindowDays) { Utils.checkNotNull(conversionWindowDays, "conversionWindowDays"); this.conversionWindowDays = conversionWindowDays; return this; @@ -361,13 +360,13 @@ public Builder credentials(GoogleCredentials credentials) { return this; } - public Builder customQueriesArray(java.util.List customQueriesArray) { + public Builder customQueriesArray(List customQueriesArray) { Utils.checkNotNull(customQueriesArray, "customQueriesArray"); this.customQueriesArray = Optional.ofNullable(customQueriesArray); return this; } - public Builder customQueriesArray(Optional> customQueriesArray) { + public Builder customQueriesArray(Optional> customQueriesArray) { Utils.checkNotNull(customQueriesArray, "customQueriesArray"); this.customQueriesArray = customQueriesArray; return this; @@ -385,7 +384,7 @@ public Builder customerId(String customerId) { /** * Comma-separated list of (client) customer IDs. Each customer ID must be specified as a 10-digit number without dashes. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>. */ - public Builder customerId(Optional customerId) { + public Builder customerId(Optional customerId) { Utils.checkNotNull(customerId, "customerId"); this.customerId = customerId; return this; @@ -394,7 +393,7 @@ public Builder customerId(Optional customerId) { /** * A list of customer statuses to filter on. For detailed info about what each status mean refer to Google Ads <a href="https://developers.google.com/google-ads/api/reference/rpc/v15/CustomerStatusEnum.CustomerStatus">documentation</a>. */ - public Builder customerStatusFilter(java.util.List customerStatusFilter) { + public Builder customerStatusFilter(List customerStatusFilter) { Utils.checkNotNull(customerStatusFilter, "customerStatusFilter"); this.customerStatusFilter = Optional.ofNullable(customerStatusFilter); return this; @@ -403,7 +402,7 @@ public Builder customerStatusFilter(java.util.List customerStatu /** * A list of customer statuses to filter on. For detailed info about what each status mean refer to Google Ads <a href="https://developers.google.com/google-ads/api/reference/rpc/v15/CustomerStatusEnum.CustomerStatus">documentation</a>. */ - public Builder customerStatusFilter(Optional> customerStatusFilter) { + public Builder customerStatusFilter(Optional> customerStatusFilter) { Utils.checkNotNull(customerStatusFilter, "customerStatusFilter"); this.customerStatusFilter = customerStatusFilter; return this; @@ -421,7 +420,7 @@ public Builder endDate(LocalDate endDate) { /** * UTC date in the format YYYY-MM-DD. Any data after this date will not be replicated. (Default value of today is used if not set) */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -439,7 +438,7 @@ public Builder startDate(LocalDate startDate) { /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. (Default value of two years ago is used if not set) */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -448,8 +447,7 @@ public Builder startDate(Optional startDate) { public SourceGoogleAds build() { if (conversionWindowDays == null) { conversionWindowDays = _SINGLETON_VALUE_ConversionWindowDays.value(); - } - return new SourceGoogleAds( + } return new SourceGoogleAds( conversionWindowDays, credentials, customQueriesArray, @@ -459,11 +457,11 @@ public SourceGoogleAds build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_ConversionWindowDays = + private static final LazySingletonValue> _SINGLETON_VALUE_ConversionWindowDays = new LazySingletonValue<>( "conversion_window_days", "14", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAds.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAds.java index 31778d78f..187f43c0a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAds.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAdsGoogleAds.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAdsGoogleAds { GOOGLE_ADS("google-ads"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java index 58f809b02..21b669a06 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApi.java @@ -1,25 +1,29 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApi { /** @@ -27,7 +31,7 @@ public class SourceGoogleAnalyticsDataApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("convert_conversions_event") - private Optional convertConversionsEvent; + private Optional convertConversionsEvent; /** * Credentials for the service @@ -41,34 +45,34 @@ public class SourceGoogleAnalyticsDataApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("custom_reports_array") - private Optional> customReportsArray; + private Optional> customReportsArray; /** * The start date from which to replicate report data in the format YYYY-MM-DD. Data generated before this date will not be included in the report. Not applied to custom Cohort reports. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("date_ranges_start_date") - private Optional dateRangesStartDate; + private Optional dateRangesStartDate; /** * If false, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter. More information is available in <a href="https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/runReport#request-body">the documentation</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("keep_empty_rows") - private Optional keepEmptyRows; + private Optional keepEmptyRows; /** * Since attribution changes after the event date, and Google Analytics has a data processing latency, we should specify how many days in the past we should refresh the data in every run. So if you set it at 5 days, in every sync it will fetch the last bookmark date minus 5 days. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window") - private Optional lookbackWindow; + private Optional lookbackWindow; /** * A list of your Property IDs. The Property ID is a unique number assigned to each property in Google Analytics, found in your GA4 property URL. This ID allows the connector to track the specific events associated with your property. Refer to the <a href='https://developers.google.com/analytics/devguides/reporting/data/v1/property-id#what_is_my_property_id'>Google Analytics documentation</a> to locate your property ID. */ @JsonProperty("property_ids") - private java.util.List propertyIds; + private List propertyIds; @JsonProperty("sourceType") private SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi sourceType; @@ -78,18 +82,18 @@ public class SourceGoogleAnalyticsDataApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("window_in_days") - private Optional windowInDays; + private Optional windowInDays; @JsonCreator public SourceGoogleAnalyticsDataApi( - @JsonProperty("convert_conversions_event") Optional convertConversionsEvent, + @JsonProperty("convert_conversions_event") Optional convertConversionsEvent, @JsonProperty("credentials") Optional credentials, - @JsonProperty("custom_reports_array") Optional> customReportsArray, - @JsonProperty("date_ranges_start_date") Optional dateRangesStartDate, - @JsonProperty("keep_empty_rows") Optional keepEmptyRows, - @JsonProperty("lookback_window") Optional lookbackWindow, - @JsonProperty("property_ids") java.util.List propertyIds, - @JsonProperty("window_in_days") Optional windowInDays) { + @JsonProperty("custom_reports_array") Optional> customReportsArray, + @JsonProperty("date_ranges_start_date") Optional dateRangesStartDate, + @JsonProperty("keep_empty_rows") Optional keepEmptyRows, + @JsonProperty("lookback_window") Optional lookbackWindow, + @JsonProperty("property_ids") List propertyIds, + @JsonProperty("window_in_days") Optional windowInDays) { Utils.checkNotNull(convertConversionsEvent, "convertConversionsEvent"); Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(customReportsArray, "customReportsArray"); @@ -110,17 +114,16 @@ public SourceGoogleAnalyticsDataApi( } public SourceGoogleAnalyticsDataApi( - java.util.List propertyIds) { + List propertyIds) { this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), propertyIds, Optional.empty()); } /** * Enables conversion of `conversions:*` event metrics from integers to floats. This is beneficial for preventing data rounding when the API returns float values for any `conversions:*` fields. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional convertConversionsEvent() { - return (Optional) convertConversionsEvent; + return convertConversionsEvent; } /** @@ -137,42 +140,39 @@ public Optional credentials() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> customReportsArray() { - return (Optional>) customReportsArray; + public Optional> customReportsArray() { + return (Optional>) customReportsArray; } /** * The start date from which to replicate report data in the format YYYY-MM-DD. Data generated before this date will not be included in the report. Not applied to custom Cohort reports. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dateRangesStartDate() { - return (Optional) dateRangesStartDate; + return dateRangesStartDate; } /** * If false, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter. More information is available in <a href="https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/runReport#request-body">the documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional keepEmptyRows() { - return (Optional) keepEmptyRows; + return keepEmptyRows; } /** * Since attribution changes after the event date, and Google Analytics has a data processing latency, we should specify how many days in the past we should refresh the data in every run. So if you set it at 5 days, in every sync it will fetch the last bookmark date minus 5 days. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindow() { - return (Optional) lookbackWindow; + return lookbackWindow; } /** * A list of your Property IDs. The Property ID is a unique number assigned to each property in Google Analytics, found in your GA4 property URL. This ID allows the connector to track the specific events associated with your property. Refer to the <a href='https://developers.google.com/analytics/devguides/reporting/data/v1/property-id#what_is_my_property_id'>Google Analytics documentation</a> to locate your property ID. */ @JsonIgnore - public java.util.List propertyIds() { + public List propertyIds() { return propertyIds; } @@ -184,10 +184,9 @@ public SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi sourceType() { /** * The interval in days for each data request made to the Google Analytics API. A larger value speeds up data sync, but increases the chance of data sampling, which may result in inaccuracies. We recommend a value of 1 to minimize sampling, unless speed is an absolute priority over accuracy. Acceptable values range from 1 to 364. Does not apply to custom Cohort reports. More information is available in <a href="https://docs.airbyte.com/integrations/sources/google-analytics-data-api">the documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional windowInDays() { - return (Optional) windowInDays; + return windowInDays; } public final static Builder builder() { @@ -206,7 +205,7 @@ public SourceGoogleAnalyticsDataApi withConvertConversionsEvent(boolean convertC /** * Enables conversion of `conversions:*` event metrics from integers to floats. This is beneficial for preventing data rounding when the API returns float values for any `conversions:*` fields. */ - public SourceGoogleAnalyticsDataApi withConvertConversionsEvent(Optional convertConversionsEvent) { + public SourceGoogleAnalyticsDataApi withConvertConversionsEvent(Optional convertConversionsEvent) { Utils.checkNotNull(convertConversionsEvent, "convertConversionsEvent"); this.convertConversionsEvent = convertConversionsEvent; return this; @@ -233,7 +232,7 @@ public SourceGoogleAnalyticsDataApi withCredentials(Optional customReportsArray) { + public SourceGoogleAnalyticsDataApi withCustomReportsArray(List customReportsArray) { Utils.checkNotNull(customReportsArray, "customReportsArray"); this.customReportsArray = Optional.ofNullable(customReportsArray); return this; @@ -242,7 +241,7 @@ public SourceGoogleAnalyticsDataApi withCustomReportsArray(java.util.List> customReportsArray) { + public SourceGoogleAnalyticsDataApi withCustomReportsArray(Optional> customReportsArray) { Utils.checkNotNull(customReportsArray, "customReportsArray"); this.customReportsArray = customReportsArray; return this; @@ -260,7 +259,7 @@ public SourceGoogleAnalyticsDataApi withDateRangesStartDate(LocalDate dateRanges /** * The start date from which to replicate report data in the format YYYY-MM-DD. Data generated before this date will not be included in the report. Not applied to custom Cohort reports. */ - public SourceGoogleAnalyticsDataApi withDateRangesStartDate(Optional dateRangesStartDate) { + public SourceGoogleAnalyticsDataApi withDateRangesStartDate(Optional dateRangesStartDate) { Utils.checkNotNull(dateRangesStartDate, "dateRangesStartDate"); this.dateRangesStartDate = dateRangesStartDate; return this; @@ -278,7 +277,7 @@ public SourceGoogleAnalyticsDataApi withKeepEmptyRows(boolean keepEmptyRows) { /** * If false, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter. More information is available in <a href="https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/runReport#request-body">the documentation</a>. */ - public SourceGoogleAnalyticsDataApi withKeepEmptyRows(Optional keepEmptyRows) { + public SourceGoogleAnalyticsDataApi withKeepEmptyRows(Optional keepEmptyRows) { Utils.checkNotNull(keepEmptyRows, "keepEmptyRows"); this.keepEmptyRows = keepEmptyRows; return this; @@ -296,7 +295,7 @@ public SourceGoogleAnalyticsDataApi withLookbackWindow(long lookbackWindow) { /** * Since attribution changes after the event date, and Google Analytics has a data processing latency, we should specify how many days in the past we should refresh the data in every run. So if you set it at 5 days, in every sync it will fetch the last bookmark date minus 5 days. */ - public SourceGoogleAnalyticsDataApi withLookbackWindow(Optional lookbackWindow) { + public SourceGoogleAnalyticsDataApi withLookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -305,7 +304,7 @@ public SourceGoogleAnalyticsDataApi withLookbackWindow(Optional /** * A list of your Property IDs. The Property ID is a unique number assigned to each property in Google Analytics, found in your GA4 property URL. This ID allows the connector to track the specific events associated with your property. Refer to the <a href='https://developers.google.com/analytics/devguides/reporting/data/v1/property-id#what_is_my_property_id'>Google Analytics documentation</a> to locate your property ID. */ - public SourceGoogleAnalyticsDataApi withPropertyIds(java.util.List propertyIds) { + public SourceGoogleAnalyticsDataApi withPropertyIds(List propertyIds) { Utils.checkNotNull(propertyIds, "propertyIds"); this.propertyIds = propertyIds; return this; @@ -323,7 +322,7 @@ public SourceGoogleAnalyticsDataApi withWindowInDays(long windowInDays) { /** * The interval in days for each data request made to the Google Analytics API. A larger value speeds up data sync, but increases the chance of data sampling, which may result in inaccuracies. We recommend a value of 1 to minimize sampling, unless speed is an absolute priority over accuracy. Acceptable values range from 1 to 364. Does not apply to custom Cohort reports. More information is available in <a href="https://docs.airbyte.com/integrations/sources/google-analytics-data-api">the documentation</a>. */ - public SourceGoogleAnalyticsDataApi withWindowInDays(Optional windowInDays) { + public SourceGoogleAnalyticsDataApi withWindowInDays(Optional windowInDays) { Utils.checkNotNull(windowInDays, "windowInDays"); this.windowInDays = windowInDays; return this; @@ -339,20 +338,20 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApi other = (SourceGoogleAnalyticsDataApi) o; return - java.util.Objects.deepEquals(this.convertConversionsEvent, other.convertConversionsEvent) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.customReportsArray, other.customReportsArray) && - java.util.Objects.deepEquals(this.dateRangesStartDate, other.dateRangesStartDate) && - java.util.Objects.deepEquals(this.keepEmptyRows, other.keepEmptyRows) && - java.util.Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && - java.util.Objects.deepEquals(this.propertyIds, other.propertyIds) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.windowInDays, other.windowInDays); + Objects.deepEquals(this.convertConversionsEvent, other.convertConversionsEvent) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.customReportsArray, other.customReportsArray) && + Objects.deepEquals(this.dateRangesStartDate, other.dateRangesStartDate) && + Objects.deepEquals(this.keepEmptyRows, other.keepEmptyRows) && + Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && + Objects.deepEquals(this.propertyIds, other.propertyIds) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.windowInDays, other.windowInDays); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( convertConversionsEvent, credentials, customReportsArray, @@ -380,21 +379,21 @@ public String toString() { public final static class Builder { - private Optional convertConversionsEvent; + private Optional convertConversionsEvent; private Optional credentials = Optional.empty(); - private Optional> customReportsArray = Optional.empty(); + private Optional> customReportsArray = Optional.empty(); - private Optional dateRangesStartDate = Optional.empty(); + private Optional dateRangesStartDate = Optional.empty(); - private Optional keepEmptyRows; + private Optional keepEmptyRows; - private Optional lookbackWindow; + private Optional lookbackWindow; - private java.util.List propertyIds; + private List propertyIds; - private Optional windowInDays; + private Optional windowInDays; private Builder() { // force use of static builder() method @@ -412,7 +411,7 @@ public Builder convertConversionsEvent(boolean convertConversionsEvent) { /** * Enables conversion of `conversions:*` event metrics from integers to floats. This is beneficial for preventing data rounding when the API returns float values for any `conversions:*` fields. */ - public Builder convertConversionsEvent(Optional convertConversionsEvent) { + public Builder convertConversionsEvent(Optional convertConversionsEvent) { Utils.checkNotNull(convertConversionsEvent, "convertConversionsEvent"); this.convertConversionsEvent = convertConversionsEvent; return this; @@ -439,7 +438,7 @@ public Builder credentials(Optional customReportsArray) { + public Builder customReportsArray(List customReportsArray) { Utils.checkNotNull(customReportsArray, "customReportsArray"); this.customReportsArray = Optional.ofNullable(customReportsArray); return this; @@ -448,7 +447,7 @@ public Builder customReportsArray(java.util.List> customReportsArray) { + public Builder customReportsArray(Optional> customReportsArray) { Utils.checkNotNull(customReportsArray, "customReportsArray"); this.customReportsArray = customReportsArray; return this; @@ -466,7 +465,7 @@ public Builder dateRangesStartDate(LocalDate dateRangesStartDate) { /** * The start date from which to replicate report data in the format YYYY-MM-DD. Data generated before this date will not be included in the report. Not applied to custom Cohort reports. */ - public Builder dateRangesStartDate(Optional dateRangesStartDate) { + public Builder dateRangesStartDate(Optional dateRangesStartDate) { Utils.checkNotNull(dateRangesStartDate, "dateRangesStartDate"); this.dateRangesStartDate = dateRangesStartDate; return this; @@ -484,7 +483,7 @@ public Builder keepEmptyRows(boolean keepEmptyRows) { /** * If false, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter. More information is available in <a href="https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/runReport#request-body">the documentation</a>. */ - public Builder keepEmptyRows(Optional keepEmptyRows) { + public Builder keepEmptyRows(Optional keepEmptyRows) { Utils.checkNotNull(keepEmptyRows, "keepEmptyRows"); this.keepEmptyRows = keepEmptyRows; return this; @@ -502,7 +501,7 @@ public Builder lookbackWindow(long lookbackWindow) { /** * Since attribution changes after the event date, and Google Analytics has a data processing latency, we should specify how many days in the past we should refresh the data in every run. So if you set it at 5 days, in every sync it will fetch the last bookmark date minus 5 days. */ - public Builder lookbackWindow(Optional lookbackWindow) { + public Builder lookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -511,7 +510,7 @@ public Builder lookbackWindow(Optional lookbackWindow) { /** * A list of your Property IDs. The Property ID is a unique number assigned to each property in Google Analytics, found in your GA4 property URL. This ID allows the connector to track the specific events associated with your property. Refer to the <a href='https://developers.google.com/analytics/devguides/reporting/data/v1/property-id#what_is_my_property_id'>Google Analytics documentation</a> to locate your property ID. */ - public Builder propertyIds(java.util.List propertyIds) { + public Builder propertyIds(List propertyIds) { Utils.checkNotNull(propertyIds, "propertyIds"); this.propertyIds = propertyIds; return this; @@ -529,7 +528,7 @@ public Builder windowInDays(long windowInDays) { /** * The interval in days for each data request made to the Google Analytics API. A larger value speeds up data sync, but increases the chance of data sampling, which may result in inaccuracies. We recommend a value of 1 to minimize sampling, unless speed is an absolute priority over accuracy. Acceptable values range from 1 to 364. Does not apply to custom Cohort reports. More information is available in <a href="https://docs.airbyte.com/integrations/sources/google-analytics-data-api">the documentation</a>. */ - public Builder windowInDays(Optional windowInDays) { + public Builder windowInDays(Optional windowInDays) { Utils.checkNotNull(windowInDays, "windowInDays"); this.windowInDays = windowInDays; return this; @@ -547,8 +546,7 @@ public SourceGoogleAnalyticsDataApi build() { } if (windowInDays == null) { windowInDays = _SINGLETON_VALUE_WindowInDays.value(); - } - return new SourceGoogleAnalyticsDataApi( + } return new SourceGoogleAnalyticsDataApi( convertConversionsEvent, credentials, customReportsArray, @@ -559,23 +557,23 @@ public SourceGoogleAnalyticsDataApi build() { windowInDays); } - private static final LazySingletonValue> _SINGLETON_VALUE_ConvertConversionsEvent = + private static final LazySingletonValue> _SINGLETON_VALUE_ConvertConversionsEvent = new LazySingletonValue<>( "convert_conversions_event", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_KeepEmptyRows = + private static final LazySingletonValue> _SINGLETON_VALUE_KeepEmptyRows = new LazySingletonValue<>( "keep_empty_rows", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = new LazySingletonValue<>( "lookback_window", "2", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( @@ -583,11 +581,11 @@ public SourceGoogleAnalyticsDataApi build() { "\"google-analytics-data-api\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_WindowInDays = + private static final LazySingletonValue> _SINGLETON_VALUE_WindowInDays = new LazySingletonValue<>( "window_in_days", "1", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAndGroup.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAndGroup.java index d39d8f0e1..6afdd3c62 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAndGroup.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAndGroup.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + /** * SourceGoogleAnalyticsDataApiAndGroup - The FilterExpressions in andGroup have an AND relationship. */ @@ -22,21 +23,21 @@ public class SourceGoogleAnalyticsDataApiAndGroup { @JsonProperty("expressions") - private java.util.List expressions; + private List expressions; @JsonProperty("filter_type") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType filterType; @JsonCreator public SourceGoogleAnalyticsDataApiAndGroup( - @JsonProperty("expressions") java.util.List expressions) { + @JsonProperty("expressions") List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; this.filterType = Builder._SINGLETON_VALUE_FilterType.value(); } @JsonIgnore - public java.util.List expressions() { + public List expressions() { return expressions; } @@ -49,7 +50,7 @@ public final static Builder builder() { return new Builder(); } - public SourceGoogleAnalyticsDataApiAndGroup withExpressions(java.util.List expressions) { + public SourceGoogleAnalyticsDataApiAndGroup withExpressions(List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; return this; @@ -65,13 +66,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiAndGroup other = (SourceGoogleAnalyticsDataApiAndGroup) o; return - java.util.Objects.deepEquals(this.expressions, other.expressions) && - java.util.Objects.deepEquals(this.filterType, other.filterType); + Objects.deepEquals(this.expressions, other.expressions) && + Objects.deepEquals(this.filterType, other.filterType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( expressions, filterType); } @@ -85,13 +86,13 @@ public String toString() { public final static class Builder { - private java.util.List expressions; + private List expressions; private Builder() { // force use of static builder() method } - public Builder expressions(java.util.List expressions) { + public Builder expressions(List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthType.java index 3e1122cce..c9e2da88d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaGoogleOauth.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.java similarity index 77% rename from src/main/java/com/airbyte/api/models/shared/AuthenticateViaGoogleOauth.java rename to src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.java index 11743a0a3..a1bf76e99 100644 --- a/src/main/java/com/airbyte/api/models/shared/AuthenticateViaGoogleOauth.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.java @@ -1,32 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; -public class AuthenticateViaGoogleOauth { + +public class SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth { /** * Access Token for making authenticated requests. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_token") - private Optional accessToken; + private Optional accessToken; @JsonInclude(Include.NON_ABSENT) @JsonProperty("auth_type") @@ -51,8 +52,8 @@ public class AuthenticateViaGoogleOauth { private String refreshToken; @JsonCreator - public AuthenticateViaGoogleOauth( - @JsonProperty("access_token") Optional accessToken, + public SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth( + @JsonProperty("access_token") Optional accessToken, @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, @JsonProperty("refresh_token") String refreshToken) { @@ -67,7 +68,7 @@ public AuthenticateViaGoogleOauth( this.refreshToken = refreshToken; } - public AuthenticateViaGoogleOauth( + public SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth( String clientId, String clientSecret, String refreshToken) { @@ -77,10 +78,9 @@ public AuthenticateViaGoogleOauth( /** * Access Token for making authenticated requests. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessToken() { - return (Optional) accessToken; + return accessToken; } @SuppressWarnings("unchecked") @@ -120,7 +120,7 @@ public final static Builder builder() { /** * Access Token for making authenticated requests. */ - public AuthenticateViaGoogleOauth withAccessToken(String accessToken) { + public SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth withAccessToken(String accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = Optional.ofNullable(accessToken); return this; @@ -129,7 +129,7 @@ public AuthenticateViaGoogleOauth withAccessToken(String accessToken) { /** * Access Token for making authenticated requests. */ - public AuthenticateViaGoogleOauth withAccessToken(Optional accessToken) { + public SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth withAccessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -138,7 +138,7 @@ public AuthenticateViaGoogleOauth withAccessToken(Optional acc /** * The Client ID of your Google Analytics developer application. */ - public AuthenticateViaGoogleOauth withClientId(String clientId) { + public SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth withClientId(String clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -147,7 +147,7 @@ public AuthenticateViaGoogleOauth withClientId(String clientId) { /** * The Client Secret of your Google Analytics developer application. */ - public AuthenticateViaGoogleOauth withClientSecret(String clientSecret) { + public SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth withClientSecret(String clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -156,7 +156,7 @@ public AuthenticateViaGoogleOauth withClientSecret(String clientSecret) { /** * The token for obtaining a new access token. */ - public AuthenticateViaGoogleOauth withRefreshToken(String refreshToken) { + public SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth withRefreshToken(String refreshToken) { Utils.checkNotNull(refreshToken, "refreshToken"); this.refreshToken = refreshToken; return this; @@ -170,18 +170,18 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - AuthenticateViaGoogleOauth other = (AuthenticateViaGoogleOauth) o; + SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth other = (SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, @@ -191,7 +191,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(AuthenticateViaGoogleOauth.class, + return Utils.toString(SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth.class, "accessToken", accessToken, "authType", authType, "clientId", clientId, @@ -201,7 +201,7 @@ public String toString() { public final static class Builder { - private Optional accessToken = Optional.empty(); + private Optional accessToken = Optional.empty(); private String clientId; @@ -225,7 +225,7 @@ public Builder accessToken(String accessToken) { /** * Access Token for making authenticated requests. */ - public Builder accessToken(Optional accessToken) { + public Builder accessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -258,8 +258,8 @@ public Builder refreshToken(String refreshToken) { return this; } - public AuthenticateViaGoogleOauth build() { - return new AuthenticateViaGoogleOauth( + public SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth build() { + return new SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth( accessToken, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.java index 199a6093a..50b54fa52 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiBetweenFilter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiBetweenFilter { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiBetweenFilter other = (SourceGoogleAnalyticsDataApiBetweenFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.fromValue, other.fromValue) && - java.util.Objects.deepEquals(this.toValue, other.toValue); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.fromValue, other.fromValue) && + Objects.deepEquals(this.toValue, other.toValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, fromValue, toValue); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentials.java index a96716eca..a738f635a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCredentials.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGoogleAnalyticsDataApiCredentials - Credentials for the service @@ -28,16 +25,16 @@ @JsonDeserialize(using = SourceGoogleAnalyticsDataApiCredentials._Deserializer.class) public class SourceGoogleAnalyticsDataApiCredentials { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiCredentials(TypedObject value) { this.value = value; } - public static SourceGoogleAnalyticsDataApiCredentials of(AuthenticateViaGoogleOauth value) { + public static SourceGoogleAnalyticsDataApiCredentials of(SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth value) { Utils.checkNotNull(value, "value"); - return new SourceGoogleAnalyticsDataApiCredentials(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + return new SourceGoogleAnalyticsDataApiCredentials(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } public static SourceGoogleAnalyticsDataApiCredentials of(SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication value) { @@ -48,8 +45,8 @@ public static SourceGoogleAnalyticsDataApiCredentials of(SourceGoogleAnalyticsDa /** * Returns an instance of one of these types: *

      - *
    • {@code AuthenticateViaGoogleOauth}
    • - *
    • {@code SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiAuthenticateViaGoogleOauth}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiCredentials other = (SourceGoogleAnalyticsDataApiCredentials) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiCredentials.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiCredentials.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.java index 8656d4a42..761d75bbe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiCustomReportConfig.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiCustomReportConfig { /** @@ -38,7 +39,7 @@ public class SourceGoogleAnalyticsDataApiCustomReportConfig { * A list of dimensions. */ @JsonProperty("dimensions") - private java.util.List dimensions; + private List dimensions; /** * Metrics filter @@ -51,7 +52,7 @@ public class SourceGoogleAnalyticsDataApiCustomReportConfig { * A list of metrics. */ @JsonProperty("metrics") - private java.util.List metrics; + private List metrics; /** * The name of the custom report, this name would be used as stream name. @@ -63,9 +64,9 @@ public class SourceGoogleAnalyticsDataApiCustomReportConfig { public SourceGoogleAnalyticsDataApiCustomReportConfig( @JsonProperty("cohortSpec") Optional cohortSpec, @JsonProperty("dimensionFilter") Optional dimensionFilter, - @JsonProperty("dimensions") java.util.List dimensions, + @JsonProperty("dimensions") List dimensions, @JsonProperty("metricFilter") Optional metricFilter, - @JsonProperty("metrics") java.util.List metrics, + @JsonProperty("metrics") List metrics, @JsonProperty("name") String name) { Utils.checkNotNull(cohortSpec, "cohortSpec"); Utils.checkNotNull(dimensionFilter, "dimensionFilter"); @@ -82,8 +83,8 @@ public SourceGoogleAnalyticsDataApiCustomReportConfig( } public SourceGoogleAnalyticsDataApiCustomReportConfig( - java.util.List dimensions, - java.util.List metrics, + List dimensions, + List metrics, String name) { this(Optional.empty(), Optional.empty(), dimensions, Optional.empty(), metrics, name); } @@ -110,7 +111,7 @@ public Optional dimensionFilter() { * A list of dimensions. */ @JsonIgnore - public java.util.List dimensions() { + public List dimensions() { return dimensions; } @@ -127,7 +128,7 @@ public Optional metricFilter() { * A list of metrics. */ @JsonIgnore - public java.util.List metrics() { + public List metrics() { return metrics; } @@ -182,7 +183,7 @@ public SourceGoogleAnalyticsDataApiCustomReportConfig withDimensionFilter(Option /** * A list of dimensions. */ - public SourceGoogleAnalyticsDataApiCustomReportConfig withDimensions(java.util.List dimensions) { + public SourceGoogleAnalyticsDataApiCustomReportConfig withDimensions(List dimensions) { Utils.checkNotNull(dimensions, "dimensions"); this.dimensions = dimensions; return this; @@ -209,7 +210,7 @@ public SourceGoogleAnalyticsDataApiCustomReportConfig withMetricFilter(Optional< /** * A list of metrics. */ - public SourceGoogleAnalyticsDataApiCustomReportConfig withMetrics(java.util.List metrics) { + public SourceGoogleAnalyticsDataApiCustomReportConfig withMetrics(List metrics) { Utils.checkNotNull(metrics, "metrics"); this.metrics = metrics; return this; @@ -234,17 +235,17 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiCustomReportConfig other = (SourceGoogleAnalyticsDataApiCustomReportConfig) o; return - java.util.Objects.deepEquals(this.cohortSpec, other.cohortSpec) && - java.util.Objects.deepEquals(this.dimensionFilter, other.dimensionFilter) && - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.metricFilter, other.metricFilter) && - java.util.Objects.deepEquals(this.metrics, other.metrics) && - java.util.Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.cohortSpec, other.cohortSpec) && + Objects.deepEquals(this.dimensionFilter, other.dimensionFilter) && + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.metricFilter, other.metricFilter) && + Objects.deepEquals(this.metrics, other.metrics) && + Objects.deepEquals(this.name, other.name); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cohortSpec, dimensionFilter, dimensions, @@ -270,11 +271,11 @@ public final static class Builder { private Optional dimensionFilter = Optional.empty(); - private java.util.List dimensions; + private List dimensions; private Optional metricFilter = Optional.empty(); - private java.util.List metrics; + private List metrics; private String name; @@ -321,7 +322,7 @@ public Builder dimensionFilter(Optional dimensionFil /** * A list of dimensions. */ - public Builder dimensions(java.util.List dimensions) { + public Builder dimensions(List dimensions) { Utils.checkNotNull(dimensions, "dimensions"); this.dimensions = dimensions; return this; @@ -348,7 +349,7 @@ public Builder metricFilter(Optional metricFilter) { /** * A list of metrics. */ - public Builder metrics(java.util.List metrics) { + public Builder metrics(List metrics) { Utils.checkNotNull(metrics, "metrics"); this.metrics = metrics; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDisabled.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDisabled.java index 106a76a83..f25cc8d2d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDisabled.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDisabled.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiDisabled { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiDisabled other = (SourceGoogleAnalyticsDataApiDisabled) o; return - java.util.Objects.deepEquals(this.enabled, other.enabled); + Objects.deepEquals(this.enabled, other.enabled); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( enabled); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.java index c713719a4..08b405755 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiDoubleValue other = (SourceGoogleAnalyticsDataApiDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiEnabled.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiEnabled.java index a0bc7a2d1..832a6b2b8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiEnabled.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiEnabled.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiEnabled { FALSE("false"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiExpression.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiExpression.java index 5075ccf8b..63525ebb4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiExpression.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiExpression.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiExpression { @@ -69,13 +68,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiExpression other = (SourceGoogleAnalyticsDataApiExpression) o; return - java.util.Objects.deepEquals(this.fieldName, other.fieldName) && - java.util.Objects.deepEquals(this.filter, other.filter); + Objects.deepEquals(this.fieldName, other.fieldName) && + Objects.deepEquals(this.filter, other.filter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fieldName, filter); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilter.java index 4ecfcd5a2..f80a4d126 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilter.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceGoogleAnalyticsDataApiFilter - A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions. */ @@ -87,14 +88,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiFilter other = (SourceGoogleAnalyticsDataApiFilter) o; return - java.util.Objects.deepEquals(this.fieldName, other.fieldName) && - java.util.Objects.deepEquals(this.filter, other.filter) && - java.util.Objects.deepEquals(this.filterType, other.filterType); + Objects.deepEquals(this.fieldName, other.fieldName) && + Objects.deepEquals(this.filter, other.filter) && + Objects.deepEquals(this.filterType, other.filterType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fieldName, filter, filterType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterName.java index 0535d44c7..88bc6dd6a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiFilterName { IN_LIST_FILTER("inListFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterType.java index 60222dc67..cf3e7cd6c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFilterType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiFilterType { OR_GROUP("orGroup"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFromValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFromValue.java index 7556a1a93..d8c58a60c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFromValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiFromValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiFromValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiFromValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiFromValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiFromValue of(SourceGoogleAnalyticsData /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiFromValue other = (SourceGoogleAnalyticsDataApiFromValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiFromValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiFromValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.java index 3dc6aa779..70848fbe7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi { GOOGLE_ANALYTICS_DATA_API("google-analytics-data-api"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGranularity.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGranularity.java index 350f6d72e..99e08ea58 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGranularity.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiGranularity.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceGoogleAnalyticsDataApiGranularity - The granularity used to interpret the startOffset and endOffset for the extended reporting date range for a cohort report. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInListFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInListFilter.java index d623900af..38c6cfe97 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInListFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInListFilter.java @@ -1,40 +1,42 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiInListFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName filterName; @JsonProperty("values") - private java.util.List values; + private List values; @JsonCreator public SourceGoogleAnalyticsDataApiInListFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("values") java.util.List values) { + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("values") List values) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(values, "values"); this.caseSensitive = caseSensitive; @@ -43,14 +45,13 @@ public SourceGoogleAnalyticsDataApiInListFilter( } public SourceGoogleAnalyticsDataApiInListFilter( - java.util.List values) { + List values) { this(Optional.empty(), values); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -59,7 +60,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } @JsonIgnore - public java.util.List values() { + public List values() { return values; } @@ -73,13 +74,13 @@ public SourceGoogleAnalyticsDataApiInListFilter withCaseSensitive(boolean caseSe return this; } - public SourceGoogleAnalyticsDataApiInListFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiInListFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiInListFilter withValues(java.util.List values) { + public SourceGoogleAnalyticsDataApiInListFilter withValues(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; @@ -95,14 +96,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiInListFilter other = (SourceGoogleAnalyticsDataApiInListFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.values, other.values); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.values, other.values); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, values); @@ -118,9 +119,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private java.util.List values; + private List values; private Builder() { // force use of static builder() method @@ -132,13 +133,13 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder values(java.util.List values) { + public Builder values(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInt64Value.java index b28989ffe..f3adf03a3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiInt64Value other = (SourceGoogleAnalyticsDataApiInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNotExpression.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNotExpression.java index b318ed917..6ed2099bc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNotExpression.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNotExpression.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceGoogleAnalyticsDataApiNotExpression - The FilterExpression is NOT of notExpression. */ @@ -82,13 +83,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiNotExpression other = (SourceGoogleAnalyticsDataApiNotExpression) o; return - java.util.Objects.deepEquals(this.expression, other.expression) && - java.util.Objects.deepEquals(this.filterType, other.filterType); + Objects.deepEquals(this.expression, other.expression) && + Objects.deepEquals(this.filterType, other.filterType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( expression, filterType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.java index 597d0185d..3ba9f7d88 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiNumericFilter.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiNumericFilter { @@ -22,14 +23,14 @@ public class SourceGoogleAnalyticsDataApiNumericFilter { private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName filterName; @JsonProperty("operation") - private java.util.List operation; + private List operation; @JsonProperty("value") private SourceGoogleAnalyticsDataApiValue value; @JsonCreator public SourceGoogleAnalyticsDataApiNumericFilter( - @JsonProperty("operation") java.util.List operation, + @JsonProperty("operation") List operation, @JsonProperty("value") SourceGoogleAnalyticsDataApiValue value) { Utils.checkNotNull(operation, "operation"); Utils.checkNotNull(value, "value"); @@ -44,7 +45,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } @JsonIgnore - public java.util.List operation() { + public List operation() { return operation; } @@ -57,7 +58,7 @@ public final static Builder builder() { return new Builder(); } - public SourceGoogleAnalyticsDataApiNumericFilter withOperation(java.util.List operation) { + public SourceGoogleAnalyticsDataApiNumericFilter withOperation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; @@ -79,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiNumericFilter other = (SourceGoogleAnalyticsDataApiNumericFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.operation, other.operation) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.operation, other.operation) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, operation, value); @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private java.util.List operation; + private List operation; private SourceGoogleAnalyticsDataApiValue value; @@ -110,7 +111,7 @@ private Builder() { // force use of static builder() method } - public Builder operation(java.util.List operation) { + public Builder operation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiOrGroup.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiOrGroup.java index 609d04d73..a51492492 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiOrGroup.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiOrGroup.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + /** * SourceGoogleAnalyticsDataApiOrGroup - The FilterExpressions in orGroup have an OR relationship. */ @@ -22,21 +23,21 @@ public class SourceGoogleAnalyticsDataApiOrGroup { @JsonProperty("expressions") - private java.util.List expressions; + private List expressions; @JsonProperty("filter_type") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType filterType; @JsonCreator public SourceGoogleAnalyticsDataApiOrGroup( - @JsonProperty("expressions") java.util.List expressions) { + @JsonProperty("expressions") List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; this.filterType = Builder._SINGLETON_VALUE_FilterType.value(); } @JsonIgnore - public java.util.List expressions() { + public List expressions() { return expressions; } @@ -49,7 +50,7 @@ public final static Builder builder() { return new Builder(); } - public SourceGoogleAnalyticsDataApiOrGroup withExpressions(java.util.List expressions) { + public SourceGoogleAnalyticsDataApiOrGroup withExpressions(List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; return this; @@ -65,13 +66,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiOrGroup other = (SourceGoogleAnalyticsDataApiOrGroup) o; return - java.util.Objects.deepEquals(this.expressions, other.expressions) && - java.util.Objects.deepEquals(this.filterType, other.filterType); + Objects.deepEquals(this.expressions, other.expressions) && + Objects.deepEquals(this.filterType, other.filterType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( expressions, filterType); } @@ -85,13 +86,13 @@ public String toString() { public final static class Builder { - private java.util.List expressions; + private List expressions; private Builder() { // force use of static builder() method } - public Builder expressions(java.util.List expressions) { + public Builder expressions(List expressions) { Utils.checkNotNull(expressions, "expressions"); this.expressions = expressions; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.java index 0dce25ade..1b5aa44fe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasAuthType { SERVICE("Service"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.java index b7280484d..afd32f0c2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasBetweenFilter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasBetweenFilter { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasBetweenFilter other = (SourceGoogleAnalyticsDataApiSchemasBetweenFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.fromValue, other.fromValue) && - java.util.Objects.deepEquals(this.toValue, other.toValue); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.fromValue, other.fromValue) && + Objects.deepEquals(this.toValue, other.toValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, fromValue, toValue); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.java index 5c38f5ed7..399b41475 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.fromValue, other.fromValue) && - java.util.Objects.deepEquals(this.toValue, other.toValue); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.fromValue, other.fromValue) && + Objects.deepEquals(this.toValue, other.toValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, fromValue, toValue); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.java index 4fa19dca1..130837b00 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.fromValue, other.fromValue) && - java.util.Objects.deepEquals(this.toValue, other.toValue); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.fromValue, other.fromValue) && + Objects.deepEquals(this.toValue, other.toValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, fromValue, toValue); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.java index d00571ff3..7f62479ac 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.java index 50534f6ea..7b76fe601 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.java index f2ef99440..a7e0347e3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.java index 67f5770f6..537e767f0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType.java index b6be379f6..aff0d862b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.java index 810ee8317..c148f64f7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName { BETWEEN_FILTER("betweenFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName.java index 5ca8b109d..36c40a60a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName { NUMERIC_FILTER("numericFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.java index 041e38e4a..3fb7b6f98 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.java index f8b1b0a58..894a2e59c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.java index 2cee4239e..3385d5416 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName { IN_LIST_FILTER("inListFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.java index 57efd0116..a0ad1569e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.java index 465e91343..b325ab210 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums.java index bca7d1dde..e81bc4a2c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums { OPERATION_UNSPECIFIED("OPERATION_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType.java index 73f679826..8421a151e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName.java index 07d3a0c74..c627de5da 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName { STRING_FILTER("stringFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.java index 4bfe17c37..ae7248729 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums.java index 03c9be2a6..f7a830cc2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums { MATCH_TYPE_UNSPECIFIED("MATCH_TYPE_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.java index f913d855a..e8795986e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.java index 1b935bc7d..6d3812389 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.java index d4172dd79..a6ec666e7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.java index 94e64cb70..7cc595368 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.java index 64b64bea9..2ae974b48 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.java index d9b4eaa51..ba53329ca 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName { BETWEEN_FILTER("betweenFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.java index 72227cd22..bf4bf4bca 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.java index 3226af73c..d10580ce2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.java index a6d8555d4..8aeb3a4be 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName { NUMERIC_FILTER("numericFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.java index 4a6070e96..1decd857a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.java index 26ed1f7ac..36a08001c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums { MATCH_TYPE_UNSPECIFIED("MATCH_TYPE_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.java index f2dbea9c8..933843e45 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.java index 5ebf746d8..2083a3c7b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.java index 7bc0e1c7e..28c81de9e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.java index ae7edd086..199de58d3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.java index 216cbcfca..38cc9953e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.java index 9f427db3e..b5e15ffad 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.java index 50d905eea..1fe83524e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName { BETWEEN_FILTER("betweenFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.java index 1e9cb82a0..c318864fd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName { NUMERIC_FILTER("numericFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.java index 77e523b3a..2619e8e32 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.java index 8085b6e9d..800a7819c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.java index b87e080d9..789215345 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName { IN_LIST_FILTER("inListFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.java index e910cad22..269635216 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.java index 66488cd3d..daa90d186 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.java index 4c74126a0..e6cb11c6c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.java index 846e0ee77..d08984253 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter(TypedObject value) { @@ -55,10 +52,10 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilt /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasStringFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasInListFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasNumericFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasBetweenFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasStringFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasInListFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasNumericFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasBetweenFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -85,23 +82,23 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Filter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.java index 272241826..e5c283709 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName { STRING_FILTER("stringFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.java index 60e8640dc..9a4f31af7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.java index 223562c34..6b123369d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums { OPERATION_UNSPECIFIED("OPERATION_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.java index 6ff71fe3d..1f4159f3b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.java index aab3617a4..b8bea7a9d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.java index c55c9ab48..35d044c17 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter(TypedObject value) { @@ -55,10 +52,10 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilt /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterBetweenFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -85,23 +82,23 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.java index 67484c36c..8e377ea07 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName { IN_LIST_FILTER("inListFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.java index 01d0dc65c..29de3abea 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.java index 897057fa6..724e82245 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums { MATCH_TYPE_UNSPECIFIED("MATCH_TYPE_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.java index 61e0468da..00612c201 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.java index 7964e76e9..63dcb063b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.java index 2f4176bca..96d04f0a1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter(TypedObject value) { @@ -55,10 +52,10 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilt /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayBetweenFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -85,23 +82,23 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.java index 008caf7e6..eb8c0b562 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName { STRING_FILTER("stringFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.java index 9c4b3183d..977536b95 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilt /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFromValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.java index 001e28d57..9c3f3c473 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter.java @@ -1,40 +1,42 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName filterName; @JsonProperty("values") - private java.util.List values; + private List values; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("values") java.util.List values) { + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("values") List values) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(values, "values"); this.caseSensitive = caseSensitive; @@ -43,14 +45,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInLis } public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter( - java.util.List values) { + List values) { this(Optional.empty(), values); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -59,7 +60,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimen } @JsonIgnore - public java.util.List values() { + public List values() { return values; } @@ -73,13 +74,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInLis return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter withValues(java.util.List values) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter withValues(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; @@ -95,14 +96,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInListFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.values, other.values); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.values, other.values); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, values); @@ -118,9 +119,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private java.util.List values; + private List values; private Builder() { // force use of static builder() method @@ -132,13 +133,13 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder values(java.util.List values) { + public Builder values(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.java index bd7b2cfd9..ffc4d392e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.java index b3c74c7bf..0c4368f6e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter { @@ -22,14 +23,14 @@ public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilte private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName filterName; @JsonProperty("operation") - private java.util.List operation; + private List operation; @JsonProperty("value") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter( - @JsonProperty("operation") java.util.List operation, + @JsonProperty("operation") List operation, @JsonProperty("value") SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue value) { Utils.checkNotNull(operation, "operation"); Utils.checkNotNull(value, "value"); @@ -44,7 +45,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimen } @JsonIgnore - public java.util.List operation() { + public List operation() { return operation; } @@ -57,7 +58,7 @@ public final static Builder builder() { return new Builder(); } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter withOperation(java.util.List operation) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter withOperation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; @@ -79,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterNumericFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.operation, other.operation) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.operation, other.operation) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, operation, value); @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private java.util.List operation; + private List operation; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue value; @@ -110,7 +111,7 @@ private Builder() { // force use of static builder() method } - public Builder operation(java.util.List operation) { + public Builder operation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.java index e25b5188b..aa6183e94 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter.java @@ -1,44 +1,47 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilterName filterName; @JsonInclude(Include.NON_ABSENT) @JsonProperty("matchType") - private Optional> matchType; + private Optional> matchType; @JsonProperty("value") private String value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("matchType") Optional> matchType, + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("matchType") Optional> matchType, @JsonProperty("value") String value) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(matchType, "matchType"); @@ -54,10 +57,9 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStrin this(Optional.empty(), Optional.empty(), value); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -67,8 +69,8 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterFilte @SuppressWarnings("unchecked") @JsonIgnore - public Optional> matchType() { - return (Optional>) matchType; + public Optional> matchType() { + return (Optional>) matchType; } @JsonIgnore @@ -86,19 +88,19 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStrin return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter withMatchType(java.util.List matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter withMatchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter withMatchType(Optional> matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter withMatchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; @@ -120,15 +122,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterStringFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.matchType, other.matchType) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.matchType, other.matchType) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, matchType, @@ -146,9 +148,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private Optional> matchType = Optional.empty(); + private Optional> matchType = Optional.empty(); private String value; @@ -162,19 +164,19 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder matchType(java.util.List matchType) { + public Builder matchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public Builder matchType(Optional> matchType) { + public Builder matchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.java index db631d459..6aaf19724 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilt /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterToValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.java index 2b7107077..233af4a47 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValidEnums { OPERATION_UNSPECIFIED("OPERATION_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.java index 9e74f7972..fb9ad69df 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilt /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.java index e3aca63a9..77c00d35d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.java index 2fa749dff..57274f184 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.java index 2bac3b18e..d748f436a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayEnabled { TRUE("true"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.java index c88d224af..b9b5ab282 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression { @@ -69,13 +68,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayExpression) o; return - java.util.Objects.deepEquals(this.fieldName, other.fieldName) && - java.util.Objects.deepEquals(this.filter, other.filter); + Objects.deepEquals(this.fieldName, other.fieldName) && + Objects.deepEquals(this.filter, other.filter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fieldName, filter); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.java index 92296d94d..4eae690bd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter(TypedObject value) { @@ -55,10 +52,10 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter of(Bet /** * Returns an instance of one of these types: *

      - *
    • {@code StringFilter}
    • - *
    • {@code InListFilter}
    • - *
    • {@code NumericFilter}
    • - *
    • {@code BetweenFilter}
    • + *
    • {@code com.airbyte.api.models.shared.StringFilter}
    • + *
    • {@code com.airbyte.api.models.shared.InListFilter}
    • + *
    • {@code com.airbyte.api.models.shared.NumericFilter}
    • + *
    • {@code com.airbyte.api.models.shared.BetweenFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -85,23 +82,23 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.java index fcb62d85e..6a13a6c86 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterName { BETWEEN_FILTER("betweenFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.java index 20061bc48..c83cddb3d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFilterType { FILTER("filter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.java index ecbf41163..ae6694927 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue of( /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayFromValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.java index 98b1d4e37..0ffda16d7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter.java @@ -1,40 +1,42 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName filterName; @JsonProperty("values") - private java.util.List values; + private List values; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("values") java.util.List values) { + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("values") List values) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(values, "values"); this.caseSensitive = caseSensitive; @@ -43,14 +45,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter( } public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter( - java.util.List values) { + List values) { this(Optional.empty(), values); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -59,7 +60,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimen } @JsonIgnore - public java.util.List values() { + public List values() { return values; } @@ -73,13 +74,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter withCas return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter withValues(java.util.List values) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter withValues(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; @@ -95,14 +96,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInListFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.values, other.values); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.values, other.values); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, values); @@ -118,9 +119,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private java.util.List values; + private List values; private Builder() { // force use of static builder() method @@ -132,13 +133,13 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder values(java.util.List values) { + public Builder values(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.java index 92f8b6953..04d17201c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.java index bcd97d170..f642ee443 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.fromValue, other.fromValue) && - java.util.Objects.deepEquals(this.toValue, other.toValue); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.fromValue, other.fromValue) && + Objects.deepEquals(this.toValue, other.toValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, fromValue, toValue); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.java index 25e7a906a..e891bbfca 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.java index 8b9bb97b4..8974a054f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression { @@ -69,13 +68,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterExpression) o; return - java.util.Objects.deepEquals(this.fieldName, other.fieldName) && - java.util.Objects.deepEquals(this.filter, other.filter); + Objects.deepEquals(this.fieldName, other.fieldName) && + Objects.deepEquals(this.filter, other.filter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fieldName, filter); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.java index 28ebdeed3..da39b17c4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter(TypedObject value) { @@ -55,10 +52,10 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterF /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiStringFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiInListFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiNumericFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiBetweenFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiStringFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiInListFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiNumericFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiBetweenFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -85,23 +82,23 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.java index eb39dfce1..0b38e09c9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName { STRING_FILTER("stringFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.java index 177480381..1c5b2d0f6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterType { AND_GROUP("andGroup"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.java index 7fac88648..9e322d287 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterF /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFromValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.java index fe345643e..74c03ba83 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter.java @@ -1,40 +1,42 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName filterName; @JsonProperty("values") - private java.util.List values; + private List values; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("values") java.util.List values) { + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("values") List values) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(values, "values"); this.caseSensitive = caseSensitive; @@ -43,14 +45,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFi } public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter( - java.util.List values) { + List values) { this(Optional.empty(), values); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -59,7 +60,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } @JsonIgnore - public java.util.List values() { + public List values() { return values; } @@ -73,13 +74,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFi return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter withValues(java.util.List values) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter withValues(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; @@ -95,14 +96,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.values, other.values); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.values, other.values); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, values); @@ -118,9 +119,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private java.util.List values; + private List values; private Builder() { // force use of static builder() method @@ -132,13 +133,13 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder values(java.util.List values) { + public Builder values(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.java index f2e59322c..b258821ba 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.java index bdb27b073..7ead11bcc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.java index b4ae43092..749588781 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.java index 25779d00b..946939d16 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.java index ac5f0fc4d..44baf6dc8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.java index bc8038d51..42dd859f0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.java index 9a0c5cd2c..98796c6fc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName { IN_LIST_FILTER("inListFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.java index 05fae46f0..27a781881 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName { STRING_FILTER("stringFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.java index cb9deb14e..78f0e022f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.java index 84b248a39..b5241526f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.java index 990a26276..e65e12438 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName { BETWEEN_FILTER("betweenFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.java index 67c0ee29d..d754bfffb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.java index fd87e1279..0685faec4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.java index 06a4517ab..5603524e7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.java index 70aed09e8..25cde3ba5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter(TypedObject value) { @@ -55,10 +52,10 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterM /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterInListFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterBetweenFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -85,23 +82,23 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Filter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.java index badcb10d1..25ca8ff67 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName { NUMERIC_FILTER("numericFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.java index cda3d89f9..fac9ff33d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.java index 83df06dc2..2d73eb863 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums { MATCH_TYPE_UNSPECIFIED("MATCH_TYPE_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.java index f3ace3214..7529f1f84 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.java index 0928ad961..c47fd30bb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.java index 74f51100e..74da95ead 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.java index 51c962781..a045ed54a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.java index ea3c8943f..96267a9d1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.java index d38a02f1b..540b71d1a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.java index 202eda365..15862379a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName { BETWEEN_FILTER("betweenFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.java index 78262ed56..9c69e6e82 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName { NUMERIC_FILTER("numericFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.java index bd5381a88..2c28e6a15 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.java index 6743d073b..a2379e0a6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.java index 81c165522..b23c85598 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName { IN_LIST_FILTER("inListFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.java index 837ad9cf6..84cb430be 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.java index 7e086cd02..6d4984442 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.java index 7d5fd6e48..220887cfb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums { OPERATION_UNSPECIFIED("OPERATION_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.java index 11e96492d..c600fc345 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.java index 3f5c1bcce..819599fe1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName { STRING_FILTER("stringFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.java index afcef4e2e..3def6e5cc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.java index 6d33569ee..d55b263df 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums { MATCH_TYPE_UNSPECIFIED("MATCH_TYPE_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.java index 1aee6e439..0844c292d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.java index 4c1c46a0d..58c0a70cd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.fromValue, other.fromValue) && - java.util.Objects.deepEquals(this.toValue, other.toValue); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.fromValue, other.fromValue) && + Objects.deepEquals(this.toValue, other.toValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, fromValue, toValue); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.java index e8a98375b..a6a4f342d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.java index 86d32c2a5..b2b6a9780 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.java index eb281208a..115bb70aa 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.java index 3cef719d6..183482f34 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType.java index a802e6f96..88d0a0fa3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.java index b3fb6448e..8d66a62f8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName { BETWEEN_FILTER("betweenFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName.java index a700ba02d..a61833c96 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName { NUMERIC_FILTER("numericFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.java index f0a0357e2..a35ccbbdc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.java index c6a260bc6..6a0bfe226 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.java index e37fed6b0..c018c57a9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName { IN_LIST_FILTER("inListFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.java index 63bb456f9..33e1dde89 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.java index 4cc96de9c..dc8f961b4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums.java index e71abd3cd..ee1ed4ba0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums { OPERATION_UNSPECIFIED("OPERATION_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType.java index fa89de5dc..68246c48e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.java index 2c049a6cf..9d1d5bbc2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter(TypedObject value) { @@ -55,10 +52,10 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterM /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -85,23 +82,23 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Filter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.java index eb2e95f61..ee8fb18fe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName { STRING_FILTER("stringFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.java index ae2f95051..e1c5b86b6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType { NOT_EXPRESSION("notExpression"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.java index aff05969b..2e17bc013 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterM /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FromValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.java index f43d09b3f..e755cc7e7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter.java @@ -1,40 +1,42 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName filterName; @JsonProperty("values") - private java.util.List values; + private List values; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("values") java.util.List values) { + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("values") List values) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(values, "values"); this.caseSensitive = caseSensitive; @@ -43,14 +45,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter( - java.util.List values) { + List values) { this(Optional.empty(), values); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -59,7 +60,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } @JsonIgnore - public java.util.List values() { + public List values() { return values; } @@ -73,13 +74,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter withValues(java.util.List values) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter withValues(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; @@ -95,14 +96,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.values, other.values); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.values, other.values); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, values); @@ -118,9 +119,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private java.util.List values; + private List values; private Builder() { // force use of static builder() method @@ -132,13 +133,13 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder values(java.util.List values) { + public Builder values(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.java index 13b898c01..2ae421512 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.java index 5305efc60..0f357eab4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter { @@ -22,14 +23,14 @@ public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMe private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName filterName; @JsonProperty("operation") - private java.util.List operation; + private List operation; @JsonProperty("value") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter( - @JsonProperty("operation") java.util.List operation, + @JsonProperty("operation") List operation, @JsonProperty("value") SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value value) { Utils.checkNotNull(operation, "operation"); Utils.checkNotNull(value, "value"); @@ -44,7 +45,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } @JsonIgnore - public java.util.List operation() { + public List operation() { return operation; } @@ -57,7 +58,7 @@ public final static Builder builder() { return new Builder(); } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter withOperation(java.util.List operation) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter withOperation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; @@ -79,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.operation, other.operation) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.operation, other.operation) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, operation, value); @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private java.util.List operation; + private List operation; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value value; @@ -110,7 +111,7 @@ private Builder() { // force use of static builder() method } - public Builder operation(java.util.List operation) { + public Builder operation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.java index 0d351e938..0cb9f5536 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter.java @@ -1,44 +1,47 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName filterName; @JsonInclude(Include.NON_ABSENT) @JsonProperty("matchType") - private Optional> matchType; + private Optional> matchType; @JsonProperty("value") private String value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("matchType") Optional> matchType, + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("matchType") Optional> matchType, @JsonProperty("value") String value) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(matchType, "matchType"); @@ -54,10 +57,9 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF this(Optional.empty(), Optional.empty(), value); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -67,8 +69,8 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF @SuppressWarnings("unchecked") @JsonIgnore - public Optional> matchType() { - return (Optional>) matchType; + public Optional> matchType() { + return (Optional>) matchType; } @JsonIgnore @@ -86,19 +88,19 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter withMatchType(java.util.List matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter withMatchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter withMatchType(Optional> matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter withMatchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; @@ -120,15 +122,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.matchType, other.matchType) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.matchType, other.matchType) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, matchType, @@ -146,9 +148,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private Optional> matchType = Optional.empty(); + private Optional> matchType = Optional.empty(); private String value; @@ -162,19 +164,19 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder matchType(java.util.List matchType) { + public Builder matchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public Builder matchType(Optional> matchType) { + public Builder matchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.java index 23121082d..7af4c8eb8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterM /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ToValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.java index 33c22576f..84110d776 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums { MATCH_TYPE_UNSPECIFIED("MATCH_TYPE_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.java index ca0243829..75e1bb26c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterM /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3Value.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.java index 4087f51f2..c2118d302 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.java index 6fc130aa4..ab90dbf46 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.java index e126ea707..d889482a7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName { BETWEEN_FILTER("betweenFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.java index 84001460c..3ff17c141 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.java index 7dc40c220..0e7da62dd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName { NUMERIC_FILTER("numericFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.java index b68918b86..12a9d65d5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType { FILTER("filter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.java index b9d4260bd..e3fd802b9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.java index 461c6ef20..381ee541f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.java index 9630d8b8c..a51ed06c5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter { @@ -79,14 +79,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.fromValue, other.fromValue) && - java.util.Objects.deepEquals(this.toValue, other.toValue); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.fromValue, other.fromValue) && + Objects.deepEquals(this.toValue, other.toValue); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, fromValue, toValue); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.java index 8befa10cf..199f7beaf 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.java index 7c901a366..9970ed744 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression { @@ -69,13 +68,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterExpression) o; return - java.util.Objects.deepEquals(this.fieldName, other.fieldName) && - java.util.Objects.deepEquals(this.filter, other.filter); + Objects.deepEquals(this.fieldName, other.fieldName) && + Objects.deepEquals(this.filter, other.filter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fieldName, filter); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.java index 0083e04ef..6bfe9414e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter(TypedObject value) { @@ -55,10 +52,10 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterM /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -85,23 +82,23 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.java index d1295c952..da9bc5ba6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterName { IN_LIST_FILTER("inListFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.java index a942149e5..81f9cd3e9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFilterType { OR_GROUP("orGroup"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.java index 08d277f1d..328a10390 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterM /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterFromValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.java index 025fb30c7..68fcf7a79 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter.java @@ -1,40 +1,42 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName filterName; @JsonProperty("values") - private java.util.List values; + private List values; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("values") java.util.List values) { + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("values") List values) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(values, "values"); this.caseSensitive = caseSensitive; @@ -43,14 +45,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter( - java.util.List values) { + List values) { this(Optional.empty(), values); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -59,7 +60,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } @JsonIgnore - public java.util.List values() { + public List values() { return values; } @@ -73,13 +74,13 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter withValues(java.util.List values) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter withValues(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; @@ -95,14 +96,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.values, other.values); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.values, other.values); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, values); @@ -118,9 +119,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private java.util.List values; + private List values; private Builder() { // force use of static builder() method @@ -132,13 +133,13 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder values(java.util.List values) { + public Builder values(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.java index 2fa39034e..caf4577a0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.java index 052636a21..4fa9d4660 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter { @@ -22,14 +23,14 @@ public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMe private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName filterName; @JsonProperty("operation") - private java.util.List operation; + private List operation; @JsonProperty("value") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter( - @JsonProperty("operation") java.util.List operation, + @JsonProperty("operation") List operation, @JsonProperty("value") SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue value) { Utils.checkNotNull(operation, "operation"); Utils.checkNotNull(value, "value"); @@ -44,7 +45,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } @JsonIgnore - public java.util.List operation() { + public List operation() { return operation; } @@ -57,7 +58,7 @@ public final static Builder builder() { return new Builder(); } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter withOperation(java.util.List operation) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter withOperation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; @@ -79,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.operation, other.operation) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.operation, other.operation) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, operation, value); @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private java.util.List operation; + private List operation; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue value; @@ -110,7 +111,7 @@ private Builder() { // force use of static builder() method } - public Builder operation(java.util.List operation) { + public Builder operation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.java index 86cdb7145..3b534e702 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter.java @@ -1,44 +1,47 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName filterName; @JsonInclude(Include.NON_ABSENT) @JsonProperty("matchType") - private Optional> matchType; + private Optional> matchType; @JsonProperty("value") private String value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("matchType") Optional> matchType, + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("matchType") Optional> matchType, @JsonProperty("value") String value) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(matchType, "matchType"); @@ -54,10 +57,9 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF this(Optional.empty(), Optional.empty(), value); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -67,8 +69,8 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF @SuppressWarnings("unchecked") @JsonIgnore - public Optional> matchType() { - return (Optional>) matchType; + public Optional> matchType() { + return (Optional>) matchType; } @JsonIgnore @@ -86,19 +88,19 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter withMatchType(java.util.List matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter withMatchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter withMatchType(Optional> matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter withMatchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; @@ -120,15 +122,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.matchType, other.matchType) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.matchType, other.matchType) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, matchType, @@ -146,9 +148,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private Optional> matchType = Optional.empty(); + private Optional> matchType = Optional.empty(); private String value; @@ -162,19 +164,19 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder matchType(java.util.List matchType) { + public Builder matchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public Builder matchType(Optional> matchType) { + public Builder matchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.java index 405a4b8fe..a9e54c2f3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterM /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterToValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums.java index dbde4bd64..3a0aaba6a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums { OPERATION_UNSPECIFIED("OPERATION_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.java index 97ad69699..6a4a744e6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterM /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.java index e879b3dc8..a86efa4c5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.java index d3998438d..708b9cae7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter { @@ -22,14 +23,14 @@ public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNu private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName filterName; @JsonProperty("operation") - private java.util.List operation; + private List operation; @JsonProperty("value") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter( - @JsonProperty("operation") java.util.List operation, + @JsonProperty("operation") List operation, @JsonProperty("value") SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue value) { Utils.checkNotNull(operation, "operation"); Utils.checkNotNull(value, "value"); @@ -44,7 +45,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF } @JsonIgnore - public java.util.List operation() { + public List operation() { return operation; } @@ -57,7 +58,7 @@ public final static Builder builder() { return new Builder(); } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter withOperation(java.util.List operation) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter withOperation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; @@ -79,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterNumericFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.operation, other.operation) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.operation, other.operation) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, operation, value); @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private java.util.List operation; + private List operation; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue value; @@ -110,7 +111,7 @@ private Builder() { // force use of static builder() method } - public Builder operation(java.util.List operation) { + public Builder operation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.java index d9e645454..c39fb1280 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter.java @@ -1,44 +1,47 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName filterName; @JsonInclude(Include.NON_ABSENT) @JsonProperty("matchType") - private Optional> matchType; + private Optional> matchType; @JsonProperty("value") private String value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("matchType") Optional> matchType, + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("matchType") Optional> matchType, @JsonProperty("value") String value) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(matchType, "matchType"); @@ -54,10 +57,9 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFi this(Optional.empty(), Optional.empty(), value); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -67,8 +69,8 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsF @SuppressWarnings("unchecked") @JsonIgnore - public Optional> matchType() { - return (Optional>) matchType; + public Optional> matchType() { + return (Optional>) matchType; } @JsonIgnore @@ -86,19 +88,19 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFi return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter withMatchType(java.util.List matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter withMatchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter withMatchType(Optional> matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter withMatchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; @@ -120,15 +122,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterStringFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.matchType, other.matchType) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.matchType, other.matchType) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, matchType, @@ -146,9 +148,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private Optional> matchType = Optional.empty(); + private Optional> matchType = Optional.empty(); private String value; @@ -162,19 +164,19 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder matchType(java.util.List matchType) { + public Builder matchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public Builder matchType(Optional> matchType) { + public Builder matchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.java index 36ee03d13..65889816d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterT /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterToValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.java index 9836559fd..6204651f8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValidEnums { OPERATION_UNSPECIFIED("OPERATION_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.java index 1e260429d..fb85859aa 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterV /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.java index 3b2fb94c9..e95c58f5b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.java index 0e466d73c..469093276 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter { @@ -22,14 +23,14 @@ public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName filterName; @JsonProperty("operation") - private java.util.List operation; + private List operation; @JsonProperty("value") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter( - @JsonProperty("operation") java.util.List operation, + @JsonProperty("operation") List operation, @JsonProperty("value") SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue value) { Utils.checkNotNull(operation, "operation"); Utils.checkNotNull(value, "value"); @@ -44,7 +45,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimen } @JsonIgnore - public java.util.List operation() { + public List operation() { return operation; } @@ -57,7 +58,7 @@ public final static Builder builder() { return new Builder(); } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter withOperation(java.util.List operation) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter withOperation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; @@ -79,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayNumericFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.operation, other.operation) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.operation, other.operation) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, operation, value); @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private java.util.List operation; + private List operation; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue value; @@ -110,7 +111,7 @@ private Builder() { // force use of static builder() method } - public Builder operation(java.util.List operation) { + public Builder operation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.java index 8b405f611..e35aa6225 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter.java @@ -1,44 +1,47 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName filterName; @JsonInclude(Include.NON_ABSENT) @JsonProperty("matchType") - private Optional> matchType; + private Optional> matchType; @JsonProperty("value") private String value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("matchType") Optional> matchType, + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("matchType") Optional> matchType, @JsonProperty("value") String value) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(matchType, "matchType"); @@ -54,10 +57,9 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter( this(Optional.empty(), Optional.empty(), value); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -67,8 +69,8 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimen @SuppressWarnings("unchecked") @JsonIgnore - public Optional> matchType() { - return (Optional>) matchType; + public Optional> matchType() { + return (Optional>) matchType; } @JsonIgnore @@ -86,19 +88,19 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter withCas return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter withMatchType(java.util.List matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter withMatchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter withMatchType(Optional> matchType) { + public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter withMatchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; @@ -120,15 +122,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayStringFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.matchType, other.matchType) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.matchType, other.matchType) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, matchType, @@ -146,9 +148,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private Optional> matchType = Optional.empty(); + private Optional> matchType = Optional.empty(); private String value; @@ -162,19 +164,19 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder matchType(java.util.List matchType) { + public Builder matchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public Builder matchType(Optional> matchType) { + public Builder matchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.java index 01bc2e946..c9fa02e61 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue of(So /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayToValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.java index 75d979142..3ddb910fe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValidEnums { MATCH_TYPE_UNSPECIFIED("MATCH_TYPE_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.java index afb136cd1..73ee57b6e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue of(Sour /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue other = (SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.java index 3715edc40..16d0781b9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.java index 1ea1eb28d..b5da58dfa 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasDoubleValue.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasDoubleValue { @@ -62,13 +63,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasDoubleValue other = (SourceGoogleAnalyticsDataApiSchemasDoubleValue) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.java index bbac3d329..dfe9c0c28 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasEnabled.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasEnabled { /** @@ -30,7 +32,7 @@ public class SourceGoogleAnalyticsDataApiSchemasEnabled { @JsonInclude(Include.NON_ABSENT) @JsonProperty("cohorts") - private Optional> cohorts; + private Optional> cohorts; @JsonInclude(Include.NON_ABSENT) @JsonProperty("cohortsRange") @@ -43,7 +45,7 @@ public class SourceGoogleAnalyticsDataApiSchemasEnabled { @JsonCreator public SourceGoogleAnalyticsDataApiSchemasEnabled( @JsonProperty("cohortReportSettings") Optional cohortReportSettings, - @JsonProperty("cohorts") Optional> cohorts, + @JsonProperty("cohorts") Optional> cohorts, @JsonProperty("cohortsRange") Optional cohortsRange) { Utils.checkNotNull(cohortReportSettings, "cohortReportSettings"); Utils.checkNotNull(cohorts, "cohorts"); @@ -69,8 +71,8 @@ public Optional cohortReportSettings() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional> cohorts() { - return (Optional>) cohorts; + public Optional> cohorts() { + return (Optional>) cohorts; } @SuppressWarnings("unchecked") @@ -107,13 +109,13 @@ public SourceGoogleAnalyticsDataApiSchemasEnabled withCohortReportSettings(Optio return this; } - public SourceGoogleAnalyticsDataApiSchemasEnabled withCohorts(java.util.List cohorts) { + public SourceGoogleAnalyticsDataApiSchemasEnabled withCohorts(List cohorts) { Utils.checkNotNull(cohorts, "cohorts"); this.cohorts = Optional.ofNullable(cohorts); return this; } - public SourceGoogleAnalyticsDataApiSchemasEnabled withCohorts(Optional> cohorts) { + public SourceGoogleAnalyticsDataApiSchemasEnabled withCohorts(Optional> cohorts) { Utils.checkNotNull(cohorts, "cohorts"); this.cohorts = cohorts; return this; @@ -141,15 +143,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasEnabled other = (SourceGoogleAnalyticsDataApiSchemasEnabled) o; return - java.util.Objects.deepEquals(this.cohortReportSettings, other.cohortReportSettings) && - java.util.Objects.deepEquals(this.cohorts, other.cohorts) && - java.util.Objects.deepEquals(this.cohortsRange, other.cohortsRange) && - java.util.Objects.deepEquals(this.enabled, other.enabled); + Objects.deepEquals(this.cohortReportSettings, other.cohortReportSettings) && + Objects.deepEquals(this.cohorts, other.cohorts) && + Objects.deepEquals(this.cohortsRange, other.cohortsRange) && + Objects.deepEquals(this.enabled, other.enabled); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cohortReportSettings, cohorts, cohortsRange, @@ -169,7 +171,7 @@ public final static class Builder { private Optional cohortReportSettings = Optional.empty(); - private Optional> cohorts = Optional.empty(); + private Optional> cohorts = Optional.empty(); private Optional cohortsRange = Optional.empty(); @@ -195,13 +197,13 @@ public Builder cohortReportSettings(Optional coh return this; } - public Builder cohorts(java.util.List cohorts) { + public Builder cohorts(List cohorts) { Utils.checkNotNull(cohorts, "cohorts"); this.cohorts = Optional.ofNullable(cohorts); return this; } - public Builder cohorts(Optional> cohorts) { + public Builder cohorts(Optional> cohorts) { Utils.checkNotNull(cohorts, "cohorts"); this.cohorts = cohorts; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.java index 0afb57fa5..d5c6c94ff 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasExpression.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasExpression { @@ -69,13 +68,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasExpression other = (SourceGoogleAnalyticsDataApiSchemasExpression) o; return - java.util.Objects.deepEquals(this.fieldName, other.fieldName) && - java.util.Objects.deepEquals(this.filter, other.filter); + Objects.deepEquals(this.fieldName, other.fieldName) && + Objects.deepEquals(this.filter, other.filter); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fieldName, filter); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.java index d3874ad8f..83d9c085d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilter.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceGoogleAnalyticsDataApiSchemasFilter - A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all metrics. */ @@ -87,14 +88,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasFilter other = (SourceGoogleAnalyticsDataApiSchemasFilter) o; return - java.util.Objects.deepEquals(this.fieldName, other.fieldName) && - java.util.Objects.deepEquals(this.filter, other.filter) && - java.util.Objects.deepEquals(this.filterType, other.filterType); + Objects.deepEquals(this.fieldName, other.fieldName) && + Objects.deepEquals(this.filter, other.filter) && + Objects.deepEquals(this.filterType, other.filterType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( fieldName, filter, filterType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.java index 0c9370e52..cda4fa98b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterName.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasFilterName { NUMERIC_FILTER("numericFilter"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.java index 2a0546cea..413cc5caa 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFilterType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasFilterType { NOT_EXPRESSION("notExpression"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.java index eb336f7f7..cd3ce0140 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasFromValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasFromValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasFromValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasFromValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasFromValue of(SourceGoogleAnalyt /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasFromValue other = (SourceGoogleAnalyticsDataApiSchemasFromValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasFromValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasFromValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.java index 5ab47c1eb..c67ea41a2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInListFilter.java @@ -1,40 +1,42 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasInListFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName filterName; @JsonProperty("values") - private java.util.List values; + private List values; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasInListFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("values") java.util.List values) { + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("values") List values) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(values, "values"); this.caseSensitive = caseSensitive; @@ -43,14 +45,13 @@ public SourceGoogleAnalyticsDataApiSchemasInListFilter( } public SourceGoogleAnalyticsDataApiSchemasInListFilter( - java.util.List values) { + List values) { this(Optional.empty(), values); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -59,7 +60,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimen } @JsonIgnore - public java.util.List values() { + public List values() { return values; } @@ -73,13 +74,13 @@ public SourceGoogleAnalyticsDataApiSchemasInListFilter withCaseSensitive(boolean return this; } - public SourceGoogleAnalyticsDataApiSchemasInListFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasInListFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasInListFilter withValues(java.util.List values) { + public SourceGoogleAnalyticsDataApiSchemasInListFilter withValues(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; @@ -95,14 +96,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasInListFilter other = (SourceGoogleAnalyticsDataApiSchemasInListFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.values, other.values); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.values, other.values); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, values); @@ -118,9 +119,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private java.util.List values; + private List values; private Builder() { // force use of static builder() method @@ -132,13 +133,13 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder values(java.util.List values) { + public Builder values(List values) { Utils.checkNotNull(values, "values"); this.values = values; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.java index c9b248d89..9393c4520 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasInt64Value.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasInt64Value { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasInt64Value other = (SourceGoogleAnalyticsDataApiSchemasInt64Value) o; return - java.util.Objects.deepEquals(this.value, other.value) && - java.util.Objects.deepEquals(this.valueType, other.valueType); + Objects.deepEquals(this.value, other.value) && + Objects.deepEquals(this.valueType, other.valueType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( value, valueType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.java index 2d132e86d..3e584f05f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasNumericFilter.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class SourceGoogleAnalyticsDataApiSchemasNumericFilter { @@ -22,14 +23,14 @@ public class SourceGoogleAnalyticsDataApiSchemasNumericFilter { private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName filterName; @JsonProperty("operation") - private java.util.List operation; + private List operation; @JsonProperty("value") private SourceGoogleAnalyticsDataApiSchemasValue value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasNumericFilter( - @JsonProperty("operation") java.util.List operation, + @JsonProperty("operation") List operation, @JsonProperty("value") SourceGoogleAnalyticsDataApiSchemasValue value) { Utils.checkNotNull(operation, "operation"); Utils.checkNotNull(value, "value"); @@ -44,7 +45,7 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimen } @JsonIgnore - public java.util.List operation() { + public List operation() { return operation; } @@ -57,7 +58,7 @@ public final static Builder builder() { return new Builder(); } - public SourceGoogleAnalyticsDataApiSchemasNumericFilter withOperation(java.util.List operation) { + public SourceGoogleAnalyticsDataApiSchemasNumericFilter withOperation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; @@ -79,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasNumericFilter other = (SourceGoogleAnalyticsDataApiSchemasNumericFilter) o; return - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.operation, other.operation) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.operation, other.operation) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filterName, operation, value); @@ -102,7 +103,7 @@ public String toString() { public final static class Builder { - private java.util.List operation; + private List operation; private SourceGoogleAnalyticsDataApiSchemasValue value; @@ -110,7 +111,7 @@ private Builder() { // force use of static builder() method } - public Builder operation(java.util.List operation) { + public Builder operation(List operation) { Utils.checkNotNull(operation, "operation"); this.operation = operation; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.java index 1a92add72..24fd5a045 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasStringFilter.java @@ -1,44 +1,47 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiSchemasStringFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName filterName; @JsonInclude(Include.NON_ABSENT) @JsonProperty("matchType") - private Optional> matchType; + private Optional> matchType; @JsonProperty("value") private String value; @JsonCreator public SourceGoogleAnalyticsDataApiSchemasStringFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("matchType") Optional> matchType, + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("matchType") Optional> matchType, @JsonProperty("value") String value) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(matchType, "matchType"); @@ -54,10 +57,9 @@ public SourceGoogleAnalyticsDataApiSchemasStringFilter( this(Optional.empty(), Optional.empty(), value); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -67,8 +69,8 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimen @SuppressWarnings("unchecked") @JsonIgnore - public Optional> matchType() { - return (Optional>) matchType; + public Optional> matchType() { + return (Optional>) matchType; } @JsonIgnore @@ -86,19 +88,19 @@ public SourceGoogleAnalyticsDataApiSchemasStringFilter withCaseSensitive(boolean return this; } - public SourceGoogleAnalyticsDataApiSchemasStringFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiSchemasStringFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiSchemasStringFilter withMatchType(java.util.List matchType) { + public SourceGoogleAnalyticsDataApiSchemasStringFilter withMatchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public SourceGoogleAnalyticsDataApiSchemasStringFilter withMatchType(Optional> matchType) { + public SourceGoogleAnalyticsDataApiSchemasStringFilter withMatchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; @@ -120,15 +122,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiSchemasStringFilter other = (SourceGoogleAnalyticsDataApiSchemasStringFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.matchType, other.matchType) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.matchType, other.matchType) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, matchType, @@ -146,9 +148,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private Optional> matchType = Optional.empty(); + private Optional> matchType = Optional.empty(); private String value; @@ -162,19 +164,19 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder matchType(java.util.List matchType) { + public Builder matchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public Builder matchType(Optional> matchType) { + public Builder matchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.java index ffcef23ba..2abe8c68b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasToValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasToValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasToValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasToValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasToValue of(SourceGoogleAnalytic /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasToValue other = (SourceGoogleAnalyticsDataApiSchemasToValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasToValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasToValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.java index ede96daf8..e1fee3f70 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasValidEnums { OPERATION_UNSPECIFIED("OPERATION_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValue.java index 519c128df..8c8d76a73 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiSchemasValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiSchemasValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiSchemasValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiSchemasValue of(SourceGoogleAnalyticsD /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiSchemasValue other = (SourceGoogleAnalyticsDataApiSchemasValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiSchemasValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiSchemasValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.java index 8700440b4..0d38de6c0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiSchemasValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiSchemasValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.java index 760b9d239..a87227330 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication { @JsonInclude(Include.NON_ABSENT) @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication other = (SourceGoogleAnalyticsDataApiServiceAccountKeyAuthentication) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.credentialsJson, other.credentialsJson); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.credentialsJson, other.credentialsJson); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, credentialsJson); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiStringFilter.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiStringFilter.java index c2494906b..6501f2486 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiStringFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiStringFilter.java @@ -1,44 +1,47 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleAnalyticsDataApiStringFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterName filterName; @JsonInclude(Include.NON_ABSENT) @JsonProperty("matchType") - private Optional> matchType; + private Optional> matchType; @JsonProperty("value") private String value; @JsonCreator public SourceGoogleAnalyticsDataApiStringFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("matchType") Optional> matchType, + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("matchType") Optional> matchType, @JsonProperty("value") String value) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(matchType, "matchType"); @@ -54,10 +57,9 @@ public SourceGoogleAnalyticsDataApiStringFilter( this(Optional.empty(), Optional.empty(), value); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -67,8 +69,8 @@ public SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterFilterNa @SuppressWarnings("unchecked") @JsonIgnore - public Optional> matchType() { - return (Optional>) matchType; + public Optional> matchType() { + return (Optional>) matchType; } @JsonIgnore @@ -86,19 +88,19 @@ public SourceGoogleAnalyticsDataApiStringFilter withCaseSensitive(boolean caseSe return this; } - public SourceGoogleAnalyticsDataApiStringFilter withCaseSensitive(Optional caseSensitive) { + public SourceGoogleAnalyticsDataApiStringFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public SourceGoogleAnalyticsDataApiStringFilter withMatchType(java.util.List matchType) { + public SourceGoogleAnalyticsDataApiStringFilter withMatchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public SourceGoogleAnalyticsDataApiStringFilter withMatchType(Optional> matchType) { + public SourceGoogleAnalyticsDataApiStringFilter withMatchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; @@ -120,15 +122,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleAnalyticsDataApiStringFilter other = (SourceGoogleAnalyticsDataApiStringFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.matchType, other.matchType) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.matchType, other.matchType) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, matchType, @@ -146,9 +148,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private Optional> matchType = Optional.empty(); + private Optional> matchType = Optional.empty(); private String value; @@ -162,19 +164,19 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder matchType(java.util.List matchType) { + public Builder matchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public Builder matchType(Optional> matchType) { + public Builder matchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiToValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiToValue.java index 452c7fb52..b0cd80782 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiToValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiToValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiToValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiToValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiToValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiToValue of(SourceGoogleAnalyticsDataAp /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiToValue other = (SourceGoogleAnalyticsDataApiToValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiToValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiToValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValidEnums.java index 145ed7f17..260df2512 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiValidEnums { MATCH_TYPE_UNSPECIFIED("MATCH_TYPE_UNSPECIFIED"), diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValue.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValue.java index a0863ff03..460f37a7e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceGoogleAnalyticsDataApiValue._Deserializer.class) public class SourceGoogleAnalyticsDataApiValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleAnalyticsDataApiValue(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceGoogleAnalyticsDataApiValue of(SourceGoogleAnalyticsDataApiS /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasCustomReportsArrayDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleAnalyticsDataApiValue other = (SourceGoogleAnalyticsDataApiValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleAnalyticsDataApiValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleAnalyticsDataApiValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValueType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValueType.java index 6ba7cfa5b..43407ac99 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsDataApiValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleAnalyticsDataApiValueType { DOUBLE_VALUE("doubleValue"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleCalendar.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleCalendar.java new file mode 100644 index 000000000..6185a0164 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleCalendar.java @@ -0,0 +1,196 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceGoogleCalendar { + + @JsonProperty("calendarid") + private String calendarid; + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token_2") + private String clientRefreshToken2; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private GoogleCalendar sourceType; + + @JsonCreator + public SourceGoogleCalendar( + @JsonProperty("calendarid") String calendarid, + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token_2") String clientRefreshToken2, + @JsonProperty("client_secret") String clientSecret) { + Utils.checkNotNull(calendarid, "calendarid"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken2, "clientRefreshToken2"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.calendarid = calendarid; + this.clientId = clientId; + this.clientRefreshToken2 = clientRefreshToken2; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String calendarid() { + return calendarid; + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken2() { + return clientRefreshToken2; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public GoogleCalendar sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceGoogleCalendar withCalendarid(String calendarid) { + Utils.checkNotNull(calendarid, "calendarid"); + this.calendarid = calendarid; + return this; + } + + public SourceGoogleCalendar withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceGoogleCalendar withClientRefreshToken2(String clientRefreshToken2) { + Utils.checkNotNull(clientRefreshToken2, "clientRefreshToken2"); + this.clientRefreshToken2 = clientRefreshToken2; + return this; + } + + public SourceGoogleCalendar withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGoogleCalendar other = (SourceGoogleCalendar) o; + return + Objects.deepEquals(this.calendarid, other.calendarid) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken2, other.clientRefreshToken2) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + calendarid, + clientId, + clientRefreshToken2, + clientSecret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceGoogleCalendar.class, + "calendarid", calendarid, + "clientId", clientId, + "clientRefreshToken2", clientRefreshToken2, + "clientSecret", clientSecret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String calendarid; + + private String clientId; + + private String clientRefreshToken2; + + private String clientSecret; + + private Builder() { + // force use of static builder() method + } + + public Builder calendarid(String calendarid) { + Utils.checkNotNull(calendarid, "calendarid"); + this.calendarid = calendarid; + return this; + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken2(String clientRefreshToken2) { + Utils.checkNotNull(clientRefreshToken2, "clientRefreshToken2"); + this.clientRefreshToken2 = clientRefreshToken2; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceGoogleCalendar build() { + return new SourceGoogleCalendar( + calendarid, + clientId, + clientRefreshToken2, + clientSecret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"google-calendar\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleClassroom.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleClassroom.java new file mode 100644 index 000000000..a1af0a118 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleClassroom.java @@ -0,0 +1,167 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceGoogleClassroom { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token") + private String clientRefreshToken; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private GoogleClassroom sourceType; + + @JsonCreator + public SourceGoogleClassroom( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token") String clientRefreshToken, + @JsonProperty("client_secret") String clientSecret) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientId = clientId; + this.clientRefreshToken = clientRefreshToken; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken() { + return clientRefreshToken; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public GoogleClassroom sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceGoogleClassroom withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceGoogleClassroom withClientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public SourceGoogleClassroom withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGoogleClassroom other = (SourceGoogleClassroom) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken, other.clientRefreshToken) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientRefreshToken, + clientSecret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceGoogleClassroom.class, + "clientId", clientId, + "clientRefreshToken", clientRefreshToken, + "clientSecret", clientSecret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientRefreshToken; + + private String clientSecret; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceGoogleClassroom build() { + return new SourceGoogleClassroom( + clientId, + clientRefreshToken, + clientSecret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"google-classroom\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java index 43ec29e9c..3b1da92e4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDirectory { /** @@ -89,13 +90,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDirectory other = (SourceGoogleDirectory) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryCredentialsTitle.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryCredentialsTitle.java index 73b66d51e..3198278c0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryCredentialsTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryCredentialsTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceGoogleDirectoryCredentialsTitle - Authentication Scenario diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleCredentials.java index 10182f4a7..eee917738 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleCredentials.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGoogleDirectoryGoogleCredentials - Google APIs use the OAuth 2.0 protocol for authentication and authorization. The Source supports <a href="https://developers.google.com/identity/protocols/oauth2#webserver" target="_blank">Web server application</a> and <a href="https://developers.google.com/identity/protocols/oauth2#serviceaccount" target="_blank">Service accounts</a> scenarios. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGoogleDirectoryGoogleCredentials._Deserializer.class) public class SourceGoogleDirectoryGoogleCredentials { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleDirectoryGoogleCredentials(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceGoogleDirectoryGoogleCredentials of(ServiceAccountKey value) /** * Returns an instance of one of these types: *

      - *
    • {@code SignInViaGoogleOAuth}
    • - *
    • {@code ServiceAccountKey}
    • + *
    • {@code com.airbyte.api.models.shared.SignInViaGoogleOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.ServiceAccountKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleDirectoryGoogleCredentials other = (SourceGoogleDirectoryGoogleCredentials) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleDirectoryGoogleCredentials.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleDirectoryGoogleCredentials.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectorySchemasCredentialsTitle.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectorySchemasCredentialsTitle.java index ffabf29f1..6e19c74cf 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectorySchemasCredentialsTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectorySchemasCredentialsTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceGoogleDirectorySchemasCredentialsTitle - Authentication Scenario diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDrive.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDrive.java index 74bf37514..e2d0841c1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDrive.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDrive.java @@ -1,26 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * SourceGoogleDrive - Used during spec; allows the developer to configure the cloud provider specific options * that are needed when users configure a file-based source. @@ -48,20 +47,20 @@ public class SourceGoogleDrive { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonProperty("streams") - private java.util.List streams; + private List streams; @JsonCreator public SourceGoogleDrive( @JsonProperty("credentials") SourceGoogleDriveAuthentication credentials, @JsonProperty("folder_url") String folderUrl, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("streams") java.util.List streams) { + @JsonProperty("start_date") Optional startDate, + @JsonProperty("streams") List streams) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(folderUrl, "folderUrl"); Utils.checkNotNull(startDate, "startDate"); @@ -76,7 +75,7 @@ public SourceGoogleDrive( public SourceGoogleDrive( SourceGoogleDriveAuthentication credentials, String folderUrl, - java.util.List streams) { + List streams) { this(credentials, folderUrl, Optional.empty(), streams); } @@ -104,17 +103,16 @@ public SourceGoogleDriveGoogleDrive sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonIgnore - public java.util.List streams() { + public List streams() { return streams; } @@ -152,7 +150,7 @@ public SourceGoogleDrive withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public SourceGoogleDrive withStartDate(Optional startDate) { + public SourceGoogleDrive withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -161,7 +159,7 @@ public SourceGoogleDrive withStartDate(Optional startD /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public SourceGoogleDrive withStreams(java.util.List streams) { + public SourceGoogleDrive withStreams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -177,16 +175,16 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDrive other = (SourceGoogleDrive) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.folderUrl, other.folderUrl) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.streams, other.streams); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.folderUrl, other.folderUrl) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.streams, other.streams); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, folderUrl, sourceType, @@ -210,9 +208,9 @@ public final static class Builder { private String folderUrl; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private java.util.List streams; + private List streams; private Builder() { // force use of static builder() method @@ -248,7 +246,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -257,7 +255,7 @@ public Builder startDate(Optional startDate) { /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public Builder streams(java.util.List streams) { + public Builder streams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthType.java index 6c30ffa0d..6cacdf92f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.java index 09f2a0a14..b2a2c1b36 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthenticateViaGoogleOAuth.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveAuthenticateViaGoogleOAuth { @JsonInclude(Include.NON_ABSENT) @@ -128,15 +129,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveAuthenticateViaGoogleOAuth other = (SourceGoogleDriveAuthenticateViaGoogleOAuth) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthentication.java index b11a48717..e80162e1a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGoogleDriveAuthentication - Credentials for connecting to the Google Drive API @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGoogleDriveAuthentication._Deserializer.class) public class SourceGoogleDriveAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleDriveAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceGoogleDriveAuthentication of(SourceGoogleDriveServiceAccount /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleDriveAuthenticateViaGoogleOAuth}
    • - *
    • {@code SourceGoogleDriveServiceAccountKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveAuthenticateViaGoogleOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveServiceAccountKeyAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleDriveAuthentication other = (SourceGoogleDriveAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleDriveAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleDriveAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAutogenerated.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAutogenerated.java index b7c0b08f9..c247afb82 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAutogenerated.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAutogenerated.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveAutogenerated { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveAutogenerated other = (SourceGoogleDriveAutogenerated) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAvroFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAvroFormat.java index d2364112c..dcbddf233 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAvroFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveAvroFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveAvroFormat { /** @@ -26,7 +28,7 @@ public class SourceGoogleDriveAvroFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_as_string") - private Optional doubleAsString; + private Optional doubleAsString; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceGoogleDriveAvroFormat { @JsonCreator public SourceGoogleDriveAvroFormat( - @JsonProperty("double_as_string") Optional doubleAsString) { + @JsonProperty("double_as_string") Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceGoogleDriveAvroFormat() { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleAsString() { - return (Optional) doubleAsString; + return doubleAsString; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceGoogleDriveAvroFormat withDoubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public SourceGoogleDriveAvroFormat withDoubleAsString(Optional doubleAsString) { + public SourceGoogleDriveAvroFormat withDoubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveAvroFormat other = (SourceGoogleDriveAvroFormat) o; return - java.util.Objects.deepEquals(this.doubleAsString, other.doubleAsString) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.doubleAsString, other.doubleAsString) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( doubleAsString, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional doubleAsString; + private Optional doubleAsString; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder doubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public Builder doubleAsString(Optional doubleAsString) { + public Builder doubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -138,16 +139,15 @@ public Builder doubleAsString(Optional doubleAsString) { public SourceGoogleDriveAvroFormat build() { if (doubleAsString == null) { doubleAsString = _SINGLETON_VALUE_DoubleAsString.value(); - } - return new SourceGoogleDriveAvroFormat( + } return new SourceGoogleDriveAvroFormat( doubleAsString); } - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = new LazySingletonValue<>( "double_as_string", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVFormat.java index cb3622afe..3e4588f08 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVFormat.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveCSVFormat { /** @@ -26,35 +30,35 @@ public class SourceGoogleDriveCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("delimiter") - private Optional delimiter; + private Optional delimiter; /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_quote") - private Optional doubleQuote; + private Optional doubleQuote; /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("encoding") - private Optional encoding; + private Optional encoding; /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("escape_char") - private Optional escapeChar; + private Optional escapeChar; /** * A set of case-sensitive strings that should be interpreted as false values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("false_values") - private Optional> falseValues; + private Optional> falseValues; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -72,65 +76,65 @@ public class SourceGoogleDriveCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ignore_errors_on_fields_mismatch") - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("null_values") - private Optional> nullValues; + private Optional> nullValues; /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("quote_char") - private Optional quoteChar; + private Optional quoteChar; /** * The number of rows to skip after the header row. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_after_header") - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_before_header") - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("strings_can_be_null") - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; /** * A set of case-sensitive strings that should be interpreted as true values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("true_values") - private Optional> trueValues; + private Optional> trueValues; @JsonCreator public SourceGoogleDriveCSVFormat( - @JsonProperty("delimiter") Optional delimiter, - @JsonProperty("double_quote") Optional doubleQuote, - @JsonProperty("encoding") Optional encoding, - @JsonProperty("escape_char") Optional escapeChar, - @JsonProperty("false_values") Optional> falseValues, + @JsonProperty("delimiter") Optional delimiter, + @JsonProperty("double_quote") Optional doubleQuote, + @JsonProperty("encoding") Optional encoding, + @JsonProperty("escape_char") Optional escapeChar, + @JsonProperty("false_values") Optional> falseValues, @JsonProperty("header_definition") Optional headerDefinition, - @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, - @JsonProperty("null_values") Optional> nullValues, - @JsonProperty("quote_char") Optional quoteChar, - @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, - @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, - @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, - @JsonProperty("true_values") Optional> trueValues) { + @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, + @JsonProperty("null_values") Optional> nullValues, + @JsonProperty("quote_char") Optional quoteChar, + @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, + @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, + @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, + @JsonProperty("true_values") Optional> trueValues) { Utils.checkNotNull(delimiter, "delimiter"); Utils.checkNotNull(doubleQuote, "doubleQuote"); Utils.checkNotNull(encoding, "encoding"); @@ -167,37 +171,33 @@ public SourceGoogleDriveCSVFormat() { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional delimiter() { - return (Optional) delimiter; + return delimiter; } /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleQuote() { - return (Optional) doubleQuote; + return doubleQuote; } /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional encoding() { - return (Optional) encoding; + return encoding; } /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional escapeChar() { - return (Optional) escapeChar; + return escapeChar; } /** @@ -205,8 +205,8 @@ public Optional escapeChar() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> falseValues() { - return (Optional>) falseValues; + public Optional> falseValues() { + return (Optional>) falseValues; } @SuppressWarnings("unchecked") @@ -227,10 +227,9 @@ public Optional headerDefinition() { /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreErrorsOnFieldsMismatch() { - return (Optional) ignoreErrorsOnFieldsMismatch; + return ignoreErrorsOnFieldsMismatch; } /** @@ -238,44 +237,40 @@ public Optional ignoreErrorsOnFieldsMismatch() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> nullValues() { - return (Optional>) nullValues; + public Optional> nullValues() { + return (Optional>) nullValues; } /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional quoteChar() { - return (Optional) quoteChar; + return quoteChar; } /** * The number of rows to skip after the header row. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsAfterHeader() { - return (Optional) skipRowsAfterHeader; + return skipRowsAfterHeader; } /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsBeforeHeader() { - return (Optional) skipRowsBeforeHeader; + return skipRowsBeforeHeader; } /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional stringsCanBeNull() { - return (Optional) stringsCanBeNull; + return stringsCanBeNull; } /** @@ -283,8 +278,8 @@ public Optional stringsCanBeNull() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> trueValues() { - return (Optional>) trueValues; + public Optional> trueValues() { + return (Optional>) trueValues; } public final static Builder builder() { @@ -303,7 +298,7 @@ public SourceGoogleDriveCSVFormat withDelimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public SourceGoogleDriveCSVFormat withDelimiter(Optional delimiter) { + public SourceGoogleDriveCSVFormat withDelimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -321,7 +316,7 @@ public SourceGoogleDriveCSVFormat withDoubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public SourceGoogleDriveCSVFormat withDoubleQuote(Optional doubleQuote) { + public SourceGoogleDriveCSVFormat withDoubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -339,7 +334,7 @@ public SourceGoogleDriveCSVFormat withEncoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public SourceGoogleDriveCSVFormat withEncoding(Optional encoding) { + public SourceGoogleDriveCSVFormat withEncoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -357,7 +352,7 @@ public SourceGoogleDriveCSVFormat withEscapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public SourceGoogleDriveCSVFormat withEscapeChar(Optional escapeChar) { + public SourceGoogleDriveCSVFormat withEscapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -366,7 +361,7 @@ public SourceGoogleDriveCSVFormat withEscapeChar(Optional esca /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceGoogleDriveCSVFormat withFalseValues(java.util.List falseValues) { + public SourceGoogleDriveCSVFormat withFalseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -375,7 +370,7 @@ public SourceGoogleDriveCSVFormat withFalseValues(java.util.List falseVa /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceGoogleDriveCSVFormat withFalseValues(Optional> falseValues) { + public SourceGoogleDriveCSVFormat withFalseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -411,7 +406,7 @@ public SourceGoogleDriveCSVFormat withIgnoreErrorsOnFieldsMismatch(boolean ignor /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public SourceGoogleDriveCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public SourceGoogleDriveCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -420,7 +415,7 @@ public SourceGoogleDriveCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional nullValues) { + public SourceGoogleDriveCSVFormat withNullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -429,7 +424,7 @@ public SourceGoogleDriveCSVFormat withNullValues(java.util.List nullValu /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public SourceGoogleDriveCSVFormat withNullValues(Optional> nullValues) { + public SourceGoogleDriveCSVFormat withNullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -447,7 +442,7 @@ public SourceGoogleDriveCSVFormat withQuoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public SourceGoogleDriveCSVFormat withQuoteChar(Optional quoteChar) { + public SourceGoogleDriveCSVFormat withQuoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -465,7 +460,7 @@ public SourceGoogleDriveCSVFormat withSkipRowsAfterHeader(long skipRowsAfterHead /** * The number of rows to skip after the header row. */ - public SourceGoogleDriveCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { + public SourceGoogleDriveCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -483,7 +478,7 @@ public SourceGoogleDriveCSVFormat withSkipRowsBeforeHeader(long skipRowsBeforeHe /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public SourceGoogleDriveCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public SourceGoogleDriveCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -501,7 +496,7 @@ public SourceGoogleDriveCSVFormat withStringsCanBeNull(boolean stringsCanBeNull) /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public SourceGoogleDriveCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { + public SourceGoogleDriveCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -510,7 +505,7 @@ public SourceGoogleDriveCSVFormat withStringsCanBeNull(Optional trueValues) { + public SourceGoogleDriveCSVFormat withTrueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -519,7 +514,7 @@ public SourceGoogleDriveCSVFormat withTrueValues(java.util.List trueValu /** * A set of case-sensitive strings that should be interpreted as true values. */ - public SourceGoogleDriveCSVFormat withTrueValues(Optional> trueValues) { + public SourceGoogleDriveCSVFormat withTrueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -535,25 +530,25 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveCSVFormat other = (SourceGoogleDriveCSVFormat) o; return - java.util.Objects.deepEquals(this.delimiter, other.delimiter) && - java.util.Objects.deepEquals(this.doubleQuote, other.doubleQuote) && - java.util.Objects.deepEquals(this.encoding, other.encoding) && - java.util.Objects.deepEquals(this.escapeChar, other.escapeChar) && - java.util.Objects.deepEquals(this.falseValues, other.falseValues) && - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.headerDefinition, other.headerDefinition) && - java.util.Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && - java.util.Objects.deepEquals(this.nullValues, other.nullValues) && - java.util.Objects.deepEquals(this.quoteChar, other.quoteChar) && - java.util.Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && - java.util.Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && - java.util.Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && - java.util.Objects.deepEquals(this.trueValues, other.trueValues); + Objects.deepEquals(this.delimiter, other.delimiter) && + Objects.deepEquals(this.doubleQuote, other.doubleQuote) && + Objects.deepEquals(this.encoding, other.encoding) && + Objects.deepEquals(this.escapeChar, other.escapeChar) && + Objects.deepEquals(this.falseValues, other.falseValues) && + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.headerDefinition, other.headerDefinition) && + Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && + Objects.deepEquals(this.nullValues, other.nullValues) && + Objects.deepEquals(this.quoteChar, other.quoteChar) && + Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && + Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && + Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && + Objects.deepEquals(this.trueValues, other.trueValues); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( delimiter, doubleQuote, encoding, @@ -591,31 +586,31 @@ public String toString() { public final static class Builder { - private Optional delimiter; + private Optional delimiter; - private Optional doubleQuote; + private Optional doubleQuote; - private Optional encoding; + private Optional encoding; - private Optional escapeChar = Optional.empty(); + private Optional escapeChar = Optional.empty(); - private Optional> falseValues = Optional.empty(); + private Optional> falseValues = Optional.empty(); private Optional headerDefinition = Optional.empty(); - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; - private Optional> nullValues = Optional.empty(); + private Optional> nullValues = Optional.empty(); - private Optional quoteChar; + private Optional quoteChar; - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; - private Optional> trueValues = Optional.empty(); + private Optional> trueValues = Optional.empty(); private Builder() { // force use of static builder() method @@ -633,7 +628,7 @@ public Builder delimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public Builder delimiter(Optional delimiter) { + public Builder delimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -651,7 +646,7 @@ public Builder doubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public Builder doubleQuote(Optional doubleQuote) { + public Builder doubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -669,7 +664,7 @@ public Builder encoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public Builder encoding(Optional encoding) { + public Builder encoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -687,7 +682,7 @@ public Builder escapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public Builder escapeChar(Optional escapeChar) { + public Builder escapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -696,7 +691,7 @@ public Builder escapeChar(Optional escapeChar) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(java.util.List falseValues) { + public Builder falseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -705,7 +700,7 @@ public Builder falseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(Optional> falseValues) { + public Builder falseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -741,7 +736,7 @@ public Builder ignoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMismatch /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -750,7 +745,7 @@ public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreEr /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(java.util.List nullValues) { + public Builder nullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -759,7 +754,7 @@ public Builder nullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(Optional> nullValues) { + public Builder nullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -777,7 +772,7 @@ public Builder quoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public Builder quoteChar(Optional quoteChar) { + public Builder quoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -795,7 +790,7 @@ public Builder skipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { + public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -813,7 +808,7 @@ public Builder skipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -831,7 +826,7 @@ public Builder stringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public Builder stringsCanBeNull(Optional stringsCanBeNull) { + public Builder stringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -840,7 +835,7 @@ public Builder stringsCanBeNull(Optional stringsCanBeNull) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(java.util.List trueValues) { + public Builder trueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -849,7 +844,7 @@ public Builder trueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(Optional> trueValues) { + public Builder trueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -879,8 +874,7 @@ public SourceGoogleDriveCSVFormat build() { } if (stringsCanBeNull == null) { stringsCanBeNull = _SINGLETON_VALUE_StringsCanBeNull.value(); - } - return new SourceGoogleDriveCSVFormat( + } return new SourceGoogleDriveCSVFormat( delimiter, doubleQuote, encoding, @@ -896,23 +890,23 @@ public SourceGoogleDriveCSVFormat build() { trueValues); } - private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = + private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = new LazySingletonValue<>( "delimiter", "\",\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = new LazySingletonValue<>( "double_quote", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = + private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = new LazySingletonValue<>( "encoding", "\"utf8\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( @@ -920,35 +914,35 @@ public SourceGoogleDriveCSVFormat build() { "\"csv\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = new LazySingletonValue<>( "ignore_errors_on_fields_mismatch", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = + private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = new LazySingletonValue<>( "quote_char", "\"\\\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = new LazySingletonValue<>( "skip_rows_after_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = new LazySingletonValue<>( "skip_rows_before_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = + private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = new LazySingletonValue<>( "strings_can_be_null", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVHeaderDefinition.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVHeaderDefinition.java index e5a23ef07..d496dced0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVHeaderDefinition.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveCSVHeaderDefinition.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGoogleDriveCSVHeaderDefinition - How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGoogleDriveCSVHeaderDefinition._Deserializer.class) public class SourceGoogleDriveCSVHeaderDefinition { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleDriveCSVHeaderDefinition(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceGoogleDriveCSVHeaderDefinition of(SourceGoogleDriveUserProvi /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleDriveFromCSV}
    • - *
    • {@code SourceGoogleDriveAutogenerated}
    • - *
    • {@code SourceGoogleDriveUserProvided}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveFromCSV}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveAutogenerated}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveUserProvided}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleDriveCSVHeaderDefinition other = (SourceGoogleDriveCSVHeaderDefinition) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleDriveCSVHeaderDefinition.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleDriveCSVHeaderDefinition.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.java index 7cfefe739..5db635f80 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveDocumentFileTypeFormatExperimental.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceGoogleDriveDocumentFileTypeFormatExperimental - Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. */ @@ -40,7 +42,7 @@ public class SourceGoogleDriveDocumentFileTypeFormatExperimental { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_unprocessable_files") - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; /** * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf @@ -52,7 +54,7 @@ public class SourceGoogleDriveDocumentFileTypeFormatExperimental { @JsonCreator public SourceGoogleDriveDocumentFileTypeFormatExperimental( @JsonProperty("processing") Optional processing, - @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, + @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, @JsonProperty("strategy") Optional strategy) { Utils.checkNotNull(processing, "processing"); Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); @@ -85,10 +87,9 @@ public Optional processing() { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipUnprocessableFiles() { - return (Optional) skipUnprocessableFiles; + return skipUnprocessableFiles; } /** @@ -134,7 +135,7 @@ public SourceGoogleDriveDocumentFileTypeFormatExperimental withSkipUnprocessable /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public SourceGoogleDriveDocumentFileTypeFormatExperimental withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { + public SourceGoogleDriveDocumentFileTypeFormatExperimental withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -168,15 +169,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveDocumentFileTypeFormatExperimental other = (SourceGoogleDriveDocumentFileTypeFormatExperimental) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.processing, other.processing) && - java.util.Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && - java.util.Objects.deepEquals(this.strategy, other.strategy); + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.processing, other.processing) && + Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && + Objects.deepEquals(this.strategy, other.strategy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype, processing, skipUnprocessableFiles, @@ -196,7 +197,7 @@ public final static class Builder { private Optional processing = Optional.empty(); - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; private Optional strategy; @@ -234,7 +235,7 @@ public Builder skipUnprocessableFiles(boolean skipUnprocessableFiles) { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { + public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -264,8 +265,7 @@ public SourceGoogleDriveDocumentFileTypeFormatExperimental build() { } if (strategy == null) { strategy = _SINGLETON_VALUE_Strategy.value(); - } - return new SourceGoogleDriveDocumentFileTypeFormatExperimental( + } return new SourceGoogleDriveDocumentFileTypeFormatExperimental( processing, skipUnprocessableFiles, strategy); @@ -277,11 +277,11 @@ public SourceGoogleDriveDocumentFileTypeFormatExperimental build() { "\"unstructured\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = new LazySingletonValue<>( "skip_unprocessable_files", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Strategy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFileBasedStreamConfig.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFileBasedStreamConfig.java index 63ee5c3f8..35a38db61 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFileBasedStreamConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFileBasedStreamConfig.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveFileBasedStreamConfig { /** @@ -26,7 +30,7 @@ public class SourceGoogleDriveFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("days_to_sync_if_history_is_full") - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; /** * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -39,14 +43,14 @@ public class SourceGoogleDriveFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("globs") - private Optional> globs; + private Optional> globs; /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("input_schema") - private Optional inputSchema; + private Optional inputSchema; /** * The name of the stream. @@ -59,7 +63,7 @@ public class SourceGoogleDriveFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemaless") - private Optional schemaless; + private Optional schemaless; /** * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. @@ -70,12 +74,12 @@ public class SourceGoogleDriveFileBasedStreamConfig { @JsonCreator public SourceGoogleDriveFileBasedStreamConfig( - @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, + @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, @JsonProperty("format") SourceGoogleDriveFormat format, - @JsonProperty("globs") Optional> globs, - @JsonProperty("input_schema") Optional inputSchema, + @JsonProperty("globs") Optional> globs, + @JsonProperty("input_schema") Optional inputSchema, @JsonProperty("name") String name, - @JsonProperty("schemaless") Optional schemaless, + @JsonProperty("schemaless") Optional schemaless, @JsonProperty("validation_policy") Optional validationPolicy) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); Utils.checkNotNull(format, "format"); @@ -102,10 +106,9 @@ public SourceGoogleDriveFileBasedStreamConfig( /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional daysToSyncIfHistoryIsFull() { - return (Optional) daysToSyncIfHistoryIsFull; + return daysToSyncIfHistoryIsFull; } /** @@ -121,17 +124,16 @@ public SourceGoogleDriveFormat format() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> globs() { - return (Optional>) globs; + public Optional> globs() { + return (Optional>) globs; } /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional inputSchema() { - return (Optional) inputSchema; + return inputSchema; } /** @@ -145,10 +147,9 @@ public String name() { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schemaless() { - return (Optional) schemaless; + return schemaless; } /** @@ -176,7 +177,7 @@ public SourceGoogleDriveFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(long /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public SourceGoogleDriveFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public SourceGoogleDriveFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -194,7 +195,7 @@ public SourceGoogleDriveFileBasedStreamConfig withFormat(SourceGoogleDriveFormat /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceGoogleDriveFileBasedStreamConfig withGlobs(java.util.List globs) { + public SourceGoogleDriveFileBasedStreamConfig withGlobs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -203,7 +204,7 @@ public SourceGoogleDriveFileBasedStreamConfig withGlobs(java.util.List g /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceGoogleDriveFileBasedStreamConfig withGlobs(Optional> globs) { + public SourceGoogleDriveFileBasedStreamConfig withGlobs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -221,7 +222,7 @@ public SourceGoogleDriveFileBasedStreamConfig withInputSchema(String inputSchema /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public SourceGoogleDriveFileBasedStreamConfig withInputSchema(Optional inputSchema) { + public SourceGoogleDriveFileBasedStreamConfig withInputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -248,7 +249,7 @@ public SourceGoogleDriveFileBasedStreamConfig withSchemaless(boolean schemaless) /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public SourceGoogleDriveFileBasedStreamConfig withSchemaless(Optional schemaless) { + public SourceGoogleDriveFileBasedStreamConfig withSchemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -282,18 +283,18 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveFileBasedStreamConfig other = (SourceGoogleDriveFileBasedStreamConfig) o; return - java.util.Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.globs, other.globs) && - java.util.Objects.deepEquals(this.inputSchema, other.inputSchema) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.schemaless, other.schemaless) && - java.util.Objects.deepEquals(this.validationPolicy, other.validationPolicy); + Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.globs, other.globs) && + Objects.deepEquals(this.inputSchema, other.inputSchema) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.schemaless, other.schemaless) && + Objects.deepEquals(this.validationPolicy, other.validationPolicy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( daysToSyncIfHistoryIsFull, format, globs, @@ -317,17 +318,17 @@ public String toString() { public final static class Builder { - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; private SourceGoogleDriveFormat format; - private Optional> globs = Optional.empty(); + private Optional> globs = Optional.empty(); - private Optional inputSchema = Optional.empty(); + private Optional inputSchema = Optional.empty(); private String name; - private Optional schemaless; + private Optional schemaless; private Optional validationPolicy; @@ -347,7 +348,7 @@ public Builder daysToSyncIfHistoryIsFull(long daysToSyncIfHistoryIsFull) { /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -365,7 +366,7 @@ public Builder format(SourceGoogleDriveFormat format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(java.util.List globs) { + public Builder globs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -374,7 +375,7 @@ public Builder globs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(Optional> globs) { + public Builder globs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -392,7 +393,7 @@ public Builder inputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public Builder inputSchema(Optional inputSchema) { + public Builder inputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -419,7 +420,7 @@ public Builder schemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public Builder schemaless(Optional schemaless) { + public Builder schemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -452,8 +453,7 @@ public SourceGoogleDriveFileBasedStreamConfig build() { } if (validationPolicy == null) { validationPolicy = _SINGLETON_VALUE_ValidationPolicy.value(); - } - return new SourceGoogleDriveFileBasedStreamConfig( + } return new SourceGoogleDriveFileBasedStreamConfig( daysToSyncIfHistoryIsFull, format, globs, @@ -463,17 +463,17 @@ public SourceGoogleDriveFileBasedStreamConfig build() { validationPolicy); } - private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = + private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = new LazySingletonValue<>( "days_to_sync_if_history_is_full", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = + private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = new LazySingletonValue<>( "schemaless", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_ValidationPolicy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFiletype.java index 1b3e5bc6a..69dc2964c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveFiletype { AVRO("avro"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFormat.java index 2b66458f2..79a2e1984 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFormat.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGoogleDriveFormat - The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGoogleDriveFormat._Deserializer.class) public class SourceGoogleDriveFormat { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleDriveFormat(TypedObject value) { @@ -63,11 +60,11 @@ public static SourceGoogleDriveFormat of(SourceGoogleDriveDocumentFileTypeFormat /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleDriveAvroFormat}
    • - *
    • {@code SourceGoogleDriveCSVFormat}
    • - *
    • {@code SourceGoogleDriveJsonlFormat}
    • - *
    • {@code SourceGoogleDriveParquetFormat}
    • - *
    • {@code SourceGoogleDriveDocumentFileTypeFormatExperimental}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveAvroFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveCSVFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveJsonlFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveParquetFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveDocumentFileTypeFormatExperimental}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +91,24 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleDriveFormat other = (SourceGoogleDriveFormat) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleDriveFormat.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleDriveFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFromCSV.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFromCSV.java index d7b3441ff..4185e79f4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFromCSV.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveFromCSV.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveFromCSV { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveFromCSV other = (SourceGoogleDriveFromCSV) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveGoogleDrive.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveGoogleDrive.java index b1e355aa8..af97824c2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveGoogleDrive.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveGoogleDrive.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveGoogleDrive { GOOGLE_DRIVE("google-drive"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveHeaderDefinitionType.java index 617700bb2..053008499 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveHeaderDefinitionType { FROM_CSV("From CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveJsonlFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveJsonlFormat.java index 59d658974..8dc026c48 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveJsonlFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveJsonlFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveJsonlFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveJsonlFormat other = (SourceGoogleDriveJsonlFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveLocal.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveLocal.java index 4733276db..56034aa78 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveLocal.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveLocal.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceGoogleDriveLocal - Process files locally, supporting `fast` and `ocr` modes. This is the default option. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveLocal other = (SourceGoogleDriveLocal) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveMode.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveMode.java index b7bb6e959..32dd640bc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveMode { LOCAL("local"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParquetFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParquetFormat.java index 634a7ec7e..32f054a0c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParquetFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParquetFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveParquetFormat { /** @@ -26,7 +28,7 @@ public class SourceGoogleDriveParquetFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("decimal_as_float") - private Optional decimalAsFloat; + private Optional decimalAsFloat; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceGoogleDriveParquetFormat { @JsonCreator public SourceGoogleDriveParquetFormat( - @JsonProperty("decimal_as_float") Optional decimalAsFloat) { + @JsonProperty("decimal_as_float") Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceGoogleDriveParquetFormat() { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional decimalAsFloat() { - return (Optional) decimalAsFloat; + return decimalAsFloat; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceGoogleDriveParquetFormat withDecimalAsFloat(boolean decimalAsFloat) /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public SourceGoogleDriveParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { + public SourceGoogleDriveParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveParquetFormat other = (SourceGoogleDriveParquetFormat) o; return - java.util.Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( decimalAsFloat, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional decimalAsFloat; + private Optional decimalAsFloat; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder decimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public Builder decimalAsFloat(Optional decimalAsFloat) { + public Builder decimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -138,16 +139,15 @@ public Builder decimalAsFloat(Optional decimalAsFloat) { public SourceGoogleDriveParquetFormat build() { if (decimalAsFloat == null) { decimalAsFloat = _SINGLETON_VALUE_DecimalAsFloat.value(); - } - return new SourceGoogleDriveParquetFormat( + } return new SourceGoogleDriveParquetFormat( decimalAsFloat); } - private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = + private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = new LazySingletonValue<>( "decimal_as_float", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParsingStrategy.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParsingStrategy.java index c71c3e4b1..cc3bfb622 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParsingStrategy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveParsingStrategy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceGoogleDriveParsingStrategy - The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveProcessing.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveProcessing.java index 4afef067c..588ea0f6c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveProcessing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveProcessing.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGoogleDriveProcessing - Processing configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGoogleDriveProcessing._Deserializer.class) public class SourceGoogleDriveProcessing { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleDriveProcessing(TypedObject value) { @@ -43,7 +40,7 @@ public static SourceGoogleDriveProcessing of(SourceGoogleDriveLocal value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleDriveLocal}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleDriveLocal}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -70,20 +67,20 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleDriveProcessing other = (SourceGoogleDriveProcessing) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleDriveProcessing.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleDriveProcessing.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasAuthType.java index 198fe6f47..16ef00d33 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveSchemasAuthType { SERVICE("Service"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasFiletype.java index 6c8070579..f82af6f8b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveSchemasFiletype { CSV("csv"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.java index 3a8082639..c14aeb7fc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveSchemasHeaderDefinitionType { AUTOGENERATED("Autogenerated"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFiletype.java index 27ba99d1a..6a8af0f76 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveSchemasStreamsFiletype { JSONL("jsonl"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.java index ac08dc1ed..6375a6009 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveSchemasStreamsFormatFiletype { PARQUET("parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.java index 5569f9bd6..67eb3ec1b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsFormatFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveSchemasStreamsFormatFormatFiletype { UNSTRUCTURED("unstructured"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsHeaderDefinitionType.java index 5b2988640..fe6b2dcdb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveSchemasStreamsHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleDriveSchemasStreamsHeaderDefinitionType { USER_PROVIDED("User Provided"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.java index e82bdfa46..2b216a16a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveServiceAccountKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveServiceAccountKeyAuthentication { @JsonInclude(Include.NON_ABSENT) @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveServiceAccountKeyAuthentication other = (SourceGoogleDriveServiceAccountKeyAuthentication) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.serviceAccountInfo, other.serviceAccountInfo); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.serviceAccountInfo, other.serviceAccountInfo); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, serviceAccountInfo); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveUserProvided.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveUserProvided.java index 89bced924..03b4c3f99 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveUserProvided.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveUserProvided.java @@ -1,31 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleDriveUserProvided { /** * The column names that will be used while emitting the CSV records */ @JsonProperty("column_names") - private java.util.List columnNames; + private List columnNames; @JsonInclude(Include.NON_ABSENT) @JsonProperty("header_definition_type") @@ -33,7 +35,7 @@ public class SourceGoogleDriveUserProvided { @JsonCreator public SourceGoogleDriveUserProvided( - @JsonProperty("column_names") java.util.List columnNames) { + @JsonProperty("column_names") List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); @@ -43,7 +45,7 @@ public SourceGoogleDriveUserProvided( * The column names that will be used while emitting the CSV records */ @JsonIgnore - public java.util.List columnNames() { + public List columnNames() { return columnNames; } @@ -60,7 +62,7 @@ public final static Builder builder() { /** * The column names that will be used while emitting the CSV records */ - public SourceGoogleDriveUserProvided withColumnNames(java.util.List columnNames) { + public SourceGoogleDriveUserProvided withColumnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; @@ -76,13 +78,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleDriveUserProvided other = (SourceGoogleDriveUserProvided) o; return - java.util.Objects.deepEquals(this.columnNames, other.columnNames) && - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.columnNames, other.columnNames) && + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( columnNames, headerDefinitionType); } @@ -96,7 +98,7 @@ public String toString() { public final static class Builder { - private java.util.List columnNames; + private List columnNames; private Builder() { // force use of static builder() method @@ -105,7 +107,7 @@ private Builder() { /** * The column names that will be used while emitting the CSV records */ - public Builder columnNames(java.util.List columnNames) { + public Builder columnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveValidationPolicy.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveValidationPolicy.java index 5696ed2ed..17f4255d5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveValidationPolicy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleDriveValidationPolicy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceGoogleDriveValidationPolicy - The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleForms.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleForms.java new file mode 100644 index 000000000..035240e20 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleForms.java @@ -0,0 +1,198 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public class SourceGoogleForms { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token") + private String clientRefreshToken; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("form_id") + private List formId; + + @JsonProperty("sourceType") + private GoogleForms sourceType; + + @JsonCreator + public SourceGoogleForms( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token") String clientRefreshToken, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("form_id") List formId) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(formId, "formId"); + this.clientId = clientId; + this.clientRefreshToken = clientRefreshToken; + this.clientSecret = clientSecret; + this.formId = formId; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken() { + return clientRefreshToken; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public List formId() { + return formId; + } + + @JsonIgnore + public GoogleForms sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceGoogleForms withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceGoogleForms withClientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public SourceGoogleForms withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceGoogleForms withFormId(List formId) { + Utils.checkNotNull(formId, "formId"); + this.formId = formId; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGoogleForms other = (SourceGoogleForms) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken, other.clientRefreshToken) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.formId, other.formId) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientRefreshToken, + clientSecret, + formId, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceGoogleForms.class, + "clientId", clientId, + "clientRefreshToken", clientRefreshToken, + "clientSecret", clientSecret, + "formId", formId, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientRefreshToken; + + private String clientSecret; + + private List formId; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder formId(List formId) { + Utils.checkNotNull(formId, "formId"); + this.formId = formId; + return this; + } + + public SourceGoogleForms build() { + return new SourceGoogleForms( + clientId, + clientRefreshToken, + clientSecret, + formId); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"google-forms\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java b/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java index aa8df744d..a4b45f33d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGooglePagespeedInsights { /** @@ -26,13 +27,13 @@ public class SourceGooglePagespeedInsights { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * Defines which Lighthouse category to run. One or many of: "accessibility", "best-practices", "performance", "pwa", "seo". */ @JsonProperty("categories") - private java.util.List categories; + private List categories; @JsonProperty("sourceType") private GooglePagespeedInsights sourceType; @@ -41,20 +42,20 @@ public class SourceGooglePagespeedInsights { * The analyses strategy to use. Either "desktop" or "mobile". */ @JsonProperty("strategies") - private java.util.List strategies; + private List strategies; /** * The URLs to retrieve pagespeed information from. The connector will attempt to sync PageSpeed reports for all the defined URLs. Format: https://(www.)url.domain */ @JsonProperty("urls") - private java.util.List urls; + private List urls; @JsonCreator public SourceGooglePagespeedInsights( - @JsonProperty("api_key") Optional apiKey, - @JsonProperty("categories") java.util.List categories, - @JsonProperty("strategies") java.util.List strategies, - @JsonProperty("urls") java.util.List urls) { + @JsonProperty("api_key") Optional apiKey, + @JsonProperty("categories") List categories, + @JsonProperty("strategies") List strategies, + @JsonProperty("urls") List urls) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(categories, "categories"); Utils.checkNotNull(strategies, "strategies"); @@ -67,26 +68,25 @@ public SourceGooglePagespeedInsights( } public SourceGooglePagespeedInsights( - java.util.List categories, - java.util.List strategies, - java.util.List urls) { + List categories, + List strategies, + List urls) { this(Optional.empty(), categories, strategies, urls); } /** * Google PageSpeed API Key. See <a href="https://developers.google.com/speed/docs/insights/v5/get-started#APIKey">here</a>. The key is optional - however the API is heavily rate limited when using without API Key. Creating and using the API key therefore is recommended. The key is case sensitive. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** * Defines which Lighthouse category to run. One or many of: "accessibility", "best-practices", "performance", "pwa", "seo". */ @JsonIgnore - public java.util.List categories() { + public List categories() { return categories; } @@ -99,7 +99,7 @@ public GooglePagespeedInsights sourceType() { * The analyses strategy to use. Either "desktop" or "mobile". */ @JsonIgnore - public java.util.List strategies() { + public List strategies() { return strategies; } @@ -107,7 +107,7 @@ public java.util.List strategies() { * The URLs to retrieve pagespeed information from. The connector will attempt to sync PageSpeed reports for all the defined URLs. Format: https://(www.)url.domain */ @JsonIgnore - public java.util.List urls() { + public List urls() { return urls; } @@ -127,7 +127,7 @@ public SourceGooglePagespeedInsights withApiKey(String apiKey) { /** * Google PageSpeed API Key. See <a href="https://developers.google.com/speed/docs/insights/v5/get-started#APIKey">here</a>. The key is optional - however the API is heavily rate limited when using without API Key. Creating and using the API key therefore is recommended. The key is case sensitive. */ - public SourceGooglePagespeedInsights withApiKey(Optional apiKey) { + public SourceGooglePagespeedInsights withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -136,7 +136,7 @@ public SourceGooglePagespeedInsights withApiKey(Optional apiKe /** * Defines which Lighthouse category to run. One or many of: "accessibility", "best-practices", "performance", "pwa", "seo". */ - public SourceGooglePagespeedInsights withCategories(java.util.List categories) { + public SourceGooglePagespeedInsights withCategories(List categories) { Utils.checkNotNull(categories, "categories"); this.categories = categories; return this; @@ -145,7 +145,7 @@ public SourceGooglePagespeedInsights withCategories(java.util.List c /** * The analyses strategy to use. Either "desktop" or "mobile". */ - public SourceGooglePagespeedInsights withStrategies(java.util.List strategies) { + public SourceGooglePagespeedInsights withStrategies(List strategies) { Utils.checkNotNull(strategies, "strategies"); this.strategies = strategies; return this; @@ -154,7 +154,7 @@ public SourceGooglePagespeedInsights withStrategies(java.util.List s /** * The URLs to retrieve pagespeed information from. The connector will attempt to sync PageSpeed reports for all the defined URLs. Format: https://(www.)url.domain */ - public SourceGooglePagespeedInsights withUrls(java.util.List urls) { + public SourceGooglePagespeedInsights withUrls(List urls) { Utils.checkNotNull(urls, "urls"); this.urls = urls; return this; @@ -170,16 +170,16 @@ public boolean equals(java.lang.Object o) { } SourceGooglePagespeedInsights other = (SourceGooglePagespeedInsights) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.categories, other.categories) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.strategies, other.strategies) && - java.util.Objects.deepEquals(this.urls, other.urls); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.categories, other.categories) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.strategies, other.strategies) && + Objects.deepEquals(this.urls, other.urls); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, categories, sourceType, @@ -199,13 +199,13 @@ public String toString() { public final static class Builder { - private Optional apiKey = Optional.empty(); + private Optional apiKey = Optional.empty(); - private java.util.List categories; + private List categories; - private java.util.List strategies; + private List strategies; - private java.util.List urls; + private List urls; private Builder() { // force use of static builder() method @@ -223,7 +223,7 @@ public Builder apiKey(String apiKey) { /** * Google PageSpeed API Key. See <a href="https://developers.google.com/speed/docs/insights/v5/get-started#APIKey">here</a>. The key is optional - however the API is heavily rate limited when using without API Key. Creating and using the API key therefore is recommended. The key is case sensitive. */ - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -232,7 +232,7 @@ public Builder apiKey(Optional apiKey) { /** * Defines which Lighthouse category to run. One or many of: "accessibility", "best-practices", "performance", "pwa", "seo". */ - public Builder categories(java.util.List categories) { + public Builder categories(List categories) { Utils.checkNotNull(categories, "categories"); this.categories = categories; return this; @@ -241,7 +241,7 @@ public Builder categories(java.util.List categories) { /** * The analyses strategy to use. Either "desktop" or "mobile". */ - public Builder strategies(java.util.List strategies) { + public Builder strategies(List strategies) { Utils.checkNotNull(strategies, "strategies"); this.strategies = strategies; return this; @@ -250,7 +250,7 @@ public Builder strategies(java.util.List strategies) { /** * The URLs to retrieve pagespeed information from. The connector will attempt to sync PageSpeed reports for all the defined URLs. Format: https://(www.)url.domain */ - public Builder urls(java.util.List urls) { + public Builder urls(List urls) { Utils.checkNotNull(urls, "urls"); this.urls = urls; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java index 1374dea3c..2c1657675 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java @@ -1,25 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleSearchConsole { @JsonProperty("authorization") @@ -30,7 +32,7 @@ public class SourceGoogleSearchConsole { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("custom_reports_array") - private Optional> customReportsArray; + private Optional> customReportsArray; /** * If set to 'final', the returned data will include only finalized, stable data. If set to 'all', fresh data will be included. When using Incremental sync mode, we do not recommend setting this parameter to 'all' as it may cause data loss. More information can be found in our <a href='https://docs.airbyte.com/integrations/source/google-search-console'>full documentation</a>. @@ -44,13 +46,13 @@ public class SourceGoogleSearchConsole { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * The URLs of the website property attached to your GSC account. Learn more about properties <a href="https://support.google.com/webmasters/answer/34592?hl=en">here</a>. */ @JsonProperty("site_urls") - private java.util.List siteUrls; + private List siteUrls; @JsonProperty("sourceType") private SourceGoogleSearchConsoleGoogleSearchConsole sourceType; @@ -60,16 +62,16 @@ public class SourceGoogleSearchConsole { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceGoogleSearchConsole( @JsonProperty("authorization") AuthenticationType authorization, - @JsonProperty("custom_reports_array") Optional> customReportsArray, + @JsonProperty("custom_reports_array") Optional> customReportsArray, @JsonProperty("data_state") Optional dataState, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("site_urls") java.util.List siteUrls, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("end_date") Optional endDate, + @JsonProperty("site_urls") List siteUrls, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(authorization, "authorization"); Utils.checkNotNull(customReportsArray, "customReportsArray"); Utils.checkNotNull(dataState, "dataState"); @@ -87,7 +89,7 @@ public SourceGoogleSearchConsole( public SourceGoogleSearchConsole( AuthenticationType authorization, - java.util.List siteUrls) { + List siteUrls) { this(authorization, Optional.empty(), Optional.empty(), Optional.empty(), siteUrls, Optional.empty()); } @@ -101,8 +103,8 @@ public AuthenticationType authorization() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> customReportsArray() { - return (Optional>) customReportsArray; + public Optional> customReportsArray() { + return (Optional>) customReportsArray; } /** @@ -117,17 +119,16 @@ public Optional dataState() { /** * UTC date in the format YYYY-MM-DD. Any data created after this date will not be replicated. Must be greater or equal to the start date field. Leaving this field blank will replicate all data from the start date onward. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** * The URLs of the website property attached to your GSC account. Learn more about properties <a href="https://support.google.com/webmasters/answer/34592?hl=en">here</a>. */ @JsonIgnore - public java.util.List siteUrls() { + public List siteUrls() { return siteUrls; } @@ -139,10 +140,9 @@ public SourceGoogleSearchConsoleGoogleSearchConsole sourceType() { /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -158,7 +158,7 @@ public SourceGoogleSearchConsole withAuthorization(AuthenticationType authorizat /** * You can add your Custom Analytics report by creating one. */ - public SourceGoogleSearchConsole withCustomReportsArray(java.util.List customReportsArray) { + public SourceGoogleSearchConsole withCustomReportsArray(List customReportsArray) { Utils.checkNotNull(customReportsArray, "customReportsArray"); this.customReportsArray = Optional.ofNullable(customReportsArray); return this; @@ -167,7 +167,7 @@ public SourceGoogleSearchConsole withCustomReportsArray(java.util.List> customReportsArray) { + public SourceGoogleSearchConsole withCustomReportsArray(Optional> customReportsArray) { Utils.checkNotNull(customReportsArray, "customReportsArray"); this.customReportsArray = customReportsArray; return this; @@ -203,7 +203,7 @@ public SourceGoogleSearchConsole withEndDate(LocalDate endDate) { /** * UTC date in the format YYYY-MM-DD. Any data created after this date will not be replicated. Must be greater or equal to the start date field. Leaving this field blank will replicate all data from the start date onward. */ - public SourceGoogleSearchConsole withEndDate(Optional endDate) { + public SourceGoogleSearchConsole withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -212,7 +212,7 @@ public SourceGoogleSearchConsole withEndDate(Optional endDa /** * The URLs of the website property attached to your GSC account. Learn more about properties <a href="https://support.google.com/webmasters/answer/34592?hl=en">here</a>. */ - public SourceGoogleSearchConsole withSiteUrls(java.util.List siteUrls) { + public SourceGoogleSearchConsole withSiteUrls(List siteUrls) { Utils.checkNotNull(siteUrls, "siteUrls"); this.siteUrls = siteUrls; return this; @@ -230,7 +230,7 @@ public SourceGoogleSearchConsole withStartDate(LocalDate startDate) { /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. */ - public SourceGoogleSearchConsole withStartDate(Optional startDate) { + public SourceGoogleSearchConsole withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -246,18 +246,18 @@ public boolean equals(java.lang.Object o) { } SourceGoogleSearchConsole other = (SourceGoogleSearchConsole) o; return - java.util.Objects.deepEquals(this.authorization, other.authorization) && - java.util.Objects.deepEquals(this.customReportsArray, other.customReportsArray) && - java.util.Objects.deepEquals(this.dataState, other.dataState) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.siteUrls, other.siteUrls) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.authorization, other.authorization) && + Objects.deepEquals(this.customReportsArray, other.customReportsArray) && + Objects.deepEquals(this.dataState, other.dataState) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.siteUrls, other.siteUrls) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authorization, customReportsArray, dataState, @@ -283,15 +283,15 @@ public final static class Builder { private AuthenticationType authorization; - private Optional> customReportsArray = Optional.empty(); + private Optional> customReportsArray = Optional.empty(); private Optional dataState; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private java.util.List siteUrls; + private List siteUrls; - private Optional startDate; + private Optional startDate; private Builder() { // force use of static builder() method @@ -306,7 +306,7 @@ public Builder authorization(AuthenticationType authorization) { /** * You can add your Custom Analytics report by creating one. */ - public Builder customReportsArray(java.util.List customReportsArray) { + public Builder customReportsArray(List customReportsArray) { Utils.checkNotNull(customReportsArray, "customReportsArray"); this.customReportsArray = Optional.ofNullable(customReportsArray); return this; @@ -315,7 +315,7 @@ public Builder customReportsArray(java.util.List> customReportsArray) { + public Builder customReportsArray(Optional> customReportsArray) { Utils.checkNotNull(customReportsArray, "customReportsArray"); this.customReportsArray = customReportsArray; return this; @@ -351,7 +351,7 @@ public Builder endDate(LocalDate endDate) { /** * UTC date in the format YYYY-MM-DD. Any data created after this date will not be replicated. Must be greater or equal to the start date field. Leaving this field blank will replicate all data from the start date onward. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -360,7 +360,7 @@ public Builder endDate(Optional endDate) { /** * The URLs of the website property attached to your GSC account. Learn more about properties <a href="https://support.google.com/webmasters/answer/34592?hl=en">here</a>. */ - public Builder siteUrls(java.util.List siteUrls) { + public Builder siteUrls(List siteUrls) { Utils.checkNotNull(siteUrls, "siteUrls"); this.siteUrls = siteUrls; return this; @@ -378,7 +378,7 @@ public Builder startDate(LocalDate startDate) { /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -390,8 +390,7 @@ public SourceGoogleSearchConsole build() { } if (startDate == null) { startDate = _SINGLETON_VALUE_StartDate.value(); - } - return new SourceGoogleSearchConsole( + } return new SourceGoogleSearchConsole( authorization, customReportsArray, dataState, @@ -412,11 +411,11 @@ public SourceGoogleSearchConsole build() { "\"google-search-console\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2021-01-01\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthType.java index d2d967530..5cb03b843 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleSearchConsoleAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleCustomReportConfig.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleCustomReportConfig.java index bb2158481..4b0cafc4b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleCustomReportConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleCustomReportConfig.java @@ -1,19 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class SourceGoogleSearchConsoleCustomReportConfig { @@ -21,7 +21,7 @@ public class SourceGoogleSearchConsoleCustomReportConfig { * A list of available dimensions. Please note, that for technical reasons `date` is the default dimension which will be included in your query whether you specify it or not. Primary key will consist of your custom dimensions and the default dimension along with `site_url` and `search_type`. */ @JsonProperty("dimensions") - private java.util.List dimensions; + private List dimensions; /** * The name of the custom report, this name would be used as stream name @@ -31,7 +31,7 @@ public class SourceGoogleSearchConsoleCustomReportConfig { @JsonCreator public SourceGoogleSearchConsoleCustomReportConfig( - @JsonProperty("dimensions") java.util.List dimensions, + @JsonProperty("dimensions") List dimensions, @JsonProperty("name") String name) { Utils.checkNotNull(dimensions, "dimensions"); Utils.checkNotNull(name, "name"); @@ -43,7 +43,7 @@ public SourceGoogleSearchConsoleCustomReportConfig( * A list of available dimensions. Please note, that for technical reasons `date` is the default dimension which will be included in your query whether you specify it or not. Primary key will consist of your custom dimensions and the default dimension along with `site_url` and `search_type`. */ @JsonIgnore - public java.util.List dimensions() { + public List dimensions() { return dimensions; } @@ -62,7 +62,7 @@ public final static Builder builder() { /** * A list of available dimensions. Please note, that for technical reasons `date` is the default dimension which will be included in your query whether you specify it or not. Primary key will consist of your custom dimensions and the default dimension along with `site_url` and `search_type`. */ - public SourceGoogleSearchConsoleCustomReportConfig withDimensions(java.util.List dimensions) { + public SourceGoogleSearchConsoleCustomReportConfig withDimensions(List dimensions) { Utils.checkNotNull(dimensions, "dimensions"); this.dimensions = dimensions; return this; @@ -87,13 +87,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleSearchConsoleCustomReportConfig other = (SourceGoogleSearchConsoleCustomReportConfig) o; return - java.util.Objects.deepEquals(this.dimensions, other.dimensions) && - java.util.Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.dimensions, other.dimensions) && + Objects.deepEquals(this.name, other.name); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( dimensions, name); } @@ -107,7 +107,7 @@ public String toString() { public final static class Builder { - private java.util.List dimensions; + private List dimensions; private String name; @@ -118,7 +118,7 @@ private Builder() { /** * A list of available dimensions. Please note, that for technical reasons `date` is the default dimension which will be included in your query whether you specify it or not. Primary key will consist of your custom dimensions and the default dimension along with `site_url` and `search_type`. */ - public Builder dimensions(java.util.List dimensions) { + public Builder dimensions(List dimensions) { Utils.checkNotNull(dimensions, "dimensions"); this.dimensions = dimensions; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.java index 797777748..bc5914a89 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleSearchConsoleGoogleSearchConsole { GOOGLE_SEARCH_CONSOLE("google-search-console"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleOAuth.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleOAuth.java index 92b407365..081a6cc63 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleOAuth.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleSearchConsoleOAuth { /** @@ -26,7 +26,7 @@ public class SourceGoogleSearchConsoleOAuth { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_token") - private Optional accessToken; + private Optional accessToken; @JsonProperty("auth_type") private SourceGoogleSearchConsoleAuthType authType; @@ -51,7 +51,7 @@ public class SourceGoogleSearchConsoleOAuth { @JsonCreator public SourceGoogleSearchConsoleOAuth( - @JsonProperty("access_token") Optional accessToken, + @JsonProperty("access_token") Optional accessToken, @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, @JsonProperty("refresh_token") String refreshToken) { @@ -76,10 +76,9 @@ public SourceGoogleSearchConsoleOAuth( /** * Access token for making authenticated requests. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessToken() { - return (Optional) accessToken; + return accessToken; } @JsonIgnore @@ -127,7 +126,7 @@ public SourceGoogleSearchConsoleOAuth withAccessToken(String accessToken) { /** * Access token for making authenticated requests. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ - public SourceGoogleSearchConsoleOAuth withAccessToken(Optional accessToken) { + public SourceGoogleSearchConsoleOAuth withAccessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -170,16 +169,16 @@ public boolean equals(java.lang.Object o) { } SourceGoogleSearchConsoleOAuth other = (SourceGoogleSearchConsoleOAuth) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, @@ -199,7 +198,7 @@ public String toString() { public final static class Builder { - private Optional accessToken = Optional.empty(); + private Optional accessToken = Optional.empty(); private String clientId; @@ -223,7 +222,7 @@ public Builder accessToken(String accessToken) { /** * Access token for making authenticated requests. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>. */ - public Builder accessToken(Optional accessToken) { + public Builder accessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleSchemasAuthType.java index 26cdb44bd..676dd1669 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleSearchConsoleSchemasAuthType { SERVICE("Service"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.java index ba7329667..cfdbdfb13 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleServiceAccountKeyAuthentication.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleSearchConsoleServiceAccountKeyAuthentication { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceGoogleSearchConsoleServiceAccountKeyAuthentication other = (SourceGoogleSearchConsoleServiceAccountKeyAuthentication) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.email, other.email) && - java.util.Objects.deepEquals(this.serviceAccountInfo, other.serviceAccountInfo); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.serviceAccountInfo, other.serviceAccountInfo); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, email, serviceAccountInfo); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleValidEnums.java index 4fa64c705..a2aa9b215 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceGoogleSearchConsoleValidEnums - An enumeration of dimensions. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java index 1569c8756..4ebbe5802 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheets.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleSheets { /** @@ -26,7 +28,7 @@ public class SourceGoogleSheets { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("batch_size") - private Optional batchSize; + private Optional batchSize; /** * Credentials for connecting to the Google Sheets API @@ -39,7 +41,7 @@ public class SourceGoogleSheets { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("names_conversion") - private Optional namesConversion; + private Optional namesConversion; @JsonProperty("sourceType") private SourceGoogleSheetsGoogleSheets sourceType; @@ -52,9 +54,9 @@ public class SourceGoogleSheets { @JsonCreator public SourceGoogleSheets( - @JsonProperty("batch_size") Optional batchSize, + @JsonProperty("batch_size") Optional batchSize, @JsonProperty("credentials") SourceGoogleSheetsAuthentication credentials, - @JsonProperty("names_conversion") Optional namesConversion, + @JsonProperty("names_conversion") Optional namesConversion, @JsonProperty("spreadsheet_id") String spreadsheetId) { Utils.checkNotNull(batchSize, "batchSize"); Utils.checkNotNull(credentials, "credentials"); @@ -76,10 +78,9 @@ public SourceGoogleSheets( /** * Default value is 200. An integer representing row batch size for each sent request to Google Sheets API. Row batch size means how many rows are processed from the google sheet, for example default value 200 would process rows 1-201, then 201-401 and so on. Based on <a href='https://developers.google.com/sheets/api/limits'>Google Sheets API limits documentation</a>, it is possible to send up to 300 requests per minute, but each individual request has to be processed under 180 seconds, otherwise the request returns a timeout error. In regards to this information, consider network speed and number of columns of the google sheet when deciding a batch_size value. Default value should cover most of the cases, but if a google sheet has over 100,000 records or more, consider increasing batch_size value. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional batchSize() { - return (Optional) batchSize; + return batchSize; } /** @@ -93,10 +94,9 @@ public SourceGoogleSheetsAuthentication credentials() { /** * Enables the conversion of column names to a standardized, SQL-compliant format. For example, 'My Name' -> 'my_name'. Enable this option if your destination is SQL-based. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional namesConversion() { - return (Optional) namesConversion; + return namesConversion; } @JsonIgnore @@ -128,7 +128,7 @@ public SourceGoogleSheets withBatchSize(long batchSize) { /** * Default value is 200. An integer representing row batch size for each sent request to Google Sheets API. Row batch size means how many rows are processed from the google sheet, for example default value 200 would process rows 1-201, then 201-401 and so on. Based on <a href='https://developers.google.com/sheets/api/limits'>Google Sheets API limits documentation</a>, it is possible to send up to 300 requests per minute, but each individual request has to be processed under 180 seconds, otherwise the request returns a timeout error. In regards to this information, consider network speed and number of columns of the google sheet when deciding a batch_size value. Default value should cover most of the cases, but if a google sheet has over 100,000 records or more, consider increasing batch_size value. */ - public SourceGoogleSheets withBatchSize(Optional batchSize) { + public SourceGoogleSheets withBatchSize(Optional batchSize) { Utils.checkNotNull(batchSize, "batchSize"); this.batchSize = batchSize; return this; @@ -155,7 +155,7 @@ public SourceGoogleSheets withNamesConversion(boolean namesConversion) { /** * Enables the conversion of column names to a standardized, SQL-compliant format. For example, 'My Name' -> 'my_name'. Enable this option if your destination is SQL-based. */ - public SourceGoogleSheets withNamesConversion(Optional namesConversion) { + public SourceGoogleSheets withNamesConversion(Optional namesConversion) { Utils.checkNotNull(namesConversion, "namesConversion"); this.namesConversion = namesConversion; return this; @@ -180,16 +180,16 @@ public boolean equals(java.lang.Object o) { } SourceGoogleSheets other = (SourceGoogleSheets) o; return - java.util.Objects.deepEquals(this.batchSize, other.batchSize) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.namesConversion, other.namesConversion) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.spreadsheetId, other.spreadsheetId); + Objects.deepEquals(this.batchSize, other.batchSize) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.namesConversion, other.namesConversion) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.spreadsheetId, other.spreadsheetId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( batchSize, credentials, namesConversion, @@ -209,11 +209,11 @@ public String toString() { public final static class Builder { - private Optional batchSize; + private Optional batchSize; private SourceGoogleSheetsAuthentication credentials; - private Optional namesConversion; + private Optional namesConversion; private String spreadsheetId; @@ -233,7 +233,7 @@ public Builder batchSize(long batchSize) { /** * Default value is 200. An integer representing row batch size for each sent request to Google Sheets API. Row batch size means how many rows are processed from the google sheet, for example default value 200 would process rows 1-201, then 201-401 and so on. Based on <a href='https://developers.google.com/sheets/api/limits'>Google Sheets API limits documentation</a>, it is possible to send up to 300 requests per minute, but each individual request has to be processed under 180 seconds, otherwise the request returns a timeout error. In regards to this information, consider network speed and number of columns of the google sheet when deciding a batch_size value. Default value should cover most of the cases, but if a google sheet has over 100,000 records or more, consider increasing batch_size value. */ - public Builder batchSize(Optional batchSize) { + public Builder batchSize(Optional batchSize) { Utils.checkNotNull(batchSize, "batchSize"); this.batchSize = batchSize; return this; @@ -260,7 +260,7 @@ public Builder namesConversion(boolean namesConversion) { /** * Enables the conversion of column names to a standardized, SQL-compliant format. For example, 'My Name' -> 'my_name'. Enable this option if your destination is SQL-based. */ - public Builder namesConversion(Optional namesConversion) { + public Builder namesConversion(Optional namesConversion) { Utils.checkNotNull(namesConversion, "namesConversion"); this.namesConversion = namesConversion; return this; @@ -281,25 +281,24 @@ public SourceGoogleSheets build() { } if (namesConversion == null) { namesConversion = _SINGLETON_VALUE_NamesConversion.value(); - } - return new SourceGoogleSheets( + } return new SourceGoogleSheets( batchSize, credentials, namesConversion, spreadsheetId); } - private static final LazySingletonValue> _SINGLETON_VALUE_BatchSize = + private static final LazySingletonValue> _SINGLETON_VALUE_BatchSize = new LazySingletonValue<>( "batch_size", "200", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_NamesConversion = + private static final LazySingletonValue> _SINGLETON_VALUE_NamesConversion = new LazySingletonValue<>( "names_conversion", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthType.java index 39bce602f..263d605e8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleSheetsAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.java index a6a5a6488..ed53aaac8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthenticateViaGoogleOAuth.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleSheetsAuthenticateViaGoogleOAuth { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleSheetsAuthenticateViaGoogleOAuth other = (SourceGoogleSheetsAuthenticateViaGoogleOAuth) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthentication.java index 4eec17637..0e74efc81 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceGoogleSheetsAuthentication - Credentials for connecting to the Google Sheets API @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceGoogleSheetsAuthentication._Deserializer.class) public class SourceGoogleSheetsAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceGoogleSheetsAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceGoogleSheetsAuthentication of(SourceGoogleSheetsServiceAccou /** * Returns an instance of one of these types: *
      - *
    • {@code SourceGoogleSheetsAuthenticateViaGoogleOAuth}
    • - *
    • {@code SourceGoogleSheetsServiceAccountKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleSheetsAuthenticateViaGoogleOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleSheetsServiceAccountKeyAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceGoogleSheetsAuthentication other = (SourceGoogleSheetsAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceGoogleSheetsAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceGoogleSheetsAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheets.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheets.java index bd1cb4f4c..2f948cf2e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheets.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsGoogleSheets.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleSheetsGoogleSheets { GOOGLE_SHEETS("google-sheets"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsSchemasAuthType.java index 8fca2d8f3..0d8b05aea 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceGoogleSheetsSchemasAuthType { SERVICE("Service"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.java index 2abe0a7d9..0c7568226 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsServiceAccountKeyAuthentication.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGoogleSheetsServiceAccountKeyAuthentication { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceGoogleSheetsServiceAccountKeyAuthentication other = (SourceGoogleSheetsServiceAccountKeyAuthentication) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.serviceAccountInfo, other.serviceAccountInfo); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.serviceAccountInfo, other.serviceAccountInfo); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, serviceAccountInfo); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleTasks.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleTasks.java index f0d0b1ae1..6663b2af1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleTasks.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleTasks.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleTasks { @JsonProperty("api_key") @@ -32,7 +30,7 @@ public class SourceGoogleTasks { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("records_limit") - private Optional recordsLimit; + private Optional recordsLimit; @JsonProperty("sourceType") private GoogleTasks sourceType; @@ -43,7 +41,7 @@ public class SourceGoogleTasks { @JsonCreator public SourceGoogleTasks( @JsonProperty("api_key") String apiKey, - @JsonProperty("records_limit") Optional recordsLimit, + @JsonProperty("records_limit") Optional recordsLimit, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(recordsLimit, "recordsLimit"); @@ -68,10 +66,9 @@ public String apiKey() { /** * The maximum number of records to be returned per request */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional recordsLimit() { - return (Optional) recordsLimit; + return recordsLimit; } @JsonIgnore @@ -106,7 +103,7 @@ public SourceGoogleTasks withRecordsLimit(String recordsLimit) { /** * The maximum number of records to be returned per request */ - public SourceGoogleTasks withRecordsLimit(Optional recordsLimit) { + public SourceGoogleTasks withRecordsLimit(Optional recordsLimit) { Utils.checkNotNull(recordsLimit, "recordsLimit"); this.recordsLimit = recordsLimit; return this; @@ -128,15 +125,15 @@ public boolean equals(java.lang.Object o) { } SourceGoogleTasks other = (SourceGoogleTasks) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.recordsLimit, other.recordsLimit) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.recordsLimit, other.recordsLimit) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, recordsLimit, sourceType, @@ -156,7 +153,7 @@ public final static class Builder { private String apiKey; - private Optional recordsLimit; + private Optional recordsLimit; private OffsetDateTime startDate; @@ -182,7 +179,7 @@ public Builder recordsLimit(String recordsLimit) { /** * The maximum number of records to be returned per request */ - public Builder recordsLimit(Optional recordsLimit) { + public Builder recordsLimit(Optional recordsLimit) { Utils.checkNotNull(recordsLimit, "recordsLimit"); this.recordsLimit = recordsLimit; return this; @@ -197,18 +194,17 @@ public Builder startDate(OffsetDateTime startDate) { public SourceGoogleTasks build() { if (recordsLimit == null) { recordsLimit = _SINGLETON_VALUE_RecordsLimit.value(); - } - return new SourceGoogleTasks( + } return new SourceGoogleTasks( apiKey, recordsLimit, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_RecordsLimit = + private static final LazySingletonValue> _SINGLETON_VALUE_RecordsLimit = new LazySingletonValue<>( "records_limit", "\"50\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java b/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java index 1f432eeb7..e9defb1be 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGoogleWebfonts.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceGoogleWebfonts { /** @@ -26,7 +26,7 @@ public class SourceGoogleWebfonts { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("alt") - private Optional alt; + private Optional alt; /** * API key is required to access google apis, For getting your's goto google console and generate api key for Webfonts @@ -39,24 +39,24 @@ public class SourceGoogleWebfonts { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("prettyPrint") - private Optional prettyPrint; + private Optional prettyPrint; /** * Optional, to find how to sort */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("sort") - private Optional sort; + private Optional sort; @JsonProperty("sourceType") private GoogleWebfonts sourceType; @JsonCreator public SourceGoogleWebfonts( - @JsonProperty("alt") Optional alt, + @JsonProperty("alt") Optional alt, @JsonProperty("api_key") String apiKey, - @JsonProperty("prettyPrint") Optional prettyPrint, - @JsonProperty("sort") Optional sort) { + @JsonProperty("prettyPrint") Optional prettyPrint, + @JsonProperty("sort") Optional sort) { Utils.checkNotNull(alt, "alt"); Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(prettyPrint, "prettyPrint"); @@ -76,10 +76,9 @@ public SourceGoogleWebfonts( /** * Optional, Available params- json, media, proto */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional alt() { - return (Optional) alt; + return alt; } /** @@ -93,19 +92,17 @@ public String apiKey() { /** * Optional, boolean type */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional prettyPrint() { - return (Optional) prettyPrint; + return prettyPrint; } /** * Optional, to find how to sort */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional sort() { - return (Optional) sort; + return sort; } @JsonIgnore @@ -129,7 +126,7 @@ public SourceGoogleWebfonts withAlt(String alt) { /** * Optional, Available params- json, media, proto */ - public SourceGoogleWebfonts withAlt(Optional alt) { + public SourceGoogleWebfonts withAlt(Optional alt) { Utils.checkNotNull(alt, "alt"); this.alt = alt; return this; @@ -156,7 +153,7 @@ public SourceGoogleWebfonts withPrettyPrint(String prettyPrint) { /** * Optional, boolean type */ - public SourceGoogleWebfonts withPrettyPrint(Optional prettyPrint) { + public SourceGoogleWebfonts withPrettyPrint(Optional prettyPrint) { Utils.checkNotNull(prettyPrint, "prettyPrint"); this.prettyPrint = prettyPrint; return this; @@ -174,7 +171,7 @@ public SourceGoogleWebfonts withSort(String sort) { /** * Optional, to find how to sort */ - public SourceGoogleWebfonts withSort(Optional sort) { + public SourceGoogleWebfonts withSort(Optional sort) { Utils.checkNotNull(sort, "sort"); this.sort = sort; return this; @@ -190,16 +187,16 @@ public boolean equals(java.lang.Object o) { } SourceGoogleWebfonts other = (SourceGoogleWebfonts) o; return - java.util.Objects.deepEquals(this.alt, other.alt) && - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.prettyPrint, other.prettyPrint) && - java.util.Objects.deepEquals(this.sort, other.sort) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.alt, other.alt) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.prettyPrint, other.prettyPrint) && + Objects.deepEquals(this.sort, other.sort) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( alt, apiKey, prettyPrint, @@ -219,13 +216,13 @@ public String toString() { public final static class Builder { - private Optional alt = Optional.empty(); + private Optional alt = Optional.empty(); private String apiKey; - private Optional prettyPrint = Optional.empty(); + private Optional prettyPrint = Optional.empty(); - private Optional sort = Optional.empty(); + private Optional sort = Optional.empty(); private Builder() { // force use of static builder() method @@ -243,7 +240,7 @@ public Builder alt(String alt) { /** * Optional, Available params- json, media, proto */ - public Builder alt(Optional alt) { + public Builder alt(Optional alt) { Utils.checkNotNull(alt, "alt"); this.alt = alt; return this; @@ -270,7 +267,7 @@ public Builder prettyPrint(String prettyPrint) { /** * Optional, boolean type */ - public Builder prettyPrint(Optional prettyPrint) { + public Builder prettyPrint(Optional prettyPrint) { Utils.checkNotNull(prettyPrint, "prettyPrint"); this.prettyPrint = prettyPrint; return this; @@ -288,7 +285,7 @@ public Builder sort(String sort) { /** * Optional, to find how to sort */ - public Builder sort(Optional sort) { + public Builder sort(Optional sort) { Utils.checkNotNull(sort, "sort"); this.sort = sort; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGorgias.java b/src/main/java/com/airbyte/api/models/shared/SourceGorgias.java new file mode 100644 index 000000000..f35531e54 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGorgias.java @@ -0,0 +1,232 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceGorgias { + + /** + * Domain name given for gorgias, found as your url prefix for accessing your website + */ + @JsonProperty("domain_name") + private String domainName; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Gorgias sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceGorgias( + @JsonProperty("domain_name") String domainName, + @JsonProperty("password") Optional password, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("username") String username) { + Utils.checkNotNull(domainName, "domainName"); + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(username, "username"); + this.domainName = domainName; + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.username = username; + } + + public SourceGorgias( + String domainName, + OffsetDateTime startDate, + String username) { + this(domainName, Optional.empty(), startDate, username); + } + + /** + * Domain name given for gorgias, found as your url prefix for accessing your website + */ + @JsonIgnore + public String domainName() { + return domainName; + } + + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Gorgias sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Domain name given for gorgias, found as your url prefix for accessing your website + */ + public SourceGorgias withDomainName(String domainName) { + Utils.checkNotNull(domainName, "domainName"); + this.domainName = domainName; + return this; + } + + public SourceGorgias withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourceGorgias withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourceGorgias withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceGorgias withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGorgias other = (SourceGorgias) o; + return + Objects.deepEquals(this.domainName, other.domainName) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + domainName, + password, + sourceType, + startDate, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceGorgias.class, + "domainName", domainName, + "password", password, + "sourceType", sourceType, + "startDate", startDate, + "username", username); + } + + public final static class Builder { + + private String domainName; + + private Optional password = Optional.empty(); + + private OffsetDateTime startDate; + + private String username; + + private Builder() { + // force use of static builder() method + } + + /** + * Domain name given for gorgias, found as your url prefix for accessing your website + */ + public Builder domainName(String domainName) { + Utils.checkNotNull(domainName, "domainName"); + this.domainName = domainName; + return this; + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceGorgias build() { + return new SourceGorgias( + domainName, + password, + startDate, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"gorgias\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java b/src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java index 43a3a4d34..b35b4cb3f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGreenhouse.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGreenhouse { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceGreenhouse other = (SourceGreenhouse) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGridly.java b/src/main/java/com/airbyte/api/models/shared/SourceGridly.java index a8fd5f7f4..a591c68de 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGridly.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGridly.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceGridly { @@ -88,14 +88,14 @@ public boolean equals(java.lang.Object o) { } SourceGridly other = (SourceGridly) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.gridId, other.gridId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.gridId, other.gridId) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, gridId, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGuru.java b/src/main/java/com/airbyte/api/models/shared/SourceGuru.java index 9f99632a9..18a03296a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceGuru.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceGuru.java @@ -1,39 +1,37 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceGuru { @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * Query for searching cards */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("search_cards_query") - private Optional searchCardsQuery; + private Optional searchCardsQuery; @JsonProperty("sourceType") private Guru sourceType; @@ -46,17 +44,17 @@ public class SourceGuru { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("team_id") - private Optional teamId; + private Optional teamId; @JsonProperty("username") private String username; @JsonCreator public SourceGuru( - @JsonProperty("password") Optional password, - @JsonProperty("search_cards_query") Optional searchCardsQuery, + @JsonProperty("password") Optional password, + @JsonProperty("search_cards_query") Optional searchCardsQuery, @JsonProperty("start_date") OffsetDateTime startDate, - @JsonProperty("team_id") Optional teamId, + @JsonProperty("team_id") Optional teamId, @JsonProperty("username") String username) { Utils.checkNotNull(password, "password"); Utils.checkNotNull(searchCardsQuery, "searchCardsQuery"); @@ -77,19 +75,17 @@ public SourceGuru( this(Optional.empty(), Optional.empty(), startDate, Optional.empty(), username); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * Query for searching cards */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional searchCardsQuery() { - return (Optional) searchCardsQuery; + return searchCardsQuery; } @JsonIgnore @@ -105,10 +101,9 @@ public OffsetDateTime startDate() { /** * Team ID received through response of /teams streams, make sure about access to the team */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional teamId() { - return (Optional) teamId; + return teamId; } @JsonIgnore @@ -126,7 +121,7 @@ public SourceGuru withPassword(String password) { return this; } - public SourceGuru withPassword(Optional password) { + public SourceGuru withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -144,7 +139,7 @@ public SourceGuru withSearchCardsQuery(String searchCardsQuery) { /** * Query for searching cards */ - public SourceGuru withSearchCardsQuery(Optional searchCardsQuery) { + public SourceGuru withSearchCardsQuery(Optional searchCardsQuery) { Utils.checkNotNull(searchCardsQuery, "searchCardsQuery"); this.searchCardsQuery = searchCardsQuery; return this; @@ -168,7 +163,7 @@ public SourceGuru withTeamId(String teamId) { /** * Team ID received through response of /teams streams, make sure about access to the team */ - public SourceGuru withTeamId(Optional teamId) { + public SourceGuru withTeamId(Optional teamId) { Utils.checkNotNull(teamId, "teamId"); this.teamId = teamId; return this; @@ -190,17 +185,17 @@ public boolean equals(java.lang.Object o) { } SourceGuru other = (SourceGuru) o; return - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.searchCardsQuery, other.searchCardsQuery) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.teamId, other.teamId) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.searchCardsQuery, other.searchCardsQuery) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.teamId, other.teamId) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( password, searchCardsQuery, sourceType, @@ -222,13 +217,13 @@ public String toString() { public final static class Builder { - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional searchCardsQuery = Optional.empty(); + private Optional searchCardsQuery = Optional.empty(); private OffsetDateTime startDate; - private Optional teamId = Optional.empty(); + private Optional teamId = Optional.empty(); private String username; @@ -242,7 +237,7 @@ public Builder password(String password) { return this; } - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -260,7 +255,7 @@ public Builder searchCardsQuery(String searchCardsQuery) { /** * Query for searching cards */ - public Builder searchCardsQuery(Optional searchCardsQuery) { + public Builder searchCardsQuery(Optional searchCardsQuery) { Utils.checkNotNull(searchCardsQuery, "searchCardsQuery"); this.searchCardsQuery = searchCardsQuery; return this; @@ -284,7 +279,7 @@ public Builder teamId(String teamId) { /** * Team ID received through response of /teams streams, make sure about access to the team */ - public Builder teamId(Optional teamId) { + public Builder teamId(Optional teamId) { Utils.checkNotNull(teamId, "teamId"); this.teamId = teamId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceGutendex.java b/src/main/java/com/airbyte/api/models/shared/SourceGutendex.java new file mode 100644 index 000000000..295fd1a47 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceGutendex.java @@ -0,0 +1,507 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceGutendex { + + /** + * (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("author_year_end") + private Optional authorYearEnd; + + /** + * (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("author_year_start") + private Optional authorYearStart; + + /** + * (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("copyright") + private Optional copyright; + + /** + * (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("languages") + private Optional languages; + + /** + * (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("search") + private Optional search; + + /** + * (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sort") + private Optional sort; + + @JsonProperty("sourceType") + private Gutendex sourceType; + + /** + * (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("topic") + private Optional topic; + + @JsonCreator + public SourceGutendex( + @JsonProperty("author_year_end") Optional authorYearEnd, + @JsonProperty("author_year_start") Optional authorYearStart, + @JsonProperty("copyright") Optional copyright, + @JsonProperty("languages") Optional languages, + @JsonProperty("search") Optional search, + @JsonProperty("sort") Optional sort, + @JsonProperty("topic") Optional topic) { + Utils.checkNotNull(authorYearEnd, "authorYearEnd"); + Utils.checkNotNull(authorYearStart, "authorYearStart"); + Utils.checkNotNull(copyright, "copyright"); + Utils.checkNotNull(languages, "languages"); + Utils.checkNotNull(search, "search"); + Utils.checkNotNull(sort, "sort"); + Utils.checkNotNull(topic, "topic"); + this.authorYearEnd = authorYearEnd; + this.authorYearStart = authorYearStart; + this.copyright = copyright; + this.languages = languages; + this.search = search; + this.sort = sort; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.topic = topic; + } + + public SourceGutendex() { + this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + /** + * (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + @JsonIgnore + public Optional authorYearEnd() { + return authorYearEnd; + } + + /** + * (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + @JsonIgnore + public Optional authorYearStart() { + return authorYearStart; + } + + /** + * (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information. + */ + @JsonIgnore + public Optional copyright() { + return copyright; + } + + /** + * (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes. + */ + @JsonIgnore + public Optional languages() { + return languages; + } + + /** + * (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive. + */ + @JsonIgnore + public Optional search() { + return search; + } + + /** + * (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads. + */ + @JsonIgnore + public Optional sort() { + return sort; + } + + @JsonIgnore + public Gutendex sourceType() { + return sourceType; + } + + /** + * (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects. + */ + @JsonIgnore + public Optional topic() { + return topic; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + public SourceGutendex withAuthorYearEnd(String authorYearEnd) { + Utils.checkNotNull(authorYearEnd, "authorYearEnd"); + this.authorYearEnd = Optional.ofNullable(authorYearEnd); + return this; + } + + /** + * (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + public SourceGutendex withAuthorYearEnd(Optional authorYearEnd) { + Utils.checkNotNull(authorYearEnd, "authorYearEnd"); + this.authorYearEnd = authorYearEnd; + return this; + } + + /** + * (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + public SourceGutendex withAuthorYearStart(String authorYearStart) { + Utils.checkNotNull(authorYearStart, "authorYearStart"); + this.authorYearStart = Optional.ofNullable(authorYearStart); + return this; + } + + /** + * (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + public SourceGutendex withAuthorYearStart(Optional authorYearStart) { + Utils.checkNotNull(authorYearStart, "authorYearStart"); + this.authorYearStart = authorYearStart; + return this; + } + + /** + * (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information. + */ + public SourceGutendex withCopyright(String copyright) { + Utils.checkNotNull(copyright, "copyright"); + this.copyright = Optional.ofNullable(copyright); + return this; + } + + /** + * (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information. + */ + public SourceGutendex withCopyright(Optional copyright) { + Utils.checkNotNull(copyright, "copyright"); + this.copyright = copyright; + return this; + } + + /** + * (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes. + */ + public SourceGutendex withLanguages(String languages) { + Utils.checkNotNull(languages, "languages"); + this.languages = Optional.ofNullable(languages); + return this; + } + + /** + * (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes. + */ + public SourceGutendex withLanguages(Optional languages) { + Utils.checkNotNull(languages, "languages"); + this.languages = languages; + return this; + } + + /** + * (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive. + */ + public SourceGutendex withSearch(String search) { + Utils.checkNotNull(search, "search"); + this.search = Optional.ofNullable(search); + return this; + } + + /** + * (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive. + */ + public SourceGutendex withSearch(Optional search) { + Utils.checkNotNull(search, "search"); + this.search = search; + return this; + } + + /** + * (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads. + */ + public SourceGutendex withSort(String sort) { + Utils.checkNotNull(sort, "sort"); + this.sort = Optional.ofNullable(sort); + return this; + } + + /** + * (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads. + */ + public SourceGutendex withSort(Optional sort) { + Utils.checkNotNull(sort, "sort"); + this.sort = sort; + return this; + } + + /** + * (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects. + */ + public SourceGutendex withTopic(String topic) { + Utils.checkNotNull(topic, "topic"); + this.topic = Optional.ofNullable(topic); + return this; + } + + /** + * (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects. + */ + public SourceGutendex withTopic(Optional topic) { + Utils.checkNotNull(topic, "topic"); + this.topic = topic; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceGutendex other = (SourceGutendex) o; + return + Objects.deepEquals(this.authorYearEnd, other.authorYearEnd) && + Objects.deepEquals(this.authorYearStart, other.authorYearStart) && + Objects.deepEquals(this.copyright, other.copyright) && + Objects.deepEquals(this.languages, other.languages) && + Objects.deepEquals(this.search, other.search) && + Objects.deepEquals(this.sort, other.sort) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.topic, other.topic); + } + + @Override + public int hashCode() { + return Objects.hash( + authorYearEnd, + authorYearStart, + copyright, + languages, + search, + sort, + sourceType, + topic); + } + + @Override + public String toString() { + return Utils.toString(SourceGutendex.class, + "authorYearEnd", authorYearEnd, + "authorYearStart", authorYearStart, + "copyright", copyright, + "languages", languages, + "search", search, + "sort", sort, + "sourceType", sourceType, + "topic", topic); + } + + public final static class Builder { + + private Optional authorYearEnd = Optional.empty(); + + private Optional authorYearStart = Optional.empty(); + + private Optional copyright = Optional.empty(); + + private Optional languages = Optional.empty(); + + private Optional search = Optional.empty(); + + private Optional sort = Optional.empty(); + + private Optional topic = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + public Builder authorYearEnd(String authorYearEnd) { + Utils.checkNotNull(authorYearEnd, "authorYearEnd"); + this.authorYearEnd = Optional.ofNullable(authorYearEnd); + return this; + } + + /** + * (Optional) Defines the maximum birth year of the authors. Books by authors born after the end year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + public Builder authorYearEnd(Optional authorYearEnd) { + Utils.checkNotNull(authorYearEnd, "authorYearEnd"); + this.authorYearEnd = authorYearEnd; + return this; + } + + /** + * (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + public Builder authorYearStart(String authorYearStart) { + Utils.checkNotNull(authorYearStart, "authorYearStart"); + this.authorYearStart = Optional.ofNullable(authorYearStart); + return this; + } + + /** + * (Optional) Defines the minimum birth year of the authors. Books by authors born prior to the start year will not be returned. Supports both positive (CE) or negative (BCE) integer values + */ + public Builder authorYearStart(Optional authorYearStart) { + Utils.checkNotNull(authorYearStart, "authorYearStart"); + this.authorYearStart = authorYearStart; + return this; + } + + /** + * (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information. + */ + public Builder copyright(String copyright) { + Utils.checkNotNull(copyright, "copyright"); + this.copyright = Optional.ofNullable(copyright); + return this; + } + + /** + * (Optional) Use this to find books with a certain copyright status - true for books with existing copyrights, false for books in the public domain in the USA, or null for books with no available copyright information. + */ + public Builder copyright(Optional copyright) { + Utils.checkNotNull(copyright, "copyright"); + this.copyright = copyright; + return this; + } + + /** + * (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes. + */ + public Builder languages(String languages) { + Utils.checkNotNull(languages, "languages"); + this.languages = Optional.ofNullable(languages); + return this; + } + + /** + * (Optional) Use this to find books in any of a list of languages. They must be comma-separated, two-character language codes. + */ + public Builder languages(Optional languages) { + Utils.checkNotNull(languages, "languages"); + this.languages = languages; + return this; + } + + /** + * (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive. + */ + public Builder search(String search) { + Utils.checkNotNull(search, "search"); + this.search = Optional.ofNullable(search); + return this; + } + + /** + * (Optional) Use this to search author names and book titles with given words. They must be separated by a space (i.e. %20 in URL-encoded format) and are case-insensitive. + */ + public Builder search(Optional search) { + Utils.checkNotNull(search, "search"); + this.search = search; + return this; + } + + /** + * (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads. + */ + public Builder sort(String sort) { + Utils.checkNotNull(sort, "sort"); + this.sort = Optional.ofNullable(sort); + return this; + } + + /** + * (Optional) Use this to sort books - ascending for Project Gutenberg ID numbers from lowest to highest, descending for IDs highest to lowest, or popular (the default) for most popular to least popular by number of downloads. + */ + public Builder sort(Optional sort) { + Utils.checkNotNull(sort, "sort"); + this.sort = sort; + return this; + } + + /** + * (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects. + */ + public Builder topic(String topic) { + Utils.checkNotNull(topic, "topic"); + this.topic = Optional.ofNullable(topic); + return this; + } + + /** + * (Optional) Use this to search for a case-insensitive key-phrase in books' bookshelves or subjects. + */ + public Builder topic(Optional topic) { + Utils.checkNotNull(topic, "topic"); + this.topic = topic; + return this; + } + + public SourceGutendex build() { + return new SourceGutendex( + authorYearEnd, + authorYearStart, + copyright, + languages, + search, + sort, + topic); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"gutendex\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHardcodedRecords.java b/src/main/java/com/airbyte/api/models/shared/SourceHardcodedRecords.java index 34f02de89..ce95f4b2e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHardcodedRecords.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHardcodedRecords.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceHardcodedRecords { /** @@ -26,14 +27,14 @@ public class SourceHardcodedRecords { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("count") - private Optional count; + private Optional count; @JsonProperty("sourceType") private HardcodedRecords sourceType; @JsonCreator public SourceHardcodedRecords( - @JsonProperty("count") Optional count) { + @JsonProperty("count") Optional count) { Utils.checkNotNull(count, "count"); this.count = count; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); @@ -46,10 +47,9 @@ public SourceHardcodedRecords() { /** * How many records per stream should be generated */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional count() { - return (Optional) count; + return count; } @JsonIgnore @@ -73,7 +73,7 @@ public SourceHardcodedRecords withCount(long count) { /** * How many records per stream should be generated */ - public SourceHardcodedRecords withCount(Optional count) { + public SourceHardcodedRecords withCount(Optional count) { Utils.checkNotNull(count, "count"); this.count = count; return this; @@ -89,13 +89,13 @@ public boolean equals(java.lang.Object o) { } SourceHardcodedRecords other = (SourceHardcodedRecords) o; return - java.util.Objects.deepEquals(this.count, other.count) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.count, other.count) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( count, sourceType); } @@ -109,7 +109,7 @@ public String toString() { public final static class Builder { - private Optional count; + private Optional count; private Builder() { // force use of static builder() method @@ -127,7 +127,7 @@ public Builder count(long count) { /** * How many records per stream should be generated */ - public Builder count(Optional count) { + public Builder count(Optional count) { Utils.checkNotNull(count, "count"); this.count = count; return this; @@ -136,16 +136,15 @@ public Builder count(Optional count) { public SourceHardcodedRecords build() { if (count == null) { count = _SINGLETON_VALUE_Count.value(); - } - return new SourceHardcodedRecords( + } return new SourceHardcodedRecords( count); } - private static final LazySingletonValue> _SINGLETON_VALUE_Count = + private static final LazySingletonValue> _SINGLETON_VALUE_Count = new LazySingletonValue<>( "count", "1000", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHarvest.java b/src/main/java/com/airbyte/api/models/shared/SourceHarvest.java index 8690098e0..bb6cfce5e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHarvest.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHarvest.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceHarvest { /** @@ -35,7 +34,7 @@ public class SourceHarvest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("credentials") - private Optional credentials; + private Optional credentials; /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. @@ -49,7 +48,7 @@ public class SourceHarvest { @JsonCreator public SourceHarvest( @JsonProperty("account_id") String accountId, - @JsonProperty("credentials") Optional credentials, + @JsonProperty("credentials") Optional credentials, @JsonProperty("replication_start_date") OffsetDateTime replicationStartDate) { Utils.checkNotNull(accountId, "accountId"); Utils.checkNotNull(credentials, "credentials"); @@ -79,8 +78,8 @@ public String accountId() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional credentials() { - return (Optional) credentials; + public Optional credentials() { + return (Optional) credentials; } /** @@ -112,7 +111,7 @@ public SourceHarvest withAccountId(String accountId) { /** * Choose how to authenticate to Harvest. */ - public SourceHarvest withCredentials(java.lang.Object credentials) { + public SourceHarvest withCredentials(SourceHarvestAuthenticationMechanism credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = Optional.ofNullable(credentials); return this; @@ -121,7 +120,7 @@ public SourceHarvest withCredentials(java.lang.Object credentials) { /** * Choose how to authenticate to Harvest. */ - public SourceHarvest withCredentials(Optional credentials) { + public SourceHarvest withCredentials(Optional credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; @@ -146,15 +145,15 @@ public boolean equals(java.lang.Object o) { } SourceHarvest other = (SourceHarvest) o; return - java.util.Objects.deepEquals(this.accountId, other.accountId) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.replicationStartDate, other.replicationStartDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.replicationStartDate, other.replicationStartDate) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountId, credentials, replicationStartDate, @@ -174,7 +173,7 @@ public final static class Builder { private String accountId; - private Optional credentials = Optional.empty(); + private Optional credentials = Optional.empty(); private OffsetDateTime replicationStartDate; @@ -194,7 +193,7 @@ public Builder accountId(String accountId) { /** * Choose how to authenticate to Harvest. */ - public Builder credentials(java.lang.Object credentials) { + public Builder credentials(SourceHarvestAuthenticationMechanism credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = Optional.ofNullable(credentials); return this; @@ -203,7 +202,7 @@ public Builder credentials(java.lang.Object credentials) { /** * Choose how to authenticate to Harvest. */ - public Builder credentials(Optional credentials) { + public Builder credentials(Optional credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthType.java new file mode 100644 index 000000000..f2524adea --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceHarvestAuthType { + CLIENT("Client"); + + @JsonValue + private final String value; + + private SourceHarvestAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.java new file mode 100644 index 000000000..182911674 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticateWithPersonalAccessToken.java @@ -0,0 +1,177 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class SourceHarvestAuthenticateWithPersonalAccessToken { + + @JsonIgnore + private Map additionalProperties; + + /** + * Log into Harvest and then create new <a href="https://id.getharvest.com/developers"> personal access token</a>. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + @JsonCreator + public SourceHarvestAuthenticateWithPersonalAccessToken( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.additionalProperties = new HashMap<>(); + this.apiToken = apiToken; + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * Log into Harvest and then create new <a href="https://id.getharvest.com/developers"> personal access token</a>. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourceHarvestAuthenticateWithPersonalAccessToken withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourceHarvestAuthenticateWithPersonalAccessToken withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Log into Harvest and then create new <a href="https://id.getharvest.com/developers"> personal access token</a>. + */ + public SourceHarvestAuthenticateWithPersonalAccessToken withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceHarvestAuthenticateWithPersonalAccessToken other = (SourceHarvestAuthenticateWithPersonalAccessToken) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.authType, other.authType); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + apiToken, + authType); + } + + @Override + public String toString() { + return Utils.toString(SourceHarvestAuthenticateWithPersonalAccessToken.class, + "additionalProperties", additionalProperties, + "apiToken", apiToken, + "authType", authType); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Log into Harvest and then create new <a href="https://id.getharvest.com/developers"> personal access token</a>. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceHarvestAuthenticateWithPersonalAccessToken build() { + return new SourceHarvestAuthenticateWithPersonalAccessToken( + apiToken) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"Token\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticationMechanism.java b/src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticationMechanism.java new file mode 100644 index 000000000..bfd17ca23 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceHarvestAuthenticationMechanism.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceHarvestAuthenticationMechanism - Choose how to authenticate to Harvest. + */ + +@JsonDeserialize(using = SourceHarvestAuthenticationMechanism._Deserializer.class) +public class SourceHarvestAuthenticationMechanism { + + @JsonValue + private TypedObject value; + + private SourceHarvestAuthenticationMechanism(TypedObject value) { + this.value = value; + } + + public static SourceHarvestAuthenticationMechanism of(AuthenticateViaHarvestOAuth value) { + Utils.checkNotNull(value, "value"); + return new SourceHarvestAuthenticationMechanism(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceHarvestAuthenticationMechanism of(SourceHarvestAuthenticateWithPersonalAccessToken value) { + Utils.checkNotNull(value, "value"); + return new SourceHarvestAuthenticationMechanism(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaHarvestOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHarvestAuthenticateWithPersonalAccessToken}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceHarvestAuthenticationMechanism other = (SourceHarvestAuthenticationMechanism) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceHarvestAuthenticationMechanism.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceHarvestAuthenticationMechanism.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHarvestSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceHarvestSchemasAuthType.java new file mode 100644 index 000000000..3653df84f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceHarvestSchemasAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceHarvestSchemasAuthType { + TOKEN("Token"); + + @JsonValue + private final String value; + + private SourceHarvestSchemasAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHeight.java b/src/main/java/com/airbyte/api/models/shared/SourceHeight.java index 2efedf3db..82935a9e6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHeight.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHeight.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceHeight { @JsonProperty("api_key") @@ -32,7 +30,7 @@ public class SourceHeight { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("search_query") - private Optional searchQuery; + private Optional searchQuery; @JsonProperty("sourceType") private Height sourceType; @@ -43,7 +41,7 @@ public class SourceHeight { @JsonCreator public SourceHeight( @JsonProperty("api_key") String apiKey, - @JsonProperty("search_query") Optional searchQuery, + @JsonProperty("search_query") Optional searchQuery, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(searchQuery, "searchQuery"); @@ -68,10 +66,9 @@ public String apiKey() { /** * Search query to be used with search stream */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional searchQuery() { - return (Optional) searchQuery; + return searchQuery; } @JsonIgnore @@ -106,7 +103,7 @@ public SourceHeight withSearchQuery(String searchQuery) { /** * Search query to be used with search stream */ - public SourceHeight withSearchQuery(Optional searchQuery) { + public SourceHeight withSearchQuery(Optional searchQuery) { Utils.checkNotNull(searchQuery, "searchQuery"); this.searchQuery = searchQuery; return this; @@ -128,15 +125,15 @@ public boolean equals(java.lang.Object o) { } SourceHeight other = (SourceHeight) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.searchQuery, other.searchQuery) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.searchQuery, other.searchQuery) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, searchQuery, sourceType, @@ -156,7 +153,7 @@ public final static class Builder { private String apiKey; - private Optional searchQuery; + private Optional searchQuery; private OffsetDateTime startDate; @@ -182,7 +179,7 @@ public Builder searchQuery(String searchQuery) { /** * Search query to be used with search stream */ - public Builder searchQuery(Optional searchQuery) { + public Builder searchQuery(Optional searchQuery) { Utils.checkNotNull(searchQuery, "searchQuery"); this.searchQuery = searchQuery; return this; @@ -197,18 +194,17 @@ public Builder startDate(OffsetDateTime startDate) { public SourceHeight build() { if (searchQuery == null) { searchQuery = _SINGLETON_VALUE_SearchQuery.value(); - } - return new SourceHeight( + } return new SourceHeight( apiKey, searchQuery, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_SearchQuery = + private static final LazySingletonValue> _SINGLETON_VALUE_SearchQuery = new LazySingletonValue<>( "search_query", "\"task\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHibob.java b/src/main/java/com/airbyte/api/models/shared/SourceHibob.java index efe5a4758..8f00afdf6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHibob.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHibob.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceHibob { /** @@ -29,7 +30,7 @@ public class SourceHibob { @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; @JsonProperty("sourceType") private Hibob sourceType; @@ -40,7 +41,7 @@ public class SourceHibob { @JsonCreator public SourceHibob( @JsonProperty("is_sandbox") boolean isSandbox, - @JsonProperty("password") Optional password, + @JsonProperty("password") Optional password, @JsonProperty("username") String username) { Utils.checkNotNull(isSandbox, "isSandbox"); Utils.checkNotNull(password, "password"); @@ -65,10 +66,9 @@ public boolean isSandbox() { return isSandbox; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } @JsonIgnore @@ -100,7 +100,7 @@ public SourceHibob withPassword(String password) { return this; } - public SourceHibob withPassword(Optional password) { + public SourceHibob withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -122,15 +122,15 @@ public boolean equals(java.lang.Object o) { } SourceHibob other = (SourceHibob) o; return - java.util.Objects.deepEquals(this.isSandbox, other.isSandbox) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.isSandbox, other.isSandbox) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( isSandbox, password, sourceType, @@ -150,7 +150,7 @@ public final static class Builder { private Boolean isSandbox; - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); private String username; @@ -173,7 +173,7 @@ public Builder password(String password) { return this; } - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHighLevel.java b/src/main/java/com/airbyte/api/models/shared/SourceHighLevel.java index 2cbc0107a..f11649724 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHighLevel.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHighLevel.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceHighLevel { @@ -99,15 +97,15 @@ public boolean equals(java.lang.Object o) { } SourceHighLevel other = (SourceHighLevel) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.locationId, other.locationId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.locationId, other.locationId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, locationId, sourceType, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java b/src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java index e632f757e..b8c28bac4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceHubplanner { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceHubplanner other = (SourceHubplanner) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java b/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java index 45b3aaa43..8a92c0ecc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceHubspot { /** @@ -35,7 +34,7 @@ public class SourceHubspot { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("enable_experimental_streams") - private Optional enableExperimentalStreams; + private Optional enableExperimentalStreams; @JsonProperty("sourceType") private SourceHubspotHubspot sourceType; @@ -45,13 +44,13 @@ public class SourceHubspot { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceHubspot( @JsonProperty("credentials") SourceHubspotAuthentication credentials, - @JsonProperty("enable_experimental_streams") Optional enableExperimentalStreams, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("enable_experimental_streams") Optional enableExperimentalStreams, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(enableExperimentalStreams, "enableExperimentalStreams"); Utils.checkNotNull(startDate, "startDate"); @@ -77,10 +76,9 @@ public SourceHubspotAuthentication credentials() { /** * If enabled then experimental streams become available for sync. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional enableExperimentalStreams() { - return (Optional) enableExperimentalStreams; + return enableExperimentalStreams; } @JsonIgnore @@ -91,10 +89,9 @@ public SourceHubspotHubspot sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If not set, "2006-06-01T00:00:00Z" (Hubspot creation date) will be used as start date. It's recommended to provide relevant to your data start date value to optimize synchronization. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -122,7 +119,7 @@ public SourceHubspot withEnableExperimentalStreams(boolean enableExperimentalStr /** * If enabled then experimental streams become available for sync. */ - public SourceHubspot withEnableExperimentalStreams(Optional enableExperimentalStreams) { + public SourceHubspot withEnableExperimentalStreams(Optional enableExperimentalStreams) { Utils.checkNotNull(enableExperimentalStreams, "enableExperimentalStreams"); this.enableExperimentalStreams = enableExperimentalStreams; return this; @@ -140,7 +137,7 @@ public SourceHubspot withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If not set, "2006-06-01T00:00:00Z" (Hubspot creation date) will be used as start date. It's recommended to provide relevant to your data start date value to optimize synchronization. */ - public SourceHubspot withStartDate(Optional startDate) { + public SourceHubspot withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -156,15 +153,15 @@ public boolean equals(java.lang.Object o) { } SourceHubspot other = (SourceHubspot) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.enableExperimentalStreams, other.enableExperimentalStreams) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.enableExperimentalStreams, other.enableExperimentalStreams) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, enableExperimentalStreams, sourceType, @@ -184,9 +181,9 @@ public final static class Builder { private SourceHubspotAuthentication credentials; - private Optional enableExperimentalStreams; + private Optional enableExperimentalStreams; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -213,7 +210,7 @@ public Builder enableExperimentalStreams(boolean enableExperimentalStreams) { /** * If enabled then experimental streams become available for sync. */ - public Builder enableExperimentalStreams(Optional enableExperimentalStreams) { + public Builder enableExperimentalStreams(Optional enableExperimentalStreams) { Utils.checkNotNull(enableExperimentalStreams, "enableExperimentalStreams"); this.enableExperimentalStreams = enableExperimentalStreams; return this; @@ -231,7 +228,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If not set, "2006-06-01T00:00:00Z" (Hubspot creation date) will be used as start date. It's recommended to provide relevant to your data start date value to optimize synchronization. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -240,18 +237,17 @@ public Builder startDate(Optional startDate) { public SourceHubspot build() { if (enableExperimentalStreams == null) { enableExperimentalStreams = _SINGLETON_VALUE_EnableExperimentalStreams.value(); - } - return new SourceHubspot( + } return new SourceHubspot( credentials, enableExperimentalStreams, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_EnableExperimentalStreams = + private static final LazySingletonValue> _SINGLETON_VALUE_EnableExperimentalStreams = new LazySingletonValue<>( "enable_experimental_streams", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthType.java index ace3a5d5a..b95d34c91 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceHubspotAuthType - Name of the credentials diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthentication.java index 0935886fc..d050c29e2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHubspotAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceHubspotAuthentication - Choose how to authenticate to HubSpot. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceHubspotAuthentication._Deserializer.class) public class SourceHubspotAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceHubspotAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceHubspotAuthentication of(PrivateApp value) { /** * Returns an instance of one of these types: *
      - *
    • {@code SourceHubspotOAuth}
    • - *
    • {@code PrivateApp}
    • + *
    • {@code com.airbyte.api.models.shared.SourceHubspotOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.PrivateApp}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceHubspotAuthentication other = (SourceHubspotAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceHubspotAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceHubspotAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspot.java b/src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspot.java index a32373c10..8c73399e5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspot.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspot.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceHubspotHubspot { HUBSPOT("hubspot"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHubspotOAuth.java b/src/main/java/com/airbyte/api/models/shared/SourceHubspotOAuth.java index 15e4c527a..a887942ac 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHubspotOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHubspotOAuth.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceHubspotOAuth { @@ -129,15 +129,15 @@ public boolean equals(java.lang.Object o) { } SourceHubspotOAuth other = (SourceHubspotOAuth) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.credentialsTitle, other.credentialsTitle) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.credentialsTitle, other.credentialsTitle) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, credentialsTitle, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHubspotSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceHubspotSchemasAuthType.java index 5d3c6eb38..a8c966fe1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceHubspotSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceHubspotSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceHubspotSchemasAuthType - Name of the credentials set diff --git a/src/main/java/com/airbyte/api/models/shared/SourceHumanitix.java b/src/main/java/com/airbyte/api/models/shared/SourceHumanitix.java new file mode 100644 index 000000000..4b51ef021 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceHumanitix.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceHumanitix { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Humanitix sourceType; + + @JsonCreator + public SourceHumanitix( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Humanitix sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceHumanitix withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceHumanitix other = (SourceHumanitix) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceHumanitix.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceHumanitix build() { + return new SourceHumanitix( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"humanitix\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceIlluminaBasespace.java b/src/main/java/com/airbyte/api/models/shared/SourceIlluminaBasespace.java new file mode 100644 index 000000000..d3bc1e3c0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceIlluminaBasespace.java @@ -0,0 +1,239 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceIlluminaBasespace { + + /** + * BaseSpace access token. Instructions for obtaining your access token can be found in the BaseSpace Developer Documentation. + */ + @JsonProperty("access_token") + private String accessToken; + + /** + * Domain name of the BaseSpace instance (e.g., euw2.sh.basespace.illumina.com) + */ + @JsonProperty("domain") + private String domain; + + @JsonProperty("sourceType") + private IlluminaBasespace sourceType; + + /** + * Providing a user ID restricts the returned data to what that user can access. If you use the default ('current'), all data accessible to the user associated with the API key will be shown. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("user") + private Optional user; + + @JsonCreator + public SourceIlluminaBasespace( + @JsonProperty("access_token") String accessToken, + @JsonProperty("domain") String domain, + @JsonProperty("user") Optional user) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(domain, "domain"); + Utils.checkNotNull(user, "user"); + this.accessToken = accessToken; + this.domain = domain; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.user = user; + } + + public SourceIlluminaBasespace( + String accessToken, + String domain) { + this(accessToken, domain, Optional.empty()); + } + + /** + * BaseSpace access token. Instructions for obtaining your access token can be found in the BaseSpace Developer Documentation. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + /** + * Domain name of the BaseSpace instance (e.g., euw2.sh.basespace.illumina.com) + */ + @JsonIgnore + public String domain() { + return domain; + } + + @JsonIgnore + public IlluminaBasespace sourceType() { + return sourceType; + } + + /** + * Providing a user ID restricts the returned data to what that user can access. If you use the default ('current'), all data accessible to the user associated with the API key will be shown. + */ + @JsonIgnore + public Optional user() { + return user; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * BaseSpace access token. Instructions for obtaining your access token can be found in the BaseSpace Developer Documentation. + */ + public SourceIlluminaBasespace withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Domain name of the BaseSpace instance (e.g., euw2.sh.basespace.illumina.com) + */ + public SourceIlluminaBasespace withDomain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + /** + * Providing a user ID restricts the returned data to what that user can access. If you use the default ('current'), all data accessible to the user associated with the API key will be shown. + */ + public SourceIlluminaBasespace withUser(String user) { + Utils.checkNotNull(user, "user"); + this.user = Optional.ofNullable(user); + return this; + } + + /** + * Providing a user ID restricts the returned data to what that user can access. If you use the default ('current'), all data accessible to the user associated with the API key will be shown. + */ + public SourceIlluminaBasespace withUser(Optional user) { + Utils.checkNotNull(user, "user"); + this.user = user; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceIlluminaBasespace other = (SourceIlluminaBasespace) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.user, other.user); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + domain, + sourceType, + user); + } + + @Override + public String toString() { + return Utils.toString(SourceIlluminaBasespace.class, + "accessToken", accessToken, + "domain", domain, + "sourceType", sourceType, + "user", user); + } + + public final static class Builder { + + private String accessToken; + + private String domain; + + private Optional user; + + private Builder() { + // force use of static builder() method + } + + /** + * BaseSpace access token. Instructions for obtaining your access token can be found in the BaseSpace Developer Documentation. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Domain name of the BaseSpace instance (e.g., euw2.sh.basespace.illumina.com) + */ + public Builder domain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + /** + * Providing a user ID restricts the returned data to what that user can access. If you use the default ('current'), all data accessible to the user associated with the API key will be shown. + */ + public Builder user(String user) { + Utils.checkNotNull(user, "user"); + this.user = Optional.ofNullable(user); + return this; + } + + /** + * Providing a user ID restricts the returned data to what that user can access. If you use the default ('current'), all data accessible to the user associated with the API key will be shown. + */ + public Builder user(Optional user) { + Utils.checkNotNull(user, "user"); + this.user = user; + return this; + } + + public SourceIlluminaBasespace build() { + if (user == null) { + user = _SINGLETON_VALUE_User.value(); + } return new SourceIlluminaBasespace( + accessToken, + domain, + user); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"illumina-basespace\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_User = + new LazySingletonValue<>( + "user", + "\"current\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceIncidentIo.java b/src/main/java/com/airbyte/api/models/shared/SourceIncidentIo.java new file mode 100644 index 000000000..ae3675254 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceIncidentIo.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceIncidentIo { + + /** + * API key to use. Find it at https://app.incident.io/settings/api-keys + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private IncidentIo sourceType; + + @JsonCreator + public SourceIncidentIo( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Find it at https://app.incident.io/settings/api-keys + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public IncidentIo sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://app.incident.io/settings/api-keys + */ + public SourceIncidentIo withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceIncidentIo other = (SourceIncidentIo) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceIncidentIo.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://app.incident.io/settings/api-keys + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceIncidentIo build() { + return new SourceIncidentIo( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"incident-io\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceInflowinventory.java b/src/main/java/com/airbyte/api/models/shared/SourceInflowinventory.java new file mode 100644 index 000000000..7943b40ea --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceInflowinventory.java @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceInflowinventory { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("companyid") + private String companyid; + + @JsonProperty("sourceType") + private Inflowinventory sourceType; + + @JsonCreator + public SourceInflowinventory( + @JsonProperty("api_key") String apiKey, + @JsonProperty("companyid") String companyid) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(companyid, "companyid"); + this.apiKey = apiKey; + this.companyid = companyid; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public String companyid() { + return companyid; + } + + @JsonIgnore + public Inflowinventory sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceInflowinventory withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceInflowinventory withCompanyid(String companyid) { + Utils.checkNotNull(companyid, "companyid"); + this.companyid = companyid; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceInflowinventory other = (SourceInflowinventory) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.companyid, other.companyid) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + companyid, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceInflowinventory.class, + "apiKey", apiKey, + "companyid", companyid, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private String companyid; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder companyid(String companyid) { + Utils.checkNotNull(companyid, "companyid"); + this.companyid = companyid; + return this; + } + + public SourceInflowinventory build() { + return new SourceInflowinventory( + apiKey, + companyid); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"inflowinventory\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceInsightly.java b/src/main/java/com/airbyte/api/models/shared/SourceInsightly.java index 14f498bdc..2edb36009 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceInsightly.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceInsightly.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceInsightly { @JsonProperty("sourceType") @@ -32,19 +30,19 @@ public class SourceInsightly { */ @JsonInclude(Include.ALWAYS) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Your Insightly API token. */ @JsonInclude(Include.ALWAYS) @JsonProperty("token") - private Optional token; + private Optional token; @JsonCreator public SourceInsightly( - @JsonProperty("start_date") Optional startDate, - @JsonProperty("token") Optional token) { + @JsonProperty("start_date") Optional startDate, + @JsonProperty("token") Optional token) { Utils.checkNotNull(startDate, "startDate"); Utils.checkNotNull(token, "token"); this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); @@ -64,19 +62,17 @@ public Insightly sourceType() { /** * The date from which you'd like to replicate data for Insightly in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only for incremental streams. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Your Insightly API token. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional token() { - return (Optional) token; + return token; } public final static Builder builder() { @@ -95,7 +91,7 @@ public SourceInsightly withStartDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for Insightly in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only for incremental streams. */ - public SourceInsightly withStartDate(Optional startDate) { + public SourceInsightly withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -113,7 +109,7 @@ public SourceInsightly withToken(String token) { /** * Your Insightly API token. */ - public SourceInsightly withToken(Optional token) { + public SourceInsightly withToken(Optional token) { Utils.checkNotNull(token, "token"); this.token = token; return this; @@ -129,14 +125,14 @@ public boolean equals(java.lang.Object o) { } SourceInsightly other = (SourceInsightly) o; return - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.token, other.token); + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.token, other.token); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourceType, startDate, token); @@ -152,9 +148,9 @@ public String toString() { public final static class Builder { - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private Optional token = Optional.empty(); + private Optional token = Optional.empty(); private Builder() { // force use of static builder() method @@ -172,7 +168,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for Insightly in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only for incremental streams. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -190,7 +186,7 @@ public Builder token(String token) { /** * Your Insightly API token. */ - public Builder token(Optional token) { + public Builder token(Optional token) { Utils.checkNotNull(token, "token"); this.token = token; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceInstagram.java b/src/main/java/com/airbyte/api/models/shared/SourceInstagram.java index 27ffdf917..d59e8de68 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceInstagram.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceInstagram.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceInstagram { /** @@ -38,12 +36,12 @@ public class SourceInstagram { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceInstagram( @JsonProperty("access_token") String accessToken, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(startDate, "startDate"); this.accessToken = accessToken; @@ -72,10 +70,9 @@ public SourceInstagramInstagram sourceType() { /** * The date from which you'd like to replicate data for User Insights, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. If left blank, the start date will be set to 2 years before the present date. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -103,7 +100,7 @@ public SourceInstagram withStartDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for User Insights, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. If left blank, the start date will be set to 2 years before the present date. */ - public SourceInstagram withStartDate(Optional startDate) { + public SourceInstagram withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -119,14 +116,14 @@ public boolean equals(java.lang.Object o) { } SourceInstagram other = (SourceInstagram) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, sourceType, startDate); @@ -144,7 +141,7 @@ public final static class Builder { private String accessToken; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -171,7 +168,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for User Insights, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. If left blank, the start date will be set to 2 years before the present date. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagram.java b/src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagram.java index dbb78de0e..71ca807ba 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagram.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceInstagramInstagram.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceInstagramInstagram { INSTAGRAM("instagram"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceInstatus.java b/src/main/java/com/airbyte/api/models/shared/SourceInstatus.java index 7c47a2079..c28641a83 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceInstatus.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceInstatus.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceInstatus { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceInstatus other = (SourceInstatus) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceIntercom.java b/src/main/java/com/airbyte/api/models/shared/SourceIntercom.java index 35aa5fa44..e0f8ec9c6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceIntercom.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceIntercom.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceIntercom { /** @@ -35,21 +34,28 @@ public class SourceIntercom { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("activity_logs_time_step") - private Optional activityLogsTimeStep; + private Optional activityLogsTimeStep; /** * Client Id for your Intercom application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Client Secret for your Intercom application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; + + /** + * The number of days to shift the state value backward for record sync + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lookback_window") + private Optional lookbackWindow; @JsonProperty("sourceType") private SourceIntercomIntercom sourceType; @@ -63,19 +69,22 @@ public class SourceIntercom { @JsonCreator public SourceIntercom( @JsonProperty("access_token") String accessToken, - @JsonProperty("activity_logs_time_step") Optional activityLogsTimeStep, - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret, + @JsonProperty("activity_logs_time_step") Optional activityLogsTimeStep, + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret, + @JsonProperty("lookback_window") Optional lookbackWindow, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(activityLogsTimeStep, "activityLogsTimeStep"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(lookbackWindow, "lookbackWindow"); Utils.checkNotNull(startDate, "startDate"); this.accessToken = accessToken; this.activityLogsTimeStep = activityLogsTimeStep; this.clientId = clientId; this.clientSecret = clientSecret; + this.lookbackWindow = lookbackWindow; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); this.startDate = startDate; } @@ -83,7 +92,7 @@ public SourceIntercom( public SourceIntercom( String accessToken, OffsetDateTime startDate) { - this(accessToken, Optional.empty(), Optional.empty(), Optional.empty(), startDate); + this(accessToken, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), startDate); } /** @@ -97,28 +106,33 @@ public String accessToken() { /** * Set lower value in case of failing long running sync of Activity Logs stream. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional activityLogsTimeStep() { - return (Optional) activityLogsTimeStep; + return activityLogsTimeStep; } /** * Client Id for your Intercom application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Client Secret for your Intercom application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; + } + + /** + * The number of days to shift the state value backward for record sync + */ + @JsonIgnore + public Optional lookbackWindow() { + return lookbackWindow; } @JsonIgnore @@ -159,7 +173,7 @@ public SourceIntercom withActivityLogsTimeStep(long activityLogsTimeStep) { /** * Set lower value in case of failing long running sync of Activity Logs stream. */ - public SourceIntercom withActivityLogsTimeStep(Optional activityLogsTimeStep) { + public SourceIntercom withActivityLogsTimeStep(Optional activityLogsTimeStep) { Utils.checkNotNull(activityLogsTimeStep, "activityLogsTimeStep"); this.activityLogsTimeStep = activityLogsTimeStep; return this; @@ -177,7 +191,7 @@ public SourceIntercom withClientId(String clientId) { /** * Client Id for your Intercom application. */ - public SourceIntercom withClientId(Optional clientId) { + public SourceIntercom withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -195,12 +209,30 @@ public SourceIntercom withClientSecret(String clientSecret) { /** * Client Secret for your Intercom application. */ - public SourceIntercom withClientSecret(Optional clientSecret) { + public SourceIntercom withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; } + /** + * The number of days to shift the state value backward for record sync + */ + public SourceIntercom withLookbackWindow(long lookbackWindow) { + Utils.checkNotNull(lookbackWindow, "lookbackWindow"); + this.lookbackWindow = Optional.ofNullable(lookbackWindow); + return this; + } + + /** + * The number of days to shift the state value backward for record sync + */ + public SourceIntercom withLookbackWindow(Optional lookbackWindow) { + Utils.checkNotNull(lookbackWindow, "lookbackWindow"); + this.lookbackWindow = lookbackWindow; + return this; + } + /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. */ @@ -220,21 +252,23 @@ public boolean equals(java.lang.Object o) { } SourceIntercom other = (SourceIntercom) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.activityLogsTimeStep, other.activityLogsTimeStep) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.activityLogsTimeStep, other.activityLogsTimeStep) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, activityLogsTimeStep, clientId, clientSecret, + lookbackWindow, sourceType, startDate); } @@ -246,6 +280,7 @@ public String toString() { "activityLogsTimeStep", activityLogsTimeStep, "clientId", clientId, "clientSecret", clientSecret, + "lookbackWindow", lookbackWindow, "sourceType", sourceType, "startDate", startDate); } @@ -254,11 +289,13 @@ public final static class Builder { private String accessToken; - private Optional activityLogsTimeStep; + private Optional activityLogsTimeStep; + + private Optional clientId = Optional.empty(); - private Optional clientId = Optional.empty(); + private Optional clientSecret = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional lookbackWindow; private OffsetDateTime startDate; @@ -287,7 +324,7 @@ public Builder activityLogsTimeStep(long activityLogsTimeStep) { /** * Set lower value in case of failing long running sync of Activity Logs stream. */ - public Builder activityLogsTimeStep(Optional activityLogsTimeStep) { + public Builder activityLogsTimeStep(Optional activityLogsTimeStep) { Utils.checkNotNull(activityLogsTimeStep, "activityLogsTimeStep"); this.activityLogsTimeStep = activityLogsTimeStep; return this; @@ -305,7 +342,7 @@ public Builder clientId(String clientId) { /** * Client Id for your Intercom application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -323,12 +360,30 @@ public Builder clientSecret(String clientSecret) { /** * Client Secret for your Intercom application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; } + /** + * The number of days to shift the state value backward for record sync + */ + public Builder lookbackWindow(long lookbackWindow) { + Utils.checkNotNull(lookbackWindow, "lookbackWindow"); + this.lookbackWindow = Optional.ofNullable(lookbackWindow); + return this; + } + + /** + * The number of days to shift the state value backward for record sync + */ + public Builder lookbackWindow(Optional lookbackWindow) { + Utils.checkNotNull(lookbackWindow, "lookbackWindow"); + this.lookbackWindow = lookbackWindow; + return this; + } + /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. */ @@ -342,19 +397,28 @@ public SourceIntercom build() { if (activityLogsTimeStep == null) { activityLogsTimeStep = _SINGLETON_VALUE_ActivityLogsTimeStep.value(); } - return new SourceIntercom( + if (lookbackWindow == null) { + lookbackWindow = _SINGLETON_VALUE_LookbackWindow.value(); + } return new SourceIntercom( accessToken, activityLogsTimeStep, clientId, clientSecret, + lookbackWindow, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_ActivityLogsTimeStep = + private static final LazySingletonValue> _SINGLETON_VALUE_ActivityLogsTimeStep = new LazySingletonValue<>( "activity_logs_time_step", "30", - new TypeReference>() {}); + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = + new LazySingletonValue<>( + "lookback_window", + "0", + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercom.java b/src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercom.java index fdec992e8..032878818 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercom.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceIntercomIntercom.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceIntercomIntercom { INTERCOM("intercom"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceInvoiced.java b/src/main/java/com/airbyte/api/models/shared/SourceInvoiced.java new file mode 100644 index 000000000..2c5fea3b8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceInvoiced.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceInvoiced { + + /** + * API key to use. Find it at https://invoiced.com/account + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Invoiced sourceType; + + @JsonCreator + public SourceInvoiced( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Find it at https://invoiced.com/account + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Invoiced sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://invoiced.com/account + */ + public SourceInvoiced withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceInvoiced other = (SourceInvoiced) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceInvoiced.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://invoiced.com/account + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceInvoiced build() { + return new SourceInvoiced( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"invoiced\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceInvoiceninja.java b/src/main/java/com/airbyte/api/models/shared/SourceInvoiceninja.java new file mode 100644 index 000000000..daa19b646 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceInvoiceninja.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceInvoiceninja { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Invoiceninja sourceType; + + @JsonCreator + public SourceInvoiceninja( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Invoiceninja sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceInvoiceninja withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceInvoiceninja other = (SourceInvoiceninja) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceInvoiceninja.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceInvoiceninja build() { + return new SourceInvoiceninja( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"invoiceninja\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java b/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java index 5a1a09f46..cead6a4de 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceIp2whois { /** @@ -26,22 +26,22 @@ public class SourceIp2whois { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * Domain name. See <a href="https://www.ip2whois.com/developers-api">here</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("domain") - private Optional domain; + private Optional domain; @JsonProperty("sourceType") private Ip2whois sourceType; @JsonCreator public SourceIp2whois( - @JsonProperty("api_key") Optional apiKey, - @JsonProperty("domain") Optional domain) { + @JsonProperty("api_key") Optional apiKey, + @JsonProperty("domain") Optional domain) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(domain, "domain"); this.apiKey = apiKey; @@ -56,19 +56,17 @@ public SourceIp2whois() { /** * Your API Key. See <a href="https://www.ip2whois.com/developers-api">here</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** * Domain name. See <a href="https://www.ip2whois.com/developers-api">here</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional domain() { - return (Optional) domain; + return domain; } @JsonIgnore @@ -92,7 +90,7 @@ public SourceIp2whois withApiKey(String apiKey) { /** * Your API Key. See <a href="https://www.ip2whois.com/developers-api">here</a>. */ - public SourceIp2whois withApiKey(Optional apiKey) { + public SourceIp2whois withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -110,7 +108,7 @@ public SourceIp2whois withDomain(String domain) { /** * Domain name. See <a href="https://www.ip2whois.com/developers-api">here</a>. */ - public SourceIp2whois withDomain(Optional domain) { + public SourceIp2whois withDomain(Optional domain) { Utils.checkNotNull(domain, "domain"); this.domain = domain; return this; @@ -126,14 +124,14 @@ public boolean equals(java.lang.Object o) { } SourceIp2whois other = (SourceIp2whois) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.domain, other.domain) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, domain, sourceType); @@ -149,9 +147,9 @@ public String toString() { public final static class Builder { - private Optional apiKey = Optional.empty(); + private Optional apiKey = Optional.empty(); - private Optional domain = Optional.empty(); + private Optional domain = Optional.empty(); private Builder() { // force use of static builder() method @@ -169,7 +167,7 @@ public Builder apiKey(String apiKey) { /** * Your API Key. See <a href="https://www.ip2whois.com/developers-api">here</a>. */ - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -187,7 +185,7 @@ public Builder domain(String domain) { /** * Domain name. See <a href="https://www.ip2whois.com/developers-api">here</a>. */ - public Builder domain(Optional domain) { + public Builder domain(Optional domain) { Utils.checkNotNull(domain, "domain"); this.domain = domain; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceIterable.java b/src/main/java/com/airbyte/api/models/shared/SourceIterable.java index 40624861f..a72a1a452 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceIterable.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceIterable.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceIterable { @@ -100,14 +98,14 @@ public boolean equals(java.lang.Object o) { } SourceIterable other = (SourceIterable) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceJira.java b/src/main/java/com/airbyte/api/models/shared/SourceJira.java index 475b73bab..d6a7bf7d8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceJira.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceJira.java @@ -1,27 +1,29 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceJira { /** @@ -47,21 +49,28 @@ public class SourceJira { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("enable_experimental_streams") - private Optional enableExperimentalStreams; + private Optional enableExperimentalStreams; /** * When set to N, the connector will always refresh resources created within the past N minutes. By default, updated objects that are not newly created are not incrementally synced. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window_minutes") - private Optional lookbackWindowMinutes; + private Optional lookbackWindowMinutes; + + /** + * The number of worker threads to use for the sync. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("num_workers") + private Optional numWorkers; /** * List of Jira project keys to replicate data for, or leave it empty if you want to replicate data for all projects. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("projects") - private Optional> projects; + private Optional> projects; @JsonProperty("sourceType") private Jira sourceType; @@ -71,22 +80,24 @@ public class SourceJira { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceJira( @JsonProperty("api_token") String apiToken, @JsonProperty("domain") String domain, @JsonProperty("email") String email, - @JsonProperty("enable_experimental_streams") Optional enableExperimentalStreams, - @JsonProperty("lookback_window_minutes") Optional lookbackWindowMinutes, - @JsonProperty("projects") Optional> projects, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("enable_experimental_streams") Optional enableExperimentalStreams, + @JsonProperty("lookback_window_minutes") Optional lookbackWindowMinutes, + @JsonProperty("num_workers") Optional numWorkers, + @JsonProperty("projects") Optional> projects, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(apiToken, "apiToken"); Utils.checkNotNull(domain, "domain"); Utils.checkNotNull(email, "email"); Utils.checkNotNull(enableExperimentalStreams, "enableExperimentalStreams"); Utils.checkNotNull(lookbackWindowMinutes, "lookbackWindowMinutes"); + Utils.checkNotNull(numWorkers, "numWorkers"); Utils.checkNotNull(projects, "projects"); Utils.checkNotNull(startDate, "startDate"); this.apiToken = apiToken; @@ -94,6 +105,7 @@ public SourceJira( this.email = email; this.enableExperimentalStreams = enableExperimentalStreams; this.lookbackWindowMinutes = lookbackWindowMinutes; + this.numWorkers = numWorkers; this.projects = projects; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); this.startDate = startDate; @@ -103,7 +115,7 @@ public SourceJira( String apiToken, String domain, String email) { - this(apiToken, domain, email, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + this(apiToken, domain, email, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); } /** @@ -133,19 +145,25 @@ public String email() { /** * Allow the use of experimental streams which rely on undocumented Jira API endpoints. See https://docs.airbyte.com/integrations/sources/jira#experimental-tables for more info. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional enableExperimentalStreams() { - return (Optional) enableExperimentalStreams; + return enableExperimentalStreams; } /** * When set to N, the connector will always refresh resources created within the past N minutes. By default, updated objects that are not newly created are not incrementally synced. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindowMinutes() { - return (Optional) lookbackWindowMinutes; + return lookbackWindowMinutes; + } + + /** + * The number of worker threads to use for the sync. + */ + @JsonIgnore + public Optional numWorkers() { + return numWorkers; } /** @@ -153,8 +171,8 @@ public Optional lookbackWindowMinutes() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> projects() { - return (Optional>) projects; + public Optional> projects() { + return (Optional>) projects; } @JsonIgnore @@ -165,10 +183,9 @@ public Jira sourceType() { /** * The date from which you want to replicate data from Jira, use the format YYYY-MM-DDT00:00:00Z. Note that this field only applies to certain streams, and only data generated on or after the start date will be replicated. Or leave it empty if you want to replicate all data. For more information, refer to the <a href="https://docs.airbyte.com/integrations/sources/jira/">documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -214,7 +231,7 @@ public SourceJira withEnableExperimentalStreams(boolean enableExperimentalStream /** * Allow the use of experimental streams which rely on undocumented Jira API endpoints. See https://docs.airbyte.com/integrations/sources/jira#experimental-tables for more info. */ - public SourceJira withEnableExperimentalStreams(Optional enableExperimentalStreams) { + public SourceJira withEnableExperimentalStreams(Optional enableExperimentalStreams) { Utils.checkNotNull(enableExperimentalStreams, "enableExperimentalStreams"); this.enableExperimentalStreams = enableExperimentalStreams; return this; @@ -232,16 +249,34 @@ public SourceJira withLookbackWindowMinutes(long lookbackWindowMinutes) { /** * When set to N, the connector will always refresh resources created within the past N minutes. By default, updated objects that are not newly created are not incrementally synced. */ - public SourceJira withLookbackWindowMinutes(Optional lookbackWindowMinutes) { + public SourceJira withLookbackWindowMinutes(Optional lookbackWindowMinutes) { Utils.checkNotNull(lookbackWindowMinutes, "lookbackWindowMinutes"); this.lookbackWindowMinutes = lookbackWindowMinutes; return this; } + /** + * The number of worker threads to use for the sync. + */ + public SourceJira withNumWorkers(long numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = Optional.ofNullable(numWorkers); + return this; + } + + /** + * The number of worker threads to use for the sync. + */ + public SourceJira withNumWorkers(Optional numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = numWorkers; + return this; + } + /** * List of Jira project keys to replicate data for, or leave it empty if you want to replicate data for all projects. */ - public SourceJira withProjects(java.util.List projects) { + public SourceJira withProjects(List projects) { Utils.checkNotNull(projects, "projects"); this.projects = Optional.ofNullable(projects); return this; @@ -250,7 +285,7 @@ public SourceJira withProjects(java.util.List projects) { /** * List of Jira project keys to replicate data for, or leave it empty if you want to replicate data for all projects. */ - public SourceJira withProjects(Optional> projects) { + public SourceJira withProjects(Optional> projects) { Utils.checkNotNull(projects, "projects"); this.projects = projects; return this; @@ -268,7 +303,7 @@ public SourceJira withStartDate(OffsetDateTime startDate) { /** * The date from which you want to replicate data from Jira, use the format YYYY-MM-DDT00:00:00Z. Note that this field only applies to certain streams, and only data generated on or after the start date will be replicated. Or leave it empty if you want to replicate all data. For more information, refer to the <a href="https://docs.airbyte.com/integrations/sources/jira/">documentation</a>. */ - public SourceJira withStartDate(Optional startDate) { + public SourceJira withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -284,24 +319,26 @@ public boolean equals(java.lang.Object o) { } SourceJira other = (SourceJira) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.domain, other.domain) && - java.util.Objects.deepEquals(this.email, other.email) && - java.util.Objects.deepEquals(this.enableExperimentalStreams, other.enableExperimentalStreams) && - java.util.Objects.deepEquals(this.lookbackWindowMinutes, other.lookbackWindowMinutes) && - java.util.Objects.deepEquals(this.projects, other.projects) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.enableExperimentalStreams, other.enableExperimentalStreams) && + Objects.deepEquals(this.lookbackWindowMinutes, other.lookbackWindowMinutes) && + Objects.deepEquals(this.numWorkers, other.numWorkers) && + Objects.deepEquals(this.projects, other.projects) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, domain, email, enableExperimentalStreams, lookbackWindowMinutes, + numWorkers, projects, sourceType, startDate); @@ -315,6 +352,7 @@ public String toString() { "email", email, "enableExperimentalStreams", enableExperimentalStreams, "lookbackWindowMinutes", lookbackWindowMinutes, + "numWorkers", numWorkers, "projects", projects, "sourceType", sourceType, "startDate", startDate); @@ -328,13 +366,15 @@ public final static class Builder { private String email; - private Optional enableExperimentalStreams; + private Optional enableExperimentalStreams; - private Optional lookbackWindowMinutes; + private Optional lookbackWindowMinutes; - private Optional> projects = Optional.empty(); + private Optional numWorkers; - private Optional startDate = Optional.empty(); + private Optional> projects = Optional.empty(); + + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -379,7 +419,7 @@ public Builder enableExperimentalStreams(boolean enableExperimentalStreams) { /** * Allow the use of experimental streams which rely on undocumented Jira API endpoints. See https://docs.airbyte.com/integrations/sources/jira#experimental-tables for more info. */ - public Builder enableExperimentalStreams(Optional enableExperimentalStreams) { + public Builder enableExperimentalStreams(Optional enableExperimentalStreams) { Utils.checkNotNull(enableExperimentalStreams, "enableExperimentalStreams"); this.enableExperimentalStreams = enableExperimentalStreams; return this; @@ -397,16 +437,34 @@ public Builder lookbackWindowMinutes(long lookbackWindowMinutes) { /** * When set to N, the connector will always refresh resources created within the past N minutes. By default, updated objects that are not newly created are not incrementally synced. */ - public Builder lookbackWindowMinutes(Optional lookbackWindowMinutes) { + public Builder lookbackWindowMinutes(Optional lookbackWindowMinutes) { Utils.checkNotNull(lookbackWindowMinutes, "lookbackWindowMinutes"); this.lookbackWindowMinutes = lookbackWindowMinutes; return this; } + /** + * The number of worker threads to use for the sync. + */ + public Builder numWorkers(long numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = Optional.ofNullable(numWorkers); + return this; + } + + /** + * The number of worker threads to use for the sync. + */ + public Builder numWorkers(Optional numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = numWorkers; + return this; + } + /** * List of Jira project keys to replicate data for, or leave it empty if you want to replicate data for all projects. */ - public Builder projects(java.util.List projects) { + public Builder projects(List projects) { Utils.checkNotNull(projects, "projects"); this.projects = Optional.ofNullable(projects); return this; @@ -415,7 +473,7 @@ public Builder projects(java.util.List projects) { /** * List of Jira project keys to replicate data for, or leave it empty if you want to replicate data for all projects. */ - public Builder projects(Optional> projects) { + public Builder projects(Optional> projects) { Utils.checkNotNull(projects, "projects"); this.projects = projects; return this; @@ -433,7 +491,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date from which you want to replicate data from Jira, use the format YYYY-MM-DDT00:00:00Z. Note that this field only applies to certain streams, and only data generated on or after the start date will be replicated. Or leave it empty if you want to replicate all data. For more information, refer to the <a href="https://docs.airbyte.com/integrations/sources/jira/">documentation</a>. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -446,27 +504,36 @@ public SourceJira build() { if (lookbackWindowMinutes == null) { lookbackWindowMinutes = _SINGLETON_VALUE_LookbackWindowMinutes.value(); } - return new SourceJira( + if (numWorkers == null) { + numWorkers = _SINGLETON_VALUE_NumWorkers.value(); + } return new SourceJira( apiToken, domain, email, enableExperimentalStreams, lookbackWindowMinutes, + numWorkers, projects, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_EnableExperimentalStreams = + private static final LazySingletonValue> _SINGLETON_VALUE_EnableExperimentalStreams = new LazySingletonValue<>( "enable_experimental_streams", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowMinutes = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowMinutes = new LazySingletonValue<>( "lookback_window_minutes", "0", - new TypeReference>() {}); + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_NumWorkers = + new LazySingletonValue<>( + "num_workers", + "3", + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceJobnimbus.java b/src/main/java/com/airbyte/api/models/shared/SourceJobnimbus.java new file mode 100644 index 000000000..03e5562cf --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceJobnimbus.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceJobnimbus { + + /** + * API key to use. Find it by logging into your JobNimbus account, navigating to settings, and creating a new API key under the API section. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Jobnimbus sourceType; + + @JsonCreator + public SourceJobnimbus( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Find it by logging into your JobNimbus account, navigating to settings, and creating a new API key under the API section. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Jobnimbus sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it by logging into your JobNimbus account, navigating to settings, and creating a new API key under the API section. + */ + public SourceJobnimbus withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceJobnimbus other = (SourceJobnimbus) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceJobnimbus.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it by logging into your JobNimbus account, navigating to settings, and creating a new API key under the API section. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceJobnimbus build() { + return new SourceJobnimbus( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"jobnimbus\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceJotform.java b/src/main/java/com/airbyte/api/models/shared/SourceJotform.java index 0fbabedf2..a42c5b54c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceJotform.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceJotform.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceJotform { @@ -116,16 +114,16 @@ public boolean equals(java.lang.Object o) { } SourceJotform other = (SourceJotform) o; return - java.util.Objects.deepEquals(this.apiEndpoint, other.apiEndpoint) && - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiEndpoint, other.apiEndpoint) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiEndpoint, apiKey, endDate, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceJotformApiEndpoint.java b/src/main/java/com/airbyte/api/models/shared/SourceJotformApiEndpoint.java index a071677e5..189ae3c60 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceJotformApiEndpoint.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceJotformApiEndpoint.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceJotformApiEndpoint { BASIC("basic"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceJotformSchemasApiEndpoint.java b/src/main/java/com/airbyte/api/models/shared/SourceJotformSchemasApiEndpoint.java index 314a41583..10bfb7450 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceJotformSchemasApiEndpoint.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceJotformSchemasApiEndpoint.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceJotformSchemasApiEndpoint { ENTERPRISE("enterprise"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceJustSift.java b/src/main/java/com/airbyte/api/models/shared/SourceJustSift.java new file mode 100644 index 000000000..5859e3a4b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceJustSift.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceJustSift { + + /** + * API token to use for accessing the Sift API. Obtain this token from your Sift account administrator. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private JustSift sourceType; + + @JsonCreator + public SourceJustSift( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API token to use for accessing the Sift API. Obtain this token from your Sift account administrator. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public JustSift sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token to use for accessing the Sift API. Obtain this token from your Sift account administrator. + */ + public SourceJustSift withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceJustSift other = (SourceJustSift) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceJustSift.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * API token to use for accessing the Sift API. Obtain this token from your Sift account administrator. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceJustSift build() { + return new SourceJustSift( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"just-sift\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceJustcall.java b/src/main/java/com/airbyte/api/models/shared/SourceJustcall.java new file mode 100644 index 000000000..e2d3158ac --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceJustcall.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceJustcall { + + @JsonProperty("api_key_2") + private String apiKey2; + + @JsonProperty("sourceType") + private Justcall sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceJustcall( + @JsonProperty("api_key_2") String apiKey2, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey2, "apiKey2"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey2 = apiKey2; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey2() { + return apiKey2; + } + + @JsonIgnore + public Justcall sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceJustcall withApiKey2(String apiKey2) { + Utils.checkNotNull(apiKey2, "apiKey2"); + this.apiKey2 = apiKey2; + return this; + } + + public SourceJustcall withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceJustcall other = (SourceJustcall) o; + return + Objects.deepEquals(this.apiKey2, other.apiKey2) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey2, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceJustcall.class, + "apiKey2", apiKey2, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey2; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey2(String apiKey2) { + Utils.checkNotNull(apiKey2, "apiKey2"); + this.apiKey2 = apiKey2; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceJustcall build() { + return new SourceJustcall( + apiKey2, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"justcall\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java b/src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java index 3e5d43366..80d49b72c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceK6Cloud.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceK6Cloud { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceK6Cloud other = (SourceK6Cloud) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceKatana.java b/src/main/java/com/airbyte/api/models/shared/SourceKatana.java new file mode 100644 index 000000000..802c8b8b5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceKatana.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceKatana { + + /** + * API key to use. Find it at https://katanamrp.com/login/ + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Katana sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceKatana( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API key to use. Find it at https://katanamrp.com/login/ + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Katana sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://katanamrp.com/login/ + */ + public SourceKatana withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceKatana withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceKatana other = (SourceKatana) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceKatana.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://katanamrp.com/login/ + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceKatana build() { + return new SourceKatana( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"katana\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceKisi.java b/src/main/java/com/airbyte/api/models/shared/SourceKisi.java new file mode 100644 index 000000000..2e292ee0c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceKisi.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceKisi { + + /** + * Your KISI API Key + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Kisi sourceType; + + @JsonCreator + public SourceKisi( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Your KISI API Key + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Kisi sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your KISI API Key + */ + public SourceKisi withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceKisi other = (SourceKisi) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceKisi.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * Your KISI API Key + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceKisi build() { + return new SourceKisi( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"kisi\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceKissmetrics.java b/src/main/java/com/airbyte/api/models/shared/SourceKissmetrics.java new file mode 100644 index 000000000..879fc7504 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceKissmetrics.java @@ -0,0 +1,159 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceKissmetrics { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Kissmetrics sourceType; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceKissmetrics( + @JsonProperty("password") Optional password, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.username = username; + } + + public SourceKissmetrics( + String username) { + this(Optional.empty(), username); + } + + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Kissmetrics sourceType() { + return sourceType; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceKissmetrics withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourceKissmetrics withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourceKissmetrics withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceKissmetrics other = (SourceKissmetrics) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + sourceType, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceKissmetrics.class, + "password", password, + "sourceType", sourceType, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private String username; + + private Builder() { + // force use of static builder() method + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceKissmetrics build() { + return new SourceKissmetrics( + password, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"kissmetrics\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceKlarna.java b/src/main/java/com/airbyte/api/models/shared/SourceKlarna.java index 4f3ee2f28..19c5e6733 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceKlarna.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceKlarna.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceKlarna { /** @@ -32,7 +33,7 @@ public class SourceKlarna { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("playground") - private Optional playground; + private Optional playground; /** * Base url region (For playground eu https://docs.klarna.com/klarna-payments/api/payments-api/#tag/API-URLs). Supported 'eu', 'na', 'oc' @@ -52,7 +53,7 @@ public class SourceKlarna { @JsonCreator public SourceKlarna( @JsonProperty("password") String password, - @JsonProperty("playground") Optional playground, + @JsonProperty("playground") Optional playground, @JsonProperty("region") SourceKlarnaRegion region, @JsonProperty("username") String username) { Utils.checkNotNull(password, "password"); @@ -84,10 +85,9 @@ public String password() { /** * Propertie defining if connector is used against playground or production environment */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional playground() { - return (Optional) playground; + return playground; } /** @@ -136,7 +136,7 @@ public SourceKlarna withPlayground(boolean playground) { /** * Propertie defining if connector is used against playground or production environment */ - public SourceKlarna withPlayground(Optional playground) { + public SourceKlarna withPlayground(Optional playground) { Utils.checkNotNull(playground, "playground"); this.playground = playground; return this; @@ -170,16 +170,16 @@ public boolean equals(java.lang.Object o) { } SourceKlarna other = (SourceKlarna) o; return - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.playground, other.playground) && - java.util.Objects.deepEquals(this.region, other.region) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.playground, other.playground) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( password, playground, region, @@ -201,7 +201,7 @@ public final static class Builder { private String password; - private Optional playground; + private Optional playground; private SourceKlarnaRegion region; @@ -232,7 +232,7 @@ public Builder playground(boolean playground) { /** * Propertie defining if connector is used against playground or production environment */ - public Builder playground(Optional playground) { + public Builder playground(Optional playground) { Utils.checkNotNull(playground, "playground"); this.playground = playground; return this; @@ -259,19 +259,18 @@ public Builder username(String username) { public SourceKlarna build() { if (playground == null) { playground = _SINGLETON_VALUE_Playground.value(); - } - return new SourceKlarna( + } return new SourceKlarna( password, playground, region, username); } - private static final LazySingletonValue> _SINGLETON_VALUE_Playground = + private static final LazySingletonValue> _SINGLETON_VALUE_Playground = new LazySingletonValue<>( "playground", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegion.java b/src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegion.java index 63c0ec316..2f854c84a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceKlarnaRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceKlarnaRegion - Base url region (For playground eu https://docs.klarna.com/klarna-payments/api/payments-api/#tag/API-URLs). Supported 'eu', 'na', 'oc' diff --git a/src/main/java/com/airbyte/api/models/shared/SourceKlausApi.java b/src/main/java/com/airbyte/api/models/shared/SourceKlausApi.java new file mode 100644 index 000000000..e851a9658 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceKlausApi.java @@ -0,0 +1,275 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceKlausApi { + + /** + * getting data by account + */ + @JsonProperty("account") + private long account; + + /** + * API access key used to retrieve data from the KLAUS API. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private KlausApi sourceType; + + /** + * Start getting data from that date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + /** + * getting data by workspace + */ + @JsonProperty("workspace") + private long workspace; + + @JsonCreator + public SourceKlausApi( + @JsonProperty("account") long account, + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("workspace") long workspace) { + Utils.checkNotNull(account, "account"); + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(workspace, "workspace"); + this.account = account; + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.workspace = workspace; + } + + public SourceKlausApi( + long account, + String apiKey, + long workspace) { + this(account, apiKey, Optional.empty(), workspace); + } + + /** + * getting data by account + */ + @JsonIgnore + public long account() { + return account; + } + + /** + * API access key used to retrieve data from the KLAUS API. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public KlausApi sourceType() { + return sourceType; + } + + /** + * Start getting data from that date. + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + /** + * getting data by workspace + */ + @JsonIgnore + public long workspace() { + return workspace; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * getting data by account + */ + public SourceKlausApi withAccount(long account) { + Utils.checkNotNull(account, "account"); + this.account = account; + return this; + } + + /** + * API access key used to retrieve data from the KLAUS API. + */ + public SourceKlausApi withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Start getting data from that date. + */ + public SourceKlausApi withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Start getting data from that date. + */ + public SourceKlausApi withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * getting data by workspace + */ + public SourceKlausApi withWorkspace(long workspace) { + Utils.checkNotNull(workspace, "workspace"); + this.workspace = workspace; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceKlausApi other = (SourceKlausApi) o; + return + Objects.deepEquals(this.account, other.account) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.workspace, other.workspace); + } + + @Override + public int hashCode() { + return Objects.hash( + account, + apiKey, + sourceType, + startDate, + workspace); + } + + @Override + public String toString() { + return Utils.toString(SourceKlausApi.class, + "account", account, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate, + "workspace", workspace); + } + + public final static class Builder { + + private Long account; + + private String apiKey; + + private Optional startDate = Optional.empty(); + + private Long workspace; + + private Builder() { + // force use of static builder() method + } + + /** + * getting data by account + */ + public Builder account(long account) { + Utils.checkNotNull(account, "account"); + this.account = account; + return this; + } + + /** + * API access key used to retrieve data from the KLAUS API. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Start getting data from that date. + */ + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Start getting data from that date. + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * getting data by workspace + */ + public Builder workspace(long workspace) { + Utils.checkNotNull(workspace, "workspace"); + this.workspace = workspace; + return this; + } + + public SourceKlausApi build() { + return new SourceKlausApi( + account, + apiKey, + startDate, + workspace); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"klaus-api\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java b/src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java index 9c5b35d51..24481e06d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceKlaviyo.java @@ -1,27 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceKlaviyo { /** @@ -35,7 +35,14 @@ public class SourceKlaviyo { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("disable_fetching_predictive_analytics") - private Optional disableFetchingPredictiveAnalytics; + private Optional disableFetchingPredictiveAnalytics; + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://developers.klaviyo.com/en/docs/rate_limits_and_error_handling">docs</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("num_workers") + private Optional numWorkers; @JsonProperty("sourceType") private Klaviyo sourceType; @@ -45,25 +52,28 @@ public class SourceKlaviyo { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceKlaviyo( @JsonProperty("api_key") String apiKey, - @JsonProperty("disable_fetching_predictive_analytics") Optional disableFetchingPredictiveAnalytics, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("disable_fetching_predictive_analytics") Optional disableFetchingPredictiveAnalytics, + @JsonProperty("num_workers") Optional numWorkers, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(disableFetchingPredictiveAnalytics, "disableFetchingPredictiveAnalytics"); + Utils.checkNotNull(numWorkers, "numWorkers"); Utils.checkNotNull(startDate, "startDate"); this.apiKey = apiKey; this.disableFetchingPredictiveAnalytics = disableFetchingPredictiveAnalytics; + this.numWorkers = numWorkers; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); this.startDate = startDate; } public SourceKlaviyo( String apiKey) { - this(apiKey, Optional.empty(), Optional.empty()); + this(apiKey, Optional.empty(), Optional.empty(), Optional.empty()); } /** @@ -77,10 +87,17 @@ public String apiKey() { /** * Certain streams like the profiles stream can retrieve predictive analytics data from Klaviyo's API. However, at high volume, this can lead to service availability issues on the API which can be improved by not fetching this field. WARNING: Enabling this setting will stop the "predictive_analytics" column from being populated in your downstream destination. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional disableFetchingPredictiveAnalytics() { - return (Optional) disableFetchingPredictiveAnalytics; + return disableFetchingPredictiveAnalytics; + } + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://developers.klaviyo.com/en/docs/rate_limits_and_error_handling">docs</a>. + */ + @JsonIgnore + public Optional numWorkers() { + return numWorkers; } @JsonIgnore @@ -91,10 +108,9 @@ public Klaviyo sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This field is optional - if not provided, all data will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -122,12 +138,30 @@ public SourceKlaviyo withDisableFetchingPredictiveAnalytics(boolean disableFetch /** * Certain streams like the profiles stream can retrieve predictive analytics data from Klaviyo's API. However, at high volume, this can lead to service availability issues on the API which can be improved by not fetching this field. WARNING: Enabling this setting will stop the "predictive_analytics" column from being populated in your downstream destination. */ - public SourceKlaviyo withDisableFetchingPredictiveAnalytics(Optional disableFetchingPredictiveAnalytics) { + public SourceKlaviyo withDisableFetchingPredictiveAnalytics(Optional disableFetchingPredictiveAnalytics) { Utils.checkNotNull(disableFetchingPredictiveAnalytics, "disableFetchingPredictiveAnalytics"); this.disableFetchingPredictiveAnalytics = disableFetchingPredictiveAnalytics; return this; } + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://developers.klaviyo.com/en/docs/rate_limits_and_error_handling">docs</a>. + */ + public SourceKlaviyo withNumWorkers(long numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = Optional.ofNullable(numWorkers); + return this; + } + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://developers.klaviyo.com/en/docs/rate_limits_and_error_handling">docs</a>. + */ + public SourceKlaviyo withNumWorkers(Optional numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = numWorkers; + return this; + } + /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This field is optional - if not provided, all data will be replicated. */ @@ -140,7 +174,7 @@ public SourceKlaviyo withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This field is optional - if not provided, all data will be replicated. */ - public SourceKlaviyo withStartDate(Optional startDate) { + public SourceKlaviyo withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -156,17 +190,19 @@ public boolean equals(java.lang.Object o) { } SourceKlaviyo other = (SourceKlaviyo) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.disableFetchingPredictiveAnalytics, other.disableFetchingPredictiveAnalytics) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.disableFetchingPredictiveAnalytics, other.disableFetchingPredictiveAnalytics) && + Objects.deepEquals(this.numWorkers, other.numWorkers) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, disableFetchingPredictiveAnalytics, + numWorkers, sourceType, startDate); } @@ -176,6 +212,7 @@ public String toString() { return Utils.toString(SourceKlaviyo.class, "apiKey", apiKey, "disableFetchingPredictiveAnalytics", disableFetchingPredictiveAnalytics, + "numWorkers", numWorkers, "sourceType", sourceType, "startDate", startDate); } @@ -184,9 +221,11 @@ public final static class Builder { private String apiKey; - private Optional disableFetchingPredictiveAnalytics = Optional.empty(); + private Optional disableFetchingPredictiveAnalytics = Optional.empty(); + + private Optional numWorkers; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -213,12 +252,30 @@ public Builder disableFetchingPredictiveAnalytics(boolean disableFetchingPredict /** * Certain streams like the profiles stream can retrieve predictive analytics data from Klaviyo's API. However, at high volume, this can lead to service availability issues on the API which can be improved by not fetching this field. WARNING: Enabling this setting will stop the "predictive_analytics" column from being populated in your downstream destination. */ - public Builder disableFetchingPredictiveAnalytics(Optional disableFetchingPredictiveAnalytics) { + public Builder disableFetchingPredictiveAnalytics(Optional disableFetchingPredictiveAnalytics) { Utils.checkNotNull(disableFetchingPredictiveAnalytics, "disableFetchingPredictiveAnalytics"); this.disableFetchingPredictiveAnalytics = disableFetchingPredictiveAnalytics; return this; } + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://developers.klaviyo.com/en/docs/rate_limits_and_error_handling">docs</a>. + */ + public Builder numWorkers(long numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = Optional.ofNullable(numWorkers); + return this; + } + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Chargebee plan. More info about the rate limit plan tiers can be found on Chargebee's API <a href="https://developers.klaviyo.com/en/docs/rate_limits_and_error_handling">docs</a>. + */ + public Builder numWorkers(Optional numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = numWorkers; + return this; + } + /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This field is optional - if not provided, all data will be replicated. */ @@ -231,19 +288,28 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. This field is optional - if not provided, all data will be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; } public SourceKlaviyo build() { - return new SourceKlaviyo( + if (numWorkers == null) { + numWorkers = _SINGLETON_VALUE_NumWorkers.value(); + } return new SourceKlaviyo( apiKey, disableFetchingPredictiveAnalytics, + numWorkers, startDate); } + private static final LazySingletonValue> _SINGLETON_VALUE_NumWorkers = + new LazySingletonValue<>( + "num_workers", + "10", + new TypeReference>() {}); + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( "sourceType", diff --git a/src/main/java/com/airbyte/api/models/shared/SourceKyve.java b/src/main/java/com/airbyte/api/models/shared/SourceKyve.java index 93a536060..ae0ec260b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceKyve.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceKyve.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceKyve { /** @@ -41,13 +41,13 @@ public class SourceKyve { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("url_base") - private Optional urlBase; + private Optional urlBase; @JsonCreator public SourceKyve( @JsonProperty("pool_ids") String poolIds, @JsonProperty("start_ids") String startIds, - @JsonProperty("url_base") Optional urlBase) { + @JsonProperty("url_base") Optional urlBase) { Utils.checkNotNull(poolIds, "poolIds"); Utils.checkNotNull(startIds, "startIds"); Utils.checkNotNull(urlBase, "urlBase"); @@ -87,10 +87,9 @@ public String startIds() { /** * URL to the KYVE Chain API. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional urlBase() { - return (Optional) urlBase; + return urlBase; } public final static Builder builder() { @@ -127,7 +126,7 @@ public SourceKyve withUrlBase(String urlBase) { /** * URL to the KYVE Chain API. */ - public SourceKyve withUrlBase(Optional urlBase) { + public SourceKyve withUrlBase(Optional urlBase) { Utils.checkNotNull(urlBase, "urlBase"); this.urlBase = urlBase; return this; @@ -143,15 +142,15 @@ public boolean equals(java.lang.Object o) { } SourceKyve other = (SourceKyve) o; return - java.util.Objects.deepEquals(this.poolIds, other.poolIds) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startIds, other.startIds) && - java.util.Objects.deepEquals(this.urlBase, other.urlBase); + Objects.deepEquals(this.poolIds, other.poolIds) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startIds, other.startIds) && + Objects.deepEquals(this.urlBase, other.urlBase); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( poolIds, sourceType, startIds, @@ -173,7 +172,7 @@ public final static class Builder { private String startIds; - private Optional urlBase; + private Optional urlBase; private Builder() { // force use of static builder() method @@ -209,7 +208,7 @@ public Builder urlBase(String urlBase) { /** * URL to the KYVE Chain API. */ - public Builder urlBase(Optional urlBase) { + public Builder urlBase(Optional urlBase) { Utils.checkNotNull(urlBase, "urlBase"); this.urlBase = urlBase; return this; @@ -218,8 +217,7 @@ public Builder urlBase(Optional urlBase) { public SourceKyve build() { if (urlBase == null) { urlBase = _SINGLETON_VALUE_UrlBase.value(); - } - return new SourceKyve( + } return new SourceKyve( poolIds, startIds, urlBase); @@ -231,11 +229,11 @@ public SourceKyve build() { "\"kyve\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_UrlBase = + private static final LazySingletonValue> _SINGLETON_VALUE_UrlBase = new LazySingletonValue<>( "url_base", "\"https://api.kyve.network\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java b/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java index 34a18a104..85e66ad58 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLaunchdarkly.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceLaunchdarkly { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceLaunchdarkly other = (SourceLaunchdarkly) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLeadfeeder.java b/src/main/java/com/airbyte/api/models/shared/SourceLeadfeeder.java index 5b8cb8c3d..2a30d541b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLeadfeeder.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLeadfeeder.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceLeadfeeder { @@ -82,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceLeadfeeder other = (SourceLeadfeeder) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLemlist.java b/src/main/java/com/airbyte/api/models/shared/SourceLemlist.java index 577e957c0..eb3f1eac9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLemlist.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLemlist.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceLemlist { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceLemlist other = (SourceLemlist) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLessAnnoyingCrm.java b/src/main/java/com/airbyte/api/models/shared/SourceLessAnnoyingCrm.java new file mode 100644 index 000000000..78efe758f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceLessAnnoyingCrm.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceLessAnnoyingCrm { + + /** + * API key to use. Manage and create your API keys on the Programmer API settings page at https://account.lessannoyingcrm.com/app/Settings/Api. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private LessAnnoyingCrm sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceLessAnnoyingCrm( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API key to use. Manage and create your API keys on the Programmer API settings page at https://account.lessannoyingcrm.com/app/Settings/Api. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public LessAnnoyingCrm sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Manage and create your API keys on the Programmer API settings page at https://account.lessannoyingcrm.com/app/Settings/Api. + */ + public SourceLessAnnoyingCrm withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceLessAnnoyingCrm withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceLessAnnoyingCrm other = (SourceLessAnnoyingCrm) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceLessAnnoyingCrm.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Manage and create your API keys on the Programmer API settings page at https://account.lessannoyingcrm.com/app/Settings/Api. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceLessAnnoyingCrm build() { + return new SourceLessAnnoyingCrm( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"less-annoying-crm\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiring.java b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiring.java index be4fbcde9..26f0095bf 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiring.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiring.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceLeverHiring { /** @@ -153,15 +154,15 @@ public boolean equals(java.lang.Object o) { } SourceLeverHiring other = (SourceLeverHiring) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.environment, other.environment) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.environment, other.environment) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, environment, sourceType, @@ -237,8 +238,7 @@ public Builder startDate(String startDate) { public SourceLeverHiring build() { if (environment == null) { environment = _SINGLETON_VALUE_Environment.value(); - } - return new SourceLeverHiring( + } return new SourceLeverHiring( credentials, environment, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthType.java index 00cae82e8..b84efa151 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceLeverHiringAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthenticationMechanism.java b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthenticationMechanism.java index 5a6df56a4..9d9c8f9a8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthenticationMechanism.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringAuthenticationMechanism.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceLeverHiringAuthenticationMechanism - Choose how to authenticate to Lever Hiring. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceLeverHiringAuthenticationMechanism._Deserializer.class) public class SourceLeverHiringAuthenticationMechanism { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceLeverHiringAuthenticationMechanism(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceLeverHiringAuthenticationMechanism of(AuthenticateViaLeverAp /** * Returns an instance of one of these types: *

      - *
    • {@code AuthenticateViaLeverOAuth}
    • - *
    • {@code AuthenticateViaLeverApiKey}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaLeverOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaLeverApiKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceLeverHiringAuthenticationMechanism other = (SourceLeverHiringAuthenticationMechanism) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceLeverHiringAuthenticationMechanism.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceLeverHiringAuthenticationMechanism.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringEnvironment.java b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringEnvironment.java index cab87423c..de7e859b3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringEnvironment.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringEnvironment.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceLeverHiringEnvironment - The environment in which you'd like to replicate data for Lever. This is used to determine which Lever API endpoint to use. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringLeverHiring.java b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringLeverHiring.java index a8c25fa6b..ebbbef95d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringLeverHiring.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringLeverHiring.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceLeverHiringLeverHiring { LEVER_HIRING("lever-hiring"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringSchemasAuthType.java index 88242a878..037d5f608 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLeverHiringSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceLeverHiringSchemasAuthType { API_KEY("Api Key"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLightspeedRetail.java b/src/main/java/com/airbyte/api/models/shared/SourceLightspeedRetail.java new file mode 100644 index 000000000..189e1b9bd --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceLightspeedRetail.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceLightspeedRetail { + + /** + * API key or access token + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private LightspeedRetail sourceType; + + /** + * The subdomain for the retailer, e.g., 'example' in 'example.retail.lightspeed.app'. + */ + @JsonProperty("subdomain") + private String subdomain; + + @JsonCreator + public SourceLightspeedRetail( + @JsonProperty("api_key") String apiKey, + @JsonProperty("subdomain") String subdomain) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(subdomain, "subdomain"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.subdomain = subdomain; + } + + /** + * API key or access token + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public LightspeedRetail sourceType() { + return sourceType; + } + + /** + * The subdomain for the retailer, e.g., 'example' in 'example.retail.lightspeed.app'. + */ + @JsonIgnore + public String subdomain() { + return subdomain; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key or access token + */ + public SourceLightspeedRetail withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The subdomain for the retailer, e.g., 'example' in 'example.retail.lightspeed.app'. + */ + public SourceLightspeedRetail withSubdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceLightspeedRetail other = (SourceLightspeedRetail) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.subdomain, other.subdomain); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + subdomain); + } + + @Override + public String toString() { + return Utils.toString(SourceLightspeedRetail.class, + "apiKey", apiKey, + "sourceType", sourceType, + "subdomain", subdomain); + } + + public final static class Builder { + + private String apiKey; + + private String subdomain; + + private Builder() { + // force use of static builder() method + } + + /** + * API key or access token + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The subdomain for the retailer, e.g., 'example' in 'example.retail.lightspeed.app'. + */ + public Builder subdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + public SourceLightspeedRetail build() { + return new SourceLightspeedRetail( + apiKey, + subdomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"lightspeed-retail\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java index 16a0b21d4..a4f8d07d9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAds.java @@ -1,25 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceLinkedinAds { /** @@ -27,11 +30,11 @@ public class SourceLinkedinAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("account_ids") - private Optional> accountIds; + private Optional> accountIds; @JsonInclude(Include.NON_ABSENT) @JsonProperty("ad_analytics_reports") - private Optional> adAnalyticsReports; + private Optional> adAnalyticsReports; @JsonInclude(Include.NON_ABSENT) @JsonProperty("credentials") @@ -42,7 +45,7 @@ public class SourceLinkedinAds { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window") - private Optional lookbackWindow; + private Optional lookbackWindow; @JsonProperty("sourceType") private SourceLinkedinAdsLinkedinAds sourceType; @@ -55,10 +58,10 @@ public class SourceLinkedinAds { @JsonCreator public SourceLinkedinAds( - @JsonProperty("account_ids") Optional> accountIds, - @JsonProperty("ad_analytics_reports") Optional> adAnalyticsReports, + @JsonProperty("account_ids") Optional> accountIds, + @JsonProperty("ad_analytics_reports") Optional> adAnalyticsReports, @JsonProperty("credentials") Optional credentials, - @JsonProperty("lookback_window") Optional lookbackWindow, + @JsonProperty("lookback_window") Optional lookbackWindow, @JsonProperty("start_date") LocalDate startDate) { Utils.checkNotNull(accountIds, "accountIds"); Utils.checkNotNull(adAnalyticsReports, "adAnalyticsReports"); @@ -83,14 +86,14 @@ public SourceLinkedinAds( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> accountIds() { - return (Optional>) accountIds; + public Optional> accountIds() { + return (Optional>) accountIds; } @SuppressWarnings("unchecked") @JsonIgnore - public Optional> adAnalyticsReports() { - return (Optional>) adAnalyticsReports; + public Optional> adAnalyticsReports() { + return (Optional>) adAnalyticsReports; } @SuppressWarnings("unchecked") @@ -102,10 +105,9 @@ public Optional credentials() { /** * How far into the past to look for records. (in days) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindow() { - return (Optional) lookbackWindow; + return lookbackWindow; } @JsonIgnore @@ -128,7 +130,7 @@ public final static Builder builder() { /** * Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the <a href="https://www.linkedin.com/help/linkedin/answer/a424270/find-linkedin-ads-account-details?lang=en">LinkedIn docs</a> to locate these IDs. */ - public SourceLinkedinAds withAccountIds(java.util.List accountIds) { + public SourceLinkedinAds withAccountIds(List accountIds) { Utils.checkNotNull(accountIds, "accountIds"); this.accountIds = Optional.ofNullable(accountIds); return this; @@ -137,19 +139,19 @@ public SourceLinkedinAds withAccountIds(java.util.List accountIds) { /** * Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the <a href="https://www.linkedin.com/help/linkedin/answer/a424270/find-linkedin-ads-account-details?lang=en">LinkedIn docs</a> to locate these IDs. */ - public SourceLinkedinAds withAccountIds(Optional> accountIds) { + public SourceLinkedinAds withAccountIds(Optional> accountIds) { Utils.checkNotNull(accountIds, "accountIds"); this.accountIds = accountIds; return this; } - public SourceLinkedinAds withAdAnalyticsReports(java.util.List adAnalyticsReports) { + public SourceLinkedinAds withAdAnalyticsReports(List adAnalyticsReports) { Utils.checkNotNull(adAnalyticsReports, "adAnalyticsReports"); this.adAnalyticsReports = Optional.ofNullable(adAnalyticsReports); return this; } - public SourceLinkedinAds withAdAnalyticsReports(Optional> adAnalyticsReports) { + public SourceLinkedinAds withAdAnalyticsReports(Optional> adAnalyticsReports) { Utils.checkNotNull(adAnalyticsReports, "adAnalyticsReports"); this.adAnalyticsReports = adAnalyticsReports; return this; @@ -179,7 +181,7 @@ public SourceLinkedinAds withLookbackWindow(long lookbackWindow) { /** * How far into the past to look for records. (in days) */ - public SourceLinkedinAds withLookbackWindow(Optional lookbackWindow) { + public SourceLinkedinAds withLookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -204,17 +206,17 @@ public boolean equals(java.lang.Object o) { } SourceLinkedinAds other = (SourceLinkedinAds) o; return - java.util.Objects.deepEquals(this.accountIds, other.accountIds) && - java.util.Objects.deepEquals(this.adAnalyticsReports, other.adAnalyticsReports) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accountIds, other.accountIds) && + Objects.deepEquals(this.adAnalyticsReports, other.adAnalyticsReports) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountIds, adAnalyticsReports, credentials, @@ -236,13 +238,13 @@ public String toString() { public final static class Builder { - private Optional> accountIds = Optional.empty(); + private Optional> accountIds = Optional.empty(); - private Optional> adAnalyticsReports = Optional.empty(); + private Optional> adAnalyticsReports = Optional.empty(); private Optional credentials = Optional.empty(); - private Optional lookbackWindow; + private Optional lookbackWindow; private LocalDate startDate; @@ -253,7 +255,7 @@ private Builder() { /** * Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the <a href="https://www.linkedin.com/help/linkedin/answer/a424270/find-linkedin-ads-account-details?lang=en">LinkedIn docs</a> to locate these IDs. */ - public Builder accountIds(java.util.List accountIds) { + public Builder accountIds(List accountIds) { Utils.checkNotNull(accountIds, "accountIds"); this.accountIds = Optional.ofNullable(accountIds); return this; @@ -262,19 +264,19 @@ public Builder accountIds(java.util.List accountIds) { /** * Specify the account IDs to pull data from, separated by a space. Leave this field empty if you want to pull the data from all accounts accessible by the authenticated user. See the <a href="https://www.linkedin.com/help/linkedin/answer/a424270/find-linkedin-ads-account-details?lang=en">LinkedIn docs</a> to locate these IDs. */ - public Builder accountIds(Optional> accountIds) { + public Builder accountIds(Optional> accountIds) { Utils.checkNotNull(accountIds, "accountIds"); this.accountIds = accountIds; return this; } - public Builder adAnalyticsReports(java.util.List adAnalyticsReports) { + public Builder adAnalyticsReports(List adAnalyticsReports) { Utils.checkNotNull(adAnalyticsReports, "adAnalyticsReports"); this.adAnalyticsReports = Optional.ofNullable(adAnalyticsReports); return this; } - public Builder adAnalyticsReports(Optional> adAnalyticsReports) { + public Builder adAnalyticsReports(Optional> adAnalyticsReports) { Utils.checkNotNull(adAnalyticsReports, "adAnalyticsReports"); this.adAnalyticsReports = adAnalyticsReports; return this; @@ -304,7 +306,7 @@ public Builder lookbackWindow(long lookbackWindow) { /** * How far into the past to look for records. (in days) */ - public Builder lookbackWindow(Optional lookbackWindow) { + public Builder lookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -322,8 +324,7 @@ public Builder startDate(LocalDate startDate) { public SourceLinkedinAds build() { if (lookbackWindow == null) { lookbackWindow = _SINGLETON_VALUE_LookbackWindow.value(); - } - return new SourceLinkedinAds( + } return new SourceLinkedinAds( accountIds, adAnalyticsReports, credentials, @@ -331,11 +332,11 @@ public SourceLinkedinAds build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = new LazySingletonValue<>( "lookback_window", "0", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAccessToken.java new file mode 100644 index 000000000..f5412bfe6 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAccessToken.java @@ -0,0 +1,127 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceLinkedinAdsAccessToken { + + /** + * The access token generated for your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. + */ + @JsonProperty("access_token") + private String accessToken; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_method") + private Optional authMethod; + + @JsonCreator + public SourceLinkedinAdsAccessToken( + @JsonProperty("access_token") String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + this.authMethod = Builder._SINGLETON_VALUE_AuthMethod.value(); + } + + /** + * The access token generated for your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authMethod() { + return (Optional) authMethod; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The access token generated for your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. + */ + public SourceLinkedinAdsAccessToken withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceLinkedinAdsAccessToken other = (SourceLinkedinAdsAccessToken) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authMethod, other.authMethod); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + authMethod); + } + + @Override + public String toString() { + return Utils.toString(SourceLinkedinAdsAccessToken.class, + "accessToken", accessToken, + "authMethod", authMethod); + } + + public final static class Builder { + + private String accessToken; + + private Builder() { + // force use of static builder() method + } + + /** + * The access token generated for your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + public SourceLinkedinAdsAccessToken build() { + return new SourceLinkedinAdsAccessToken( + accessToken); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthMethod = + new LazySingletonValue<>( + "auth_method", + "\"access_token\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthMethod.java index d1dfec718..b108aea0b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceLinkedinAdsAuthMethod { O_AUTH20("oAuth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthentication.java index 9a03832f7..bd27b10ab 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsAuthentication.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceLinkedinAdsAuthentication._Deserializer.class) public class SourceLinkedinAdsAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceLinkedinAdsAuthentication(TypedObject value) { @@ -37,16 +34,16 @@ public static SourceLinkedinAdsAuthentication of(SourceLinkedinAdsOAuth20 value) return new SourceLinkedinAdsAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } - public static SourceLinkedinAdsAuthentication of(AccessToken value) { + public static SourceLinkedinAdsAuthentication of(SourceLinkedinAdsAccessToken value) { Utils.checkNotNull(value, "value"); - return new SourceLinkedinAdsAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + return new SourceLinkedinAdsAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } /** * Returns an instance of one of these types: *

      - *
    • {@code SourceLinkedinAdsOAuth20}
    • - *
    • {@code AccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLinkedinAdsOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLinkedinAdsAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceLinkedinAdsAuthentication other = (SourceLinkedinAdsAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceLinkedinAdsAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceLinkedinAdsAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAds.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAds.java index acc415578..97b9dd64c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAds.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsLinkedinAds.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceLinkedinAdsLinkedinAds { LINKEDIN_ADS("linkedin-ads"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsOAuth20.java index 66d92b434..d0ccb8279 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsOAuth20.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceLinkedinAdsOAuth20 { @JsonInclude(Include.NON_ABSENT) @@ -128,15 +129,15 @@ public boolean equals(java.lang.Object o) { } SourceLinkedinAdsOAuth20 other = (SourceLinkedinAdsOAuth20) o; return - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authMethod, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsSchemasAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsSchemasAuthMethod.java index da677c33f..604d5e627 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsSchemasAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinAdsSchemasAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceLinkedinAdsSchemasAuthMethod { ACCESS_TOKEN("access_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java index c6981b525..c5e97bb1b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPages.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceLinkedinPages { @JsonInclude(Include.NON_ABSENT) @@ -38,11 +37,11 @@ public class SourceLinkedinPages { private LinkedinPages sourceType; /** - * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} + * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH" @@ -55,7 +54,7 @@ public class SourceLinkedinPages { public SourceLinkedinPages( @JsonProperty("credentials") Optional credentials, @JsonProperty("org_id") String orgId, - @JsonProperty("start_date") Optional startDate, + @JsonProperty("start_date") Optional startDate, @JsonProperty("time_granularity_type") Optional timeGranularityType) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(orgId, "orgId"); @@ -93,12 +92,11 @@ public LinkedinPages sourceType() { } /** - * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} + * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -136,7 +134,7 @@ public SourceLinkedinPages withOrgId(String orgId) { } /** - * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} + * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} */ public SourceLinkedinPages withStartDate(OffsetDateTime startDate) { Utils.checkNotNull(startDate, "startDate"); @@ -145,9 +143,9 @@ public SourceLinkedinPages withStartDate(OffsetDateTime startDate) { } /** - * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} + * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} */ - public SourceLinkedinPages withStartDate(Optional startDate) { + public SourceLinkedinPages withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -181,16 +179,16 @@ public boolean equals(java.lang.Object o) { } SourceLinkedinPages other = (SourceLinkedinPages) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.orgId, other.orgId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.timeGranularityType, other.timeGranularityType); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.orgId, other.orgId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.timeGranularityType, other.timeGranularityType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, orgId, sourceType, @@ -214,7 +212,7 @@ public final static class Builder { private String orgId; - private Optional startDate; + private Optional startDate; private Optional timeGranularityType; @@ -244,7 +242,7 @@ public Builder orgId(String orgId) { } /** - * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} + * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} */ public Builder startDate(OffsetDateTime startDate) { Utils.checkNotNull(startDate, "startDate"); @@ -253,9 +251,9 @@ public Builder startDate(OffsetDateTime startDate) { } /** - * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} + * Start date for getting metrics per time period. Must be atmost 12 months before the request date (UTC) and atleast 2 days prior to the request date (UTC). See https://bit.ly/linkedin-pages-date-rules {{ "\n" }} {{ response.errorDetails }} */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -285,8 +283,7 @@ public SourceLinkedinPages build() { } if (timeGranularityType == null) { timeGranularityType = _SINGLETON_VALUE_TimeGranularityType.value(); - } - return new SourceLinkedinPages( + } return new SourceLinkedinPages( credentials, orgId, startDate, @@ -299,11 +296,11 @@ public SourceLinkedinPages build() { "\"linkedin-pages\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2023-01-01T00:00:00Z\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_TimeGranularityType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAccessToken.java index fd382bcc2..a2be73487 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAccessToken.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceLinkedinPagesAccessToken { /** @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } SourceLinkedinPagesAccessToken other = (SourceLinkedinPagesAccessToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authMethod, other.authMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthMethod.java index f354c422d..34290c9ec 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceLinkedinPagesAuthMethod { O_AUTH20("oAuth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthentication.java index c8c7ac5d8..8c7d79e3d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesAuthentication.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceLinkedinPagesAuthentication._Deserializer.class) public class SourceLinkedinPagesAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceLinkedinPagesAuthentication(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceLinkedinPagesAuthentication of(SourceLinkedinPagesAccessToke /** * Returns an instance of one of these types: *

      - *
    • {@code SourceLinkedinPagesOAuth20}
    • - *
    • {@code SourceLinkedinPagesAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLinkedinPagesOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceLinkedinPagesAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceLinkedinPagesAuthentication other = (SourceLinkedinPagesAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceLinkedinPagesAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceLinkedinPagesAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesOAuth20.java index 563b60ac5..982d593d4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesOAuth20.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceLinkedinPagesOAuth20 { @JsonInclude(Include.NON_ABSENT) @@ -128,15 +129,15 @@ public boolean equals(java.lang.Object o) { } SourceLinkedinPagesOAuth20 other = (SourceLinkedinPagesOAuth20) o; return - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authMethod, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesSchemasAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesSchemasAuthMethod.java index 458101be9..fe83d23b4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesSchemasAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinkedinPagesSchemasAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceLinkedinPagesSchemasAuthMethod { ACCESS_TOKEN("access_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java b/src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java index a39aaa371..423d40fb3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLinnworks.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceLinnworks { @@ -143,16 +141,16 @@ public boolean equals(java.lang.Object o) { } SourceLinnworks other = (SourceLinnworks) o; return - java.util.Objects.deepEquals(this.applicationId, other.applicationId) && - java.util.Objects.deepEquals(this.applicationSecret, other.applicationSecret) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.token, other.token); + Objects.deepEquals(this.applicationId, other.applicationId) && + Objects.deepEquals(this.applicationSecret, other.applicationSecret) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.token, other.token); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( applicationId, applicationSecret, sourceType, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLob.java b/src/main/java/com/airbyte/api/models/shared/SourceLob.java new file mode 100644 index 000000000..e07386a36 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceLob.java @@ -0,0 +1,228 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceLob { + + /** + * API key to use for authentication. You can find your account's API keys in your Dashboard Settings at https://dashboard.lob.com/settings/api-keys. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * Max records per page limit + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("limit") + private Optional limit; + + @JsonProperty("sourceType") + private Lob sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceLob( + @JsonProperty("api_key") String apiKey, + @JsonProperty("limit") Optional limit, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(limit, "limit"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.limit = limit; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceLob( + String apiKey, + OffsetDateTime startDate) { + this(apiKey, Optional.empty(), startDate); + } + + /** + * API key to use for authentication. You can find your account's API keys in your Dashboard Settings at https://dashboard.lob.com/settings/api-keys. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Max records per page limit + */ + @JsonIgnore + public Optional limit() { + return limit; + } + + @JsonIgnore + public Lob sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use for authentication. You can find your account's API keys in your Dashboard Settings at https://dashboard.lob.com/settings/api-keys. + */ + public SourceLob withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Max records per page limit + */ + public SourceLob withLimit(String limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = Optional.ofNullable(limit); + return this; + } + + /** + * Max records per page limit + */ + public SourceLob withLimit(Optional limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = limit; + return this; + } + + public SourceLob withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceLob other = (SourceLob) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + limit, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceLob.class, + "apiKey", apiKey, + "limit", limit, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional limit; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use for authentication. You can find your account's API keys in your Dashboard Settings at https://dashboard.lob.com/settings/api-keys. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Max records per page limit + */ + public Builder limit(String limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = Optional.ofNullable(limit); + return this; + } + + /** + * Max records per page limit + */ + public Builder limit(Optional limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = limit; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceLob build() { + if (limit == null) { + limit = _SINGLETON_VALUE_Limit.value(); + } return new SourceLob( + apiKey, + limit, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + new LazySingletonValue<>( + "limit", + "\"50\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"lob\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLokalise.java b/src/main/java/com/airbyte/api/models/shared/SourceLokalise.java index 98d4b8387..6c7d443b9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLokalise.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLokalise.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceLokalise { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceLokalise other = (SourceLokalise) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.projectId, other.projectId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.projectId, other.projectId) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, projectId, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLooker.java b/src/main/java/com/airbyte/api/models/shared/SourceLooker.java index a1c8a78d6..8362016ff 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLooker.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLooker.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceLooker { /** @@ -44,7 +46,7 @@ public class SourceLooker { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("run_look_ids") - private Optional> runLookIds; + private Optional> runLookIds; @JsonProperty("sourceType") private Looker sourceType; @@ -54,7 +56,7 @@ public SourceLooker( @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, @JsonProperty("domain") String domain, - @JsonProperty("run_look_ids") Optional> runLookIds) { + @JsonProperty("run_look_ids") Optional> runLookIds) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); Utils.checkNotNull(domain, "domain"); @@ -102,8 +104,8 @@ public String domain() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> runLookIds() { - return (Optional>) runLookIds; + public Optional> runLookIds() { + return (Optional>) runLookIds; } @JsonIgnore @@ -145,7 +147,7 @@ public SourceLooker withDomain(String domain) { /** * The IDs of any Looks to run */ - public SourceLooker withRunLookIds(java.util.List runLookIds) { + public SourceLooker withRunLookIds(List runLookIds) { Utils.checkNotNull(runLookIds, "runLookIds"); this.runLookIds = Optional.ofNullable(runLookIds); return this; @@ -154,7 +156,7 @@ public SourceLooker withRunLookIds(java.util.List runLookIds) { /** * The IDs of any Looks to run */ - public SourceLooker withRunLookIds(Optional> runLookIds) { + public SourceLooker withRunLookIds(Optional> runLookIds) { Utils.checkNotNull(runLookIds, "runLookIds"); this.runLookIds = runLookIds; return this; @@ -170,16 +172,16 @@ public boolean equals(java.lang.Object o) { } SourceLooker other = (SourceLooker) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.domain, other.domain) && - java.util.Objects.deepEquals(this.runLookIds, other.runLookIds) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.runLookIds, other.runLookIds) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, domain, @@ -205,7 +207,7 @@ public final static class Builder { private String domain; - private Optional> runLookIds = Optional.empty(); + private Optional> runLookIds = Optional.empty(); private Builder() { // force use of static builder() method @@ -241,7 +243,7 @@ public Builder domain(String domain) { /** * The IDs of any Looks to run */ - public Builder runLookIds(java.util.List runLookIds) { + public Builder runLookIds(List runLookIds) { Utils.checkNotNull(runLookIds, "runLookIds"); this.runLookIds = Optional.ofNullable(runLookIds); return this; @@ -250,7 +252,7 @@ public Builder runLookIds(java.util.List runLookIds) { /** * The IDs of any Looks to run */ - public Builder runLookIds(Optional> runLookIds) { + public Builder runLookIds(Optional> runLookIds) { Utils.checkNotNull(runLookIds, "runLookIds"); this.runLookIds = runLookIds; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceLuma.java b/src/main/java/com/airbyte/api/models/shared/SourceLuma.java index 235f019a2..f143160dd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceLuma.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceLuma.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceLuma { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceLuma other = (SourceLuma) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java b/src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java index 4fa89db8c..b19f04100 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailchimp.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceMailchimp { @JsonInclude(Include.NON_ABSENT) @@ -36,12 +35,12 @@ public class SourceMailchimp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceMailchimp( @JsonProperty("credentials") Optional credentials, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(startDate, "startDate"); this.credentials = credentials; @@ -67,10 +66,9 @@ public SourceMailchimpMailchimp sourceType() { /** * The date from which you want to start syncing data for Incremental streams. Only records that have been created or modified since this date will be synced. If left blank, all data will by synced. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -101,7 +99,7 @@ public SourceMailchimp withStartDate(OffsetDateTime startDate) { /** * The date from which you want to start syncing data for Incremental streams. Only records that have been created or modified since this date will be synced. If left blank, all data will by synced. */ - public SourceMailchimp withStartDate(Optional startDate) { + public SourceMailchimp withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -117,14 +115,14 @@ public boolean equals(java.lang.Object o) { } SourceMailchimp other = (SourceMailchimp) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType, startDate); @@ -142,7 +140,7 @@ public final static class Builder { private Optional credentials = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -172,7 +170,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date from which you want to start syncing data for Incremental streams. Only records that have been created or modified since this date will be synced. If left blank, all data will by synced. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthType.java index 5fc8121c7..163a83431 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMailchimpAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthentication.java index faba68c9c..577a1ff0e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpAuthentication.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceMailchimpAuthentication._Deserializer.class) public class SourceMailchimpAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMailchimpAuthentication(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceMailchimpAuthentication of(APIKey value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMailchimpOAuth20}
    • - *
    • {@code APIKey}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMailchimpOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.APIKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceMailchimpAuthentication other = (SourceMailchimpAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMailchimpAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMailchimpAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimp.java b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimp.java index b7e262371..c0344f2a7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimp.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpMailchimp.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMailchimpMailchimp { MAILCHIMP("mailchimp"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpOAuth20.java index 42ee552b0..1bef590ad 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpOAuth20.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceMailchimpOAuth20 { /** @@ -35,20 +35,20 @@ public class SourceMailchimpOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your OAuth application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public SourceMailchimpOAuth20( @JsonProperty("access_token") String accessToken, - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -79,19 +79,17 @@ public SourceMailchimpAuthType authType() { /** * The Client ID of your OAuth application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your OAuth application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -119,7 +117,7 @@ public SourceMailchimpOAuth20 withClientId(String clientId) { /** * The Client ID of your OAuth application. */ - public SourceMailchimpOAuth20 withClientId(Optional clientId) { + public SourceMailchimpOAuth20 withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -137,7 +135,7 @@ public SourceMailchimpOAuth20 withClientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public SourceMailchimpOAuth20 withClientSecret(Optional clientSecret) { + public SourceMailchimpOAuth20 withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -153,15 +151,15 @@ public boolean equals(java.lang.Object o) { } SourceMailchimpOAuth20 other = (SourceMailchimpOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, @@ -181,9 +179,9 @@ public final static class Builder { private String accessToken; - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -210,7 +208,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your OAuth application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -228,7 +226,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpSchemasAuthType.java index 477346072..50a673e93 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMailchimpSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailchimpSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMailchimpSchemasAuthType { APIKEY("apikey"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailerlite.java b/src/main/java/com/airbyte/api/models/shared/SourceMailerlite.java new file mode 100644 index 000000000..dcb4ecc99 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailerlite.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceMailerlite { + + /** + * Your API Token. See <a href="https://developers.mailerlite.com/docs/#authentication">here</a>. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private Mailerlite sourceType; + + @JsonCreator + public SourceMailerlite( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Your API Token. See <a href="https://developers.mailerlite.com/docs/#authentication">here</a>. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public Mailerlite sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your API Token. See <a href="https://developers.mailerlite.com/docs/#authentication">here</a>. + */ + public SourceMailerlite withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMailerlite other = (SourceMailerlite) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceMailerlite.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * Your API Token. See <a href="https://developers.mailerlite.com/docs/#authentication">here</a>. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceMailerlite build() { + return new SourceMailerlite( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"mailerlite\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailgun.java b/src/main/java/com/airbyte/api/models/shared/SourceMailgun.java index e1a5df2b6..b00738ea7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMailgun.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailgun.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceMailgun { /** @@ -45,13 +44,13 @@ public class SourceMailgun { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceMailgun( @JsonProperty("domain_region") Optional domainRegion, @JsonProperty("private_key") String privateKey, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(domainRegion, "domainRegion"); Utils.checkNotNull(privateKey, "privateKey"); Utils.checkNotNull(startDate, "startDate"); @@ -91,10 +90,9 @@ public Mailgun sourceType() { /** * UTC date and time in the format 2020-10-01 00:00:00. Any data before this date will not be replicated. If omitted, defaults to 3 days ago. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -140,7 +138,7 @@ public SourceMailgun withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2020-10-01 00:00:00. Any data before this date will not be replicated. If omitted, defaults to 3 days ago. */ - public SourceMailgun withStartDate(Optional startDate) { + public SourceMailgun withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -156,15 +154,15 @@ public boolean equals(java.lang.Object o) { } SourceMailgun other = (SourceMailgun) o; return - java.util.Objects.deepEquals(this.domainRegion, other.domainRegion) && - java.util.Objects.deepEquals(this.privateKey, other.privateKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.domainRegion, other.domainRegion) && + Objects.deepEquals(this.privateKey, other.privateKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( domainRegion, privateKey, sourceType, @@ -186,7 +184,7 @@ public final static class Builder { private String privateKey; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -231,7 +229,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2020-10-01 00:00:00. Any data before this date will not be replicated. If omitted, defaults to 3 days ago. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -240,8 +238,7 @@ public Builder startDate(Optional startDate) { public SourceMailgun build() { if (domainRegion == null) { domainRegion = _SINGLETON_VALUE_DomainRegion.value(); - } - return new SourceMailgun( + } return new SourceMailgun( domainRegion, privateKey, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailjetMail.java b/src/main/java/com/airbyte/api/models/shared/SourceMailjetMail.java new file mode 100644 index 000000000..31d2a6260 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailjetMail.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceMailjetMail { + + /** + * Your API Key. See <a href="https://dev.mailjet.com/email/guides/#authentication">here</a>. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * Your API Secret Key. See <a href="https://dev.mailjet.com/email/guides/#authentication">here</a>. + */ + @JsonProperty("api_key_secret") + private String apiKeySecret; + + @JsonProperty("sourceType") + private MailjetMail sourceType; + + @JsonCreator + public SourceMailjetMail( + @JsonProperty("api_key") String apiKey, + @JsonProperty("api_key_secret") String apiKeySecret) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(apiKeySecret, "apiKeySecret"); + this.apiKey = apiKey; + this.apiKeySecret = apiKeySecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Your API Key. See <a href="https://dev.mailjet.com/email/guides/#authentication">here</a>. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Your API Secret Key. See <a href="https://dev.mailjet.com/email/guides/#authentication">here</a>. + */ + @JsonIgnore + public String apiKeySecret() { + return apiKeySecret; + } + + @JsonIgnore + public MailjetMail sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your API Key. See <a href="https://dev.mailjet.com/email/guides/#authentication">here</a>. + */ + public SourceMailjetMail withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Your API Secret Key. See <a href="https://dev.mailjet.com/email/guides/#authentication">here</a>. + */ + public SourceMailjetMail withApiKeySecret(String apiKeySecret) { + Utils.checkNotNull(apiKeySecret, "apiKeySecret"); + this.apiKeySecret = apiKeySecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMailjetMail other = (SourceMailjetMail) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiKeySecret, other.apiKeySecret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + apiKeySecret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceMailjetMail.class, + "apiKey", apiKey, + "apiKeySecret", apiKeySecret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private String apiKeySecret; + + private Builder() { + // force use of static builder() method + } + + /** + * Your API Key. See <a href="https://dev.mailjet.com/email/guides/#authentication">here</a>. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Your API Secret Key. See <a href="https://dev.mailjet.com/email/guides/#authentication">here</a>. + */ + public Builder apiKeySecret(String apiKeySecret) { + Utils.checkNotNull(apiKeySecret, "apiKeySecret"); + this.apiKeySecret = apiKeySecret; + return this; + } + + public SourceMailjetMail build() { + return new SourceMailjetMail( + apiKey, + apiKeySecret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"mailjet-mail\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java b/src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java index 979629235..4711415d9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailjetSms.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceMailjetSms { /** @@ -26,7 +27,7 @@ public class SourceMailjetSms { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; @JsonProperty("sourceType") private MailjetSms sourceType; @@ -36,7 +37,7 @@ public class SourceMailjetSms { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Your access token. See <a href="https://dev.mailjet.com/sms/reference/overview/authentication">here</a>. @@ -46,8 +47,8 @@ public class SourceMailjetSms { @JsonCreator public SourceMailjetSms( - @JsonProperty("end_date") Optional endDate, - @JsonProperty("start_date") Optional startDate, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("start_date") Optional startDate, @JsonProperty("token") String token) { Utils.checkNotNull(endDate, "endDate"); Utils.checkNotNull(startDate, "startDate"); @@ -66,10 +67,9 @@ public SourceMailjetSms( /** * Retrieve SMS messages created before the specified timestamp. Required format - Unix timestamp. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } @JsonIgnore @@ -80,10 +80,9 @@ public MailjetSms sourceType() { /** * Retrieve SMS messages created after the specified timestamp. Required format - Unix timestamp. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -110,7 +109,7 @@ public SourceMailjetSms withEndDate(long endDate) { /** * Retrieve SMS messages created before the specified timestamp. Required format - Unix timestamp. */ - public SourceMailjetSms withEndDate(Optional endDate) { + public SourceMailjetSms withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -128,7 +127,7 @@ public SourceMailjetSms withStartDate(long startDate) { /** * Retrieve SMS messages created after the specified timestamp. Required format - Unix timestamp. */ - public SourceMailjetSms withStartDate(Optional startDate) { + public SourceMailjetSms withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -153,15 +152,15 @@ public boolean equals(java.lang.Object o) { } SourceMailjetSms other = (SourceMailjetSms) o; return - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.token, other.token); + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.token, other.token); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( endDate, sourceType, startDate, @@ -179,9 +178,9 @@ public String toString() { public final static class Builder { - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private String token; @@ -201,7 +200,7 @@ public Builder endDate(long endDate) { /** * Retrieve SMS messages created before the specified timestamp. Required format - Unix timestamp. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -219,7 +218,7 @@ public Builder startDate(long startDate) { /** * Retrieve SMS messages created after the specified timestamp. Required format - Unix timestamp. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailosaur.java b/src/main/java/com/airbyte/api/models/shared/SourceMailosaur.java new file mode 100644 index 000000000..be85e1a27 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailosaur.java @@ -0,0 +1,189 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceMailosaur { + + /** + * Enter your api key here + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Mailosaur sourceType; + + /** + * Enter "api" here + */ + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceMailosaur( + @JsonProperty("password") Optional password, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.username = username; + } + + public SourceMailosaur( + String username) { + this(Optional.empty(), username); + } + + /** + * Enter your api key here + */ + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Mailosaur sourceType() { + return sourceType; + } + + /** + * Enter "api" here + */ + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Enter your api key here + */ + public SourceMailosaur withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Enter your api key here + */ + public SourceMailosaur withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Enter "api" here + */ + public SourceMailosaur withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMailosaur other = (SourceMailosaur) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + sourceType, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceMailosaur.class, + "password", password, + "sourceType", sourceType, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private String username; + + private Builder() { + // force use of static builder() method + } + + /** + * Enter your api key here + */ + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Enter your api key here + */ + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Enter "api" here + */ + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceMailosaur build() { + return new SourceMailosaur( + password, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"mailosaur\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMailtrap.java b/src/main/java/com/airbyte/api/models/shared/SourceMailtrap.java new file mode 100644 index 000000000..3557aacee --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMailtrap.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceMailtrap { + + /** + * API token to use. Find it at https://mailtrap.io/account + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private Mailtrap sourceType; + + @JsonCreator + public SourceMailtrap( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API token to use. Find it at https://mailtrap.io/account + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public Mailtrap sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token to use. Find it at https://mailtrap.io/account + */ + public SourceMailtrap withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMailtrap other = (SourceMailtrap) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceMailtrap.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * API token to use. Find it at https://mailtrap.io/account + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceMailtrap build() { + return new SourceMailtrap( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"mailtrap\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMarketo.java b/src/main/java/com/airbyte/api/models/shared/SourceMarketo.java index 313b274d7..59b90a69d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMarketo.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMarketo.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceMarketo { @@ -152,16 +150,16 @@ public boolean equals(java.lang.Object o) { } SourceMarketo other = (SourceMarketo) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.domainUrl, other.domainUrl) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.domainUrl, other.domainUrl) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, domainUrl, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMarketstack.java b/src/main/java/com/airbyte/api/models/shared/SourceMarketstack.java new file mode 100644 index 000000000..e17d74925 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMarketstack.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceMarketstack { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Marketstack sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceMarketstack( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Marketstack sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceMarketstack withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceMarketstack withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMarketstack other = (SourceMarketstack) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceMarketstack.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceMarketstack build() { + return new SourceMarketstack( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"marketstack\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMention.java b/src/main/java/com/airbyte/api/models/shared/SourceMention.java new file mode 100644 index 000000000..457485323 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMention.java @@ -0,0 +1,261 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.LocalDate; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceMention { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Mention sourceType; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stats_end_date") + private Optional statsEndDate; + + /** + * Periodicity of statistics returned. it may be daily(P1D), weekly(P1W) or monthly(P1M). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("stats_interval") + private Optional statsInterval; + + @JsonProperty("stats_start_date") + private OffsetDateTime statsStartDate; + + @JsonCreator + public SourceMention( + @JsonProperty("api_key") String apiKey, + @JsonProperty("stats_end_date") Optional statsEndDate, + @JsonProperty("stats_interval") Optional statsInterval, + @JsonProperty("stats_start_date") OffsetDateTime statsStartDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(statsEndDate, "statsEndDate"); + Utils.checkNotNull(statsInterval, "statsInterval"); + Utils.checkNotNull(statsStartDate, "statsStartDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.statsEndDate = statsEndDate; + this.statsInterval = statsInterval; + this.statsStartDate = statsStartDate; + } + + public SourceMention( + String apiKey, + OffsetDateTime statsStartDate) { + this(apiKey, Optional.empty(), Optional.empty(), statsStartDate); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Mention sourceType() { + return sourceType; + } + + @JsonIgnore + public Optional statsEndDate() { + return statsEndDate; + } + + /** + * Periodicity of statistics returned. it may be daily(P1D), weekly(P1W) or monthly(P1M). + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional statsInterval() { + return (Optional) statsInterval; + } + + @JsonIgnore + public OffsetDateTime statsStartDate() { + return statsStartDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceMention withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceMention withStatsEndDate(LocalDate statsEndDate) { + Utils.checkNotNull(statsEndDate, "statsEndDate"); + this.statsEndDate = Optional.ofNullable(statsEndDate); + return this; + } + + public SourceMention withStatsEndDate(Optional statsEndDate) { + Utils.checkNotNull(statsEndDate, "statsEndDate"); + this.statsEndDate = statsEndDate; + return this; + } + + /** + * Periodicity of statistics returned. it may be daily(P1D), weekly(P1W) or monthly(P1M). + */ + public SourceMention withStatsInterval(StatisticsInterval statsInterval) { + Utils.checkNotNull(statsInterval, "statsInterval"); + this.statsInterval = Optional.ofNullable(statsInterval); + return this; + } + + /** + * Periodicity of statistics returned. it may be daily(P1D), weekly(P1W) or monthly(P1M). + */ + public SourceMention withStatsInterval(Optional statsInterval) { + Utils.checkNotNull(statsInterval, "statsInterval"); + this.statsInterval = statsInterval; + return this; + } + + public SourceMention withStatsStartDate(OffsetDateTime statsStartDate) { + Utils.checkNotNull(statsStartDate, "statsStartDate"); + this.statsStartDate = statsStartDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMention other = (SourceMention) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.statsEndDate, other.statsEndDate) && + Objects.deepEquals(this.statsInterval, other.statsInterval) && + Objects.deepEquals(this.statsStartDate, other.statsStartDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + statsEndDate, + statsInterval, + statsStartDate); + } + + @Override + public String toString() { + return Utils.toString(SourceMention.class, + "apiKey", apiKey, + "sourceType", sourceType, + "statsEndDate", statsEndDate, + "statsInterval", statsInterval, + "statsStartDate", statsStartDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional statsEndDate = Optional.empty(); + + private Optional statsInterval; + + private OffsetDateTime statsStartDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder statsEndDate(LocalDate statsEndDate) { + Utils.checkNotNull(statsEndDate, "statsEndDate"); + this.statsEndDate = Optional.ofNullable(statsEndDate); + return this; + } + + public Builder statsEndDate(Optional statsEndDate) { + Utils.checkNotNull(statsEndDate, "statsEndDate"); + this.statsEndDate = statsEndDate; + return this; + } + + /** + * Periodicity of statistics returned. it may be daily(P1D), weekly(P1W) or monthly(P1M). + */ + public Builder statsInterval(StatisticsInterval statsInterval) { + Utils.checkNotNull(statsInterval, "statsInterval"); + this.statsInterval = Optional.ofNullable(statsInterval); + return this; + } + + /** + * Periodicity of statistics returned. it may be daily(P1D), weekly(P1W) or monthly(P1M). + */ + public Builder statsInterval(Optional statsInterval) { + Utils.checkNotNull(statsInterval, "statsInterval"); + this.statsInterval = statsInterval; + return this; + } + + public Builder statsStartDate(OffsetDateTime statsStartDate) { + Utils.checkNotNull(statsStartDate, "statsStartDate"); + this.statsStartDate = statsStartDate; + return this; + } + + public SourceMention build() { + if (statsInterval == null) { + statsInterval = _SINGLETON_VALUE_StatsInterval.value(); + } return new SourceMention( + apiKey, + statsEndDate, + statsInterval, + statsStartDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"mention\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_StatsInterval = + new LazySingletonValue<>( + "stats_interval", + "\"P1D\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMetabase.java b/src/main/java/com/airbyte/api/models/shared/SourceMetabase.java index 890d535d1..a1cb1d5d1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMetabase.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMetabase.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceMetabase { /** @@ -29,7 +29,7 @@ public class SourceMetabase { @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * To generate your session token, you need to run the following command: ``` curl -X POST \ @@ -41,7 +41,7 @@ public class SourceMetabase { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("session_token") - private Optional sessionToken; + private Optional sessionToken; @JsonProperty("sourceType") private Metabase sourceType; @@ -52,8 +52,8 @@ public class SourceMetabase { @JsonCreator public SourceMetabase( @JsonProperty("instance_api_url") String instanceApiUrl, - @JsonProperty("password") Optional password, - @JsonProperty("session_token") Optional sessionToken, + @JsonProperty("password") Optional password, + @JsonProperty("session_token") Optional sessionToken, @JsonProperty("username") String username) { Utils.checkNotNull(instanceApiUrl, "instanceApiUrl"); Utils.checkNotNull(password, "password"); @@ -80,10 +80,9 @@ public String instanceApiUrl() { return instanceApiUrl; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** @@ -94,10 +93,9 @@ public Optional password() { * ``` Then copy the value of the `id` field returned by a successful call to that API. * Note that by default, sessions are good for 14 days and needs to be regenerated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional sessionToken() { - return (Optional) sessionToken; + return sessionToken; } @JsonIgnore @@ -129,7 +127,7 @@ public SourceMetabase withPassword(String password) { return this; } - public SourceMetabase withPassword(Optional password) { + public SourceMetabase withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -157,7 +155,7 @@ public SourceMetabase withSessionToken(String sessionToken) { * ``` Then copy the value of the `id` field returned by a successful call to that API. * Note that by default, sessions are good for 14 days and needs to be regenerated. */ - public SourceMetabase withSessionToken(Optional sessionToken) { + public SourceMetabase withSessionToken(Optional sessionToken) { Utils.checkNotNull(sessionToken, "sessionToken"); this.sessionToken = sessionToken; return this; @@ -179,16 +177,16 @@ public boolean equals(java.lang.Object o) { } SourceMetabase other = (SourceMetabase) o; return - java.util.Objects.deepEquals(this.instanceApiUrl, other.instanceApiUrl) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.sessionToken, other.sessionToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.instanceApiUrl, other.instanceApiUrl) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sessionToken, other.sessionToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( instanceApiUrl, password, sessionToken, @@ -210,9 +208,9 @@ public final static class Builder { private String instanceApiUrl; - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional sessionToken = Optional.empty(); + private Optional sessionToken = Optional.empty(); private String username; @@ -235,7 +233,7 @@ public Builder password(String password) { return this; } - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -263,7 +261,7 @@ public Builder sessionToken(String sessionToken) { * ``` Then copy the value of the `id` field returned by a successful call to that API. * Note that by default, sessions are good for 14 days and needs to be regenerated. */ - public Builder sessionToken(Optional sessionToken) { + public Builder sessionToken(Optional sessionToken) { Utils.checkNotNull(sessionToken, "sessionToken"); this.sessionToken = sessionToken; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftDataverse.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftDataverse.java new file mode 100644 index 000000000..bbde684b9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftDataverse.java @@ -0,0 +1,324 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceMicrosoftDataverse { + + /** + * App Registration Client Id + */ + @JsonProperty("client_id") + private String clientId; + + /** + * App Registration Client Secret + */ + @JsonProperty("client_secret_value") + private String clientSecretValue; + + /** + * Max number of results per page. Default=5000 + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("odata_maxpagesize") + private Optional odataMaxpagesize; + + @JsonProperty("sourceType") + private MicrosoftDataverse sourceType; + + /** + * Tenant Id of your Microsoft Dataverse Instance + */ + @JsonProperty("tenant_id") + private String tenantId; + + /** + * URL to Microsoft Dataverse API + */ + @JsonProperty("url") + private String url; + + @JsonCreator + public SourceMicrosoftDataverse( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret_value") String clientSecretValue, + @JsonProperty("odata_maxpagesize") Optional odataMaxpagesize, + @JsonProperty("tenant_id") String tenantId, + @JsonProperty("url") String url) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecretValue, "clientSecretValue"); + Utils.checkNotNull(odataMaxpagesize, "odataMaxpagesize"); + Utils.checkNotNull(tenantId, "tenantId"); + Utils.checkNotNull(url, "url"); + this.clientId = clientId; + this.clientSecretValue = clientSecretValue; + this.odataMaxpagesize = odataMaxpagesize; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.tenantId = tenantId; + this.url = url; + } + + public SourceMicrosoftDataverse( + String clientId, + String clientSecretValue, + String tenantId, + String url) { + this(clientId, clientSecretValue, Optional.empty(), tenantId, url); + } + + /** + * App Registration Client Id + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * App Registration Client Secret + */ + @JsonIgnore + public String clientSecretValue() { + return clientSecretValue; + } + + /** + * Max number of results per page. Default=5000 + */ + @JsonIgnore + public Optional odataMaxpagesize() { + return odataMaxpagesize; + } + + @JsonIgnore + public MicrosoftDataverse sourceType() { + return sourceType; + } + + /** + * Tenant Id of your Microsoft Dataverse Instance + */ + @JsonIgnore + public String tenantId() { + return tenantId; + } + + /** + * URL to Microsoft Dataverse API + */ + @JsonIgnore + public String url() { + return url; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * App Registration Client Id + */ + public SourceMicrosoftDataverse withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * App Registration Client Secret + */ + public SourceMicrosoftDataverse withClientSecretValue(String clientSecretValue) { + Utils.checkNotNull(clientSecretValue, "clientSecretValue"); + this.clientSecretValue = clientSecretValue; + return this; + } + + /** + * Max number of results per page. Default=5000 + */ + public SourceMicrosoftDataverse withOdataMaxpagesize(long odataMaxpagesize) { + Utils.checkNotNull(odataMaxpagesize, "odataMaxpagesize"); + this.odataMaxpagesize = Optional.ofNullable(odataMaxpagesize); + return this; + } + + /** + * Max number of results per page. Default=5000 + */ + public SourceMicrosoftDataverse withOdataMaxpagesize(Optional odataMaxpagesize) { + Utils.checkNotNull(odataMaxpagesize, "odataMaxpagesize"); + this.odataMaxpagesize = odataMaxpagesize; + return this; + } + + /** + * Tenant Id of your Microsoft Dataverse Instance + */ + public SourceMicrosoftDataverse withTenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + /** + * URL to Microsoft Dataverse API + */ + public SourceMicrosoftDataverse withUrl(String url) { + Utils.checkNotNull(url, "url"); + this.url = url; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMicrosoftDataverse other = (SourceMicrosoftDataverse) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecretValue, other.clientSecretValue) && + Objects.deepEquals(this.odataMaxpagesize, other.odataMaxpagesize) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.tenantId, other.tenantId) && + Objects.deepEquals(this.url, other.url); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecretValue, + odataMaxpagesize, + sourceType, + tenantId, + url); + } + + @Override + public String toString() { + return Utils.toString(SourceMicrosoftDataverse.class, + "clientId", clientId, + "clientSecretValue", clientSecretValue, + "odataMaxpagesize", odataMaxpagesize, + "sourceType", sourceType, + "tenantId", tenantId, + "url", url); + } + + public final static class Builder { + + private String clientId; + + private String clientSecretValue; + + private Optional odataMaxpagesize; + + private String tenantId; + + private String url; + + private Builder() { + // force use of static builder() method + } + + /** + * App Registration Client Id + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * App Registration Client Secret + */ + public Builder clientSecretValue(String clientSecretValue) { + Utils.checkNotNull(clientSecretValue, "clientSecretValue"); + this.clientSecretValue = clientSecretValue; + return this; + } + + /** + * Max number of results per page. Default=5000 + */ + public Builder odataMaxpagesize(long odataMaxpagesize) { + Utils.checkNotNull(odataMaxpagesize, "odataMaxpagesize"); + this.odataMaxpagesize = Optional.ofNullable(odataMaxpagesize); + return this; + } + + /** + * Max number of results per page. Default=5000 + */ + public Builder odataMaxpagesize(Optional odataMaxpagesize) { + Utils.checkNotNull(odataMaxpagesize, "odataMaxpagesize"); + this.odataMaxpagesize = odataMaxpagesize; + return this; + } + + /** + * Tenant Id of your Microsoft Dataverse Instance + */ + public Builder tenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + /** + * URL to Microsoft Dataverse API + */ + public Builder url(String url) { + Utils.checkNotNull(url, "url"); + this.url = url; + return this; + } + + public SourceMicrosoftDataverse build() { + if (odataMaxpagesize == null) { + odataMaxpagesize = _SINGLETON_VALUE_OdataMaxpagesize.value(); + } return new SourceMicrosoftDataverse( + clientId, + clientSecretValue, + odataMaxpagesize, + tenantId, + url); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_OdataMaxpagesize = + new LazySingletonValue<>( + "odata_maxpagesize", + "5000", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"microsoft-dataverse\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftEntraId.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftEntraId.java new file mode 100644 index 000000000..47ba5f6d3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftEntraId.java @@ -0,0 +1,196 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceMicrosoftEntraId { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private MicrosoftEntraId sourceType; + + @JsonProperty("tenant_id") + private String tenantId; + + @JsonProperty("user_id") + private String userId; + + @JsonCreator + public SourceMicrosoftEntraId( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("tenant_id") String tenantId, + @JsonProperty("user_id") String userId) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(tenantId, "tenantId"); + Utils.checkNotNull(userId, "userId"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.tenantId = tenantId; + this.userId = userId; + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public MicrosoftEntraId sourceType() { + return sourceType; + } + + @JsonIgnore + public String tenantId() { + return tenantId; + } + + @JsonIgnore + public String userId() { + return userId; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceMicrosoftEntraId withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceMicrosoftEntraId withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceMicrosoftEntraId withTenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + public SourceMicrosoftEntraId withUserId(String userId) { + Utils.checkNotNull(userId, "userId"); + this.userId = userId; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMicrosoftEntraId other = (SourceMicrosoftEntraId) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.tenantId, other.tenantId) && + Objects.deepEquals(this.userId, other.userId); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + sourceType, + tenantId, + userId); + } + + @Override + public String toString() { + return Utils.toString(SourceMicrosoftEntraId.class, + "clientId", clientId, + "clientSecret", clientSecret, + "sourceType", sourceType, + "tenantId", tenantId, + "userId", userId); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private String tenantId; + + private String userId; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder tenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + public Builder userId(String userId) { + Utils.checkNotNull(userId, "userId"); + this.userId = userId; + return this; + } + + public SourceMicrosoftEntraId build() { + return new SourceMicrosoftEntraId( + clientId, + clientSecret, + tenantId, + userId); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"microsoft-entra-id\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftLists.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftLists.java new file mode 100644 index 000000000..a99a5fdec --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftLists.java @@ -0,0 +1,254 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceMicrosoftLists { + + @JsonProperty("application_id_uri") + private String applicationIdUri; + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("domain") + private String domain; + + @JsonProperty("site_id") + private String siteId; + + @JsonProperty("sourceType") + private MicrosoftLists sourceType; + + @JsonProperty("tenant_id") + private String tenantId; + + @JsonCreator + public SourceMicrosoftLists( + @JsonProperty("application_id_uri") String applicationIdUri, + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("domain") String domain, + @JsonProperty("site_id") String siteId, + @JsonProperty("tenant_id") String tenantId) { + Utils.checkNotNull(applicationIdUri, "applicationIdUri"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(domain, "domain"); + Utils.checkNotNull(siteId, "siteId"); + Utils.checkNotNull(tenantId, "tenantId"); + this.applicationIdUri = applicationIdUri; + this.clientId = clientId; + this.clientSecret = clientSecret; + this.domain = domain; + this.siteId = siteId; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.tenantId = tenantId; + } + + @JsonIgnore + public String applicationIdUri() { + return applicationIdUri; + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public String domain() { + return domain; + } + + @JsonIgnore + public String siteId() { + return siteId; + } + + @JsonIgnore + public MicrosoftLists sourceType() { + return sourceType; + } + + @JsonIgnore + public String tenantId() { + return tenantId; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceMicrosoftLists withApplicationIdUri(String applicationIdUri) { + Utils.checkNotNull(applicationIdUri, "applicationIdUri"); + this.applicationIdUri = applicationIdUri; + return this; + } + + public SourceMicrosoftLists withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceMicrosoftLists withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceMicrosoftLists withDomain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + public SourceMicrosoftLists withSiteId(String siteId) { + Utils.checkNotNull(siteId, "siteId"); + this.siteId = siteId; + return this; + } + + public SourceMicrosoftLists withTenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMicrosoftLists other = (SourceMicrosoftLists) o; + return + Objects.deepEquals(this.applicationIdUri, other.applicationIdUri) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.siteId, other.siteId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.tenantId, other.tenantId); + } + + @Override + public int hashCode() { + return Objects.hash( + applicationIdUri, + clientId, + clientSecret, + domain, + siteId, + sourceType, + tenantId); + } + + @Override + public String toString() { + return Utils.toString(SourceMicrosoftLists.class, + "applicationIdUri", applicationIdUri, + "clientId", clientId, + "clientSecret", clientSecret, + "domain", domain, + "siteId", siteId, + "sourceType", sourceType, + "tenantId", tenantId); + } + + public final static class Builder { + + private String applicationIdUri; + + private String clientId; + + private String clientSecret; + + private String domain; + + private String siteId; + + private String tenantId; + + private Builder() { + // force use of static builder() method + } + + public Builder applicationIdUri(String applicationIdUri) { + Utils.checkNotNull(applicationIdUri, "applicationIdUri"); + this.applicationIdUri = applicationIdUri; + return this; + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder domain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + public Builder siteId(String siteId) { + Utils.checkNotNull(siteId, "siteId"); + this.siteId = siteId; + return this; + } + + public Builder tenantId(String tenantId) { + Utils.checkNotNull(tenantId, "tenantId"); + this.tenantId = tenantId; + return this; + } + + public SourceMicrosoftLists build() { + return new SourceMicrosoftLists( + applicationIdUri, + clientId, + clientSecret, + domain, + siteId, + tenantId); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"microsoft-lists\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedrive.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedrive.java index b47da1198..9498c0973 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedrive.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedrive.java @@ -1,26 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * SourceMicrosoftOnedrive - SourceMicrosoftOneDriveSpec class for Microsoft OneDrive Source Specification. * This class combines the authentication details with additional configuration for the OneDrive API. @@ -39,14 +39,14 @@ public class SourceMicrosoftOnedrive { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("drive_name") - private Optional driveName; + private Optional driveName; /** * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("folder_path") - private Optional folderPath; + private Optional folderPath; /** * Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' to search in the selected OneDrive drive, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. @@ -63,22 +63,22 @@ public class SourceMicrosoftOnedrive { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonProperty("streams") - private java.util.List streams; + private List streams; @JsonCreator public SourceMicrosoftOnedrive( @JsonProperty("credentials") SourceMicrosoftOnedriveAuthentication credentials, - @JsonProperty("drive_name") Optional driveName, - @JsonProperty("folder_path") Optional folderPath, + @JsonProperty("drive_name") Optional driveName, + @JsonProperty("folder_path") Optional folderPath, @JsonProperty("search_scope") Optional searchScope, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("streams") java.util.List streams) { + @JsonProperty("start_date") Optional startDate, + @JsonProperty("streams") List streams) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(driveName, "driveName"); Utils.checkNotNull(folderPath, "folderPath"); @@ -96,7 +96,7 @@ public SourceMicrosoftOnedrive( public SourceMicrosoftOnedrive( SourceMicrosoftOnedriveAuthentication credentials, - java.util.List streams) { + List streams) { this(credentials, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), streams); } @@ -111,19 +111,17 @@ public SourceMicrosoftOnedriveAuthentication credentials() { /** * Name of the Microsoft OneDrive drive where the file(s) exist. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional driveName() { - return (Optional) driveName; + return driveName; } /** * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional folderPath() { - return (Optional) folderPath; + return folderPath; } /** @@ -143,17 +141,16 @@ public SourceMicrosoftOnedriveMicrosoftOnedrive sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonIgnore - public java.util.List streams() { + public List streams() { return streams; } @@ -182,7 +179,7 @@ public SourceMicrosoftOnedrive withDriveName(String driveName) { /** * Name of the Microsoft OneDrive drive where the file(s) exist. */ - public SourceMicrosoftOnedrive withDriveName(Optional driveName) { + public SourceMicrosoftOnedrive withDriveName(Optional driveName) { Utils.checkNotNull(driveName, "driveName"); this.driveName = driveName; return this; @@ -200,7 +197,7 @@ public SourceMicrosoftOnedrive withFolderPath(String folderPath) { /** * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. */ - public SourceMicrosoftOnedrive withFolderPath(Optional folderPath) { + public SourceMicrosoftOnedrive withFolderPath(Optional folderPath) { Utils.checkNotNull(folderPath, "folderPath"); this.folderPath = folderPath; return this; @@ -236,7 +233,7 @@ public SourceMicrosoftOnedrive withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public SourceMicrosoftOnedrive withStartDate(Optional startDate) { + public SourceMicrosoftOnedrive withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -245,7 +242,7 @@ public SourceMicrosoftOnedrive withStartDate(Optional /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public SourceMicrosoftOnedrive withStreams(java.util.List streams) { + public SourceMicrosoftOnedrive withStreams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -261,18 +258,18 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedrive other = (SourceMicrosoftOnedrive) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.driveName, other.driveName) && - java.util.Objects.deepEquals(this.folderPath, other.folderPath) && - java.util.Objects.deepEquals(this.searchScope, other.searchScope) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.streams, other.streams); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.driveName, other.driveName) && + Objects.deepEquals(this.folderPath, other.folderPath) && + Objects.deepEquals(this.searchScope, other.searchScope) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.streams, other.streams); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, driveName, folderPath, @@ -298,15 +295,15 @@ public final static class Builder { private SourceMicrosoftOnedriveAuthentication credentials; - private Optional driveName; + private Optional driveName; - private Optional folderPath; + private Optional folderPath; private Optional searchScope; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private java.util.List streams; + private List streams; private Builder() { // force use of static builder() method @@ -333,7 +330,7 @@ public Builder driveName(String driveName) { /** * Name of the Microsoft OneDrive drive where the file(s) exist. */ - public Builder driveName(Optional driveName) { + public Builder driveName(Optional driveName) { Utils.checkNotNull(driveName, "driveName"); this.driveName = driveName; return this; @@ -351,7 +348,7 @@ public Builder folderPath(String folderPath) { /** * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. */ - public Builder folderPath(Optional folderPath) { + public Builder folderPath(Optional folderPath) { Utils.checkNotNull(folderPath, "folderPath"); this.folderPath = folderPath; return this; @@ -387,7 +384,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -396,7 +393,7 @@ public Builder startDate(Optional startDate) { /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public Builder streams(java.util.List streams) { + public Builder streams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -411,8 +408,7 @@ public SourceMicrosoftOnedrive build() { } if (searchScope == null) { searchScope = _SINGLETON_VALUE_SearchScope.value(); - } - return new SourceMicrosoftOnedrive( + } return new SourceMicrosoftOnedrive( credentials, driveName, folderPath, @@ -421,17 +417,17 @@ public SourceMicrosoftOnedrive build() { streams); } - private static final LazySingletonValue> _SINGLETON_VALUE_DriveName = + private static final LazySingletonValue> _SINGLETON_VALUE_DriveName = new LazySingletonValue<>( "drive_name", "\"OneDrive\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_FolderPath = + private static final LazySingletonValue> _SINGLETON_VALUE_FolderPath = new LazySingletonValue<>( "folder_path", "\".\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_SearchScope = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthType.java index c664c93aa..619c97acc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthentication.java index 1be197112..b50ce6dba 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMicrosoftOnedriveAuthentication - Credentials for connecting to the One Drive API @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMicrosoftOnedriveAuthentication._Deserializer.class) public class SourceMicrosoftOnedriveAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMicrosoftOnedriveAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceMicrosoftOnedriveAuthentication of(ServiceKeyAuthentication /** * Returns an instance of one of these types: *

      - *
    • {@code AuthenticateViaMicrosoftOAuth}
    • - *
    • {@code ServiceKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaMicrosoftOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.ServiceKeyAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceMicrosoftOnedriveAuthentication other = (SourceMicrosoftOnedriveAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMicrosoftOnedriveAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMicrosoftOnedriveAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAutogenerated.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAutogenerated.java index 87b05cf1e..22f1f4168 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAutogenerated.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAutogenerated.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftOnedriveAutogenerated { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveAutogenerated other = (SourceMicrosoftOnedriveAutogenerated) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAvroFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAvroFormat.java index 26b795f25..97804ebac 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAvroFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveAvroFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftOnedriveAvroFormat { /** @@ -26,7 +28,7 @@ public class SourceMicrosoftOnedriveAvroFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_as_string") - private Optional doubleAsString; + private Optional doubleAsString; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceMicrosoftOnedriveAvroFormat { @JsonCreator public SourceMicrosoftOnedriveAvroFormat( - @JsonProperty("double_as_string") Optional doubleAsString) { + @JsonProperty("double_as_string") Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceMicrosoftOnedriveAvroFormat() { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleAsString() { - return (Optional) doubleAsString; + return doubleAsString; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceMicrosoftOnedriveAvroFormat withDoubleAsString(boolean doubleAsStri /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public SourceMicrosoftOnedriveAvroFormat withDoubleAsString(Optional doubleAsString) { + public SourceMicrosoftOnedriveAvroFormat withDoubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveAvroFormat other = (SourceMicrosoftOnedriveAvroFormat) o; return - java.util.Objects.deepEquals(this.doubleAsString, other.doubleAsString) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.doubleAsString, other.doubleAsString) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( doubleAsString, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional doubleAsString; + private Optional doubleAsString; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder doubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public Builder doubleAsString(Optional doubleAsString) { + public Builder doubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -138,16 +139,15 @@ public Builder doubleAsString(Optional doubleAsString) { public SourceMicrosoftOnedriveAvroFormat build() { if (doubleAsString == null) { doubleAsString = _SINGLETON_VALUE_DoubleAsString.value(); - } - return new SourceMicrosoftOnedriveAvroFormat( + } return new SourceMicrosoftOnedriveAvroFormat( doubleAsString); } - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = new LazySingletonValue<>( "double_as_string", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVFormat.java index 387ab6ebe..458c81e63 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVFormat.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftOnedriveCSVFormat { /** @@ -26,35 +30,35 @@ public class SourceMicrosoftOnedriveCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("delimiter") - private Optional delimiter; + private Optional delimiter; /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_quote") - private Optional doubleQuote; + private Optional doubleQuote; /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("encoding") - private Optional encoding; + private Optional encoding; /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("escape_char") - private Optional escapeChar; + private Optional escapeChar; /** * A set of case-sensitive strings that should be interpreted as false values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("false_values") - private Optional> falseValues; + private Optional> falseValues; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -72,65 +76,65 @@ public class SourceMicrosoftOnedriveCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ignore_errors_on_fields_mismatch") - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("null_values") - private Optional> nullValues; + private Optional> nullValues; /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("quote_char") - private Optional quoteChar; + private Optional quoteChar; /** * The number of rows to skip after the header row. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_after_header") - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_before_header") - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("strings_can_be_null") - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; /** * A set of case-sensitive strings that should be interpreted as true values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("true_values") - private Optional> trueValues; + private Optional> trueValues; @JsonCreator public SourceMicrosoftOnedriveCSVFormat( - @JsonProperty("delimiter") Optional delimiter, - @JsonProperty("double_quote") Optional doubleQuote, - @JsonProperty("encoding") Optional encoding, - @JsonProperty("escape_char") Optional escapeChar, - @JsonProperty("false_values") Optional> falseValues, + @JsonProperty("delimiter") Optional delimiter, + @JsonProperty("double_quote") Optional doubleQuote, + @JsonProperty("encoding") Optional encoding, + @JsonProperty("escape_char") Optional escapeChar, + @JsonProperty("false_values") Optional> falseValues, @JsonProperty("header_definition") Optional headerDefinition, - @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, - @JsonProperty("null_values") Optional> nullValues, - @JsonProperty("quote_char") Optional quoteChar, - @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, - @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, - @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, - @JsonProperty("true_values") Optional> trueValues) { + @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, + @JsonProperty("null_values") Optional> nullValues, + @JsonProperty("quote_char") Optional quoteChar, + @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, + @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, + @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, + @JsonProperty("true_values") Optional> trueValues) { Utils.checkNotNull(delimiter, "delimiter"); Utils.checkNotNull(doubleQuote, "doubleQuote"); Utils.checkNotNull(encoding, "encoding"); @@ -167,37 +171,33 @@ public SourceMicrosoftOnedriveCSVFormat() { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional delimiter() { - return (Optional) delimiter; + return delimiter; } /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleQuote() { - return (Optional) doubleQuote; + return doubleQuote; } /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional encoding() { - return (Optional) encoding; + return encoding; } /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional escapeChar() { - return (Optional) escapeChar; + return escapeChar; } /** @@ -205,8 +205,8 @@ public Optional escapeChar() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> falseValues() { - return (Optional>) falseValues; + public Optional> falseValues() { + return (Optional>) falseValues; } @SuppressWarnings("unchecked") @@ -227,10 +227,9 @@ public Optional headerDefinition() { /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreErrorsOnFieldsMismatch() { - return (Optional) ignoreErrorsOnFieldsMismatch; + return ignoreErrorsOnFieldsMismatch; } /** @@ -238,44 +237,40 @@ public Optional ignoreErrorsOnFieldsMismatch() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> nullValues() { - return (Optional>) nullValues; + public Optional> nullValues() { + return (Optional>) nullValues; } /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional quoteChar() { - return (Optional) quoteChar; + return quoteChar; } /** * The number of rows to skip after the header row. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsAfterHeader() { - return (Optional) skipRowsAfterHeader; + return skipRowsAfterHeader; } /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsBeforeHeader() { - return (Optional) skipRowsBeforeHeader; + return skipRowsBeforeHeader; } /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional stringsCanBeNull() { - return (Optional) stringsCanBeNull; + return stringsCanBeNull; } /** @@ -283,8 +278,8 @@ public Optional stringsCanBeNull() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> trueValues() { - return (Optional>) trueValues; + public Optional> trueValues() { + return (Optional>) trueValues; } public final static Builder builder() { @@ -303,7 +298,7 @@ public SourceMicrosoftOnedriveCSVFormat withDelimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public SourceMicrosoftOnedriveCSVFormat withDelimiter(Optional delimiter) { + public SourceMicrosoftOnedriveCSVFormat withDelimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -321,7 +316,7 @@ public SourceMicrosoftOnedriveCSVFormat withDoubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public SourceMicrosoftOnedriveCSVFormat withDoubleQuote(Optional doubleQuote) { + public SourceMicrosoftOnedriveCSVFormat withDoubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -339,7 +334,7 @@ public SourceMicrosoftOnedriveCSVFormat withEncoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public SourceMicrosoftOnedriveCSVFormat withEncoding(Optional encoding) { + public SourceMicrosoftOnedriveCSVFormat withEncoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -357,7 +352,7 @@ public SourceMicrosoftOnedriveCSVFormat withEscapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public SourceMicrosoftOnedriveCSVFormat withEscapeChar(Optional escapeChar) { + public SourceMicrosoftOnedriveCSVFormat withEscapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -366,7 +361,7 @@ public SourceMicrosoftOnedriveCSVFormat withEscapeChar(Optional falseValues) { + public SourceMicrosoftOnedriveCSVFormat withFalseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -375,7 +370,7 @@ public SourceMicrosoftOnedriveCSVFormat withFalseValues(java.util.List f /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceMicrosoftOnedriveCSVFormat withFalseValues(Optional> falseValues) { + public SourceMicrosoftOnedriveCSVFormat withFalseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -411,7 +406,7 @@ public SourceMicrosoftOnedriveCSVFormat withIgnoreErrorsOnFieldsMismatch(boolean /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public SourceMicrosoftOnedriveCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public SourceMicrosoftOnedriveCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -420,7 +415,7 @@ public SourceMicrosoftOnedriveCSVFormat withIgnoreErrorsOnFieldsMismatch(Optiona /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public SourceMicrosoftOnedriveCSVFormat withNullValues(java.util.List nullValues) { + public SourceMicrosoftOnedriveCSVFormat withNullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -429,7 +424,7 @@ public SourceMicrosoftOnedriveCSVFormat withNullValues(java.util.List nu /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public SourceMicrosoftOnedriveCSVFormat withNullValues(Optional> nullValues) { + public SourceMicrosoftOnedriveCSVFormat withNullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -447,7 +442,7 @@ public SourceMicrosoftOnedriveCSVFormat withQuoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public SourceMicrosoftOnedriveCSVFormat withQuoteChar(Optional quoteChar) { + public SourceMicrosoftOnedriveCSVFormat withQuoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -465,7 +460,7 @@ public SourceMicrosoftOnedriveCSVFormat withSkipRowsAfterHeader(long skipRowsAft /** * The number of rows to skip after the header row. */ - public SourceMicrosoftOnedriveCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { + public SourceMicrosoftOnedriveCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -483,7 +478,7 @@ public SourceMicrosoftOnedriveCSVFormat withSkipRowsBeforeHeader(long skipRowsBe /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public SourceMicrosoftOnedriveCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public SourceMicrosoftOnedriveCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -501,7 +496,7 @@ public SourceMicrosoftOnedriveCSVFormat withStringsCanBeNull(boolean stringsCanB /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public SourceMicrosoftOnedriveCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { + public SourceMicrosoftOnedriveCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -510,7 +505,7 @@ public SourceMicrosoftOnedriveCSVFormat withStringsCanBeNull(Optional trueValues) { + public SourceMicrosoftOnedriveCSVFormat withTrueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -519,7 +514,7 @@ public SourceMicrosoftOnedriveCSVFormat withTrueValues(java.util.List tr /** * A set of case-sensitive strings that should be interpreted as true values. */ - public SourceMicrosoftOnedriveCSVFormat withTrueValues(Optional> trueValues) { + public SourceMicrosoftOnedriveCSVFormat withTrueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -535,25 +530,25 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveCSVFormat other = (SourceMicrosoftOnedriveCSVFormat) o; return - java.util.Objects.deepEquals(this.delimiter, other.delimiter) && - java.util.Objects.deepEquals(this.doubleQuote, other.doubleQuote) && - java.util.Objects.deepEquals(this.encoding, other.encoding) && - java.util.Objects.deepEquals(this.escapeChar, other.escapeChar) && - java.util.Objects.deepEquals(this.falseValues, other.falseValues) && - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.headerDefinition, other.headerDefinition) && - java.util.Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && - java.util.Objects.deepEquals(this.nullValues, other.nullValues) && - java.util.Objects.deepEquals(this.quoteChar, other.quoteChar) && - java.util.Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && - java.util.Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && - java.util.Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && - java.util.Objects.deepEquals(this.trueValues, other.trueValues); + Objects.deepEquals(this.delimiter, other.delimiter) && + Objects.deepEquals(this.doubleQuote, other.doubleQuote) && + Objects.deepEquals(this.encoding, other.encoding) && + Objects.deepEquals(this.escapeChar, other.escapeChar) && + Objects.deepEquals(this.falseValues, other.falseValues) && + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.headerDefinition, other.headerDefinition) && + Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && + Objects.deepEquals(this.nullValues, other.nullValues) && + Objects.deepEquals(this.quoteChar, other.quoteChar) && + Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && + Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && + Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && + Objects.deepEquals(this.trueValues, other.trueValues); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( delimiter, doubleQuote, encoding, @@ -591,31 +586,31 @@ public String toString() { public final static class Builder { - private Optional delimiter; + private Optional delimiter; - private Optional doubleQuote; + private Optional doubleQuote; - private Optional encoding; + private Optional encoding; - private Optional escapeChar = Optional.empty(); + private Optional escapeChar = Optional.empty(); - private Optional> falseValues = Optional.empty(); + private Optional> falseValues = Optional.empty(); private Optional headerDefinition = Optional.empty(); - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; - private Optional> nullValues = Optional.empty(); + private Optional> nullValues = Optional.empty(); - private Optional quoteChar; + private Optional quoteChar; - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; - private Optional> trueValues = Optional.empty(); + private Optional> trueValues = Optional.empty(); private Builder() { // force use of static builder() method @@ -633,7 +628,7 @@ public Builder delimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public Builder delimiter(Optional delimiter) { + public Builder delimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -651,7 +646,7 @@ public Builder doubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public Builder doubleQuote(Optional doubleQuote) { + public Builder doubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -669,7 +664,7 @@ public Builder encoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public Builder encoding(Optional encoding) { + public Builder encoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -687,7 +682,7 @@ public Builder escapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public Builder escapeChar(Optional escapeChar) { + public Builder escapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -696,7 +691,7 @@ public Builder escapeChar(Optional escapeChar) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(java.util.List falseValues) { + public Builder falseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -705,7 +700,7 @@ public Builder falseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(Optional> falseValues) { + public Builder falseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -741,7 +736,7 @@ public Builder ignoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMismatch /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -750,7 +745,7 @@ public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreEr /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(java.util.List nullValues) { + public Builder nullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -759,7 +754,7 @@ public Builder nullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(Optional> nullValues) { + public Builder nullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -777,7 +772,7 @@ public Builder quoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public Builder quoteChar(Optional quoteChar) { + public Builder quoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -795,7 +790,7 @@ public Builder skipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { + public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -813,7 +808,7 @@ public Builder skipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -831,7 +826,7 @@ public Builder stringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public Builder stringsCanBeNull(Optional stringsCanBeNull) { + public Builder stringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -840,7 +835,7 @@ public Builder stringsCanBeNull(Optional stringsCanBeNull) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(java.util.List trueValues) { + public Builder trueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -849,7 +844,7 @@ public Builder trueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(Optional> trueValues) { + public Builder trueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -879,8 +874,7 @@ public SourceMicrosoftOnedriveCSVFormat build() { } if (stringsCanBeNull == null) { stringsCanBeNull = _SINGLETON_VALUE_StringsCanBeNull.value(); - } - return new SourceMicrosoftOnedriveCSVFormat( + } return new SourceMicrosoftOnedriveCSVFormat( delimiter, doubleQuote, encoding, @@ -896,23 +890,23 @@ public SourceMicrosoftOnedriveCSVFormat build() { trueValues); } - private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = + private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = new LazySingletonValue<>( "delimiter", "\",\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = new LazySingletonValue<>( "double_quote", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = + private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = new LazySingletonValue<>( "encoding", "\"utf8\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( @@ -920,35 +914,35 @@ public SourceMicrosoftOnedriveCSVFormat build() { "\"csv\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = new LazySingletonValue<>( "ignore_errors_on_fields_mismatch", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = + private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = new LazySingletonValue<>( "quote_char", "\"\\\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = new LazySingletonValue<>( "skip_rows_after_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = new LazySingletonValue<>( "skip_rows_before_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = + private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = new LazySingletonValue<>( "strings_can_be_null", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.java index e0789df7f..4f4e69074 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveCSVHeaderDefinition.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMicrosoftOnedriveCSVHeaderDefinition - How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMicrosoftOnedriveCSVHeaderDefinition._Deserializer.class) public class SourceMicrosoftOnedriveCSVHeaderDefinition { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMicrosoftOnedriveCSVHeaderDefinition(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceMicrosoftOnedriveCSVHeaderDefinition of(SourceMicrosoftOnedr /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMicrosoftOnedriveFromCSV}
    • - *
    • {@code SourceMicrosoftOnedriveAutogenerated}
    • - *
    • {@code SourceMicrosoftOnedriveUserProvided}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedriveFromCSV}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedriveAutogenerated}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedriveUserProvided}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceMicrosoftOnedriveCSVHeaderDefinition other = (SourceMicrosoftOnedriveCSVHeaderDefinition) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMicrosoftOnedriveCSVHeaderDefinition.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMicrosoftOnedriveCSVHeaderDefinition.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.java index ec9f5c97d..05c4b32ca 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFileBasedStreamConfig.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftOnedriveFileBasedStreamConfig { /** @@ -26,7 +30,7 @@ public class SourceMicrosoftOnedriveFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("days_to_sync_if_history_is_full") - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; /** * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -39,14 +43,14 @@ public class SourceMicrosoftOnedriveFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("globs") - private Optional> globs; + private Optional> globs; /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("input_schema") - private Optional inputSchema; + private Optional inputSchema; /** * The name of the stream. @@ -59,7 +63,7 @@ public class SourceMicrosoftOnedriveFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemaless") - private Optional schemaless; + private Optional schemaless; /** * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. @@ -70,12 +74,12 @@ public class SourceMicrosoftOnedriveFileBasedStreamConfig { @JsonCreator public SourceMicrosoftOnedriveFileBasedStreamConfig( - @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, + @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, @JsonProperty("format") SourceMicrosoftOnedriveFormat format, - @JsonProperty("globs") Optional> globs, - @JsonProperty("input_schema") Optional inputSchema, + @JsonProperty("globs") Optional> globs, + @JsonProperty("input_schema") Optional inputSchema, @JsonProperty("name") String name, - @JsonProperty("schemaless") Optional schemaless, + @JsonProperty("schemaless") Optional schemaless, @JsonProperty("validation_policy") Optional validationPolicy) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); Utils.checkNotNull(format, "format"); @@ -102,10 +106,9 @@ public SourceMicrosoftOnedriveFileBasedStreamConfig( /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional daysToSyncIfHistoryIsFull() { - return (Optional) daysToSyncIfHistoryIsFull; + return daysToSyncIfHistoryIsFull; } /** @@ -121,17 +124,16 @@ public SourceMicrosoftOnedriveFormat format() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> globs() { - return (Optional>) globs; + public Optional> globs() { + return (Optional>) globs; } /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional inputSchema() { - return (Optional) inputSchema; + return inputSchema; } /** @@ -145,10 +147,9 @@ public String name() { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schemaless() { - return (Optional) schemaless; + return schemaless; } /** @@ -176,7 +177,7 @@ public SourceMicrosoftOnedriveFileBasedStreamConfig withDaysToSyncIfHistoryIsFul /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public SourceMicrosoftOnedriveFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public SourceMicrosoftOnedriveFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -194,7 +195,7 @@ public SourceMicrosoftOnedriveFileBasedStreamConfig withFormat(SourceMicrosoftOn /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceMicrosoftOnedriveFileBasedStreamConfig withGlobs(java.util.List globs) { + public SourceMicrosoftOnedriveFileBasedStreamConfig withGlobs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -203,7 +204,7 @@ public SourceMicrosoftOnedriveFileBasedStreamConfig withGlobs(java.util.List> globs) { + public SourceMicrosoftOnedriveFileBasedStreamConfig withGlobs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -221,7 +222,7 @@ public SourceMicrosoftOnedriveFileBasedStreamConfig withInputSchema(String input /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public SourceMicrosoftOnedriveFileBasedStreamConfig withInputSchema(Optional inputSchema) { + public SourceMicrosoftOnedriveFileBasedStreamConfig withInputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -248,7 +249,7 @@ public SourceMicrosoftOnedriveFileBasedStreamConfig withSchemaless(boolean schem /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public SourceMicrosoftOnedriveFileBasedStreamConfig withSchemaless(Optional schemaless) { + public SourceMicrosoftOnedriveFileBasedStreamConfig withSchemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -282,18 +283,18 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveFileBasedStreamConfig other = (SourceMicrosoftOnedriveFileBasedStreamConfig) o; return - java.util.Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.globs, other.globs) && - java.util.Objects.deepEquals(this.inputSchema, other.inputSchema) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.schemaless, other.schemaless) && - java.util.Objects.deepEquals(this.validationPolicy, other.validationPolicy); + Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.globs, other.globs) && + Objects.deepEquals(this.inputSchema, other.inputSchema) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.schemaless, other.schemaless) && + Objects.deepEquals(this.validationPolicy, other.validationPolicy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( daysToSyncIfHistoryIsFull, format, globs, @@ -317,17 +318,17 @@ public String toString() { public final static class Builder { - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; private SourceMicrosoftOnedriveFormat format; - private Optional> globs = Optional.empty(); + private Optional> globs = Optional.empty(); - private Optional inputSchema = Optional.empty(); + private Optional inputSchema = Optional.empty(); private String name; - private Optional schemaless; + private Optional schemaless; private Optional validationPolicy; @@ -347,7 +348,7 @@ public Builder daysToSyncIfHistoryIsFull(long daysToSyncIfHistoryIsFull) { /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -365,7 +366,7 @@ public Builder format(SourceMicrosoftOnedriveFormat format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(java.util.List globs) { + public Builder globs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -374,7 +375,7 @@ public Builder globs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(Optional> globs) { + public Builder globs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -392,7 +393,7 @@ public Builder inputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public Builder inputSchema(Optional inputSchema) { + public Builder inputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -419,7 +420,7 @@ public Builder schemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public Builder schemaless(Optional schemaless) { + public Builder schemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -452,8 +453,7 @@ public SourceMicrosoftOnedriveFileBasedStreamConfig build() { } if (validationPolicy == null) { validationPolicy = _SINGLETON_VALUE_ValidationPolicy.value(); - } - return new SourceMicrosoftOnedriveFileBasedStreamConfig( + } return new SourceMicrosoftOnedriveFileBasedStreamConfig( daysToSyncIfHistoryIsFull, format, globs, @@ -463,17 +463,17 @@ public SourceMicrosoftOnedriveFileBasedStreamConfig build() { validationPolicy); } - private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = + private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = new LazySingletonValue<>( "days_to_sync_if_history_is_full", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = + private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = new LazySingletonValue<>( "schemaless", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_ValidationPolicy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFiletype.java index 138896535..853f1223d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveFiletype { AVRO("avro"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFormat.java index ad1b64672..cf8e4a010 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFormat.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMicrosoftOnedriveFormat - The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMicrosoftOnedriveFormat._Deserializer.class) public class SourceMicrosoftOnedriveFormat { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMicrosoftOnedriveFormat(TypedObject value) { @@ -63,11 +60,11 @@ public static SourceMicrosoftOnedriveFormat of(SourceMicrosoftOnedriveUnstructur /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMicrosoftOnedriveAvroFormat}
    • - *
    • {@code SourceMicrosoftOnedriveCSVFormat}
    • - *
    • {@code SourceMicrosoftOnedriveJsonlFormat}
    • - *
    • {@code SourceMicrosoftOnedriveParquetFormat}
    • - *
    • {@code SourceMicrosoftOnedriveUnstructuredDocumentFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedriveAvroFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedriveCSVFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedriveJsonlFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedriveParquetFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedriveUnstructuredDocumentFormat}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +91,24 @@ public boolean equals(java.lang.Object o) { return false; } SourceMicrosoftOnedriveFormat other = (SourceMicrosoftOnedriveFormat) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMicrosoftOnedriveFormat.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMicrosoftOnedriveFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFromCSV.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFromCSV.java index c73756417..88449768b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFromCSV.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveFromCSV.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftOnedriveFromCSV { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveFromCSV other = (SourceMicrosoftOnedriveFromCSV) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.java index 4787e7024..75c0f6ce8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveHeaderDefinitionType { FROM_CSV("From CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveJsonlFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveJsonlFormat.java index 0971b9660..89aa40d99 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveJsonlFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveJsonlFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftOnedriveJsonlFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveJsonlFormat other = (SourceMicrosoftOnedriveJsonlFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveLocal.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveLocal.java index 58f228c25..4ba0e436d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveLocal.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveLocal.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceMicrosoftOnedriveLocal - Process files locally, supporting `fast` and `ocr` modes. This is the default option. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveLocal other = (SourceMicrosoftOnedriveLocal) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMicrosoftOnedrive.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMicrosoftOnedrive.java index a7e116993..d7b04702d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMicrosoftOnedrive.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMicrosoftOnedrive.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveMicrosoftOnedrive { MICROSOFT_ONEDRIVE("microsoft-onedrive"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMode.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMode.java index bbef4c46b..daf779844 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveMode { LOCAL("local"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParquetFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParquetFormat.java index 20cc9230f..d698f93aa 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParquetFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParquetFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftOnedriveParquetFormat { /** @@ -26,7 +28,7 @@ public class SourceMicrosoftOnedriveParquetFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("decimal_as_float") - private Optional decimalAsFloat; + private Optional decimalAsFloat; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceMicrosoftOnedriveParquetFormat { @JsonCreator public SourceMicrosoftOnedriveParquetFormat( - @JsonProperty("decimal_as_float") Optional decimalAsFloat) { + @JsonProperty("decimal_as_float") Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceMicrosoftOnedriveParquetFormat() { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional decimalAsFloat() { - return (Optional) decimalAsFloat; + return decimalAsFloat; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceMicrosoftOnedriveParquetFormat withDecimalAsFloat(boolean decimalAs /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public SourceMicrosoftOnedriveParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { + public SourceMicrosoftOnedriveParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveParquetFormat other = (SourceMicrosoftOnedriveParquetFormat) o; return - java.util.Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( decimalAsFloat, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional decimalAsFloat; + private Optional decimalAsFloat; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder decimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public Builder decimalAsFloat(Optional decimalAsFloat) { + public Builder decimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -138,16 +139,15 @@ public Builder decimalAsFloat(Optional decimalAsFloat) { public SourceMicrosoftOnedriveParquetFormat build() { if (decimalAsFloat == null) { decimalAsFloat = _SINGLETON_VALUE_DecimalAsFloat.value(); - } - return new SourceMicrosoftOnedriveParquetFormat( + } return new SourceMicrosoftOnedriveParquetFormat( decimalAsFloat); } - private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = + private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = new LazySingletonValue<>( "decimal_as_float", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParsingStrategy.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParsingStrategy.java index 419da45ff..e43f813a9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParsingStrategy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveParsingStrategy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMicrosoftOnedriveParsingStrategy - The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveProcessing.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveProcessing.java index cf705123a..6d2592c07 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveProcessing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveProcessing.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMicrosoftOnedriveProcessing - Processing configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMicrosoftOnedriveProcessing._Deserializer.class) public class SourceMicrosoftOnedriveProcessing { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMicrosoftOnedriveProcessing(TypedObject value) { @@ -43,7 +40,7 @@ public static SourceMicrosoftOnedriveProcessing of(SourceMicrosoftOnedriveLocal /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMicrosoftOnedriveLocal}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftOnedriveLocal}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -70,20 +67,20 @@ public boolean equals(java.lang.Object o) { return false; } SourceMicrosoftOnedriveProcessing other = (SourceMicrosoftOnedriveProcessing) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMicrosoftOnedriveProcessing.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMicrosoftOnedriveProcessing.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasAuthType.java index 79d2a398f..676a6abd4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveSchemasAuthType { SERVICE("Service"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasFiletype.java index 209d48a86..e4b6e9ad3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveSchemasFiletype { CSV("csv"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.java index fcaa48b54..c5dc807ff 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveSchemasHeaderDefinitionType { AUTOGENERATED("Autogenerated"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.java index b83cb5d41..ad34e2e2c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveSchemasStreamsFiletype { JSONL("jsonl"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.java index 412f80d12..a0dd317fa 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveSchemasStreamsFormatFiletype { PARQUET("parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.java index 2e4ac1cf4..b28380254 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype { UNSTRUCTURED("unstructured"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType.java index 4efa22889..295c09172 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType { USER_PROVIDED("User Provided"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.java index dbebc13f7..adf684860 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUnstructuredDocumentFormat.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceMicrosoftOnedriveUnstructuredDocumentFormat - Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. */ @@ -40,7 +42,7 @@ public class SourceMicrosoftOnedriveUnstructuredDocumentFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_unprocessable_files") - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; /** * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf @@ -52,7 +54,7 @@ public class SourceMicrosoftOnedriveUnstructuredDocumentFormat { @JsonCreator public SourceMicrosoftOnedriveUnstructuredDocumentFormat( @JsonProperty("processing") Optional processing, - @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, + @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, @JsonProperty("strategy") Optional strategy) { Utils.checkNotNull(processing, "processing"); Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); @@ -85,10 +87,9 @@ public Optional processing() { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipUnprocessableFiles() { - return (Optional) skipUnprocessableFiles; + return skipUnprocessableFiles; } /** @@ -134,7 +135,7 @@ public SourceMicrosoftOnedriveUnstructuredDocumentFormat withSkipUnprocessableFi /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public SourceMicrosoftOnedriveUnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { + public SourceMicrosoftOnedriveUnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -168,15 +169,15 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveUnstructuredDocumentFormat other = (SourceMicrosoftOnedriveUnstructuredDocumentFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.processing, other.processing) && - java.util.Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && - java.util.Objects.deepEquals(this.strategy, other.strategy); + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.processing, other.processing) && + Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && + Objects.deepEquals(this.strategy, other.strategy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype, processing, skipUnprocessableFiles, @@ -196,7 +197,7 @@ public final static class Builder { private Optional processing = Optional.empty(); - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; private Optional strategy; @@ -234,7 +235,7 @@ public Builder skipUnprocessableFiles(boolean skipUnprocessableFiles) { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { + public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -264,8 +265,7 @@ public SourceMicrosoftOnedriveUnstructuredDocumentFormat build() { } if (strategy == null) { strategy = _SINGLETON_VALUE_Strategy.value(); - } - return new SourceMicrosoftOnedriveUnstructuredDocumentFormat( + } return new SourceMicrosoftOnedriveUnstructuredDocumentFormat( processing, skipUnprocessableFiles, strategy); @@ -277,11 +277,11 @@ public SourceMicrosoftOnedriveUnstructuredDocumentFormat build() { "\"unstructured\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = new LazySingletonValue<>( "skip_unprocessable_files", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Strategy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUserProvided.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUserProvided.java index f46e7bc05..baa935596 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUserProvided.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveUserProvided.java @@ -1,31 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftOnedriveUserProvided { /** * The column names that will be used while emitting the CSV records */ @JsonProperty("column_names") - private java.util.List columnNames; + private List columnNames; @JsonInclude(Include.NON_ABSENT) @JsonProperty("header_definition_type") @@ -33,7 +35,7 @@ public class SourceMicrosoftOnedriveUserProvided { @JsonCreator public SourceMicrosoftOnedriveUserProvided( - @JsonProperty("column_names") java.util.List columnNames) { + @JsonProperty("column_names") List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); @@ -43,7 +45,7 @@ public SourceMicrosoftOnedriveUserProvided( * The column names that will be used while emitting the CSV records */ @JsonIgnore - public java.util.List columnNames() { + public List columnNames() { return columnNames; } @@ -60,7 +62,7 @@ public final static Builder builder() { /** * The column names that will be used while emitting the CSV records */ - public SourceMicrosoftOnedriveUserProvided withColumnNames(java.util.List columnNames) { + public SourceMicrosoftOnedriveUserProvided withColumnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; @@ -76,13 +78,13 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftOnedriveUserProvided other = (SourceMicrosoftOnedriveUserProvided) o; return - java.util.Objects.deepEquals(this.columnNames, other.columnNames) && - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.columnNames, other.columnNames) && + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( columnNames, headerDefinitionType); } @@ -96,7 +98,7 @@ public String toString() { public final static class Builder { - private java.util.List columnNames; + private List columnNames; private Builder() { // force use of static builder() method @@ -105,7 +107,7 @@ private Builder() { /** * The column names that will be used while emitting the CSV records */ - public Builder columnNames(java.util.List columnNames) { + public Builder columnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveValidationPolicy.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveValidationPolicy.java index 6434c5e9b..e9016bbf6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveValidationPolicy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftOnedriveValidationPolicy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMicrosoftOnedriveValidationPolicy - The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepoint.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepoint.java index 81d281eb3..81d83d12d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepoint.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepoint.java @@ -1,26 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * SourceMicrosoftSharepoint - SourceMicrosoftSharePointSpec class for Microsoft SharePoint Source Specification. * This class combines the authentication details with additional configuration for the SharePoint API. @@ -39,7 +39,7 @@ public class SourceMicrosoftSharepoint { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("folder_path") - private Optional folderPath; + private Optional folderPath; /** * Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. @@ -56,21 +56,21 @@ public class SourceMicrosoftSharepoint { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonProperty("streams") - private java.util.List streams; + private List streams; @JsonCreator public SourceMicrosoftSharepoint( @JsonProperty("credentials") SourceMicrosoftSharepointAuthentication credentials, - @JsonProperty("folder_path") Optional folderPath, + @JsonProperty("folder_path") Optional folderPath, @JsonProperty("search_scope") Optional searchScope, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("streams") java.util.List streams) { + @JsonProperty("start_date") Optional startDate, + @JsonProperty("streams") List streams) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(folderPath, "folderPath"); Utils.checkNotNull(searchScope, "searchScope"); @@ -86,7 +86,7 @@ public SourceMicrosoftSharepoint( public SourceMicrosoftSharepoint( SourceMicrosoftSharepointAuthentication credentials, - java.util.List streams) { + List streams) { this(credentials, Optional.empty(), Optional.empty(), Optional.empty(), streams); } @@ -101,10 +101,9 @@ public SourceMicrosoftSharepointAuthentication credentials() { /** * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional folderPath() { - return (Optional) folderPath; + return folderPath; } /** @@ -124,17 +123,16 @@ public SourceMicrosoftSharepointMicrosoftSharepoint sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonIgnore - public java.util.List streams() { + public List streams() { return streams; } @@ -163,7 +161,7 @@ public SourceMicrosoftSharepoint withFolderPath(String folderPath) { /** * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. */ - public SourceMicrosoftSharepoint withFolderPath(Optional folderPath) { + public SourceMicrosoftSharepoint withFolderPath(Optional folderPath) { Utils.checkNotNull(folderPath, "folderPath"); this.folderPath = folderPath; return this; @@ -199,7 +197,7 @@ public SourceMicrosoftSharepoint withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public SourceMicrosoftSharepoint withStartDate(Optional startDate) { + public SourceMicrosoftSharepoint withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -208,7 +206,7 @@ public SourceMicrosoftSharepoint withStartDate(Optional streams) { + public SourceMicrosoftSharepoint withStreams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -224,17 +222,17 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepoint other = (SourceMicrosoftSharepoint) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.folderPath, other.folderPath) && - java.util.Objects.deepEquals(this.searchScope, other.searchScope) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.streams, other.streams); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.folderPath, other.folderPath) && + Objects.deepEquals(this.searchScope, other.searchScope) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.streams, other.streams); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, folderPath, searchScope, @@ -258,13 +256,13 @@ public final static class Builder { private SourceMicrosoftSharepointAuthentication credentials; - private Optional folderPath; + private Optional folderPath; private Optional searchScope; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private java.util.List streams; + private List streams; private Builder() { // force use of static builder() method @@ -291,7 +289,7 @@ public Builder folderPath(String folderPath) { /** * Path to a specific folder within the drives to search for files. Leave empty to search all folders of the drives. This does not apply to shared items. */ - public Builder folderPath(Optional folderPath) { + public Builder folderPath(Optional folderPath) { Utils.checkNotNull(folderPath, "folderPath"); this.folderPath = folderPath; return this; @@ -327,7 +325,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -336,7 +334,7 @@ public Builder startDate(Optional startDate) { /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public Builder streams(java.util.List streams) { + public Builder streams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -348,8 +346,7 @@ public SourceMicrosoftSharepoint build() { } if (searchScope == null) { searchScope = _SINGLETON_VALUE_SearchScope.value(); - } - return new SourceMicrosoftSharepoint( + } return new SourceMicrosoftSharepoint( credentials, folderPath, searchScope, @@ -357,11 +354,11 @@ public SourceMicrosoftSharepoint build() { streams); } - private static final LazySingletonValue> _SINGLETON_VALUE_FolderPath = + private static final LazySingletonValue> _SINGLETON_VALUE_FolderPath = new LazySingletonValue<>( "folder_path", "\".\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_SearchScope = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthType.java index 23dcafb17..1f4329c4c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.java index 77caed79d..d94ac1648 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth - OAuthCredentials class to hold authentication details for Microsoft OAuth authentication. * This class uses pydantic for data validation and settings management. @@ -46,7 +47,7 @@ public class SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("refresh_token") - private Optional refreshToken; + private Optional refreshToken; /** * Tenant ID of the Microsoft SharePoint user @@ -58,7 +59,7 @@ public class SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth { public SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth( @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, - @JsonProperty("refresh_token") Optional refreshToken, + @JsonProperty("refresh_token") Optional refreshToken, @JsonProperty("tenant_id") String tenantId) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -103,10 +104,9 @@ public String clientSecret() { /** * Refresh Token of your Microsoft developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional refreshToken() { - return (Optional) refreshToken; + return refreshToken; } /** @@ -151,7 +151,7 @@ public SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth withRefreshToken(S /** * Refresh Token of your Microsoft developer application */ - public SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth withRefreshToken(Optional refreshToken) { + public SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth withRefreshToken(Optional refreshToken) { Utils.checkNotNull(refreshToken, "refreshToken"); this.refreshToken = refreshToken; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth other = (SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tenantId, other.tenantId); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tenantId, other.tenantId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, @@ -209,7 +209,7 @@ public final static class Builder { private String clientSecret; - private Optional refreshToken = Optional.empty(); + private Optional refreshToken = Optional.empty(); private String tenantId; @@ -247,7 +247,7 @@ public Builder refreshToken(String refreshToken) { /** * Refresh Token of your Microsoft developer application */ - public Builder refreshToken(Optional refreshToken) { + public Builder refreshToken(Optional refreshToken) { Utils.checkNotNull(refreshToken, "refreshToken"); this.refreshToken = refreshToken; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthentication.java index e0141ce55..98a6955cd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMicrosoftSharepointAuthentication - Credentials for connecting to the One Drive API @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMicrosoftSharepointAuthentication._Deserializer.class) public class SourceMicrosoftSharepointAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMicrosoftSharepointAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceMicrosoftSharepointAuthentication of(SourceMicrosoftSharepoi /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth}
    • - *
    • {@code SourceMicrosoftSharepointServiceKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointServiceKeyAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceMicrosoftSharepointAuthentication other = (SourceMicrosoftSharepointAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMicrosoftSharepointAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMicrosoftSharepointAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAutogenerated.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAutogenerated.java index 9988cbb78..3d4a43530 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAutogenerated.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAutogenerated.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftSharepointAutogenerated { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointAutogenerated other = (SourceMicrosoftSharepointAutogenerated) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAvroFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAvroFormat.java index 2f5637ea2..bc762f19e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAvroFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointAvroFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftSharepointAvroFormat { /** @@ -26,7 +28,7 @@ public class SourceMicrosoftSharepointAvroFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_as_string") - private Optional doubleAsString; + private Optional doubleAsString; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceMicrosoftSharepointAvroFormat { @JsonCreator public SourceMicrosoftSharepointAvroFormat( - @JsonProperty("double_as_string") Optional doubleAsString) { + @JsonProperty("double_as_string") Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceMicrosoftSharepointAvroFormat() { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleAsString() { - return (Optional) doubleAsString; + return doubleAsString; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceMicrosoftSharepointAvroFormat withDoubleAsString(boolean doubleAsSt /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public SourceMicrosoftSharepointAvroFormat withDoubleAsString(Optional doubleAsString) { + public SourceMicrosoftSharepointAvroFormat withDoubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointAvroFormat other = (SourceMicrosoftSharepointAvroFormat) o; return - java.util.Objects.deepEquals(this.doubleAsString, other.doubleAsString) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.doubleAsString, other.doubleAsString) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( doubleAsString, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional doubleAsString; + private Optional doubleAsString; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder doubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public Builder doubleAsString(Optional doubleAsString) { + public Builder doubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -138,16 +139,15 @@ public Builder doubleAsString(Optional doubleAsString) { public SourceMicrosoftSharepointAvroFormat build() { if (doubleAsString == null) { doubleAsString = _SINGLETON_VALUE_DoubleAsString.value(); - } - return new SourceMicrosoftSharepointAvroFormat( + } return new SourceMicrosoftSharepointAvroFormat( doubleAsString); } - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = new LazySingletonValue<>( "double_as_string", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVFormat.java index b891619e0..1d498d6d8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVFormat.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftSharepointCSVFormat { /** @@ -26,35 +30,35 @@ public class SourceMicrosoftSharepointCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("delimiter") - private Optional delimiter; + private Optional delimiter; /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_quote") - private Optional doubleQuote; + private Optional doubleQuote; /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("encoding") - private Optional encoding; + private Optional encoding; /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("escape_char") - private Optional escapeChar; + private Optional escapeChar; /** * A set of case-sensitive strings that should be interpreted as false values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("false_values") - private Optional> falseValues; + private Optional> falseValues; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -72,65 +76,65 @@ public class SourceMicrosoftSharepointCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ignore_errors_on_fields_mismatch") - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("null_values") - private Optional> nullValues; + private Optional> nullValues; /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("quote_char") - private Optional quoteChar; + private Optional quoteChar; /** * The number of rows to skip after the header row. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_after_header") - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_before_header") - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("strings_can_be_null") - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; /** * A set of case-sensitive strings that should be interpreted as true values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("true_values") - private Optional> trueValues; + private Optional> trueValues; @JsonCreator public SourceMicrosoftSharepointCSVFormat( - @JsonProperty("delimiter") Optional delimiter, - @JsonProperty("double_quote") Optional doubleQuote, - @JsonProperty("encoding") Optional encoding, - @JsonProperty("escape_char") Optional escapeChar, - @JsonProperty("false_values") Optional> falseValues, + @JsonProperty("delimiter") Optional delimiter, + @JsonProperty("double_quote") Optional doubleQuote, + @JsonProperty("encoding") Optional encoding, + @JsonProperty("escape_char") Optional escapeChar, + @JsonProperty("false_values") Optional> falseValues, @JsonProperty("header_definition") Optional headerDefinition, - @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, - @JsonProperty("null_values") Optional> nullValues, - @JsonProperty("quote_char") Optional quoteChar, - @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, - @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, - @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, - @JsonProperty("true_values") Optional> trueValues) { + @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, + @JsonProperty("null_values") Optional> nullValues, + @JsonProperty("quote_char") Optional quoteChar, + @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, + @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, + @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, + @JsonProperty("true_values") Optional> trueValues) { Utils.checkNotNull(delimiter, "delimiter"); Utils.checkNotNull(doubleQuote, "doubleQuote"); Utils.checkNotNull(encoding, "encoding"); @@ -167,37 +171,33 @@ public SourceMicrosoftSharepointCSVFormat() { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional delimiter() { - return (Optional) delimiter; + return delimiter; } /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleQuote() { - return (Optional) doubleQuote; + return doubleQuote; } /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional encoding() { - return (Optional) encoding; + return encoding; } /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional escapeChar() { - return (Optional) escapeChar; + return escapeChar; } /** @@ -205,8 +205,8 @@ public Optional escapeChar() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> falseValues() { - return (Optional>) falseValues; + public Optional> falseValues() { + return (Optional>) falseValues; } @SuppressWarnings("unchecked") @@ -227,10 +227,9 @@ public Optional headerDefinition() /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreErrorsOnFieldsMismatch() { - return (Optional) ignoreErrorsOnFieldsMismatch; + return ignoreErrorsOnFieldsMismatch; } /** @@ -238,44 +237,40 @@ public Optional ignoreErrorsOnFieldsMismatch() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> nullValues() { - return (Optional>) nullValues; + public Optional> nullValues() { + return (Optional>) nullValues; } /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional quoteChar() { - return (Optional) quoteChar; + return quoteChar; } /** * The number of rows to skip after the header row. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsAfterHeader() { - return (Optional) skipRowsAfterHeader; + return skipRowsAfterHeader; } /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsBeforeHeader() { - return (Optional) skipRowsBeforeHeader; + return skipRowsBeforeHeader; } /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional stringsCanBeNull() { - return (Optional) stringsCanBeNull; + return stringsCanBeNull; } /** @@ -283,8 +278,8 @@ public Optional stringsCanBeNull() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> trueValues() { - return (Optional>) trueValues; + public Optional> trueValues() { + return (Optional>) trueValues; } public final static Builder builder() { @@ -303,7 +298,7 @@ public SourceMicrosoftSharepointCSVFormat withDelimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public SourceMicrosoftSharepointCSVFormat withDelimiter(Optional delimiter) { + public SourceMicrosoftSharepointCSVFormat withDelimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -321,7 +316,7 @@ public SourceMicrosoftSharepointCSVFormat withDoubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public SourceMicrosoftSharepointCSVFormat withDoubleQuote(Optional doubleQuote) { + public SourceMicrosoftSharepointCSVFormat withDoubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -339,7 +334,7 @@ public SourceMicrosoftSharepointCSVFormat withEncoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public SourceMicrosoftSharepointCSVFormat withEncoding(Optional encoding) { + public SourceMicrosoftSharepointCSVFormat withEncoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -357,7 +352,7 @@ public SourceMicrosoftSharepointCSVFormat withEscapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public SourceMicrosoftSharepointCSVFormat withEscapeChar(Optional escapeChar) { + public SourceMicrosoftSharepointCSVFormat withEscapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -366,7 +361,7 @@ public SourceMicrosoftSharepointCSVFormat withEscapeChar(Optional falseValues) { + public SourceMicrosoftSharepointCSVFormat withFalseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -375,7 +370,7 @@ public SourceMicrosoftSharepointCSVFormat withFalseValues(java.util.List /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceMicrosoftSharepointCSVFormat withFalseValues(Optional> falseValues) { + public SourceMicrosoftSharepointCSVFormat withFalseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -411,7 +406,7 @@ public SourceMicrosoftSharepointCSVFormat withIgnoreErrorsOnFieldsMismatch(boole /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public SourceMicrosoftSharepointCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public SourceMicrosoftSharepointCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -420,7 +415,7 @@ public SourceMicrosoftSharepointCSVFormat withIgnoreErrorsOnFieldsMismatch(Optio /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public SourceMicrosoftSharepointCSVFormat withNullValues(java.util.List nullValues) { + public SourceMicrosoftSharepointCSVFormat withNullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -429,7 +424,7 @@ public SourceMicrosoftSharepointCSVFormat withNullValues(java.util.List /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public SourceMicrosoftSharepointCSVFormat withNullValues(Optional> nullValues) { + public SourceMicrosoftSharepointCSVFormat withNullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -447,7 +442,7 @@ public SourceMicrosoftSharepointCSVFormat withQuoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public SourceMicrosoftSharepointCSVFormat withQuoteChar(Optional quoteChar) { + public SourceMicrosoftSharepointCSVFormat withQuoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -465,7 +460,7 @@ public SourceMicrosoftSharepointCSVFormat withSkipRowsAfterHeader(long skipRowsA /** * The number of rows to skip after the header row. */ - public SourceMicrosoftSharepointCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { + public SourceMicrosoftSharepointCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -483,7 +478,7 @@ public SourceMicrosoftSharepointCSVFormat withSkipRowsBeforeHeader(long skipRows /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public SourceMicrosoftSharepointCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public SourceMicrosoftSharepointCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -501,7 +496,7 @@ public SourceMicrosoftSharepointCSVFormat withStringsCanBeNull(boolean stringsCa /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public SourceMicrosoftSharepointCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { + public SourceMicrosoftSharepointCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -510,7 +505,7 @@ public SourceMicrosoftSharepointCSVFormat withStringsCanBeNull(Optional trueValues) { + public SourceMicrosoftSharepointCSVFormat withTrueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -519,7 +514,7 @@ public SourceMicrosoftSharepointCSVFormat withTrueValues(java.util.List /** * A set of case-sensitive strings that should be interpreted as true values. */ - public SourceMicrosoftSharepointCSVFormat withTrueValues(Optional> trueValues) { + public SourceMicrosoftSharepointCSVFormat withTrueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -535,25 +530,25 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointCSVFormat other = (SourceMicrosoftSharepointCSVFormat) o; return - java.util.Objects.deepEquals(this.delimiter, other.delimiter) && - java.util.Objects.deepEquals(this.doubleQuote, other.doubleQuote) && - java.util.Objects.deepEquals(this.encoding, other.encoding) && - java.util.Objects.deepEquals(this.escapeChar, other.escapeChar) && - java.util.Objects.deepEquals(this.falseValues, other.falseValues) && - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.headerDefinition, other.headerDefinition) && - java.util.Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && - java.util.Objects.deepEquals(this.nullValues, other.nullValues) && - java.util.Objects.deepEquals(this.quoteChar, other.quoteChar) && - java.util.Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && - java.util.Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && - java.util.Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && - java.util.Objects.deepEquals(this.trueValues, other.trueValues); + Objects.deepEquals(this.delimiter, other.delimiter) && + Objects.deepEquals(this.doubleQuote, other.doubleQuote) && + Objects.deepEquals(this.encoding, other.encoding) && + Objects.deepEquals(this.escapeChar, other.escapeChar) && + Objects.deepEquals(this.falseValues, other.falseValues) && + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.headerDefinition, other.headerDefinition) && + Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && + Objects.deepEquals(this.nullValues, other.nullValues) && + Objects.deepEquals(this.quoteChar, other.quoteChar) && + Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && + Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && + Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && + Objects.deepEquals(this.trueValues, other.trueValues); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( delimiter, doubleQuote, encoding, @@ -591,31 +586,31 @@ public String toString() { public final static class Builder { - private Optional delimiter; + private Optional delimiter; - private Optional doubleQuote; + private Optional doubleQuote; - private Optional encoding; + private Optional encoding; - private Optional escapeChar = Optional.empty(); + private Optional escapeChar = Optional.empty(); - private Optional> falseValues = Optional.empty(); + private Optional> falseValues = Optional.empty(); private Optional headerDefinition = Optional.empty(); - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; - private Optional> nullValues = Optional.empty(); + private Optional> nullValues = Optional.empty(); - private Optional quoteChar; + private Optional quoteChar; - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; - private Optional> trueValues = Optional.empty(); + private Optional> trueValues = Optional.empty(); private Builder() { // force use of static builder() method @@ -633,7 +628,7 @@ public Builder delimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public Builder delimiter(Optional delimiter) { + public Builder delimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -651,7 +646,7 @@ public Builder doubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public Builder doubleQuote(Optional doubleQuote) { + public Builder doubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -669,7 +664,7 @@ public Builder encoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public Builder encoding(Optional encoding) { + public Builder encoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -687,7 +682,7 @@ public Builder escapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public Builder escapeChar(Optional escapeChar) { + public Builder escapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -696,7 +691,7 @@ public Builder escapeChar(Optional escapeChar) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(java.util.List falseValues) { + public Builder falseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -705,7 +700,7 @@ public Builder falseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(Optional> falseValues) { + public Builder falseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -741,7 +736,7 @@ public Builder ignoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMismatch /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -750,7 +745,7 @@ public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreEr /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(java.util.List nullValues) { + public Builder nullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -759,7 +754,7 @@ public Builder nullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(Optional> nullValues) { + public Builder nullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -777,7 +772,7 @@ public Builder quoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public Builder quoteChar(Optional quoteChar) { + public Builder quoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -795,7 +790,7 @@ public Builder skipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { + public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -813,7 +808,7 @@ public Builder skipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -831,7 +826,7 @@ public Builder stringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public Builder stringsCanBeNull(Optional stringsCanBeNull) { + public Builder stringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -840,7 +835,7 @@ public Builder stringsCanBeNull(Optional stringsCanBeNull) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(java.util.List trueValues) { + public Builder trueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -849,7 +844,7 @@ public Builder trueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(Optional> trueValues) { + public Builder trueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -879,8 +874,7 @@ public SourceMicrosoftSharepointCSVFormat build() { } if (stringsCanBeNull == null) { stringsCanBeNull = _SINGLETON_VALUE_StringsCanBeNull.value(); - } - return new SourceMicrosoftSharepointCSVFormat( + } return new SourceMicrosoftSharepointCSVFormat( delimiter, doubleQuote, encoding, @@ -896,23 +890,23 @@ public SourceMicrosoftSharepointCSVFormat build() { trueValues); } - private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = + private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = new LazySingletonValue<>( "delimiter", "\",\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = new LazySingletonValue<>( "double_quote", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = + private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = new LazySingletonValue<>( "encoding", "\"utf8\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( @@ -920,35 +914,35 @@ public SourceMicrosoftSharepointCSVFormat build() { "\"csv\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = new LazySingletonValue<>( "ignore_errors_on_fields_mismatch", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = + private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = new LazySingletonValue<>( "quote_char", "\"\\\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = new LazySingletonValue<>( "skip_rows_after_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = new LazySingletonValue<>( "skip_rows_before_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = + private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = new LazySingletonValue<>( "strings_can_be_null", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.java index 655a33372..fee3e2f75 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointCSVHeaderDefinition.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMicrosoftSharepointCSVHeaderDefinition - How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMicrosoftSharepointCSVHeaderDefinition._Deserializer.class) public class SourceMicrosoftSharepointCSVHeaderDefinition { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMicrosoftSharepointCSVHeaderDefinition(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceMicrosoftSharepointCSVHeaderDefinition of(SourceMicrosoftSha /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMicrosoftSharepointFromCSV}
    • - *
    • {@code SourceMicrosoftSharepointAutogenerated}
    • - *
    • {@code SourceMicrosoftSharepointUserProvided}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointFromCSV}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointAutogenerated}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointUserProvided}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceMicrosoftSharepointCSVHeaderDefinition other = (SourceMicrosoftSharepointCSVHeaderDefinition) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMicrosoftSharepointCSVHeaderDefinition.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMicrosoftSharepointCSVHeaderDefinition.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointExcelFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointExcelFormat.java index 09b81f2e6..e67f85975 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointExcelFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointExcelFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftSharepointExcelFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointExcelFormat other = (SourceMicrosoftSharepointExcelFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.java index 0cc7ea92c..820e4dcba 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFileBasedStreamConfig.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftSharepointFileBasedStreamConfig { /** @@ -26,7 +30,7 @@ public class SourceMicrosoftSharepointFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("days_to_sync_if_history_is_full") - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; /** * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -39,14 +43,14 @@ public class SourceMicrosoftSharepointFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("globs") - private Optional> globs; + private Optional> globs; /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("input_schema") - private Optional inputSchema; + private Optional inputSchema; /** * The name of the stream. @@ -59,14 +63,14 @@ public class SourceMicrosoftSharepointFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("recent_n_files_to_read_for_schema_discovery") - private Optional recentNFilesToReadForSchemaDiscovery; + private Optional recentNFilesToReadForSchemaDiscovery; /** * When enabled, syncs will not validate or structure records against the stream's schema. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemaless") - private Optional schemaless; + private Optional schemaless; /** * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. @@ -77,13 +81,13 @@ public class SourceMicrosoftSharepointFileBasedStreamConfig { @JsonCreator public SourceMicrosoftSharepointFileBasedStreamConfig( - @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, + @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, @JsonProperty("format") SourceMicrosoftSharepointFormat format, - @JsonProperty("globs") Optional> globs, - @JsonProperty("input_schema") Optional inputSchema, + @JsonProperty("globs") Optional> globs, + @JsonProperty("input_schema") Optional inputSchema, @JsonProperty("name") String name, - @JsonProperty("recent_n_files_to_read_for_schema_discovery") Optional recentNFilesToReadForSchemaDiscovery, - @JsonProperty("schemaless") Optional schemaless, + @JsonProperty("recent_n_files_to_read_for_schema_discovery") Optional recentNFilesToReadForSchemaDiscovery, + @JsonProperty("schemaless") Optional schemaless, @JsonProperty("validation_policy") Optional validationPolicy) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); Utils.checkNotNull(format, "format"); @@ -112,10 +116,9 @@ public SourceMicrosoftSharepointFileBasedStreamConfig( /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional daysToSyncIfHistoryIsFull() { - return (Optional) daysToSyncIfHistoryIsFull; + return daysToSyncIfHistoryIsFull; } /** @@ -131,17 +134,16 @@ public SourceMicrosoftSharepointFormat format() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> globs() { - return (Optional>) globs; + public Optional> globs() { + return (Optional>) globs; } /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional inputSchema() { - return (Optional) inputSchema; + return inputSchema; } /** @@ -155,19 +157,17 @@ public String name() { /** * The number of resent files which will be used to discover the schema for this stream. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional recentNFilesToReadForSchemaDiscovery() { - return (Optional) recentNFilesToReadForSchemaDiscovery; + return recentNFilesToReadForSchemaDiscovery; } /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schemaless() { - return (Optional) schemaless; + return schemaless; } /** @@ -195,7 +195,7 @@ public SourceMicrosoftSharepointFileBasedStreamConfig withDaysToSyncIfHistoryIsF /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public SourceMicrosoftSharepointFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public SourceMicrosoftSharepointFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -213,7 +213,7 @@ public SourceMicrosoftSharepointFileBasedStreamConfig withFormat(SourceMicrosoft /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceMicrosoftSharepointFileBasedStreamConfig withGlobs(java.util.List globs) { + public SourceMicrosoftSharepointFileBasedStreamConfig withGlobs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -222,7 +222,7 @@ public SourceMicrosoftSharepointFileBasedStreamConfig withGlobs(java.util.List> globs) { + public SourceMicrosoftSharepointFileBasedStreamConfig withGlobs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -240,7 +240,7 @@ public SourceMicrosoftSharepointFileBasedStreamConfig withInputSchema(String inp /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public SourceMicrosoftSharepointFileBasedStreamConfig withInputSchema(Optional inputSchema) { + public SourceMicrosoftSharepointFileBasedStreamConfig withInputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -267,7 +267,7 @@ public SourceMicrosoftSharepointFileBasedStreamConfig withRecentNFilesToReadForS /** * The number of resent files which will be used to discover the schema for this stream. */ - public SourceMicrosoftSharepointFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + public SourceMicrosoftSharepointFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; return this; @@ -285,7 +285,7 @@ public SourceMicrosoftSharepointFileBasedStreamConfig withSchemaless(boolean sch /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public SourceMicrosoftSharepointFileBasedStreamConfig withSchemaless(Optional schemaless) { + public SourceMicrosoftSharepointFileBasedStreamConfig withSchemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -319,19 +319,19 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointFileBasedStreamConfig other = (SourceMicrosoftSharepointFileBasedStreamConfig) o; return - java.util.Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.globs, other.globs) && - java.util.Objects.deepEquals(this.inputSchema, other.inputSchema) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.recentNFilesToReadForSchemaDiscovery, other.recentNFilesToReadForSchemaDiscovery) && - java.util.Objects.deepEquals(this.schemaless, other.schemaless) && - java.util.Objects.deepEquals(this.validationPolicy, other.validationPolicy); + Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.globs, other.globs) && + Objects.deepEquals(this.inputSchema, other.inputSchema) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.recentNFilesToReadForSchemaDiscovery, other.recentNFilesToReadForSchemaDiscovery) && + Objects.deepEquals(this.schemaless, other.schemaless) && + Objects.deepEquals(this.validationPolicy, other.validationPolicy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( daysToSyncIfHistoryIsFull, format, globs, @@ -357,19 +357,19 @@ public String toString() { public final static class Builder { - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; private SourceMicrosoftSharepointFormat format; - private Optional> globs = Optional.empty(); + private Optional> globs = Optional.empty(); - private Optional inputSchema = Optional.empty(); + private Optional inputSchema = Optional.empty(); private String name; - private Optional recentNFilesToReadForSchemaDiscovery = Optional.empty(); + private Optional recentNFilesToReadForSchemaDiscovery = Optional.empty(); - private Optional schemaless; + private Optional schemaless; private Optional validationPolicy; @@ -389,7 +389,7 @@ public Builder daysToSyncIfHistoryIsFull(long daysToSyncIfHistoryIsFull) { /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -407,7 +407,7 @@ public Builder format(SourceMicrosoftSharepointFormat format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(java.util.List globs) { + public Builder globs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -416,7 +416,7 @@ public Builder globs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(Optional> globs) { + public Builder globs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -434,7 +434,7 @@ public Builder inputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public Builder inputSchema(Optional inputSchema) { + public Builder inputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -461,7 +461,7 @@ public Builder recentNFilesToReadForSchemaDiscovery(long recentNFilesToReadForSc /** * The number of resent files which will be used to discover the schema for this stream. */ - public Builder recentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + public Builder recentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; return this; @@ -479,7 +479,7 @@ public Builder schemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public Builder schemaless(Optional schemaless) { + public Builder schemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -512,8 +512,7 @@ public SourceMicrosoftSharepointFileBasedStreamConfig build() { } if (validationPolicy == null) { validationPolicy = _SINGLETON_VALUE_ValidationPolicy.value(); - } - return new SourceMicrosoftSharepointFileBasedStreamConfig( + } return new SourceMicrosoftSharepointFileBasedStreamConfig( daysToSyncIfHistoryIsFull, format, globs, @@ -524,17 +523,17 @@ public SourceMicrosoftSharepointFileBasedStreamConfig build() { validationPolicy); } - private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = + private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = new LazySingletonValue<>( "days_to_sync_if_history_is_full", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = + private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = new LazySingletonValue<>( "schemaless", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_ValidationPolicy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFiletype.java index 4ce087058..dc4e61841 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointFiletype { AVRO("avro"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFormat.java index 4b799adcc..8642045a6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFormat.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMicrosoftSharepointFormat - The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMicrosoftSharepointFormat._Deserializer.class) public class SourceMicrosoftSharepointFormat { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMicrosoftSharepointFormat(TypedObject value) { @@ -68,12 +65,12 @@ public static SourceMicrosoftSharepointFormat of(SourceMicrosoftSharepointExcelF /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMicrosoftSharepointAvroFormat}
    • - *
    • {@code SourceMicrosoftSharepointCSVFormat}
    • - *
    • {@code SourceMicrosoftSharepointJsonlFormat}
    • - *
    • {@code SourceMicrosoftSharepointParquetFormat}
    • - *
    • {@code SourceMicrosoftSharepointUnstructuredDocumentFormat}
    • - *
    • {@code SourceMicrosoftSharepointExcelFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointAvroFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointCSVFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointJsonlFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointParquetFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointUnstructuredDocumentFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointExcelFormat}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -100,25 +97,25 @@ public boolean equals(java.lang.Object o) { return false; } SourceMicrosoftSharepointFormat other = (SourceMicrosoftSharepointFormat) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMicrosoftSharepointFormat.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMicrosoftSharepointFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFromCSV.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFromCSV.java index 5a6be0846..0cc5ef09f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFromCSV.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointFromCSV.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftSharepointFromCSV { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointFromCSV other = (SourceMicrosoftSharepointFromCSV) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointHeaderDefinitionType.java index af4cc2682..60d927c77 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointHeaderDefinitionType { FROM_CSV("From CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointJsonlFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointJsonlFormat.java index 3f7a924c4..4c0810bda 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointJsonlFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointJsonlFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftSharepointJsonlFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointJsonlFormat other = (SourceMicrosoftSharepointJsonlFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointLocal.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointLocal.java index 6faf06509..42b579f5a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointLocal.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointLocal.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceMicrosoftSharepointLocal - Process files locally, supporting `fast` and `ocr` modes. This is the default option. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointLocal other = (SourceMicrosoftSharepointLocal) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.java index 4298bfe02..113efe97d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMicrosoftSharepoint.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointMicrosoftSharepoint { MICROSOFT_SHAREPOINT("microsoft-sharepoint"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMode.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMode.java index 8939ee356..e28544319 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointMode { LOCAL("local"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParquetFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParquetFormat.java index e98b22ea9..6b37f37b0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParquetFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParquetFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftSharepointParquetFormat { /** @@ -26,7 +28,7 @@ public class SourceMicrosoftSharepointParquetFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("decimal_as_float") - private Optional decimalAsFloat; + private Optional decimalAsFloat; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceMicrosoftSharepointParquetFormat { @JsonCreator public SourceMicrosoftSharepointParquetFormat( - @JsonProperty("decimal_as_float") Optional decimalAsFloat) { + @JsonProperty("decimal_as_float") Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceMicrosoftSharepointParquetFormat() { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional decimalAsFloat() { - return (Optional) decimalAsFloat; + return decimalAsFloat; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceMicrosoftSharepointParquetFormat withDecimalAsFloat(boolean decimal /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public SourceMicrosoftSharepointParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { + public SourceMicrosoftSharepointParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointParquetFormat other = (SourceMicrosoftSharepointParquetFormat) o; return - java.util.Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( decimalAsFloat, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional decimalAsFloat; + private Optional decimalAsFloat; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder decimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public Builder decimalAsFloat(Optional decimalAsFloat) { + public Builder decimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -138,16 +139,15 @@ public Builder decimalAsFloat(Optional decimalAsFloat) { public SourceMicrosoftSharepointParquetFormat build() { if (decimalAsFloat == null) { decimalAsFloat = _SINGLETON_VALUE_DecimalAsFloat.value(); - } - return new SourceMicrosoftSharepointParquetFormat( + } return new SourceMicrosoftSharepointParquetFormat( decimalAsFloat); } - private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = + private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = new LazySingletonValue<>( "decimal_as_float", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParsingStrategy.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParsingStrategy.java index 7041fea9f..fd80cafae 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParsingStrategy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointParsingStrategy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMicrosoftSharepointParsingStrategy - The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointProcessing.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointProcessing.java index 244cc949a..38c982ec6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointProcessing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointProcessing.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMicrosoftSharepointProcessing - Processing configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMicrosoftSharepointProcessing._Deserializer.class) public class SourceMicrosoftSharepointProcessing { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMicrosoftSharepointProcessing(TypedObject value) { @@ -43,7 +40,7 @@ public static SourceMicrosoftSharepointProcessing of(SourceMicrosoftSharepointLo /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMicrosoftSharepointLocal}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMicrosoftSharepointLocal}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -70,20 +67,20 @@ public boolean equals(java.lang.Object o) { return false; } SourceMicrosoftSharepointProcessing other = (SourceMicrosoftSharepointProcessing) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMicrosoftSharepointProcessing.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMicrosoftSharepointProcessing.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasAuthType.java index bb6329c3a..d515c74f4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointSchemasAuthType { SERVICE("Service"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasFiletype.java index 1f6ab2d9c..1800f2018 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointSchemasFiletype { CSV("csv"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.java index a56d0cf3e..8ea168ed1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointSchemasHeaderDefinitionType { AUTOGENERATED("Autogenerated"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.java index 59d772107..44df5e9db 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointSchemasStreamsFiletype { JSONL("jsonl"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.java index 930eacda4..6ce4e8889 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointSchemasStreamsFormatFiletype { PARQUET("parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.java index bfae2ac55..85db7333c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointSchemasStreamsFormatFormat6Filetype { EXCEL("excel"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.java index bee73abde..344c62419 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype { UNSTRUCTURED("unstructured"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType.java index 46ba3aefb..37ba85a91 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType { USER_PROVIDED("User Provided"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSearchScope.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSearchScope.java index 9b16f56e8..0ba67096e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSearchScope.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointSearchScope.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMicrosoftSharepointSearchScope - Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.java index d31590838..e1b414efe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointServiceKeyAuthentication.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceMicrosoftSharepointServiceKeyAuthentication - ServiceCredentials class for service key authentication. * This class is structured similarly to OAuthCredentials but for a different authentication method. @@ -158,16 +159,16 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointServiceKeyAuthentication other = (SourceMicrosoftSharepointServiceKeyAuthentication) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.tenantId, other.tenantId) && - java.util.Objects.deepEquals(this.userPrincipalName, other.userPrincipalName); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.tenantId, other.tenantId) && + Objects.deepEquals(this.userPrincipalName, other.userPrincipalName); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.java index 134b80740..ab5fbfd02 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUnstructuredDocumentFormat.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceMicrosoftSharepointUnstructuredDocumentFormat - Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. */ @@ -40,7 +42,7 @@ public class SourceMicrosoftSharepointUnstructuredDocumentFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_unprocessable_files") - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; /** * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf @@ -52,7 +54,7 @@ public class SourceMicrosoftSharepointUnstructuredDocumentFormat { @JsonCreator public SourceMicrosoftSharepointUnstructuredDocumentFormat( @JsonProperty("processing") Optional processing, - @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, + @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, @JsonProperty("strategy") Optional strategy) { Utils.checkNotNull(processing, "processing"); Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); @@ -85,10 +87,9 @@ public Optional processing() { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipUnprocessableFiles() { - return (Optional) skipUnprocessableFiles; + return skipUnprocessableFiles; } /** @@ -134,7 +135,7 @@ public SourceMicrosoftSharepointUnstructuredDocumentFormat withSkipUnprocessable /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public SourceMicrosoftSharepointUnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { + public SourceMicrosoftSharepointUnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -168,15 +169,15 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointUnstructuredDocumentFormat other = (SourceMicrosoftSharepointUnstructuredDocumentFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.processing, other.processing) && - java.util.Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && - java.util.Objects.deepEquals(this.strategy, other.strategy); + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.processing, other.processing) && + Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && + Objects.deepEquals(this.strategy, other.strategy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype, processing, skipUnprocessableFiles, @@ -196,7 +197,7 @@ public final static class Builder { private Optional processing = Optional.empty(); - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; private Optional strategy; @@ -234,7 +235,7 @@ public Builder skipUnprocessableFiles(boolean skipUnprocessableFiles) { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { + public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -264,8 +265,7 @@ public SourceMicrosoftSharepointUnstructuredDocumentFormat build() { } if (strategy == null) { strategy = _SINGLETON_VALUE_Strategy.value(); - } - return new SourceMicrosoftSharepointUnstructuredDocumentFormat( + } return new SourceMicrosoftSharepointUnstructuredDocumentFormat( processing, skipUnprocessableFiles, strategy); @@ -277,11 +277,11 @@ public SourceMicrosoftSharepointUnstructuredDocumentFormat build() { "\"unstructured\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = new LazySingletonValue<>( "skip_unprocessable_files", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Strategy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUserProvided.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUserProvided.java index 21310d9a8..3fd1102bf 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUserProvided.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointUserProvided.java @@ -1,31 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftSharepointUserProvided { /** * The column names that will be used while emitting the CSV records */ @JsonProperty("column_names") - private java.util.List columnNames; + private List columnNames; @JsonInclude(Include.NON_ABSENT) @JsonProperty("header_definition_type") @@ -33,7 +35,7 @@ public class SourceMicrosoftSharepointUserProvided { @JsonCreator public SourceMicrosoftSharepointUserProvided( - @JsonProperty("column_names") java.util.List columnNames) { + @JsonProperty("column_names") List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); @@ -43,7 +45,7 @@ public SourceMicrosoftSharepointUserProvided( * The column names that will be used while emitting the CSV records */ @JsonIgnore - public java.util.List columnNames() { + public List columnNames() { return columnNames; } @@ -60,7 +62,7 @@ public final static Builder builder() { /** * The column names that will be used while emitting the CSV records */ - public SourceMicrosoftSharepointUserProvided withColumnNames(java.util.List columnNames) { + public SourceMicrosoftSharepointUserProvided withColumnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; @@ -76,13 +78,13 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftSharepointUserProvided other = (SourceMicrosoftSharepointUserProvided) o; return - java.util.Objects.deepEquals(this.columnNames, other.columnNames) && - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.columnNames, other.columnNames) && + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( columnNames, headerDefinitionType); } @@ -96,7 +98,7 @@ public String toString() { public final static class Builder { - private java.util.List columnNames; + private List columnNames; private Builder() { // force use of static builder() method @@ -105,7 +107,7 @@ private Builder() { /** * The column names that will be used while emitting the CSV records */ - public Builder columnNames(java.util.List columnNames) { + public Builder columnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointValidationPolicy.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointValidationPolicy.java index a4ebd17d1..5d32d22e3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointValidationPolicy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftSharepointValidationPolicy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMicrosoftSharepointValidationPolicy - The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java index 656edb775..967e98272 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeams.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMicrosoftTeams { /** @@ -116,14 +117,14 @@ public boolean equals(java.lang.Object o) { } SourceMicrosoftTeams other = (SourceMicrosoftTeams) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.period, other.period) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.period, other.period) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, period, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthType.java index 56817f133..72a742163 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftTeamsAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthenticationMechanism.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthenticationMechanism.java index d50e0695a..34e307c6c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthenticationMechanism.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsAuthenticationMechanism.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMicrosoftTeamsAuthenticationMechanism - Choose how to authenticate to Microsoft @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMicrosoftTeamsAuthenticationMechanism._Deserializer.class) public class SourceMicrosoftTeamsAuthenticationMechanism { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMicrosoftTeamsAuthenticationMechanism(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceMicrosoftTeamsAuthenticationMechanism of(AuthenticateViaMicr /** * Returns an instance of one of these types: *

      - *
    • {@code AuthenticateViaMicrosoftOAuth20}
    • - *
    • {@code AuthenticateViaMicrosoft}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaMicrosoftOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaMicrosoft}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceMicrosoftTeamsAuthenticationMechanism other = (SourceMicrosoftTeamsAuthenticationMechanism) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMicrosoftTeamsAuthenticationMechanism.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMicrosoftTeamsAuthenticationMechanism.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeams.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeams.java index 5e08fadba..639e87af3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeams.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsMicrosoftTeams.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftTeamsMicrosoftTeams { MICROSOFT_TEAMS("microsoft-teams"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsSchemasAuthType.java index 1557cc75f..ef9749066 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMicrosoftTeamsSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMicrosoftTeamsSchemasAuthType { TOKEN("Token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMiro.java b/src/main/java/com/airbyte/api/models/shared/SourceMiro.java new file mode 100644 index 000000000..76032938e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMiro.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceMiro { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Miro sourceType; + + @JsonCreator + public SourceMiro( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Miro sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceMiro withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMiro other = (SourceMiro) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceMiro.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceMiro build() { + return new SourceMiro( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"miro\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMissive.java b/src/main/java/com/airbyte/api/models/shared/SourceMissive.java new file mode 100644 index 000000000..a90ad1736 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMissive.java @@ -0,0 +1,287 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceMissive { + + @JsonProperty("api_key") + private String apiKey; + + /** + * Kind parameter for `contact_groups` stream + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("kind") + private Optional kind; + + /** + * Max records per page limit + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("limit") + private Optional limit; + + @JsonProperty("sourceType") + private Missive sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceMissive( + @JsonProperty("api_key") String apiKey, + @JsonProperty("kind") Optional kind, + @JsonProperty("limit") Optional limit, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(kind, "kind"); + Utils.checkNotNull(limit, "limit"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.kind = kind; + this.limit = limit; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceMissive( + String apiKey, + OffsetDateTime startDate) { + this(apiKey, Optional.empty(), Optional.empty(), startDate); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Kind parameter for `contact_groups` stream + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional kind() { + return (Optional) kind; + } + + /** + * Max records per page limit + */ + @JsonIgnore + public Optional limit() { + return limit; + } + + @JsonIgnore + public Missive sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceMissive withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Kind parameter for `contact_groups` stream + */ + public SourceMissive withKind(Kind kind) { + Utils.checkNotNull(kind, "kind"); + this.kind = Optional.ofNullable(kind); + return this; + } + + /** + * Kind parameter for `contact_groups` stream + */ + public SourceMissive withKind(Optional kind) { + Utils.checkNotNull(kind, "kind"); + this.kind = kind; + return this; + } + + /** + * Max records per page limit + */ + public SourceMissive withLimit(String limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = Optional.ofNullable(limit); + return this; + } + + /** + * Max records per page limit + */ + public SourceMissive withLimit(Optional limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = limit; + return this; + } + + public SourceMissive withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMissive other = (SourceMissive) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.kind, other.kind) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + kind, + limit, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceMissive.class, + "apiKey", apiKey, + "kind", kind, + "limit", limit, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional kind; + + private Optional limit; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Kind parameter for `contact_groups` stream + */ + public Builder kind(Kind kind) { + Utils.checkNotNull(kind, "kind"); + this.kind = Optional.ofNullable(kind); + return this; + } + + /** + * Kind parameter for `contact_groups` stream + */ + public Builder kind(Optional kind) { + Utils.checkNotNull(kind, "kind"); + this.kind = kind; + return this; + } + + /** + * Max records per page limit + */ + public Builder limit(String limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = Optional.ofNullable(limit); + return this; + } + + /** + * Max records per page limit + */ + public Builder limit(Optional limit) { + Utils.checkNotNull(limit, "limit"); + this.limit = limit; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceMissive build() { + if (kind == null) { + kind = _SINGLETON_VALUE_Kind.value(); + } + if (limit == null) { + limit = _SINGLETON_VALUE_Limit.value(); + } return new SourceMissive( + apiKey, + kind, + limit, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Kind = + new LazySingletonValue<>( + "kind", + "\"group\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + new LazySingletonValue<>( + "limit", + "\"50\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"missive\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMixmax.java b/src/main/java/com/airbyte/api/models/shared/SourceMixmax.java new file mode 100644 index 000000000..c3d36d584 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMixmax.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceMixmax { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Mixmax sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceMixmax( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Mixmax sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceMixmax withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceMixmax withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMixmax other = (SourceMixmax) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceMixmax.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceMixmax build() { + return new SourceMixmax( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"mixmax\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java b/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java index 95711ea3e..edf2a1d2c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java @@ -1,27 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceMixpanel { /** @@ -29,7 +30,7 @@ public class SourceMixpanel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attribution_window") - private Optional attributionWindow; + private Optional attributionWindow; /** * Choose how to authenticate to Mixpanel @@ -42,28 +43,28 @@ public class SourceMixpanel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("date_window_size") - private Optional dateWindowSize; + private Optional dateWindowSize; /** * The date in the format YYYY-MM-DD. Any data after this date will not be replicated. Left empty to always sync to most recent date */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * The number of records to fetch per request for the engage stream. Default is 1000. If you are experiencing long sync times with this stream, try increasing this value. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("page_size") - private Optional pageSize; + private Optional pageSize; /** * Time zone in which integer date times are stored. The project timezone may be found in the project settings in the <a href="https://help.mixpanel.com/hc/en-us/articles/115004547203-Manage-Timezones-for-Projects-in-Mixpanel">Mixpanel console</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("project_timezone") - private Optional projectTimezone; + private Optional projectTimezone; /** * The region of mixpanel domain instance either US or EU. @@ -77,7 +78,7 @@ public class SourceMixpanel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("select_properties_by_default") - private Optional selectPropertiesByDefault; + private Optional selectPropertiesByDefault; @JsonProperty("sourceType") private Mixpanel sourceType; @@ -87,19 +88,19 @@ public class SourceMixpanel { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceMixpanel( - @JsonProperty("attribution_window") Optional attributionWindow, + @JsonProperty("attribution_window") Optional attributionWindow, @JsonProperty("credentials") AuthenticationWildcard credentials, - @JsonProperty("date_window_size") Optional dateWindowSize, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("page_size") Optional pageSize, - @JsonProperty("project_timezone") Optional projectTimezone, + @JsonProperty("date_window_size") Optional dateWindowSize, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("page_size") Optional pageSize, + @JsonProperty("project_timezone") Optional projectTimezone, @JsonProperty("region") Optional region, - @JsonProperty("select_properties_by_default") Optional selectPropertiesByDefault, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("select_properties_by_default") Optional selectPropertiesByDefault, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(attributionWindow, "attributionWindow"); Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(dateWindowSize, "dateWindowSize"); @@ -129,10 +130,9 @@ public SourceMixpanel( /** * A period of time for attributing results to ads and the lookback period after those actions occur during which ad results are counted. Default attribution window is 5 days. (This value should be non-negative integer) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional attributionWindow() { - return (Optional) attributionWindow; + return attributionWindow; } /** @@ -146,37 +146,33 @@ public AuthenticationWildcard credentials() { /** * Defines window size in days, that used to slice through data. You can reduce it, if amount of data in each window is too big for your environment. (This value should be positive integer) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dateWindowSize() { - return (Optional) dateWindowSize; + return dateWindowSize; } /** * The date in the format YYYY-MM-DD. Any data after this date will not be replicated. Left empty to always sync to most recent date */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** * The number of records to fetch per request for the engage stream. Default is 1000. If you are experiencing long sync times with this stream, try increasing this value. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional pageSize() { - return (Optional) pageSize; + return pageSize; } /** * Time zone in which integer date times are stored. The project timezone may be found in the project settings in the <a href="https://help.mixpanel.com/hc/en-us/articles/115004547203-Manage-Timezones-for-Projects-in-Mixpanel">Mixpanel console</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional projectTimezone() { - return (Optional) projectTimezone; + return projectTimezone; } /** @@ -191,10 +187,9 @@ public Optional region() { /** * Setting this config parameter to TRUE ensures that new properties on events and engage records are captured. Otherwise new properties will be ignored. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional selectPropertiesByDefault() { - return (Optional) selectPropertiesByDefault; + return selectPropertiesByDefault; } @JsonIgnore @@ -205,10 +200,9 @@ public Mixpanel sourceType() { /** * The date in the format YYYY-MM-DD. Any data before this date will not be replicated. If this option is not set, the connector will replicate data from up to one year ago by default. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -227,7 +221,7 @@ public SourceMixpanel withAttributionWindow(long attributionWindow) { /** * A period of time for attributing results to ads and the lookback period after those actions occur during which ad results are counted. Default attribution window is 5 days. (This value should be non-negative integer) */ - public SourceMixpanel withAttributionWindow(Optional attributionWindow) { + public SourceMixpanel withAttributionWindow(Optional attributionWindow) { Utils.checkNotNull(attributionWindow, "attributionWindow"); this.attributionWindow = attributionWindow; return this; @@ -254,7 +248,7 @@ public SourceMixpanel withDateWindowSize(long dateWindowSize) { /** * Defines window size in days, that used to slice through data. You can reduce it, if amount of data in each window is too big for your environment. (This value should be positive integer) */ - public SourceMixpanel withDateWindowSize(Optional dateWindowSize) { + public SourceMixpanel withDateWindowSize(Optional dateWindowSize) { Utils.checkNotNull(dateWindowSize, "dateWindowSize"); this.dateWindowSize = dateWindowSize; return this; @@ -272,7 +266,7 @@ public SourceMixpanel withEndDate(OffsetDateTime endDate) { /** * The date in the format YYYY-MM-DD. Any data after this date will not be replicated. Left empty to always sync to most recent date */ - public SourceMixpanel withEndDate(Optional endDate) { + public SourceMixpanel withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -290,7 +284,7 @@ public SourceMixpanel withPageSize(long pageSize) { /** * The number of records to fetch per request for the engage stream. Default is 1000. If you are experiencing long sync times with this stream, try increasing this value. */ - public SourceMixpanel withPageSize(Optional pageSize) { + public SourceMixpanel withPageSize(Optional pageSize) { Utils.checkNotNull(pageSize, "pageSize"); this.pageSize = pageSize; return this; @@ -308,7 +302,7 @@ public SourceMixpanel withProjectTimezone(String projectTimezone) { /** * Time zone in which integer date times are stored. The project timezone may be found in the project settings in the <a href="https://help.mixpanel.com/hc/en-us/articles/115004547203-Manage-Timezones-for-Projects-in-Mixpanel">Mixpanel console</a>. */ - public SourceMixpanel withProjectTimezone(Optional projectTimezone) { + public SourceMixpanel withProjectTimezone(Optional projectTimezone) { Utils.checkNotNull(projectTimezone, "projectTimezone"); this.projectTimezone = projectTimezone; return this; @@ -344,7 +338,7 @@ public SourceMixpanel withSelectPropertiesByDefault(boolean selectPropertiesByDe /** * Setting this config parameter to TRUE ensures that new properties on events and engage records are captured. Otherwise new properties will be ignored. */ - public SourceMixpanel withSelectPropertiesByDefault(Optional selectPropertiesByDefault) { + public SourceMixpanel withSelectPropertiesByDefault(Optional selectPropertiesByDefault) { Utils.checkNotNull(selectPropertiesByDefault, "selectPropertiesByDefault"); this.selectPropertiesByDefault = selectPropertiesByDefault; return this; @@ -362,7 +356,7 @@ public SourceMixpanel withStartDate(OffsetDateTime startDate) { /** * The date in the format YYYY-MM-DD. Any data before this date will not be replicated. If this option is not set, the connector will replicate data from up to one year ago by default. */ - public SourceMixpanel withStartDate(Optional startDate) { + public SourceMixpanel withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -378,21 +372,21 @@ public boolean equals(java.lang.Object o) { } SourceMixpanel other = (SourceMixpanel) o; return - java.util.Objects.deepEquals(this.attributionWindow, other.attributionWindow) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.dateWindowSize, other.dateWindowSize) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.pageSize, other.pageSize) && - java.util.Objects.deepEquals(this.projectTimezone, other.projectTimezone) && - java.util.Objects.deepEquals(this.region, other.region) && - java.util.Objects.deepEquals(this.selectPropertiesByDefault, other.selectPropertiesByDefault) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.attributionWindow, other.attributionWindow) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.dateWindowSize, other.dateWindowSize) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.pageSize, other.pageSize) && + Objects.deepEquals(this.projectTimezone, other.projectTimezone) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.selectPropertiesByDefault, other.selectPropertiesByDefault) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( attributionWindow, credentials, dateWindowSize, @@ -422,23 +416,23 @@ public String toString() { public final static class Builder { - private Optional attributionWindow; + private Optional attributionWindow; private AuthenticationWildcard credentials; - private Optional dateWindowSize; + private Optional dateWindowSize; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional pageSize; + private Optional pageSize; - private Optional projectTimezone; + private Optional projectTimezone; private Optional region; - private Optional selectPropertiesByDefault; + private Optional selectPropertiesByDefault; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -456,7 +450,7 @@ public Builder attributionWindow(long attributionWindow) { /** * A period of time for attributing results to ads and the lookback period after those actions occur during which ad results are counted. Default attribution window is 5 days. (This value should be non-negative integer) */ - public Builder attributionWindow(Optional attributionWindow) { + public Builder attributionWindow(Optional attributionWindow) { Utils.checkNotNull(attributionWindow, "attributionWindow"); this.attributionWindow = attributionWindow; return this; @@ -483,7 +477,7 @@ public Builder dateWindowSize(long dateWindowSize) { /** * Defines window size in days, that used to slice through data. You can reduce it, if amount of data in each window is too big for your environment. (This value should be positive integer) */ - public Builder dateWindowSize(Optional dateWindowSize) { + public Builder dateWindowSize(Optional dateWindowSize) { Utils.checkNotNull(dateWindowSize, "dateWindowSize"); this.dateWindowSize = dateWindowSize; return this; @@ -501,7 +495,7 @@ public Builder endDate(OffsetDateTime endDate) { /** * The date in the format YYYY-MM-DD. Any data after this date will not be replicated. Left empty to always sync to most recent date */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -519,7 +513,7 @@ public Builder pageSize(long pageSize) { /** * The number of records to fetch per request for the engage stream. Default is 1000. If you are experiencing long sync times with this stream, try increasing this value. */ - public Builder pageSize(Optional pageSize) { + public Builder pageSize(Optional pageSize) { Utils.checkNotNull(pageSize, "pageSize"); this.pageSize = pageSize; return this; @@ -537,7 +531,7 @@ public Builder projectTimezone(String projectTimezone) { /** * Time zone in which integer date times are stored. The project timezone may be found in the project settings in the <a href="https://help.mixpanel.com/hc/en-us/articles/115004547203-Manage-Timezones-for-Projects-in-Mixpanel">Mixpanel console</a>. */ - public Builder projectTimezone(Optional projectTimezone) { + public Builder projectTimezone(Optional projectTimezone) { Utils.checkNotNull(projectTimezone, "projectTimezone"); this.projectTimezone = projectTimezone; return this; @@ -573,7 +567,7 @@ public Builder selectPropertiesByDefault(boolean selectPropertiesByDefault) { /** * Setting this config parameter to TRUE ensures that new properties on events and engage records are captured. Otherwise new properties will be ignored. */ - public Builder selectPropertiesByDefault(Optional selectPropertiesByDefault) { + public Builder selectPropertiesByDefault(Optional selectPropertiesByDefault) { Utils.checkNotNull(selectPropertiesByDefault, "selectPropertiesByDefault"); this.selectPropertiesByDefault = selectPropertiesByDefault; return this; @@ -591,7 +585,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date in the format YYYY-MM-DD. Any data before this date will not be replicated. If this option is not set, the connector will replicate data from up to one year ago by default. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -615,8 +609,7 @@ public SourceMixpanel build() { } if (selectPropertiesByDefault == null) { selectPropertiesByDefault = _SINGLETON_VALUE_SelectPropertiesByDefault.value(); - } - return new SourceMixpanel( + } return new SourceMixpanel( attributionWindow, credentials, dateWindowSize, @@ -628,29 +621,29 @@ public SourceMixpanel build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_AttributionWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_AttributionWindow = new LazySingletonValue<>( "attribution_window", "5", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DateWindowSize = + private static final LazySingletonValue> _SINGLETON_VALUE_DateWindowSize = new LazySingletonValue<>( "date_window_size", "30", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_PageSize = + private static final LazySingletonValue> _SINGLETON_VALUE_PageSize = new LazySingletonValue<>( "page_size", "1000", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ProjectTimezone = + private static final LazySingletonValue> _SINGLETON_VALUE_ProjectTimezone = new LazySingletonValue<>( "project_timezone", "\"US/Pacific\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Region = new LazySingletonValue<>( @@ -658,11 +651,11 @@ public SourceMixpanel build() { "\"US\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SelectPropertiesByDefault = + private static final LazySingletonValue> _SINGLETON_VALUE_SelectPropertiesByDefault = new LazySingletonValue<>( "select_properties_by_default", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMixpanelOptionTitle.java b/src/main/java/com/airbyte/api/models/shared/SourceMixpanelOptionTitle.java index 30f695721..729a65fba 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMixpanelOptionTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMixpanelOptionTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMixpanelOptionTitle { SERVICE_ACCOUNT("Service Account"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegion.java b/src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegion.java index e36c9b895..29aade0f8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegion.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMixpanelRegion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMixpanelRegion - The region of mixpanel domain instance either US or EU. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMixpanelSchemasOptionTitle.java b/src/main/java/com/airbyte/api/models/shared/SourceMixpanelSchemasOptionTitle.java index ba1345c24..c19703587 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMixpanelSchemasOptionTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMixpanelSchemasOptionTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMixpanelSchemasOptionTitle { PROJECT_SECRET("Project Secret"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMode.java b/src/main/java/com/airbyte/api/models/shared/SourceMode.java new file mode 100644 index 000000000..fb318a12a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMode.java @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceMode { + + /** + * API secret to use as the password for Basic Authentication. + */ + @JsonProperty("api_secret") + private String apiSecret; + + /** + * API token to use as the username for Basic Authentication. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private Mode sourceType; + + @JsonProperty("workspace") + private String workspace; + + @JsonCreator + public SourceMode( + @JsonProperty("api_secret") String apiSecret, + @JsonProperty("api_token") String apiToken, + @JsonProperty("workspace") String workspace) { + Utils.checkNotNull(apiSecret, "apiSecret"); + Utils.checkNotNull(apiToken, "apiToken"); + Utils.checkNotNull(workspace, "workspace"); + this.apiSecret = apiSecret; + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.workspace = workspace; + } + + /** + * API secret to use as the password for Basic Authentication. + */ + @JsonIgnore + public String apiSecret() { + return apiSecret; + } + + /** + * API token to use as the username for Basic Authentication. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public Mode sourceType() { + return sourceType; + } + + @JsonIgnore + public String workspace() { + return workspace; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API secret to use as the password for Basic Authentication. + */ + public SourceMode withApiSecret(String apiSecret) { + Utils.checkNotNull(apiSecret, "apiSecret"); + this.apiSecret = apiSecret; + return this; + } + + /** + * API token to use as the username for Basic Authentication. + */ + public SourceMode withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceMode withWorkspace(String workspace) { + Utils.checkNotNull(workspace, "workspace"); + this.workspace = workspace; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMode other = (SourceMode) o; + return + Objects.deepEquals(this.apiSecret, other.apiSecret) && + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.workspace, other.workspace); + } + + @Override + public int hashCode() { + return Objects.hash( + apiSecret, + apiToken, + sourceType, + workspace); + } + + @Override + public String toString() { + return Utils.toString(SourceMode.class, + "apiSecret", apiSecret, + "apiToken", apiToken, + "sourceType", sourceType, + "workspace", workspace); + } + + public final static class Builder { + + private String apiSecret; + + private String apiToken; + + private String workspace; + + private Builder() { + // force use of static builder() method + } + + /** + * API secret to use as the password for Basic Authentication. + */ + public Builder apiSecret(String apiSecret) { + Utils.checkNotNull(apiSecret, "apiSecret"); + this.apiSecret = apiSecret; + return this; + } + + /** + * API token to use as the username for Basic Authentication. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public Builder workspace(String workspace) { + Utils.checkNotNull(workspace, "workspace"); + this.workspace = workspace; + return this; + } + + public SourceMode build() { + return new SourceMode( + apiSecret, + apiToken, + workspace); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"mode\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMonday.java b/src/main/java/com/airbyte/api/models/shared/SourceMonday.java index 4e147cf0e..366e05d74 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMonday.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMonday.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMonday { @JsonInclude(Include.NON_ABSENT) @@ -77,13 +78,13 @@ public boolean equals(java.lang.Object o) { } SourceMonday other = (SourceMonday) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMondayAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMondayAuthType.java index 4a40a20fe..a8f30cffc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMondayAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMondayAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMondayAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMondayAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMondayAuthorizationMethod.java index cd9fc7e77..8ba2e0549 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMondayAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMondayAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceMondayAuthorizationMethod._Deserializer.class) public class SourceMondayAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMondayAuthorizationMethod(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceMondayAuthorizationMethod of(APIToken value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMondayOAuth20}
    • - *
    • {@code APIToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMondayOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.APIToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceMondayAuthorizationMethod other = (SourceMondayAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMondayAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMondayAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMondayMonday.java b/src/main/java/com/airbyte/api/models/shared/SourceMondayMonday.java index 36813253c..97bb1883c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMondayMonday.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMondayMonday.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMondayMonday { MONDAY("monday"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMondayOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceMondayOAuth20.java index ef955cff5..deea7805f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMondayOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMondayOAuth20.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceMondayOAuth20 { /** @@ -47,14 +47,14 @@ public class SourceMondayOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("subdomain") - private Optional subdomain; + private Optional subdomain; @JsonCreator public SourceMondayOAuth20( @JsonProperty("access_token") String accessToken, @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, - @JsonProperty("subdomain") Optional subdomain) { + @JsonProperty("subdomain") Optional subdomain) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -105,10 +105,9 @@ public String clientSecret() { /** * Slug/subdomain of the account, or the first part of the URL that comes before .monday.com */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional subdomain() { - return (Optional) subdomain; + return subdomain; } public final static Builder builder() { @@ -154,7 +153,7 @@ public SourceMondayOAuth20 withSubdomain(String subdomain) { /** * Slug/subdomain of the account, or the first part of the URL that comes before .monday.com */ - public SourceMondayOAuth20 withSubdomain(Optional subdomain) { + public SourceMondayOAuth20 withSubdomain(Optional subdomain) { Utils.checkNotNull(subdomain, "subdomain"); this.subdomain = subdomain; return this; @@ -170,16 +169,16 @@ public boolean equals(java.lang.Object o) { } SourceMondayOAuth20 other = (SourceMondayOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.subdomain, other.subdomain); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.subdomain, other.subdomain); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, @@ -205,7 +204,7 @@ public final static class Builder { private String clientSecret; - private Optional subdomain; + private Optional subdomain; private Builder() { // force use of static builder() method @@ -250,7 +249,7 @@ public Builder subdomain(String subdomain) { /** * Slug/subdomain of the account, or the first part of the URL that comes before .monday.com */ - public Builder subdomain(Optional subdomain) { + public Builder subdomain(Optional subdomain) { Utils.checkNotNull(subdomain, "subdomain"); this.subdomain = subdomain; return this; @@ -259,8 +258,7 @@ public Builder subdomain(Optional subdomain) { public SourceMondayOAuth20 build() { if (subdomain == null) { subdomain = _SINGLETON_VALUE_Subdomain.value(); - } - return new SourceMondayOAuth20( + } return new SourceMondayOAuth20( accessToken, clientId, clientSecret, @@ -273,11 +271,11 @@ public SourceMondayOAuth20 build() { "\"oauth2.0\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Subdomain = + private static final LazySingletonValue> _SINGLETON_VALUE_Subdomain = new LazySingletonValue<>( "subdomain", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMondaySchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceMondaySchemasAuthType.java index 045cfafd3..4ce1e6650 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMondaySchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMondaySchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMondaySchemasAuthType { API_TOKEN("api_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java b/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java index a9d33eb4f..37dfe4f10 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2.java @@ -1,52 +1,54 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMongodbV2 { /** * Configures the MongoDB cluster type. */ @JsonProperty("database_config") - private java.lang.Object databaseConfig; + private ClusterType databaseConfig; /** * The maximum number of documents to sample when attempting to discover the unique fields for a collection. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("discover_sample_size") - private Optional discoverSampleSize; + private Optional discoverSampleSize; /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("initial_load_timeout_hours") - private Optional initialLoadTimeoutHours; + private Optional initialLoadTimeoutHours; /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("initial_waiting_seconds") - private Optional initialWaitingSeconds; + private Optional initialWaitingSeconds; /** * Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. @@ -60,7 +62,7 @@ public class SourceMongodbV2 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("queue_size") - private Optional queueSize; + private Optional queueSize; @JsonProperty("sourceType") private MongodbV2 sourceType; @@ -74,12 +76,12 @@ public class SourceMongodbV2 { @JsonCreator public SourceMongodbV2( - @JsonProperty("database_config") java.lang.Object databaseConfig, - @JsonProperty("discover_sample_size") Optional discoverSampleSize, - @JsonProperty("initial_load_timeout_hours") Optional initialLoadTimeoutHours, - @JsonProperty("initial_waiting_seconds") Optional initialWaitingSeconds, + @JsonProperty("database_config") ClusterType databaseConfig, + @JsonProperty("discover_sample_size") Optional discoverSampleSize, + @JsonProperty("initial_load_timeout_hours") Optional initialLoadTimeoutHours, + @JsonProperty("initial_waiting_seconds") Optional initialWaitingSeconds, @JsonProperty("invalid_cdc_cursor_position_behavior") Optional invalidCdcCursorPositionBehavior, - @JsonProperty("queue_size") Optional queueSize, + @JsonProperty("queue_size") Optional queueSize, @JsonProperty("update_capture_mode") Optional updateCaptureMode) { Utils.checkNotNull(databaseConfig, "databaseConfig"); Utils.checkNotNull(discoverSampleSize, "discoverSampleSize"); @@ -99,7 +101,7 @@ public SourceMongodbV2( } public SourceMongodbV2( - java.lang.Object databaseConfig) { + ClusterType databaseConfig) { this(databaseConfig, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); } @@ -107,35 +109,32 @@ public SourceMongodbV2( * Configures the MongoDB cluster type. */ @JsonIgnore - public java.lang.Object databaseConfig() { + public ClusterType databaseConfig() { return databaseConfig; } /** * The maximum number of documents to sample when attempting to discover the unique fields for a collection. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional discoverSampleSize() { - return (Optional) discoverSampleSize; + return discoverSampleSize; } /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional initialLoadTimeoutHours() { - return (Optional) initialLoadTimeoutHours; + return initialLoadTimeoutHours; } /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional initialWaitingSeconds() { - return (Optional) initialWaitingSeconds; + return initialWaitingSeconds; } /** @@ -150,10 +149,9 @@ public Optional invalidCdcCursorPositionBeha /** * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional queueSize() { - return (Optional) queueSize; + return queueSize; } @JsonIgnore @@ -177,7 +175,7 @@ public final static Builder builder() { /** * Configures the MongoDB cluster type. */ - public SourceMongodbV2 withDatabaseConfig(java.lang.Object databaseConfig) { + public SourceMongodbV2 withDatabaseConfig(ClusterType databaseConfig) { Utils.checkNotNull(databaseConfig, "databaseConfig"); this.databaseConfig = databaseConfig; return this; @@ -195,7 +193,7 @@ public SourceMongodbV2 withDiscoverSampleSize(long discoverSampleSize) { /** * The maximum number of documents to sample when attempting to discover the unique fields for a collection. */ - public SourceMongodbV2 withDiscoverSampleSize(Optional discoverSampleSize) { + public SourceMongodbV2 withDiscoverSampleSize(Optional discoverSampleSize) { Utils.checkNotNull(discoverSampleSize, "discoverSampleSize"); this.discoverSampleSize = discoverSampleSize; return this; @@ -213,7 +211,7 @@ public SourceMongodbV2 withInitialLoadTimeoutHours(long initialLoadTimeoutHours) /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ - public SourceMongodbV2 withInitialLoadTimeoutHours(Optional initialLoadTimeoutHours) { + public SourceMongodbV2 withInitialLoadTimeoutHours(Optional initialLoadTimeoutHours) { Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); this.initialLoadTimeoutHours = initialLoadTimeoutHours; return this; @@ -231,7 +229,7 @@ public SourceMongodbV2 withInitialWaitingSeconds(long initialWaitingSeconds) { /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. */ - public SourceMongodbV2 withInitialWaitingSeconds(Optional initialWaitingSeconds) { + public SourceMongodbV2 withInitialWaitingSeconds(Optional initialWaitingSeconds) { Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); this.initialWaitingSeconds = initialWaitingSeconds; return this; @@ -267,7 +265,7 @@ public SourceMongodbV2 withQueueSize(long queueSize) { /** * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. */ - public SourceMongodbV2 withQueueSize(Optional queueSize) { + public SourceMongodbV2 withQueueSize(Optional queueSize) { Utils.checkNotNull(queueSize, "queueSize"); this.queueSize = queueSize; return this; @@ -301,19 +299,19 @@ public boolean equals(java.lang.Object o) { } SourceMongodbV2 other = (SourceMongodbV2) o; return - java.util.Objects.deepEquals(this.databaseConfig, other.databaseConfig) && - java.util.Objects.deepEquals(this.discoverSampleSize, other.discoverSampleSize) && - java.util.Objects.deepEquals(this.initialLoadTimeoutHours, other.initialLoadTimeoutHours) && - java.util.Objects.deepEquals(this.initialWaitingSeconds, other.initialWaitingSeconds) && - java.util.Objects.deepEquals(this.invalidCdcCursorPositionBehavior, other.invalidCdcCursorPositionBehavior) && - java.util.Objects.deepEquals(this.queueSize, other.queueSize) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.updateCaptureMode, other.updateCaptureMode); + Objects.deepEquals(this.databaseConfig, other.databaseConfig) && + Objects.deepEquals(this.discoverSampleSize, other.discoverSampleSize) && + Objects.deepEquals(this.initialLoadTimeoutHours, other.initialLoadTimeoutHours) && + Objects.deepEquals(this.initialWaitingSeconds, other.initialWaitingSeconds) && + Objects.deepEquals(this.invalidCdcCursorPositionBehavior, other.invalidCdcCursorPositionBehavior) && + Objects.deepEquals(this.queueSize, other.queueSize) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.updateCaptureMode, other.updateCaptureMode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( databaseConfig, discoverSampleSize, initialLoadTimeoutHours, @@ -339,17 +337,17 @@ public String toString() { public final static class Builder { - private java.lang.Object databaseConfig; + private ClusterType databaseConfig; - private Optional discoverSampleSize; + private Optional discoverSampleSize; - private Optional initialLoadTimeoutHours; + private Optional initialLoadTimeoutHours; - private Optional initialWaitingSeconds; + private Optional initialWaitingSeconds; private Optional invalidCdcCursorPositionBehavior; - private Optional queueSize; + private Optional queueSize; private Optional updateCaptureMode; @@ -360,7 +358,7 @@ private Builder() { /** * Configures the MongoDB cluster type. */ - public Builder databaseConfig(java.lang.Object databaseConfig) { + public Builder databaseConfig(ClusterType databaseConfig) { Utils.checkNotNull(databaseConfig, "databaseConfig"); this.databaseConfig = databaseConfig; return this; @@ -378,7 +376,7 @@ public Builder discoverSampleSize(long discoverSampleSize) { /** * The maximum number of documents to sample when attempting to discover the unique fields for a collection. */ - public Builder discoverSampleSize(Optional discoverSampleSize) { + public Builder discoverSampleSize(Optional discoverSampleSize) { Utils.checkNotNull(discoverSampleSize, "discoverSampleSize"); this.discoverSampleSize = discoverSampleSize; return this; @@ -396,7 +394,7 @@ public Builder initialLoadTimeoutHours(long initialLoadTimeoutHours) { /** * The amount of time an initial load is allowed to continue for before catching up on CDC logs. */ - public Builder initialLoadTimeoutHours(Optional initialLoadTimeoutHours) { + public Builder initialLoadTimeoutHours(Optional initialLoadTimeoutHours) { Utils.checkNotNull(initialLoadTimeoutHours, "initialLoadTimeoutHours"); this.initialLoadTimeoutHours = initialLoadTimeoutHours; return this; @@ -414,7 +412,7 @@ public Builder initialWaitingSeconds(long initialWaitingSeconds) { /** * The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. */ - public Builder initialWaitingSeconds(Optional initialWaitingSeconds) { + public Builder initialWaitingSeconds(Optional initialWaitingSeconds) { Utils.checkNotNull(initialWaitingSeconds, "initialWaitingSeconds"); this.initialWaitingSeconds = initialWaitingSeconds; return this; @@ -450,7 +448,7 @@ public Builder queueSize(long queueSize) { /** * The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. */ - public Builder queueSize(Optional queueSize) { + public Builder queueSize(Optional queueSize) { Utils.checkNotNull(queueSize, "queueSize"); this.queueSize = queueSize; return this; @@ -492,8 +490,7 @@ public SourceMongodbV2 build() { } if (updateCaptureMode == null) { updateCaptureMode = _SINGLETON_VALUE_UpdateCaptureMode.value(); - } - return new SourceMongodbV2( + } return new SourceMongodbV2( databaseConfig, discoverSampleSize, initialLoadTimeoutHours, @@ -503,23 +500,23 @@ public SourceMongodbV2 build() { updateCaptureMode); } - private static final LazySingletonValue> _SINGLETON_VALUE_DiscoverSampleSize = + private static final LazySingletonValue> _SINGLETON_VALUE_DiscoverSampleSize = new LazySingletonValue<>( "discover_sample_size", "10000", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_InitialLoadTimeoutHours = + private static final LazySingletonValue> _SINGLETON_VALUE_InitialLoadTimeoutHours = new LazySingletonValue<>( "initial_load_timeout_hours", "8", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_InitialWaitingSeconds = + private static final LazySingletonValue> _SINGLETON_VALUE_InitialWaitingSeconds = new LazySingletonValue<>( "initial_waiting_seconds", "300", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_InvalidCdcCursorPositionBehavior = new LazySingletonValue<>( @@ -527,11 +524,11 @@ public SourceMongodbV2 build() { "\"Fail sync\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_QueueSize = + private static final LazySingletonValue> _SINGLETON_VALUE_QueueSize = new LazySingletonValue<>( "queue_size", "10000", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2ClusterType.java b/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2ClusterType.java new file mode 100644 index 000000000..50d4ac28d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2ClusterType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceMongodbV2ClusterType { + ATLAS_REPLICA_SET("ATLAS_REPLICA_SET"); + + @JsonValue + private final String value; + + private SourceMongodbV2ClusterType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2SchemasClusterType.java b/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2SchemasClusterType.java new file mode 100644 index 000000000..8f1eef4e3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMongodbV2SchemasClusterType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceMongodbV2SchemasClusterType { + SELF_MANAGED_REPLICA_SET("SELF_MANAGED_REPLICA_SET"); + + @JsonValue + private final String value; + + private SourceMongodbV2SchemasClusterType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssql.java b/src/main/java/com/airbyte/api/models/shared/SourceMssql.java index 08c45260f..e25c331c9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssql.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssql.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceMssql { /** @@ -38,7 +41,7 @@ public class SourceMssql { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * The password associated with the username. @@ -64,7 +67,7 @@ public class SourceMssql { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemas") - private Optional> schemas; + private Optional> schemas; @JsonProperty("sourceType") private SourceMssqlMssql sourceType; @@ -93,11 +96,11 @@ public class SourceMssql { public SourceMssql( @JsonProperty("database") String database, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, @JsonProperty("password") String password, @JsonProperty("port") long port, @JsonProperty("replication_method") Optional replicationMethod, - @JsonProperty("schemas") Optional> schemas, + @JsonProperty("schemas") Optional> schemas, @JsonProperty("ssl_method") Optional sslMethod, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { @@ -152,10 +155,9 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** @@ -188,8 +190,8 @@ public Optional replicationMethod() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> schemas() { - return (Optional>) schemas; + public Optional> schemas() { + return (Optional>) schemas; } @JsonIgnore @@ -257,7 +259,7 @@ public SourceMssql withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public SourceMssql withJdbcUrlParams(Optional jdbcUrlParams) { + public SourceMssql withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -302,7 +304,7 @@ public SourceMssql withReplicationMethod(Optional replic /** * The list of schemas to sync from. Defaults to user. Case sensitive. */ - public SourceMssql withSchemas(java.util.List schemas) { + public SourceMssql withSchemas(List schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = Optional.ofNullable(schemas); return this; @@ -311,7 +313,7 @@ public SourceMssql withSchemas(java.util.List schemas) { /** * The list of schemas to sync from. Defaults to user. Case sensitive. */ - public SourceMssql withSchemas(Optional> schemas) { + public SourceMssql withSchemas(Optional> schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = schemas; return this; @@ -372,22 +374,22 @@ public boolean equals(java.lang.Object o) { } SourceMssql other = (SourceMssql) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.replicationMethod, other.replicationMethod) && - java.util.Objects.deepEquals(this.schemas, other.schemas) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.sslMethod, other.sslMethod) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.replicationMethod, other.replicationMethod) && + Objects.deepEquals(this.schemas, other.schemas) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.sslMethod, other.sslMethod) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, host, jdbcUrlParams, @@ -423,7 +425,7 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); private String password; @@ -431,7 +433,7 @@ public final static class Builder { private Optional replicationMethod = Optional.empty(); - private Optional> schemas = Optional.empty(); + private Optional> schemas = Optional.empty(); private Optional sslMethod = Optional.empty(); @@ -473,7 +475,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -518,7 +520,7 @@ public Builder replicationMethod(Optional replicationMet /** * The list of schemas to sync from. Defaults to user. Case sensitive. */ - public Builder schemas(java.util.List schemas) { + public Builder schemas(List schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = Optional.ofNullable(schemas); return this; @@ -527,7 +529,7 @@ public Builder schemas(java.util.List schemas) { /** * The list of schemas to sync from. Defaults to user. Case sensitive. */ - public Builder schemas(Optional> schemas) { + public Builder schemas(Optional> schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = schemas; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedTrustServerCertificate.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedTrustServerCertificate.java index f4537f287..380be63f9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedTrustServerCertificate.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedTrustServerCertificate.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * SourceMssqlEncryptedTrustServerCertificate - Use the certificate provided by the server without verification. (For testing purposes only!) */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } SourceMssqlEncryptedTrustServerCertificate other = (SourceMssqlEncryptedTrustServerCertificate) o; return - java.util.Objects.deepEquals(this.sslMethod, other.sslMethod); + Objects.deepEquals(this.sslMethod, other.sslMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sslMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedVerifyCertificate.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedVerifyCertificate.java index c08f33de5..3574b6a87 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedVerifyCertificate.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlEncryptedVerifyCertificate.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * SourceMssqlEncryptedVerifyCertificate - Verify and use the certificate provided by the server. */ @@ -29,22 +29,22 @@ public class SourceMssqlEncryptedVerifyCertificate { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("certificate") - private Optional certificate; + private Optional certificate; /** * Specifies the host name of the server. The value of this property must match the subject property of the certificate. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("hostNameInCertificate") - private Optional hostNameInCertificate; + private Optional hostNameInCertificate; @JsonProperty("ssl_method") private SourceMssqlSchemasSSLMethodSSLMethodSSLMethod sslMethod; @JsonCreator public SourceMssqlEncryptedVerifyCertificate( - @JsonProperty("certificate") Optional certificate, - @JsonProperty("hostNameInCertificate") Optional hostNameInCertificate) { + @JsonProperty("certificate") Optional certificate, + @JsonProperty("hostNameInCertificate") Optional hostNameInCertificate) { Utils.checkNotNull(certificate, "certificate"); Utils.checkNotNull(hostNameInCertificate, "hostNameInCertificate"); this.certificate = certificate; @@ -59,19 +59,17 @@ public SourceMssqlEncryptedVerifyCertificate() { /** * certificate of the server, or of the CA that signed the server certificate */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional certificate() { - return (Optional) certificate; + return certificate; } /** * Specifies the host name of the server. The value of this property must match the subject property of the certificate. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional hostNameInCertificate() { - return (Optional) hostNameInCertificate; + return hostNameInCertificate; } @JsonIgnore @@ -95,7 +93,7 @@ public SourceMssqlEncryptedVerifyCertificate withCertificate(String certificate) /** * certificate of the server, or of the CA that signed the server certificate */ - public SourceMssqlEncryptedVerifyCertificate withCertificate(Optional certificate) { + public SourceMssqlEncryptedVerifyCertificate withCertificate(Optional certificate) { Utils.checkNotNull(certificate, "certificate"); this.certificate = certificate; return this; @@ -113,7 +111,7 @@ public SourceMssqlEncryptedVerifyCertificate withHostNameInCertificate(String ho /** * Specifies the host name of the server. The value of this property must match the subject property of the certificate. */ - public SourceMssqlEncryptedVerifyCertificate withHostNameInCertificate(Optional hostNameInCertificate) { + public SourceMssqlEncryptedVerifyCertificate withHostNameInCertificate(Optional hostNameInCertificate) { Utils.checkNotNull(hostNameInCertificate, "hostNameInCertificate"); this.hostNameInCertificate = hostNameInCertificate; return this; @@ -129,14 +127,14 @@ public boolean equals(java.lang.Object o) { } SourceMssqlEncryptedVerifyCertificate other = (SourceMssqlEncryptedVerifyCertificate) o; return - java.util.Objects.deepEquals(this.certificate, other.certificate) && - java.util.Objects.deepEquals(this.hostNameInCertificate, other.hostNameInCertificate) && - java.util.Objects.deepEquals(this.sslMethod, other.sslMethod); + Objects.deepEquals(this.certificate, other.certificate) && + Objects.deepEquals(this.hostNameInCertificate, other.hostNameInCertificate) && + Objects.deepEquals(this.sslMethod, other.sslMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( certificate, hostNameInCertificate, sslMethod); @@ -152,9 +150,9 @@ public String toString() { public final static class Builder { - private Optional certificate = Optional.empty(); + private Optional certificate = Optional.empty(); - private Optional hostNameInCertificate = Optional.empty(); + private Optional hostNameInCertificate = Optional.empty(); private Builder() { // force use of static builder() method @@ -172,7 +170,7 @@ public Builder certificate(String certificate) { /** * certificate of the server, or of the CA that signed the server certificate */ - public Builder certificate(Optional certificate) { + public Builder certificate(Optional certificate) { Utils.checkNotNull(certificate, "certificate"); this.certificate = certificate; return this; @@ -190,7 +188,7 @@ public Builder hostNameInCertificate(String hostNameInCertificate) { /** * Specifies the host name of the server. The value of this property must match the subject property of the certificate. */ - public Builder hostNameInCertificate(Optional hostNameInCertificate) { + public Builder hostNameInCertificate(Optional hostNameInCertificate) { Utils.checkNotNull(hostNameInCertificate, "hostNameInCertificate"); this.hostNameInCertificate = hostNameInCertificate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlInvalidCDCPositionBehaviorAdvanced.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlInvalidCDCPositionBehaviorAdvanced.java index a6d34b574..36f0ef4c4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlInvalidCDCPositionBehaviorAdvanced.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlInvalidCDCPositionBehaviorAdvanced.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMssqlInvalidCDCPositionBehaviorAdvanced - Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlMethod.java index 4b98fdf59..5219f40ed 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMssqlMethod { CDC("CDC"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlMssql.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlMssql.java index 24c523936..1fac964ec 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlMssql.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlMssql.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMssqlMssql { MSSQL("mssql"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlNoTunnel.java index 6b8aaa11f..0ceec1bd3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceMssqlNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceMssqlNoTunnel other = (SourceMssqlNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlPasswordAuthentication.java index 6bc1efced..5cbbe1a3a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceMssqlPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class SourceMssqlPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class SourceMssqlPasswordAuthentication { @JsonCreator public SourceMssqlPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public SourceMssqlSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public SourceMssqlPasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourceMssqlPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public SourceMssqlPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourceMssqlPasswordAuthentication other = (SourceMssqlPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public SourceMssqlPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourceMssqlPasswordAuthentication( + } return new SourceMssqlPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public SourceMssqlPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHKeyAuthentication.java index 84b279676..cfbf38ca2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceMssqlSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class SourceMssqlSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class SourceMssqlSSHKeyAuthentication { public SourceMssqlSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public SourceMssqlSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public SourceMssqlSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourceMssqlSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public SourceMssqlSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourceMssqlSSHKeyAuthentication other = (SourceMssqlSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public SourceMssqlSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourceMssqlSSHKeyAuthentication( + } return new SourceMssqlSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public SourceMssqlSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHTunnelMethod.java index 88506ef9a..c91705439 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMssqlSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMssqlSSHTunnelMethod._Deserializer.class) public class SourceMssqlSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMssqlSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceMssqlSSHTunnelMethod of(SourceMssqlPasswordAuthentication va /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMssqlNoTunnel}
    • - *
    • {@code SourceMssqlSSHKeyAuthentication}
    • - *
    • {@code SourceMssqlPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMssqlNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMssqlSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMssqlPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceMssqlSSHTunnelMethod other = (SourceMssqlSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMssqlSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMssqlSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSLMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSLMethod.java index 82987ff02..052fbaf28 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSLMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSSLMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMssqlSSLMethod - The encryption method which is used when communicating with the database. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMssqlSSLMethod._Deserializer.class) public class SourceMssqlSSLMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMssqlSSLMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceMssqlSSLMethod of(SourceMssqlEncryptedVerifyCertificate valu /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMssqlUnencrypted}
    • - *
    • {@code SourceMssqlEncryptedTrustServerCertificate}
    • - *
    • {@code SourceMssqlEncryptedVerifyCertificate}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMssqlUnencrypted}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMssqlEncryptedTrustServerCertificate}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMssqlEncryptedVerifyCertificate}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceMssqlSSLMethod other = (SourceMssqlSSLMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMssqlSSLMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMssqlSSLMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasMethod.java index d1f476822..86a7d3259 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMssqlSchemasMethod { STANDARD("STANDARD"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSSLMethodSSLMethodSSLMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSSLMethodSSLMethodSSLMethod.java index a2f79c02a..910d59d49 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSSLMethodSSLMethodSSLMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSSLMethodSSLMethodSSLMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMssqlSchemasSSLMethodSSLMethodSSLMethod { ENCRYPTED_VERIFY_CERTIFICATE("encrypted_verify_certificate"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethod.java index 29d8f1eb4..ab22dc6d7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMssqlSchemasSslMethod { UNENCRYPTED("unencrypted"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethodSslMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethodSslMethod.java index 3a3af97ad..f74caea85 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethodSslMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasSslMethodSslMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMssqlSchemasSslMethodSslMethod { ENCRYPTED_TRUST_SERVER_CERTIFICATE("encrypted_trust_server_certificate"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethod.java index 294d35cba..a7c34bdbb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMssqlSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.java index 48914ba21..420601dc1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMssqlSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethod.java index 62ef987ae..9c5544d28 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMssqlTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMssqlUnencrypted.java b/src/main/java/com/airbyte/api/models/shared/SourceMssqlUnencrypted.java index 8dae120d9..85505e505 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMssqlUnencrypted.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMssqlUnencrypted.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * SourceMssqlUnencrypted - Data transfer will not be encrypted. */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } SourceMssqlUnencrypted other = (SourceMssqlUnencrypted) o; return - java.util.Objects.deepEquals(this.sslMethod, other.sslMethod); + Objects.deepEquals(this.sslMethod, other.sslMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sslMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMux.java b/src/main/java/com/airbyte/api/models/shared/SourceMux.java new file mode 100644 index 000000000..398478e59 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceMux.java @@ -0,0 +1,250 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceMux { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + /** + * The playback id for your video asset shown in website details + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("playback_id") + private Optional playbackId; + + @JsonProperty("sourceType") + private Mux sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceMux( + @JsonProperty("password") Optional password, + @JsonProperty("playback_id") Optional playbackId, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(playbackId, "playbackId"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.playbackId = playbackId; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.username = username; + } + + public SourceMux( + OffsetDateTime startDate, + String username) { + this(Optional.empty(), Optional.empty(), startDate, username); + } + + @JsonIgnore + public Optional password() { + return password; + } + + /** + * The playback id for your video asset shown in website details + */ + @JsonIgnore + public Optional playbackId() { + return playbackId; + } + + @JsonIgnore + public Mux sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceMux withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourceMux withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * The playback id for your video asset shown in website details + */ + public SourceMux withPlaybackId(String playbackId) { + Utils.checkNotNull(playbackId, "playbackId"); + this.playbackId = Optional.ofNullable(playbackId); + return this; + } + + /** + * The playback id for your video asset shown in website details + */ + public SourceMux withPlaybackId(Optional playbackId) { + Utils.checkNotNull(playbackId, "playbackId"); + this.playbackId = playbackId; + return this; + } + + public SourceMux withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceMux withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceMux other = (SourceMux) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.playbackId, other.playbackId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + playbackId, + sourceType, + startDate, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceMux.class, + "password", password, + "playbackId", playbackId, + "sourceType", sourceType, + "startDate", startDate, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private Optional playbackId = Optional.empty(); + + private OffsetDateTime startDate; + + private String username; + + private Builder() { + // force use of static builder() method + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * The playback id for your video asset shown in website details + */ + public Builder playbackId(String playbackId) { + Utils.checkNotNull(playbackId, "playbackId"); + this.playbackId = Optional.ofNullable(playbackId); + return this; + } + + /** + * The playback id for your video asset shown in website details + */ + public Builder playbackId(Optional playbackId) { + Utils.checkNotNull(playbackId, "playbackId"); + this.playbackId = playbackId; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceMux build() { + return new SourceMux( + password, + playbackId, + startDate, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"mux\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMyHours.java b/src/main/java/com/airbyte/api/models/shared/SourceMyHours.java index e7ad38113..1a0cbc491 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMyHours.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMyHours.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceMyHours { /** @@ -32,7 +33,7 @@ public class SourceMyHours { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("logs_batch_size") - private Optional logsBatchSize; + private Optional logsBatchSize; /** * The password associated to the username @@ -52,7 +53,7 @@ public class SourceMyHours { @JsonCreator public SourceMyHours( @JsonProperty("email") String email, - @JsonProperty("logs_batch_size") Optional logsBatchSize, + @JsonProperty("logs_batch_size") Optional logsBatchSize, @JsonProperty("password") String password, @JsonProperty("start_date") String startDate) { Utils.checkNotNull(email, "email"); @@ -84,10 +85,9 @@ public String email() { /** * Pagination size used for retrieving logs in days */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional logsBatchSize() { - return (Optional) logsBatchSize; + return logsBatchSize; } /** @@ -136,7 +136,7 @@ public SourceMyHours withLogsBatchSize(long logsBatchSize) { /** * Pagination size used for retrieving logs in days */ - public SourceMyHours withLogsBatchSize(Optional logsBatchSize) { + public SourceMyHours withLogsBatchSize(Optional logsBatchSize) { Utils.checkNotNull(logsBatchSize, "logsBatchSize"); this.logsBatchSize = logsBatchSize; return this; @@ -170,16 +170,16 @@ public boolean equals(java.lang.Object o) { } SourceMyHours other = (SourceMyHours) o; return - java.util.Objects.deepEquals(this.email, other.email) && - java.util.Objects.deepEquals(this.logsBatchSize, other.logsBatchSize) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.logsBatchSize, other.logsBatchSize) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( email, logsBatchSize, password, @@ -201,7 +201,7 @@ public final static class Builder { private String email; - private Optional logsBatchSize; + private Optional logsBatchSize; private String password; @@ -232,7 +232,7 @@ public Builder logsBatchSize(long logsBatchSize) { /** * Pagination size used for retrieving logs in days */ - public Builder logsBatchSize(Optional logsBatchSize) { + public Builder logsBatchSize(Optional logsBatchSize) { Utils.checkNotNull(logsBatchSize, "logsBatchSize"); this.logsBatchSize = logsBatchSize; return this; @@ -259,19 +259,18 @@ public Builder startDate(String startDate) { public SourceMyHours build() { if (logsBatchSize == null) { logsBatchSize = _SINGLETON_VALUE_LogsBatchSize.value(); - } - return new SourceMyHours( + } return new SourceMyHours( email, logsBatchSize, password, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_LogsBatchSize = + private static final LazySingletonValue> _SINGLETON_VALUE_LogsBatchSize = new LazySingletonValue<>( "logs_batch_size", "30", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysql.java b/src/main/java/com/airbyte/api/models/shared/SourceMysql.java index 9259fb446..e22e6a077 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysql.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysql.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceMysql { /** @@ -38,21 +41,21 @@ public class SourceMysql { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * The password associated with the username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * The port to connect to. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * Configures how data is extracted from the database. @@ -68,7 +71,7 @@ public class SourceMysql { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl") - private Optional ssl; + private Optional ssl; /** * SSL connection modes. Read more <a href="https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-using-ssl.html"> in the docs</a>. @@ -94,11 +97,11 @@ public class SourceMysql { public SourceMysql( @JsonProperty("database") String database, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, @JsonProperty("replication_method") SourceMysqlUpdateMethod replicationMethod, - @JsonProperty("ssl") Optional ssl, + @JsonProperty("ssl") Optional ssl, @JsonProperty("ssl_mode") Optional sslMode, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { @@ -152,28 +155,25 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). For more information read about <a href="https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-jdbc-url-format.html">JDBC URL parameters</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * The password associated with the username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * The port to connect to. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** @@ -192,10 +192,9 @@ public SourceMysqlMysql sourceType() { /** * Encrypt data using SSL. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ssl() { - return (Optional) ssl; + return ssl; } /** @@ -258,7 +257,7 @@ public SourceMysql withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). For more information read about <a href="https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-jdbc-url-format.html">JDBC URL parameters</a>. */ - public SourceMysql withJdbcUrlParams(Optional jdbcUrlParams) { + public SourceMysql withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -276,7 +275,7 @@ public SourceMysql withPassword(String password) { /** * The password associated with the username. */ - public SourceMysql withPassword(Optional password) { + public SourceMysql withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -294,7 +293,7 @@ public SourceMysql withPort(long port) { /** * The port to connect to. */ - public SourceMysql withPort(Optional port) { + public SourceMysql withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -321,7 +320,7 @@ public SourceMysql withSsl(boolean ssl) { /** * Encrypt data using SSL. */ - public SourceMysql withSsl(Optional ssl) { + public SourceMysql withSsl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -382,22 +381,22 @@ public boolean equals(java.lang.Object o) { } SourceMysql other = (SourceMysql) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.replicationMethod, other.replicationMethod) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.ssl, other.ssl) && - java.util.Objects.deepEquals(this.sslMode, other.sslMode) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.replicationMethod, other.replicationMethod) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.ssl, other.ssl) && + Objects.deepEquals(this.sslMode, other.sslMode) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, host, jdbcUrlParams, @@ -433,15 +432,15 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; private SourceMysqlUpdateMethod replicationMethod; - private Optional ssl; + private Optional ssl; private Optional sslMode = Optional.empty(); @@ -483,7 +482,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). For more information read about <a href="https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-jdbc-url-format.html">JDBC URL parameters</a>. */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -501,7 +500,7 @@ public Builder password(String password) { /** * The password associated with the username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -519,7 +518,7 @@ public Builder port(long port) { /** * The port to connect to. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -546,7 +545,7 @@ public Builder ssl(boolean ssl) { /** * Encrypt data using SSL. */ - public Builder ssl(Optional ssl) { + public Builder ssl(Optional ssl) { Utils.checkNotNull(ssl, "ssl"); this.ssl = ssl; return this; @@ -603,8 +602,7 @@ public SourceMysql build() { } if (ssl == null) { ssl = _SINGLETON_VALUE_Ssl.value(); - } - return new SourceMysql( + } return new SourceMysql( database, host, jdbcUrlParams, @@ -617,11 +615,11 @@ public SourceMysql build() { username); } - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "3306", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( @@ -629,11 +627,11 @@ public SourceMysql build() { "\"mysql\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = + private static final LazySingletonValue> _SINGLETON_VALUE_Ssl = new LazySingletonValue<>( "ssl", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlInvalidCDCPositionBehaviorAdvanced.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlInvalidCDCPositionBehaviorAdvanced.java index 4cd24bba4..67c387995 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlInvalidCDCPositionBehaviorAdvanced.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlInvalidCDCPositionBehaviorAdvanced.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMysqlInvalidCDCPositionBehaviorAdvanced - Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlMethod.java index d101fe2e9..27d2762a6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMysqlMethod { CDC("CDC"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlMode.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlMode.java index eb1de335d..619201b2d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMysqlMode { PREFERRED("preferred"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlMysql.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlMysql.java index fb3e5ce96..9cd423498 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlMysql.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlMysql.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMysqlMysql { MYSQL("mysql"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlNoTunnel.java index b6fad67b8..e9f25199b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceMysqlNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceMysqlNoTunnel other = (SourceMysqlNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlPasswordAuthentication.java index 60dd45072..b749c2b5c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceMysqlPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class SourceMysqlPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class SourceMysqlPasswordAuthentication { @JsonCreator public SourceMysqlPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public SourceMysqlSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public SourceMysqlPasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourceMysqlPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public SourceMysqlPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourceMysqlPasswordAuthentication other = (SourceMysqlPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public SourceMysqlPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourceMysqlPasswordAuthentication( + } return new SourceMysqlPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public SourceMysqlPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHKeyAuthentication.java index 4cad310f6..b7128a62f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceMysqlSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class SourceMysqlSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class SourceMysqlSSHKeyAuthentication { public SourceMysqlSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public SourceMysqlSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public SourceMysqlSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourceMysqlSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public SourceMysqlSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourceMysqlSSHKeyAuthentication other = (SourceMysqlSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public SourceMysqlSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourceMysqlSSHKeyAuthentication( + } return new SourceMysqlSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public SourceMysqlSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHTunnelMethod.java index 341df7cb5..20fece046 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMysqlSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMysqlSSHTunnelMethod._Deserializer.class) public class SourceMysqlSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMysqlSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceMysqlSSHTunnelMethod of(SourceMysqlPasswordAuthentication va /** * Returns an instance of one of these types: *

      - *
    • {@code SourceMysqlNoTunnel}
    • - *
    • {@code SourceMysqlSSHKeyAuthentication}
    • - *
    • {@code SourceMysqlPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMysqlNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMysqlSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMysqlPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceMysqlSSHTunnelMethod other = (SourceMysqlSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMysqlSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMysqlSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSLModes.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSLModes.java index f5cf1536e..3e1007116 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSLModes.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSSLModes.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMysqlSSLModes - SSL connection modes. Read more <a href="https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-using-ssl.html"> in the docs</a>. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMysqlSSLModes._Deserializer.class) public class SourceMysqlSSLModes { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMysqlSSLModes(TypedObject value) { @@ -58,10 +55,10 @@ public static SourceMysqlSSLModes of(VerifyIdentity value) { /** * Returns an instance of one of these types: *

      - *
    • {@code Preferred}
    • - *
    • {@code Required}
    • - *
    • {@code SourceMysqlVerifyCA}
    • - *
    • {@code VerifyIdentity}
    • + *
    • {@code com.airbyte.api.models.shared.Preferred}
    • + *
    • {@code com.airbyte.api.models.shared.Required}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMysqlVerifyCA}
    • + *
    • {@code com.airbyte.api.models.shared.VerifyIdentity}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -88,23 +85,23 @@ public boolean equals(java.lang.Object o) { return false; } SourceMysqlSSLModes other = (SourceMysqlSSLModes) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMysqlSSLModes.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMysqlSSLModes.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.java index 111c71b6f..7c0035ad8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlScanChangesWithUserDefinedCursor.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * SourceMysqlScanChangesWithUserDefinedCursor - Incrementally detects new inserts and updates using the <a href="https://docs.airbyte.com/understanding-airbyte/connections/incremental-append/#user-defined-cursor">cursor column</a> chosen when configuring a connection (e.g. created_at, updated_at). */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } SourceMysqlScanChangesWithUserDefinedCursor other = (SourceMysqlScanChangesWithUserDefinedCursor) o; return - java.util.Objects.deepEquals(this.method, other.method); + Objects.deepEquals(this.method, other.method); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( method); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMethod.java index dfaaf0fc0..3d9de91e9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMysqlSchemasMethod { STANDARD("STANDARD"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMode.java index cfe019c2d..329e6755b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMysqlSchemasMode { REQUIRED("required"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSSLModeSSLModesMode.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSSLModeSSLModesMode.java index 9d522521d..4b345895e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSSLModeSSLModesMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSSLModeSSLModesMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMysqlSchemasSSLModeSSLModesMode { VERIFY_IDENTITY("verify_identity"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSslModeMode.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSslModeMode.java index c2cf47c4b..2a05703e9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSslModeMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasSslModeMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceMysqlSchemasSslModeMode { VERIFY_CA("verify_ca"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethod.java index b52b03abf..6ab666e07 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMysqlSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.java index e9e7d86da..d95c589a2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMysqlSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethod.java index 3fd6ab58b..20435b486 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceMysqlTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlUpdateMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlUpdateMethod.java index 7320ac930..1026eb05c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlUpdateMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlUpdateMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceMysqlUpdateMethod - Configures how data is extracted from the database. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceMysqlUpdateMethod._Deserializer.class) public class SourceMysqlUpdateMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceMysqlUpdateMethod(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceMysqlUpdateMethod of(SourceMysqlScanChangesWithUserDefinedCu /** * Returns an instance of one of these types: *

      - *
    • {@code ReadChangesUsingBinaryLogCDC}
    • - *
    • {@code SourceMysqlScanChangesWithUserDefinedCursor}
    • + *
    • {@code com.airbyte.api.models.shared.ReadChangesUsingBinaryLogCDC}
    • + *
    • {@code com.airbyte.api.models.shared.SourceMysqlScanChangesWithUserDefinedCursor}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceMysqlUpdateMethod other = (SourceMysqlUpdateMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceMysqlUpdateMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceMysqlUpdateMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceMysqlVerifyCA.java b/src/main/java/com/airbyte/api/models/shared/SourceMysqlVerifyCA.java index 10d56a85d..80db70c87 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceMysqlVerifyCA.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceMysqlVerifyCA.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * SourceMysqlVerifyCA - Always connect with SSL. Verifies CA, but allows connection even if Hostname does not match. */ @@ -35,21 +35,21 @@ public class SourceMysqlVerifyCA { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_certificate") - private Optional clientCertificate; + private Optional clientCertificate; /** * Client key (this is not a required field, but if you want to use it, you will need to add the <b>Client certificate</b> as well) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_key") - private Optional clientKey; + private Optional clientKey; /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_key_password") - private Optional clientKeyPassword; + private Optional clientKeyPassword; @JsonProperty("mode") private SourceMysqlSchemasSslModeMode mode; @@ -57,9 +57,9 @@ public class SourceMysqlVerifyCA { @JsonCreator public SourceMysqlVerifyCA( @JsonProperty("ca_certificate") String caCertificate, - @JsonProperty("client_certificate") Optional clientCertificate, - @JsonProperty("client_key") Optional clientKey, - @JsonProperty("client_key_password") Optional clientKeyPassword) { + @JsonProperty("client_certificate") Optional clientCertificate, + @JsonProperty("client_key") Optional clientKey, + @JsonProperty("client_key_password") Optional clientKeyPassword) { Utils.checkNotNull(caCertificate, "caCertificate"); Utils.checkNotNull(clientCertificate, "clientCertificate"); Utils.checkNotNull(clientKey, "clientKey"); @@ -87,28 +87,25 @@ public String caCertificate() { /** * Client certificate (this is not a required field, but if you want to use it, you will need to add the <b>Client key</b> as well) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientCertificate() { - return (Optional) clientCertificate; + return clientCertificate; } /** * Client key (this is not a required field, but if you want to use it, you will need to add the <b>Client certificate</b> as well) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientKey() { - return (Optional) clientKey; + return clientKey; } /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientKeyPassword() { - return (Optional) clientKeyPassword; + return clientKeyPassword; } @JsonIgnore @@ -141,7 +138,7 @@ public SourceMysqlVerifyCA withClientCertificate(String clientCertificate) { /** * Client certificate (this is not a required field, but if you want to use it, you will need to add the <b>Client key</b> as well) */ - public SourceMysqlVerifyCA withClientCertificate(Optional clientCertificate) { + public SourceMysqlVerifyCA withClientCertificate(Optional clientCertificate) { Utils.checkNotNull(clientCertificate, "clientCertificate"); this.clientCertificate = clientCertificate; return this; @@ -159,7 +156,7 @@ public SourceMysqlVerifyCA withClientKey(String clientKey) { /** * Client key (this is not a required field, but if you want to use it, you will need to add the <b>Client certificate</b> as well) */ - public SourceMysqlVerifyCA withClientKey(Optional clientKey) { + public SourceMysqlVerifyCA withClientKey(Optional clientKey) { Utils.checkNotNull(clientKey, "clientKey"); this.clientKey = clientKey; return this; @@ -177,7 +174,7 @@ public SourceMysqlVerifyCA withClientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public SourceMysqlVerifyCA withClientKeyPassword(Optional clientKeyPassword) { + public SourceMysqlVerifyCA withClientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; @@ -193,16 +190,16 @@ public boolean equals(java.lang.Object o) { } SourceMysqlVerifyCA other = (SourceMysqlVerifyCA) o; return - java.util.Objects.deepEquals(this.caCertificate, other.caCertificate) && - java.util.Objects.deepEquals(this.clientCertificate, other.clientCertificate) && - java.util.Objects.deepEquals(this.clientKey, other.clientKey) && - java.util.Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.clientCertificate, other.clientCertificate) && + Objects.deepEquals(this.clientKey, other.clientKey) && + Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caCertificate, clientCertificate, clientKey, @@ -224,11 +221,11 @@ public final static class Builder { private String caCertificate; - private Optional clientCertificate = Optional.empty(); + private Optional clientCertificate = Optional.empty(); - private Optional clientKey = Optional.empty(); + private Optional clientKey = Optional.empty(); - private Optional clientKeyPassword = Optional.empty(); + private Optional clientKeyPassword = Optional.empty(); private Builder() { // force use of static builder() method @@ -255,7 +252,7 @@ public Builder clientCertificate(String clientCertificate) { /** * Client certificate (this is not a required field, but if you want to use it, you will need to add the <b>Client key</b> as well) */ - public Builder clientCertificate(Optional clientCertificate) { + public Builder clientCertificate(Optional clientCertificate) { Utils.checkNotNull(clientCertificate, "clientCertificate"); this.clientCertificate = clientCertificate; return this; @@ -273,7 +270,7 @@ public Builder clientKey(String clientKey) { /** * Client key (this is not a required field, but if you want to use it, you will need to add the <b>Client certificate</b> as well) */ - public Builder clientKey(Optional clientKey) { + public Builder clientKey(Optional clientKey) { Utils.checkNotNull(clientKey, "clientKey"); this.clientKey = clientKey; return this; @@ -291,7 +288,7 @@ public Builder clientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public Builder clientKeyPassword(Optional clientKeyPassword) { + public Builder clientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceN8n.java b/src/main/java/com/airbyte/api/models/shared/SourceN8n.java new file mode 100644 index 000000000..a4dc3881b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceN8n.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceN8n { + + /** + * Your API KEY. See <a href="https://docs.n8n.io/api/authentication">here</a> + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * Hostname of the n8n instance + */ + @JsonProperty("host") + private String host; + + @JsonProperty("sourceType") + private N8n sourceType; + + @JsonCreator + public SourceN8n( + @JsonProperty("api_key") String apiKey, + @JsonProperty("host") String host) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(host, "host"); + this.apiKey = apiKey; + this.host = host; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Your API KEY. See <a href="https://docs.n8n.io/api/authentication">here</a> + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Hostname of the n8n instance + */ + @JsonIgnore + public String host() { + return host; + } + + @JsonIgnore + public N8n sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your API KEY. See <a href="https://docs.n8n.io/api/authentication">here</a> + */ + public SourceN8n withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Hostname of the n8n instance + */ + public SourceN8n withHost(String host) { + Utils.checkNotNull(host, "host"); + this.host = host; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceN8n other = (SourceN8n) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + host, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceN8n.class, + "apiKey", apiKey, + "host", host, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private String host; + + private Builder() { + // force use of static builder() method + } + + /** + * Your API KEY. See <a href="https://docs.n8n.io/api/authentication">here</a> + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Hostname of the n8n instance + */ + public Builder host(String host) { + Utils.checkNotNull(host, "host"); + this.host = host; + return this; + } + + public SourceN8n build() { + return new SourceN8n( + apiKey, + host); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"n8n\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNasa.java b/src/main/java/com/airbyte/api/models/shared/SourceNasa.java new file mode 100644 index 000000000..13aff2729 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceNasa.java @@ -0,0 +1,449 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.time.LocalDate; +import java.util.Objects; +import java.util.Optional; + + +public class SourceNasa { + + /** + * API access key used to retrieve data from the NASA APOD API. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("concept_tags") + private Optional conceptTags; + + /** + * A positive integer, no greater than 100. If this is specified then `count` randomly chosen images will be returned in a JSON array. Cannot be used in conjunction with `date` or `start_date` and `end_date`. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("count") + private Optional count; + + /** + * Indicates that end of a date range. If `start_date` is specified without an `end_date` then `end_date` defaults to the current date. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_date") + private Optional endDate; + + @JsonProperty("sourceType") + private Nasa sourceType; + + /** + * Indicates the start of a date range. All images in the range from `start_date` to `end_date` will be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + /** + * Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("thumbs") + private Optional thumbs; + + @JsonCreator + public SourceNasa( + @JsonProperty("api_key") String apiKey, + @JsonProperty("concept_tags") Optional conceptTags, + @JsonProperty("count") Optional count, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("thumbs") Optional thumbs) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(conceptTags, "conceptTags"); + Utils.checkNotNull(count, "count"); + Utils.checkNotNull(endDate, "endDate"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(thumbs, "thumbs"); + this.apiKey = apiKey; + this.conceptTags = conceptTags; + this.count = count; + this.endDate = endDate; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.thumbs = thumbs; + } + + public SourceNasa( + String apiKey) { + this(apiKey, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + /** + * API access key used to retrieve data from the NASA APOD API. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. + */ + @JsonIgnore + public Optional conceptTags() { + return conceptTags; + } + + /** + * A positive integer, no greater than 100. If this is specified then `count` randomly chosen images will be returned in a JSON array. Cannot be used in conjunction with `date` or `start_date` and `end_date`. + */ + @JsonIgnore + public Optional count() { + return count; + } + + /** + * Indicates that end of a date range. If `start_date` is specified without an `end_date` then `end_date` defaults to the current date. + */ + @JsonIgnore + public Optional endDate() { + return endDate; + } + + @JsonIgnore + public Nasa sourceType() { + return sourceType; + } + + /** + * Indicates the start of a date range. All images in the range from `start_date` to `end_date` will be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API. + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + /** + * Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. + */ + @JsonIgnore + public Optional thumbs() { + return thumbs; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API access key used to retrieve data from the NASA APOD API. + */ + public SourceNasa withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. + */ + public SourceNasa withConceptTags(boolean conceptTags) { + Utils.checkNotNull(conceptTags, "conceptTags"); + this.conceptTags = Optional.ofNullable(conceptTags); + return this; + } + + /** + * Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. + */ + public SourceNasa withConceptTags(Optional conceptTags) { + Utils.checkNotNull(conceptTags, "conceptTags"); + this.conceptTags = conceptTags; + return this; + } + + /** + * A positive integer, no greater than 100. If this is specified then `count` randomly chosen images will be returned in a JSON array. Cannot be used in conjunction with `date` or `start_date` and `end_date`. + */ + public SourceNasa withCount(long count) { + Utils.checkNotNull(count, "count"); + this.count = Optional.ofNullable(count); + return this; + } + + /** + * A positive integer, no greater than 100. If this is specified then `count` randomly chosen images will be returned in a JSON array. Cannot be used in conjunction with `date` or `start_date` and `end_date`. + */ + public SourceNasa withCount(Optional count) { + Utils.checkNotNull(count, "count"); + this.count = count; + return this; + } + + /** + * Indicates that end of a date range. If `start_date` is specified without an `end_date` then `end_date` defaults to the current date. + */ + public SourceNasa withEndDate(LocalDate endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * Indicates that end of a date range. If `start_date` is specified without an `end_date` then `end_date` defaults to the current date. + */ + public SourceNasa withEndDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * Indicates the start of a date range. All images in the range from `start_date` to `end_date` will be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API. + */ + public SourceNasa withStartDate(LocalDate startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Indicates the start of a date range. All images in the range from `start_date` to `end_date` will be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API. + */ + public SourceNasa withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. + */ + public SourceNasa withThumbs(boolean thumbs) { + Utils.checkNotNull(thumbs, "thumbs"); + this.thumbs = Optional.ofNullable(thumbs); + return this; + } + + /** + * Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. + */ + public SourceNasa withThumbs(Optional thumbs) { + Utils.checkNotNull(thumbs, "thumbs"); + this.thumbs = thumbs; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceNasa other = (SourceNasa) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.conceptTags, other.conceptTags) && + Objects.deepEquals(this.count, other.count) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.thumbs, other.thumbs); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + conceptTags, + count, + endDate, + sourceType, + startDate, + thumbs); + } + + @Override + public String toString() { + return Utils.toString(SourceNasa.class, + "apiKey", apiKey, + "conceptTags", conceptTags, + "count", count, + "endDate", endDate, + "sourceType", sourceType, + "startDate", startDate, + "thumbs", thumbs); + } + + public final static class Builder { + + private String apiKey; + + private Optional conceptTags; + + private Optional count = Optional.empty(); + + private Optional endDate = Optional.empty(); + + private Optional startDate = Optional.empty(); + + private Optional thumbs; + + private Builder() { + // force use of static builder() method + } + + /** + * API access key used to retrieve data from the NASA APOD API. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. + */ + public Builder conceptTags(boolean conceptTags) { + Utils.checkNotNull(conceptTags, "conceptTags"); + this.conceptTags = Optional.ofNullable(conceptTags); + return this; + } + + /** + * Indicates whether concept tags should be returned with the rest of the response. The concept tags are not necessarily included in the explanation, but rather derived from common search tags that are associated with the description text. (Better than just pure text search.) Defaults to False. + */ + public Builder conceptTags(Optional conceptTags) { + Utils.checkNotNull(conceptTags, "conceptTags"); + this.conceptTags = conceptTags; + return this; + } + + /** + * A positive integer, no greater than 100. If this is specified then `count` randomly chosen images will be returned in a JSON array. Cannot be used in conjunction with `date` or `start_date` and `end_date`. + */ + public Builder count(long count) { + Utils.checkNotNull(count, "count"); + this.count = Optional.ofNullable(count); + return this; + } + + /** + * A positive integer, no greater than 100. If this is specified then `count` randomly chosen images will be returned in a JSON array. Cannot be used in conjunction with `date` or `start_date` and `end_date`. + */ + public Builder count(Optional count) { + Utils.checkNotNull(count, "count"); + this.count = count; + return this; + } + + /** + * Indicates that end of a date range. If `start_date` is specified without an `end_date` then `end_date` defaults to the current date. + */ + public Builder endDate(LocalDate endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * Indicates that end of a date range. If `start_date` is specified without an `end_date` then `end_date` defaults to the current date. + */ + public Builder endDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * Indicates the start of a date range. All images in the range from `start_date` to `end_date` will be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API. + */ + public Builder startDate(LocalDate startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Indicates the start of a date range. All images in the range from `start_date` to `end_date` will be returned in a JSON array. Must be after 1995-06-16, the first day an APOD picture was posted. There are no images for tomorrow available through this API. + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. + */ + public Builder thumbs(boolean thumbs) { + Utils.checkNotNull(thumbs, "thumbs"); + this.thumbs = Optional.ofNullable(thumbs); + return this; + } + + /** + * Indicates whether the API should return a thumbnail image URL for video files. If set to True, the API returns URL of video thumbnail. If an APOD is not a video, this parameter is ignored. + */ + public Builder thumbs(Optional thumbs) { + Utils.checkNotNull(thumbs, "thumbs"); + this.thumbs = thumbs; + return this; + } + + public SourceNasa build() { + if (conceptTags == null) { + conceptTags = _SINGLETON_VALUE_ConceptTags.value(); + } + if (thumbs == null) { + thumbs = _SINGLETON_VALUE_Thumbs.value(); + } return new SourceNasa( + apiKey, + conceptTags, + count, + endDate, + startDate, + thumbs); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_ConceptTags = + new LazySingletonValue<>( + "concept_tags", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"nasa\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Thumbs = + new LazySingletonValue<>( + "thumbs", + "false", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java b/src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java index 289530990..4aea9f35e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNetsuite.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceNetsuite { /** @@ -38,7 +41,7 @@ public class SourceNetsuite { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("object_types") - private Optional> objectTypes; + private Optional> objectTypes; /** * Netsuite realm e.g. 2344535, as for `production` or 2344535_SB1, as for the `sandbox` @@ -72,18 +75,18 @@ public class SourceNetsuite { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("window_in_days") - private Optional windowInDays; + private Optional windowInDays; @JsonCreator public SourceNetsuite( @JsonProperty("consumer_key") String consumerKey, @JsonProperty("consumer_secret") String consumerSecret, - @JsonProperty("object_types") Optional> objectTypes, + @JsonProperty("object_types") Optional> objectTypes, @JsonProperty("realm") String realm, @JsonProperty("start_datetime") String startDatetime, @JsonProperty("token_key") String tokenKey, @JsonProperty("token_secret") String tokenSecret, - @JsonProperty("window_in_days") Optional windowInDays) { + @JsonProperty("window_in_days") Optional windowInDays) { Utils.checkNotNull(consumerKey, "consumerKey"); Utils.checkNotNull(consumerSecret, "consumerSecret"); Utils.checkNotNull(objectTypes, "objectTypes"); @@ -134,8 +137,8 @@ public String consumerSecret() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> objectTypes() { - return (Optional>) objectTypes; + public Optional> objectTypes() { + return (Optional>) objectTypes; } /** @@ -178,10 +181,9 @@ public String tokenSecret() { /** * The amount of days used to query the data with date chunks. Set smaller value, if you have lots of data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional windowInDays() { - return (Optional) windowInDays; + return windowInDays; } public final static Builder builder() { @@ -209,7 +211,7 @@ public SourceNetsuite withConsumerSecret(String consumerSecret) { /** * The API names of the Netsuite objects you want to sync. Setting this speeds up the connection setup process by limiting the number of schemas that need to be retrieved from Netsuite. */ - public SourceNetsuite withObjectTypes(java.util.List objectTypes) { + public SourceNetsuite withObjectTypes(List objectTypes) { Utils.checkNotNull(objectTypes, "objectTypes"); this.objectTypes = Optional.ofNullable(objectTypes); return this; @@ -218,7 +220,7 @@ public SourceNetsuite withObjectTypes(java.util.List objectTypes) { /** * The API names of the Netsuite objects you want to sync. Setting this speeds up the connection setup process by limiting the number of schemas that need to be retrieved from Netsuite. */ - public SourceNetsuite withObjectTypes(Optional> objectTypes) { + public SourceNetsuite withObjectTypes(Optional> objectTypes) { Utils.checkNotNull(objectTypes, "objectTypes"); this.objectTypes = objectTypes; return this; @@ -272,7 +274,7 @@ public SourceNetsuite withWindowInDays(long windowInDays) { /** * The amount of days used to query the data with date chunks. Set smaller value, if you have lots of data. */ - public SourceNetsuite withWindowInDays(Optional windowInDays) { + public SourceNetsuite withWindowInDays(Optional windowInDays) { Utils.checkNotNull(windowInDays, "windowInDays"); this.windowInDays = windowInDays; return this; @@ -288,20 +290,20 @@ public boolean equals(java.lang.Object o) { } SourceNetsuite other = (SourceNetsuite) o; return - java.util.Objects.deepEquals(this.consumerKey, other.consumerKey) && - java.util.Objects.deepEquals(this.consumerSecret, other.consumerSecret) && - java.util.Objects.deepEquals(this.objectTypes, other.objectTypes) && - java.util.Objects.deepEquals(this.realm, other.realm) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDatetime, other.startDatetime) && - java.util.Objects.deepEquals(this.tokenKey, other.tokenKey) && - java.util.Objects.deepEquals(this.tokenSecret, other.tokenSecret) && - java.util.Objects.deepEquals(this.windowInDays, other.windowInDays); + Objects.deepEquals(this.consumerKey, other.consumerKey) && + Objects.deepEquals(this.consumerSecret, other.consumerSecret) && + Objects.deepEquals(this.objectTypes, other.objectTypes) && + Objects.deepEquals(this.realm, other.realm) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDatetime, other.startDatetime) && + Objects.deepEquals(this.tokenKey, other.tokenKey) && + Objects.deepEquals(this.tokenSecret, other.tokenSecret) && + Objects.deepEquals(this.windowInDays, other.windowInDays); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( consumerKey, consumerSecret, objectTypes, @@ -333,7 +335,7 @@ public final static class Builder { private String consumerSecret; - private Optional> objectTypes = Optional.empty(); + private Optional> objectTypes = Optional.empty(); private String realm; @@ -343,7 +345,7 @@ public final static class Builder { private String tokenSecret; - private Optional windowInDays; + private Optional windowInDays; private Builder() { // force use of static builder() method @@ -370,7 +372,7 @@ public Builder consumerSecret(String consumerSecret) { /** * The API names of the Netsuite objects you want to sync. Setting this speeds up the connection setup process by limiting the number of schemas that need to be retrieved from Netsuite. */ - public Builder objectTypes(java.util.List objectTypes) { + public Builder objectTypes(List objectTypes) { Utils.checkNotNull(objectTypes, "objectTypes"); this.objectTypes = Optional.ofNullable(objectTypes); return this; @@ -379,7 +381,7 @@ public Builder objectTypes(java.util.List objectTypes) { /** * The API names of the Netsuite objects you want to sync. Setting this speeds up the connection setup process by limiting the number of schemas that need to be retrieved from Netsuite. */ - public Builder objectTypes(Optional> objectTypes) { + public Builder objectTypes(Optional> objectTypes) { Utils.checkNotNull(objectTypes, "objectTypes"); this.objectTypes = objectTypes; return this; @@ -433,7 +435,7 @@ public Builder windowInDays(long windowInDays) { /** * The amount of days used to query the data with date chunks. Set smaller value, if you have lots of data. */ - public Builder windowInDays(Optional windowInDays) { + public Builder windowInDays(Optional windowInDays) { Utils.checkNotNull(windowInDays, "windowInDays"); this.windowInDays = windowInDays; return this; @@ -442,8 +444,7 @@ public Builder windowInDays(Optional windowInDays) { public SourceNetsuite build() { if (windowInDays == null) { windowInDays = _SINGLETON_VALUE_WindowInDays.value(); - } - return new SourceNetsuite( + } return new SourceNetsuite( consumerKey, consumerSecret, objectTypes, @@ -460,11 +461,11 @@ public SourceNetsuite build() { "\"netsuite\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_WindowInDays = + private static final LazySingletonValue> _SINGLETON_VALUE_WindowInDays = new LazySingletonValue<>( "window_in_days", "30", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNewsApi.java b/src/main/java/com/airbyte/api/models/shared/SourceNewsApi.java new file mode 100644 index 000000000..4a3369c70 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceNewsApi.java @@ -0,0 +1,957 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + + +public class SourceNewsApi { + + /** + * API Key + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * The category you want to get top headlines for. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("category") + private Optional category; + + /** + * The 2-letter ISO 3166-1 code of the country you want to get headlines + * for. You can't mix this with the sources parameter. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private Optional country; + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to restrict the search to. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("domains") + private Optional> domains; + + /** + * A date and optional time for the newest article allowed. This should + * be in ISO 8601 format. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_date") + private Optional endDate; + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to remove from the results. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("exclude_domains") + private Optional> excludeDomains; + + /** + * The 2-letter ISO-639-1 code of the language you want to get headlines + * for. Possible options: ar de en es fr he it nl no pt ru se ud zh. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("language") + private Optional language; + + /** + * Where to apply search query. Possible values are: title, description, + * content. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("search_in") + private Optional> searchIn; + + /** + * Search query. See https://newsapi.org/docs/endpoints/everything for + * information. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("search_query") + private Optional searchQuery; + + /** + * The order to sort the articles in. Possible options: relevancy, + * popularity, publishedAt. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sort_by") + private Optional sortBy; + + @JsonProperty("sourceType") + private NewsApi sourceType; + + /** + * Identifiers (maximum 20) for the news sources or blogs you want + * headlines from. Use the `/sources` endpoint to locate these + * programmatically or look at the sources index: + * https://newsapi.com/sources. Will override both country and category. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sources") + private Optional> sources; + + /** + * A date and optional time for the oldest article allowed. This should + * be in ISO 8601 format. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonCreator + public SourceNewsApi( + @JsonProperty("api_key") String apiKey, + @JsonProperty("category") Optional category, + @JsonProperty("country") Optional country, + @JsonProperty("domains") Optional> domains, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("exclude_domains") Optional> excludeDomains, + @JsonProperty("language") Optional language, + @JsonProperty("search_in") Optional> searchIn, + @JsonProperty("search_query") Optional searchQuery, + @JsonProperty("sort_by") Optional sortBy, + @JsonProperty("sources") Optional> sources, + @JsonProperty("start_date") Optional startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(category, "category"); + Utils.checkNotNull(country, "country"); + Utils.checkNotNull(domains, "domains"); + Utils.checkNotNull(endDate, "endDate"); + Utils.checkNotNull(excludeDomains, "excludeDomains"); + Utils.checkNotNull(language, "language"); + Utils.checkNotNull(searchIn, "searchIn"); + Utils.checkNotNull(searchQuery, "searchQuery"); + Utils.checkNotNull(sortBy, "sortBy"); + Utils.checkNotNull(sources, "sources"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.category = category; + this.country = country; + this.domains = domains; + this.endDate = endDate; + this.excludeDomains = excludeDomains; + this.language = language; + this.searchIn = searchIn; + this.searchQuery = searchQuery; + this.sortBy = sortBy; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.sources = sources; + this.startDate = startDate; + } + + public SourceNewsApi( + String apiKey) { + this(apiKey, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + /** + * API Key + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The category you want to get top headlines for. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional category() { + return (Optional) category; + } + + /** + * The 2-letter ISO 3166-1 code of the country you want to get headlines + * for. You can't mix this with the sources parameter. + * + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional country() { + return (Optional) country; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to restrict the search to. + * + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> domains() { + return (Optional>) domains; + } + + /** + * A date and optional time for the newest article allowed. This should + * be in ISO 8601 format. + * + */ + @JsonIgnore + public Optional endDate() { + return endDate; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to remove from the results. + * + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> excludeDomains() { + return (Optional>) excludeDomains; + } + + /** + * The 2-letter ISO-639-1 code of the language you want to get headlines + * for. Possible options: ar de en es fr he it nl no pt ru se ud zh. + * + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional language() { + return (Optional) language; + } + + /** + * Where to apply search query. Possible values are: title, description, + * content. + * + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> searchIn() { + return (Optional>) searchIn; + } + + /** + * Search query. See https://newsapi.org/docs/endpoints/everything for + * information. + * + */ + @JsonIgnore + public Optional searchQuery() { + return searchQuery; + } + + /** + * The order to sort the articles in. Possible options: relevancy, + * popularity, publishedAt. + * + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional sortBy() { + return (Optional) sortBy; + } + + @JsonIgnore + public NewsApi sourceType() { + return sourceType; + } + + /** + * Identifiers (maximum 20) for the news sources or blogs you want + * headlines from. Use the `/sources` endpoint to locate these + * programmatically or look at the sources index: + * https://newsapi.com/sources. Will override both country and category. + * + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> sources() { + return (Optional>) sources; + } + + /** + * A date and optional time for the oldest article allowed. This should + * be in ISO 8601 format. + * + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API Key + */ + public SourceNewsApi withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The category you want to get top headlines for. + */ + public SourceNewsApi withCategory(Category category) { + Utils.checkNotNull(category, "category"); + this.category = Optional.ofNullable(category); + return this; + } + + /** + * The category you want to get top headlines for. + */ + public SourceNewsApi withCategory(Optional category) { + Utils.checkNotNull(category, "category"); + this.category = category; + return this; + } + + /** + * The 2-letter ISO 3166-1 code of the country you want to get headlines + * for. You can't mix this with the sources parameter. + * + */ + public SourceNewsApi withCountry(Country country) { + Utils.checkNotNull(country, "country"); + this.country = Optional.ofNullable(country); + return this; + } + + /** + * The 2-letter ISO 3166-1 code of the country you want to get headlines + * for. You can't mix this with the sources parameter. + * + */ + public SourceNewsApi withCountry(Optional country) { + Utils.checkNotNull(country, "country"); + this.country = country; + return this; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to restrict the search to. + * + */ + public SourceNewsApi withDomains(List domains) { + Utils.checkNotNull(domains, "domains"); + this.domains = Optional.ofNullable(domains); + return this; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to restrict the search to. + * + */ + public SourceNewsApi withDomains(Optional> domains) { + Utils.checkNotNull(domains, "domains"); + this.domains = domains; + return this; + } + + /** + * A date and optional time for the newest article allowed. This should + * be in ISO 8601 format. + * + */ + public SourceNewsApi withEndDate(String endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * A date and optional time for the newest article allowed. This should + * be in ISO 8601 format. + * + */ + public SourceNewsApi withEndDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to remove from the results. + * + */ + public SourceNewsApi withExcludeDomains(List excludeDomains) { + Utils.checkNotNull(excludeDomains, "excludeDomains"); + this.excludeDomains = Optional.ofNullable(excludeDomains); + return this; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to remove from the results. + * + */ + public SourceNewsApi withExcludeDomains(Optional> excludeDomains) { + Utils.checkNotNull(excludeDomains, "excludeDomains"); + this.excludeDomains = excludeDomains; + return this; + } + + /** + * The 2-letter ISO-639-1 code of the language you want to get headlines + * for. Possible options: ar de en es fr he it nl no pt ru se ud zh. + * + */ + public SourceNewsApi withLanguage(Language language) { + Utils.checkNotNull(language, "language"); + this.language = Optional.ofNullable(language); + return this; + } + + /** + * The 2-letter ISO-639-1 code of the language you want to get headlines + * for. Possible options: ar de en es fr he it nl no pt ru se ud zh. + * + */ + public SourceNewsApi withLanguage(Optional language) { + Utils.checkNotNull(language, "language"); + this.language = language; + return this; + } + + /** + * Where to apply search query. Possible values are: title, description, + * content. + * + */ + public SourceNewsApi withSearchIn(List searchIn) { + Utils.checkNotNull(searchIn, "searchIn"); + this.searchIn = Optional.ofNullable(searchIn); + return this; + } + + /** + * Where to apply search query. Possible values are: title, description, + * content. + * + */ + public SourceNewsApi withSearchIn(Optional> searchIn) { + Utils.checkNotNull(searchIn, "searchIn"); + this.searchIn = searchIn; + return this; + } + + /** + * Search query. See https://newsapi.org/docs/endpoints/everything for + * information. + * + */ + public SourceNewsApi withSearchQuery(String searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = Optional.ofNullable(searchQuery); + return this; + } + + /** + * Search query. See https://newsapi.org/docs/endpoints/everything for + * information. + * + */ + public SourceNewsApi withSearchQuery(Optional searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = searchQuery; + return this; + } + + /** + * The order to sort the articles in. Possible options: relevancy, + * popularity, publishedAt. + * + */ + public SourceNewsApi withSortBy(SortBy sortBy) { + Utils.checkNotNull(sortBy, "sortBy"); + this.sortBy = Optional.ofNullable(sortBy); + return this; + } + + /** + * The order to sort the articles in. Possible options: relevancy, + * popularity, publishedAt. + * + */ + public SourceNewsApi withSortBy(Optional sortBy) { + Utils.checkNotNull(sortBy, "sortBy"); + this.sortBy = sortBy; + return this; + } + + /** + * Identifiers (maximum 20) for the news sources or blogs you want + * headlines from. Use the `/sources` endpoint to locate these + * programmatically or look at the sources index: + * https://newsapi.com/sources. Will override both country and category. + * + */ + public SourceNewsApi withSources(List sources) { + Utils.checkNotNull(sources, "sources"); + this.sources = Optional.ofNullable(sources); + return this; + } + + /** + * Identifiers (maximum 20) for the news sources or blogs you want + * headlines from. Use the `/sources` endpoint to locate these + * programmatically or look at the sources index: + * https://newsapi.com/sources. Will override both country and category. + * + */ + public SourceNewsApi withSources(Optional> sources) { + Utils.checkNotNull(sources, "sources"); + this.sources = sources; + return this; + } + + /** + * A date and optional time for the oldest article allowed. This should + * be in ISO 8601 format. + * + */ + public SourceNewsApi withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * A date and optional time for the oldest article allowed. This should + * be in ISO 8601 format. + * + */ + public SourceNewsApi withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceNewsApi other = (SourceNewsApi) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.category, other.category) && + Objects.deepEquals(this.country, other.country) && + Objects.deepEquals(this.domains, other.domains) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.excludeDomains, other.excludeDomains) && + Objects.deepEquals(this.language, other.language) && + Objects.deepEquals(this.searchIn, other.searchIn) && + Objects.deepEquals(this.searchQuery, other.searchQuery) && + Objects.deepEquals(this.sortBy, other.sortBy) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.sources, other.sources) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + category, + country, + domains, + endDate, + excludeDomains, + language, + searchIn, + searchQuery, + sortBy, + sourceType, + sources, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceNewsApi.class, + "apiKey", apiKey, + "category", category, + "country", country, + "domains", domains, + "endDate", endDate, + "excludeDomains", excludeDomains, + "language", language, + "searchIn", searchIn, + "searchQuery", searchQuery, + "sortBy", sortBy, + "sourceType", sourceType, + "sources", sources, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional category; + + private Optional country; + + private Optional> domains = Optional.empty(); + + private Optional endDate = Optional.empty(); + + private Optional> excludeDomains = Optional.empty(); + + private Optional language = Optional.empty(); + + private Optional> searchIn = Optional.empty(); + + private Optional searchQuery = Optional.empty(); + + private Optional sortBy; + + private Optional> sources = Optional.empty(); + + private Optional startDate = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * API Key + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The category you want to get top headlines for. + */ + public Builder category(Category category) { + Utils.checkNotNull(category, "category"); + this.category = Optional.ofNullable(category); + return this; + } + + /** + * The category you want to get top headlines for. + */ + public Builder category(Optional category) { + Utils.checkNotNull(category, "category"); + this.category = category; + return this; + } + + /** + * The 2-letter ISO 3166-1 code of the country you want to get headlines + * for. You can't mix this with the sources parameter. + * + */ + public Builder country(Country country) { + Utils.checkNotNull(country, "country"); + this.country = Optional.ofNullable(country); + return this; + } + + /** + * The 2-letter ISO 3166-1 code of the country you want to get headlines + * for. You can't mix this with the sources parameter. + * + */ + public Builder country(Optional country) { + Utils.checkNotNull(country, "country"); + this.country = country; + return this; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to restrict the search to. + * + */ + public Builder domains(List domains) { + Utils.checkNotNull(domains, "domains"); + this.domains = Optional.ofNullable(domains); + return this; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to restrict the search to. + * + */ + public Builder domains(Optional> domains) { + Utils.checkNotNull(domains, "domains"); + this.domains = domains; + return this; + } + + /** + * A date and optional time for the newest article allowed. This should + * be in ISO 8601 format. + * + */ + public Builder endDate(String endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * A date and optional time for the newest article allowed. This should + * be in ISO 8601 format. + * + */ + public Builder endDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to remove from the results. + * + */ + public Builder excludeDomains(List excludeDomains) { + Utils.checkNotNull(excludeDomains, "excludeDomains"); + this.excludeDomains = Optional.ofNullable(excludeDomains); + return this; + } + + /** + * A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, + * engadget.com) to remove from the results. + * + */ + public Builder excludeDomains(Optional> excludeDomains) { + Utils.checkNotNull(excludeDomains, "excludeDomains"); + this.excludeDomains = excludeDomains; + return this; + } + + /** + * The 2-letter ISO-639-1 code of the language you want to get headlines + * for. Possible options: ar de en es fr he it nl no pt ru se ud zh. + * + */ + public Builder language(Language language) { + Utils.checkNotNull(language, "language"); + this.language = Optional.ofNullable(language); + return this; + } + + /** + * The 2-letter ISO-639-1 code of the language you want to get headlines + * for. Possible options: ar de en es fr he it nl no pt ru se ud zh. + * + */ + public Builder language(Optional language) { + Utils.checkNotNull(language, "language"); + this.language = language; + return this; + } + + /** + * Where to apply search query. Possible values are: title, description, + * content. + * + */ + public Builder searchIn(List searchIn) { + Utils.checkNotNull(searchIn, "searchIn"); + this.searchIn = Optional.ofNullable(searchIn); + return this; + } + + /** + * Where to apply search query. Possible values are: title, description, + * content. + * + */ + public Builder searchIn(Optional> searchIn) { + Utils.checkNotNull(searchIn, "searchIn"); + this.searchIn = searchIn; + return this; + } + + /** + * Search query. See https://newsapi.org/docs/endpoints/everything for + * information. + * + */ + public Builder searchQuery(String searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = Optional.ofNullable(searchQuery); + return this; + } + + /** + * Search query. See https://newsapi.org/docs/endpoints/everything for + * information. + * + */ + public Builder searchQuery(Optional searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = searchQuery; + return this; + } + + /** + * The order to sort the articles in. Possible options: relevancy, + * popularity, publishedAt. + * + */ + public Builder sortBy(SortBy sortBy) { + Utils.checkNotNull(sortBy, "sortBy"); + this.sortBy = Optional.ofNullable(sortBy); + return this; + } + + /** + * The order to sort the articles in. Possible options: relevancy, + * popularity, publishedAt. + * + */ + public Builder sortBy(Optional sortBy) { + Utils.checkNotNull(sortBy, "sortBy"); + this.sortBy = sortBy; + return this; + } + + /** + * Identifiers (maximum 20) for the news sources or blogs you want + * headlines from. Use the `/sources` endpoint to locate these + * programmatically or look at the sources index: + * https://newsapi.com/sources. Will override both country and category. + * + */ + public Builder sources(List sources) { + Utils.checkNotNull(sources, "sources"); + this.sources = Optional.ofNullable(sources); + return this; + } + + /** + * Identifiers (maximum 20) for the news sources or blogs you want + * headlines from. Use the `/sources` endpoint to locate these + * programmatically or look at the sources index: + * https://newsapi.com/sources. Will override both country and category. + * + */ + public Builder sources(Optional> sources) { + Utils.checkNotNull(sources, "sources"); + this.sources = sources; + return this; + } + + /** + * A date and optional time for the oldest article allowed. This should + * be in ISO 8601 format. + * + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * A date and optional time for the oldest article allowed. This should + * be in ISO 8601 format. + * + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceNewsApi build() { + if (category == null) { + category = _SINGLETON_VALUE_Category.value(); + } + if (country == null) { + country = _SINGLETON_VALUE_Country.value(); + } + if (sortBy == null) { + sortBy = _SINGLETON_VALUE_SortBy.value(); + } return new SourceNewsApi( + apiKey, + category, + country, + domains, + endDate, + excludeDomains, + language, + searchIn, + searchQuery, + sortBy, + sources, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Category = + new LazySingletonValue<>( + "category", + "\"business\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Country = + new LazySingletonValue<>( + "country", + "\"us\"", + new TypeReference>() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_SortBy = + new LazySingletonValue<>( + "sort_by", + "\"publishedAt\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"news-api\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNewsdataIo.java b/src/main/java/com/airbyte/api/models/shared/SourceNewsdataIo.java new file mode 100644 index 000000000..eb39f8523 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceNewsdataIo.java @@ -0,0 +1,516 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.LocalDate; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + + +public class SourceNewsdataIo { + + @JsonProperty("api_key") + private String apiKey; + + /** + * Search the news articles for a specific category. You can add up to 5 categories in a single query. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("categories") + private Optional> categories; + + /** + * Search the news articles from a specific country. You can add up to 5 countries in a single query. Example: au, jp, br + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("countries") + private Optional> countries; + + /** + * Search the news articles for specific domains or news sources. You can add up to 5 domains in a single query. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("domains") + private Optional> domains; + + /** + * Choose an end date. Now UTC is default value + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_date") + private Optional endDate; + + /** + * Search the news articles for a specific language. You can add up to 5 languages in a single query. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("languages") + private Optional> languages; + + /** + * Search news articles for specific keywords or phrases present in the news title, content, URL, meta keywords and meta description. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("search_query") + private Optional searchQuery; + + @JsonProperty("sourceType") + private NewsdataIo sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceNewsdataIo( + @JsonProperty("api_key") String apiKey, + @JsonProperty("categories") Optional> categories, + @JsonProperty("countries") Optional> countries, + @JsonProperty("domains") Optional> domains, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("languages") Optional> languages, + @JsonProperty("search_query") Optional searchQuery, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(categories, "categories"); + Utils.checkNotNull(countries, "countries"); + Utils.checkNotNull(domains, "domains"); + Utils.checkNotNull(endDate, "endDate"); + Utils.checkNotNull(languages, "languages"); + Utils.checkNotNull(searchQuery, "searchQuery"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.categories = categories; + this.countries = countries; + this.domains = domains; + this.endDate = endDate; + this.languages = languages; + this.searchQuery = searchQuery; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceNewsdataIo( + String apiKey, + OffsetDateTime startDate) { + this(apiKey, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), startDate); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Search the news articles for a specific category. You can add up to 5 categories in a single query. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> categories() { + return (Optional>) categories; + } + + /** + * Search the news articles from a specific country. You can add up to 5 countries in a single query. Example: au, jp, br + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> countries() { + return (Optional>) countries; + } + + /** + * Search the news articles for specific domains or news sources. You can add up to 5 domains in a single query. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> domains() { + return (Optional>) domains; + } + + /** + * Choose an end date. Now UTC is default value + */ + @JsonIgnore + public Optional endDate() { + return endDate; + } + + /** + * Search the news articles for a specific language. You can add up to 5 languages in a single query. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> languages() { + return (Optional>) languages; + } + + /** + * Search news articles for specific keywords or phrases present in the news title, content, URL, meta keywords and meta description. + */ + @JsonIgnore + public Optional searchQuery() { + return searchQuery; + } + + @JsonIgnore + public NewsdataIo sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceNewsdataIo withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Search the news articles for a specific category. You can add up to 5 categories in a single query. + */ + public SourceNewsdataIo withCategories(List categories) { + Utils.checkNotNull(categories, "categories"); + this.categories = Optional.ofNullable(categories); + return this; + } + + /** + * Search the news articles for a specific category. You can add up to 5 categories in a single query. + */ + public SourceNewsdataIo withCategories(Optional> categories) { + Utils.checkNotNull(categories, "categories"); + this.categories = categories; + return this; + } + + /** + * Search the news articles from a specific country. You can add up to 5 countries in a single query. Example: au, jp, br + */ + public SourceNewsdataIo withCountries(List countries) { + Utils.checkNotNull(countries, "countries"); + this.countries = Optional.ofNullable(countries); + return this; + } + + /** + * Search the news articles from a specific country. You can add up to 5 countries in a single query. Example: au, jp, br + */ + public SourceNewsdataIo withCountries(Optional> countries) { + Utils.checkNotNull(countries, "countries"); + this.countries = countries; + return this; + } + + /** + * Search the news articles for specific domains or news sources. You can add up to 5 domains in a single query. + */ + public SourceNewsdataIo withDomains(List domains) { + Utils.checkNotNull(domains, "domains"); + this.domains = Optional.ofNullable(domains); + return this; + } + + /** + * Search the news articles for specific domains or news sources. You can add up to 5 domains in a single query. + */ + public SourceNewsdataIo withDomains(Optional> domains) { + Utils.checkNotNull(domains, "domains"); + this.domains = domains; + return this; + } + + /** + * Choose an end date. Now UTC is default value + */ + public SourceNewsdataIo withEndDate(LocalDate endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * Choose an end date. Now UTC is default value + */ + public SourceNewsdataIo withEndDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * Search the news articles for a specific language. You can add up to 5 languages in a single query. + */ + public SourceNewsdataIo withLanguages(List languages) { + Utils.checkNotNull(languages, "languages"); + this.languages = Optional.ofNullable(languages); + return this; + } + + /** + * Search the news articles for a specific language. You can add up to 5 languages in a single query. + */ + public SourceNewsdataIo withLanguages(Optional> languages) { + Utils.checkNotNull(languages, "languages"); + this.languages = languages; + return this; + } + + /** + * Search news articles for specific keywords or phrases present in the news title, content, URL, meta keywords and meta description. + */ + public SourceNewsdataIo withSearchQuery(String searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = Optional.ofNullable(searchQuery); + return this; + } + + /** + * Search news articles for specific keywords or phrases present in the news title, content, URL, meta keywords and meta description. + */ + public SourceNewsdataIo withSearchQuery(Optional searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = searchQuery; + return this; + } + + public SourceNewsdataIo withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceNewsdataIo other = (SourceNewsdataIo) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.categories, other.categories) && + Objects.deepEquals(this.countries, other.countries) && + Objects.deepEquals(this.domains, other.domains) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.languages, other.languages) && + Objects.deepEquals(this.searchQuery, other.searchQuery) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + categories, + countries, + domains, + endDate, + languages, + searchQuery, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceNewsdataIo.class, + "apiKey", apiKey, + "categories", categories, + "countries", countries, + "domains", domains, + "endDate", endDate, + "languages", languages, + "searchQuery", searchQuery, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional> categories = Optional.empty(); + + private Optional> countries = Optional.empty(); + + private Optional> domains = Optional.empty(); + + private Optional endDate = Optional.empty(); + + private Optional> languages = Optional.empty(); + + private Optional searchQuery = Optional.empty(); + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Search the news articles for a specific category. You can add up to 5 categories in a single query. + */ + public Builder categories(List categories) { + Utils.checkNotNull(categories, "categories"); + this.categories = Optional.ofNullable(categories); + return this; + } + + /** + * Search the news articles for a specific category. You can add up to 5 categories in a single query. + */ + public Builder categories(Optional> categories) { + Utils.checkNotNull(categories, "categories"); + this.categories = categories; + return this; + } + + /** + * Search the news articles from a specific country. You can add up to 5 countries in a single query. Example: au, jp, br + */ + public Builder countries(List countries) { + Utils.checkNotNull(countries, "countries"); + this.countries = Optional.ofNullable(countries); + return this; + } + + /** + * Search the news articles from a specific country. You can add up to 5 countries in a single query. Example: au, jp, br + */ + public Builder countries(Optional> countries) { + Utils.checkNotNull(countries, "countries"); + this.countries = countries; + return this; + } + + /** + * Search the news articles for specific domains or news sources. You can add up to 5 domains in a single query. + */ + public Builder domains(List domains) { + Utils.checkNotNull(domains, "domains"); + this.domains = Optional.ofNullable(domains); + return this; + } + + /** + * Search the news articles for specific domains or news sources. You can add up to 5 domains in a single query. + */ + public Builder domains(Optional> domains) { + Utils.checkNotNull(domains, "domains"); + this.domains = domains; + return this; + } + + /** + * Choose an end date. Now UTC is default value + */ + public Builder endDate(LocalDate endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * Choose an end date. Now UTC is default value + */ + public Builder endDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * Search the news articles for a specific language. You can add up to 5 languages in a single query. + */ + public Builder languages(List languages) { + Utils.checkNotNull(languages, "languages"); + this.languages = Optional.ofNullable(languages); + return this; + } + + /** + * Search the news articles for a specific language. You can add up to 5 languages in a single query. + */ + public Builder languages(Optional> languages) { + Utils.checkNotNull(languages, "languages"); + this.languages = languages; + return this; + } + + /** + * Search news articles for specific keywords or phrases present in the news title, content, URL, meta keywords and meta description. + */ + public Builder searchQuery(String searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = Optional.ofNullable(searchQuery); + return this; + } + + /** + * Search news articles for specific keywords or phrases present in the news title, content, URL, meta keywords and meta description. + */ + public Builder searchQuery(Optional searchQuery) { + Utils.checkNotNull(searchQuery, "searchQuery"); + this.searchQuery = searchQuery; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceNewsdataIo build() { + return new SourceNewsdataIo( + apiKey, + categories, + countries, + domains, + endDate, + languages, + searchQuery, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"newsdata-io\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNocrm.java b/src/main/java/com/airbyte/api/models/shared/SourceNocrm.java new file mode 100644 index 000000000..a5a40df25 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceNocrm.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceNocrm { + + /** + * API key to use. Generate it from the admin section of your noCRM.io account. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Nocrm sourceType; + + /** + * The subdomain specific to your noCRM.io account, e.g., 'yourcompany' in 'yourcompany.nocrm.io'. + */ + @JsonProperty("subdomain") + private String subdomain; + + @JsonCreator + public SourceNocrm( + @JsonProperty("api_key") String apiKey, + @JsonProperty("subdomain") String subdomain) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(subdomain, "subdomain"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.subdomain = subdomain; + } + + /** + * API key to use. Generate it from the admin section of your noCRM.io account. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Nocrm sourceType() { + return sourceType; + } + + /** + * The subdomain specific to your noCRM.io account, e.g., 'yourcompany' in 'yourcompany.nocrm.io'. + */ + @JsonIgnore + public String subdomain() { + return subdomain; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Generate it from the admin section of your noCRM.io account. + */ + public SourceNocrm withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The subdomain specific to your noCRM.io account, e.g., 'yourcompany' in 'yourcompany.nocrm.io'. + */ + public SourceNocrm withSubdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceNocrm other = (SourceNocrm) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.subdomain, other.subdomain); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + subdomain); + } + + @Override + public String toString() { + return Utils.toString(SourceNocrm.class, + "apiKey", apiKey, + "sourceType", sourceType, + "subdomain", subdomain); + } + + public final static class Builder { + + private String apiKey; + + private String subdomain; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Generate it from the admin section of your noCRM.io account. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The subdomain specific to your noCRM.io account, e.g., 'yourcompany' in 'yourcompany.nocrm.io'. + */ + public Builder subdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + public SourceNocrm build() { + return new SourceNocrm( + apiKey, + subdomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"nocrm\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNorthpassLms.java b/src/main/java/com/airbyte/api/models/shared/SourceNorthpassLms.java index 33e17920d..fbb2221c8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNorthpassLms.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNorthpassLms.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceNorthpassLms { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceNorthpassLms other = (SourceNorthpassLms) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNotion.java b/src/main/java/com/airbyte/api/models/shared/SourceNotion.java index f4f0e24e2..7faece793 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNotion.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNotion.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceNotion { /** @@ -40,12 +39,12 @@ public class SourceNotion { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceNotion( @JsonProperty("credentials") Optional credentials, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(startDate, "startDate"); this.credentials = credentials; @@ -75,10 +74,9 @@ public Optional sourceType() { /** * UTC date and time in the format YYYY-MM-DDTHH:MM:SS.000Z. During incremental sync, any data generated before this date will not be replicated. If left blank, the start date will be set to 2 years before the present date. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -115,7 +113,7 @@ public SourceNotion withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format YYYY-MM-DDTHH:MM:SS.000Z. During incremental sync, any data generated before this date will not be replicated. If left blank, the start date will be set to 2 years before the present date. */ - public SourceNotion withStartDate(Optional startDate) { + public SourceNotion withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -131,14 +129,14 @@ public boolean equals(java.lang.Object o) { } SourceNotion other = (SourceNotion) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType, startDate); @@ -156,7 +154,7 @@ public final static class Builder { private Optional credentials = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -192,7 +190,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format YYYY-MM-DDTHH:MM:SS.000Z. During incremental sync, any data generated before this date will not be replicated. If left blank, the start date will be set to 2 years before the present date. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNotionAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SourceNotionAccessToken.java index 7f5b38d9f..2a5d83765 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNotionAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNotionAccessToken.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceNotionAccessToken { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceNotionAccessToken other = (SourceNotionAccessToken) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.token, other.token); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.token, other.token); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, token); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNotionAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceNotionAuthType.java index aa2741f8d..5e18b7d0b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNotionAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNotionAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceNotionAuthType { O_AUTH20("OAuth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNotionAuthenticationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceNotionAuthenticationMethod.java index 12d01d57d..8db9db3e0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNotionAuthenticationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNotionAuthenticationMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceNotionAuthenticationMethod - Choose either OAuth (recommended for Airbyte Cloud) or Access Token. See our <a href='https://docs.airbyte.com/integrations/sources/notion#setup-guide'>docs</a> for more information. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceNotionAuthenticationMethod._Deserializer.class) public class SourceNotionAuthenticationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceNotionAuthenticationMethod(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceNotionAuthenticationMethod of(SourceNotionAccessToken value) /** * Returns an instance of one of these types: *
      - *
    • {@code SourceNotionOAuth20}
    • - *
    • {@code SourceNotionAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNotionOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceNotionAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceNotionAuthenticationMethod other = (SourceNotionAuthenticationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceNotionAuthenticationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceNotionAuthenticationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNotionNotion.java b/src/main/java/com/airbyte/api/models/shared/SourceNotionNotion.java index d0a252331..a9ceafb72 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNotionNotion.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNotionNotion.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceNotionNotion { NOTION("notion"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNotionOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceNotionOAuth20.java index a7810e455..834fa990c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNotionOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNotionOAuth20.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceNotionOAuth20 { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } SourceNotionOAuth20 other = (SourceNotionOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNotionSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceNotionSchemasAuthType.java index c7b9b1f42..937d727bf 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNotionSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNotionSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceNotionSchemasAuthType { TOKEN("token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNutshell.java b/src/main/java/com/airbyte/api/models/shared/SourceNutshell.java new file mode 100644 index 000000000..036ca5d3e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceNutshell.java @@ -0,0 +1,159 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceNutshell { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Nutshell sourceType; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceNutshell( + @JsonProperty("password") Optional password, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.username = username; + } + + public SourceNutshell( + String username) { + this(Optional.empty(), username); + } + + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Nutshell sourceType() { + return sourceType; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceNutshell withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourceNutshell withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourceNutshell withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceNutshell other = (SourceNutshell) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + sourceType, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceNutshell.class, + "password", password, + "sourceType", sourceType, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private String username; + + private Builder() { + // force use of static builder() method + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceNutshell build() { + return new SourceNutshell( + password, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"nutshell\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNylas.java b/src/main/java/com/airbyte/api/models/shared/SourceNylas.java index 6ed1db692..84f6fddbe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNylas.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNylas.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceNylas { @@ -116,16 +114,16 @@ public boolean equals(java.lang.Object o) { } SourceNylas other = (SourceNylas) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.apiServer, other.apiServer) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiServer, other.apiServer) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, apiServer, endDate, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceNytimes.java b/src/main/java/com/airbyte/api/models/shared/SourceNytimes.java index 4a09c36ef..b7deee81d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceNytimes.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceNytimes.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceNytimes { /** @@ -32,7 +33,7 @@ public class SourceNytimes { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * Period of time (in days) @@ -59,7 +60,7 @@ public class SourceNytimes { @JsonCreator public SourceNytimes( @JsonProperty("api_key") String apiKey, - @JsonProperty("end_date") Optional endDate, + @JsonProperty("end_date") Optional endDate, @JsonProperty("period") PeriodUsedForMostPopularStreams period, @JsonProperty("share_type") Optional shareType, @JsonProperty("start_date") String startDate) { @@ -94,10 +95,9 @@ public String apiKey() { /** * End date to stop the article retrieval (format YYYY-MM) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** @@ -155,7 +155,7 @@ public SourceNytimes withEndDate(String endDate) { /** * End date to stop the article retrieval (format YYYY-MM) */ - public SourceNytimes withEndDate(Optional endDate) { + public SourceNytimes withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -207,17 +207,17 @@ public boolean equals(java.lang.Object o) { } SourceNytimes other = (SourceNytimes) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.period, other.period) && - java.util.Objects.deepEquals(this.shareType, other.shareType) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.period, other.period) && + Objects.deepEquals(this.shareType, other.shareType) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, endDate, period, @@ -241,7 +241,7 @@ public final static class Builder { private String apiKey; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); private PeriodUsedForMostPopularStreams period; @@ -274,7 +274,7 @@ public Builder endDate(String endDate) { /** * End date to stop the article retrieval (format YYYY-MM) */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOkta.java b/src/main/java/com/airbyte/api/models/shared/SourceOkta.java index af3d04d50..56d6ad048 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOkta.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOkta.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceOkta { @JsonInclude(Include.NON_ABSENT) @@ -33,7 +32,7 @@ public class SourceOkta { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("domain") - private Optional domain; + private Optional domain; @JsonProperty("sourceType") private Okta sourceType; @@ -43,13 +42,13 @@ public class SourceOkta { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceOkta( @JsonProperty("credentials") Optional credentials, - @JsonProperty("domain") Optional domain, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("domain") Optional domain, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(domain, "domain"); Utils.checkNotNull(startDate, "startDate"); @@ -72,10 +71,9 @@ public Optional credentials() { /** * The Okta domain. See the <a href="https://docs.airbyte.com/integrations/sources/okta">docs</a> for instructions on how to find it. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional domain() { - return (Optional) domain; + return domain; } @JsonIgnore @@ -86,10 +84,9 @@ public Okta sourceType() { /** * UTC date and time in the format YYYY-MM-DDTHH:MM:SSZ. Any data before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -120,7 +117,7 @@ public SourceOkta withDomain(String domain) { /** * The Okta domain. See the <a href="https://docs.airbyte.com/integrations/sources/okta">docs</a> for instructions on how to find it. */ - public SourceOkta withDomain(Optional domain) { + public SourceOkta withDomain(Optional domain) { Utils.checkNotNull(domain, "domain"); this.domain = domain; return this; @@ -138,7 +135,7 @@ public SourceOkta withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format YYYY-MM-DDTHH:MM:SSZ. Any data before this date will not be replicated. */ - public SourceOkta withStartDate(Optional startDate) { + public SourceOkta withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -154,15 +151,15 @@ public boolean equals(java.lang.Object o) { } SourceOkta other = (SourceOkta) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.domain, other.domain) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, domain, sourceType, @@ -182,9 +179,9 @@ public final static class Builder { private Optional credentials = Optional.empty(); - private Optional domain = Optional.empty(); + private Optional domain = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -214,7 +211,7 @@ public Builder domain(String domain) { /** * The Okta domain. See the <a href="https://docs.airbyte.com/integrations/sources/okta">docs</a> for instructions on how to find it. */ - public Builder domain(Optional domain) { + public Builder domain(Optional domain) { Utils.checkNotNull(domain, "domain"); this.domain = domain; return this; @@ -232,7 +229,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format YYYY-MM-DDTHH:MM:SSZ. Any data before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOktaAPIToken.java b/src/main/java/com/airbyte/api/models/shared/SourceOktaAPIToken.java index 3cd38053c..82d63ddcf 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOktaAPIToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOktaAPIToken.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceOktaAPIToken { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceOktaAPIToken other = (SourceOktaAPIToken) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOktaAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceOktaAuthType.java index a57c60aa2..d3ac13d82 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOktaAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOktaAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceOktaAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOktaAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceOktaAuthorizationMethod.java index 0e7d11cee..6edb94e63 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOktaAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOktaAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceOktaAuthorizationMethod._Deserializer.class) public class SourceOktaAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceOktaAuthorizationMethod(TypedObject value) { @@ -50,9 +47,9 @@ public static SourceOktaAuthorizationMethod of(SourceOktaAPIToken value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceOktaOAuth20}
    • - *
    • {@code OAuth20WithPrivateKey}
    • - *
    • {@code SourceOktaAPIToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOktaOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.OAuth20WithPrivateKey}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOktaAPIToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -79,22 +76,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceOktaAuthorizationMethod other = (SourceOktaAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceOktaAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceOktaAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOktaOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceOktaOAuth20.java index 2a56a5a60..18204dfd7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOktaOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOktaOAuth20.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceOktaOAuth20 { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } SourceOktaOAuth20 other = (SourceOktaOAuth20) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasAuthType.java index fcd245a9d..8b6f30978 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceOktaSchemasAuthType { OAUTH20_PRIVATE_KEY("oauth2.0_private_key"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasCredentialsAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasCredentialsAuthType.java index 52e483d78..539450632 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasCredentialsAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOktaSchemasCredentialsAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceOktaSchemasCredentialsAuthType { API_TOKEN("api_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java b/src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java index f8d3613fe..166f36d6a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOmnisend.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceOmnisend { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceOmnisend other = (SourceOmnisend) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOncehub.java b/src/main/java/com/airbyte/api/models/shared/SourceOncehub.java new file mode 100644 index 000000000..841090052 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOncehub.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceOncehub { + + /** + * API key to use. Find it in your OnceHub account under the API & Webhooks Integration page. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Oncehub sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceOncehub( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API key to use. Find it in your OnceHub account under the API & Webhooks Integration page. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Oncehub sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it in your OnceHub account under the API & Webhooks Integration page. + */ + public SourceOncehub withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceOncehub withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOncehub other = (SourceOncehub) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceOncehub.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it in your OnceHub account under the API & Webhooks Integration page. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceOncehub build() { + return new SourceOncehub( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"oncehub\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOnepagecrm.java b/src/main/java/com/airbyte/api/models/shared/SourceOnepagecrm.java new file mode 100644 index 000000000..84fa18b8c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOnepagecrm.java @@ -0,0 +1,189 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceOnepagecrm { + + /** + * Enter your API Key of your API app + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Onepagecrm sourceType; + + /** + * Enter the user ID of your API app + */ + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceOnepagecrm( + @JsonProperty("password") Optional password, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.username = username; + } + + public SourceOnepagecrm( + String username) { + this(Optional.empty(), username); + } + + /** + * Enter your API Key of your API app + */ + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Onepagecrm sourceType() { + return sourceType; + } + + /** + * Enter the user ID of your API app + */ + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Enter your API Key of your API app + */ + public SourceOnepagecrm withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Enter your API Key of your API app + */ + public SourceOnepagecrm withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Enter the user ID of your API app + */ + public SourceOnepagecrm withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOnepagecrm other = (SourceOnepagecrm) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + sourceType, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceOnepagecrm.class, + "password", password, + "sourceType", sourceType, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private String username; + + private Builder() { + // force use of static builder() method + } + + /** + * Enter your API Key of your API app + */ + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Enter your API Key of your API app + */ + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Enter the user ID of your API app + */ + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceOnepagecrm build() { + return new SourceOnepagecrm( + password, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"onepagecrm\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java b/src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java index 2f3d6eff8..64e5e77a2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOnesignal.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; + public class SourceOnesignal { @@ -25,7 +24,7 @@ public class SourceOnesignal { * Applications keys, see the <a href="https://documentation.onesignal.com/docs/accounts-and-keys">docs</a> for more information on how to obtain this data */ @JsonProperty("applications") - private java.util.List applications; + private List applications; /** * Comma-separated list of names and the value (sum/count) for the returned outcome data. See the <a href="https://documentation.onesignal.com/reference/view-outcomes">docs</a> for more details @@ -50,7 +49,7 @@ public class SourceOnesignal { @JsonCreator public SourceOnesignal( - @JsonProperty("applications") java.util.List applications, + @JsonProperty("applications") List applications, @JsonProperty("outcome_names") String outcomeNames, @JsonProperty("start_date") OffsetDateTime startDate, @JsonProperty("user_auth_key") String userAuthKey) { @@ -69,7 +68,7 @@ public SourceOnesignal( * Applications keys, see the <a href="https://documentation.onesignal.com/docs/accounts-and-keys">docs</a> for more information on how to obtain this data */ @JsonIgnore - public java.util.List applications() { + public List applications() { return applications; } @@ -109,7 +108,7 @@ public final static Builder builder() { /** * Applications keys, see the <a href="https://documentation.onesignal.com/docs/accounts-and-keys">docs</a> for more information on how to obtain this data */ - public SourceOnesignal withApplications(java.util.List applications) { + public SourceOnesignal withApplications(List applications) { Utils.checkNotNull(applications, "applications"); this.applications = applications; return this; @@ -152,16 +151,16 @@ public boolean equals(java.lang.Object o) { } SourceOnesignal other = (SourceOnesignal) o; return - java.util.Objects.deepEquals(this.applications, other.applications) && - java.util.Objects.deepEquals(this.outcomeNames, other.outcomeNames) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.userAuthKey, other.userAuthKey); + Objects.deepEquals(this.applications, other.applications) && + Objects.deepEquals(this.outcomeNames, other.outcomeNames) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.userAuthKey, other.userAuthKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( applications, outcomeNames, sourceType, @@ -181,7 +180,7 @@ public String toString() { public final static class Builder { - private java.util.List applications; + private List applications; private String outcomeNames; @@ -196,7 +195,7 @@ private Builder() { /** * Applications keys, see the <a href="https://documentation.onesignal.com/docs/accounts-and-keys">docs</a> for more information on how to obtain this data */ - public Builder applications(java.util.List applications) { + public Builder applications(List applications) { Utils.checkNotNull(applications, "applications"); this.applications = applications; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOnfleet.java b/src/main/java/com/airbyte/api/models/shared/SourceOnfleet.java new file mode 100644 index 000000000..0b7af1be7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOnfleet.java @@ -0,0 +1,197 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceOnfleet { + + /** + * API key to use for authenticating requests. You can create and manage your API keys in the API section of the Onfleet dashboard. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Onfleet sourceType; + + @JsonCreator + public SourceOnfleet( + @JsonProperty("api_key") String apiKey, + @JsonProperty("password") Optional password) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(password, "password"); + this.apiKey = apiKey; + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceOnfleet( + String apiKey) { + this(apiKey, Optional.empty()); + } + + /** + * API key to use for authenticating requests. You can create and manage your API keys in the API section of the Onfleet dashboard. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Onfleet sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use for authenticating requests. You can create and manage your API keys in the API section of the Onfleet dashboard. + */ + public SourceOnfleet withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + public SourceOnfleet withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + public SourceOnfleet withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOnfleet other = (SourceOnfleet) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + password, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceOnfleet.class, + "apiKey", apiKey, + "password", password, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Optional password; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use for authenticating requests. You can create and manage your API keys in the API section of the Onfleet dashboard. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourceOnfleet build() { + if (password == null) { + password = _SINGLETON_VALUE_Password.value(); + } return new SourceOnfleet( + apiKey, + password); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Password = + new LazySingletonValue<>( + "password", + "\"x\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"onfleet\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOpenDataDc.java b/src/main/java/com/airbyte/api/models/shared/SourceOpenDataDc.java new file mode 100644 index 000000000..96e33d920 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOpenDataDc.java @@ -0,0 +1,237 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceOpenDataDc { + + @JsonProperty("api_key") + private String apiKey; + + /** + * address or place or block + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("location") + private Optional location; + + /** + * A unique identifier (Master Address Repository). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("marid") + private Optional marid; + + @JsonProperty("sourceType") + private OpenDataDc sourceType; + + @JsonCreator + public SourceOpenDataDc( + @JsonProperty("api_key") String apiKey, + @JsonProperty("location") Optional location, + @JsonProperty("marid") Optional marid) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(location, "location"); + Utils.checkNotNull(marid, "marid"); + this.apiKey = apiKey; + this.location = location; + this.marid = marid; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceOpenDataDc( + String apiKey) { + this(apiKey, Optional.empty(), Optional.empty()); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * address or place or block + */ + @JsonIgnore + public Optional location() { + return location; + } + + /** + * A unique identifier (Master Address Repository). + */ + @JsonIgnore + public Optional marid() { + return marid; + } + + @JsonIgnore + public OpenDataDc sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceOpenDataDc withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * address or place or block + */ + public SourceOpenDataDc withLocation(String location) { + Utils.checkNotNull(location, "location"); + this.location = Optional.ofNullable(location); + return this; + } + + /** + * address or place or block + */ + public SourceOpenDataDc withLocation(Optional location) { + Utils.checkNotNull(location, "location"); + this.location = location; + return this; + } + + /** + * A unique identifier (Master Address Repository). + */ + public SourceOpenDataDc withMarid(String marid) { + Utils.checkNotNull(marid, "marid"); + this.marid = Optional.ofNullable(marid); + return this; + } + + /** + * A unique identifier (Master Address Repository). + */ + public SourceOpenDataDc withMarid(Optional marid) { + Utils.checkNotNull(marid, "marid"); + this.marid = marid; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOpenDataDc other = (SourceOpenDataDc) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.location, other.location) && + Objects.deepEquals(this.marid, other.marid) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + location, + marid, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceOpenDataDc.class, + "apiKey", apiKey, + "location", location, + "marid", marid, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Optional location = Optional.empty(); + + private Optional marid = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * address or place or block + */ + public Builder location(String location) { + Utils.checkNotNull(location, "location"); + this.location = Optional.ofNullable(location); + return this; + } + + /** + * address or place or block + */ + public Builder location(Optional location) { + Utils.checkNotNull(location, "location"); + this.location = location; + return this; + } + + /** + * A unique identifier (Master Address Repository). + */ + public Builder marid(String marid) { + Utils.checkNotNull(marid, "marid"); + this.marid = Optional.ofNullable(marid); + return this; + } + + /** + * A unique identifier (Master Address Repository). + */ + public Builder marid(Optional marid) { + Utils.checkNotNull(marid, "marid"); + this.marid = marid; + return this; + } + + public SourceOpenDataDc build() { + return new SourceOpenDataDc( + apiKey, + location, + marid); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"open-data-dc\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOpenaq.java b/src/main/java/com/airbyte/api/models/shared/SourceOpenaq.java new file mode 100644 index 000000000..2a7debef8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOpenaq.java @@ -0,0 +1,152 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public class SourceOpenaq { + + @JsonProperty("api_key") + private String apiKey; + + /** + * The list of IDs of countries (comma separated) you need the data for, check more: https://docs.openaq.org/resources/countries + */ + @JsonProperty("country_ids") + private List countryIds; + + @JsonProperty("sourceType") + private Openaq sourceType; + + @JsonCreator + public SourceOpenaq( + @JsonProperty("api_key") String apiKey, + @JsonProperty("country_ids") List countryIds) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(countryIds, "countryIds"); + this.apiKey = apiKey; + this.countryIds = countryIds; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The list of IDs of countries (comma separated) you need the data for, check more: https://docs.openaq.org/resources/countries + */ + @JsonIgnore + public List countryIds() { + return countryIds; + } + + @JsonIgnore + public Openaq sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceOpenaq withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The list of IDs of countries (comma separated) you need the data for, check more: https://docs.openaq.org/resources/countries + */ + public SourceOpenaq withCountryIds(List countryIds) { + Utils.checkNotNull(countryIds, "countryIds"); + this.countryIds = countryIds; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOpenaq other = (SourceOpenaq) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.countryIds, other.countryIds) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + countryIds, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceOpenaq.class, + "apiKey", apiKey, + "countryIds", countryIds, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private List countryIds; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The list of IDs of countries (comma separated) you need the data for, check more: https://docs.openaq.org/resources/countries + */ + public Builder countryIds(List countryIds) { + Utils.checkNotNull(countryIds, "countryIds"); + this.countryIds = countryIds; + return this; + } + + public SourceOpenaq build() { + return new SourceOpenaq( + apiKey, + countryIds); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"openaq\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOpenfda.java b/src/main/java/com/airbyte/api/models/shared/SourceOpenfda.java new file mode 100644 index 000000000..81d302725 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOpenfda.java @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceOpenfda { + + @JsonProperty("sourceType") + private Openfda sourceType; + + @JsonCreator + public SourceOpenfda() { + + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public Openfda sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOpenfda other = (SourceOpenfda) o; + return + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceOpenfda.class, + "sourceType", sourceType); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceOpenfda build() { + return new SourceOpenfda( + ); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"openfda\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOpenweather.java b/src/main/java/com/airbyte/api/models/shared/SourceOpenweather.java new file mode 100644 index 000000000..62c3f40f1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOpenweather.java @@ -0,0 +1,397 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceOpenweather { + + /** + * API KEY + */ + @JsonProperty("appid") + private String appid; + + /** + * You can use lang parameter to get the output in your language. The contents of the description field will be translated. See <a href="https://openweathermap.org/api/one-call-api#multi">here</a> for the list of supported languages. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lang") + private Optional lang; + + /** + * Latitude, decimal (-90; 90). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API + */ + @JsonProperty("lat") + private String lat; + + /** + * Longitude, decimal (-180; 180). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API + */ + @JsonProperty("lon") + private String lon; + + /** + * True for particular day + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("only_current") + private Optional onlyCurrent; + + @JsonProperty("sourceType") + private Openweather sourceType; + + /** + * Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("units") + private Optional units; + + @JsonCreator + public SourceOpenweather( + @JsonProperty("appid") String appid, + @JsonProperty("lang") Optional lang, + @JsonProperty("lat") String lat, + @JsonProperty("lon") String lon, + @JsonProperty("only_current") Optional onlyCurrent, + @JsonProperty("units") Optional units) { + Utils.checkNotNull(appid, "appid"); + Utils.checkNotNull(lang, "lang"); + Utils.checkNotNull(lat, "lat"); + Utils.checkNotNull(lon, "lon"); + Utils.checkNotNull(onlyCurrent, "onlyCurrent"); + Utils.checkNotNull(units, "units"); + this.appid = appid; + this.lang = lang; + this.lat = lat; + this.lon = lon; + this.onlyCurrent = onlyCurrent; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.units = units; + } + + public SourceOpenweather( + String appid, + String lat, + String lon) { + this(appid, Optional.empty(), lat, lon, Optional.empty(), Optional.empty()); + } + + /** + * API KEY + */ + @JsonIgnore + public String appid() { + return appid; + } + + /** + * You can use lang parameter to get the output in your language. The contents of the description field will be translated. See <a href="https://openweathermap.org/api/one-call-api#multi">here</a> for the list of supported languages. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional lang() { + return (Optional) lang; + } + + /** + * Latitude, decimal (-90; 90). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API + */ + @JsonIgnore + public String lat() { + return lat; + } + + /** + * Longitude, decimal (-180; 180). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API + */ + @JsonIgnore + public String lon() { + return lon; + } + + /** + * True for particular day + */ + @JsonIgnore + public Optional onlyCurrent() { + return onlyCurrent; + } + + @JsonIgnore + public Openweather sourceType() { + return sourceType; + } + + /** + * Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional units() { + return (Optional) units; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API KEY + */ + public SourceOpenweather withAppid(String appid) { + Utils.checkNotNull(appid, "appid"); + this.appid = appid; + return this; + } + + /** + * You can use lang parameter to get the output in your language. The contents of the description field will be translated. See <a href="https://openweathermap.org/api/one-call-api#multi">here</a> for the list of supported languages. + */ + public SourceOpenweather withLang(Lang lang) { + Utils.checkNotNull(lang, "lang"); + this.lang = Optional.ofNullable(lang); + return this; + } + + /** + * You can use lang parameter to get the output in your language. The contents of the description field will be translated. See <a href="https://openweathermap.org/api/one-call-api#multi">here</a> for the list of supported languages. + */ + public SourceOpenweather withLang(Optional lang) { + Utils.checkNotNull(lang, "lang"); + this.lang = lang; + return this; + } + + /** + * Latitude, decimal (-90; 90). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API + */ + public SourceOpenweather withLat(String lat) { + Utils.checkNotNull(lat, "lat"); + this.lat = lat; + return this; + } + + /** + * Longitude, decimal (-180; 180). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API + */ + public SourceOpenweather withLon(String lon) { + Utils.checkNotNull(lon, "lon"); + this.lon = lon; + return this; + } + + /** + * True for particular day + */ + public SourceOpenweather withOnlyCurrent(boolean onlyCurrent) { + Utils.checkNotNull(onlyCurrent, "onlyCurrent"); + this.onlyCurrent = Optional.ofNullable(onlyCurrent); + return this; + } + + /** + * True for particular day + */ + public SourceOpenweather withOnlyCurrent(Optional onlyCurrent) { + Utils.checkNotNull(onlyCurrent, "onlyCurrent"); + this.onlyCurrent = onlyCurrent; + return this; + } + + /** + * Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. + */ + public SourceOpenweather withUnits(Units units) { + Utils.checkNotNull(units, "units"); + this.units = Optional.ofNullable(units); + return this; + } + + /** + * Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. + */ + public SourceOpenweather withUnits(Optional units) { + Utils.checkNotNull(units, "units"); + this.units = units; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOpenweather other = (SourceOpenweather) o; + return + Objects.deepEquals(this.appid, other.appid) && + Objects.deepEquals(this.lang, other.lang) && + Objects.deepEquals(this.lat, other.lat) && + Objects.deepEquals(this.lon, other.lon) && + Objects.deepEquals(this.onlyCurrent, other.onlyCurrent) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.units, other.units); + } + + @Override + public int hashCode() { + return Objects.hash( + appid, + lang, + lat, + lon, + onlyCurrent, + sourceType, + units); + } + + @Override + public String toString() { + return Utils.toString(SourceOpenweather.class, + "appid", appid, + "lang", lang, + "lat", lat, + "lon", lon, + "onlyCurrent", onlyCurrent, + "sourceType", sourceType, + "units", units); + } + + public final static class Builder { + + private String appid; + + private Optional lang = Optional.empty(); + + private String lat; + + private String lon; + + private Optional onlyCurrent = Optional.empty(); + + private Optional units = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * API KEY + */ + public Builder appid(String appid) { + Utils.checkNotNull(appid, "appid"); + this.appid = appid; + return this; + } + + /** + * You can use lang parameter to get the output in your language. The contents of the description field will be translated. See <a href="https://openweathermap.org/api/one-call-api#multi">here</a> for the list of supported languages. + */ + public Builder lang(Lang lang) { + Utils.checkNotNull(lang, "lang"); + this.lang = Optional.ofNullable(lang); + return this; + } + + /** + * You can use lang parameter to get the output in your language. The contents of the description field will be translated. See <a href="https://openweathermap.org/api/one-call-api#multi">here</a> for the list of supported languages. + */ + public Builder lang(Optional lang) { + Utils.checkNotNull(lang, "lang"); + this.lang = lang; + return this; + } + + /** + * Latitude, decimal (-90; 90). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API + */ + public Builder lat(String lat) { + Utils.checkNotNull(lat, "lat"); + this.lat = lat; + return this; + } + + /** + * Longitude, decimal (-180; 180). If you need the geocoder to automatic convert city names and zip-codes to geo coordinates and the other way around, please use the OpenWeather Geocoding API + */ + public Builder lon(String lon) { + Utils.checkNotNull(lon, "lon"); + this.lon = lon; + return this; + } + + /** + * True for particular day + */ + public Builder onlyCurrent(boolean onlyCurrent) { + Utils.checkNotNull(onlyCurrent, "onlyCurrent"); + this.onlyCurrent = Optional.ofNullable(onlyCurrent); + return this; + } + + /** + * True for particular day + */ + public Builder onlyCurrent(Optional onlyCurrent) { + Utils.checkNotNull(onlyCurrent, "onlyCurrent"); + this.onlyCurrent = onlyCurrent; + return this; + } + + /** + * Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. + */ + public Builder units(Units units) { + Utils.checkNotNull(units, "units"); + this.units = Optional.ofNullable(units); + return this; + } + + /** + * Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. + */ + public Builder units(Optional units) { + Utils.checkNotNull(units, "units"); + this.units = units; + return this; + } + + public SourceOpenweather build() { + return new SourceOpenweather( + appid, + lang, + lat, + lon, + onlyCurrent, + units); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"openweather\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOpinionStage.java b/src/main/java/com/airbyte/api/models/shared/SourceOpinionStage.java new file mode 100644 index 000000000..400e81c5a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOpinionStage.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceOpinionStage { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private OpinionStage sourceType; + + @JsonCreator + public SourceOpinionStage( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public OpinionStage sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceOpinionStage withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOpinionStage other = (SourceOpinionStage) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceOpinionStage.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceOpinionStage build() { + return new SourceOpinionStage( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"opinion-stage\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOpsgenie.java b/src/main/java/com/airbyte/api/models/shared/SourceOpsgenie.java new file mode 100644 index 000000000..95bdaa8d2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOpsgenie.java @@ -0,0 +1,257 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceOpsgenie { + + /** + * API token used to access the Opsgenie platform + */ + @JsonProperty("api_token") + private String apiToken; + + /** + * Service endpoint to use for API calls. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("endpoint") + private Optional endpoint; + + @JsonProperty("sourceType") + private Opsgenie sourceType; + + /** + * The date from which you'd like to replicate data from Opsgenie in the format of YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only in the following incremental streams: issues. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonCreator + public SourceOpsgenie( + @JsonProperty("api_token") String apiToken, + @JsonProperty("endpoint") Optional endpoint, + @JsonProperty("start_date") Optional startDate) { + Utils.checkNotNull(apiToken, "apiToken"); + Utils.checkNotNull(endpoint, "endpoint"); + Utils.checkNotNull(startDate, "startDate"); + this.apiToken = apiToken; + this.endpoint = endpoint; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceOpsgenie( + String apiToken) { + this(apiToken, Optional.empty(), Optional.empty()); + } + + /** + * API token used to access the Opsgenie platform + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + /** + * Service endpoint to use for API calls. + */ + @JsonIgnore + public Optional endpoint() { + return endpoint; + } + + @JsonIgnore + public Opsgenie sourceType() { + return sourceType; + } + + /** + * The date from which you'd like to replicate data from Opsgenie in the format of YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only in the following incremental streams: issues. + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token used to access the Opsgenie platform + */ + public SourceOpsgenie withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * Service endpoint to use for API calls. + */ + public SourceOpsgenie withEndpoint(String endpoint) { + Utils.checkNotNull(endpoint, "endpoint"); + this.endpoint = Optional.ofNullable(endpoint); + return this; + } + + /** + * Service endpoint to use for API calls. + */ + public SourceOpsgenie withEndpoint(Optional endpoint) { + Utils.checkNotNull(endpoint, "endpoint"); + this.endpoint = endpoint; + return this; + } + + /** + * The date from which you'd like to replicate data from Opsgenie in the format of YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only in the following incremental streams: issues. + */ + public SourceOpsgenie withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * The date from which you'd like to replicate data from Opsgenie in the format of YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only in the following incremental streams: issues. + */ + public SourceOpsgenie withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOpsgenie other = (SourceOpsgenie) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.endpoint, other.endpoint) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + endpoint, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceOpsgenie.class, + "apiToken", apiToken, + "endpoint", endpoint, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiToken; + + private Optional endpoint; + + private Optional startDate = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * API token used to access the Opsgenie platform + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * Service endpoint to use for API calls. + */ + public Builder endpoint(String endpoint) { + Utils.checkNotNull(endpoint, "endpoint"); + this.endpoint = Optional.ofNullable(endpoint); + return this; + } + + /** + * Service endpoint to use for API calls. + */ + public Builder endpoint(Optional endpoint) { + Utils.checkNotNull(endpoint, "endpoint"); + this.endpoint = endpoint; + return this; + } + + /** + * The date from which you'd like to replicate data from Opsgenie in the format of YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only in the following incremental streams: issues. + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * The date from which you'd like to replicate data from Opsgenie in the format of YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only in the following incremental streams: issues. + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceOpsgenie build() { + if (endpoint == null) { + endpoint = _SINGLETON_VALUE_Endpoint.value(); + } return new SourceOpsgenie( + apiToken, + endpoint, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Endpoint = + new LazySingletonValue<>( + "endpoint", + "\"api.opsgenie.com\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"opsgenie\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracle.java b/src/main/java/com/airbyte/api/models/shared/SourceOracle.java index 7503e4b9a..0ab977d5d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracle.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceOracle { /** @@ -46,14 +49,14 @@ public class SourceOracle { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * The password associated with the username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * Port of the database. @@ -63,14 +66,14 @@ public class SourceOracle { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * The list of schemas to sync from. Defaults to user. Case sensitive. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemas") - private Optional> schemas; + private Optional> schemas; @JsonProperty("sourceType") private SourceOracleOracle sourceType; @@ -93,10 +96,10 @@ public SourceOracle( @JsonProperty("connection_data") Optional connectionData, @JsonProperty("encryption") Optional encryption, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, - @JsonProperty("schemas") Optional> schemas, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, + @JsonProperty("schemas") Optional> schemas, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { Utils.checkNotNull(connectionData, "connectionData"); @@ -155,19 +158,17 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * The password associated with the username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** @@ -176,10 +177,9 @@ public Optional password() { * 1521 - Default listening port for client connections to the listener. * 2484 - Recommended and officially registered listening port for client connections to the listener using TCP/IP with SSL */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** @@ -187,8 +187,8 @@ public Optional port() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> schemas() { - return (Optional>) schemas; + public Optional> schemas() { + return (Optional>) schemas; } @JsonIgnore @@ -274,7 +274,7 @@ public SourceOracle withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public SourceOracle withJdbcUrlParams(Optional jdbcUrlParams) { + public SourceOracle withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -292,7 +292,7 @@ public SourceOracle withPassword(String password) { /** * The password associated with the username. */ - public SourceOracle withPassword(Optional password) { + public SourceOracle withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -316,7 +316,7 @@ public SourceOracle withPort(long port) { * 1521 - Default listening port for client connections to the listener. * 2484 - Recommended and officially registered listening port for client connections to the listener using TCP/IP with SSL */ - public SourceOracle withPort(Optional port) { + public SourceOracle withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -325,7 +325,7 @@ public SourceOracle withPort(Optional port) { /** * The list of schemas to sync from. Defaults to user. Case sensitive. */ - public SourceOracle withSchemas(java.util.List schemas) { + public SourceOracle withSchemas(List schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = Optional.ofNullable(schemas); return this; @@ -334,7 +334,7 @@ public SourceOracle withSchemas(java.util.List schemas) { /** * The list of schemas to sync from. Defaults to user. Case sensitive. */ - public SourceOracle withSchemas(Optional> schemas) { + public SourceOracle withSchemas(Optional> schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = schemas; return this; @@ -377,21 +377,21 @@ public boolean equals(java.lang.Object o) { } SourceOracle other = (SourceOracle) o; return - java.util.Objects.deepEquals(this.connectionData, other.connectionData) && - java.util.Objects.deepEquals(this.encryption, other.encryption) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.schemas, other.schemas) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.connectionData, other.connectionData) && + Objects.deepEquals(this.encryption, other.encryption) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.schemas, other.schemas) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionData, encryption, host, @@ -427,13 +427,13 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; - private Optional> schemas = Optional.empty(); + private Optional> schemas = Optional.empty(); private Optional tunnelMethod = Optional.empty(); @@ -500,7 +500,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -518,7 +518,7 @@ public Builder password(String password) { /** * The password associated with the username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -542,7 +542,7 @@ public Builder port(long port) { * 1521 - Default listening port for client connections to the listener. * 2484 - Recommended and officially registered listening port for client connections to the listener using TCP/IP with SSL */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -551,7 +551,7 @@ public Builder port(Optional port) { /** * The list of schemas to sync from. Defaults to user. Case sensitive. */ - public Builder schemas(java.util.List schemas) { + public Builder schemas(List schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = Optional.ofNullable(schemas); return this; @@ -560,7 +560,7 @@ public Builder schemas(java.util.List schemas) { /** * The list of schemas to sync from. Defaults to user. Case sensitive. */ - public Builder schemas(Optional> schemas) { + public Builder schemas(Optional> schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = schemas; return this; @@ -596,8 +596,7 @@ public Builder username(String username) { public SourceOracle build() { if (port == null) { port = _SINGLETON_VALUE_Port.value(); - } - return new SourceOracle( + } return new SourceOracle( connectionData, encryption, host, @@ -609,11 +608,11 @@ public SourceOracle build() { username); } - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "1521", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionType.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionType.java index 64082d07d..31772299e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleConnectionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceOracleConnectionType { SID("sid"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryption.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryption.java index 17fdd6647..fc7acbbc0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryption.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryption.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceOracleEncryption - The encryption method with is used when communicating with the database. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceOracleEncryption._Deserializer.class) public class SourceOracleEncryption { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceOracleEncryption(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceOracleEncryption of(SourceOracleTLSEncryptedVerifyCertificat /** * Returns an instance of one of these types: *
      - *
    • {@code SourceOracleUnencrypted}
    • - *
    • {@code SourceOracleNativeNetworkEncryptionNNE}
    • - *
    • {@code SourceOracleTLSEncryptedVerifyCertificate}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOracleUnencrypted}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOracleNativeNetworkEncryptionNNE}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOracleTLSEncryptedVerifyCertificate}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceOracleEncryption other = (SourceOracleEncryption) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceOracleEncryption.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceOracleEncryption.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionAlgorithm.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionAlgorithm.java index 44f03ca73..21efdf3e1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionAlgorithm.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionAlgorithm.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceOracleEncryptionAlgorithm - This parameter defines what encryption algorithm is used. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionMethod.java index 8e81fa32e..3c5d291df 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleEncryptionMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceOracleEncryptionMethod { UNENCRYPTED("unencrypted"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleNativeNetworkEncryptionNNE.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleNativeNetworkEncryptionNNE.java index 94647b850..2ef44452e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleNativeNetworkEncryptionNNE.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleNativeNetworkEncryptionNNE.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceOracleNativeNetworkEncryptionNNE - The native network encryption gives you the ability to encrypt database connections, without the configuration overhead of TCP/IP and SSL/TLS and without the need to open and listen on different ports. */ @@ -92,13 +93,13 @@ public boolean equals(java.lang.Object o) { } SourceOracleNativeNetworkEncryptionNNE other = (SourceOracleNativeNetworkEncryptionNNE) o; return - java.util.Objects.deepEquals(this.encryptionAlgorithm, other.encryptionAlgorithm) && - java.util.Objects.deepEquals(this.encryptionMethod, other.encryptionMethod); + Objects.deepEquals(this.encryptionAlgorithm, other.encryptionAlgorithm) && + Objects.deepEquals(this.encryptionMethod, other.encryptionMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( encryptionAlgorithm, encryptionMethod); } @@ -139,8 +140,7 @@ public Builder encryptionAlgorithm(Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class SourceOraclePasswordAuthentication { @JsonCreator public SourceOraclePasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public SourceOracleSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public SourceOraclePasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourceOraclePasswordAuthentication withTunnelPort(Optional tunnelPort) { + public SourceOraclePasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourceOraclePasswordAuthentication other = (SourceOraclePasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public SourceOraclePasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourceOraclePasswordAuthentication( + } return new SourceOraclePasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public SourceOraclePasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleSSHKeyAuthentication.java index 9cae23696..7bca5d001 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceOracleSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class SourceOracleSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class SourceOracleSSHKeyAuthentication { public SourceOracleSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public SourceOracleSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public SourceOracleSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourceOracleSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public SourceOracleSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourceOracleSSHKeyAuthentication other = (SourceOracleSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public SourceOracleSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourceOracleSSHKeyAuthentication( + } return new SourceOracleSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public SourceOracleSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleSSHTunnelMethod.java index d0dc3aa4b..3f3eed1ee 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceOracleSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceOracleSSHTunnelMethod._Deserializer.class) public class SourceOracleSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceOracleSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceOracleSSHTunnelMethod of(SourceOraclePasswordAuthentication /** * Returns an instance of one of these types: *

      - *
    • {@code SourceOracleNoTunnel}
    • - *
    • {@code SourceOracleSSHKeyAuthentication}
    • - *
    • {@code SourceOraclePasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOracleNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOracleSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOraclePasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceOracleSSHTunnelMethod other = (SourceOracleSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceOracleSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceOracleSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionEncryptionMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionEncryptionMethod.java index 1b57aa575..7813d0707 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionEncryptionMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionEncryptionMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceOracleSchemasEncryptionEncryptionMethod { ENCRYPTED_VERIFY_CERTIFICATE("encrypted_verify_certificate"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionMethod.java index 8a88ea554..5daa5c5b6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasEncryptionMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceOracleSchemasEncryptionMethod { CLIENT_NNE("client_nne"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethod.java index c08e9ac05..585aad451 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceOracleSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.java index 47df6d5dc..a33a3c6ca 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceOracleSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleTLSEncryptedVerifyCertificate.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleTLSEncryptedVerifyCertificate.java index ddb892ab6..508b6e723 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleTLSEncryptedVerifyCertificate.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleTLSEncryptedVerifyCertificate.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * SourceOracleTLSEncryptedVerifyCertificate - Verify and use the certificate provided by the server. */ @@ -74,13 +74,13 @@ public boolean equals(java.lang.Object o) { } SourceOracleTLSEncryptedVerifyCertificate other = (SourceOracleTLSEncryptedVerifyCertificate) o; return - java.util.Objects.deepEquals(this.encryptionMethod, other.encryptionMethod) && - java.util.Objects.deepEquals(this.sslCertificate, other.sslCertificate); + Objects.deepEquals(this.encryptionMethod, other.encryptionMethod) && + Objects.deepEquals(this.sslCertificate, other.sslCertificate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( encryptionMethod, sslCertificate); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethod.java index 6160ca524..7bbc1da35 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceOracleTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOracleUnencrypted.java b/src/main/java/com/airbyte/api/models/shared/SourceOracleUnencrypted.java index 2e98f9e0f..9504e1263 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOracleUnencrypted.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOracleUnencrypted.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * SourceOracleUnencrypted - Data transfer will not be encrypted. */ @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } SourceOracleUnencrypted other = (SourceOracleUnencrypted) o; return - java.util.Objects.deepEquals(this.encryptionMethod, other.encryptionMethod); + Objects.deepEquals(this.encryptionMethod, other.encryptionMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( encryptionMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOrb.java b/src/main/java/com/airbyte/api/models/shared/SourceOrb.java index 1a2af82ae..14a95628e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOrb.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOrb.java @@ -1,27 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceOrb { /** @@ -35,28 +36,28 @@ public class SourceOrb { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * When set to N, the connector will always refresh resources created within the past N days. By default, updated objects that are not newly created are not incrementally synced. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window_days") - private Optional lookbackWindowDays; + private Optional lookbackWindowDays; /** * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("numeric_event_properties_keys") - private Optional> numericEventPropertiesKeys; + private Optional> numericEventPropertiesKeys; /** * Orb Plan ID to filter subscriptions that should have usage fetched. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("plan_id") - private Optional planId; + private Optional planId; @JsonProperty("sourceType") private Orb sourceType; @@ -72,25 +73,25 @@ public class SourceOrb { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("string_event_properties_keys") - private Optional> stringEventPropertiesKeys; + private Optional> stringEventPropertiesKeys; /** * Property key name to group subscription usage by. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("subscription_usage_grouping_key") - private Optional subscriptionUsageGroupingKey; + private Optional subscriptionUsageGroupingKey; @JsonCreator public SourceOrb( @JsonProperty("api_key") String apiKey, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("lookback_window_days") Optional lookbackWindowDays, - @JsonProperty("numeric_event_properties_keys") Optional> numericEventPropertiesKeys, - @JsonProperty("plan_id") Optional planId, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("lookback_window_days") Optional lookbackWindowDays, + @JsonProperty("numeric_event_properties_keys") Optional> numericEventPropertiesKeys, + @JsonProperty("plan_id") Optional planId, @JsonProperty("start_date") OffsetDateTime startDate, - @JsonProperty("string_event_properties_keys") Optional> stringEventPropertiesKeys, - @JsonProperty("subscription_usage_grouping_key") Optional subscriptionUsageGroupingKey) { + @JsonProperty("string_event_properties_keys") Optional> stringEventPropertiesKeys, + @JsonProperty("subscription_usage_grouping_key") Optional subscriptionUsageGroupingKey) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(endDate, "endDate"); Utils.checkNotNull(lookbackWindowDays, "lookbackWindowDays"); @@ -127,19 +128,17 @@ public String apiKey() { /** * UTC date and time in the format 2022-03-01T00:00:00Z. Any data with created_at after this data will not be synced. For Subscription Usage, this becomes the `timeframe_start` API parameter. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** * When set to N, the connector will always refresh resources created within the past N days. By default, updated objects that are not newly created are not incrementally synced. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindowDays() { - return (Optional) lookbackWindowDays; + return lookbackWindowDays; } /** @@ -147,17 +146,16 @@ public Optional lookbackWindowDays() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> numericEventPropertiesKeys() { - return (Optional>) numericEventPropertiesKeys; + public Optional> numericEventPropertiesKeys() { + return (Optional>) numericEventPropertiesKeys; } /** * Orb Plan ID to filter subscriptions that should have usage fetched. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional planId() { - return (Optional) planId; + return planId; } @JsonIgnore @@ -178,17 +176,16 @@ public OffsetDateTime startDate() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> stringEventPropertiesKeys() { - return (Optional>) stringEventPropertiesKeys; + public Optional> stringEventPropertiesKeys() { + return (Optional>) stringEventPropertiesKeys; } /** * Property key name to group subscription usage by. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional subscriptionUsageGroupingKey() { - return (Optional) subscriptionUsageGroupingKey; + return subscriptionUsageGroupingKey; } public final static Builder builder() { @@ -216,7 +213,7 @@ public SourceOrb withEndDate(String endDate) { /** * UTC date and time in the format 2022-03-01T00:00:00Z. Any data with created_at after this data will not be synced. For Subscription Usage, this becomes the `timeframe_start` API parameter. */ - public SourceOrb withEndDate(Optional endDate) { + public SourceOrb withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -234,7 +231,7 @@ public SourceOrb withLookbackWindowDays(long lookbackWindowDays) { /** * When set to N, the connector will always refresh resources created within the past N days. By default, updated objects that are not newly created are not incrementally synced. */ - public SourceOrb withLookbackWindowDays(Optional lookbackWindowDays) { + public SourceOrb withLookbackWindowDays(Optional lookbackWindowDays) { Utils.checkNotNull(lookbackWindowDays, "lookbackWindowDays"); this.lookbackWindowDays = lookbackWindowDays; return this; @@ -243,7 +240,7 @@ public SourceOrb withLookbackWindowDays(Optional lookbackWindowD /** * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. */ - public SourceOrb withNumericEventPropertiesKeys(java.util.List numericEventPropertiesKeys) { + public SourceOrb withNumericEventPropertiesKeys(List numericEventPropertiesKeys) { Utils.checkNotNull(numericEventPropertiesKeys, "numericEventPropertiesKeys"); this.numericEventPropertiesKeys = Optional.ofNullable(numericEventPropertiesKeys); return this; @@ -252,7 +249,7 @@ public SourceOrb withNumericEventPropertiesKeys(java.util.List numericEv /** * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. */ - public SourceOrb withNumericEventPropertiesKeys(Optional> numericEventPropertiesKeys) { + public SourceOrb withNumericEventPropertiesKeys(Optional> numericEventPropertiesKeys) { Utils.checkNotNull(numericEventPropertiesKeys, "numericEventPropertiesKeys"); this.numericEventPropertiesKeys = numericEventPropertiesKeys; return this; @@ -270,7 +267,7 @@ public SourceOrb withPlanId(String planId) { /** * Orb Plan ID to filter subscriptions that should have usage fetched. */ - public SourceOrb withPlanId(Optional planId) { + public SourceOrb withPlanId(Optional planId) { Utils.checkNotNull(planId, "planId"); this.planId = planId; return this; @@ -288,7 +285,7 @@ public SourceOrb withStartDate(OffsetDateTime startDate) { /** * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. */ - public SourceOrb withStringEventPropertiesKeys(java.util.List stringEventPropertiesKeys) { + public SourceOrb withStringEventPropertiesKeys(List stringEventPropertiesKeys) { Utils.checkNotNull(stringEventPropertiesKeys, "stringEventPropertiesKeys"); this.stringEventPropertiesKeys = Optional.ofNullable(stringEventPropertiesKeys); return this; @@ -297,7 +294,7 @@ public SourceOrb withStringEventPropertiesKeys(java.util.List stringEven /** * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. */ - public SourceOrb withStringEventPropertiesKeys(Optional> stringEventPropertiesKeys) { + public SourceOrb withStringEventPropertiesKeys(Optional> stringEventPropertiesKeys) { Utils.checkNotNull(stringEventPropertiesKeys, "stringEventPropertiesKeys"); this.stringEventPropertiesKeys = stringEventPropertiesKeys; return this; @@ -315,7 +312,7 @@ public SourceOrb withSubscriptionUsageGroupingKey(String subscriptionUsageGroupi /** * Property key name to group subscription usage by. */ - public SourceOrb withSubscriptionUsageGroupingKey(Optional subscriptionUsageGroupingKey) { + public SourceOrb withSubscriptionUsageGroupingKey(Optional subscriptionUsageGroupingKey) { Utils.checkNotNull(subscriptionUsageGroupingKey, "subscriptionUsageGroupingKey"); this.subscriptionUsageGroupingKey = subscriptionUsageGroupingKey; return this; @@ -331,20 +328,20 @@ public boolean equals(java.lang.Object o) { } SourceOrb other = (SourceOrb) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.lookbackWindowDays, other.lookbackWindowDays) && - java.util.Objects.deepEquals(this.numericEventPropertiesKeys, other.numericEventPropertiesKeys) && - java.util.Objects.deepEquals(this.planId, other.planId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.stringEventPropertiesKeys, other.stringEventPropertiesKeys) && - java.util.Objects.deepEquals(this.subscriptionUsageGroupingKey, other.subscriptionUsageGroupingKey); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.lookbackWindowDays, other.lookbackWindowDays) && + Objects.deepEquals(this.numericEventPropertiesKeys, other.numericEventPropertiesKeys) && + Objects.deepEquals(this.planId, other.planId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.stringEventPropertiesKeys, other.stringEventPropertiesKeys) && + Objects.deepEquals(this.subscriptionUsageGroupingKey, other.subscriptionUsageGroupingKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, endDate, lookbackWindowDays, @@ -374,19 +371,19 @@ public final static class Builder { private String apiKey; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional lookbackWindowDays; + private Optional lookbackWindowDays; - private Optional> numericEventPropertiesKeys = Optional.empty(); + private Optional> numericEventPropertiesKeys = Optional.empty(); - private Optional planId = Optional.empty(); + private Optional planId = Optional.empty(); private OffsetDateTime startDate; - private Optional> stringEventPropertiesKeys = Optional.empty(); + private Optional> stringEventPropertiesKeys = Optional.empty(); - private Optional subscriptionUsageGroupingKey = Optional.empty(); + private Optional subscriptionUsageGroupingKey = Optional.empty(); private Builder() { // force use of static builder() method @@ -413,7 +410,7 @@ public Builder endDate(String endDate) { /** * UTC date and time in the format 2022-03-01T00:00:00Z. Any data with created_at after this data will not be synced. For Subscription Usage, this becomes the `timeframe_start` API parameter. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -431,7 +428,7 @@ public Builder lookbackWindowDays(long lookbackWindowDays) { /** * When set to N, the connector will always refresh resources created within the past N days. By default, updated objects that are not newly created are not incrementally synced. */ - public Builder lookbackWindowDays(Optional lookbackWindowDays) { + public Builder lookbackWindowDays(Optional lookbackWindowDays) { Utils.checkNotNull(lookbackWindowDays, "lookbackWindowDays"); this.lookbackWindowDays = lookbackWindowDays; return this; @@ -440,7 +437,7 @@ public Builder lookbackWindowDays(Optional lookbackWindowDays) { /** * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. */ - public Builder numericEventPropertiesKeys(java.util.List numericEventPropertiesKeys) { + public Builder numericEventPropertiesKeys(List numericEventPropertiesKeys) { Utils.checkNotNull(numericEventPropertiesKeys, "numericEventPropertiesKeys"); this.numericEventPropertiesKeys = Optional.ofNullable(numericEventPropertiesKeys); return this; @@ -449,7 +446,7 @@ public Builder numericEventPropertiesKeys(java.util.List numericEventPro /** * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. */ - public Builder numericEventPropertiesKeys(Optional> numericEventPropertiesKeys) { + public Builder numericEventPropertiesKeys(Optional> numericEventPropertiesKeys) { Utils.checkNotNull(numericEventPropertiesKeys, "numericEventPropertiesKeys"); this.numericEventPropertiesKeys = numericEventPropertiesKeys; return this; @@ -467,7 +464,7 @@ public Builder planId(String planId) { /** * Orb Plan ID to filter subscriptions that should have usage fetched. */ - public Builder planId(Optional planId) { + public Builder planId(Optional planId) { Utils.checkNotNull(planId, "planId"); this.planId = planId; return this; @@ -485,7 +482,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. */ - public Builder stringEventPropertiesKeys(java.util.List stringEventPropertiesKeys) { + public Builder stringEventPropertiesKeys(List stringEventPropertiesKeys) { Utils.checkNotNull(stringEventPropertiesKeys, "stringEventPropertiesKeys"); this.stringEventPropertiesKeys = Optional.ofNullable(stringEventPropertiesKeys); return this; @@ -494,7 +491,7 @@ public Builder stringEventPropertiesKeys(java.util.List stringEventPrope /** * Property key names to extract from all events, in order to enrich ledger entries corresponding to an event deduction. */ - public Builder stringEventPropertiesKeys(Optional> stringEventPropertiesKeys) { + public Builder stringEventPropertiesKeys(Optional> stringEventPropertiesKeys) { Utils.checkNotNull(stringEventPropertiesKeys, "stringEventPropertiesKeys"); this.stringEventPropertiesKeys = stringEventPropertiesKeys; return this; @@ -512,7 +509,7 @@ public Builder subscriptionUsageGroupingKey(String subscriptionUsageGroupingKey) /** * Property key name to group subscription usage by. */ - public Builder subscriptionUsageGroupingKey(Optional subscriptionUsageGroupingKey) { + public Builder subscriptionUsageGroupingKey(Optional subscriptionUsageGroupingKey) { Utils.checkNotNull(subscriptionUsageGroupingKey, "subscriptionUsageGroupingKey"); this.subscriptionUsageGroupingKey = subscriptionUsageGroupingKey; return this; @@ -521,8 +518,7 @@ public Builder subscriptionUsageGroupingKey(Optional subscript public SourceOrb build() { if (lookbackWindowDays == null) { lookbackWindowDays = _SINGLETON_VALUE_LookbackWindowDays.value(); - } - return new SourceOrb( + } return new SourceOrb( apiKey, endDate, lookbackWindowDays, @@ -533,11 +529,11 @@ public SourceOrb build() { subscriptionUsageGroupingKey); } - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowDays = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowDays = new LazySingletonValue<>( "lookback_window_days", "0", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOrbit.java b/src/main/java/com/airbyte/api/models/shared/SourceOrbit.java index cfd76286f..19a2d3bfb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOrbit.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOrbit.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceOrbit { /** @@ -35,7 +35,7 @@ public class SourceOrbit { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * The unique name of the workspace that your API token is associated with. @@ -46,7 +46,7 @@ public class SourceOrbit { @JsonCreator public SourceOrbit( @JsonProperty("api_token") String apiToken, - @JsonProperty("start_date") Optional startDate, + @JsonProperty("start_date") Optional startDate, @JsonProperty("workspace") String workspace) { Utils.checkNotNull(apiToken, "apiToken"); Utils.checkNotNull(startDate, "startDate"); @@ -79,10 +79,9 @@ public Orbit sourceType() { /** * Date in the format 2022-06-26. Only load members whose last activities are after this date. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -118,7 +117,7 @@ public SourceOrbit withStartDate(String startDate) { /** * Date in the format 2022-06-26. Only load members whose last activities are after this date. */ - public SourceOrbit withStartDate(Optional startDate) { + public SourceOrbit withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -143,15 +142,15 @@ public boolean equals(java.lang.Object o) { } SourceOrbit other = (SourceOrbit) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.workspace, other.workspace); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.workspace, other.workspace); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, sourceType, startDate, @@ -171,7 +170,7 @@ public final static class Builder { private String apiToken; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private String workspace; @@ -200,7 +199,7 @@ public Builder startDate(String startDate) { /** * Date in the format 2022-06-26. Only load members whose last activities are after this date. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOura.java b/src/main/java/com/airbyte/api/models/shared/SourceOura.java new file mode 100644 index 000000000..195e0ab7c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOura.java @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceOura { + + /** + * API Key + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * End datetime to sync until. Default is current UTC datetime. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_datetime") + private Optional endDatetime; + + @JsonProperty("sourceType") + private Oura sourceType; + + /** + * Start datetime to sync from. Default is current UTC datetime minus 1 + * day. + * + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_datetime") + private Optional startDatetime; + + @JsonCreator + public SourceOura( + @JsonProperty("api_key") String apiKey, + @JsonProperty("end_datetime") Optional endDatetime, + @JsonProperty("start_datetime") Optional startDatetime) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(endDatetime, "endDatetime"); + Utils.checkNotNull(startDatetime, "startDatetime"); + this.apiKey = apiKey; + this.endDatetime = endDatetime; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDatetime = startDatetime; + } + + public SourceOura( + String apiKey) { + this(apiKey, Optional.empty(), Optional.empty()); + } + + /** + * API Key + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * End datetime to sync until. Default is current UTC datetime. + */ + @JsonIgnore + public Optional endDatetime() { + return endDatetime; + } + + @JsonIgnore + public Oura sourceType() { + return sourceType; + } + + /** + * Start datetime to sync from. Default is current UTC datetime minus 1 + * day. + * + */ + @JsonIgnore + public Optional startDatetime() { + return startDatetime; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API Key + */ + public SourceOura withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * End datetime to sync until. Default is current UTC datetime. + */ + public SourceOura withEndDatetime(OffsetDateTime endDatetime) { + Utils.checkNotNull(endDatetime, "endDatetime"); + this.endDatetime = Optional.ofNullable(endDatetime); + return this; + } + + /** + * End datetime to sync until. Default is current UTC datetime. + */ + public SourceOura withEndDatetime(Optional endDatetime) { + Utils.checkNotNull(endDatetime, "endDatetime"); + this.endDatetime = endDatetime; + return this; + } + + /** + * Start datetime to sync from. Default is current UTC datetime minus 1 + * day. + * + */ + public SourceOura withStartDatetime(OffsetDateTime startDatetime) { + Utils.checkNotNull(startDatetime, "startDatetime"); + this.startDatetime = Optional.ofNullable(startDatetime); + return this; + } + + /** + * Start datetime to sync from. Default is current UTC datetime minus 1 + * day. + * + */ + public SourceOura withStartDatetime(Optional startDatetime) { + Utils.checkNotNull(startDatetime, "startDatetime"); + this.startDatetime = startDatetime; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOura other = (SourceOura) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDatetime, other.endDatetime) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDatetime, other.startDatetime); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + endDatetime, + sourceType, + startDatetime); + } + + @Override + public String toString() { + return Utils.toString(SourceOura.class, + "apiKey", apiKey, + "endDatetime", endDatetime, + "sourceType", sourceType, + "startDatetime", startDatetime); + } + + public final static class Builder { + + private String apiKey; + + private Optional endDatetime = Optional.empty(); + + private Optional startDatetime = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * API Key + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * End datetime to sync until. Default is current UTC datetime. + */ + public Builder endDatetime(OffsetDateTime endDatetime) { + Utils.checkNotNull(endDatetime, "endDatetime"); + this.endDatetime = Optional.ofNullable(endDatetime); + return this; + } + + /** + * End datetime to sync until. Default is current UTC datetime. + */ + public Builder endDatetime(Optional endDatetime) { + Utils.checkNotNull(endDatetime, "endDatetime"); + this.endDatetime = endDatetime; + return this; + } + + /** + * Start datetime to sync from. Default is current UTC datetime minus 1 + * day. + * + */ + public Builder startDatetime(OffsetDateTime startDatetime) { + Utils.checkNotNull(startDatetime, "startDatetime"); + this.startDatetime = Optional.ofNullable(startDatetime); + return this; + } + + /** + * Start datetime to sync from. Default is current UTC datetime minus 1 + * day. + * + */ + public Builder startDatetime(Optional startDatetime) { + Utils.checkNotNull(startDatetime, "startDatetime"); + this.startDatetime = startDatetime; + return this; + } + + public SourceOura build() { + return new SourceOura( + apiKey, + endDatetime, + startDatetime); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"oura\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplify.java b/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplify.java index 25c27f4e6..93d05508c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplify.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplify.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceOutbrainAmplify { /** @@ -32,7 +33,7 @@ public class SourceOutbrainAmplify { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * The granularity used for geo location data in reports. @@ -60,7 +61,7 @@ public class SourceOutbrainAmplify { @JsonCreator public SourceOutbrainAmplify( @JsonProperty("credentials") SourceOutbrainAmplifyAuthenticationMethod credentials, - @JsonProperty("end_date") Optional endDate, + @JsonProperty("end_date") Optional endDate, @JsonProperty("geo_location_breakdown") Optional geoLocationBreakdown, @JsonProperty("report_granularity") Optional reportGranularity, @JsonProperty("start_date") String startDate) { @@ -94,10 +95,9 @@ public SourceOutbrainAmplifyAuthenticationMethod credentials() { /** * Date in the format YYYY-MM-DD. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** @@ -156,7 +156,7 @@ public SourceOutbrainAmplify withEndDate(String endDate) { /** * Date in the format YYYY-MM-DD. */ - public SourceOutbrainAmplify withEndDate(Optional endDate) { + public SourceOutbrainAmplify withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -217,17 +217,17 @@ public boolean equals(java.lang.Object o) { } SourceOutbrainAmplify other = (SourceOutbrainAmplify) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.geoLocationBreakdown, other.geoLocationBreakdown) && - java.util.Objects.deepEquals(this.reportGranularity, other.reportGranularity) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.geoLocationBreakdown, other.geoLocationBreakdown) && + Objects.deepEquals(this.reportGranularity, other.reportGranularity) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, endDate, geoLocationBreakdown, @@ -251,7 +251,7 @@ public final static class Builder { private SourceOutbrainAmplifyAuthenticationMethod credentials; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); private Optional geoLocationBreakdown = Optional.empty(); @@ -284,7 +284,7 @@ public Builder endDate(String endDate) { /** * Date in the format YYYY-MM-DD. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAccessToken.java index 096e01793..aa38fd03c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAccessToken.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceOutbrainAmplifyAccessToken { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceOutbrainAmplifyAccessToken other = (SourceOutbrainAmplifyAccessToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.type, other.type); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.type, other.type); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, type); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAuthenticationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAuthenticationMethod.java index ad6b88e66..03fa57709 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAuthenticationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyAuthenticationMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceOutbrainAmplifyAuthenticationMethod - Credentials for making authenticated requests requires either username/password or access_token. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceOutbrainAmplifyAuthenticationMethod._Deserializer.class) public class SourceOutbrainAmplifyAuthenticationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceOutbrainAmplifyAuthenticationMethod(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceOutbrainAmplifyAuthenticationMethod of(SourceOutbrainAmplify /** * Returns an instance of one of these types: *

      - *
    • {@code SourceOutbrainAmplifyAccessToken}
    • - *
    • {@code SourceOutbrainAmplifyUsernamePassword}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOutbrainAmplifyAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceOutbrainAmplifyUsernamePassword}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceOutbrainAmplifyAuthenticationMethod other = (SourceOutbrainAmplifyAuthenticationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceOutbrainAmplifyAuthenticationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceOutbrainAmplifyAuthenticationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyUsernamePassword.java b/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyUsernamePassword.java index 6a83744d0..dd9cf17cd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyUsernamePassword.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOutbrainAmplifyUsernamePassword.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceOutbrainAmplifyUsernamePassword { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceOutbrainAmplifyUsernamePassword other = (SourceOutbrainAmplifyUsernamePassword) o; return - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.type, other.type) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.type, other.type) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( password, type, username); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOutreach.java b/src/main/java/com/airbyte/api/models/shared/SourceOutreach.java index 18337228d..22fafd418 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceOutreach.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceOutreach.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceOutreach { @@ -175,17 +175,17 @@ public boolean equals(java.lang.Object o) { } SourceOutreach other = (SourceOutreach) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.redirectUri, other.redirectUri) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.redirectUri, other.redirectUri) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, redirectUri, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceOveit.java b/src/main/java/com/airbyte/api/models/shared/SourceOveit.java new file mode 100644 index 000000000..432506558 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceOveit.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceOveit { + + /** + * Oveit's login Email + */ + @JsonProperty("email") + private String email; + + /** + * Oveit's login Password + */ + @JsonProperty("password") + private String password; + + @JsonProperty("sourceType") + private Oveit sourceType; + + @JsonCreator + public SourceOveit( + @JsonProperty("email") String email, + @JsonProperty("password") String password) { + Utils.checkNotNull(email, "email"); + Utils.checkNotNull(password, "password"); + this.email = email; + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Oveit's login Email + */ + @JsonIgnore + public String email() { + return email; + } + + /** + * Oveit's login Password + */ + @JsonIgnore + public String password() { + return password; + } + + @JsonIgnore + public Oveit sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Oveit's login Email + */ + public SourceOveit withEmail(String email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + /** + * Oveit's login Password + */ + public SourceOveit withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceOveit other = (SourceOveit) o; + return + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + email, + password, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceOveit.class, + "email", email, + "password", password, + "sourceType", sourceType); + } + + public final static class Builder { + + private String email; + + private String password; + + private Builder() { + // force use of static builder() method + } + + /** + * Oveit's login Email + */ + public Builder email(String email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + /** + * Oveit's login Password + */ + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourceOveit build() { + return new SourceOveit( + email, + password); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"oveit\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePabblySubscriptionsBilling.java b/src/main/java/com/airbyte/api/models/shared/SourcePabblySubscriptionsBilling.java new file mode 100644 index 000000000..063e00d76 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePabblySubscriptionsBilling.java @@ -0,0 +1,159 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourcePabblySubscriptionsBilling { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private PabblySubscriptionsBilling sourceType; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourcePabblySubscriptionsBilling( + @JsonProperty("password") Optional password, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.username = username; + } + + public SourcePabblySubscriptionsBilling( + String username) { + this(Optional.empty(), username); + } + + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public PabblySubscriptionsBilling sourceType() { + return sourceType; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourcePabblySubscriptionsBilling withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourcePabblySubscriptionsBilling withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourcePabblySubscriptionsBilling withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePabblySubscriptionsBilling other = (SourcePabblySubscriptionsBilling) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + sourceType, + username); + } + + @Override + public String toString() { + return Utils.toString(SourcePabblySubscriptionsBilling.class, + "password", password, + "sourceType", sourceType, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private String username; + + private Builder() { + // force use of static builder() method + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourcePabblySubscriptionsBilling build() { + return new SourcePabblySubscriptionsBilling( + password, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"pabbly-subscriptions-billing\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePandadoc.java b/src/main/java/com/airbyte/api/models/shared/SourcePandadoc.java new file mode 100644 index 000000000..a444aa3e1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePandadoc.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourcePandadoc { + + /** + * API key to use. Find it at https://app.pandadoc.com/a/#/settings/api-dashboard/configuration + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Pandadoc sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourcePandadoc( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API key to use. Find it at https://app.pandadoc.com/a/#/settings/api-dashboard/configuration + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Pandadoc sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://app.pandadoc.com/a/#/settings/api-dashboard/configuration + */ + public SourcePandadoc withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourcePandadoc withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePandadoc other = (SourcePandadoc) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourcePandadoc.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://app.pandadoc.com/a/#/settings/api-dashboard/configuration + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourcePandadoc build() { + return new SourcePandadoc( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"pandadoc\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePaperform.java b/src/main/java/com/airbyte/api/models/shared/SourcePaperform.java new file mode 100644 index 000000000..bf8e18828 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePaperform.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourcePaperform { + + /** + * API key to use. Generate it on your account page at https://paperform.co/account/developer. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Paperform sourceType; + + @JsonCreator + public SourcePaperform( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Generate it on your account page at https://paperform.co/account/developer. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Paperform sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Generate it on your account page at https://paperform.co/account/developer. + */ + public SourcePaperform withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePaperform other = (SourcePaperform) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourcePaperform.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Generate it on your account page at https://paperform.co/account/developer. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourcePaperform build() { + return new SourcePaperform( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"paperform\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePapersign.java b/src/main/java/com/airbyte/api/models/shared/SourcePapersign.java new file mode 100644 index 000000000..17f26fa82 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePapersign.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourcePapersign { + + /** + * API key to use. Generate it on your account page at https://paperform.co/account/developer. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Papersign sourceType; + + @JsonCreator + public SourcePapersign( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Generate it on your account page at https://paperform.co/account/developer. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Papersign sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Generate it on your account page at https://paperform.co/account/developer. + */ + public SourcePapersign withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePapersign other = (SourcePapersign) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourcePapersign.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Generate it on your account page at https://paperform.co/account/developer. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourcePapersign build() { + return new SourcePapersign( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"papersign\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePardot.java b/src/main/java/com/airbyte/api/models/shared/SourcePardot.java new file mode 100644 index 000000000..311e8711c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePardot.java @@ -0,0 +1,393 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourcePardot { + + /** + * The Consumer Key that can be found when viewing your app in Salesforce + */ + @JsonProperty("client_id") + private String clientId; + + /** + * The Consumer Secret that can be found when viewing your app in Salesforce + */ + @JsonProperty("client_secret") + private String clientSecret; + + /** + * Whether or not the the app is in a Salesforce sandbox. If you do not know what this, assume it is false. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("is_sandbox") + private Optional isSandbox; + + /** + * Pardot Business ID, can be found at Setup > Pardot > Pardot Account Setup + */ + @JsonProperty("pardot_business_unit_id") + private String pardotBusinessUnitId; + + /** + * Salesforce Refresh Token used for Airbyte to access your Salesforce account. If you don't know what this is, follow this <a href="https://medium.com/@bpmmendis94/obtain-access-refresh-tokens-from-salesforce-rest-api-a324fe4ccd9b">guide</a> to retrieve it. + */ + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonProperty("sourceType") + private Pardot sourceType; + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. Leave blank to skip this filter + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonCreator + public SourcePardot( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("is_sandbox") Optional isSandbox, + @JsonProperty("pardot_business_unit_id") String pardotBusinessUnitId, + @JsonProperty("refresh_token") String refreshToken, + @JsonProperty("start_date") Optional startDate) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(isSandbox, "isSandbox"); + Utils.checkNotNull(pardotBusinessUnitId, "pardotBusinessUnitId"); + Utils.checkNotNull(refreshToken, "refreshToken"); + Utils.checkNotNull(startDate, "startDate"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.isSandbox = isSandbox; + this.pardotBusinessUnitId = pardotBusinessUnitId; + this.refreshToken = refreshToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourcePardot( + String clientId, + String clientSecret, + String pardotBusinessUnitId, + String refreshToken) { + this(clientId, clientSecret, Optional.empty(), pardotBusinessUnitId, refreshToken, Optional.empty()); + } + + /** + * The Consumer Key that can be found when viewing your app in Salesforce + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * The Consumer Secret that can be found when viewing your app in Salesforce + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * Whether or not the the app is in a Salesforce sandbox. If you do not know what this, assume it is false. + */ + @JsonIgnore + public Optional isSandbox() { + return isSandbox; + } + + /** + * Pardot Business ID, can be found at Setup > Pardot > Pardot Account Setup + */ + @JsonIgnore + public String pardotBusinessUnitId() { + return pardotBusinessUnitId; + } + + /** + * Salesforce Refresh Token used for Airbyte to access your Salesforce account. If you don't know what this is, follow this <a href="https://medium.com/@bpmmendis94/obtain-access-refresh-tokens-from-salesforce-rest-api-a324fe4ccd9b">guide</a> to retrieve it. + */ + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + @JsonIgnore + public Pardot sourceType() { + return sourceType; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. Leave blank to skip this filter + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The Consumer Key that can be found when viewing your app in Salesforce + */ + public SourcePardot withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Consumer Secret that can be found when viewing your app in Salesforce + */ + public SourcePardot withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Whether or not the the app is in a Salesforce sandbox. If you do not know what this, assume it is false. + */ + public SourcePardot withIsSandbox(boolean isSandbox) { + Utils.checkNotNull(isSandbox, "isSandbox"); + this.isSandbox = Optional.ofNullable(isSandbox); + return this; + } + + /** + * Whether or not the the app is in a Salesforce sandbox. If you do not know what this, assume it is false. + */ + public SourcePardot withIsSandbox(Optional isSandbox) { + Utils.checkNotNull(isSandbox, "isSandbox"); + this.isSandbox = isSandbox; + return this; + } + + /** + * Pardot Business ID, can be found at Setup > Pardot > Pardot Account Setup + */ + public SourcePardot withPardotBusinessUnitId(String pardotBusinessUnitId) { + Utils.checkNotNull(pardotBusinessUnitId, "pardotBusinessUnitId"); + this.pardotBusinessUnitId = pardotBusinessUnitId; + return this; + } + + /** + * Salesforce Refresh Token used for Airbyte to access your Salesforce account. If you don't know what this is, follow this <a href="https://medium.com/@bpmmendis94/obtain-access-refresh-tokens-from-salesforce-rest-api-a324fe4ccd9b">guide</a> to retrieve it. + */ + public SourcePardot withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. Leave blank to skip this filter + */ + public SourcePardot withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. Leave blank to skip this filter + */ + public SourcePardot withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePardot other = (SourcePardot) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.isSandbox, other.isSandbox) && + Objects.deepEquals(this.pardotBusinessUnitId, other.pardotBusinessUnitId) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + isSandbox, + pardotBusinessUnitId, + refreshToken, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourcePardot.class, + "clientId", clientId, + "clientSecret", clientSecret, + "isSandbox", isSandbox, + "pardotBusinessUnitId", pardotBusinessUnitId, + "refreshToken", refreshToken, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Optional isSandbox; + + private String pardotBusinessUnitId; + + private String refreshToken; + + private Optional startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * The Consumer Key that can be found when viewing your app in Salesforce + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Consumer Secret that can be found when viewing your app in Salesforce + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Whether or not the the app is in a Salesforce sandbox. If you do not know what this, assume it is false. + */ + public Builder isSandbox(boolean isSandbox) { + Utils.checkNotNull(isSandbox, "isSandbox"); + this.isSandbox = Optional.ofNullable(isSandbox); + return this; + } + + /** + * Whether or not the the app is in a Salesforce sandbox. If you do not know what this, assume it is false. + */ + public Builder isSandbox(Optional isSandbox) { + Utils.checkNotNull(isSandbox, "isSandbox"); + this.isSandbox = isSandbox; + return this; + } + + /** + * Pardot Business ID, can be found at Setup > Pardot > Pardot Account Setup + */ + public Builder pardotBusinessUnitId(String pardotBusinessUnitId) { + Utils.checkNotNull(pardotBusinessUnitId, "pardotBusinessUnitId"); + this.pardotBusinessUnitId = pardotBusinessUnitId; + return this; + } + + /** + * Salesforce Refresh Token used for Airbyte to access your Salesforce account. If you don't know what this is, follow this <a href="https://medium.com/@bpmmendis94/obtain-access-refresh-tokens-from-salesforce-rest-api-a324fe4ccd9b">guide</a> to retrieve it. + */ + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. Leave blank to skip this filter + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. Leave blank to skip this filter + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourcePardot build() { + if (isSandbox == null) { + isSandbox = _SINGLETON_VALUE_IsSandbox.value(); + } + if (startDate == null) { + startDate = _SINGLETON_VALUE_StartDate.value(); + } return new SourcePardot( + clientId, + clientSecret, + isSandbox, + pardotBusinessUnitId, + refreshToken, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_IsSandbox = + new LazySingletonValue<>( + "is_sandbox", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"pardot\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + new LazySingletonValue<>( + "start_date", + "null", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java b/src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java index de29d3e22..06d4a84bb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourcePatchRequest { /** @@ -29,25 +29,25 @@ public class SourcePatchRequest { @JsonInclude(Include.NON_ABSENT) @JsonProperty("name") - private Optional name; + private Optional name; /** * Optional secretID obtained through the OAuth redirect flow. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("secretId") - private Optional secretId; + private Optional secretId; @JsonInclude(Include.NON_ABSENT) @JsonProperty("workspaceId") - private Optional workspaceId; + private Optional workspaceId; @JsonCreator public SourcePatchRequest( @JsonProperty("configuration") Optional configuration, - @JsonProperty("name") Optional name, - @JsonProperty("secretId") Optional secretId, - @JsonProperty("workspaceId") Optional workspaceId) { + @JsonProperty("name") Optional name, + @JsonProperty("secretId") Optional secretId, + @JsonProperty("workspaceId") Optional workspaceId) { Utils.checkNotNull(configuration, "configuration"); Utils.checkNotNull(name, "name"); Utils.checkNotNull(secretId, "secretId"); @@ -71,25 +71,22 @@ public Optional configuration() { return (Optional) configuration; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional name() { - return (Optional) name; + return name; } /** * Optional secretID obtained through the OAuth redirect flow. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional secretId() { - return (Optional) secretId; + return secretId; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional workspaceId() { - return (Optional) workspaceId; + return workspaceId; } public final static Builder builder() { @@ -120,7 +117,7 @@ public SourcePatchRequest withName(String name) { return this; } - public SourcePatchRequest withName(Optional name) { + public SourcePatchRequest withName(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; @@ -138,7 +135,7 @@ public SourcePatchRequest withSecretId(String secretId) { /** * Optional secretID obtained through the OAuth redirect flow. */ - public SourcePatchRequest withSecretId(Optional secretId) { + public SourcePatchRequest withSecretId(Optional secretId) { Utils.checkNotNull(secretId, "secretId"); this.secretId = secretId; return this; @@ -150,7 +147,7 @@ public SourcePatchRequest withWorkspaceId(String workspaceId) { return this; } - public SourcePatchRequest withWorkspaceId(Optional workspaceId) { + public SourcePatchRequest withWorkspaceId(Optional workspaceId) { Utils.checkNotNull(workspaceId, "workspaceId"); this.workspaceId = workspaceId; return this; @@ -166,15 +163,15 @@ public boolean equals(java.lang.Object o) { } SourcePatchRequest other = (SourcePatchRequest) o; return - java.util.Objects.deepEquals(this.configuration, other.configuration) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.secretId, other.secretId) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.configuration, other.configuration) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.secretId, other.secretId) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configuration, name, secretId, @@ -194,11 +191,11 @@ public final static class Builder { private Optional configuration = Optional.empty(); - private Optional name = Optional.empty(); + private Optional name = Optional.empty(); - private Optional secretId = Optional.empty(); + private Optional secretId = Optional.empty(); - private Optional workspaceId = Optional.empty(); + private Optional workspaceId = Optional.empty(); private Builder() { // force use of static builder() method @@ -228,7 +225,7 @@ public Builder name(String name) { return this; } - public Builder name(Optional name) { + public Builder name(Optional name) { Utils.checkNotNull(name, "name"); this.name = name; return this; @@ -246,7 +243,7 @@ public Builder secretId(String secretId) { /** * Optional secretID obtained through the OAuth redirect flow. */ - public Builder secretId(Optional secretId) { + public Builder secretId(Optional secretId) { Utils.checkNotNull(secretId, "secretId"); this.secretId = secretId; return this; @@ -258,7 +255,7 @@ public Builder workspaceId(String workspaceId) { return this; } - public Builder workspaceId(Optional workspaceId) { + public Builder workspaceId(Optional workspaceId) { Utils.checkNotNull(workspaceId, "workspaceId"); this.workspaceId = workspaceId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java b/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java index 80fe1ed6a..b5e968d5b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePaypalTransaction.java @@ -1,27 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourcePaypalTransaction { /** @@ -41,28 +41,28 @@ public class SourcePaypalTransaction { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("dispute_start_date") - private Optional disputeStartDate; + private Optional disputeStartDate; /** * End Date for data extraction in <a href=\"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6\">ISO format</a>. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * Determines whether to use the sandbox or production environment. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("is_sandbox") - private Optional isSandbox; + private Optional isSandbox; /** * The key to refresh the expired access token. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("refresh_token") - private Optional refreshToken; + private Optional refreshToken; @JsonProperty("sourceType") private PaypalTransaction sourceType; @@ -78,18 +78,18 @@ public class SourcePaypalTransaction { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("time_window") - private Optional timeWindow; + private Optional timeWindow; @JsonCreator public SourcePaypalTransaction( @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, - @JsonProperty("dispute_start_date") Optional disputeStartDate, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("is_sandbox") Optional isSandbox, - @JsonProperty("refresh_token") Optional refreshToken, + @JsonProperty("dispute_start_date") Optional disputeStartDate, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("is_sandbox") Optional isSandbox, + @JsonProperty("refresh_token") Optional refreshToken, @JsonProperty("start_date") OffsetDateTime startDate, - @JsonProperty("time_window") Optional timeWindow) { + @JsonProperty("time_window") Optional timeWindow) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); Utils.checkNotNull(disputeStartDate, "disputeStartDate"); @@ -135,37 +135,33 @@ public String clientSecret() { /** * Start Date parameter for the list dispute endpoint in <a href=\"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6\">ISO format</a>. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional disputeStartDate() { - return (Optional) disputeStartDate; + return disputeStartDate; } /** * End Date for data extraction in <a href=\"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6\">ISO format</a>. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** * Determines whether to use the sandbox or production environment. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional isSandbox() { - return (Optional) isSandbox; + return isSandbox; } /** * The key to refresh the expired access token. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional refreshToken() { - return (Optional) refreshToken; + return refreshToken; } @JsonIgnore @@ -184,10 +180,9 @@ public OffsetDateTime startDate() { /** * The number of days per request. Must be a number between 1 and 31. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional timeWindow() { - return (Optional) timeWindow; + return timeWindow; } public final static Builder builder() { @@ -224,7 +219,7 @@ public SourcePaypalTransaction withDisputeStartDate(OffsetDateTime disputeStartD /** * Start Date parameter for the list dispute endpoint in <a href=\"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6\">ISO format</a>. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past. */ - public SourcePaypalTransaction withDisputeStartDate(Optional disputeStartDate) { + public SourcePaypalTransaction withDisputeStartDate(Optional disputeStartDate) { Utils.checkNotNull(disputeStartDate, "disputeStartDate"); this.disputeStartDate = disputeStartDate; return this; @@ -242,7 +237,7 @@ public SourcePaypalTransaction withEndDate(OffsetDateTime endDate) { /** * End Date for data extraction in <a href=\"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6\">ISO format</a>. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams. */ - public SourcePaypalTransaction withEndDate(Optional endDate) { + public SourcePaypalTransaction withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -260,7 +255,7 @@ public SourcePaypalTransaction withIsSandbox(boolean isSandbox) { /** * Determines whether to use the sandbox or production environment. */ - public SourcePaypalTransaction withIsSandbox(Optional isSandbox) { + public SourcePaypalTransaction withIsSandbox(Optional isSandbox) { Utils.checkNotNull(isSandbox, "isSandbox"); this.isSandbox = isSandbox; return this; @@ -278,7 +273,7 @@ public SourcePaypalTransaction withRefreshToken(String refreshToken) { /** * The key to refresh the expired access token. */ - public SourcePaypalTransaction withRefreshToken(Optional refreshToken) { + public SourcePaypalTransaction withRefreshToken(Optional refreshToken) { Utils.checkNotNull(refreshToken, "refreshToken"); this.refreshToken = refreshToken; return this; @@ -305,7 +300,7 @@ public SourcePaypalTransaction withTimeWindow(long timeWindow) { /** * The number of days per request. Must be a number between 1 and 31. */ - public SourcePaypalTransaction withTimeWindow(Optional timeWindow) { + public SourcePaypalTransaction withTimeWindow(Optional timeWindow) { Utils.checkNotNull(timeWindow, "timeWindow"); this.timeWindow = timeWindow; return this; @@ -321,20 +316,20 @@ public boolean equals(java.lang.Object o) { } SourcePaypalTransaction other = (SourcePaypalTransaction) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.disputeStartDate, other.disputeStartDate) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.isSandbox, other.isSandbox) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.timeWindow, other.timeWindow); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.disputeStartDate, other.disputeStartDate) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.isSandbox, other.isSandbox) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.timeWindow, other.timeWindow); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, disputeStartDate, @@ -366,17 +361,17 @@ public final static class Builder { private String clientSecret; - private Optional disputeStartDate = Optional.empty(); + private Optional disputeStartDate = Optional.empty(); - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional isSandbox; + private Optional isSandbox; - private Optional refreshToken = Optional.empty(); + private Optional refreshToken = Optional.empty(); private OffsetDateTime startDate; - private Optional timeWindow; + private Optional timeWindow; private Builder() { // force use of static builder() method @@ -412,7 +407,7 @@ public Builder disputeStartDate(OffsetDateTime disputeStartDate) { /** * Start Date parameter for the list dispute endpoint in <a href=\"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6\">ISO format</a>. This Start Date must be in range within 180 days before present time, and requires ONLY 3 miliseconds(mandatory). If you don't use this option, it defaults to a start date set 180 days in the past. */ - public Builder disputeStartDate(Optional disputeStartDate) { + public Builder disputeStartDate(Optional disputeStartDate) { Utils.checkNotNull(disputeStartDate, "disputeStartDate"); this.disputeStartDate = disputeStartDate; return this; @@ -430,7 +425,7 @@ public Builder endDate(OffsetDateTime endDate) { /** * End Date for data extraction in <a href=\"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6\">ISO format</a>. This can be help you select specific range of time, mainly for test purposes or data integrity tests. When this is not used, now_utc() is used by the streams. This does not apply to Disputes and Product streams. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -448,7 +443,7 @@ public Builder isSandbox(boolean isSandbox) { /** * Determines whether to use the sandbox or production environment. */ - public Builder isSandbox(Optional isSandbox) { + public Builder isSandbox(Optional isSandbox) { Utils.checkNotNull(isSandbox, "isSandbox"); this.isSandbox = isSandbox; return this; @@ -466,7 +461,7 @@ public Builder refreshToken(String refreshToken) { /** * The key to refresh the expired access token. */ - public Builder refreshToken(Optional refreshToken) { + public Builder refreshToken(Optional refreshToken) { Utils.checkNotNull(refreshToken, "refreshToken"); this.refreshToken = refreshToken; return this; @@ -493,7 +488,7 @@ public Builder timeWindow(long timeWindow) { /** * The number of days per request. Must be a number between 1 and 31. */ - public Builder timeWindow(Optional timeWindow) { + public Builder timeWindow(Optional timeWindow) { Utils.checkNotNull(timeWindow, "timeWindow"); this.timeWindow = timeWindow; return this; @@ -505,8 +500,7 @@ public SourcePaypalTransaction build() { } if (timeWindow == null) { timeWindow = _SINGLETON_VALUE_TimeWindow.value(); - } - return new SourcePaypalTransaction( + } return new SourcePaypalTransaction( clientId, clientSecret, disputeStartDate, @@ -517,11 +511,11 @@ public SourcePaypalTransaction build() { timeWindow); } - private static final LazySingletonValue> _SINGLETON_VALUE_IsSandbox = + private static final LazySingletonValue> _SINGLETON_VALUE_IsSandbox = new LazySingletonValue<>( "is_sandbox", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( @@ -529,11 +523,11 @@ public SourcePaypalTransaction build() { "\"paypal-transaction\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TimeWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_TimeWindow = new LazySingletonValue<>( "time_window", "7", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePaystack.java b/src/main/java/com/airbyte/api/models/shared/SourcePaystack.java index 6c0779323..ac0deb530 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePaystack.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePaystack.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourcePaystack { /** @@ -29,7 +28,7 @@ public class SourcePaystack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window_days") - private Optional lookbackWindowDays; + private Optional lookbackWindowDays; /** * The Paystack API key (usually starts with 'sk_live_'; find yours <a href="https://dashboard.paystack.com/#/settings/developer">here</a>). @@ -48,7 +47,7 @@ public class SourcePaystack { @JsonCreator public SourcePaystack( - @JsonProperty("lookback_window_days") Optional lookbackWindowDays, + @JsonProperty("lookback_window_days") Optional lookbackWindowDays, @JsonProperty("secret_key") String secretKey, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(lookbackWindowDays, "lookbackWindowDays"); @@ -69,10 +68,9 @@ public SourcePaystack( /** * When set, the connector will always reload data from the past N days, where N is the value set here. This is useful if your data is updated after creation. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindowDays() { - return (Optional) lookbackWindowDays; + return lookbackWindowDays; } /** @@ -112,7 +110,7 @@ public SourcePaystack withLookbackWindowDays(long lookbackWindowDays) { /** * When set, the connector will always reload data from the past N days, where N is the value set here. This is useful if your data is updated after creation. */ - public SourcePaystack withLookbackWindowDays(Optional lookbackWindowDays) { + public SourcePaystack withLookbackWindowDays(Optional lookbackWindowDays) { Utils.checkNotNull(lookbackWindowDays, "lookbackWindowDays"); this.lookbackWindowDays = lookbackWindowDays; return this; @@ -146,15 +144,15 @@ public boolean equals(java.lang.Object o) { } SourcePaystack other = (SourcePaystack) o; return - java.util.Objects.deepEquals(this.lookbackWindowDays, other.lookbackWindowDays) && - java.util.Objects.deepEquals(this.secretKey, other.secretKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.lookbackWindowDays, other.lookbackWindowDays) && + Objects.deepEquals(this.secretKey, other.secretKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( lookbackWindowDays, secretKey, sourceType, @@ -172,7 +170,7 @@ public String toString() { public final static class Builder { - private Optional lookbackWindowDays; + private Optional lookbackWindowDays; private String secretKey; @@ -194,7 +192,7 @@ public Builder lookbackWindowDays(long lookbackWindowDays) { /** * When set, the connector will always reload data from the past N days, where N is the value set here. This is useful if your data is updated after creation. */ - public Builder lookbackWindowDays(Optional lookbackWindowDays) { + public Builder lookbackWindowDays(Optional lookbackWindowDays) { Utils.checkNotNull(lookbackWindowDays, "lookbackWindowDays"); this.lookbackWindowDays = lookbackWindowDays; return this; @@ -221,18 +219,17 @@ public Builder startDate(OffsetDateTime startDate) { public SourcePaystack build() { if (lookbackWindowDays == null) { lookbackWindowDays = _SINGLETON_VALUE_LookbackWindowDays.value(); - } - return new SourcePaystack( + } return new SourcePaystack( lookbackWindowDays, secretKey, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowDays = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowDays = new LazySingletonValue<>( "lookback_window_days", "0", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePendo.java b/src/main/java/com/airbyte/api/models/shared/SourcePendo.java index 09699d1d2..2e0d95486 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePendo.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePendo.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourcePendo { @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourcePendo other = (SourcePendo) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePennylane.java b/src/main/java/com/airbyte/api/models/shared/SourcePennylane.java index eb8acde15..6da63fa9d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePennylane.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePennylane.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourcePennylane { @@ -82,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourcePennylane other = (SourcePennylane) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startTime, other.startTime); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startTime, other.startTime); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startTime); diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java b/src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java index 6dfda32ec..26156e172 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePersistiq.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourcePersistiq { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourcePersistiq other = (SourcePersistiq) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePersona.java b/src/main/java/com/airbyte/api/models/shared/SourcePersona.java new file mode 100644 index 000000000..4a269741a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePersona.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourcePersona { + + /** + * API key or access token + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Persona sourceType; + + @JsonCreator + public SourcePersona( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key or access token + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Persona sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key or access token + */ + public SourcePersona withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePersona other = (SourcePersona) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourcePersona.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key or access token + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourcePersona build() { + return new SourcePersona( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"persona\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java b/src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java index 85a8d40cc..6323b010f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePexelsApi.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourcePexelsApi { /** @@ -32,21 +32,21 @@ public class SourcePexelsApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("color") - private Optional color; + private Optional color; /** * Optional, The locale of the search you are performing. The current supported locales are 'en-US' 'pt-BR' 'es-ES' 'ca-ES' 'de-DE' 'it-IT' 'fr-FR' 'sv-SE' 'id-ID' 'pl-PL' 'ja-JP' 'zh-TW' 'zh-CN' 'ko-KR' 'th-TH' 'nl-NL' 'hu-HU' 'vi-VN' 'cs-CZ' 'da-DK' 'fi-FI' 'uk-UA' 'el-GR' 'ro-RO' 'nb-NO' 'sk-SK' 'tr-TR' 'ru-RU'. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("locale") - private Optional locale; + private Optional locale; /** * Optional, Desired photo orientation. The current supported orientations are landscape, portrait or square */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("orientation") - private Optional orientation; + private Optional orientation; /** * Optional, the search query, Example Ocean, Tigers, Pears, etc. @@ -59,7 +59,7 @@ public class SourcePexelsApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("size") - private Optional size; + private Optional size; @JsonProperty("sourceType") private PexelsApi sourceType; @@ -67,11 +67,11 @@ public class SourcePexelsApi { @JsonCreator public SourcePexelsApi( @JsonProperty("api_key") String apiKey, - @JsonProperty("color") Optional color, - @JsonProperty("locale") Optional locale, - @JsonProperty("orientation") Optional orientation, + @JsonProperty("color") Optional color, + @JsonProperty("locale") Optional locale, + @JsonProperty("orientation") Optional orientation, @JsonProperty("query") String query, - @JsonProperty("size") Optional size) { + @JsonProperty("size") Optional size) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(color, "color"); Utils.checkNotNull(locale, "locale"); @@ -104,28 +104,25 @@ public String apiKey() { /** * Optional, Desired photo color. Supported colors red, orange, yellow, green, turquoise, blue, violet, pink, brown, black, gray, white or any hexidecimal color code. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional color() { - return (Optional) color; + return color; } /** * Optional, The locale of the search you are performing. The current supported locales are 'en-US' 'pt-BR' 'es-ES' 'ca-ES' 'de-DE' 'it-IT' 'fr-FR' 'sv-SE' 'id-ID' 'pl-PL' 'ja-JP' 'zh-TW' 'zh-CN' 'ko-KR' 'th-TH' 'nl-NL' 'hu-HU' 'vi-VN' 'cs-CZ' 'da-DK' 'fi-FI' 'uk-UA' 'el-GR' 'ro-RO' 'nb-NO' 'sk-SK' 'tr-TR' 'ru-RU'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional locale() { - return (Optional) locale; + return locale; } /** * Optional, Desired photo orientation. The current supported orientations are landscape, portrait or square */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional orientation() { - return (Optional) orientation; + return orientation; } /** @@ -139,10 +136,9 @@ public String query() { /** * Optional, Minimum photo size. The current supported sizes are large(24MP), medium(12MP) or small(4MP). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional size() { - return (Optional) size; + return size; } @JsonIgnore @@ -175,7 +171,7 @@ public SourcePexelsApi withColor(String color) { /** * Optional, Desired photo color. Supported colors red, orange, yellow, green, turquoise, blue, violet, pink, brown, black, gray, white or any hexidecimal color code. */ - public SourcePexelsApi withColor(Optional color) { + public SourcePexelsApi withColor(Optional color) { Utils.checkNotNull(color, "color"); this.color = color; return this; @@ -193,7 +189,7 @@ public SourcePexelsApi withLocale(String locale) { /** * Optional, The locale of the search you are performing. The current supported locales are 'en-US' 'pt-BR' 'es-ES' 'ca-ES' 'de-DE' 'it-IT' 'fr-FR' 'sv-SE' 'id-ID' 'pl-PL' 'ja-JP' 'zh-TW' 'zh-CN' 'ko-KR' 'th-TH' 'nl-NL' 'hu-HU' 'vi-VN' 'cs-CZ' 'da-DK' 'fi-FI' 'uk-UA' 'el-GR' 'ro-RO' 'nb-NO' 'sk-SK' 'tr-TR' 'ru-RU'. */ - public SourcePexelsApi withLocale(Optional locale) { + public SourcePexelsApi withLocale(Optional locale) { Utils.checkNotNull(locale, "locale"); this.locale = locale; return this; @@ -211,7 +207,7 @@ public SourcePexelsApi withOrientation(String orientation) { /** * Optional, Desired photo orientation. The current supported orientations are landscape, portrait or square */ - public SourcePexelsApi withOrientation(Optional orientation) { + public SourcePexelsApi withOrientation(Optional orientation) { Utils.checkNotNull(orientation, "orientation"); this.orientation = orientation; return this; @@ -238,7 +234,7 @@ public SourcePexelsApi withSize(String size) { /** * Optional, Minimum photo size. The current supported sizes are large(24MP), medium(12MP) or small(4MP). */ - public SourcePexelsApi withSize(Optional size) { + public SourcePexelsApi withSize(Optional size) { Utils.checkNotNull(size, "size"); this.size = size; return this; @@ -254,18 +250,18 @@ public boolean equals(java.lang.Object o) { } SourcePexelsApi other = (SourcePexelsApi) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.color, other.color) && - java.util.Objects.deepEquals(this.locale, other.locale) && - java.util.Objects.deepEquals(this.orientation, other.orientation) && - java.util.Objects.deepEquals(this.query, other.query) && - java.util.Objects.deepEquals(this.size, other.size) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.color, other.color) && + Objects.deepEquals(this.locale, other.locale) && + Objects.deepEquals(this.orientation, other.orientation) && + Objects.deepEquals(this.query, other.query) && + Objects.deepEquals(this.size, other.size) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, color, locale, @@ -291,15 +287,15 @@ public final static class Builder { private String apiKey; - private Optional color = Optional.empty(); + private Optional color = Optional.empty(); - private Optional locale = Optional.empty(); + private Optional locale = Optional.empty(); - private Optional orientation = Optional.empty(); + private Optional orientation = Optional.empty(); private String query; - private Optional size = Optional.empty(); + private Optional size = Optional.empty(); private Builder() { // force use of static builder() method @@ -326,7 +322,7 @@ public Builder color(String color) { /** * Optional, Desired photo color. Supported colors red, orange, yellow, green, turquoise, blue, violet, pink, brown, black, gray, white or any hexidecimal color code. */ - public Builder color(Optional color) { + public Builder color(Optional color) { Utils.checkNotNull(color, "color"); this.color = color; return this; @@ -344,7 +340,7 @@ public Builder locale(String locale) { /** * Optional, The locale of the search you are performing. The current supported locales are 'en-US' 'pt-BR' 'es-ES' 'ca-ES' 'de-DE' 'it-IT' 'fr-FR' 'sv-SE' 'id-ID' 'pl-PL' 'ja-JP' 'zh-TW' 'zh-CN' 'ko-KR' 'th-TH' 'nl-NL' 'hu-HU' 'vi-VN' 'cs-CZ' 'da-DK' 'fi-FI' 'uk-UA' 'el-GR' 'ro-RO' 'nb-NO' 'sk-SK' 'tr-TR' 'ru-RU'. */ - public Builder locale(Optional locale) { + public Builder locale(Optional locale) { Utils.checkNotNull(locale, "locale"); this.locale = locale; return this; @@ -362,7 +358,7 @@ public Builder orientation(String orientation) { /** * Optional, Desired photo orientation. The current supported orientations are landscape, portrait or square */ - public Builder orientation(Optional orientation) { + public Builder orientation(Optional orientation) { Utils.checkNotNull(orientation, "orientation"); this.orientation = orientation; return this; @@ -389,7 +385,7 @@ public Builder size(String size) { /** * Optional, Minimum photo size. The current supported sizes are large(24MP), medium(12MP) or small(4MP). */ - public Builder size(Optional size) { + public Builder size(Optional size) { Utils.checkNotNull(size, "size"); this.size = size; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePicqer.java b/src/main/java/com/airbyte/api/models/shared/SourcePicqer.java index 9f8ea01b7..ae8389962 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePicqer.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePicqer.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourcePicqer { /** @@ -32,7 +30,7 @@ public class SourcePicqer { @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; @JsonProperty("sourceType") private Picqer sourceType; @@ -46,7 +44,7 @@ public class SourcePicqer { @JsonCreator public SourcePicqer( @JsonProperty("organization_name") String organizationName, - @JsonProperty("password") Optional password, + @JsonProperty("password") Optional password, @JsonProperty("start_date") OffsetDateTime startDate, @JsonProperty("username") String username) { Utils.checkNotNull(organizationName, "organizationName"); @@ -75,10 +73,9 @@ public String organizationName() { return organizationName; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } @JsonIgnore @@ -115,7 +112,7 @@ public SourcePicqer withPassword(String password) { return this; } - public SourcePicqer withPassword(Optional password) { + public SourcePicqer withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -143,16 +140,16 @@ public boolean equals(java.lang.Object o) { } SourcePicqer other = (SourcePicqer) o; return - java.util.Objects.deepEquals(this.organizationName, other.organizationName) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.organizationName, other.organizationName) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( organizationName, password, sourceType, @@ -174,7 +171,7 @@ public final static class Builder { private String organizationName; - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); private OffsetDateTime startDate; @@ -199,7 +196,7 @@ public Builder password(String password) { return this; } - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java b/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java index fc5c58ffe..cc0bdc721 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java @@ -1,26 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.List; +import java.util.Objects; import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; + public class SourcePinterest { @JsonInclude(Include.NON_ABSENT) @@ -32,7 +34,7 @@ public class SourcePinterest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("custom_reports") - private Optional> customReports; + private Optional> customReports; @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") @@ -43,21 +45,21 @@ public class SourcePinterest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * For the ads, ad_groups, and campaigns streams, specifying a status will filter out records that do not match the specified ones. If a status is not specified, the source will default to records with a status of either ACTIVE or PAUSED. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("status") - private JsonNullable> status; + private JsonNullable> status; @JsonCreator public SourcePinterest( @JsonProperty("credentials") Optional credentials, - @JsonProperty("custom_reports") Optional> customReports, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("status") JsonNullable> status) { + @JsonProperty("custom_reports") Optional> customReports, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("status") JsonNullable> status) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(customReports, "customReports"); Utils.checkNotNull(startDate, "startDate"); @@ -84,8 +86,8 @@ public Optional credentials() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> customReports() { - return (Optional>) customReports; + public Optional> customReports() { + return (Optional>) customReports; } @SuppressWarnings("unchecked") @@ -97,10 +99,9 @@ public Optional sourceType() { /** * A date in the format YYYY-MM-DD. If you have not set a date, it would be defaulted to latest allowed date by api (89 days from today). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -108,8 +109,8 @@ public Optional startDate() { */ @SuppressWarnings("unchecked") @JsonIgnore - public JsonNullable> status() { - return (JsonNullable>) status; + public JsonNullable> status() { + return (JsonNullable>) status; } public final static Builder builder() { @@ -131,7 +132,7 @@ public SourcePinterest withCredentials(Optional credentials) /** * A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. */ - public SourcePinterest withCustomReports(java.util.List customReports) { + public SourcePinterest withCustomReports(List customReports) { Utils.checkNotNull(customReports, "customReports"); this.customReports = Optional.ofNullable(customReports); return this; @@ -140,7 +141,7 @@ public SourcePinterest withCustomReports(java.util.List customRepo /** * A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. */ - public SourcePinterest withCustomReports(Optional> customReports) { + public SourcePinterest withCustomReports(Optional> customReports) { Utils.checkNotNull(customReports, "customReports"); this.customReports = customReports; return this; @@ -158,7 +159,7 @@ public SourcePinterest withStartDate(LocalDate startDate) { /** * A date in the format YYYY-MM-DD. If you have not set a date, it would be defaulted to latest allowed date by api (89 days from today). */ - public SourcePinterest withStartDate(Optional startDate) { + public SourcePinterest withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -167,7 +168,7 @@ public SourcePinterest withStartDate(Optional startDate) { /** * For the ads, ad_groups, and campaigns streams, specifying a status will filter out records that do not match the specified ones. If a status is not specified, the source will default to records with a status of either ACTIVE or PAUSED. */ - public SourcePinterest withStatus(java.util.List status) { + public SourcePinterest withStatus(List status) { Utils.checkNotNull(status, "status"); this.status = JsonNullable.of(status); return this; @@ -176,7 +177,7 @@ public SourcePinterest withStatus(java.util.List status) { /** * For the ads, ad_groups, and campaigns streams, specifying a status will filter out records that do not match the specified ones. If a status is not specified, the source will default to records with a status of either ACTIVE or PAUSED. */ - public SourcePinterest withStatus(JsonNullable> status) { + public SourcePinterest withStatus(JsonNullable> status) { Utils.checkNotNull(status, "status"); this.status = status; return this; @@ -192,16 +193,16 @@ public boolean equals(java.lang.Object o) { } SourcePinterest other = (SourcePinterest) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.customReports, other.customReports) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.status, other.status); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.customReports, other.customReports) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.status, other.status); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, customReports, sourceType, @@ -223,11 +224,11 @@ public final static class Builder { private Optional credentials = Optional.empty(); - private Optional> customReports = Optional.empty(); + private Optional> customReports = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private JsonNullable> status = JsonNullable.undefined(); + private JsonNullable> status = JsonNullable.undefined(); private Builder() { // force use of static builder() method @@ -248,7 +249,7 @@ public Builder credentials(Optional credentials) { /** * A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. */ - public Builder customReports(java.util.List customReports) { + public Builder customReports(List customReports) { Utils.checkNotNull(customReports, "customReports"); this.customReports = Optional.ofNullable(customReports); return this; @@ -257,7 +258,7 @@ public Builder customReports(java.util.List customReports) { /** * A list which contains ad statistics entries, each entry must have a name and can contains fields, breakdowns or action_breakdowns. Click on "add" to fill this field. */ - public Builder customReports(Optional> customReports) { + public Builder customReports(Optional> customReports) { Utils.checkNotNull(customReports, "customReports"); this.customReports = customReports; return this; @@ -275,7 +276,7 @@ public Builder startDate(LocalDate startDate) { /** * A date in the format YYYY-MM-DD. If you have not set a date, it would be defaulted to latest allowed date by api (89 days from today). */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -284,7 +285,7 @@ public Builder startDate(Optional startDate) { /** * For the ads, ad_groups, and campaigns streams, specifying a status will filter out records that do not match the specified ones. If a status is not specified, the source will default to records with a status of either ACTIVE or PAUSED. */ - public Builder status(java.util.List status) { + public Builder status(List status) { Utils.checkNotNull(status, "status"); this.status = JsonNullable.of(status); return this; @@ -293,7 +294,7 @@ public Builder status(java.util.List status) { /** * For the ads, ad_groups, and campaigns streams, specifying a status will filter out records that do not match the specified ones. If a status is not specified, the source will default to records with a status of either ACTIVE or PAUSED. */ - public Builder status(JsonNullable> status) { + public Builder status(JsonNullable> status) { Utils.checkNotNull(status, "status"); this.status = status; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePinterestAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourcePinterestAuthMethod.java index 8d4ff0f5d..77dbb0f4f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePinterestAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePinterestAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourcePinterestAuthMethod { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePinterestLevel.java b/src/main/java/com/airbyte/api/models/shared/SourcePinterestLevel.java index 6afd0ca29..dcc4844fe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePinterestLevel.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePinterestLevel.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourcePinterestLevel - Chosen level for API diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterest.java b/src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterest.java index acb7e9122..98a6e9217 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterest.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePinterestPinterest.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourcePinterestPinterest { PINTEREST("pinterest"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePinterestSchemasValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourcePinterestSchemasValidEnums.java index c242c9275..e3418cda2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePinterestSchemasValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePinterestSchemasValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourcePinterestSchemasValidEnums - An enumeration. diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePinterestValidEnums.java b/src/main/java/com/airbyte/api/models/shared/SourcePinterestValidEnums.java index 96e658de8..7eea229a6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePinterestValidEnums.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePinterestValidEnums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourcePinterestValidEnums - An enumeration. diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java b/src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java index cd3251259..ce91e3b12 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePipedrive.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourcePipedrive { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourcePipedrive other = (SourcePipedrive) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.replicationStartDate, other.replicationStartDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.replicationStartDate, other.replicationStartDate) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, replicationStartDate, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePipeliner.java b/src/main/java/com/airbyte/api/models/shared/SourcePipeliner.java new file mode 100644 index 000000000..8d50fb345 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePipeliner.java @@ -0,0 +1,219 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourcePipeliner { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("service") + private DataCenter service; + + @JsonProperty("sourceType") + private Pipeliner sourceType; + + @JsonProperty("spaceid") + private String spaceid; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourcePipeliner( + @JsonProperty("password") Optional password, + @JsonProperty("service") DataCenter service, + @JsonProperty("spaceid") String spaceid, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(service, "service"); + Utils.checkNotNull(spaceid, "spaceid"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.service = service; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.spaceid = spaceid; + this.username = username; + } + + public SourcePipeliner( + DataCenter service, + String spaceid, + String username) { + this(Optional.empty(), service, spaceid, username); + } + + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public DataCenter service() { + return service; + } + + @JsonIgnore + public Pipeliner sourceType() { + return sourceType; + } + + @JsonIgnore + public String spaceid() { + return spaceid; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourcePipeliner withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourcePipeliner withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourcePipeliner withService(DataCenter service) { + Utils.checkNotNull(service, "service"); + this.service = service; + return this; + } + + public SourcePipeliner withSpaceid(String spaceid) { + Utils.checkNotNull(spaceid, "spaceid"); + this.spaceid = spaceid; + return this; + } + + public SourcePipeliner withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePipeliner other = (SourcePipeliner) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.service, other.service) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.spaceid, other.spaceid) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + service, + sourceType, + spaceid, + username); + } + + @Override + public String toString() { + return Utils.toString(SourcePipeliner.class, + "password", password, + "service", service, + "sourceType", sourceType, + "spaceid", spaceid, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private DataCenter service; + + private String spaceid; + + private String username; + + private Builder() { + // force use of static builder() method + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public Builder service(DataCenter service) { + Utils.checkNotNull(service, "service"); + this.service = service; + return this; + } + + public Builder spaceid(String spaceid) { + Utils.checkNotNull(spaceid, "spaceid"); + this.spaceid = spaceid; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourcePipeliner build() { + return new SourcePipeliner( + password, + service, + spaceid, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"pipeliner\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePivotalTracker.java b/src/main/java/com/airbyte/api/models/shared/SourcePivotalTracker.java new file mode 100644 index 000000000..3f6fbc90a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePivotalTracker.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourcePivotalTracker { + + /** + * Pivotal Tracker API token + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private PivotalTracker sourceType; + + @JsonCreator + public SourcePivotalTracker( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Pivotal Tracker API token + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public PivotalTracker sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Pivotal Tracker API token + */ + public SourcePivotalTracker withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePivotalTracker other = (SourcePivotalTracker) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourcePivotalTracker.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * Pivotal Tracker API token + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourcePivotalTracker build() { + return new SourcePivotalTracker( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"pivotal-tracker\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePiwik.java b/src/main/java/com/airbyte/api/models/shared/SourcePiwik.java index 81299e9a1..fe476d456 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePiwik.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePiwik.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourcePiwik { @@ -105,15 +105,15 @@ public boolean equals(java.lang.Object o) { } SourcePiwik other = (SourcePiwik) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.organizationId, other.organizationId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.organizationId, other.organizationId) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, organizationId, diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePlaid.java b/src/main/java/com/airbyte/api/models/shared/SourcePlaid.java new file mode 100644 index 000000000..6a857c64e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePlaid.java @@ -0,0 +1,316 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.LocalDate; +import java.util.Objects; +import java.util.Optional; + + +public class SourcePlaid { + + /** + * The end-user's Link access token. + */ + @JsonProperty("access_token") + private String accessToken; + + /** + * The Plaid API key to use to hit the API. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * The Plaid client id. + */ + @JsonProperty("client_id") + private String clientId; + + /** + * The Plaid environment. + */ + @JsonProperty("plaid_env") + private PlaidEnvironment plaidEnv; + + @JsonProperty("sourceType") + private Plaid sourceType; + + /** + * The date from which you'd like to replicate data for Plaid in the format YYYY-MM-DD. All data generated after this date will be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonCreator + public SourcePlaid( + @JsonProperty("access_token") String accessToken, + @JsonProperty("api_key") String apiKey, + @JsonProperty("client_id") String clientId, + @JsonProperty("plaid_env") PlaidEnvironment plaidEnv, + @JsonProperty("start_date") Optional startDate) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(plaidEnv, "plaidEnv"); + Utils.checkNotNull(startDate, "startDate"); + this.accessToken = accessToken; + this.apiKey = apiKey; + this.clientId = clientId; + this.plaidEnv = plaidEnv; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourcePlaid( + String accessToken, + String apiKey, + String clientId, + PlaidEnvironment plaidEnv) { + this(accessToken, apiKey, clientId, plaidEnv, Optional.empty()); + } + + /** + * The end-user's Link access token. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + /** + * The Plaid API key to use to hit the API. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The Plaid client id. + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * The Plaid environment. + */ + @JsonIgnore + public PlaidEnvironment plaidEnv() { + return plaidEnv; + } + + @JsonIgnore + public Plaid sourceType() { + return sourceType; + } + + /** + * The date from which you'd like to replicate data for Plaid in the format YYYY-MM-DD. All data generated after this date will be replicated. + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The end-user's Link access token. + */ + public SourcePlaid withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * The Plaid API key to use to hit the API. + */ + public SourcePlaid withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The Plaid client id. + */ + public SourcePlaid withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Plaid environment. + */ + public SourcePlaid withPlaidEnv(PlaidEnvironment plaidEnv) { + Utils.checkNotNull(plaidEnv, "plaidEnv"); + this.plaidEnv = plaidEnv; + return this; + } + + /** + * The date from which you'd like to replicate data for Plaid in the format YYYY-MM-DD. All data generated after this date will be replicated. + */ + public SourcePlaid withStartDate(LocalDate startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * The date from which you'd like to replicate data for Plaid in the format YYYY-MM-DD. All data generated after this date will be replicated. + */ + public SourcePlaid withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePlaid other = (SourcePlaid) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.plaidEnv, other.plaidEnv) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + apiKey, + clientId, + plaidEnv, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourcePlaid.class, + "accessToken", accessToken, + "apiKey", apiKey, + "clientId", clientId, + "plaidEnv", plaidEnv, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accessToken; + + private String apiKey; + + private String clientId; + + private PlaidEnvironment plaidEnv; + + private Optional startDate = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * The end-user's Link access token. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * The Plaid API key to use to hit the API. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The Plaid client id. + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Plaid environment. + */ + public Builder plaidEnv(PlaidEnvironment plaidEnv) { + Utils.checkNotNull(plaidEnv, "plaidEnv"); + this.plaidEnv = plaidEnv; + return this; + } + + /** + * The date from which you'd like to replicate data for Plaid in the format YYYY-MM-DD. All data generated after this date will be replicated. + */ + public Builder startDate(LocalDate startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * The date from which you'd like to replicate data for Plaid in the format YYYY-MM-DD. All data generated after this date will be replicated. + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourcePlaid build() { + return new SourcePlaid( + accessToken, + apiKey, + clientId, + plaidEnv, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"plaid\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePlanhat.java b/src/main/java/com/airbyte/api/models/shared/SourcePlanhat.java index c458e16ff..3a63b664a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePlanhat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePlanhat.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourcePlanhat { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourcePlanhat other = (SourcePlanhat) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePlausible.java b/src/main/java/com/airbyte/api/models/shared/SourcePlausible.java new file mode 100644 index 000000000..c325ec6ff --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePlausible.java @@ -0,0 +1,291 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourcePlausible { + + /** + * Plausible API Key. See the <a href="https://plausible.io/docs/stats-api">docs</a> for information on how to generate this key. + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * The API URL of your plausible instance. Change this if you self-host plausible. The default is https://plausible.io/api/v1/stats + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("api_url") + private Optional apiUrl; + + /** + * The domain of the site you want to retrieve data for. Enter the name of your site as configured on Plausible, i.e., excluding "https://" and "www". Can be retrieved from the 'domain' field in your Plausible site settings. + */ + @JsonProperty("site_id") + private String siteId; + + @JsonProperty("sourceType") + private Plausible sourceType; + + /** + * Start date for data to retrieve, in ISO-8601 format. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonCreator + public SourcePlausible( + @JsonProperty("api_key") String apiKey, + @JsonProperty("api_url") Optional apiUrl, + @JsonProperty("site_id") String siteId, + @JsonProperty("start_date") Optional startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(apiUrl, "apiUrl"); + Utils.checkNotNull(siteId, "siteId"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.apiUrl = apiUrl; + this.siteId = siteId; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourcePlausible( + String apiKey, + String siteId) { + this(apiKey, Optional.empty(), siteId, Optional.empty()); + } + + /** + * Plausible API Key. See the <a href="https://plausible.io/docs/stats-api">docs</a> for information on how to generate this key. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The API URL of your plausible instance. Change this if you self-host plausible. The default is https://plausible.io/api/v1/stats + */ + @JsonIgnore + public Optional apiUrl() { + return apiUrl; + } + + /** + * The domain of the site you want to retrieve data for. Enter the name of your site as configured on Plausible, i.e., excluding "https://" and "www". Can be retrieved from the 'domain' field in your Plausible site settings. + */ + @JsonIgnore + public String siteId() { + return siteId; + } + + @JsonIgnore + public Plausible sourceType() { + return sourceType; + } + + /** + * Start date for data to retrieve, in ISO-8601 format. + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Plausible API Key. See the <a href="https://plausible.io/docs/stats-api">docs</a> for information on how to generate this key. + */ + public SourcePlausible withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The API URL of your plausible instance. Change this if you self-host plausible. The default is https://plausible.io/api/v1/stats + */ + public SourcePlausible withApiUrl(String apiUrl) { + Utils.checkNotNull(apiUrl, "apiUrl"); + this.apiUrl = Optional.ofNullable(apiUrl); + return this; + } + + /** + * The API URL of your plausible instance. Change this if you self-host plausible. The default is https://plausible.io/api/v1/stats + */ + public SourcePlausible withApiUrl(Optional apiUrl) { + Utils.checkNotNull(apiUrl, "apiUrl"); + this.apiUrl = apiUrl; + return this; + } + + /** + * The domain of the site you want to retrieve data for. Enter the name of your site as configured on Plausible, i.e., excluding "https://" and "www". Can be retrieved from the 'domain' field in your Plausible site settings. + */ + public SourcePlausible withSiteId(String siteId) { + Utils.checkNotNull(siteId, "siteId"); + this.siteId = siteId; + return this; + } + + /** + * Start date for data to retrieve, in ISO-8601 format. + */ + public SourcePlausible withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Start date for data to retrieve, in ISO-8601 format. + */ + public SourcePlausible withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePlausible other = (SourcePlausible) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiUrl, other.apiUrl) && + Objects.deepEquals(this.siteId, other.siteId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + apiUrl, + siteId, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourcePlausible.class, + "apiKey", apiKey, + "apiUrl", apiUrl, + "siteId", siteId, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional apiUrl = Optional.empty(); + + private String siteId; + + private Optional startDate = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * Plausible API Key. See the <a href="https://plausible.io/docs/stats-api">docs</a> for information on how to generate this key. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The API URL of your plausible instance. Change this if you self-host plausible. The default is https://plausible.io/api/v1/stats + */ + public Builder apiUrl(String apiUrl) { + Utils.checkNotNull(apiUrl, "apiUrl"); + this.apiUrl = Optional.ofNullable(apiUrl); + return this; + } + + /** + * The API URL of your plausible instance. Change this if you self-host plausible. The default is https://plausible.io/api/v1/stats + */ + public Builder apiUrl(Optional apiUrl) { + Utils.checkNotNull(apiUrl, "apiUrl"); + this.apiUrl = apiUrl; + return this; + } + + /** + * The domain of the site you want to retrieve data for. Enter the name of your site as configured on Plausible, i.e., excluding "https://" and "www". Can be retrieved from the 'domain' field in your Plausible site settings. + */ + public Builder siteId(String siteId) { + Utils.checkNotNull(siteId, "siteId"); + this.siteId = siteId; + return this; + } + + /** + * Start date for data to retrieve, in ISO-8601 format. + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Start date for data to retrieve, in ISO-8601 format. + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourcePlausible build() { + return new SourcePlausible( + apiKey, + apiUrl, + siteId, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"plausible\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePocket.java b/src/main/java/com/airbyte/api/models/shared/SourcePocket.java index 36a010468..994387610 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePocket.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePocket.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourcePocket { /** @@ -52,28 +54,28 @@ public class SourcePocket { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("domain") - private Optional domain; + private Optional domain; /** * Retrieve only favorited items. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("favorite") - private Optional favorite; + private Optional favorite; /** * Only return items whose title or url contain the `search` string. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("search") - private Optional search; + private Optional search; /** * Only return items modified since the given timestamp. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("since") - private Optional since; + private Optional since; /** * Sort retrieved items by the given criteria. @@ -97,7 +99,7 @@ public class SourcePocket { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tag") - private Optional tag; + private Optional tag; @JsonCreator public SourcePocket( @@ -105,13 +107,13 @@ public SourcePocket( @JsonProperty("consumer_key") String consumerKey, @JsonProperty("content_type") Optional contentType, @JsonProperty("detail_type") Optional detailType, - @JsonProperty("domain") Optional domain, - @JsonProperty("favorite") Optional favorite, - @JsonProperty("search") Optional search, - @JsonProperty("since") Optional since, + @JsonProperty("domain") Optional domain, + @JsonProperty("favorite") Optional favorite, + @JsonProperty("search") Optional search, + @JsonProperty("since") Optional since, @JsonProperty("sort") Optional sort, @JsonProperty("state") Optional state, - @JsonProperty("tag") Optional tag) { + @JsonProperty("tag") Optional tag) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(consumerKey, "consumerKey"); Utils.checkNotNull(contentType, "contentType"); @@ -180,37 +182,33 @@ public Optional detailType() { /** * Only return items from a particular `domain`. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional domain() { - return (Optional) domain; + return domain; } /** * Retrieve only favorited items. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional favorite() { - return (Optional) favorite; + return favorite; } /** * Only return items whose title or url contain the `search` string. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional search() { - return (Optional) search; + return search; } /** * Only return items modified since the given timestamp. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional since() { - return (Optional) since; + return since; } /** @@ -239,10 +237,9 @@ public Optional state() { /** * Return only items tagged with this tag name. Use _untagged_ for retrieving only untagged items. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tag() { - return (Optional) tag; + return tag; } public final static Builder builder() { @@ -315,7 +312,7 @@ public SourcePocket withDomain(String domain) { /** * Only return items from a particular `domain`. */ - public SourcePocket withDomain(Optional domain) { + public SourcePocket withDomain(Optional domain) { Utils.checkNotNull(domain, "domain"); this.domain = domain; return this; @@ -333,7 +330,7 @@ public SourcePocket withFavorite(boolean favorite) { /** * Retrieve only favorited items. */ - public SourcePocket withFavorite(Optional favorite) { + public SourcePocket withFavorite(Optional favorite) { Utils.checkNotNull(favorite, "favorite"); this.favorite = favorite; return this; @@ -351,7 +348,7 @@ public SourcePocket withSearch(String search) { /** * Only return items whose title or url contain the `search` string. */ - public SourcePocket withSearch(Optional search) { + public SourcePocket withSearch(Optional search) { Utils.checkNotNull(search, "search"); this.search = search; return this; @@ -369,7 +366,7 @@ public SourcePocket withSince(String since) { /** * Only return items modified since the given timestamp. */ - public SourcePocket withSince(Optional since) { + public SourcePocket withSince(Optional since) { Utils.checkNotNull(since, "since"); this.since = since; return this; @@ -423,7 +420,7 @@ public SourcePocket withTag(String tag) { /** * Return only items tagged with this tag name. Use _untagged_ for retrieving only untagged items. */ - public SourcePocket withTag(Optional tag) { + public SourcePocket withTag(Optional tag) { Utils.checkNotNull(tag, "tag"); this.tag = tag; return this; @@ -439,23 +436,23 @@ public boolean equals(java.lang.Object o) { } SourcePocket other = (SourcePocket) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.consumerKey, other.consumerKey) && - java.util.Objects.deepEquals(this.contentType, other.contentType) && - java.util.Objects.deepEquals(this.detailType, other.detailType) && - java.util.Objects.deepEquals(this.domain, other.domain) && - java.util.Objects.deepEquals(this.favorite, other.favorite) && - java.util.Objects.deepEquals(this.search, other.search) && - java.util.Objects.deepEquals(this.since, other.since) && - java.util.Objects.deepEquals(this.sort, other.sort) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.state, other.state) && - java.util.Objects.deepEquals(this.tag, other.tag); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.consumerKey, other.consumerKey) && + Objects.deepEquals(this.contentType, other.contentType) && + Objects.deepEquals(this.detailType, other.detailType) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.favorite, other.favorite) && + Objects.deepEquals(this.search, other.search) && + Objects.deepEquals(this.since, other.since) && + Objects.deepEquals(this.sort, other.sort) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.state, other.state) && + Objects.deepEquals(this.tag, other.tag); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, consumerKey, contentType, @@ -497,19 +494,19 @@ public final static class Builder { private Optional detailType = Optional.empty(); - private Optional domain = Optional.empty(); + private Optional domain = Optional.empty(); - private Optional favorite; + private Optional favorite; - private Optional search = Optional.empty(); + private Optional search = Optional.empty(); - private Optional since = Optional.empty(); + private Optional since = Optional.empty(); private Optional sort = Optional.empty(); private Optional state = Optional.empty(); - private Optional tag = Optional.empty(); + private Optional tag = Optional.empty(); private Builder() { // force use of static builder() method @@ -581,7 +578,7 @@ public Builder domain(String domain) { /** * Only return items from a particular `domain`. */ - public Builder domain(Optional domain) { + public Builder domain(Optional domain) { Utils.checkNotNull(domain, "domain"); this.domain = domain; return this; @@ -599,7 +596,7 @@ public Builder favorite(boolean favorite) { /** * Retrieve only favorited items. */ - public Builder favorite(Optional favorite) { + public Builder favorite(Optional favorite) { Utils.checkNotNull(favorite, "favorite"); this.favorite = favorite; return this; @@ -617,7 +614,7 @@ public Builder search(String search) { /** * Only return items whose title or url contain the `search` string. */ - public Builder search(Optional search) { + public Builder search(Optional search) { Utils.checkNotNull(search, "search"); this.search = search; return this; @@ -635,7 +632,7 @@ public Builder since(String since) { /** * Only return items modified since the given timestamp. */ - public Builder since(Optional since) { + public Builder since(Optional since) { Utils.checkNotNull(since, "since"); this.since = since; return this; @@ -689,7 +686,7 @@ public Builder tag(String tag) { /** * Return only items tagged with this tag name. Use _untagged_ for retrieving only untagged items. */ - public Builder tag(Optional tag) { + public Builder tag(Optional tag) { Utils.checkNotNull(tag, "tag"); this.tag = tag; return this; @@ -698,8 +695,7 @@ public Builder tag(Optional tag) { public SourcePocket build() { if (favorite == null) { favorite = _SINGLETON_VALUE_Favorite.value(); - } - return new SourcePocket( + } return new SourcePocket( accessToken, consumerKey, contentType, @@ -713,11 +709,11 @@ public SourcePocket build() { tag); } - private static final LazySingletonValue> _SINGLETON_VALUE_Favorite = + private static final LazySingletonValue> _SINGLETON_VALUE_Favorite = new LazySingletonValue<>( "favorite", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePocketSortBy.java b/src/main/java/com/airbyte/api/models/shared/SourcePocketSortBy.java index 922c948d7..fca493da2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePocketSortBy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePocketSortBy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourcePocketSortBy - Sort retrieved items by the given criteria. diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java b/src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java index d00aaf831..0104128b7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourcePokeapi { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourcePokeapi other = (SourcePokeapi) o; return - java.util.Objects.deepEquals(this.pokemonName, other.pokemonName) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.pokemonName, other.pokemonName) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( pokemonName, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java b/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java index 7f760128c..d6a0211e7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePolygonStockApi.java @@ -1,25 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.Objects; import java.util.Optional; + public class SourcePolygonStockApi { /** @@ -27,7 +28,7 @@ public class SourcePolygonStockApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("adjusted") - private Optional adjusted; + private Optional adjusted; /** * Your API ACCESS Key @@ -46,7 +47,7 @@ public class SourcePolygonStockApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("limit") - private Optional limit; + private Optional limit; /** * The size of the timespan multiplier. @@ -59,7 +60,7 @@ public class SourcePolygonStockApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("sort") - private Optional sort; + private Optional sort; @JsonProperty("sourceType") private PolygonStockApi sourceType; @@ -84,12 +85,12 @@ public class SourcePolygonStockApi { @JsonCreator public SourcePolygonStockApi( - @JsonProperty("adjusted") Optional adjusted, + @JsonProperty("adjusted") Optional adjusted, @JsonProperty("apiKey") String apiKey, @JsonProperty("end_date") LocalDate endDate, - @JsonProperty("limit") Optional limit, + @JsonProperty("limit") Optional limit, @JsonProperty("multiplier") long multiplier, - @JsonProperty("sort") Optional sort, + @JsonProperty("sort") Optional sort, @JsonProperty("start_date") LocalDate startDate, @JsonProperty("stocksTicker") String stocksTicker, @JsonProperty("timespan") String timespan) { @@ -127,10 +128,9 @@ public SourcePolygonStockApi( /** * Determines whether or not the results are adjusted for splits. By default, results are adjusted and set to true. Set this to false to get results that are NOT adjusted for splits. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional adjusted() { - return (Optional) adjusted; + return adjusted; } /** @@ -152,10 +152,9 @@ public LocalDate endDate() { /** * The target date for the aggregate window. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional limit() { - return (Optional) limit; + return limit; } /** @@ -169,10 +168,9 @@ public long multiplier() { /** * Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional sort() { - return (Optional) sort; + return sort; } @JsonIgnore @@ -220,7 +218,7 @@ public SourcePolygonStockApi withAdjusted(String adjusted) { /** * Determines whether or not the results are adjusted for splits. By default, results are adjusted and set to true. Set this to false to get results that are NOT adjusted for splits. */ - public SourcePolygonStockApi withAdjusted(Optional adjusted) { + public SourcePolygonStockApi withAdjusted(Optional adjusted) { Utils.checkNotNull(adjusted, "adjusted"); this.adjusted = adjusted; return this; @@ -256,7 +254,7 @@ public SourcePolygonStockApi withLimit(long limit) { /** * The target date for the aggregate window. */ - public SourcePolygonStockApi withLimit(Optional limit) { + public SourcePolygonStockApi withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -283,7 +281,7 @@ public SourcePolygonStockApi withSort(String sort) { /** * Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top). */ - public SourcePolygonStockApi withSort(Optional sort) { + public SourcePolygonStockApi withSort(Optional sort) { Utils.checkNotNull(sort, "sort"); this.sort = sort; return this; @@ -326,21 +324,21 @@ public boolean equals(java.lang.Object o) { } SourcePolygonStockApi other = (SourcePolygonStockApi) o; return - java.util.Objects.deepEquals(this.adjusted, other.adjusted) && - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.limit, other.limit) && - java.util.Objects.deepEquals(this.multiplier, other.multiplier) && - java.util.Objects.deepEquals(this.sort, other.sort) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.stocksTicker, other.stocksTicker) && - java.util.Objects.deepEquals(this.timespan, other.timespan); + Objects.deepEquals(this.adjusted, other.adjusted) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.multiplier, other.multiplier) && + Objects.deepEquals(this.sort, other.sort) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.stocksTicker, other.stocksTicker) && + Objects.deepEquals(this.timespan, other.timespan); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( adjusted, apiKey, endDate, @@ -370,17 +368,17 @@ public String toString() { public final static class Builder { - private Optional adjusted = Optional.empty(); + private Optional adjusted = Optional.empty(); private String apiKey; private LocalDate endDate; - private Optional limit = Optional.empty(); + private Optional limit = Optional.empty(); private Long multiplier; - private Optional sort = Optional.empty(); + private Optional sort = Optional.empty(); private LocalDate startDate; @@ -404,7 +402,7 @@ public Builder adjusted(String adjusted) { /** * Determines whether or not the results are adjusted for splits. By default, results are adjusted and set to true. Set this to false to get results that are NOT adjusted for splits. */ - public Builder adjusted(Optional adjusted) { + public Builder adjusted(Optional adjusted) { Utils.checkNotNull(adjusted, "adjusted"); this.adjusted = adjusted; return this; @@ -440,7 +438,7 @@ public Builder limit(long limit) { /** * The target date for the aggregate window. */ - public Builder limit(Optional limit) { + public Builder limit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -467,7 +465,7 @@ public Builder sort(String sort) { /** * Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top). */ - public Builder sort(Optional sort) { + public Builder sort(Optional sort) { Utils.checkNotNull(sort, "sort"); this.sort = sort; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgres.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgres.java index d9628c6bd..9f35a4bb9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgres.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgres.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourcePostgres { /** @@ -38,21 +41,21 @@ public class SourcePostgres { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * Password associated with the username. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * Port of the database. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * Configures how data is extracted from the database. @@ -66,7 +69,7 @@ public class SourcePostgres { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemas") - private Optional> schemas; + private Optional> schemas; @JsonProperty("sourceType") private SourcePostgresPostgres sourceType; @@ -77,7 +80,7 @@ public class SourcePostgres { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ssl_mode") - private Optional sslMode; + private Optional sslMode; /** * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -96,12 +99,12 @@ public class SourcePostgres { public SourcePostgres( @JsonProperty("database") String database, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, - @JsonProperty("password") Optional password, - @JsonProperty("port") Optional port, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("password") Optional password, + @JsonProperty("port") Optional port, @JsonProperty("replication_method") Optional replicationMethod, - @JsonProperty("schemas") Optional> schemas, - @JsonProperty("ssl_mode") Optional sslMode, + @JsonProperty("schemas") Optional> schemas, + @JsonProperty("ssl_mode") Optional sslMode, @JsonProperty("tunnel_method") Optional tunnelMethod, @JsonProperty("username") String username) { Utils.checkNotNull(database, "database"); @@ -153,28 +156,25 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about <a href="https://jdbc.postgresql.org/documentation/head/connect.html">JDBC URL parameters</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** * Password associated with the username. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** * Port of the database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** @@ -191,8 +191,8 @@ public Optional replicationMethod() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> schemas() { - return (Optional>) schemas; + public Optional> schemas() { + return (Optional>) schemas; } @JsonIgnore @@ -206,8 +206,8 @@ public SourcePostgresPostgres sourceType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional sslMode() { - return (Optional) sslMode; + public Optional sslMode() { + return (Optional) sslMode; } /** @@ -261,7 +261,7 @@ public SourcePostgres withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about <a href="https://jdbc.postgresql.org/documentation/head/connect.html">JDBC URL parameters</a>. */ - public SourcePostgres withJdbcUrlParams(Optional jdbcUrlParams) { + public SourcePostgres withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -279,7 +279,7 @@ public SourcePostgres withPassword(String password) { /** * Password associated with the username. */ - public SourcePostgres withPassword(Optional password) { + public SourcePostgres withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -297,7 +297,7 @@ public SourcePostgres withPort(long port) { /** * Port of the database. */ - public SourcePostgres withPort(Optional port) { + public SourcePostgres withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -324,7 +324,7 @@ public SourcePostgres withReplicationMethod(Optional schemas) { + public SourcePostgres withSchemas(List schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = Optional.ofNullable(schemas); return this; @@ -333,7 +333,7 @@ public SourcePostgres withSchemas(java.util.List schemas) { /** * The list of schemas (case sensitive) to sync from. Defaults to public. */ - public SourcePostgres withSchemas(Optional> schemas) { + public SourcePostgres withSchemas(Optional> schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = schemas; return this; @@ -343,7 +343,7 @@ public SourcePostgres withSchemas(Optional> sch * SSL connection modes. * Read more <a href="https://jdbc.postgresql.org/documentation/head/ssl-client.html"> in the docs</a>. */ - public SourcePostgres withSslMode(java.lang.Object sslMode) { + public SourcePostgres withSslMode(SourcePostgresSSLModes sslMode) { Utils.checkNotNull(sslMode, "sslMode"); this.sslMode = Optional.ofNullable(sslMode); return this; @@ -353,7 +353,7 @@ public SourcePostgres withSslMode(java.lang.Object sslMode) { * SSL connection modes. * Read more <a href="https://jdbc.postgresql.org/documentation/head/ssl-client.html"> in the docs</a>. */ - public SourcePostgres withSslMode(Optional sslMode) { + public SourcePostgres withSslMode(Optional sslMode) { Utils.checkNotNull(sslMode, "sslMode"); this.sslMode = sslMode; return this; @@ -396,22 +396,22 @@ public boolean equals(java.lang.Object o) { } SourcePostgres other = (SourcePostgres) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.replicationMethod, other.replicationMethod) && - java.util.Objects.deepEquals(this.schemas, other.schemas) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.sslMode, other.sslMode) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.replicationMethod, other.replicationMethod) && + Objects.deepEquals(this.schemas, other.schemas) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.sslMode, other.sslMode) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, host, jdbcUrlParams, @@ -447,17 +447,17 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); - private Optional port; + private Optional port; private Optional replicationMethod = Optional.empty(); - private Optional> schemas = Optional.empty(); + private Optional> schemas = Optional.empty(); - private Optional sslMode = Optional.empty(); + private Optional sslMode = Optional.empty(); private Optional tunnelMethod = Optional.empty(); @@ -497,7 +497,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (Eg. key1=value1&key2=value2&key3=value3). For more information read about <a href="https://jdbc.postgresql.org/documentation/head/connect.html">JDBC URL parameters</a>. */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -515,7 +515,7 @@ public Builder password(String password) { /** * Password associated with the username. */ - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -533,7 +533,7 @@ public Builder port(long port) { /** * Port of the database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -560,7 +560,7 @@ public Builder replicationMethod(Optional /** * The list of schemas (case sensitive) to sync from. Defaults to public. */ - public Builder schemas(java.util.List schemas) { + public Builder schemas(List schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = Optional.ofNullable(schemas); return this; @@ -569,7 +569,7 @@ public Builder schemas(java.util.List schemas) { /** * The list of schemas (case sensitive) to sync from. Defaults to public. */ - public Builder schemas(Optional> schemas) { + public Builder schemas(Optional> schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = schemas; return this; @@ -579,7 +579,7 @@ public Builder schemas(Optional> schemas) { * SSL connection modes. * Read more <a href="https://jdbc.postgresql.org/documentation/head/ssl-client.html"> in the docs</a>. */ - public Builder sslMode(java.lang.Object sslMode) { + public Builder sslMode(SourcePostgresSSLModes sslMode) { Utils.checkNotNull(sslMode, "sslMode"); this.sslMode = Optional.ofNullable(sslMode); return this; @@ -589,7 +589,7 @@ public Builder sslMode(java.lang.Object sslMode) { * SSL connection modes. * Read more <a href="https://jdbc.postgresql.org/documentation/head/ssl-client.html"> in the docs</a>. */ - public Builder sslMode(Optional sslMode) { + public Builder sslMode(Optional sslMode) { Utils.checkNotNull(sslMode, "sslMode"); this.sslMode = sslMode; return this; @@ -625,8 +625,7 @@ public Builder username(String username) { public SourcePostgres build() { if (port == null) { port = _SINGLETON_VALUE_Port.value(); - } - return new SourcePostgres( + } return new SourcePostgres( database, host, jdbcUrlParams, @@ -639,11 +638,11 @@ public SourcePostgres build() { username); } - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "5432", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresAllow.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresAllow.java new file mode 100644 index 000000000..451c1c926 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresAllow.java @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** + * SourcePostgresAllow - Enables encryption only when required by the source database. + */ + +public class SourcePostgresAllow { + + @JsonIgnore + private Map additionalProperties; + + @JsonProperty("mode") + private SourcePostgresSchemasMode mode; + + @JsonCreator + public SourcePostgresAllow() { + + this.additionalProperties = new HashMap<>(); + this.mode = Builder._SINGLETON_VALUE_Mode.value(); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @JsonIgnore + public SourcePostgresSchemasMode mode() { + return mode; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourcePostgresAllow withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourcePostgresAllow withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePostgresAllow other = (SourcePostgresAllow) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.mode, other.mode); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + mode); + } + + @Override + public String toString() { + return Utils.toString(SourcePostgresAllow.class, + "additionalProperties", additionalProperties, + "mode", mode); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public SourcePostgresAllow build() { + return new SourcePostgresAllow( + ) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Mode = + new LazySingletonValue<>( + "mode", + "\"allow\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresDisable.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresDisable.java new file mode 100644 index 000000000..3c850d5a9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresDisable.java @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** + * SourcePostgresDisable - Disables encryption of communication between Airbyte and source database. + */ + +public class SourcePostgresDisable { + + @JsonIgnore + private Map additionalProperties; + + @JsonProperty("mode") + private SourcePostgresMode mode; + + @JsonCreator + public SourcePostgresDisable() { + + this.additionalProperties = new HashMap<>(); + this.mode = Builder._SINGLETON_VALUE_Mode.value(); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @JsonIgnore + public SourcePostgresMode mode() { + return mode; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourcePostgresDisable withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourcePostgresDisable withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePostgresDisable other = (SourcePostgresDisable) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.mode, other.mode); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + mode); + } + + @Override + public String toString() { + return Utils.toString(SourcePostgresDisable.class, + "additionalProperties", additionalProperties, + "mode", mode); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public SourcePostgresDisable build() { + return new SourcePostgresDisable( + ) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Mode = + new LazySingletonValue<>( + "mode", + "\"disable\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.java new file mode 100644 index 000000000..0e0b0d847 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresInvalidCDCPositionBehaviorAdvanced.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourcePostgresInvalidCDCPositionBehaviorAdvanced - Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. + */ +public enum SourcePostgresInvalidCDCPositionBehaviorAdvanced { + FAIL_SYNC("Fail sync"), + RE_SYNC_DATA("Re-sync data"); + + @JsonValue + private final String value; + + private SourcePostgresInvalidCDCPositionBehaviorAdvanced(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresMethod.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresMethod.java index 620480b54..67c2734f6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresMethod.java @@ -1,22 +1,14 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourcePostgresMethod { - XMIN("Xmin"); + CDC("CDC"); @JsonValue private final String value; diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresMode.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresMode.java new file mode 100644 index 000000000..b8733834d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresMode.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourcePostgresMode { + DISABLE("disable"); + + @JsonValue + private final String value; + + private SourcePostgresMode(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresNoTunnel.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresNoTunnel.java index e5a890d7d..88be3bec7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresNoTunnel.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresNoTunnel.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourcePostgresNoTunnel { @@ -52,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourcePostgresNoTunnel other = (SourcePostgresNoTunnel) o; return - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresPasswordAuthentication.java index 05e10b279..39f7c2182 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresPasswordAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourcePostgresPasswordAuthentication { /** @@ -38,7 +39,7 @@ public class SourcePostgresPasswordAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host @@ -55,7 +56,7 @@ public class SourcePostgresPasswordAuthentication { @JsonCreator public SourcePostgresPasswordAuthentication( @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword) { Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -95,10 +96,9 @@ public SourcePostgresSchemasTunnelMethodTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -142,7 +142,7 @@ public SourcePostgresPasswordAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourcePostgresPasswordAuthentication withTunnelPort(Optional tunnelPort) { + public SourcePostgresPasswordAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourcePostgresPasswordAuthentication other = (SourcePostgresPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser) && - java.util.Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser) && + Objects.deepEquals(this.tunnelUserPassword, other.tunnelUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( tunnelHost, tunnelMethod, tunnelPort, @@ -207,7 +207,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -238,7 +238,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUserPassword(String tunnelUserPassword) { public SourcePostgresPasswordAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourcePostgresPasswordAuthentication( + } return new SourcePostgresPasswordAuthentication( tunnelHost, tunnelPort, tunnelUser, @@ -279,11 +278,11 @@ public SourcePostgresPasswordAuthentication build() { "\"SSH_PASSWORD_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgres.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgres.java index 02cf688ec..cbeb73e55 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgres.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresPostgres.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourcePostgresPostgres { POSTGRES("postgres"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresPrefer.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresPrefer.java new file mode 100644 index 000000000..718d4f763 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresPrefer.java @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** + * SourcePostgresPrefer - Allows unencrypted connection only if the source database does not support encryption. + */ + +public class SourcePostgresPrefer { + + @JsonIgnore + private Map additionalProperties; + + @JsonProperty("mode") + private SourcePostgresSchemasSslModeMode mode; + + @JsonCreator + public SourcePostgresPrefer() { + + this.additionalProperties = new HashMap<>(); + this.mode = Builder._SINGLETON_VALUE_Mode.value(); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @JsonIgnore + public SourcePostgresSchemasSslModeMode mode() { + return mode; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourcePostgresPrefer withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourcePostgresPrefer withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePostgresPrefer other = (SourcePostgresPrefer) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.mode, other.mode); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + mode); + } + + @Override + public String toString() { + return Utils.toString(SourcePostgresPrefer.class, + "additionalProperties", additionalProperties, + "mode", mode); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public SourcePostgresPrefer build() { + return new SourcePostgresPrefer( + ) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Mode = + new LazySingletonValue<>( + "mode", + "\"prefer\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresRequire.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresRequire.java new file mode 100644 index 000000000..cc01f2668 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresRequire.java @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** + * SourcePostgresRequire - Always require encryption. If the source database server does not support encryption, connection will fail. + */ + +public class SourcePostgresRequire { + + @JsonIgnore + private Map additionalProperties; + + @JsonProperty("mode") + private SourcePostgresSchemasSSLModeSSLModesMode mode; + + @JsonCreator + public SourcePostgresRequire() { + + this.additionalProperties = new HashMap<>(); + this.mode = Builder._SINGLETON_VALUE_Mode.value(); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + @JsonIgnore + public SourcePostgresSchemasSSLModeSSLModesMode mode() { + return mode; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourcePostgresRequire withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourcePostgresRequire withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePostgresRequire other = (SourcePostgresRequire) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.mode, other.mode); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + mode); + } + + @Override + public String toString() { + return Utils.toString(SourcePostgresRequire.class, + "additionalProperties", additionalProperties, + "mode", mode); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + public SourcePostgresRequire build() { + return new SourcePostgresRequire( + ) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Mode = + new LazySingletonValue<>( + "mode", + "\"require\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHKeyAuthentication.java index cf845f212..edd67340a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHKeyAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourcePostgresSSHKeyAuthentication { /** @@ -44,7 +45,7 @@ public class SourcePostgresSSHKeyAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tunnel_port") - private Optional tunnelPort; + private Optional tunnelPort; /** * OS-level username for logging into the jump server host. @@ -56,7 +57,7 @@ public class SourcePostgresSSHKeyAuthentication { public SourcePostgresSSHKeyAuthentication( @JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, - @JsonProperty("tunnel_port") Optional tunnelPort, + @JsonProperty("tunnel_port") Optional tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { Utils.checkNotNull(sshKey, "sshKey"); Utils.checkNotNull(tunnelHost, "tunnelHost"); @@ -103,10 +104,9 @@ public SourcePostgresSchemasTunnelMethod tunnelMethod() { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tunnelPort() { - return (Optional) tunnelPort; + return tunnelPort; } /** @@ -151,7 +151,7 @@ public SourcePostgresSSHKeyAuthentication withTunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public SourcePostgresSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { + public SourcePostgresSSHKeyAuthentication withTunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -176,16 +176,16 @@ public boolean equals(java.lang.Object o) { } SourcePostgresSSHKeyAuthentication other = (SourcePostgresSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.sshKey, other.sshKey) && - java.util.Objects.deepEquals(this.tunnelHost, other.tunnelHost) && - java.util.Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && - java.util.Objects.deepEquals(this.tunnelPort, other.tunnelPort) && - java.util.Objects.deepEquals(this.tunnelUser, other.tunnelUser); + Objects.deepEquals(this.sshKey, other.sshKey) && + Objects.deepEquals(this.tunnelHost, other.tunnelHost) && + Objects.deepEquals(this.tunnelMethod, other.tunnelMethod) && + Objects.deepEquals(this.tunnelPort, other.tunnelPort) && + Objects.deepEquals(this.tunnelUser, other.tunnelUser); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sshKey, tunnelHost, tunnelMethod, @@ -209,7 +209,7 @@ public final static class Builder { private String tunnelHost; - private Optional tunnelPort; + private Optional tunnelPort; private String tunnelUser; @@ -247,7 +247,7 @@ public Builder tunnelPort(long tunnelPort) { /** * Port on the proxy/jump server that accepts inbound ssh connections. */ - public Builder tunnelPort(Optional tunnelPort) { + public Builder tunnelPort(Optional tunnelPort) { Utils.checkNotNull(tunnelPort, "tunnelPort"); this.tunnelPort = tunnelPort; return this; @@ -265,8 +265,7 @@ public Builder tunnelUser(String tunnelUser) { public SourcePostgresSSHKeyAuthentication build() { if (tunnelPort == null) { tunnelPort = _SINGLETON_VALUE_TunnelPort.value(); - } - return new SourcePostgresSSHKeyAuthentication( + } return new SourcePostgresSSHKeyAuthentication( sshKey, tunnelHost, tunnelPort, @@ -279,11 +278,11 @@ public SourcePostgresSSHKeyAuthentication build() { "\"SSH_KEY_AUTH\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = + private static final LazySingletonValue> _SINGLETON_VALUE_TunnelPort = new LazySingletonValue<>( "tunnel_port", "22", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHTunnelMethod.java index 832233527..2f8db19ef 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSHTunnelMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourcePostgresSSHTunnelMethod - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourcePostgresSSHTunnelMethod._Deserializer.class) public class SourcePostgresSSHTunnelMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourcePostgresSSHTunnelMethod(TypedObject value) { @@ -53,9 +50,9 @@ public static SourcePostgresSSHTunnelMethod of(SourcePostgresPasswordAuthenticat /** * Returns an instance of one of these types: *

      - *
    • {@code SourcePostgresNoTunnel}
    • - *
    • {@code SourcePostgresSSHKeyAuthentication}
    • - *
    • {@code SourcePostgresPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgresNoTunnel}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgresSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgresPasswordAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourcePostgresSSHTunnelMethod other = (SourcePostgresSSHTunnelMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourcePostgresSSHTunnelMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourcePostgresSSHTunnelMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSLModes.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSLModes.java new file mode 100644 index 000000000..850525d06 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSSLModes.java @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourcePostgresSSLModes - SSL connection modes. + * Read more <a href="https://jdbc.postgresql.org/documentation/head/ssl-client.html"> in the docs</a>. + */ + +@JsonDeserialize(using = SourcePostgresSSLModes._Deserializer.class) +public class SourcePostgresSSLModes { + + @JsonValue + private TypedObject value; + + private SourcePostgresSSLModes(TypedObject value) { + this.value = value; + } + + public static SourcePostgresSSLModes of(SourcePostgresDisable value) { + Utils.checkNotNull(value, "value"); + return new SourcePostgresSSLModes(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourcePostgresSSLModes of(SourcePostgresAllow value) { + Utils.checkNotNull(value, "value"); + return new SourcePostgresSSLModes(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourcePostgresSSLModes of(SourcePostgresPrefer value) { + Utils.checkNotNull(value, "value"); + return new SourcePostgresSSLModes(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourcePostgresSSLModes of(SourcePostgresRequire value) { + Utils.checkNotNull(value, "value"); + return new SourcePostgresSSLModes(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourcePostgresSSLModes of(SourcePostgresVerifyCa value) { + Utils.checkNotNull(value, "value"); + return new SourcePostgresSSLModes(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourcePostgresSSLModes of(SourcePostgresVerifyFull value) { + Utils.checkNotNull(value, "value"); + return new SourcePostgresSSLModes(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourcePostgresDisable}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgresAllow}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgresPrefer}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgresRequire}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgresVerifyCa}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgresVerifyFull}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePostgresSSLModes other = (SourcePostgresSSLModes) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourcePostgresSSLModes.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourcePostgresSSLModes.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.java index 8aae9517e..02873f42a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresScanChangesWithUserDefinedCursor.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * SourcePostgresScanChangesWithUserDefinedCursor - Incrementally detects new inserts and updates using the <a href="https://docs.airbyte.com/understanding-airbyte/connections/incremental-append/#user-defined-cursor">cursor column</a> chosen when configuring a connection (e.g. created_at, updated_at). */ @@ -22,7 +22,7 @@ public class SourcePostgresScanChangesWithUserDefinedCursor { @JsonProperty("method") - private SourcePostgresSchemasMethod method; + private SourcePostgresSchemasReplicationMethodMethod method; @JsonCreator public SourcePostgresScanChangesWithUserDefinedCursor() { @@ -31,7 +31,7 @@ public SourcePostgresScanChangesWithUserDefinedCursor() { } @JsonIgnore - public SourcePostgresSchemasMethod method() { + public SourcePostgresSchemasReplicationMethodMethod method() { return method; } @@ -49,12 +49,12 @@ public boolean equals(java.lang.Object o) { } SourcePostgresScanChangesWithUserDefinedCursor other = (SourcePostgresScanChangesWithUserDefinedCursor) o; return - java.util.Objects.deepEquals(this.method, other.method); + Objects.deepEquals(this.method, other.method); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( method); } @@ -75,11 +75,11 @@ public SourcePostgresScanChangesWithUserDefinedCursor build() { ); } - private static final LazySingletonValue _SINGLETON_VALUE_Method = + private static final LazySingletonValue _SINGLETON_VALUE_Method = new LazySingletonValue<>( "method", "\"Standard\"", - new TypeReference() {}); + new TypeReference() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMethod.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMethod.java index 1fe87ab9d..94beacbb4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMethod.java @@ -1,22 +1,14 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourcePostgresSchemasMethod { - STANDARD("Standard"); + XMIN("Xmin"); @JsonValue private final String value; diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMode.java new file mode 100644 index 000000000..9ef40b5e2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasMode.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourcePostgresSchemasMode { + ALLOW("allow"); + + @JsonValue + private final String value; + + private SourcePostgresSchemasMode(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasReplicationMethodMethod.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasReplicationMethodMethod.java new file mode 100644 index 000000000..55d095376 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasReplicationMethodMethod.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourcePostgresSchemasReplicationMethodMethod { + STANDARD("Standard"); + + @JsonValue + private final String value; + + private SourcePostgresSchemasReplicationMethodMethod(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes5Mode.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes5Mode.java new file mode 100644 index 000000000..7f976d88e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes5Mode.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourcePostgresSchemasSSLModeSSLModes5Mode { + VERIFY_CA("verify-ca"); + + @JsonValue + private final String value; + + private SourcePostgresSchemasSSLModeSSLModes5Mode(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes6Mode.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes6Mode.java new file mode 100644 index 000000000..338f3ffe1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModes6Mode.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourcePostgresSchemasSSLModeSSLModes6Mode { + VERIFY_FULL("verify-full"); + + @JsonValue + private final String value; + + private SourcePostgresSchemasSSLModeSSLModes6Mode(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModesMode.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModesMode.java new file mode 100644 index 000000000..827ccfac9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSSLModeSSLModesMode.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourcePostgresSchemasSSLModeSSLModesMode { + REQUIRE("require"); + + @JsonValue + private final String value; + + private SourcePostgresSchemasSSLModeSSLModesMode(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSslModeMode.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSslModeMode.java new file mode 100644 index 000000000..e2e47864e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasSslModeMode.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourcePostgresSchemasSslModeMode { + PREFER("prefer"); + + @JsonValue + private final String value; + + private SourcePostgresSchemasSslModeMode(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethod.java index b61b5205e..12597e0fc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourcePostgresSchemasTunnelMethod - Connect through a jump server tunnel host using username and ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.java index 7f172b31f..429d48db1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresSchemasTunnelMethodTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourcePostgresSchemasTunnelMethodTunnelMethod - Connect through a jump server tunnel host using username and password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethod.java index b15a20ec6..de96853d7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresTunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourcePostgresTunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresUpdateMethod.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresUpdateMethod.java index 795027ac2..abb012605 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostgresUpdateMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresUpdateMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourcePostgresUpdateMethod - Configures how data is extracted from the database. @@ -28,16 +25,16 @@ @JsonDeserialize(using = SourcePostgresUpdateMethod._Deserializer.class) public class SourcePostgresUpdateMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourcePostgresUpdateMethod(TypedObject value) { this.value = value; } - public static SourcePostgresUpdateMethod of(java.util.Map value) { + public static SourcePostgresUpdateMethod of(ReadChangesUsingWriteAheadLogCDC value) { Utils.checkNotNull(value, "value"); - return new SourcePostgresUpdateMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference>(){})); + return new SourcePostgresUpdateMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } public static SourcePostgresUpdateMethod of(DetectChangesWithXminSystemColumn value) { @@ -53,9 +50,9 @@ public static SourcePostgresUpdateMethod of(SourcePostgresScanChangesWithUserDef /** * Returns an instance of one of these types: *
      - *
    • {@code java.util.Map}
    • - *
    • {@code DetectChangesWithXminSystemColumn}
    • - *
    • {@code SourcePostgresScanChangesWithUserDefinedCursor}
    • + *
    • {@code com.airbyte.api.models.shared.ReadChangesUsingWriteAheadLogCDC}
    • + *
    • {@code com.airbyte.api.models.shared.DetectChangesWithXminSystemColumn}
    • + *
    • {@code com.airbyte.api.models.shared.SourcePostgresScanChangesWithUserDefinedCursor}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourcePostgresUpdateMethod other = (SourcePostgresUpdateMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourcePostgresUpdateMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference>() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourcePostgresUpdateMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyCa.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyCa.java new file mode 100644 index 000000000..f419f4119 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyCa.java @@ -0,0 +1,362 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +/** + * SourcePostgresVerifyCa - Always require encryption and verifies that the source database server has a valid SSL certificate. + */ + +public class SourcePostgresVerifyCa { + + @JsonIgnore + private Map additionalProperties; + + /** + * CA certificate + */ + @JsonProperty("ca_certificate") + private String caCertificate; + + /** + * Client certificate + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_certificate") + private Optional clientCertificate; + + /** + * Client key + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_key") + private Optional clientKey; + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_key_password") + private Optional clientKeyPassword; + + @JsonProperty("mode") + private SourcePostgresSchemasSSLModeSSLModes5Mode mode; + + @JsonCreator + public SourcePostgresVerifyCa( + @JsonProperty("ca_certificate") String caCertificate, + @JsonProperty("client_certificate") Optional clientCertificate, + @JsonProperty("client_key") Optional clientKey, + @JsonProperty("client_key_password") Optional clientKeyPassword) { + Utils.checkNotNull(caCertificate, "caCertificate"); + Utils.checkNotNull(clientCertificate, "clientCertificate"); + Utils.checkNotNull(clientKey, "clientKey"); + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.additionalProperties = new HashMap<>(); + this.caCertificate = caCertificate; + this.clientCertificate = clientCertificate; + this.clientKey = clientKey; + this.clientKeyPassword = clientKeyPassword; + this.mode = Builder._SINGLETON_VALUE_Mode.value(); + } + + public SourcePostgresVerifyCa( + String caCertificate) { + this(caCertificate, Optional.empty(), Optional.empty(), Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * CA certificate + */ + @JsonIgnore + public String caCertificate() { + return caCertificate; + } + + /** + * Client certificate + */ + @JsonIgnore + public Optional clientCertificate() { + return clientCertificate; + } + + /** + * Client key + */ + @JsonIgnore + public Optional clientKey() { + return clientKey; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + @JsonIgnore + public Optional clientKeyPassword() { + return clientKeyPassword; + } + + @JsonIgnore + public SourcePostgresSchemasSSLModeSSLModes5Mode mode() { + return mode; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourcePostgresVerifyCa withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourcePostgresVerifyCa withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * CA certificate + */ + public SourcePostgresVerifyCa withCaCertificate(String caCertificate) { + Utils.checkNotNull(caCertificate, "caCertificate"); + this.caCertificate = caCertificate; + return this; + } + + /** + * Client certificate + */ + public SourcePostgresVerifyCa withClientCertificate(String clientCertificate) { + Utils.checkNotNull(clientCertificate, "clientCertificate"); + this.clientCertificate = Optional.ofNullable(clientCertificate); + return this; + } + + /** + * Client certificate + */ + public SourcePostgresVerifyCa withClientCertificate(Optional clientCertificate) { + Utils.checkNotNull(clientCertificate, "clientCertificate"); + this.clientCertificate = clientCertificate; + return this; + } + + /** + * Client key + */ + public SourcePostgresVerifyCa withClientKey(String clientKey) { + Utils.checkNotNull(clientKey, "clientKey"); + this.clientKey = Optional.ofNullable(clientKey); + return this; + } + + /** + * Client key + */ + public SourcePostgresVerifyCa withClientKey(Optional clientKey) { + Utils.checkNotNull(clientKey, "clientKey"); + this.clientKey = clientKey; + return this; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + public SourcePostgresVerifyCa withClientKeyPassword(String clientKeyPassword) { + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.clientKeyPassword = Optional.ofNullable(clientKeyPassword); + return this; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + public SourcePostgresVerifyCa withClientKeyPassword(Optional clientKeyPassword) { + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.clientKeyPassword = clientKeyPassword; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePostgresVerifyCa other = (SourcePostgresVerifyCa) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.clientCertificate, other.clientCertificate) && + Objects.deepEquals(this.clientKey, other.clientKey) && + Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && + Objects.deepEquals(this.mode, other.mode); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + caCertificate, + clientCertificate, + clientKey, + clientKeyPassword, + mode); + } + + @Override + public String toString() { + return Utils.toString(SourcePostgresVerifyCa.class, + "additionalProperties", additionalProperties, + "caCertificate", caCertificate, + "clientCertificate", clientCertificate, + "clientKey", clientKey, + "clientKeyPassword", clientKeyPassword, + "mode", mode); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String caCertificate; + + private Optional clientCertificate = Optional.empty(); + + private Optional clientKey = Optional.empty(); + + private Optional clientKeyPassword = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * CA certificate + */ + public Builder caCertificate(String caCertificate) { + Utils.checkNotNull(caCertificate, "caCertificate"); + this.caCertificate = caCertificate; + return this; + } + + /** + * Client certificate + */ + public Builder clientCertificate(String clientCertificate) { + Utils.checkNotNull(clientCertificate, "clientCertificate"); + this.clientCertificate = Optional.ofNullable(clientCertificate); + return this; + } + + /** + * Client certificate + */ + public Builder clientCertificate(Optional clientCertificate) { + Utils.checkNotNull(clientCertificate, "clientCertificate"); + this.clientCertificate = clientCertificate; + return this; + } + + /** + * Client key + */ + public Builder clientKey(String clientKey) { + Utils.checkNotNull(clientKey, "clientKey"); + this.clientKey = Optional.ofNullable(clientKey); + return this; + } + + /** + * Client key + */ + public Builder clientKey(Optional clientKey) { + Utils.checkNotNull(clientKey, "clientKey"); + this.clientKey = clientKey; + return this; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + public Builder clientKeyPassword(String clientKeyPassword) { + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.clientKeyPassword = Optional.ofNullable(clientKeyPassword); + return this; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + public Builder clientKeyPassword(Optional clientKeyPassword) { + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.clientKeyPassword = clientKeyPassword; + return this; + } + + public SourcePostgresVerifyCa build() { + return new SourcePostgresVerifyCa( + caCertificate, + clientCertificate, + clientKey, + clientKeyPassword) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Mode = + new LazySingletonValue<>( + "mode", + "\"verify-ca\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyFull.java b/src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyFull.java new file mode 100644 index 000000000..cdf6a8a13 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostgresVerifyFull.java @@ -0,0 +1,362 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +/** + * SourcePostgresVerifyFull - This is the most secure mode. Always require encryption and verifies the identity of the source database server. + */ + +public class SourcePostgresVerifyFull { + + @JsonIgnore + private Map additionalProperties; + + /** + * CA certificate + */ + @JsonProperty("ca_certificate") + private String caCertificate; + + /** + * Client certificate + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_certificate") + private Optional clientCertificate; + + /** + * Client key + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_key") + private Optional clientKey; + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_key_password") + private Optional clientKeyPassword; + + @JsonProperty("mode") + private SourcePostgresSchemasSSLModeSSLModes6Mode mode; + + @JsonCreator + public SourcePostgresVerifyFull( + @JsonProperty("ca_certificate") String caCertificate, + @JsonProperty("client_certificate") Optional clientCertificate, + @JsonProperty("client_key") Optional clientKey, + @JsonProperty("client_key_password") Optional clientKeyPassword) { + Utils.checkNotNull(caCertificate, "caCertificate"); + Utils.checkNotNull(clientCertificate, "clientCertificate"); + Utils.checkNotNull(clientKey, "clientKey"); + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.additionalProperties = new HashMap<>(); + this.caCertificate = caCertificate; + this.clientCertificate = clientCertificate; + this.clientKey = clientKey; + this.clientKeyPassword = clientKeyPassword; + this.mode = Builder._SINGLETON_VALUE_Mode.value(); + } + + public SourcePostgresVerifyFull( + String caCertificate) { + this(caCertificate, Optional.empty(), Optional.empty(), Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * CA certificate + */ + @JsonIgnore + public String caCertificate() { + return caCertificate; + } + + /** + * Client certificate + */ + @JsonIgnore + public Optional clientCertificate() { + return clientCertificate; + } + + /** + * Client key + */ + @JsonIgnore + public Optional clientKey() { + return clientKey; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + @JsonIgnore + public Optional clientKeyPassword() { + return clientKeyPassword; + } + + @JsonIgnore + public SourcePostgresSchemasSSLModeSSLModes6Mode mode() { + return mode; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourcePostgresVerifyFull withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourcePostgresVerifyFull withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * CA certificate + */ + public SourcePostgresVerifyFull withCaCertificate(String caCertificate) { + Utils.checkNotNull(caCertificate, "caCertificate"); + this.caCertificate = caCertificate; + return this; + } + + /** + * Client certificate + */ + public SourcePostgresVerifyFull withClientCertificate(String clientCertificate) { + Utils.checkNotNull(clientCertificate, "clientCertificate"); + this.clientCertificate = Optional.ofNullable(clientCertificate); + return this; + } + + /** + * Client certificate + */ + public SourcePostgresVerifyFull withClientCertificate(Optional clientCertificate) { + Utils.checkNotNull(clientCertificate, "clientCertificate"); + this.clientCertificate = clientCertificate; + return this; + } + + /** + * Client key + */ + public SourcePostgresVerifyFull withClientKey(String clientKey) { + Utils.checkNotNull(clientKey, "clientKey"); + this.clientKey = Optional.ofNullable(clientKey); + return this; + } + + /** + * Client key + */ + public SourcePostgresVerifyFull withClientKey(Optional clientKey) { + Utils.checkNotNull(clientKey, "clientKey"); + this.clientKey = clientKey; + return this; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + public SourcePostgresVerifyFull withClientKeyPassword(String clientKeyPassword) { + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.clientKeyPassword = Optional.ofNullable(clientKeyPassword); + return this; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + public SourcePostgresVerifyFull withClientKeyPassword(Optional clientKeyPassword) { + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.clientKeyPassword = clientKeyPassword; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePostgresVerifyFull other = (SourcePostgresVerifyFull) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.clientCertificate, other.clientCertificate) && + Objects.deepEquals(this.clientKey, other.clientKey) && + Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && + Objects.deepEquals(this.mode, other.mode); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + caCertificate, + clientCertificate, + clientKey, + clientKeyPassword, + mode); + } + + @Override + public String toString() { + return Utils.toString(SourcePostgresVerifyFull.class, + "additionalProperties", additionalProperties, + "caCertificate", caCertificate, + "clientCertificate", clientCertificate, + "clientKey", clientKey, + "clientKeyPassword", clientKeyPassword, + "mode", mode); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String caCertificate; + + private Optional clientCertificate = Optional.empty(); + + private Optional clientKey = Optional.empty(); + + private Optional clientKeyPassword = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * CA certificate + */ + public Builder caCertificate(String caCertificate) { + Utils.checkNotNull(caCertificate, "caCertificate"); + this.caCertificate = caCertificate; + return this; + } + + /** + * Client certificate + */ + public Builder clientCertificate(String clientCertificate) { + Utils.checkNotNull(clientCertificate, "clientCertificate"); + this.clientCertificate = Optional.ofNullable(clientCertificate); + return this; + } + + /** + * Client certificate + */ + public Builder clientCertificate(Optional clientCertificate) { + Utils.checkNotNull(clientCertificate, "clientCertificate"); + this.clientCertificate = clientCertificate; + return this; + } + + /** + * Client key + */ + public Builder clientKey(String clientKey) { + Utils.checkNotNull(clientKey, "clientKey"); + this.clientKey = Optional.ofNullable(clientKey); + return this; + } + + /** + * Client key + */ + public Builder clientKey(Optional clientKey) { + Utils.checkNotNull(clientKey, "clientKey"); + this.clientKey = clientKey; + return this; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + public Builder clientKeyPassword(String clientKeyPassword) { + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.clientKeyPassword = Optional.ofNullable(clientKeyPassword); + return this; + } + + /** + * Password for keystorage. If you do not add it - the password will be generated automatically. + */ + public Builder clientKeyPassword(Optional clientKeyPassword) { + Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); + this.clientKeyPassword = clientKeyPassword; + return this; + } + + public SourcePostgresVerifyFull build() { + return new SourcePostgresVerifyFull( + caCertificate, + clientCertificate, + clientKey, + clientKeyPassword) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue _SINGLETON_VALUE_Mode = + new LazySingletonValue<>( + "mode", + "\"verify-full\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePosthog.java b/src/main/java/com/airbyte/api/models/shared/SourcePosthog.java index bce18c013..65c272b2a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePosthog.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePosthog.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourcePosthog { /** @@ -35,14 +34,14 @@ public class SourcePosthog { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("base_url") - private Optional baseUrl; + private Optional baseUrl; /** * Set lower value in case of failing long running sync of events stream. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("events_time_step") - private Optional eventsTimeStep; + private Optional eventsTimeStep; @JsonProperty("sourceType") private Posthog sourceType; @@ -56,8 +55,8 @@ public class SourcePosthog { @JsonCreator public SourcePosthog( @JsonProperty("api_key") String apiKey, - @JsonProperty("base_url") Optional baseUrl, - @JsonProperty("events_time_step") Optional eventsTimeStep, + @JsonProperty("base_url") Optional baseUrl, + @JsonProperty("events_time_step") Optional eventsTimeStep, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(baseUrl, "baseUrl"); @@ -87,19 +86,17 @@ public String apiKey() { /** * Base PostHog url. Defaults to PostHog Cloud (https://app.posthog.com). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional baseUrl() { - return (Optional) baseUrl; + return baseUrl; } /** * Set lower value in case of failing long running sync of events stream. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional eventsTimeStep() { - return (Optional) eventsTimeStep; + return eventsTimeStep; } @JsonIgnore @@ -140,7 +137,7 @@ public SourcePosthog withBaseUrl(String baseUrl) { /** * Base PostHog url. Defaults to PostHog Cloud (https://app.posthog.com). */ - public SourcePosthog withBaseUrl(Optional baseUrl) { + public SourcePosthog withBaseUrl(Optional baseUrl) { Utils.checkNotNull(baseUrl, "baseUrl"); this.baseUrl = baseUrl; return this; @@ -158,7 +155,7 @@ public SourcePosthog withEventsTimeStep(long eventsTimeStep) { /** * Set lower value in case of failing long running sync of events stream. */ - public SourcePosthog withEventsTimeStep(Optional eventsTimeStep) { + public SourcePosthog withEventsTimeStep(Optional eventsTimeStep) { Utils.checkNotNull(eventsTimeStep, "eventsTimeStep"); this.eventsTimeStep = eventsTimeStep; return this; @@ -183,16 +180,16 @@ public boolean equals(java.lang.Object o) { } SourcePosthog other = (SourcePosthog) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.baseUrl, other.baseUrl) && - java.util.Objects.deepEquals(this.eventsTimeStep, other.eventsTimeStep) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.eventsTimeStep, other.eventsTimeStep) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, baseUrl, eventsTimeStep, @@ -214,9 +211,9 @@ public final static class Builder { private String apiKey; - private Optional baseUrl; + private Optional baseUrl; - private Optional eventsTimeStep; + private Optional eventsTimeStep; private OffsetDateTime startDate; @@ -245,7 +242,7 @@ public Builder baseUrl(String baseUrl) { /** * Base PostHog url. Defaults to PostHog Cloud (https://app.posthog.com). */ - public Builder baseUrl(Optional baseUrl) { + public Builder baseUrl(Optional baseUrl) { Utils.checkNotNull(baseUrl, "baseUrl"); this.baseUrl = baseUrl; return this; @@ -263,7 +260,7 @@ public Builder eventsTimeStep(long eventsTimeStep) { /** * Set lower value in case of failing long running sync of events stream. */ - public Builder eventsTimeStep(Optional eventsTimeStep) { + public Builder eventsTimeStep(Optional eventsTimeStep) { Utils.checkNotNull(eventsTimeStep, "eventsTimeStep"); this.eventsTimeStep = eventsTimeStep; return this; @@ -284,25 +281,24 @@ public SourcePosthog build() { } if (eventsTimeStep == null) { eventsTimeStep = _SINGLETON_VALUE_EventsTimeStep.value(); - } - return new SourcePosthog( + } return new SourcePosthog( apiKey, baseUrl, eventsTimeStep, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_BaseUrl = + private static final LazySingletonValue> _SINGLETON_VALUE_BaseUrl = new LazySingletonValue<>( "base_url", "\"https://app.posthog.com\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_EventsTimeStep = + private static final LazySingletonValue> _SINGLETON_VALUE_EventsTimeStep = new LazySingletonValue<>( "events_time_step", "30", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java b/src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java index 83d8d2857..d10f80358 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePostmarkapp.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourcePostmarkapp { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourcePostmarkapp other = (SourcePostmarkapp) o; return - java.util.Objects.deepEquals(this.xPostmarkAccountToken, other.xPostmarkAccountToken) && - java.util.Objects.deepEquals(this.xPostmarkServerToken, other.xPostmarkServerToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.xPostmarkAccountToken, other.xPostmarkAccountToken) && + Objects.deepEquals(this.xPostmarkServerToken, other.xPostmarkServerToken) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( xPostmarkAccountToken, xPostmarkServerToken, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java b/src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java index 4a67fb5d7..4ca8da270 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePrestashop.java @@ -1,21 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.Objects; + public class SourcePrestashop { @@ -124,15 +124,15 @@ public boolean equals(java.lang.Object o) { } SourcePrestashop other = (SourcePrestashop) o; return - java.util.Objects.deepEquals(this.accessKey, other.accessKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.url, other.url); + Objects.deepEquals(this.accessKey, other.accessKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.url, other.url); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessKey, sourceType, startDate, diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePretix.java b/src/main/java/com/airbyte/api/models/shared/SourcePretix.java new file mode 100644 index 000000000..a2071b9fa --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePretix.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourcePretix { + + /** + * API token to use. Obtain it from the pretix web interface by creating a new token under your team settings. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private Pretix sourceType; + + @JsonCreator + public SourcePretix( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API token to use. Obtain it from the pretix web interface by creating a new token under your team settings. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public Pretix sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token to use. Obtain it from the pretix web interface by creating a new token under your team settings. + */ + public SourcePretix withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePretix other = (SourcePretix) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourcePretix.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * API token to use. Obtain it from the pretix web interface by creating a new token under your team settings. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourcePretix build() { + return new SourcePretix( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"pretix\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePrimetric.java b/src/main/java/com/airbyte/api/models/shared/SourcePrimetric.java new file mode 100644 index 000000000..f322c0da2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourcePrimetric.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourcePrimetric { + + /** + * The Client ID of your Primetric developer application. The Client ID is visible <a href=\"https://app.primetric.com/administrator/integrations">here</a>. + */ + @JsonProperty("client_id") + private String clientId; + + /** + * The Client Secret of your Primetric developer application. You can manage your client's credentials <a href=\"https://app.primetric.com/administrator/integrations">here</a>. + */ + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private Primetric sourceType; + + @JsonCreator + public SourcePrimetric( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * The Client ID of your Primetric developer application. The Client ID is visible <a href=\"https://app.primetric.com/administrator/integrations">here</a>. + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * The Client Secret of your Primetric developer application. You can manage your client's credentials <a href=\"https://app.primetric.com/administrator/integrations">here</a>. + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public Primetric sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The Client ID of your Primetric developer application. The Client ID is visible <a href=\"https://app.primetric.com/administrator/integrations">here</a>. + */ + public SourcePrimetric withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Primetric developer application. You can manage your client's credentials <a href=\"https://app.primetric.com/administrator/integrations">here</a>. + */ + public SourcePrimetric withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourcePrimetric other = (SourcePrimetric) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourcePrimetric.class, + "clientId", clientId, + "clientSecret", clientSecret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Builder() { + // force use of static builder() method + } + + /** + * The Client ID of your Primetric developer application. The Client ID is visible <a href=\"https://app.primetric.com/administrator/integrations">here</a>. + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The Client Secret of your Primetric developer application. You can manage your client's credentials <a href=\"https://app.primetric.com/administrator/integrations">here</a>. + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourcePrimetric build() { + return new SourcePrimetric( + clientId, + clientSecret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"primetric\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceProductboard.java b/src/main/java/com/airbyte/api/models/shared/SourceProductboard.java index 7b0a202a2..e610f4881 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceProductboard.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceProductboard.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceProductboard { @@ -91,14 +89,14 @@ public boolean equals(java.lang.Object o) { } SourceProductboard other = (SourceProductboard) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceProductive.java b/src/main/java/com/airbyte/api/models/shared/SourceProductive.java index 3e642c75e..5fedfe96b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceProductive.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceProductive.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceProductive { @@ -88,14 +88,14 @@ public boolean equals(java.lang.Object o) { } SourceProductive other = (SourceProductive) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.organizationId, other.organizationId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.organizationId, other.organizationId) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, organizationId, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java b/src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java index c545b1347..fec2158b7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourcePutRequest { @@ -78,13 +77,13 @@ public boolean equals(java.lang.Object o) { } SourcePutRequest other = (SourcePutRequest) o; return - java.util.Objects.deepEquals(this.configuration, other.configuration) && - java.util.Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.configuration, other.configuration) && + Objects.deepEquals(this.name, other.name); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configuration, name); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourcePypi.java b/src/main/java/com/airbyte/api/models/shared/SourcePypi.java index 31acf4b32..3d858a355 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcePypi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcePypi.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourcePypi { /** @@ -35,12 +35,12 @@ public class SourcePypi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("version") - private Optional version; + private Optional version; @JsonCreator public SourcePypi( @JsonProperty("project_name") String projectName, - @JsonProperty("version") Optional version) { + @JsonProperty("version") Optional version) { Utils.checkNotNull(projectName, "projectName"); Utils.checkNotNull(version, "version"); this.projectName = projectName; @@ -69,10 +69,9 @@ public Pypi sourceType() { /** * Version of the project/package. Use it to find a particular release instead of all releases. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional version() { - return (Optional) version; + return version; } public final static Builder builder() { @@ -100,7 +99,7 @@ public SourcePypi withVersion(String version) { /** * Version of the project/package. Use it to find a particular release instead of all releases. */ - public SourcePypi withVersion(Optional version) { + public SourcePypi withVersion(Optional version) { Utils.checkNotNull(version, "version"); this.version = version; return this; @@ -116,14 +115,14 @@ public boolean equals(java.lang.Object o) { } SourcePypi other = (SourcePypi) o; return - java.util.Objects.deepEquals(this.projectName, other.projectName) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.version, other.version); + Objects.deepEquals(this.projectName, other.projectName) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.version, other.version); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( projectName, sourceType, version); @@ -141,7 +140,7 @@ public final static class Builder { private String projectName; - private Optional version = Optional.empty(); + private Optional version = Optional.empty(); private Builder() { // force use of static builder() method @@ -168,7 +167,7 @@ public Builder version(String version) { /** * Version of the project/package. Use it to find a particular release instead of all releases. */ - public Builder version(Optional version) { + public Builder version(Optional version) { Utils.checkNotNull(version, "version"); this.version = version; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java b/src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java index 77e89af05..9cb860b6b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceQualaroo.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceQualaroo { /** @@ -41,7 +43,7 @@ public class SourceQualaroo { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("survey_ids") - private Optional> surveyIds; + private Optional> surveyIds; /** * A Qualaroo token. See the <a href="https://help.qualaroo.com/hc/en-us/articles/201969438-The-REST-Reporting-API">docs</a> for instructions on how to generate it. @@ -53,7 +55,7 @@ public class SourceQualaroo { public SourceQualaroo( @JsonProperty("key") String key, @JsonProperty("start_date") String startDate, - @JsonProperty("survey_ids") Optional> surveyIds, + @JsonProperty("survey_ids") Optional> surveyIds, @JsonProperty("token") String token) { Utils.checkNotNull(key, "key"); Utils.checkNotNull(startDate, "startDate"); @@ -99,8 +101,8 @@ public String startDate() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> surveyIds() { - return (Optional>) surveyIds; + public Optional> surveyIds() { + return (Optional>) surveyIds; } /** @@ -136,7 +138,7 @@ public SourceQualaroo withStartDate(String startDate) { /** * IDs of the surveys from which you'd like to replicate data. If left empty, data from all surveys to which you have access will be replicated. */ - public SourceQualaroo withSurveyIds(java.util.List surveyIds) { + public SourceQualaroo withSurveyIds(List surveyIds) { Utils.checkNotNull(surveyIds, "surveyIds"); this.surveyIds = Optional.ofNullable(surveyIds); return this; @@ -145,7 +147,7 @@ public SourceQualaroo withSurveyIds(java.util.List surveyIds) { /** * IDs of the surveys from which you'd like to replicate data. If left empty, data from all surveys to which you have access will be replicated. */ - public SourceQualaroo withSurveyIds(Optional> surveyIds) { + public SourceQualaroo withSurveyIds(Optional> surveyIds) { Utils.checkNotNull(surveyIds, "surveyIds"); this.surveyIds = surveyIds; return this; @@ -170,16 +172,16 @@ public boolean equals(java.lang.Object o) { } SourceQualaroo other = (SourceQualaroo) o; return - java.util.Objects.deepEquals(this.key, other.key) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.surveyIds, other.surveyIds) && - java.util.Objects.deepEquals(this.token, other.token); + Objects.deepEquals(this.key, other.key) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.surveyIds, other.surveyIds) && + Objects.deepEquals(this.token, other.token); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( key, sourceType, startDate, @@ -203,7 +205,7 @@ public final static class Builder { private String startDate; - private Optional> surveyIds = Optional.empty(); + private Optional> surveyIds = Optional.empty(); private String token; @@ -232,7 +234,7 @@ public Builder startDate(String startDate) { /** * IDs of the surveys from which you'd like to replicate data. If left empty, data from all surveys to which you have access will be replicated. */ - public Builder surveyIds(java.util.List surveyIds) { + public Builder surveyIds(List surveyIds) { Utils.checkNotNull(surveyIds, "surveyIds"); this.surveyIds = Optional.ofNullable(surveyIds); return this; @@ -241,7 +243,7 @@ public Builder surveyIds(java.util.List surveyIds) { /** * IDs of the surveys from which you'd like to replicate data. If left empty, data from all surveys to which you have access will be replicated. */ - public Builder surveyIds(Optional> surveyIds) { + public Builder surveyIds(Optional> surveyIds) { Utils.checkNotNull(surveyIds, "surveyIds"); this.surveyIds = surveyIds; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceQuickbooks.java b/src/main/java/com/airbyte/api/models/shared/SourceQuickbooks.java new file mode 100644 index 000000000..f61799b55 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceQuickbooks.java @@ -0,0 +1,229 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceQuickbooks { + + @JsonProperty("credentials") + private SourceQuickbooksAuthorizationMethod credentials; + + /** + * Determines whether to use the sandbox or production environment. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sandbox") + private Optional sandbox; + + @JsonProperty("sourceType") + private Quickbooks sourceType; + + /** + * The default value to use if no bookmark exists for an endpoint (rfc3339 date string). E.g, 2021-03-20T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceQuickbooks( + @JsonProperty("credentials") SourceQuickbooksAuthorizationMethod credentials, + @JsonProperty("sandbox") Optional sandbox, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(credentials, "credentials"); + Utils.checkNotNull(sandbox, "sandbox"); + Utils.checkNotNull(startDate, "startDate"); + this.credentials = credentials; + this.sandbox = sandbox; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceQuickbooks( + SourceQuickbooksAuthorizationMethod credentials, + OffsetDateTime startDate) { + this(credentials, Optional.empty(), startDate); + } + + @JsonIgnore + public SourceQuickbooksAuthorizationMethod credentials() { + return credentials; + } + + /** + * Determines whether to use the sandbox or production environment. + */ + @JsonIgnore + public Optional sandbox() { + return sandbox; + } + + @JsonIgnore + public Quickbooks sourceType() { + return sourceType; + } + + /** + * The default value to use if no bookmark exists for an endpoint (rfc3339 date string). E.g, 2021-03-20T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceQuickbooks withCredentials(SourceQuickbooksAuthorizationMethod credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + /** + * Determines whether to use the sandbox or production environment. + */ + public SourceQuickbooks withSandbox(boolean sandbox) { + Utils.checkNotNull(sandbox, "sandbox"); + this.sandbox = Optional.ofNullable(sandbox); + return this; + } + + /** + * Determines whether to use the sandbox or production environment. + */ + public SourceQuickbooks withSandbox(Optional sandbox) { + Utils.checkNotNull(sandbox, "sandbox"); + this.sandbox = sandbox; + return this; + } + + /** + * The default value to use if no bookmark exists for an endpoint (rfc3339 date string). E.g, 2021-03-20T00:00:00Z. Any data before this date will not be replicated. + */ + public SourceQuickbooks withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceQuickbooks other = (SourceQuickbooks) o; + return + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sandbox, other.sandbox) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + credentials, + sandbox, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceQuickbooks.class, + "credentials", credentials, + "sandbox", sandbox, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private SourceQuickbooksAuthorizationMethod credentials; + + private Optional sandbox; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder credentials(SourceQuickbooksAuthorizationMethod credentials) { + Utils.checkNotNull(credentials, "credentials"); + this.credentials = credentials; + return this; + } + + /** + * Determines whether to use the sandbox or production environment. + */ + public Builder sandbox(boolean sandbox) { + Utils.checkNotNull(sandbox, "sandbox"); + this.sandbox = Optional.ofNullable(sandbox); + return this; + } + + /** + * Determines whether to use the sandbox or production environment. + */ + public Builder sandbox(Optional sandbox) { + Utils.checkNotNull(sandbox, "sandbox"); + this.sandbox = sandbox; + return this; + } + + /** + * The default value to use if no bookmark exists for an endpoint (rfc3339 date string). E.g, 2021-03-20T00:00:00Z. Any data before this date will not be replicated. + */ + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceQuickbooks build() { + if (sandbox == null) { + sandbox = _SINGLETON_VALUE_Sandbox.value(); + } return new SourceQuickbooks( + credentials, + sandbox, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Sandbox = + new LazySingletonValue<>( + "sandbox", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"quickbooks\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthType.java new file mode 100644 index 000000000..7e99dcc77 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceQuickbooksAuthType { + OAUTH20("oauth2.0"); + + @JsonValue + private final String value; + + private SourceQuickbooksAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthorizationMethod.java new file mode 100644 index 000000000..65cde34d4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksAuthorizationMethod.java @@ -0,0 +1,90 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + + +@JsonDeserialize(using = SourceQuickbooksAuthorizationMethod._Deserializer.class) +public class SourceQuickbooksAuthorizationMethod { + + @JsonValue + private TypedObject value; + + private SourceQuickbooksAuthorizationMethod(TypedObject value) { + this.value = value; + } + + public static SourceQuickbooksAuthorizationMethod of(SourceQuickbooksOAuth20 value) { + Utils.checkNotNull(value, "value"); + return new SourceQuickbooksAuthorizationMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourceQuickbooksOAuth20}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceQuickbooksAuthorizationMethod other = (SourceQuickbooksAuthorizationMethod) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceQuickbooksAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceQuickbooksAuthorizationMethod.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksOAuth20.java new file mode 100644 index 000000000..0a02fcb5f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceQuickbooksOAuth20.java @@ -0,0 +1,333 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceQuickbooksOAuth20 { + + /** + * Access token for making authenticated requests. + */ + @JsonProperty("access_token") + private String accessToken; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * Identifies which app is making the request. Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. + */ + @JsonProperty("client_id") + private String clientId; + + /** + * Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. + */ + @JsonProperty("client_secret") + private String clientSecret; + + /** + * Labeled Company ID. The Make API Calls panel is populated with the realm id and the current access token. + */ + @JsonProperty("realm_id") + private String realmId; + + /** + * A token used when refreshing the access token. + */ + @JsonProperty("refresh_token") + private String refreshToken; + + /** + * The date-time when the access token should be refreshed. + */ + @JsonProperty("token_expiry_date") + private OffsetDateTime tokenExpiryDate; + + @JsonCreator + public SourceQuickbooksOAuth20( + @JsonProperty("access_token") String accessToken, + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("realm_id") String realmId, + @JsonProperty("refresh_token") String refreshToken, + @JsonProperty("token_expiry_date") OffsetDateTime tokenExpiryDate) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(realmId, "realmId"); + Utils.checkNotNull(refreshToken, "refreshToken"); + Utils.checkNotNull(tokenExpiryDate, "tokenExpiryDate"); + this.accessToken = accessToken; + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.realmId = realmId; + this.refreshToken = refreshToken; + this.tokenExpiryDate = tokenExpiryDate; + } + + /** + * Access token for making authenticated requests. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * Identifies which app is making the request. Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. + */ + @JsonIgnore + public String clientId() { + return clientId; + } + + /** + * Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. + */ + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * Labeled Company ID. The Make API Calls panel is populated with the realm id and the current access token. + */ + @JsonIgnore + public String realmId() { + return realmId; + } + + /** + * A token used when refreshing the access token. + */ + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + /** + * The date-time when the access token should be refreshed. + */ + @JsonIgnore + public OffsetDateTime tokenExpiryDate() { + return tokenExpiryDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Access token for making authenticated requests. + */ + public SourceQuickbooksOAuth20 withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Identifies which app is making the request. Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. + */ + public SourceQuickbooksOAuth20 withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. + */ + public SourceQuickbooksOAuth20 withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Labeled Company ID. The Make API Calls panel is populated with the realm id and the current access token. + */ + public SourceQuickbooksOAuth20 withRealmId(String realmId) { + Utils.checkNotNull(realmId, "realmId"); + this.realmId = realmId; + return this; + } + + /** + * A token used when refreshing the access token. + */ + public SourceQuickbooksOAuth20 withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + /** + * The date-time when the access token should be refreshed. + */ + public SourceQuickbooksOAuth20 withTokenExpiryDate(OffsetDateTime tokenExpiryDate) { + Utils.checkNotNull(tokenExpiryDate, "tokenExpiryDate"); + this.tokenExpiryDate = tokenExpiryDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceQuickbooksOAuth20 other = (SourceQuickbooksOAuth20) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.realmId, other.realmId) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + authType, + clientId, + clientSecret, + realmId, + refreshToken, + tokenExpiryDate); + } + + @Override + public String toString() { + return Utils.toString(SourceQuickbooksOAuth20.class, + "accessToken", accessToken, + "authType", authType, + "clientId", clientId, + "clientSecret", clientSecret, + "realmId", realmId, + "refreshToken", refreshToken, + "tokenExpiryDate", tokenExpiryDate); + } + + public final static class Builder { + + private String accessToken; + + private String clientId; + + private String clientSecret; + + private String realmId; + + private String refreshToken; + + private OffsetDateTime tokenExpiryDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Access token for making authenticated requests. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Identifies which app is making the request. Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * Labeled Company ID. The Make API Calls panel is populated with the realm id and the current access token. + */ + public Builder realmId(String realmId) { + Utils.checkNotNull(realmId, "realmId"); + this.realmId = realmId; + return this; + } + + /** + * A token used when refreshing the access token. + */ + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + /** + * The date-time when the access token should be refreshed. + */ + public Builder tokenExpiryDate(OffsetDateTime tokenExpiryDate) { + Utils.checkNotNull(tokenExpiryDate, "tokenExpiryDate"); + this.tokenExpiryDate = tokenExpiryDate; + return this; + } + + public SourceQuickbooksOAuth20 build() { + return new SourceQuickbooksOAuth20( + accessToken, + clientId, + clientSecret, + realmId, + refreshToken, + tokenExpiryDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"oauth2.0\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRailz.java b/src/main/java/com/airbyte/api/models/shared/SourceRailz.java index ca309249d..800c01d23 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRailz.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRailz.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceRailz { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } SourceRailz other = (SourceRailz) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.secretKey, other.secretKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.secretKey, other.secretKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, secretKey, sourceType, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketing.java b/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketing.java new file mode 100644 index 000000000..c05d10bfc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketing.java @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceRdStationMarketing { + + /** + * Choose one of the possible authorization method + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("authorization") + private Optional authorization; + + @JsonProperty("sourceType") + private SourceRdStationMarketingRdStationMarketing sourceType; + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. When specified and not None, then stream will behave as incremental + */ + @JsonProperty("start_date") + private String startDate; + + @JsonCreator + public SourceRdStationMarketing( + @JsonProperty("authorization") Optional authorization, + @JsonProperty("start_date") String startDate) { + Utils.checkNotNull(authorization, "authorization"); + Utils.checkNotNull(startDate, "startDate"); + this.authorization = authorization; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceRdStationMarketing( + String startDate) { + this(Optional.empty(), startDate); + } + + /** + * Choose one of the possible authorization method + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authorization() { + return (Optional) authorization; + } + + @JsonIgnore + public SourceRdStationMarketingRdStationMarketing sourceType() { + return sourceType; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. When specified and not None, then stream will behave as incremental + */ + @JsonIgnore + public String startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Choose one of the possible authorization method + */ + public SourceRdStationMarketing withAuthorization(SourceRdStationMarketingAuthenticationType authorization) { + Utils.checkNotNull(authorization, "authorization"); + this.authorization = Optional.ofNullable(authorization); + return this; + } + + /** + * Choose one of the possible authorization method + */ + public SourceRdStationMarketing withAuthorization(Optional authorization) { + Utils.checkNotNull(authorization, "authorization"); + this.authorization = authorization; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. When specified and not None, then stream will behave as incremental + */ + public SourceRdStationMarketing withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRdStationMarketing other = (SourceRdStationMarketing) o; + return + Objects.deepEquals(this.authorization, other.authorization) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + authorization, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceRdStationMarketing.class, + "authorization", authorization, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private Optional authorization = Optional.empty(); + + private String startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Choose one of the possible authorization method + */ + public Builder authorization(SourceRdStationMarketingAuthenticationType authorization) { + Utils.checkNotNull(authorization, "authorization"); + this.authorization = Optional.ofNullable(authorization); + return this; + } + + /** + * Choose one of the possible authorization method + */ + public Builder authorization(Optional authorization) { + Utils.checkNotNull(authorization, "authorization"); + this.authorization = authorization; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. When specified and not None, then stream will behave as incremental + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceRdStationMarketing build() { + return new SourceRdStationMarketing( + authorization, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"rd-station-marketing\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthType.java new file mode 100644 index 000000000..2e4293ca3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceRdStationMarketingAuthType { + CLIENT("Client"); + + @JsonValue + private final String value; + + private SourceRdStationMarketingAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthenticationType.java b/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthenticationType.java new file mode 100644 index 000000000..1253f145d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingAuthenticationType.java @@ -0,0 +1,93 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceRdStationMarketingAuthenticationType - Choose one of the possible authorization method + */ + +@JsonDeserialize(using = SourceRdStationMarketingAuthenticationType._Deserializer.class) +public class SourceRdStationMarketingAuthenticationType { + + @JsonValue + private TypedObject value; + + private SourceRdStationMarketingAuthenticationType(TypedObject value) { + this.value = value; + } + + public static SourceRdStationMarketingAuthenticationType of(SignInViaRDStationOAuth value) { + Utils.checkNotNull(value, "value"); + return new SourceRdStationMarketingAuthenticationType(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *
      + *
    • {@code com.airbyte.api.models.shared.SignInViaRDStationOAuth}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRdStationMarketingAuthenticationType other = (SourceRdStationMarketingAuthenticationType) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceRdStationMarketingAuthenticationType.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceRdStationMarketingAuthenticationType.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingRdStationMarketing.java b/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingRdStationMarketing.java new file mode 100644 index 000000000..527c3c2dd --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRdStationMarketingRdStationMarketing.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceRdStationMarketingRdStationMarketing { + RD_STATION_MARKETING("rd-station-marketing"); + + @JsonValue + private final String value; + + private SourceRdStationMarketingRdStationMarketing(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRecharge.java b/src/main/java/com/airbyte/api/models/shared/SourceRecharge.java index 14cf4861e..e62690791 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRecharge.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRecharge.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceRecharge { /** @@ -44,13 +43,13 @@ public class SourceRecharge { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("use_orders_deprecated_api") - private Optional useOrdersDeprecatedApi; + private Optional useOrdersDeprecatedApi; @JsonCreator public SourceRecharge( @JsonProperty("access_token") String accessToken, @JsonProperty("start_date") OffsetDateTime startDate, - @JsonProperty("use_orders_deprecated_api") Optional useOrdersDeprecatedApi) { + @JsonProperty("use_orders_deprecated_api") Optional useOrdersDeprecatedApi) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(startDate, "startDate"); Utils.checkNotNull(useOrdersDeprecatedApi, "useOrdersDeprecatedApi"); @@ -90,10 +89,9 @@ public OffsetDateTime startDate() { /** * Define whether or not the `Orders` stream should use the deprecated `2021-01` API version, or use `2021-11`, otherwise. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional useOrdersDeprecatedApi() { - return (Optional) useOrdersDeprecatedApi; + return useOrdersDeprecatedApi; } public final static Builder builder() { @@ -130,7 +128,7 @@ public SourceRecharge withUseOrdersDeprecatedApi(boolean useOrdersDeprecatedApi) /** * Define whether or not the `Orders` stream should use the deprecated `2021-01` API version, or use `2021-11`, otherwise. */ - public SourceRecharge withUseOrdersDeprecatedApi(Optional useOrdersDeprecatedApi) { + public SourceRecharge withUseOrdersDeprecatedApi(Optional useOrdersDeprecatedApi) { Utils.checkNotNull(useOrdersDeprecatedApi, "useOrdersDeprecatedApi"); this.useOrdersDeprecatedApi = useOrdersDeprecatedApi; return this; @@ -146,15 +144,15 @@ public boolean equals(java.lang.Object o) { } SourceRecharge other = (SourceRecharge) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.useOrdersDeprecatedApi, other.useOrdersDeprecatedApi); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.useOrdersDeprecatedApi, other.useOrdersDeprecatedApi); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, sourceType, startDate, @@ -176,7 +174,7 @@ public final static class Builder { private OffsetDateTime startDate; - private Optional useOrdersDeprecatedApi; + private Optional useOrdersDeprecatedApi; private Builder() { // force use of static builder() method @@ -212,7 +210,7 @@ public Builder useOrdersDeprecatedApi(boolean useOrdersDeprecatedApi) { /** * Define whether or not the `Orders` stream should use the deprecated `2021-01` API version, or use `2021-11`, otherwise. */ - public Builder useOrdersDeprecatedApi(Optional useOrdersDeprecatedApi) { + public Builder useOrdersDeprecatedApi(Optional useOrdersDeprecatedApi) { Utils.checkNotNull(useOrdersDeprecatedApi, "useOrdersDeprecatedApi"); this.useOrdersDeprecatedApi = useOrdersDeprecatedApi; return this; @@ -221,8 +219,7 @@ public Builder useOrdersDeprecatedApi(Optional useOrdersDepre public SourceRecharge build() { if (useOrdersDeprecatedApi == null) { useOrdersDeprecatedApi = _SINGLETON_VALUE_UseOrdersDeprecatedApi.value(); - } - return new SourceRecharge( + } return new SourceRecharge( accessToken, startDate, useOrdersDeprecatedApi); @@ -234,11 +231,11 @@ public SourceRecharge build() { "\"recharge\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_UseOrdersDeprecatedApi = + private static final LazySingletonValue> _SINGLETON_VALUE_UseOrdersDeprecatedApi = new LazySingletonValue<>( "use_orders_deprecated_api", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRecreation.java b/src/main/java/com/airbyte/api/models/shared/SourceRecreation.java index 151a83e7f..2eea2d6e0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRecreation.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRecreation.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceRecreation { /** @@ -29,7 +29,7 @@ public class SourceRecreation { @JsonInclude(Include.NON_ABSENT) @JsonProperty("query_campsites") - private Optional queryCampsites; + private Optional queryCampsites; @JsonProperty("sourceType") private Recreation sourceType; @@ -37,7 +37,7 @@ public class SourceRecreation { @JsonCreator public SourceRecreation( @JsonProperty("apikey") String apikey, - @JsonProperty("query_campsites") Optional queryCampsites) { + @JsonProperty("query_campsites") Optional queryCampsites) { Utils.checkNotNull(apikey, "apikey"); Utils.checkNotNull(queryCampsites, "queryCampsites"); this.apikey = apikey; @@ -58,10 +58,9 @@ public String apikey() { return apikey; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional queryCampsites() { - return (Optional) queryCampsites; + return queryCampsites; } @JsonIgnore @@ -88,7 +87,7 @@ public SourceRecreation withQueryCampsites(String queryCampsites) { return this; } - public SourceRecreation withQueryCampsites(Optional queryCampsites) { + public SourceRecreation withQueryCampsites(Optional queryCampsites) { Utils.checkNotNull(queryCampsites, "queryCampsites"); this.queryCampsites = queryCampsites; return this; @@ -104,14 +103,14 @@ public boolean equals(java.lang.Object o) { } SourceRecreation other = (SourceRecreation) o; return - java.util.Objects.deepEquals(this.apikey, other.apikey) && - java.util.Objects.deepEquals(this.queryCampsites, other.queryCampsites) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apikey, other.apikey) && + Objects.deepEquals(this.queryCampsites, other.queryCampsites) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apikey, queryCampsites, sourceType); @@ -129,7 +128,7 @@ public final static class Builder { private String apikey; - private Optional queryCampsites = Optional.empty(); + private Optional queryCampsites = Optional.empty(); private Builder() { // force use of static builder() method @@ -150,7 +149,7 @@ public Builder queryCampsites(String queryCampsites) { return this; } - public Builder queryCampsites(Optional queryCampsites) { + public Builder queryCampsites(Optional queryCampsites) { Utils.checkNotNull(queryCampsites, "queryCampsites"); this.queryCampsites = queryCampsites; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java b/src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java index 1ce219e90..7ed3148e1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRecruitee.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceRecruitee { @@ -97,14 +98,14 @@ public boolean equals(java.lang.Object o) { } SourceRecruitee other = (SourceRecruitee) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.companyId, other.companyId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.companyId, other.companyId) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, companyId, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRecurly.java b/src/main/java/com/airbyte/api/models/shared/SourceRecurly.java index 4d17e3ea2..7c4247b58 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRecurly.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRecurly.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceRecurly { /** @@ -32,14 +32,14 @@ public class SourceRecurly { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("begin_time") - private Optional beginTime; + private Optional beginTime; /** * ISO8601 timestamp to which the replication from Recurly API will stop. Records after that date won't be imported. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_time") - private Optional endTime; + private Optional endTime; @JsonProperty("sourceType") private Recurly sourceType; @@ -47,8 +47,8 @@ public class SourceRecurly { @JsonCreator public SourceRecurly( @JsonProperty("api_key") String apiKey, - @JsonProperty("begin_time") Optional beginTime, - @JsonProperty("end_time") Optional endTime) { + @JsonProperty("begin_time") Optional beginTime, + @JsonProperty("end_time") Optional endTime) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(beginTime, "beginTime"); Utils.checkNotNull(endTime, "endTime"); @@ -74,19 +74,17 @@ public String apiKey() { /** * ISO8601 timestamp from which the replication from Recurly API will start from. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional beginTime() { - return (Optional) beginTime; + return beginTime; } /** * ISO8601 timestamp to which the replication from Recurly API will stop. Records after that date won't be imported. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endTime() { - return (Optional) endTime; + return endTime; } @JsonIgnore @@ -119,7 +117,7 @@ public SourceRecurly withBeginTime(String beginTime) { /** * ISO8601 timestamp from which the replication from Recurly API will start from. */ - public SourceRecurly withBeginTime(Optional beginTime) { + public SourceRecurly withBeginTime(Optional beginTime) { Utils.checkNotNull(beginTime, "beginTime"); this.beginTime = beginTime; return this; @@ -137,7 +135,7 @@ public SourceRecurly withEndTime(String endTime) { /** * ISO8601 timestamp to which the replication from Recurly API will stop. Records after that date won't be imported. */ - public SourceRecurly withEndTime(Optional endTime) { + public SourceRecurly withEndTime(Optional endTime) { Utils.checkNotNull(endTime, "endTime"); this.endTime = endTime; return this; @@ -153,15 +151,15 @@ public boolean equals(java.lang.Object o) { } SourceRecurly other = (SourceRecurly) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.beginTime, other.beginTime) && - java.util.Objects.deepEquals(this.endTime, other.endTime) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.beginTime, other.beginTime) && + Objects.deepEquals(this.endTime, other.endTime) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, beginTime, endTime, @@ -181,9 +179,9 @@ public final static class Builder { private String apiKey; - private Optional beginTime = Optional.empty(); + private Optional beginTime = Optional.empty(); - private Optional endTime = Optional.empty(); + private Optional endTime = Optional.empty(); private Builder() { // force use of static builder() method @@ -210,7 +208,7 @@ public Builder beginTime(String beginTime) { /** * ISO8601 timestamp from which the replication from Recurly API will start from. */ - public Builder beginTime(Optional beginTime) { + public Builder beginTime(Optional beginTime) { Utils.checkNotNull(beginTime, "beginTime"); this.beginTime = beginTime; return this; @@ -228,7 +226,7 @@ public Builder endTime(String endTime) { /** * ISO8601 timestamp to which the replication from Recurly API will stop. Records after that date won't be imported. */ - public Builder endTime(Optional endTime) { + public Builder endTime(Optional endTime) { Utils.checkNotNull(endTime, "endTime"); this.endTime = endTime; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceReddit.java b/src/main/java/com/airbyte/api/models/shared/SourceReddit.java index c7f2ff84a..f11a32913 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceReddit.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceReddit.java @@ -1,27 +1,30 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Double; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceReddit { @JsonProperty("api_key") @@ -32,28 +35,28 @@ public class SourceReddit { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("exact") - private Optional exact; + private Optional exact; /** * Includes mature content */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("include_over_18") - private Optional includeOver18; + private Optional includeOver18; /** * Max records per page limit */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("limit") - private Optional limit; + private Optional limit; /** * Specifies the query for searching in reddits and subreddits */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("query") - private Optional query; + private Optional query; @JsonProperty("sourceType") private Reddit sourceType; @@ -66,17 +69,17 @@ public class SourceReddit { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("subreddits") - private Optional> subreddits; + private Optional> subreddits; @JsonCreator public SourceReddit( @JsonProperty("api_key") String apiKey, - @JsonProperty("exact") Optional exact, - @JsonProperty("include_over_18") Optional includeOver18, - @JsonProperty("limit") Optional limit, - @JsonProperty("query") Optional query, + @JsonProperty("exact") Optional exact, + @JsonProperty("include_over_18") Optional includeOver18, + @JsonProperty("limit") Optional limit, + @JsonProperty("query") Optional query, @JsonProperty("start_date") OffsetDateTime startDate, - @JsonProperty("subreddits") Optional> subreddits) { + @JsonProperty("subreddits") Optional> subreddits) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(exact, "exact"); Utils.checkNotNull(includeOver18, "includeOver18"); @@ -108,37 +111,33 @@ public String apiKey() { /** * Specifies exact keyword and reduces distractions */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional exact() { - return (Optional) exact; + return exact; } /** * Includes mature content */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeOver18() { - return (Optional) includeOver18; + return includeOver18; } /** * Max records per page limit */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional limit() { - return (Optional) limit; + return limit; } /** * Specifies the query for searching in reddits and subreddits */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional query() { - return (Optional) query; + return query; } @JsonIgnore @@ -156,8 +155,8 @@ public OffsetDateTime startDate() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> subreddits() { - return (Optional>) subreddits; + public Optional> subreddits() { + return (Optional>) subreddits; } public final static Builder builder() { @@ -182,7 +181,7 @@ public SourceReddit withExact(boolean exact) { /** * Specifies exact keyword and reduces distractions */ - public SourceReddit withExact(Optional exact) { + public SourceReddit withExact(Optional exact) { Utils.checkNotNull(exact, "exact"); this.exact = exact; return this; @@ -200,7 +199,7 @@ public SourceReddit withIncludeOver18(boolean includeOver18) { /** * Includes mature content */ - public SourceReddit withIncludeOver18(Optional includeOver18) { + public SourceReddit withIncludeOver18(Optional includeOver18) { Utils.checkNotNull(includeOver18, "includeOver18"); this.includeOver18 = includeOver18; return this; @@ -218,7 +217,7 @@ public SourceReddit withLimit(double limit) { /** * Max records per page limit */ - public SourceReddit withLimit(Optional limit) { + public SourceReddit withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -236,7 +235,7 @@ public SourceReddit withQuery(String query) { /** * Specifies the query for searching in reddits and subreddits */ - public SourceReddit withQuery(Optional query) { + public SourceReddit withQuery(Optional query) { Utils.checkNotNull(query, "query"); this.query = query; return this; @@ -251,7 +250,7 @@ public SourceReddit withStartDate(OffsetDateTime startDate) { /** * Subreddits for exploration */ - public SourceReddit withSubreddits(java.util.List subreddits) { + public SourceReddit withSubreddits(List subreddits) { Utils.checkNotNull(subreddits, "subreddits"); this.subreddits = Optional.ofNullable(subreddits); return this; @@ -260,7 +259,7 @@ public SourceReddit withSubreddits(java.util.List subreddits) /** * Subreddits for exploration */ - public SourceReddit withSubreddits(Optional> subreddits) { + public SourceReddit withSubreddits(Optional> subreddits) { Utils.checkNotNull(subreddits, "subreddits"); this.subreddits = subreddits; return this; @@ -276,19 +275,19 @@ public boolean equals(java.lang.Object o) { } SourceReddit other = (SourceReddit) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.exact, other.exact) && - java.util.Objects.deepEquals(this.includeOver18, other.includeOver18) && - java.util.Objects.deepEquals(this.limit, other.limit) && - java.util.Objects.deepEquals(this.query, other.query) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.subreddits, other.subreddits); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.exact, other.exact) && + Objects.deepEquals(this.includeOver18, other.includeOver18) && + Objects.deepEquals(this.limit, other.limit) && + Objects.deepEquals(this.query, other.query) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.subreddits, other.subreddits); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, exact, includeOver18, @@ -316,17 +315,17 @@ public final static class Builder { private String apiKey; - private Optional exact = Optional.empty(); + private Optional exact = Optional.empty(); - private Optional includeOver18; + private Optional includeOver18; - private Optional limit; + private Optional limit; - private Optional query; + private Optional query; private OffsetDateTime startDate; - private Optional> subreddits = Optional.empty(); + private Optional> subreddits = Optional.empty(); private Builder() { // force use of static builder() method @@ -350,7 +349,7 @@ public Builder exact(boolean exact) { /** * Specifies exact keyword and reduces distractions */ - public Builder exact(Optional exact) { + public Builder exact(Optional exact) { Utils.checkNotNull(exact, "exact"); this.exact = exact; return this; @@ -368,7 +367,7 @@ public Builder includeOver18(boolean includeOver18) { /** * Includes mature content */ - public Builder includeOver18(Optional includeOver18) { + public Builder includeOver18(Optional includeOver18) { Utils.checkNotNull(includeOver18, "includeOver18"); this.includeOver18 = includeOver18; return this; @@ -386,7 +385,7 @@ public Builder limit(double limit) { /** * Max records per page limit */ - public Builder limit(Optional limit) { + public Builder limit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -404,7 +403,7 @@ public Builder query(String query) { /** * Specifies the query for searching in reddits and subreddits */ - public Builder query(Optional query) { + public Builder query(Optional query) { Utils.checkNotNull(query, "query"); this.query = query; return this; @@ -419,7 +418,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * Subreddits for exploration */ - public Builder subreddits(java.util.List subreddits) { + public Builder subreddits(List subreddits) { Utils.checkNotNull(subreddits, "subreddits"); this.subreddits = Optional.ofNullable(subreddits); return this; @@ -428,7 +427,7 @@ public Builder subreddits(java.util.List subreddits) { /** * Subreddits for exploration */ - public Builder subreddits(Optional> subreddits) { + public Builder subreddits(Optional> subreddits) { Utils.checkNotNull(subreddits, "subreddits"); this.subreddits = subreddits; return this; @@ -443,8 +442,7 @@ public SourceReddit build() { } if (query == null) { query = _SINGLETON_VALUE_Query.value(); - } - return new SourceReddit( + } return new SourceReddit( apiKey, exact, includeOver18, @@ -454,23 +452,23 @@ public SourceReddit build() { subreddits); } - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeOver18 = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeOver18 = new LazySingletonValue<>( "include_over_18", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Limit = + private static final LazySingletonValue> _SINGLETON_VALUE_Limit = new LazySingletonValue<>( "limit", "\"1000\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Query = + private static final LazySingletonValue> _SINGLETON_VALUE_Query = new LazySingletonValue<>( "query", "\"airbyte\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRedshift.java b/src/main/java/com/airbyte/api/models/shared/SourceRedshift.java index cb0fa7c6a..438a7ae2c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRedshift.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRedshift.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceRedshift { /** @@ -38,7 +41,7 @@ public class SourceRedshift { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * Password associated with the username. @@ -51,14 +54,14 @@ public class SourceRedshift { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * The list of schemas to sync from. Specify one or more explicitly or keep empty to process all schemas. Schema names are case sensitive. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemas") - private Optional> schemas; + private Optional> schemas; @JsonProperty("sourceType") private SourceRedshiftRedshift sourceType; @@ -73,10 +76,10 @@ public class SourceRedshift { public SourceRedshift( @JsonProperty("database") String database, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, @JsonProperty("password") String password, - @JsonProperty("port") Optional port, - @JsonProperty("schemas") Optional> schemas, + @JsonProperty("port") Optional port, + @JsonProperty("schemas") Optional> schemas, @JsonProperty("username") String username) { Utils.checkNotNull(database, "database"); Utils.checkNotNull(host, "host"); @@ -122,10 +125,9 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** @@ -139,10 +141,9 @@ public String password() { /** * Port of the database. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** @@ -150,8 +151,8 @@ public Optional port() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> schemas() { - return (Optional>) schemas; + public Optional> schemas() { + return (Optional>) schemas; } @JsonIgnore @@ -201,7 +202,7 @@ public SourceRedshift withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public SourceRedshift withJdbcUrlParams(Optional jdbcUrlParams) { + public SourceRedshift withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -228,7 +229,7 @@ public SourceRedshift withPort(long port) { /** * Port of the database. */ - public SourceRedshift withPort(Optional port) { + public SourceRedshift withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -237,7 +238,7 @@ public SourceRedshift withPort(Optional port) { /** * The list of schemas to sync from. Specify one or more explicitly or keep empty to process all schemas. Schema names are case sensitive. */ - public SourceRedshift withSchemas(java.util.List schemas) { + public SourceRedshift withSchemas(List schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = Optional.ofNullable(schemas); return this; @@ -246,7 +247,7 @@ public SourceRedshift withSchemas(java.util.List schemas) { /** * The list of schemas to sync from. Specify one or more explicitly or keep empty to process all schemas. Schema names are case sensitive. */ - public SourceRedshift withSchemas(Optional> schemas) { + public SourceRedshift withSchemas(Optional> schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = schemas; return this; @@ -271,19 +272,19 @@ public boolean equals(java.lang.Object o) { } SourceRedshift other = (SourceRedshift) o; return - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.schemas, other.schemas) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.schemas, other.schemas) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( database, host, jdbcUrlParams, @@ -313,13 +314,13 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); private String password; - private Optional port; + private Optional port; - private Optional> schemas = Optional.empty(); + private Optional> schemas = Optional.empty(); private String username; @@ -357,7 +358,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -384,7 +385,7 @@ public Builder port(long port) { /** * Port of the database. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -393,7 +394,7 @@ public Builder port(Optional port) { /** * The list of schemas to sync from. Specify one or more explicitly or keep empty to process all schemas. Schema names are case sensitive. */ - public Builder schemas(java.util.List schemas) { + public Builder schemas(List schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = Optional.ofNullable(schemas); return this; @@ -402,7 +403,7 @@ public Builder schemas(java.util.List schemas) { /** * The list of schemas to sync from. Specify one or more explicitly or keep empty to process all schemas. Schema names are case sensitive. */ - public Builder schemas(Optional> schemas) { + public Builder schemas(Optional> schemas) { Utils.checkNotNull(schemas, "schemas"); this.schemas = schemas; return this; @@ -420,8 +421,7 @@ public Builder username(String username) { public SourceRedshift build() { if (port == null) { port = _SINGLETON_VALUE_Port.value(); - } - return new SourceRedshift( + } return new SourceRedshift( database, host, jdbcUrlParams, @@ -431,11 +431,11 @@ public SourceRedshift build() { username); } - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "5439", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshift.java b/src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshift.java index 7b3a7e63a..85bf0cc4e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshift.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRedshiftRedshift.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceRedshiftRedshift { REDSHIFT("redshift"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceReferralhero.java b/src/main/java/com/airbyte/api/models/shared/SourceReferralhero.java new file mode 100644 index 000000000..2b4a6f317 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceReferralhero.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceReferralhero { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Referralhero sourceType; + + @JsonCreator + public SourceReferralhero( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Referralhero sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceReferralhero withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceReferralhero other = (SourceReferralhero) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceReferralhero.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceReferralhero build() { + return new SourceReferralhero( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"referralhero\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRentcast.java b/src/main/java/com/airbyte/api/models/shared/SourceRentcast.java new file mode 100644 index 000000000..55aa24d7f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRentcast.java @@ -0,0 +1,959 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Double; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceRentcast { + + /** + * The full address of the property, in the format of Street, City, State, Zip. Used to retrieve data for a specific property, or together with the radius parameter to search for listings in a specific area + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address") + private Optional address; + + @JsonProperty("api_key") + private String apiKey; + + /** + * The number of bathrooms, used to search for listings matching this criteria. Supports fractions to indicate partial bathrooms + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("bath_rooms") + private Optional bathRooms; + + /** + * The number of bedrooms, used to search for listings matching this criteria. Use 0 to indicate a studio layout + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("bedrooms") + private Optional bedrooms; + + /** + * The name of the city, used to search for listings in a specific city. This parameter is case-sensitive + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("city") + private Optional city; + + /** + * The type of aggregate market data to return. Defaults to "All" if not provided : All , Sale , Rental + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("data_type_") + private Optional dataType; + + /** + * The maximum number of days since a property was listed on the market, with a minimum of 1 or The maximum number of days since a property was last sold, with a minimum of 1. Used to search for properties that were sold within the specified date range + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("days_old") + private Optional daysOld; + + /** + * The time range for historical record entries, in months. Defaults to 12 if not provided + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("history_range") + private Optional historyRange; + + /** + * The latitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("latitude") + private Optional latitude; + + /** + * The longitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("longitude") + private Optional longitude; + + /** + * The type of the property, used to search for listings matching this criteria : Single Family , Condo , Townhouse , Manufactured , Multi-Family , Apartment , Land , + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("property_type") + private Optional propertyType; + + /** + * The radius of the search area in miles, with a maximum of 100. Use in combination with the latitude/longitude or address parameters to search for listings in a specific area + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("radius") + private Optional radius; + + @JsonProperty("sourceType") + private Rentcast sourceType; + + /** + * The 2-character state abbreviation, used to search for listings in a specific state. This parameter is case-sensitive + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("state") + private Optional state; + + /** + * The current listing status, used to search for listings matching this criteria : Active or Inactive + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + private Optional status; + + /** + * The 5-digit zip code, used to search for listings in a specific zip code + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("zipcode") + private Optional zipcode; + + @JsonCreator + public SourceRentcast( + @JsonProperty("address") Optional address, + @JsonProperty("api_key") String apiKey, + @JsonProperty("bath_rooms") Optional bathRooms, + @JsonProperty("bedrooms") Optional bedrooms, + @JsonProperty("city") Optional city, + @JsonProperty("data_type_") Optional dataType, + @JsonProperty("days_old") Optional daysOld, + @JsonProperty("history_range") Optional historyRange, + @JsonProperty("latitude") Optional latitude, + @JsonProperty("longitude") Optional longitude, + @JsonProperty("property_type") Optional propertyType, + @JsonProperty("radius") Optional radius, + @JsonProperty("state") Optional state, + @JsonProperty("status") Optional status, + @JsonProperty("zipcode") Optional zipcode) { + Utils.checkNotNull(address, "address"); + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(bathRooms, "bathRooms"); + Utils.checkNotNull(bedrooms, "bedrooms"); + Utils.checkNotNull(city, "city"); + Utils.checkNotNull(dataType, "dataType"); + Utils.checkNotNull(daysOld, "daysOld"); + Utils.checkNotNull(historyRange, "historyRange"); + Utils.checkNotNull(latitude, "latitude"); + Utils.checkNotNull(longitude, "longitude"); + Utils.checkNotNull(propertyType, "propertyType"); + Utils.checkNotNull(radius, "radius"); + Utils.checkNotNull(state, "state"); + Utils.checkNotNull(status, "status"); + Utils.checkNotNull(zipcode, "zipcode"); + this.address = address; + this.apiKey = apiKey; + this.bathRooms = bathRooms; + this.bedrooms = bedrooms; + this.city = city; + this.dataType = dataType; + this.daysOld = daysOld; + this.historyRange = historyRange; + this.latitude = latitude; + this.longitude = longitude; + this.propertyType = propertyType; + this.radius = radius; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.state = state; + this.status = status; + this.zipcode = zipcode; + } + + public SourceRentcast( + String apiKey) { + this(Optional.empty(), apiKey, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + /** + * The full address of the property, in the format of Street, City, State, Zip. Used to retrieve data for a specific property, or together with the radius parameter to search for listings in a specific area + */ + @JsonIgnore + public Optional address() { + return address; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * The number of bathrooms, used to search for listings matching this criteria. Supports fractions to indicate partial bathrooms + */ + @JsonIgnore + public Optional bathRooms() { + return bathRooms; + } + + /** + * The number of bedrooms, used to search for listings matching this criteria. Use 0 to indicate a studio layout + */ + @JsonIgnore + public Optional bedrooms() { + return bedrooms; + } + + /** + * The name of the city, used to search for listings in a specific city. This parameter is case-sensitive + */ + @JsonIgnore + public Optional city() { + return city; + } + + /** + * The type of aggregate market data to return. Defaults to "All" if not provided : All , Sale , Rental + */ + @JsonIgnore + public Optional dataType() { + return dataType; + } + + /** + * The maximum number of days since a property was listed on the market, with a minimum of 1 or The maximum number of days since a property was last sold, with a minimum of 1. Used to search for properties that were sold within the specified date range + */ + @JsonIgnore + public Optional daysOld() { + return daysOld; + } + + /** + * The time range for historical record entries, in months. Defaults to 12 if not provided + */ + @JsonIgnore + public Optional historyRange() { + return historyRange; + } + + /** + * The latitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + @JsonIgnore + public Optional latitude() { + return latitude; + } + + /** + * The longitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + @JsonIgnore + public Optional longitude() { + return longitude; + } + + /** + * The type of the property, used to search for listings matching this criteria : Single Family , Condo , Townhouse , Manufactured , Multi-Family , Apartment , Land , + */ + @JsonIgnore + public Optional propertyType() { + return propertyType; + } + + /** + * The radius of the search area in miles, with a maximum of 100. Use in combination with the latitude/longitude or address parameters to search for listings in a specific area + */ + @JsonIgnore + public Optional radius() { + return radius; + } + + @JsonIgnore + public Rentcast sourceType() { + return sourceType; + } + + /** + * The 2-character state abbreviation, used to search for listings in a specific state. This parameter is case-sensitive + */ + @JsonIgnore + public Optional state() { + return state; + } + + /** + * The current listing status, used to search for listings matching this criteria : Active or Inactive + */ + @JsonIgnore + public Optional status() { + return status; + } + + /** + * The 5-digit zip code, used to search for listings in a specific zip code + */ + @JsonIgnore + public Optional zipcode() { + return zipcode; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The full address of the property, in the format of Street, City, State, Zip. Used to retrieve data for a specific property, or together with the radius parameter to search for listings in a specific area + */ + public SourceRentcast withAddress(String address) { + Utils.checkNotNull(address, "address"); + this.address = Optional.ofNullable(address); + return this; + } + + /** + * The full address of the property, in the format of Street, City, State, Zip. Used to retrieve data for a specific property, or together with the radius parameter to search for listings in a specific area + */ + public SourceRentcast withAddress(Optional address) { + Utils.checkNotNull(address, "address"); + this.address = address; + return this; + } + + public SourceRentcast withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The number of bathrooms, used to search for listings matching this criteria. Supports fractions to indicate partial bathrooms + */ + public SourceRentcast withBathRooms(long bathRooms) { + Utils.checkNotNull(bathRooms, "bathRooms"); + this.bathRooms = Optional.ofNullable(bathRooms); + return this; + } + + /** + * The number of bathrooms, used to search for listings matching this criteria. Supports fractions to indicate partial bathrooms + */ + public SourceRentcast withBathRooms(Optional bathRooms) { + Utils.checkNotNull(bathRooms, "bathRooms"); + this.bathRooms = bathRooms; + return this; + } + + /** + * The number of bedrooms, used to search for listings matching this criteria. Use 0 to indicate a studio layout + */ + public SourceRentcast withBedrooms(double bedrooms) { + Utils.checkNotNull(bedrooms, "bedrooms"); + this.bedrooms = Optional.ofNullable(bedrooms); + return this; + } + + /** + * The number of bedrooms, used to search for listings matching this criteria. Use 0 to indicate a studio layout + */ + public SourceRentcast withBedrooms(Optional bedrooms) { + Utils.checkNotNull(bedrooms, "bedrooms"); + this.bedrooms = bedrooms; + return this; + } + + /** + * The name of the city, used to search for listings in a specific city. This parameter is case-sensitive + */ + public SourceRentcast withCity(String city) { + Utils.checkNotNull(city, "city"); + this.city = Optional.ofNullable(city); + return this; + } + + /** + * The name of the city, used to search for listings in a specific city. This parameter is case-sensitive + */ + public SourceRentcast withCity(Optional city) { + Utils.checkNotNull(city, "city"); + this.city = city; + return this; + } + + /** + * The type of aggregate market data to return. Defaults to "All" if not provided : All , Sale , Rental + */ + public SourceRentcast withDataType(String dataType) { + Utils.checkNotNull(dataType, "dataType"); + this.dataType = Optional.ofNullable(dataType); + return this; + } + + /** + * The type of aggregate market data to return. Defaults to "All" if not provided : All , Sale , Rental + */ + public SourceRentcast withDataType(Optional dataType) { + Utils.checkNotNull(dataType, "dataType"); + this.dataType = dataType; + return this; + } + + /** + * The maximum number of days since a property was listed on the market, with a minimum of 1 or The maximum number of days since a property was last sold, with a minimum of 1. Used to search for properties that were sold within the specified date range + */ + public SourceRentcast withDaysOld(String daysOld) { + Utils.checkNotNull(daysOld, "daysOld"); + this.daysOld = Optional.ofNullable(daysOld); + return this; + } + + /** + * The maximum number of days since a property was listed on the market, with a minimum of 1 or The maximum number of days since a property was last sold, with a minimum of 1. Used to search for properties that were sold within the specified date range + */ + public SourceRentcast withDaysOld(Optional daysOld) { + Utils.checkNotNull(daysOld, "daysOld"); + this.daysOld = daysOld; + return this; + } + + /** + * The time range for historical record entries, in months. Defaults to 12 if not provided + */ + public SourceRentcast withHistoryRange(String historyRange) { + Utils.checkNotNull(historyRange, "historyRange"); + this.historyRange = Optional.ofNullable(historyRange); + return this; + } + + /** + * The time range for historical record entries, in months. Defaults to 12 if not provided + */ + public SourceRentcast withHistoryRange(Optional historyRange) { + Utils.checkNotNull(historyRange, "historyRange"); + this.historyRange = historyRange; + return this; + } + + /** + * The latitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + public SourceRentcast withLatitude(String latitude) { + Utils.checkNotNull(latitude, "latitude"); + this.latitude = Optional.ofNullable(latitude); + return this; + } + + /** + * The latitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + public SourceRentcast withLatitude(Optional latitude) { + Utils.checkNotNull(latitude, "latitude"); + this.latitude = latitude; + return this; + } + + /** + * The longitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + public SourceRentcast withLongitude(String longitude) { + Utils.checkNotNull(longitude, "longitude"); + this.longitude = Optional.ofNullable(longitude); + return this; + } + + /** + * The longitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + public SourceRentcast withLongitude(Optional longitude) { + Utils.checkNotNull(longitude, "longitude"); + this.longitude = longitude; + return this; + } + + /** + * The type of the property, used to search for listings matching this criteria : Single Family , Condo , Townhouse , Manufactured , Multi-Family , Apartment , Land , + */ + public SourceRentcast withPropertyType(String propertyType) { + Utils.checkNotNull(propertyType, "propertyType"); + this.propertyType = Optional.ofNullable(propertyType); + return this; + } + + /** + * The type of the property, used to search for listings matching this criteria : Single Family , Condo , Townhouse , Manufactured , Multi-Family , Apartment , Land , + */ + public SourceRentcast withPropertyType(Optional propertyType) { + Utils.checkNotNull(propertyType, "propertyType"); + this.propertyType = propertyType; + return this; + } + + /** + * The radius of the search area in miles, with a maximum of 100. Use in combination with the latitude/longitude or address parameters to search for listings in a specific area + */ + public SourceRentcast withRadius(String radius) { + Utils.checkNotNull(radius, "radius"); + this.radius = Optional.ofNullable(radius); + return this; + } + + /** + * The radius of the search area in miles, with a maximum of 100. Use in combination with the latitude/longitude or address parameters to search for listings in a specific area + */ + public SourceRentcast withRadius(Optional radius) { + Utils.checkNotNull(radius, "radius"); + this.radius = radius; + return this; + } + + /** + * The 2-character state abbreviation, used to search for listings in a specific state. This parameter is case-sensitive + */ + public SourceRentcast withState(String state) { + Utils.checkNotNull(state, "state"); + this.state = Optional.ofNullable(state); + return this; + } + + /** + * The 2-character state abbreviation, used to search for listings in a specific state. This parameter is case-sensitive + */ + public SourceRentcast withState(Optional state) { + Utils.checkNotNull(state, "state"); + this.state = state; + return this; + } + + /** + * The current listing status, used to search for listings matching this criteria : Active or Inactive + */ + public SourceRentcast withStatus(String status) { + Utils.checkNotNull(status, "status"); + this.status = Optional.ofNullable(status); + return this; + } + + /** + * The current listing status, used to search for listings matching this criteria : Active or Inactive + */ + public SourceRentcast withStatus(Optional status) { + Utils.checkNotNull(status, "status"); + this.status = status; + return this; + } + + /** + * The 5-digit zip code, used to search for listings in a specific zip code + */ + public SourceRentcast withZipcode(String zipcode) { + Utils.checkNotNull(zipcode, "zipcode"); + this.zipcode = Optional.ofNullable(zipcode); + return this; + } + + /** + * The 5-digit zip code, used to search for listings in a specific zip code + */ + public SourceRentcast withZipcode(Optional zipcode) { + Utils.checkNotNull(zipcode, "zipcode"); + this.zipcode = zipcode; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRentcast other = (SourceRentcast) o; + return + Objects.deepEquals(this.address, other.address) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.bathRooms, other.bathRooms) && + Objects.deepEquals(this.bedrooms, other.bedrooms) && + Objects.deepEquals(this.city, other.city) && + Objects.deepEquals(this.dataType, other.dataType) && + Objects.deepEquals(this.daysOld, other.daysOld) && + Objects.deepEquals(this.historyRange, other.historyRange) && + Objects.deepEquals(this.latitude, other.latitude) && + Objects.deepEquals(this.longitude, other.longitude) && + Objects.deepEquals(this.propertyType, other.propertyType) && + Objects.deepEquals(this.radius, other.radius) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.state, other.state) && + Objects.deepEquals(this.status, other.status) && + Objects.deepEquals(this.zipcode, other.zipcode); + } + + @Override + public int hashCode() { + return Objects.hash( + address, + apiKey, + bathRooms, + bedrooms, + city, + dataType, + daysOld, + historyRange, + latitude, + longitude, + propertyType, + radius, + sourceType, + state, + status, + zipcode); + } + + @Override + public String toString() { + return Utils.toString(SourceRentcast.class, + "address", address, + "apiKey", apiKey, + "bathRooms", bathRooms, + "bedrooms", bedrooms, + "city", city, + "dataType", dataType, + "daysOld", daysOld, + "historyRange", historyRange, + "latitude", latitude, + "longitude", longitude, + "propertyType", propertyType, + "radius", radius, + "sourceType", sourceType, + "state", state, + "status", status, + "zipcode", zipcode); + } + + public final static class Builder { + + private Optional address = Optional.empty(); + + private String apiKey; + + private Optional bathRooms = Optional.empty(); + + private Optional bedrooms = Optional.empty(); + + private Optional city = Optional.empty(); + + private Optional dataType = Optional.empty(); + + private Optional daysOld = Optional.empty(); + + private Optional historyRange = Optional.empty(); + + private Optional latitude = Optional.empty(); + + private Optional longitude = Optional.empty(); + + private Optional propertyType = Optional.empty(); + + private Optional radius = Optional.empty(); + + private Optional state = Optional.empty(); + + private Optional status = Optional.empty(); + + private Optional zipcode = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * The full address of the property, in the format of Street, City, State, Zip. Used to retrieve data for a specific property, or together with the radius parameter to search for listings in a specific area + */ + public Builder address(String address) { + Utils.checkNotNull(address, "address"); + this.address = Optional.ofNullable(address); + return this; + } + + /** + * The full address of the property, in the format of Street, City, State, Zip. Used to retrieve data for a specific property, or together with the radius parameter to search for listings in a specific area + */ + public Builder address(Optional address) { + Utils.checkNotNull(address, "address"); + this.address = address; + return this; + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The number of bathrooms, used to search for listings matching this criteria. Supports fractions to indicate partial bathrooms + */ + public Builder bathRooms(long bathRooms) { + Utils.checkNotNull(bathRooms, "bathRooms"); + this.bathRooms = Optional.ofNullable(bathRooms); + return this; + } + + /** + * The number of bathrooms, used to search for listings matching this criteria. Supports fractions to indicate partial bathrooms + */ + public Builder bathRooms(Optional bathRooms) { + Utils.checkNotNull(bathRooms, "bathRooms"); + this.bathRooms = bathRooms; + return this; + } + + /** + * The number of bedrooms, used to search for listings matching this criteria. Use 0 to indicate a studio layout + */ + public Builder bedrooms(double bedrooms) { + Utils.checkNotNull(bedrooms, "bedrooms"); + this.bedrooms = Optional.ofNullable(bedrooms); + return this; + } + + /** + * The number of bedrooms, used to search for listings matching this criteria. Use 0 to indicate a studio layout + */ + public Builder bedrooms(Optional bedrooms) { + Utils.checkNotNull(bedrooms, "bedrooms"); + this.bedrooms = bedrooms; + return this; + } + + /** + * The name of the city, used to search for listings in a specific city. This parameter is case-sensitive + */ + public Builder city(String city) { + Utils.checkNotNull(city, "city"); + this.city = Optional.ofNullable(city); + return this; + } + + /** + * The name of the city, used to search for listings in a specific city. This parameter is case-sensitive + */ + public Builder city(Optional city) { + Utils.checkNotNull(city, "city"); + this.city = city; + return this; + } + + /** + * The type of aggregate market data to return. Defaults to "All" if not provided : All , Sale , Rental + */ + public Builder dataType(String dataType) { + Utils.checkNotNull(dataType, "dataType"); + this.dataType = Optional.ofNullable(dataType); + return this; + } + + /** + * The type of aggregate market data to return. Defaults to "All" if not provided : All , Sale , Rental + */ + public Builder dataType(Optional dataType) { + Utils.checkNotNull(dataType, "dataType"); + this.dataType = dataType; + return this; + } + + /** + * The maximum number of days since a property was listed on the market, with a minimum of 1 or The maximum number of days since a property was last sold, with a minimum of 1. Used to search for properties that were sold within the specified date range + */ + public Builder daysOld(String daysOld) { + Utils.checkNotNull(daysOld, "daysOld"); + this.daysOld = Optional.ofNullable(daysOld); + return this; + } + + /** + * The maximum number of days since a property was listed on the market, with a minimum of 1 or The maximum number of days since a property was last sold, with a minimum of 1. Used to search for properties that were sold within the specified date range + */ + public Builder daysOld(Optional daysOld) { + Utils.checkNotNull(daysOld, "daysOld"); + this.daysOld = daysOld; + return this; + } + + /** + * The time range for historical record entries, in months. Defaults to 12 if not provided + */ + public Builder historyRange(String historyRange) { + Utils.checkNotNull(historyRange, "historyRange"); + this.historyRange = Optional.ofNullable(historyRange); + return this; + } + + /** + * The time range for historical record entries, in months. Defaults to 12 if not provided + */ + public Builder historyRange(Optional historyRange) { + Utils.checkNotNull(historyRange, "historyRange"); + this.historyRange = historyRange; + return this; + } + + /** + * The latitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + public Builder latitude(String latitude) { + Utils.checkNotNull(latitude, "latitude"); + this.latitude = Optional.ofNullable(latitude); + return this; + } + + /** + * The latitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + public Builder latitude(Optional latitude) { + Utils.checkNotNull(latitude, "latitude"); + this.latitude = latitude; + return this; + } + + /** + * The longitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + public Builder longitude(String longitude) { + Utils.checkNotNull(longitude, "longitude"); + this.longitude = Optional.ofNullable(longitude); + return this; + } + + /** + * The longitude of the search area. Use the latitude/longitude and radius parameters to search for listings in a specific area + */ + public Builder longitude(Optional longitude) { + Utils.checkNotNull(longitude, "longitude"); + this.longitude = longitude; + return this; + } + + /** + * The type of the property, used to search for listings matching this criteria : Single Family , Condo , Townhouse , Manufactured , Multi-Family , Apartment , Land , + */ + public Builder propertyType(String propertyType) { + Utils.checkNotNull(propertyType, "propertyType"); + this.propertyType = Optional.ofNullable(propertyType); + return this; + } + + /** + * The type of the property, used to search for listings matching this criteria : Single Family , Condo , Townhouse , Manufactured , Multi-Family , Apartment , Land , + */ + public Builder propertyType(Optional propertyType) { + Utils.checkNotNull(propertyType, "propertyType"); + this.propertyType = propertyType; + return this; + } + + /** + * The radius of the search area in miles, with a maximum of 100. Use in combination with the latitude/longitude or address parameters to search for listings in a specific area + */ + public Builder radius(String radius) { + Utils.checkNotNull(radius, "radius"); + this.radius = Optional.ofNullable(radius); + return this; + } + + /** + * The radius of the search area in miles, with a maximum of 100. Use in combination with the latitude/longitude or address parameters to search for listings in a specific area + */ + public Builder radius(Optional radius) { + Utils.checkNotNull(radius, "radius"); + this.radius = radius; + return this; + } + + /** + * The 2-character state abbreviation, used to search for listings in a specific state. This parameter is case-sensitive + */ + public Builder state(String state) { + Utils.checkNotNull(state, "state"); + this.state = Optional.ofNullable(state); + return this; + } + + /** + * The 2-character state abbreviation, used to search for listings in a specific state. This parameter is case-sensitive + */ + public Builder state(Optional state) { + Utils.checkNotNull(state, "state"); + this.state = state; + return this; + } + + /** + * The current listing status, used to search for listings matching this criteria : Active or Inactive + */ + public Builder status(String status) { + Utils.checkNotNull(status, "status"); + this.status = Optional.ofNullable(status); + return this; + } + + /** + * The current listing status, used to search for listings matching this criteria : Active or Inactive + */ + public Builder status(Optional status) { + Utils.checkNotNull(status, "status"); + this.status = status; + return this; + } + + /** + * The 5-digit zip code, used to search for listings in a specific zip code + */ + public Builder zipcode(String zipcode) { + Utils.checkNotNull(zipcode, "zipcode"); + this.zipcode = Optional.ofNullable(zipcode); + return this; + } + + /** + * The 5-digit zip code, used to search for listings in a specific zip code + */ + public Builder zipcode(Optional zipcode) { + Utils.checkNotNull(zipcode, "zipcode"); + this.zipcode = zipcode; + return this; + } + + public SourceRentcast build() { + return new SourceRentcast( + address, + apiKey, + bathRooms, + bedrooms, + city, + dataType, + daysOld, + historyRange, + latitude, + longitude, + propertyType, + radius, + state, + status, + zipcode); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"rentcast\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRepairshopr.java b/src/main/java/com/airbyte/api/models/shared/SourceRepairshopr.java new file mode 100644 index 000000000..eb66eb98e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRepairshopr.java @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceRepairshopr { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Repairshopr sourceType; + + @JsonProperty("subdomain") + private String subdomain; + + @JsonCreator + public SourceRepairshopr( + @JsonProperty("api_key") String apiKey, + @JsonProperty("subdomain") String subdomain) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(subdomain, "subdomain"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.subdomain = subdomain; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Repairshopr sourceType() { + return sourceType; + } + + @JsonIgnore + public String subdomain() { + return subdomain; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceRepairshopr withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceRepairshopr withSubdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRepairshopr other = (SourceRepairshopr) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.subdomain, other.subdomain); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + subdomain); + } + + @Override + public String toString() { + return Utils.toString(SourceRepairshopr.class, + "apiKey", apiKey, + "sourceType", sourceType, + "subdomain", subdomain); + } + + public final static class Builder { + + private String apiKey; + + private String subdomain; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder subdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + public SourceRepairshopr build() { + return new SourceRepairshopr( + apiKey, + subdomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"repairshopr\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceReplyIo.java b/src/main/java/com/airbyte/api/models/shared/SourceReplyIo.java new file mode 100644 index 000000000..19e1b2497 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceReplyIo.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceReplyIo { + + /** + * The API Token for Reply + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private ReplyIo sourceType; + + @JsonCreator + public SourceReplyIo( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * The API Token for Reply + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public ReplyIo sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The API Token for Reply + */ + public SourceReplyIo withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceReplyIo other = (SourceReplyIo) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceReplyIo.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * The API Token for Reply + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceReplyIo build() { + return new SourceReplyIo( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"reply-io\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceResponse.java b/src/main/java/com/airbyte/api/models/shared/SourceResponse.java index 31fedc646..61e90509e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceResponse.java @@ -1,19 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * SourceResponse - Provides details of a single source. */ @@ -26,6 +26,12 @@ public class SourceResponse { @JsonProperty("configuration") private SourceConfiguration configuration; + @JsonProperty("createdAt") + private long createdAt; + + @JsonProperty("definitionId") + private String definitionId; + @JsonProperty("name") private String name; @@ -41,16 +47,22 @@ public class SourceResponse { @JsonCreator public SourceResponse( @JsonProperty("configuration") SourceConfiguration configuration, + @JsonProperty("createdAt") long createdAt, + @JsonProperty("definitionId") String definitionId, @JsonProperty("name") String name, @JsonProperty("sourceId") String sourceId, @JsonProperty("sourceType") String sourceType, @JsonProperty("workspaceId") String workspaceId) { Utils.checkNotNull(configuration, "configuration"); + Utils.checkNotNull(createdAt, "createdAt"); + Utils.checkNotNull(definitionId, "definitionId"); Utils.checkNotNull(name, "name"); Utils.checkNotNull(sourceId, "sourceId"); Utils.checkNotNull(sourceType, "sourceType"); Utils.checkNotNull(workspaceId, "workspaceId"); this.configuration = configuration; + this.createdAt = createdAt; + this.definitionId = definitionId; this.name = name; this.sourceId = sourceId; this.sourceType = sourceType; @@ -65,6 +77,16 @@ public SourceConfiguration configuration() { return configuration; } + @JsonIgnore + public long createdAt() { + return createdAt; + } + + @JsonIgnore + public String definitionId() { + return definitionId; + } + @JsonIgnore public String name() { return name; @@ -98,6 +120,18 @@ public SourceResponse withConfiguration(SourceConfiguration configuration) { return this; } + public SourceResponse withCreatedAt(long createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = createdAt; + return this; + } + + public SourceResponse withDefinitionId(String definitionId) { + Utils.checkNotNull(definitionId, "definitionId"); + this.definitionId = definitionId; + return this; + } + public SourceResponse withName(String name) { Utils.checkNotNull(name, "name"); this.name = name; @@ -132,17 +166,21 @@ public boolean equals(java.lang.Object o) { } SourceResponse other = (SourceResponse) o; return - java.util.Objects.deepEquals(this.configuration, other.configuration) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.sourceId, other.sourceId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.configuration, other.configuration) && + Objects.deepEquals(this.createdAt, other.createdAt) && + Objects.deepEquals(this.definitionId, other.definitionId) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.sourceId, other.sourceId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( configuration, + createdAt, + definitionId, name, sourceId, sourceType, @@ -153,6 +191,8 @@ public int hashCode() { public String toString() { return Utils.toString(SourceResponse.class, "configuration", configuration, + "createdAt", createdAt, + "definitionId", definitionId, "name", name, "sourceId", sourceId, "sourceType", sourceType, @@ -163,6 +203,10 @@ public final static class Builder { private SourceConfiguration configuration; + private Long createdAt; + + private String definitionId; + private String name; private String sourceId; @@ -184,6 +228,18 @@ public Builder configuration(SourceConfiguration configuration) { return this; } + public Builder createdAt(long createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = createdAt; + return this; + } + + public Builder definitionId(String definitionId) { + Utils.checkNotNull(definitionId, "definitionId"); + this.definitionId = definitionId; + return this; + } + public Builder name(String name) { Utils.checkNotNull(name, "name"); this.name = name; @@ -211,6 +267,8 @@ public Builder workspaceId(String workspaceId) { public SourceResponse build() { return new SourceResponse( configuration, + createdAt, + definitionId, name, sourceId, sourceType, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRetently.java b/src/main/java/com/airbyte/api/models/shared/SourceRetently.java index 1fbb3e012..1ac8ea23d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRetently.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRetently.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceRetently { /** @@ -26,15 +27,14 @@ public class SourceRetently { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("credentials") - private Optional credentials; + private Optional credentials; - @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") - private Optional sourceType; + private Retently sourceType; @JsonCreator public SourceRetently( - @JsonProperty("credentials") Optional credentials) { + @JsonProperty("credentials") Optional credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); @@ -49,14 +49,13 @@ public SourceRetently() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional credentials() { - return (Optional) credentials; + public Optional credentials() { + return (Optional) credentials; } - @SuppressWarnings("unchecked") @JsonIgnore - public Optional sourceType() { - return (Optional) sourceType; + public Retently sourceType() { + return sourceType; } public final static Builder builder() { @@ -66,7 +65,7 @@ public final static Builder builder() { /** * Choose how to authenticate to Retently */ - public SourceRetently withCredentials(java.lang.Object credentials) { + public SourceRetently withCredentials(SourceRetentlyAuthenticationMechanism credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = Optional.ofNullable(credentials); return this; @@ -75,7 +74,7 @@ public SourceRetently withCredentials(java.lang.Object credentials) { /** * Choose how to authenticate to Retently */ - public SourceRetently withCredentials(Optional credentials) { + public SourceRetently withCredentials(Optional credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; @@ -91,13 +90,13 @@ public boolean equals(java.lang.Object o) { } SourceRetently other = (SourceRetently) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType); } @@ -111,7 +110,7 @@ public String toString() { public final static class Builder { - private Optional credentials = Optional.empty(); + private Optional credentials = Optional.empty(); private Builder() { // force use of static builder() method @@ -120,7 +119,7 @@ private Builder() { /** * Choose how to authenticate to Retently */ - public Builder credentials(java.lang.Object credentials) { + public Builder credentials(SourceRetentlyAuthenticationMechanism credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = Optional.ofNullable(credentials); return this; @@ -129,7 +128,7 @@ public Builder credentials(java.lang.Object credentials) { /** * Choose how to authenticate to Retently */ - public Builder credentials(Optional credentials) { + public Builder credentials(Optional credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; @@ -140,11 +139,11 @@ public SourceRetently build() { credentials); } - private static final LazySingletonValue> _SINGLETON_VALUE_SourceType = + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( "sourceType", "\"retently\"", - new TypeReference>() {}); + new TypeReference() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthType.java new file mode 100644 index 000000000..ef3267a95 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceRetentlyAuthType { + CLIENT("Client"); + + @JsonValue + private final String value; + + private SourceRetentlyAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthenticationMechanism.java b/src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthenticationMechanism.java new file mode 100644 index 000000000..0b5e569b2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRetentlyAuthenticationMechanism.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceRetentlyAuthenticationMechanism - Choose how to authenticate to Retently + */ + +@JsonDeserialize(using = SourceRetentlyAuthenticationMechanism._Deserializer.class) +public class SourceRetentlyAuthenticationMechanism { + + @JsonValue + private TypedObject value; + + private SourceRetentlyAuthenticationMechanism(TypedObject value) { + this.value = value; + } + + public static SourceRetentlyAuthenticationMechanism of(AuthenticateViaRetentlyOAuth value) { + Utils.checkNotNull(value, "value"); + return new SourceRetentlyAuthenticationMechanism(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceRetentlyAuthenticationMechanism of(AuthenticateWithAPIToken value) { + Utils.checkNotNull(value, "value"); + return new SourceRetentlyAuthenticationMechanism(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *
      + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaRetentlyOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateWithAPIToken}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRetentlyAuthenticationMechanism other = (SourceRetentlyAuthenticationMechanism) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceRetentlyAuthenticationMechanism.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceRetentlyAuthenticationMechanism.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRetentlyRetently.java b/src/main/java/com/airbyte/api/models/shared/SourceRetentlyRetently.java deleted file mode 100644 index 333bb0929..000000000 --- a/src/main/java/com/airbyte/api/models/shared/SourceRetentlyRetently.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.shared; - -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; - -public enum SourceRetentlyRetently { - RETENTLY("retently"); - - @JsonValue - private final String value; - - private SourceRetentlyRetently(String value) { - this.value = value; - } - - public String value() { - return value; - } -} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRetentlySchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceRetentlySchemasAuthType.java new file mode 100644 index 000000000..148e2fff7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRetentlySchemasAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceRetentlySchemasAuthType { + TOKEN("Token"); + + @JsonValue + private final String value; + + private SourceRetentlySchemasAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRevenuecat.java b/src/main/java/com/airbyte/api/models/shared/SourceRevenuecat.java new file mode 100644 index 000000000..86e6944d5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRevenuecat.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceRevenuecat { + + /** + * API key or access token + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Revenuecat sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceRevenuecat( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API key or access token + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Revenuecat sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key or access token + */ + public SourceRevenuecat withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceRevenuecat withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRevenuecat other = (SourceRevenuecat) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceRevenuecat.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key or access token + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceRevenuecat build() { + return new SourceRevenuecat( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"revenuecat\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchant.java b/src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchant.java new file mode 100644 index 000000000..0fbbc6abd --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchant.java @@ -0,0 +1,233 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceRevolutMerchant { + + /** + * Specify the API version to use. This is required for certain API calls. Example: '2024-09-01'. + */ + @JsonProperty("api_version") + private String apiVersion; + + /** + * The base url of your environment. Either sandbox or production + */ + @JsonProperty("environment") + private SourceRevolutMerchantEnvironment environment; + + /** + * Secret API key to use for authenticating with the Revolut Merchant API. Find it in your Revolut Business account under APIs > Merchant API. + */ + @JsonProperty("secret_api_key") + private String secretApiKey; + + @JsonProperty("sourceType") + private RevolutMerchant sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceRevolutMerchant( + @JsonProperty("api_version") String apiVersion, + @JsonProperty("environment") SourceRevolutMerchantEnvironment environment, + @JsonProperty("secret_api_key") String secretApiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiVersion, "apiVersion"); + Utils.checkNotNull(environment, "environment"); + Utils.checkNotNull(secretApiKey, "secretApiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiVersion = apiVersion; + this.environment = environment; + this.secretApiKey = secretApiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Specify the API version to use. This is required for certain API calls. Example: '2024-09-01'. + */ + @JsonIgnore + public String apiVersion() { + return apiVersion; + } + + /** + * The base url of your environment. Either sandbox or production + */ + @JsonIgnore + public SourceRevolutMerchantEnvironment environment() { + return environment; + } + + /** + * Secret API key to use for authenticating with the Revolut Merchant API. Find it in your Revolut Business account under APIs > Merchant API. + */ + @JsonIgnore + public String secretApiKey() { + return secretApiKey; + } + + @JsonIgnore + public RevolutMerchant sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Specify the API version to use. This is required for certain API calls. Example: '2024-09-01'. + */ + public SourceRevolutMerchant withApiVersion(String apiVersion) { + Utils.checkNotNull(apiVersion, "apiVersion"); + this.apiVersion = apiVersion; + return this; + } + + /** + * The base url of your environment. Either sandbox or production + */ + public SourceRevolutMerchant withEnvironment(SourceRevolutMerchantEnvironment environment) { + Utils.checkNotNull(environment, "environment"); + this.environment = environment; + return this; + } + + /** + * Secret API key to use for authenticating with the Revolut Merchant API. Find it in your Revolut Business account under APIs > Merchant API. + */ + public SourceRevolutMerchant withSecretApiKey(String secretApiKey) { + Utils.checkNotNull(secretApiKey, "secretApiKey"); + this.secretApiKey = secretApiKey; + return this; + } + + public SourceRevolutMerchant withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRevolutMerchant other = (SourceRevolutMerchant) o; + return + Objects.deepEquals(this.apiVersion, other.apiVersion) && + Objects.deepEquals(this.environment, other.environment) && + Objects.deepEquals(this.secretApiKey, other.secretApiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiVersion, + environment, + secretApiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceRevolutMerchant.class, + "apiVersion", apiVersion, + "environment", environment, + "secretApiKey", secretApiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiVersion; + + private SourceRevolutMerchantEnvironment environment; + + private String secretApiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Specify the API version to use. This is required for certain API calls. Example: '2024-09-01'. + */ + public Builder apiVersion(String apiVersion) { + Utils.checkNotNull(apiVersion, "apiVersion"); + this.apiVersion = apiVersion; + return this; + } + + /** + * The base url of your environment. Either sandbox or production + */ + public Builder environment(SourceRevolutMerchantEnvironment environment) { + Utils.checkNotNull(environment, "environment"); + this.environment = environment; + return this; + } + + /** + * Secret API key to use for authenticating with the Revolut Merchant API. Find it in your Revolut Business account under APIs > Merchant API. + */ + public Builder secretApiKey(String secretApiKey) { + Utils.checkNotNull(secretApiKey, "secretApiKey"); + this.secretApiKey = secretApiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceRevolutMerchant build() { + return new SourceRevolutMerchant( + apiVersion, + environment, + secretApiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"revolut-merchant\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchantEnvironment.java b/src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchantEnvironment.java new file mode 100644 index 000000000..d42418260 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRevolutMerchantEnvironment.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceRevolutMerchantEnvironment - The base url of your environment. Either sandbox or production + */ +public enum SourceRevolutMerchantEnvironment { + SANDBOX_MERCHANT("sandbox-merchant"), + MERCHANT("merchant"); + + @JsonValue + private final String value; + + private SourceRevolutMerchantEnvironment(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java b/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java index 7deb65bba..11c7f65e3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceRkiCovid { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceRkiCovid other = (SourceRkiCovid) o; return - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourceType, startDate); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRocketlane.java b/src/main/java/com/airbyte/api/models/shared/SourceRocketlane.java new file mode 100644 index 000000000..98a8b2cde --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRocketlane.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceRocketlane { + + /** + * API key to use. Generate it from the API section in Settings of your Rocketlane account. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Rocketlane sourceType; + + @JsonCreator + public SourceRocketlane( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Generate it from the API section in Settings of your Rocketlane account. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Rocketlane sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Generate it from the API section in Settings of your Rocketlane account. + */ + public SourceRocketlane withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRocketlane other = (SourceRocketlane) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceRocketlane.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Generate it from the API section in Settings of your Rocketlane account. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceRocketlane build() { + return new SourceRocketlane( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"rocketlane\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRollbar.java b/src/main/java/com/airbyte/api/models/shared/SourceRollbar.java new file mode 100644 index 000000000..aab76bd3c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRollbar.java @@ -0,0 +1,168 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceRollbar { + + @JsonProperty("account_access_token") + private String accountAccessToken; + + @JsonProperty("project_access_token") + private String projectAccessToken; + + @JsonProperty("sourceType") + private Rollbar sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceRollbar( + @JsonProperty("account_access_token") String accountAccessToken, + @JsonProperty("project_access_token") String projectAccessToken, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(accountAccessToken, "accountAccessToken"); + Utils.checkNotNull(projectAccessToken, "projectAccessToken"); + Utils.checkNotNull(startDate, "startDate"); + this.accountAccessToken = accountAccessToken; + this.projectAccessToken = projectAccessToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String accountAccessToken() { + return accountAccessToken; + } + + @JsonIgnore + public String projectAccessToken() { + return projectAccessToken; + } + + @JsonIgnore + public Rollbar sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceRollbar withAccountAccessToken(String accountAccessToken) { + Utils.checkNotNull(accountAccessToken, "accountAccessToken"); + this.accountAccessToken = accountAccessToken; + return this; + } + + public SourceRollbar withProjectAccessToken(String projectAccessToken) { + Utils.checkNotNull(projectAccessToken, "projectAccessToken"); + this.projectAccessToken = projectAccessToken; + return this; + } + + public SourceRollbar withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRollbar other = (SourceRollbar) o; + return + Objects.deepEquals(this.accountAccessToken, other.accountAccessToken) && + Objects.deepEquals(this.projectAccessToken, other.projectAccessToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accountAccessToken, + projectAccessToken, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceRollbar.class, + "accountAccessToken", accountAccessToken, + "projectAccessToken", projectAccessToken, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accountAccessToken; + + private String projectAccessToken; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder accountAccessToken(String accountAccessToken) { + Utils.checkNotNull(accountAccessToken, "accountAccessToken"); + this.accountAccessToken = accountAccessToken; + return this; + } + + public Builder projectAccessToken(String projectAccessToken) { + Utils.checkNotNull(projectAccessToken, "projectAccessToken"); + this.projectAccessToken = projectAccessToken; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceRollbar build() { + return new SourceRollbar( + accountAccessToken, + projectAccessToken, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"rollbar\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRootly.java b/src/main/java/com/airbyte/api/models/shared/SourceRootly.java new file mode 100644 index 000000000..a1176a667 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRootly.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceRootly { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Rootly sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceRootly( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Rootly sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceRootly withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceRootly withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRootly other = (SourceRootly) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceRootly.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceRootly build() { + return new SourceRootly( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"rootly\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRss.java b/src/main/java/com/airbyte/api/models/shared/SourceRss.java index 473bfe5db..886750416 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceRss.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceRss.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceRss { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceRss other = (SourceRss) o; return - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.url, other.url); + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.url, other.url); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourceType, url); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceRuddr.java b/src/main/java/com/airbyte/api/models/shared/SourceRuddr.java new file mode 100644 index 000000000..04e8aeb77 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceRuddr.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceRuddr { + + /** + * API token to use. Generate it in the API Keys section of your Ruddr workspace settings. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private Ruddr sourceType; + + @JsonCreator + public SourceRuddr( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API token to use. Generate it in the API Keys section of your Ruddr workspace settings. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public Ruddr sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token to use. Generate it in the API Keys section of your Ruddr workspace settings. + */ + public SourceRuddr withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceRuddr other = (SourceRuddr) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceRuddr.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * API token to use. Generate it in the API Keys section of your Ruddr workspace settings. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceRuddr build() { + return new SourceRuddr( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"ruddr\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3.java b/src/main/java/com/airbyte/api/models/shared/SourceS3.java index 47122d915..94537e809 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3.java @@ -1,26 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * SourceS3 - NOTE: When this Spec is changed, legacy_config_transformer.py must also be modified to uptake the changes * because it is responsible for converting legacy S3 v3 configs into v4 configs using the File-Based CDK. @@ -33,14 +33,14 @@ public class SourceS3 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("aws_access_key_id") - private Optional awsAccessKeyId; + private Optional awsAccessKeyId; /** * In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("aws_secret_access_key") - private Optional awsSecretAccessKey; + private Optional awsSecretAccessKey; /** * Name of the S3 bucket where the file(s) exist. @@ -48,26 +48,30 @@ public class SourceS3 { @JsonProperty("bucket") private String bucket; + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_method") + private Optional deliveryMethod; + /** * Endpoint to an S3 compatible service. Leave empty to use AWS. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("endpoint") - private Optional endpoint; + private Optional endpoint; /** * AWS region where the S3 bucket is located. If not provided, the region will be determined automatically. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("region_name") - private Optional regionName; + private Optional regionName; /** * Specifies the Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations requested using this profile. Set the External ID to the Airbyte workspace ID, which can be found in the URL of this page. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("role_arn") - private Optional roleArn; + private Optional roleArn; @JsonProperty("sourceType") private SourceS3S3 sourceType; @@ -77,27 +81,29 @@ public class SourceS3 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonProperty("streams") - private java.util.List streams; + private List streams; @JsonCreator public SourceS3( - @JsonProperty("aws_access_key_id") Optional awsAccessKeyId, - @JsonProperty("aws_secret_access_key") Optional awsSecretAccessKey, + @JsonProperty("aws_access_key_id") Optional awsAccessKeyId, + @JsonProperty("aws_secret_access_key") Optional awsSecretAccessKey, @JsonProperty("bucket") String bucket, - @JsonProperty("endpoint") Optional endpoint, - @JsonProperty("region_name") Optional regionName, - @JsonProperty("role_arn") Optional roleArn, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("streams") java.util.List streams) { + @JsonProperty("delivery_method") Optional deliveryMethod, + @JsonProperty("endpoint") Optional endpoint, + @JsonProperty("region_name") Optional regionName, + @JsonProperty("role_arn") Optional roleArn, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("streams") List streams) { Utils.checkNotNull(awsAccessKeyId, "awsAccessKeyId"); Utils.checkNotNull(awsSecretAccessKey, "awsSecretAccessKey"); Utils.checkNotNull(bucket, "bucket"); + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); Utils.checkNotNull(endpoint, "endpoint"); Utils.checkNotNull(regionName, "regionName"); Utils.checkNotNull(roleArn, "roleArn"); @@ -106,6 +112,7 @@ public SourceS3( this.awsAccessKeyId = awsAccessKeyId; this.awsSecretAccessKey = awsSecretAccessKey; this.bucket = bucket; + this.deliveryMethod = deliveryMethod; this.endpoint = endpoint; this.regionName = regionName; this.roleArn = roleArn; @@ -116,26 +123,24 @@ public SourceS3( public SourceS3( String bucket, - java.util.List streams) { - this(Optional.empty(), Optional.empty(), bucket, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), streams); + List streams) { + this(Optional.empty(), Optional.empty(), bucket, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), streams); } /** * In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional awsAccessKeyId() { - return (Optional) awsAccessKeyId; + return awsAccessKeyId; } /** * In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional awsSecretAccessKey() { - return (Optional) awsSecretAccessKey; + return awsSecretAccessKey; } /** @@ -146,31 +151,34 @@ public String bucket() { return bucket; } + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryMethod() { + return (Optional) deliveryMethod; + } + /** * Endpoint to an S3 compatible service. Leave empty to use AWS. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endpoint() { - return (Optional) endpoint; + return endpoint; } /** * AWS region where the S3 bucket is located. If not provided, the region will be determined automatically. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional regionName() { - return (Optional) regionName; + return regionName; } /** * Specifies the Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations requested using this profile. Set the External ID to the Airbyte workspace ID, which can be found in the URL of this page. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional roleArn() { - return (Optional) roleArn; + return roleArn; } @JsonIgnore @@ -181,17 +189,16 @@ public SourceS3S3 sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonIgnore - public java.util.List streams() { + public List streams() { return streams; } @@ -211,7 +218,7 @@ public SourceS3 withAwsAccessKeyId(String awsAccessKeyId) { /** * In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - public SourceS3 withAwsAccessKeyId(Optional awsAccessKeyId) { + public SourceS3 withAwsAccessKeyId(Optional awsAccessKeyId) { Utils.checkNotNull(awsAccessKeyId, "awsAccessKeyId"); this.awsAccessKeyId = awsAccessKeyId; return this; @@ -229,7 +236,7 @@ public SourceS3 withAwsSecretAccessKey(String awsSecretAccessKey) { /** * In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - public SourceS3 withAwsSecretAccessKey(Optional awsSecretAccessKey) { + public SourceS3 withAwsSecretAccessKey(Optional awsSecretAccessKey) { Utils.checkNotNull(awsSecretAccessKey, "awsSecretAccessKey"); this.awsSecretAccessKey = awsSecretAccessKey; return this; @@ -244,6 +251,18 @@ public SourceS3 withBucket(String bucket) { return this; } + public SourceS3 withDeliveryMethod(DeliveryMethod deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = Optional.ofNullable(deliveryMethod); + return this; + } + + public SourceS3 withDeliveryMethod(Optional deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = deliveryMethod; + return this; + } + /** * Endpoint to an S3 compatible service. Leave empty to use AWS. */ @@ -256,7 +275,7 @@ public SourceS3 withEndpoint(String endpoint) { /** * Endpoint to an S3 compatible service. Leave empty to use AWS. */ - public SourceS3 withEndpoint(Optional endpoint) { + public SourceS3 withEndpoint(Optional endpoint) { Utils.checkNotNull(endpoint, "endpoint"); this.endpoint = endpoint; return this; @@ -274,7 +293,7 @@ public SourceS3 withRegionName(String regionName) { /** * AWS region where the S3 bucket is located. If not provided, the region will be determined automatically. */ - public SourceS3 withRegionName(Optional regionName) { + public SourceS3 withRegionName(Optional regionName) { Utils.checkNotNull(regionName, "regionName"); this.regionName = regionName; return this; @@ -292,7 +311,7 @@ public SourceS3 withRoleArn(String roleArn) { /** * Specifies the Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations requested using this profile. Set the External ID to the Airbyte workspace ID, which can be found in the URL of this page. */ - public SourceS3 withRoleArn(Optional roleArn) { + public SourceS3 withRoleArn(Optional roleArn) { Utils.checkNotNull(roleArn, "roleArn"); this.roleArn = roleArn; return this; @@ -310,7 +329,7 @@ public SourceS3 withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public SourceS3 withStartDate(Optional startDate) { + public SourceS3 withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -319,7 +338,7 @@ public SourceS3 withStartDate(Optional startDate) { /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public SourceS3 withStreams(java.util.List streams) { + public SourceS3 withStreams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -335,23 +354,25 @@ public boolean equals(java.lang.Object o) { } SourceS3 other = (SourceS3) o; return - java.util.Objects.deepEquals(this.awsAccessKeyId, other.awsAccessKeyId) && - java.util.Objects.deepEquals(this.awsSecretAccessKey, other.awsSecretAccessKey) && - java.util.Objects.deepEquals(this.bucket, other.bucket) && - java.util.Objects.deepEquals(this.endpoint, other.endpoint) && - java.util.Objects.deepEquals(this.regionName, other.regionName) && - java.util.Objects.deepEquals(this.roleArn, other.roleArn) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.streams, other.streams); + Objects.deepEquals(this.awsAccessKeyId, other.awsAccessKeyId) && + Objects.deepEquals(this.awsSecretAccessKey, other.awsSecretAccessKey) && + Objects.deepEquals(this.bucket, other.bucket) && + Objects.deepEquals(this.deliveryMethod, other.deliveryMethod) && + Objects.deepEquals(this.endpoint, other.endpoint) && + Objects.deepEquals(this.regionName, other.regionName) && + Objects.deepEquals(this.roleArn, other.roleArn) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.streams, other.streams); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( awsAccessKeyId, awsSecretAccessKey, bucket, + deliveryMethod, endpoint, regionName, roleArn, @@ -366,6 +387,7 @@ public String toString() { "awsAccessKeyId", awsAccessKeyId, "awsSecretAccessKey", awsSecretAccessKey, "bucket", bucket, + "deliveryMethod", deliveryMethod, "endpoint", endpoint, "regionName", regionName, "roleArn", roleArn, @@ -376,21 +398,23 @@ public String toString() { public final static class Builder { - private Optional awsAccessKeyId = Optional.empty(); + private Optional awsAccessKeyId = Optional.empty(); - private Optional awsSecretAccessKey = Optional.empty(); + private Optional awsSecretAccessKey = Optional.empty(); private String bucket; - private Optional endpoint; + private Optional deliveryMethod = Optional.empty(); + + private Optional endpoint; - private Optional regionName = Optional.empty(); + private Optional regionName = Optional.empty(); - private Optional roleArn = Optional.empty(); + private Optional roleArn = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private java.util.List streams; + private List streams; private Builder() { // force use of static builder() method @@ -408,7 +432,7 @@ public Builder awsAccessKeyId(String awsAccessKeyId) { /** * In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - public Builder awsAccessKeyId(Optional awsAccessKeyId) { + public Builder awsAccessKeyId(Optional awsAccessKeyId) { Utils.checkNotNull(awsAccessKeyId, "awsAccessKeyId"); this.awsAccessKeyId = awsAccessKeyId; return this; @@ -426,7 +450,7 @@ public Builder awsSecretAccessKey(String awsSecretAccessKey) { /** * In order to access private Buckets stored on AWS S3, this connector requires credentials with the proper permissions. If accessing publicly available data, this field is not necessary. */ - public Builder awsSecretAccessKey(Optional awsSecretAccessKey) { + public Builder awsSecretAccessKey(Optional awsSecretAccessKey) { Utils.checkNotNull(awsSecretAccessKey, "awsSecretAccessKey"); this.awsSecretAccessKey = awsSecretAccessKey; return this; @@ -441,6 +465,18 @@ public Builder bucket(String bucket) { return this; } + public Builder deliveryMethod(DeliveryMethod deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = Optional.ofNullable(deliveryMethod); + return this; + } + + public Builder deliveryMethod(Optional deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = deliveryMethod; + return this; + } + /** * Endpoint to an S3 compatible service. Leave empty to use AWS. */ @@ -453,7 +489,7 @@ public Builder endpoint(String endpoint) { /** * Endpoint to an S3 compatible service. Leave empty to use AWS. */ - public Builder endpoint(Optional endpoint) { + public Builder endpoint(Optional endpoint) { Utils.checkNotNull(endpoint, "endpoint"); this.endpoint = endpoint; return this; @@ -471,7 +507,7 @@ public Builder regionName(String regionName) { /** * AWS region where the S3 bucket is located. If not provided, the region will be determined automatically. */ - public Builder regionName(Optional regionName) { + public Builder regionName(Optional regionName) { Utils.checkNotNull(regionName, "regionName"); this.regionName = regionName; return this; @@ -489,7 +525,7 @@ public Builder roleArn(String roleArn) { /** * Specifies the Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations requested using this profile. Set the External ID to the Airbyte workspace ID, which can be found in the URL of this page. */ - public Builder roleArn(Optional roleArn) { + public Builder roleArn(Optional roleArn) { Utils.checkNotNull(roleArn, "roleArn"); this.roleArn = roleArn; return this; @@ -507,7 +543,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -516,7 +552,7 @@ public Builder startDate(Optional startDate) { /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public Builder streams(java.util.List streams) { + public Builder streams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -525,11 +561,11 @@ public Builder streams(java.util.List streams) { public SourceS3 build() { if (endpoint == null) { endpoint = _SINGLETON_VALUE_Endpoint.value(); - } - return new SourceS3( + } return new SourceS3( awsAccessKeyId, awsSecretAccessKey, bucket, + deliveryMethod, endpoint, regionName, roleArn, @@ -537,11 +573,11 @@ public SourceS3 build() { streams); } - private static final LazySingletonValue> _SINGLETON_VALUE_Endpoint = + private static final LazySingletonValue> _SINGLETON_VALUE_Endpoint = new LazySingletonValue<>( "endpoint", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3Autogenerated.java b/src/main/java/com/airbyte/api/models/shared/SourceS3Autogenerated.java index 09a0cedcf..a8cb3fc1a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3Autogenerated.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3Autogenerated.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceS3Autogenerated { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceS3Autogenerated other = (SourceS3Autogenerated) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3AvroFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceS3AvroFormat.java index d5332d82b..608c004c5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3AvroFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3AvroFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceS3AvroFormat { /** @@ -26,7 +28,7 @@ public class SourceS3AvroFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_as_string") - private Optional doubleAsString; + private Optional doubleAsString; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceS3AvroFormat { @JsonCreator public SourceS3AvroFormat( - @JsonProperty("double_as_string") Optional doubleAsString) { + @JsonProperty("double_as_string") Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceS3AvroFormat() { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleAsString() { - return (Optional) doubleAsString; + return doubleAsString; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceS3AvroFormat withDoubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public SourceS3AvroFormat withDoubleAsString(Optional doubleAsString) { + public SourceS3AvroFormat withDoubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceS3AvroFormat other = (SourceS3AvroFormat) o; return - java.util.Objects.deepEquals(this.doubleAsString, other.doubleAsString) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.doubleAsString, other.doubleAsString) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( doubleAsString, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional doubleAsString; + private Optional doubleAsString; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder doubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public Builder doubleAsString(Optional doubleAsString) { + public Builder doubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -138,16 +139,15 @@ public Builder doubleAsString(Optional doubleAsString) { public SourceS3AvroFormat build() { if (doubleAsString == null) { doubleAsString = _SINGLETON_VALUE_DoubleAsString.value(); - } - return new SourceS3AvroFormat( + } return new SourceS3AvroFormat( doubleAsString); } - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = new LazySingletonValue<>( "double_as_string", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3CSVFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceS3CSVFormat.java index d3d9d324c..56056fe04 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3CSVFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3CSVFormat.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceS3CSVFormat { /** @@ -26,35 +30,35 @@ public class SourceS3CSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("delimiter") - private Optional delimiter; + private Optional delimiter; /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_quote") - private Optional doubleQuote; + private Optional doubleQuote; /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("encoding") - private Optional encoding; + private Optional encoding; /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("escape_char") - private Optional escapeChar; + private Optional escapeChar; /** * A set of case-sensitive strings that should be interpreted as false values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("false_values") - private Optional> falseValues; + private Optional> falseValues; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -72,65 +76,65 @@ public class SourceS3CSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ignore_errors_on_fields_mismatch") - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("null_values") - private Optional> nullValues; + private Optional> nullValues; /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("quote_char") - private Optional quoteChar; + private Optional quoteChar; /** * The number of rows to skip after the header row. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_after_header") - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_before_header") - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("strings_can_be_null") - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; /** * A set of case-sensitive strings that should be interpreted as true values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("true_values") - private Optional> trueValues; + private Optional> trueValues; @JsonCreator public SourceS3CSVFormat( - @JsonProperty("delimiter") Optional delimiter, - @JsonProperty("double_quote") Optional doubleQuote, - @JsonProperty("encoding") Optional encoding, - @JsonProperty("escape_char") Optional escapeChar, - @JsonProperty("false_values") Optional> falseValues, + @JsonProperty("delimiter") Optional delimiter, + @JsonProperty("double_quote") Optional doubleQuote, + @JsonProperty("encoding") Optional encoding, + @JsonProperty("escape_char") Optional escapeChar, + @JsonProperty("false_values") Optional> falseValues, @JsonProperty("header_definition") Optional headerDefinition, - @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, - @JsonProperty("null_values") Optional> nullValues, - @JsonProperty("quote_char") Optional quoteChar, - @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, - @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, - @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, - @JsonProperty("true_values") Optional> trueValues) { + @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, + @JsonProperty("null_values") Optional> nullValues, + @JsonProperty("quote_char") Optional quoteChar, + @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, + @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, + @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, + @JsonProperty("true_values") Optional> trueValues) { Utils.checkNotNull(delimiter, "delimiter"); Utils.checkNotNull(doubleQuote, "doubleQuote"); Utils.checkNotNull(encoding, "encoding"); @@ -167,37 +171,33 @@ public SourceS3CSVFormat() { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional delimiter() { - return (Optional) delimiter; + return delimiter; } /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleQuote() { - return (Optional) doubleQuote; + return doubleQuote; } /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional encoding() { - return (Optional) encoding; + return encoding; } /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional escapeChar() { - return (Optional) escapeChar; + return escapeChar; } /** @@ -205,8 +205,8 @@ public Optional escapeChar() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> falseValues() { - return (Optional>) falseValues; + public Optional> falseValues() { + return (Optional>) falseValues; } @SuppressWarnings("unchecked") @@ -227,10 +227,9 @@ public Optional headerDefinition() { /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreErrorsOnFieldsMismatch() { - return (Optional) ignoreErrorsOnFieldsMismatch; + return ignoreErrorsOnFieldsMismatch; } /** @@ -238,44 +237,40 @@ public Optional ignoreErrorsOnFieldsMismatch() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> nullValues() { - return (Optional>) nullValues; + public Optional> nullValues() { + return (Optional>) nullValues; } /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional quoteChar() { - return (Optional) quoteChar; + return quoteChar; } /** * The number of rows to skip after the header row. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsAfterHeader() { - return (Optional) skipRowsAfterHeader; + return skipRowsAfterHeader; } /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsBeforeHeader() { - return (Optional) skipRowsBeforeHeader; + return skipRowsBeforeHeader; } /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional stringsCanBeNull() { - return (Optional) stringsCanBeNull; + return stringsCanBeNull; } /** @@ -283,8 +278,8 @@ public Optional stringsCanBeNull() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> trueValues() { - return (Optional>) trueValues; + public Optional> trueValues() { + return (Optional>) trueValues; } public final static Builder builder() { @@ -303,7 +298,7 @@ public SourceS3CSVFormat withDelimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public SourceS3CSVFormat withDelimiter(Optional delimiter) { + public SourceS3CSVFormat withDelimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -321,7 +316,7 @@ public SourceS3CSVFormat withDoubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public SourceS3CSVFormat withDoubleQuote(Optional doubleQuote) { + public SourceS3CSVFormat withDoubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -339,7 +334,7 @@ public SourceS3CSVFormat withEncoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public SourceS3CSVFormat withEncoding(Optional encoding) { + public SourceS3CSVFormat withEncoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -357,7 +352,7 @@ public SourceS3CSVFormat withEscapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public SourceS3CSVFormat withEscapeChar(Optional escapeChar) { + public SourceS3CSVFormat withEscapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -366,7 +361,7 @@ public SourceS3CSVFormat withEscapeChar(Optional escapeChar) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceS3CSVFormat withFalseValues(java.util.List falseValues) { + public SourceS3CSVFormat withFalseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -375,7 +370,7 @@ public SourceS3CSVFormat withFalseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceS3CSVFormat withFalseValues(Optional> falseValues) { + public SourceS3CSVFormat withFalseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -411,7 +406,7 @@ public SourceS3CSVFormat withIgnoreErrorsOnFieldsMismatch(boolean ignoreErrorsOn /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public SourceS3CSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public SourceS3CSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -420,7 +415,7 @@ public SourceS3CSVFormat withIgnoreErrorsOnFieldsMismatch(Optional nullValues) { + public SourceS3CSVFormat withNullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -429,7 +424,7 @@ public SourceS3CSVFormat withNullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public SourceS3CSVFormat withNullValues(Optional> nullValues) { + public SourceS3CSVFormat withNullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -447,7 +442,7 @@ public SourceS3CSVFormat withQuoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public SourceS3CSVFormat withQuoteChar(Optional quoteChar) { + public SourceS3CSVFormat withQuoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -465,7 +460,7 @@ public SourceS3CSVFormat withSkipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public SourceS3CSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { + public SourceS3CSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -483,7 +478,7 @@ public SourceS3CSVFormat withSkipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public SourceS3CSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public SourceS3CSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -501,7 +496,7 @@ public SourceS3CSVFormat withStringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public SourceS3CSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { + public SourceS3CSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -510,7 +505,7 @@ public SourceS3CSVFormat withStringsCanBeNull(Optional string /** * A set of case-sensitive strings that should be interpreted as true values. */ - public SourceS3CSVFormat withTrueValues(java.util.List trueValues) { + public SourceS3CSVFormat withTrueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -519,7 +514,7 @@ public SourceS3CSVFormat withTrueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public SourceS3CSVFormat withTrueValues(Optional> trueValues) { + public SourceS3CSVFormat withTrueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -535,25 +530,25 @@ public boolean equals(java.lang.Object o) { } SourceS3CSVFormat other = (SourceS3CSVFormat) o; return - java.util.Objects.deepEquals(this.delimiter, other.delimiter) && - java.util.Objects.deepEquals(this.doubleQuote, other.doubleQuote) && - java.util.Objects.deepEquals(this.encoding, other.encoding) && - java.util.Objects.deepEquals(this.escapeChar, other.escapeChar) && - java.util.Objects.deepEquals(this.falseValues, other.falseValues) && - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.headerDefinition, other.headerDefinition) && - java.util.Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && - java.util.Objects.deepEquals(this.nullValues, other.nullValues) && - java.util.Objects.deepEquals(this.quoteChar, other.quoteChar) && - java.util.Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && - java.util.Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && - java.util.Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && - java.util.Objects.deepEquals(this.trueValues, other.trueValues); + Objects.deepEquals(this.delimiter, other.delimiter) && + Objects.deepEquals(this.doubleQuote, other.doubleQuote) && + Objects.deepEquals(this.encoding, other.encoding) && + Objects.deepEquals(this.escapeChar, other.escapeChar) && + Objects.deepEquals(this.falseValues, other.falseValues) && + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.headerDefinition, other.headerDefinition) && + Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && + Objects.deepEquals(this.nullValues, other.nullValues) && + Objects.deepEquals(this.quoteChar, other.quoteChar) && + Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && + Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && + Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && + Objects.deepEquals(this.trueValues, other.trueValues); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( delimiter, doubleQuote, encoding, @@ -591,31 +586,31 @@ public String toString() { public final static class Builder { - private Optional delimiter; + private Optional delimiter; - private Optional doubleQuote; + private Optional doubleQuote; - private Optional encoding; + private Optional encoding; - private Optional escapeChar = Optional.empty(); + private Optional escapeChar = Optional.empty(); - private Optional> falseValues = Optional.empty(); + private Optional> falseValues = Optional.empty(); private Optional headerDefinition = Optional.empty(); - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; - private Optional> nullValues = Optional.empty(); + private Optional> nullValues = Optional.empty(); - private Optional quoteChar; + private Optional quoteChar; - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; - private Optional> trueValues = Optional.empty(); + private Optional> trueValues = Optional.empty(); private Builder() { // force use of static builder() method @@ -633,7 +628,7 @@ public Builder delimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public Builder delimiter(Optional delimiter) { + public Builder delimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -651,7 +646,7 @@ public Builder doubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public Builder doubleQuote(Optional doubleQuote) { + public Builder doubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -669,7 +664,7 @@ public Builder encoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public Builder encoding(Optional encoding) { + public Builder encoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -687,7 +682,7 @@ public Builder escapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public Builder escapeChar(Optional escapeChar) { + public Builder escapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -696,7 +691,7 @@ public Builder escapeChar(Optional escapeChar) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(java.util.List falseValues) { + public Builder falseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -705,7 +700,7 @@ public Builder falseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(Optional> falseValues) { + public Builder falseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -741,7 +736,7 @@ public Builder ignoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMismatch /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -750,7 +745,7 @@ public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreEr /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(java.util.List nullValues) { + public Builder nullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -759,7 +754,7 @@ public Builder nullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(Optional> nullValues) { + public Builder nullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -777,7 +772,7 @@ public Builder quoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public Builder quoteChar(Optional quoteChar) { + public Builder quoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -795,7 +790,7 @@ public Builder skipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { + public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -813,7 +808,7 @@ public Builder skipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -831,7 +826,7 @@ public Builder stringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public Builder stringsCanBeNull(Optional stringsCanBeNull) { + public Builder stringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -840,7 +835,7 @@ public Builder stringsCanBeNull(Optional stringsCanBeNull) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(java.util.List trueValues) { + public Builder trueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -849,7 +844,7 @@ public Builder trueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(Optional> trueValues) { + public Builder trueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -879,8 +874,7 @@ public SourceS3CSVFormat build() { } if (stringsCanBeNull == null) { stringsCanBeNull = _SINGLETON_VALUE_StringsCanBeNull.value(); - } - return new SourceS3CSVFormat( + } return new SourceS3CSVFormat( delimiter, doubleQuote, encoding, @@ -896,23 +890,23 @@ public SourceS3CSVFormat build() { trueValues); } - private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = + private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = new LazySingletonValue<>( "delimiter", "\",\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = new LazySingletonValue<>( "double_quote", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = + private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = new LazySingletonValue<>( "encoding", "\"utf8\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( @@ -920,35 +914,35 @@ public SourceS3CSVFormat build() { "\"csv\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = new LazySingletonValue<>( "ignore_errors_on_fields_mismatch", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = + private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = new LazySingletonValue<>( "quote_char", "\"\\\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = new LazySingletonValue<>( "skip_rows_after_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = new LazySingletonValue<>( "skip_rows_before_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = + private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = new LazySingletonValue<>( "strings_can_be_null", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3CSVHeaderDefinition.java b/src/main/java/com/airbyte/api/models/shared/SourceS3CSVHeaderDefinition.java index 606f3fef2..fd69bb0aa 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3CSVHeaderDefinition.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3CSVHeaderDefinition.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceS3CSVHeaderDefinition - How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceS3CSVHeaderDefinition._Deserializer.class) public class SourceS3CSVHeaderDefinition { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceS3CSVHeaderDefinition(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceS3CSVHeaderDefinition of(SourceS3UserProvided value) { /** * Returns an instance of one of these types: *
      - *
    • {@code SourceS3FromCSV}
    • - *
    • {@code SourceS3Autogenerated}
    • - *
    • {@code SourceS3UserProvided}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3FromCSV}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3Autogenerated}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3UserProvided}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceS3CSVHeaderDefinition other = (SourceS3CSVHeaderDefinition) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceS3CSVHeaderDefinition.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceS3CSVHeaderDefinition.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3DeliveryType.java b/src/main/java/com/airbyte/api/models/shared/SourceS3DeliveryType.java new file mode 100644 index 000000000..02bf58180 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3DeliveryType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceS3DeliveryType { + USE_FILE_TRANSFER("use_file_transfer"); + + @JsonValue + private final String value; + + private SourceS3DeliveryType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3ExcelFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceS3ExcelFormat.java new file mode 100644 index 000000000..afaa282d7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3ExcelFormat.java @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceS3ExcelFormat { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + private Optional filetype; + + @JsonCreator + public SourceS3ExcelFormat() { + + this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional filetype() { + return (Optional) filetype; + } + + public final static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceS3ExcelFormat other = (SourceS3ExcelFormat) o; + return + Objects.deepEquals(this.filetype, other.filetype); + } + + @Override + public int hashCode() { + return Objects.hash( + filetype); + } + + @Override + public String toString() { + return Utils.toString(SourceS3ExcelFormat.class, + "filetype", filetype); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceS3ExcelFormat build() { + return new SourceS3ExcelFormat( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = + new LazySingletonValue<>( + "filetype", + "\"excel\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3FileBasedStreamConfig.java b/src/main/java/com/airbyte/api/models/shared/SourceS3FileBasedStreamConfig.java index d522fae88..f2bd962e9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3FileBasedStreamConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3FileBasedStreamConfig.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceS3FileBasedStreamConfig { /** @@ -26,7 +30,7 @@ public class SourceS3FileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("days_to_sync_if_history_is_full") - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; /** * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -39,14 +43,14 @@ public class SourceS3FileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("globs") - private Optional> globs; + private Optional> globs; /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("input_schema") - private Optional inputSchema; + private Optional inputSchema; /** * The name of the stream. @@ -59,14 +63,14 @@ public class SourceS3FileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("recent_n_files_to_read_for_schema_discovery") - private Optional recentNFilesToReadForSchemaDiscovery; + private Optional recentNFilesToReadForSchemaDiscovery; /** * When enabled, syncs will not validate or structure records against the stream's schema. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemaless") - private Optional schemaless; + private Optional schemaless; /** * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. @@ -77,13 +81,13 @@ public class SourceS3FileBasedStreamConfig { @JsonCreator public SourceS3FileBasedStreamConfig( - @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, + @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, @JsonProperty("format") SourceS3Format format, - @JsonProperty("globs") Optional> globs, - @JsonProperty("input_schema") Optional inputSchema, + @JsonProperty("globs") Optional> globs, + @JsonProperty("input_schema") Optional inputSchema, @JsonProperty("name") String name, - @JsonProperty("recent_n_files_to_read_for_schema_discovery") Optional recentNFilesToReadForSchemaDiscovery, - @JsonProperty("schemaless") Optional schemaless, + @JsonProperty("recent_n_files_to_read_for_schema_discovery") Optional recentNFilesToReadForSchemaDiscovery, + @JsonProperty("schemaless") Optional schemaless, @JsonProperty("validation_policy") Optional validationPolicy) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); Utils.checkNotNull(format, "format"); @@ -112,10 +116,9 @@ public SourceS3FileBasedStreamConfig( /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional daysToSyncIfHistoryIsFull() { - return (Optional) daysToSyncIfHistoryIsFull; + return daysToSyncIfHistoryIsFull; } /** @@ -131,17 +134,16 @@ public SourceS3Format format() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> globs() { - return (Optional>) globs; + public Optional> globs() { + return (Optional>) globs; } /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional inputSchema() { - return (Optional) inputSchema; + return inputSchema; } /** @@ -155,19 +157,17 @@ public String name() { /** * The number of resent files which will be used to discover the schema for this stream. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional recentNFilesToReadForSchemaDiscovery() { - return (Optional) recentNFilesToReadForSchemaDiscovery; + return recentNFilesToReadForSchemaDiscovery; } /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schemaless() { - return (Optional) schemaless; + return schemaless; } /** @@ -195,7 +195,7 @@ public SourceS3FileBasedStreamConfig withDaysToSyncIfHistoryIsFull(long daysToSy /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public SourceS3FileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public SourceS3FileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -213,7 +213,7 @@ public SourceS3FileBasedStreamConfig withFormat(SourceS3Format format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceS3FileBasedStreamConfig withGlobs(java.util.List globs) { + public SourceS3FileBasedStreamConfig withGlobs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -222,7 +222,7 @@ public SourceS3FileBasedStreamConfig withGlobs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceS3FileBasedStreamConfig withGlobs(Optional> globs) { + public SourceS3FileBasedStreamConfig withGlobs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -240,7 +240,7 @@ public SourceS3FileBasedStreamConfig withInputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public SourceS3FileBasedStreamConfig withInputSchema(Optional inputSchema) { + public SourceS3FileBasedStreamConfig withInputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -267,7 +267,7 @@ public SourceS3FileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(lo /** * The number of resent files which will be used to discover the schema for this stream. */ - public SourceS3FileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + public SourceS3FileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; return this; @@ -285,7 +285,7 @@ public SourceS3FileBasedStreamConfig withSchemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public SourceS3FileBasedStreamConfig withSchemaless(Optional schemaless) { + public SourceS3FileBasedStreamConfig withSchemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -319,19 +319,19 @@ public boolean equals(java.lang.Object o) { } SourceS3FileBasedStreamConfig other = (SourceS3FileBasedStreamConfig) o; return - java.util.Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.globs, other.globs) && - java.util.Objects.deepEquals(this.inputSchema, other.inputSchema) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.recentNFilesToReadForSchemaDiscovery, other.recentNFilesToReadForSchemaDiscovery) && - java.util.Objects.deepEquals(this.schemaless, other.schemaless) && - java.util.Objects.deepEquals(this.validationPolicy, other.validationPolicy); + Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.globs, other.globs) && + Objects.deepEquals(this.inputSchema, other.inputSchema) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.recentNFilesToReadForSchemaDiscovery, other.recentNFilesToReadForSchemaDiscovery) && + Objects.deepEquals(this.schemaless, other.schemaless) && + Objects.deepEquals(this.validationPolicy, other.validationPolicy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( daysToSyncIfHistoryIsFull, format, globs, @@ -357,19 +357,19 @@ public String toString() { public final static class Builder { - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; private SourceS3Format format; - private Optional> globs = Optional.empty(); + private Optional> globs = Optional.empty(); - private Optional inputSchema = Optional.empty(); + private Optional inputSchema = Optional.empty(); private String name; - private Optional recentNFilesToReadForSchemaDiscovery = Optional.empty(); + private Optional recentNFilesToReadForSchemaDiscovery = Optional.empty(); - private Optional schemaless; + private Optional schemaless; private Optional validationPolicy; @@ -389,7 +389,7 @@ public Builder daysToSyncIfHistoryIsFull(long daysToSyncIfHistoryIsFull) { /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -407,7 +407,7 @@ public Builder format(SourceS3Format format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(java.util.List globs) { + public Builder globs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -416,7 +416,7 @@ public Builder globs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(Optional> globs) { + public Builder globs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -434,7 +434,7 @@ public Builder inputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public Builder inputSchema(Optional inputSchema) { + public Builder inputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -461,7 +461,7 @@ public Builder recentNFilesToReadForSchemaDiscovery(long recentNFilesToReadForSc /** * The number of resent files which will be used to discover the schema for this stream. */ - public Builder recentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + public Builder recentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; return this; @@ -479,7 +479,7 @@ public Builder schemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public Builder schemaless(Optional schemaless) { + public Builder schemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -512,8 +512,7 @@ public SourceS3FileBasedStreamConfig build() { } if (validationPolicy == null) { validationPolicy = _SINGLETON_VALUE_ValidationPolicy.value(); - } - return new SourceS3FileBasedStreamConfig( + } return new SourceS3FileBasedStreamConfig( daysToSyncIfHistoryIsFull, format, globs, @@ -524,17 +523,17 @@ public SourceS3FileBasedStreamConfig build() { validationPolicy); } - private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = + private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = new LazySingletonValue<>( "days_to_sync_if_history_is_full", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = + private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = new LazySingletonValue<>( "schemaless", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_ValidationPolicy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3Filetype.java b/src/main/java/com/airbyte/api/models/shared/SourceS3Filetype.java index 62671617b..c74bd95f5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3Filetype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3Filetype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3Filetype { AVRO("avro"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3Format.java b/src/main/java/com/airbyte/api/models/shared/SourceS3Format.java index 2b47b56f1..f85503594 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3Format.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3Format.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceS3Format - The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceS3Format._Deserializer.class) public class SourceS3Format { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceS3Format(TypedObject value) { @@ -59,15 +56,21 @@ public static SourceS3Format of(SourceS3UnstructuredDocumentFormat value) { Utils.checkNotNull(value, "value"); return new SourceS3Format(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); } + + public static SourceS3Format of(SourceS3ExcelFormat value) { + Utils.checkNotNull(value, "value"); + return new SourceS3Format(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } /** * Returns an instance of one of these types: *

      - *
    • {@code SourceS3AvroFormat}
    • - *
    • {@code SourceS3CSVFormat}
    • - *
    • {@code SourceS3JsonlFormat}
    • - *
    • {@code SourceS3ParquetFormat}
    • - *
    • {@code SourceS3UnstructuredDocumentFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3AvroFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3CSVFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3JsonlFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3ParquetFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3UnstructuredDocumentFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3ExcelFormat}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -94,24 +97,25 @@ public boolean equals(java.lang.Object o) { return false; } SourceS3Format other = (SourceS3Format) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceS3Format.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceS3Format.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3FromCSV.java b/src/main/java/com/airbyte/api/models/shared/SourceS3FromCSV.java index dec03e142..479191c3b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3FromCSV.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3FromCSV.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceS3FromCSV { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceS3FromCSV other = (SourceS3FromCSV) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3HeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceS3HeaderDefinitionType.java index ea6b20e93..15144b8d9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3HeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3HeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3HeaderDefinitionType { FROM_CSV("From CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3JsonlFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceS3JsonlFormat.java index a3ea20f12..f9480af88 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3JsonlFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3JsonlFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceS3JsonlFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceS3JsonlFormat other = (SourceS3JsonlFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3Local.java b/src/main/java/com/airbyte/api/models/shared/SourceS3Local.java index b5ca1d2ac..88d04e45e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3Local.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3Local.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceS3Local - Process files locally, supporting `fast` and `ocr` modes. This is the default option. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } SourceS3Local other = (SourceS3Local) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3Mode.java b/src/main/java/com/airbyte/api/models/shared/SourceS3Mode.java index 0d9651d3d..ad92e045d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3Mode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3Mode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3Mode { LOCAL("local"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3ParquetFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceS3ParquetFormat.java index 9f63c9faa..ee7881d22 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3ParquetFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3ParquetFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceS3ParquetFormat { /** @@ -26,7 +28,7 @@ public class SourceS3ParquetFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("decimal_as_float") - private Optional decimalAsFloat; + private Optional decimalAsFloat; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceS3ParquetFormat { @JsonCreator public SourceS3ParquetFormat( - @JsonProperty("decimal_as_float") Optional decimalAsFloat) { + @JsonProperty("decimal_as_float") Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceS3ParquetFormat() { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional decimalAsFloat() { - return (Optional) decimalAsFloat; + return decimalAsFloat; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceS3ParquetFormat withDecimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public SourceS3ParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { + public SourceS3ParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceS3ParquetFormat other = (SourceS3ParquetFormat) o; return - java.util.Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( decimalAsFloat, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional decimalAsFloat; + private Optional decimalAsFloat; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder decimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public Builder decimalAsFloat(Optional decimalAsFloat) { + public Builder decimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -138,16 +139,15 @@ public Builder decimalAsFloat(Optional decimalAsFloat) { public SourceS3ParquetFormat build() { if (decimalAsFloat == null) { decimalAsFloat = _SINGLETON_VALUE_DecimalAsFloat.value(); - } - return new SourceS3ParquetFormat( + } return new SourceS3ParquetFormat( decimalAsFloat); } - private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = + private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = new LazySingletonValue<>( "decimal_as_float", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3ParsingStrategy.java b/src/main/java/com/airbyte/api/models/shared/SourceS3ParsingStrategy.java index c2e9ee27e..0caa451dd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3ParsingStrategy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3ParsingStrategy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceS3ParsingStrategy - The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3Processing.java b/src/main/java/com/airbyte/api/models/shared/SourceS3Processing.java index 8b527102e..cea472d94 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3Processing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3Processing.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceS3Processing - Processing configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceS3Processing._Deserializer.class) public class SourceS3Processing { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceS3Processing(TypedObject value) { @@ -43,7 +40,7 @@ public static SourceS3Processing of(SourceS3Local value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceS3Local}
    • + *
    • {@code com.airbyte.api.models.shared.SourceS3Local}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -70,20 +67,20 @@ public boolean equals(java.lang.Object o) { return false; } SourceS3Processing other = (SourceS3Processing) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceS3Processing.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceS3Processing.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3S3.java b/src/main/java/com/airbyte/api/models/shared/SourceS3S3.java index c52d336d2..d98791338 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3S3.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3S3.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3S3 { S3("s3"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasFiletype.java index 2b12ea962..23a0cec44 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3SchemasFiletype { CSV("csv"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasHeaderDefinitionType.java index 13df38003..c228e9123 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3SchemasHeaderDefinitionType { AUTOGENERATED("Autogenerated"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFiletype.java index b8df21955..20923a9be 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3SchemasStreamsFiletype { JSONL("jsonl"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFiletype.java index ae3e8c498..23dadda8c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3SchemasStreamsFormatFiletype { PARQUET("parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.java b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.java new file mode 100644 index 000000000..969772f6e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormat6Filetype.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceS3SchemasStreamsFormatFormat6Filetype { + EXCEL("excel"); + + @JsonValue + private final String value; + + private SourceS3SchemasStreamsFormatFormat6Filetype(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormatFiletype.java index 0a6c02382..4e51031f8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsFormatFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3SchemasStreamsFormatFormatFiletype { UNSTRUCTURED("unstructured"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsHeaderDefinitionType.java index 8fce20332..9990edd9c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3SchemasStreamsHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceS3SchemasStreamsHeaderDefinitionType { USER_PROVIDED("User Provided"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3UnstructuredDocumentFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceS3UnstructuredDocumentFormat.java index bb788df5d..77958ef16 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3UnstructuredDocumentFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3UnstructuredDocumentFormat.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceS3UnstructuredDocumentFormat - Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. */ @@ -40,7 +42,7 @@ public class SourceS3UnstructuredDocumentFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_unprocessable_files") - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; /** * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf @@ -52,7 +54,7 @@ public class SourceS3UnstructuredDocumentFormat { @JsonCreator public SourceS3UnstructuredDocumentFormat( @JsonProperty("processing") Optional processing, - @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, + @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, @JsonProperty("strategy") Optional strategy) { Utils.checkNotNull(processing, "processing"); Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); @@ -85,10 +87,9 @@ public Optional processing() { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipUnprocessableFiles() { - return (Optional) skipUnprocessableFiles; + return skipUnprocessableFiles; } /** @@ -134,7 +135,7 @@ public SourceS3UnstructuredDocumentFormat withSkipUnprocessableFiles(boolean ski /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public SourceS3UnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { + public SourceS3UnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -168,15 +169,15 @@ public boolean equals(java.lang.Object o) { } SourceS3UnstructuredDocumentFormat other = (SourceS3UnstructuredDocumentFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.processing, other.processing) && - java.util.Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && - java.util.Objects.deepEquals(this.strategy, other.strategy); + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.processing, other.processing) && + Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && + Objects.deepEquals(this.strategy, other.strategy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype, processing, skipUnprocessableFiles, @@ -196,7 +197,7 @@ public final static class Builder { private Optional processing = Optional.empty(); - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; private Optional strategy; @@ -234,7 +235,7 @@ public Builder skipUnprocessableFiles(boolean skipUnprocessableFiles) { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { + public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -264,8 +265,7 @@ public SourceS3UnstructuredDocumentFormat build() { } if (strategy == null) { strategy = _SINGLETON_VALUE_Strategy.value(); - } - return new SourceS3UnstructuredDocumentFormat( + } return new SourceS3UnstructuredDocumentFormat( processing, skipUnprocessableFiles, strategy); @@ -277,11 +277,11 @@ public SourceS3UnstructuredDocumentFormat build() { "\"unstructured\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = new LazySingletonValue<>( "skip_unprocessable_files", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Strategy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3UserProvided.java b/src/main/java/com/airbyte/api/models/shared/SourceS3UserProvided.java index ee70a7a8a..0bc3a3e9c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3UserProvided.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3UserProvided.java @@ -1,31 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceS3UserProvided { /** * The column names that will be used while emitting the CSV records */ @JsonProperty("column_names") - private java.util.List columnNames; + private List columnNames; @JsonInclude(Include.NON_ABSENT) @JsonProperty("header_definition_type") @@ -33,7 +35,7 @@ public class SourceS3UserProvided { @JsonCreator public SourceS3UserProvided( - @JsonProperty("column_names") java.util.List columnNames) { + @JsonProperty("column_names") List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); @@ -43,7 +45,7 @@ public SourceS3UserProvided( * The column names that will be used while emitting the CSV records */ @JsonIgnore - public java.util.List columnNames() { + public List columnNames() { return columnNames; } @@ -60,7 +62,7 @@ public final static Builder builder() { /** * The column names that will be used while emitting the CSV records */ - public SourceS3UserProvided withColumnNames(java.util.List columnNames) { + public SourceS3UserProvided withColumnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; @@ -76,13 +78,13 @@ public boolean equals(java.lang.Object o) { } SourceS3UserProvided other = (SourceS3UserProvided) o; return - java.util.Objects.deepEquals(this.columnNames, other.columnNames) && - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.columnNames, other.columnNames) && + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( columnNames, headerDefinitionType); } @@ -96,7 +98,7 @@ public String toString() { public final static class Builder { - private java.util.List columnNames; + private List columnNames; private Builder() { // force use of static builder() method @@ -105,7 +107,7 @@ private Builder() { /** * The column names that will be used while emitting the CSV records */ - public Builder columnNames(java.util.List columnNames) { + public Builder columnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceS3ValidationPolicy.java b/src/main/java/com/airbyte/api/models/shared/SourceS3ValidationPolicy.java index 128c76a5f..ac48f8e7e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceS3ValidationPolicy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceS3ValidationPolicy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceS3ValidationPolicy - The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSafetyculture.java b/src/main/java/com/airbyte/api/models/shared/SourceSafetyculture.java new file mode 100644 index 000000000..3cb6c1d1e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSafetyculture.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceSafetyculture { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Safetyculture sourceType; + + @JsonCreator + public SourceSafetyculture( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Safetyculture sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSafetyculture withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSafetyculture other = (SourceSafetyculture) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceSafetyculture.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceSafetyculture build() { + return new SourceSafetyculture( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"safetyculture\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSageHr.java b/src/main/java/com/airbyte/api/models/shared/SourceSageHr.java new file mode 100644 index 000000000..741b0c1ca --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSageHr.java @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceSageHr { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private SageHr sourceType; + + @JsonProperty("subdomain") + private String subdomain; + + @JsonCreator + public SourceSageHr( + @JsonProperty("api_key") String apiKey, + @JsonProperty("subdomain") String subdomain) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(subdomain, "subdomain"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.subdomain = subdomain; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public SageHr sourceType() { + return sourceType; + } + + @JsonIgnore + public String subdomain() { + return subdomain; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSageHr withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceSageHr withSubdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSageHr other = (SourceSageHr) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.subdomain, other.subdomain); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + subdomain); + } + + @Override + public String toString() { + return Utils.toString(SourceSageHr.class, + "apiKey", apiKey, + "sourceType", sourceType, + "subdomain", subdomain); + } + + public final static class Builder { + + private String apiKey; + + private String subdomain; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder subdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + public SourceSageHr build() { + return new SourceSageHr( + apiKey, + subdomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"sage-hr\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSalesflare.java b/src/main/java/com/airbyte/api/models/shared/SourceSalesflare.java new file mode 100644 index 000000000..bb964dd74 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSalesflare.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceSalesflare { + + /** + * Enter you api key like this : Bearer YOUR_API_KEY + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Salesflare sourceType; + + @JsonCreator + public SourceSalesflare( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Enter you api key like this : Bearer YOUR_API_KEY + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Salesflare sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Enter you api key like this : Bearer YOUR_API_KEY + */ + public SourceSalesflare withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSalesflare other = (SourceSalesflare) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceSalesflare.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * Enter you api key like this : Bearer YOUR_API_KEY + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceSalesflare build() { + return new SourceSalesflare( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"salesflare\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java b/src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java index f37aadc83..49543729a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSalesforce.java @@ -1,27 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSalesforce { @JsonInclude(Include.NON_ABSENT) @@ -45,14 +46,14 @@ public class SourceSalesforce { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("force_use_bulk_api") - private Optional forceUseBulkApi; + private Optional forceUseBulkApi; /** * Toggle if you're using a <a href="https://help.salesforce.com/s/articleView?id=sf.deploy_sandboxes_parent.htm&type=5">Salesforce Sandbox</a> */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("is_sandbox") - private Optional isSandbox; + private Optional isSandbox; /** * Enter your application's <a href="https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/oauth_refresh_token_flow.htm">Salesforce Refresh Token</a> used for Airbyte to access your Salesforce account. @@ -68,32 +69,32 @@ public class SourceSalesforce { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * The size of the time window (ISO8601 duration) to slice requests. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("stream_slice_step") - private Optional streamSliceStep; + private Optional streamSliceStep; /** * Add filters to select only required stream based on `SObject` name. Use this field to filter which tables are displayed by this connector. This is useful if your Salesforce account has a large number of tables (>1000), in which case you may find it easier to navigate the UI and speed up the connector's performance if you restrict the tables displayed by this connector. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("streams_criteria") - private Optional> streamsCriteria; + private Optional> streamsCriteria; @JsonCreator public SourceSalesforce( @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, - @JsonProperty("force_use_bulk_api") Optional forceUseBulkApi, - @JsonProperty("is_sandbox") Optional isSandbox, + @JsonProperty("force_use_bulk_api") Optional forceUseBulkApi, + @JsonProperty("is_sandbox") Optional isSandbox, @JsonProperty("refresh_token") String refreshToken, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("stream_slice_step") Optional streamSliceStep, - @JsonProperty("streams_criteria") Optional> streamsCriteria) { + @JsonProperty("start_date") Optional startDate, + @JsonProperty("stream_slice_step") Optional streamSliceStep, + @JsonProperty("streams_criteria") Optional> streamsCriteria) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); Utils.checkNotNull(forceUseBulkApi, "forceUseBulkApi"); @@ -146,19 +147,17 @@ public String clientSecret() { /** * Toggle to use Bulk API (this might cause empty fields for some streams) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional forceUseBulkApi() { - return (Optional) forceUseBulkApi; + return forceUseBulkApi; } /** * Toggle if you're using a <a href="https://help.salesforce.com/s/articleView?id=sf.deploy_sandboxes_parent.htm&type=5">Salesforce Sandbox</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional isSandbox() { - return (Optional) isSandbox; + return isSandbox; } /** @@ -177,19 +176,17 @@ public SourceSalesforceSalesforce sourceType() { /** * Enter the date (or date-time) in the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ssZ format. Airbyte will replicate the data updated on and after this date. If this field is blank, Airbyte will replicate the data for last two years. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * The size of the time window (ISO8601 duration) to slice requests. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional streamSliceStep() { - return (Optional) streamSliceStep; + return streamSliceStep; } /** @@ -197,8 +194,8 @@ public Optional streamSliceStep() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> streamsCriteria() { - return (Optional>) streamsCriteria; + public Optional> streamsCriteria() { + return (Optional>) streamsCriteria; } public final static Builder builder() { @@ -235,7 +232,7 @@ public SourceSalesforce withForceUseBulkApi(boolean forceUseBulkApi) { /** * Toggle to use Bulk API (this might cause empty fields for some streams) */ - public SourceSalesforce withForceUseBulkApi(Optional forceUseBulkApi) { + public SourceSalesforce withForceUseBulkApi(Optional forceUseBulkApi) { Utils.checkNotNull(forceUseBulkApi, "forceUseBulkApi"); this.forceUseBulkApi = forceUseBulkApi; return this; @@ -253,7 +250,7 @@ public SourceSalesforce withIsSandbox(boolean isSandbox) { /** * Toggle if you're using a <a href="https://help.salesforce.com/s/articleView?id=sf.deploy_sandboxes_parent.htm&type=5">Salesforce Sandbox</a> */ - public SourceSalesforce withIsSandbox(Optional isSandbox) { + public SourceSalesforce withIsSandbox(Optional isSandbox) { Utils.checkNotNull(isSandbox, "isSandbox"); this.isSandbox = isSandbox; return this; @@ -280,7 +277,7 @@ public SourceSalesforce withStartDate(OffsetDateTime startDate) { /** * Enter the date (or date-time) in the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ssZ format. Airbyte will replicate the data updated on and after this date. If this field is blank, Airbyte will replicate the data for last two years. */ - public SourceSalesforce withStartDate(Optional startDate) { + public SourceSalesforce withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -298,7 +295,7 @@ public SourceSalesforce withStreamSliceStep(String streamSliceStep) { /** * The size of the time window (ISO8601 duration) to slice requests. */ - public SourceSalesforce withStreamSliceStep(Optional streamSliceStep) { + public SourceSalesforce withStreamSliceStep(Optional streamSliceStep) { Utils.checkNotNull(streamSliceStep, "streamSliceStep"); this.streamSliceStep = streamSliceStep; return this; @@ -307,7 +304,7 @@ public SourceSalesforce withStreamSliceStep(Optional streamSli /** * Add filters to select only required stream based on `SObject` name. Use this field to filter which tables are displayed by this connector. This is useful if your Salesforce account has a large number of tables (>1000), in which case you may find it easier to navigate the UI and speed up the connector's performance if you restrict the tables displayed by this connector. */ - public SourceSalesforce withStreamsCriteria(java.util.List streamsCriteria) { + public SourceSalesforce withStreamsCriteria(List streamsCriteria) { Utils.checkNotNull(streamsCriteria, "streamsCriteria"); this.streamsCriteria = Optional.ofNullable(streamsCriteria); return this; @@ -316,7 +313,7 @@ public SourceSalesforce withStreamsCriteria(java.util.List stre /** * Add filters to select only required stream based on `SObject` name. Use this field to filter which tables are displayed by this connector. This is useful if your Salesforce account has a large number of tables (>1000), in which case you may find it easier to navigate the UI and speed up the connector's performance if you restrict the tables displayed by this connector. */ - public SourceSalesforce withStreamsCriteria(Optional> streamsCriteria) { + public SourceSalesforce withStreamsCriteria(Optional> streamsCriteria) { Utils.checkNotNull(streamsCriteria, "streamsCriteria"); this.streamsCriteria = streamsCriteria; return this; @@ -332,21 +329,21 @@ public boolean equals(java.lang.Object o) { } SourceSalesforce other = (SourceSalesforce) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.forceUseBulkApi, other.forceUseBulkApi) && - java.util.Objects.deepEquals(this.isSandbox, other.isSandbox) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.streamSliceStep, other.streamSliceStep) && - java.util.Objects.deepEquals(this.streamsCriteria, other.streamsCriteria); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.forceUseBulkApi, other.forceUseBulkApi) && + Objects.deepEquals(this.isSandbox, other.isSandbox) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.streamSliceStep, other.streamSliceStep) && + Objects.deepEquals(this.streamsCriteria, other.streamsCriteria); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId, clientSecret, @@ -380,17 +377,17 @@ public final static class Builder { private String clientSecret; - private Optional forceUseBulkApi; + private Optional forceUseBulkApi; - private Optional isSandbox; + private Optional isSandbox; private String refreshToken; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private Optional streamSliceStep; + private Optional streamSliceStep; - private Optional> streamsCriteria = Optional.empty(); + private Optional> streamsCriteria = Optional.empty(); private Builder() { // force use of static builder() method @@ -426,7 +423,7 @@ public Builder forceUseBulkApi(boolean forceUseBulkApi) { /** * Toggle to use Bulk API (this might cause empty fields for some streams) */ - public Builder forceUseBulkApi(Optional forceUseBulkApi) { + public Builder forceUseBulkApi(Optional forceUseBulkApi) { Utils.checkNotNull(forceUseBulkApi, "forceUseBulkApi"); this.forceUseBulkApi = forceUseBulkApi; return this; @@ -444,7 +441,7 @@ public Builder isSandbox(boolean isSandbox) { /** * Toggle if you're using a <a href="https://help.salesforce.com/s/articleView?id=sf.deploy_sandboxes_parent.htm&type=5">Salesforce Sandbox</a> */ - public Builder isSandbox(Optional isSandbox) { + public Builder isSandbox(Optional isSandbox) { Utils.checkNotNull(isSandbox, "isSandbox"); this.isSandbox = isSandbox; return this; @@ -471,7 +468,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * Enter the date (or date-time) in the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ssZ format. Airbyte will replicate the data updated on and after this date. If this field is blank, Airbyte will replicate the data for last two years. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -489,7 +486,7 @@ public Builder streamSliceStep(String streamSliceStep) { /** * The size of the time window (ISO8601 duration) to slice requests. */ - public Builder streamSliceStep(Optional streamSliceStep) { + public Builder streamSliceStep(Optional streamSliceStep) { Utils.checkNotNull(streamSliceStep, "streamSliceStep"); this.streamSliceStep = streamSliceStep; return this; @@ -498,7 +495,7 @@ public Builder streamSliceStep(Optional streamSliceStep) { /** * Add filters to select only required stream based on `SObject` name. Use this field to filter which tables are displayed by this connector. This is useful if your Salesforce account has a large number of tables (>1000), in which case you may find it easier to navigate the UI and speed up the connector's performance if you restrict the tables displayed by this connector. */ - public Builder streamsCriteria(java.util.List streamsCriteria) { + public Builder streamsCriteria(List streamsCriteria) { Utils.checkNotNull(streamsCriteria, "streamsCriteria"); this.streamsCriteria = Optional.ofNullable(streamsCriteria); return this; @@ -507,7 +504,7 @@ public Builder streamsCriteria(java.util.List streamsCriteria) /** * Add filters to select only required stream based on `SObject` name. Use this field to filter which tables are displayed by this connector. This is useful if your Salesforce account has a large number of tables (>1000), in which case you may find it easier to navigate the UI and speed up the connector's performance if you restrict the tables displayed by this connector. */ - public Builder streamsCriteria(Optional> streamsCriteria) { + public Builder streamsCriteria(Optional> streamsCriteria) { Utils.checkNotNull(streamsCriteria, "streamsCriteria"); this.streamsCriteria = streamsCriteria; return this; @@ -522,8 +519,7 @@ public SourceSalesforce build() { } if (streamSliceStep == null) { streamSliceStep = _SINGLETON_VALUE_StreamSliceStep.value(); - } - return new SourceSalesforce( + } return new SourceSalesforce( clientId, clientSecret, forceUseBulkApi, @@ -540,17 +536,17 @@ public SourceSalesforce build() { "\"Client\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ForceUseBulkApi = + private static final LazySingletonValue> _SINGLETON_VALUE_ForceUseBulkApi = new LazySingletonValue<>( "force_use_bulk_api", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IsSandbox = + private static final LazySingletonValue> _SINGLETON_VALUE_IsSandbox = new LazySingletonValue<>( "is_sandbox", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( @@ -558,11 +554,11 @@ public SourceSalesforce build() { "\"salesforce\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StreamSliceStep = + private static final LazySingletonValue> _SINGLETON_VALUE_StreamSliceStep = new LazySingletonValue<>( "stream_slice_step", "\"P30D\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforce.java b/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforce.java index 57bed37ff..afff1946f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforce.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSalesforceSalesforce.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSalesforceSalesforce { SALESFORCE("salesforce"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java b/src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java index f3f7b1988..bbcca606e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSalesloft.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceSalesloft { @@ -91,14 +89,14 @@ public boolean equals(java.lang.Object o) { } SourceSalesloft other = (SourceSalesloft) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSalesloftAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSalesloftAuthType.java index 2b6a9036d..307fdcf8e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSalesloftAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSalesloftAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSalesloftAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentials.java index 7937d9349..b09914196 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSalesloftCredentials.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceSalesloftCredentials._Deserializer.class) public class SourceSalesloftCredentials { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSalesloftCredentials(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceSalesloftCredentials of(AuthenticateViaAPIKey value) { /** * Returns an instance of one of these types: *

      - *
    • {@code AuthenticateViaOAuth}
    • - *
    • {@code AuthenticateViaAPIKey}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaAPIKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceSalesloftCredentials other = (SourceSalesloftCredentials) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSalesloftCredentials.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSalesloftCredentials.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSalesloftSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSalesloftSchemasAuthType.java index ab3fa528b..ab6b37871 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSalesloftSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSalesloftSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSalesloftSchemasAuthType { API_KEY("api_key"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java b/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java index 02248fdb1..e0ee3c729 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSapFieldglass.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSapFieldglass { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceSapFieldglass other = (SourceSapFieldglass) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSavvycal.java b/src/main/java/com/airbyte/api/models/shared/SourceSavvycal.java index 9c3692d76..1cf8e8e14 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSavvycal.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSavvycal.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSavvycal { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceSavvycal other = (SourceSavvycal) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceScryfall.java b/src/main/java/com/airbyte/api/models/shared/SourceScryfall.java index a0d651194..5f2dc9c35 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceScryfall.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceScryfall.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceScryfall { @@ -46,12 +46,12 @@ public boolean equals(java.lang.Object o) { } SourceScryfall other = (SourceScryfall) o; return - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSecoda.java b/src/main/java/com/airbyte/api/models/shared/SourceSecoda.java index 6abcb71d7..81c0f6d0c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSecoda.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSecoda.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSecoda { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceSecoda other = (SourceSecoda) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSegment.java b/src/main/java/com/airbyte/api/models/shared/SourceSegment.java new file mode 100644 index 000000000..8590c65d5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSegment.java @@ -0,0 +1,228 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceSegment { + + /** + * API token to use. Generate it in Segment's Workspace settings. + */ + @JsonProperty("api_token") + private String apiToken; + + /** + * The region for the API, e.g., 'api' for US or 'eu1' for EU + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("region") + private Optional region; + + @JsonProperty("sourceType") + private Segment sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceSegment( + @JsonProperty("api_token") String apiToken, + @JsonProperty("region") Optional region, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiToken, "apiToken"); + Utils.checkNotNull(region, "region"); + Utils.checkNotNull(startDate, "startDate"); + this.apiToken = apiToken; + this.region = region; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceSegment( + String apiToken, + OffsetDateTime startDate) { + this(apiToken, Optional.empty(), startDate); + } + + /** + * API token to use. Generate it in Segment's Workspace settings. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + /** + * The region for the API, e.g., 'api' for US or 'eu1' for EU + */ + @JsonIgnore + public Optional region() { + return region; + } + + @JsonIgnore + public Segment sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token to use. Generate it in Segment's Workspace settings. + */ + public SourceSegment withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * The region for the API, e.g., 'api' for US or 'eu1' for EU + */ + public SourceSegment withRegion(String region) { + Utils.checkNotNull(region, "region"); + this.region = Optional.ofNullable(region); + return this; + } + + /** + * The region for the API, e.g., 'api' for US or 'eu1' for EU + */ + public SourceSegment withRegion(Optional region) { + Utils.checkNotNull(region, "region"); + this.region = region; + return this; + } + + public SourceSegment withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSegment other = (SourceSegment) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + region, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceSegment.class, + "apiToken", apiToken, + "region", region, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiToken; + + private Optional region; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API token to use. Generate it in Segment's Workspace settings. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * The region for the API, e.g., 'api' for US or 'eu1' for EU + */ + public Builder region(String region) { + Utils.checkNotNull(region, "region"); + this.region = Optional.ofNullable(region); + return this; + } + + /** + * The region for the API, e.g., 'api' for US or 'eu1' for EU + */ + public Builder region(Optional region) { + Utils.checkNotNull(region, "region"); + this.region = region; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceSegment build() { + if (region == null) { + region = _SINGLETON_VALUE_Region.value(); + } return new SourceSegment( + apiToken, + region, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Region = + new LazySingletonValue<>( + "region", + "\"api\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"segment\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java b/src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java index e2ab9252e..caac39021 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSendgrid.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceSendgrid { @@ -100,14 +98,14 @@ public boolean equals(java.lang.Object o) { } SourceSendgrid other = (SourceSendgrid) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java b/src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java index ea08d4f75..c53b8a154 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSendinblue.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSendinblue { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceSendinblue other = (SourceSendinblue) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSendowl.java b/src/main/java/com/airbyte/api/models/shared/SourceSendowl.java new file mode 100644 index 000000000..60f7080ec --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSendowl.java @@ -0,0 +1,220 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceSendowl { + + /** + * Enter your API secret + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Sendowl sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * Enter you API Key + */ + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceSendowl( + @JsonProperty("password") Optional password, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("username") String username) { + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(username, "username"); + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.username = username; + } + + public SourceSendowl( + OffsetDateTime startDate, + String username) { + this(Optional.empty(), startDate, username); + } + + /** + * Enter your API secret + */ + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Sendowl sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * Enter you API Key + */ + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Enter your API secret + */ + public SourceSendowl withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Enter your API secret + */ + public SourceSendowl withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourceSendowl withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Enter you API Key + */ + public SourceSendowl withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSendowl other = (SourceSendowl) o; + return + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + password, + sourceType, + startDate, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceSendowl.class, + "password", password, + "sourceType", sourceType, + "startDate", startDate, + "username", username); + } + + public final static class Builder { + + private Optional password = Optional.empty(); + + private OffsetDateTime startDate; + + private String username; + + private Builder() { + // force use of static builder() method + } + + /** + * Enter your API secret + */ + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Enter your API secret + */ + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Enter you API Key + */ + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceSendowl build() { + return new SourceSendowl( + password, + startDate, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"sendowl\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSendpulse.java b/src/main/java/com/airbyte/api/models/shared/SourceSendpulse.java new file mode 100644 index 000000000..149cb1a00 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSendpulse.java @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceSendpulse { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private Sendpulse sourceType; + + @JsonCreator + public SourceSendpulse( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public Sendpulse sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSendpulse withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceSendpulse withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSendpulse other = (SourceSendpulse) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceSendpulse.class, + "clientId", clientId, + "clientSecret", clientSecret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceSendpulse build() { + return new SourceSendpulse( + clientId, + clientSecret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"sendpulse\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java b/src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java index db1974290..abd533450 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSenseforce.java @@ -1,21 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.Objects; + public class SourceSenseforce { @@ -150,16 +150,16 @@ public boolean equals(java.lang.Object o) { } SourceSenseforce other = (SourceSenseforce) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.backendUrl, other.backendUrl) && - java.util.Objects.deepEquals(this.datasetId, other.datasetId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.backendUrl, other.backendUrl) && + Objects.deepEquals(this.datasetId, other.datasetId) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, backendUrl, datasetId, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSentry.java b/src/main/java/com/airbyte/api/models/shared/SourceSentry.java index 86dc77e7f..9222b7d67 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSentry.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSentry.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSentry { /** @@ -32,14 +35,14 @@ public class SourceSentry { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("discover_fields") - private Optional> discoverFields; + private Optional> discoverFields; /** * Host name of Sentry API server.For self-hosted, specify your host name here. Otherwise, leave it empty. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("hostname") - private Optional hostname; + private Optional hostname; /** * The slug of the organization the groups belong to. @@ -59,8 +62,8 @@ public class SourceSentry { @JsonCreator public SourceSentry( @JsonProperty("auth_token") String authToken, - @JsonProperty("discover_fields") Optional> discoverFields, - @JsonProperty("hostname") Optional hostname, + @JsonProperty("discover_fields") Optional> discoverFields, + @JsonProperty("hostname") Optional hostname, @JsonProperty("organization") String organization, @JsonProperty("project") String project) { Utils.checkNotNull(authToken, "authToken"); @@ -96,17 +99,16 @@ public String authToken() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> discoverFields() { - return (Optional>) discoverFields; + public Optional> discoverFields() { + return (Optional>) discoverFields; } /** * Host name of Sentry API server.For self-hosted, specify your host name here. Otherwise, leave it empty. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional hostname() { - return (Optional) hostname; + return hostname; } /** @@ -146,7 +148,7 @@ public SourceSentry withAuthToken(String authToken) { /** * Fields to retrieve when fetching discover events */ - public SourceSentry withDiscoverFields(java.util.List discoverFields) { + public SourceSentry withDiscoverFields(List discoverFields) { Utils.checkNotNull(discoverFields, "discoverFields"); this.discoverFields = Optional.ofNullable(discoverFields); return this; @@ -155,7 +157,7 @@ public SourceSentry withDiscoverFields(java.util.List discover /** * Fields to retrieve when fetching discover events */ - public SourceSentry withDiscoverFields(Optional> discoverFields) { + public SourceSentry withDiscoverFields(Optional> discoverFields) { Utils.checkNotNull(discoverFields, "discoverFields"); this.discoverFields = discoverFields; return this; @@ -173,7 +175,7 @@ public SourceSentry withHostname(String hostname) { /** * Host name of Sentry API server.For self-hosted, specify your host name here. Otherwise, leave it empty. */ - public SourceSentry withHostname(Optional hostname) { + public SourceSentry withHostname(Optional hostname) { Utils.checkNotNull(hostname, "hostname"); this.hostname = hostname; return this; @@ -207,17 +209,17 @@ public boolean equals(java.lang.Object o) { } SourceSentry other = (SourceSentry) o; return - java.util.Objects.deepEquals(this.authToken, other.authToken) && - java.util.Objects.deepEquals(this.discoverFields, other.discoverFields) && - java.util.Objects.deepEquals(this.hostname, other.hostname) && - java.util.Objects.deepEquals(this.organization, other.organization) && - java.util.Objects.deepEquals(this.project, other.project) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.authToken, other.authToken) && + Objects.deepEquals(this.discoverFields, other.discoverFields) && + Objects.deepEquals(this.hostname, other.hostname) && + Objects.deepEquals(this.organization, other.organization) && + Objects.deepEquals(this.project, other.project) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authToken, discoverFields, hostname, @@ -241,9 +243,9 @@ public final static class Builder { private String authToken; - private Optional> discoverFields = Optional.empty(); + private Optional> discoverFields = Optional.empty(); - private Optional hostname; + private Optional hostname; private String organization; @@ -265,7 +267,7 @@ public Builder authToken(String authToken) { /** * Fields to retrieve when fetching discover events */ - public Builder discoverFields(java.util.List discoverFields) { + public Builder discoverFields(List discoverFields) { Utils.checkNotNull(discoverFields, "discoverFields"); this.discoverFields = Optional.ofNullable(discoverFields); return this; @@ -274,7 +276,7 @@ public Builder discoverFields(java.util.List discoverFields) { /** * Fields to retrieve when fetching discover events */ - public Builder discoverFields(Optional> discoverFields) { + public Builder discoverFields(Optional> discoverFields) { Utils.checkNotNull(discoverFields, "discoverFields"); this.discoverFields = discoverFields; return this; @@ -292,7 +294,7 @@ public Builder hostname(String hostname) { /** * Host name of Sentry API server.For self-hosted, specify your host name here. Otherwise, leave it empty. */ - public Builder hostname(Optional hostname) { + public Builder hostname(Optional hostname) { Utils.checkNotNull(hostname, "hostname"); this.hostname = hostname; return this; @@ -319,8 +321,7 @@ public Builder project(String project) { public SourceSentry build() { if (hostname == null) { hostname = _SINGLETON_VALUE_Hostname.value(); - } - return new SourceSentry( + } return new SourceSentry( authToken, discoverFields, hostname, @@ -328,11 +329,11 @@ public SourceSentry build() { project); } - private static final LazySingletonValue> _SINGLETON_VALUE_Hostname = + private static final LazySingletonValue> _SINGLETON_VALUE_Hostname = new LazySingletonValue<>( "hostname", "\"sentry.io\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftp.java b/src/main/java/com/airbyte/api/models/shared/SourceSftp.java index e971b2b87..1c135cc0d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftp.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftp.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceSftp { /** @@ -33,21 +35,21 @@ public class SourceSftp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("file_pattern") - private Optional filePattern; + private Optional filePattern; /** * Coma separated file types. Currently only 'csv' and 'json' types are supported. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("file_types") - private Optional fileTypes; + private Optional fileTypes; /** * The directory to search files for sync */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("folder_path") - private Optional folderPath; + private Optional folderPath; /** * The server host address @@ -60,7 +62,7 @@ public class SourceSftp { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; @JsonProperty("sourceType") private Sftp sourceType; @@ -74,11 +76,11 @@ public class SourceSftp { @JsonCreator public SourceSftp( @JsonProperty("credentials") Optional credentials, - @JsonProperty("file_pattern") Optional filePattern, - @JsonProperty("file_types") Optional fileTypes, - @JsonProperty("folder_path") Optional folderPath, + @JsonProperty("file_pattern") Optional filePattern, + @JsonProperty("file_types") Optional fileTypes, + @JsonProperty("folder_path") Optional folderPath, @JsonProperty("host") String host, - @JsonProperty("port") Optional port, + @JsonProperty("port") Optional port, @JsonProperty("user") String user) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(filePattern, "filePattern"); @@ -115,28 +117,25 @@ public Optional credentials() { /** * The regular expression to specify files for sync in a chosen Folder Path */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional filePattern() { - return (Optional) filePattern; + return filePattern; } /** * Coma separated file types. Currently only 'csv' and 'json' types are supported. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional fileTypes() { - return (Optional) fileTypes; + return fileTypes; } /** * The directory to search files for sync */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional folderPath() { - return (Optional) folderPath; + return folderPath; } /** @@ -150,10 +149,9 @@ public String host() { /** * The server port */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } @JsonIgnore @@ -203,7 +201,7 @@ public SourceSftp withFilePattern(String filePattern) { /** * The regular expression to specify files for sync in a chosen Folder Path */ - public SourceSftp withFilePattern(Optional filePattern) { + public SourceSftp withFilePattern(Optional filePattern) { Utils.checkNotNull(filePattern, "filePattern"); this.filePattern = filePattern; return this; @@ -221,7 +219,7 @@ public SourceSftp withFileTypes(String fileTypes) { /** * Coma separated file types. Currently only 'csv' and 'json' types are supported. */ - public SourceSftp withFileTypes(Optional fileTypes) { + public SourceSftp withFileTypes(Optional fileTypes) { Utils.checkNotNull(fileTypes, "fileTypes"); this.fileTypes = fileTypes; return this; @@ -239,7 +237,7 @@ public SourceSftp withFolderPath(String folderPath) { /** * The directory to search files for sync */ - public SourceSftp withFolderPath(Optional folderPath) { + public SourceSftp withFolderPath(Optional folderPath) { Utils.checkNotNull(folderPath, "folderPath"); this.folderPath = folderPath; return this; @@ -266,7 +264,7 @@ public SourceSftp withPort(long port) { /** * The server port */ - public SourceSftp withPort(Optional port) { + public SourceSftp withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -291,19 +289,19 @@ public boolean equals(java.lang.Object o) { } SourceSftp other = (SourceSftp) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.filePattern, other.filePattern) && - java.util.Objects.deepEquals(this.fileTypes, other.fileTypes) && - java.util.Objects.deepEquals(this.folderPath, other.folderPath) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.user, other.user); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.filePattern, other.filePattern) && + Objects.deepEquals(this.fileTypes, other.fileTypes) && + Objects.deepEquals(this.folderPath, other.folderPath) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.user, other.user); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, filePattern, fileTypes, @@ -331,15 +329,15 @@ public final static class Builder { private Optional credentials = Optional.empty(); - private Optional filePattern; + private Optional filePattern; - private Optional fileTypes; + private Optional fileTypes; - private Optional folderPath; + private Optional folderPath; private String host; - private Optional port; + private Optional port; private String user; @@ -377,7 +375,7 @@ public Builder filePattern(String filePattern) { /** * The regular expression to specify files for sync in a chosen Folder Path */ - public Builder filePattern(Optional filePattern) { + public Builder filePattern(Optional filePattern) { Utils.checkNotNull(filePattern, "filePattern"); this.filePattern = filePattern; return this; @@ -395,7 +393,7 @@ public Builder fileTypes(String fileTypes) { /** * Coma separated file types. Currently only 'csv' and 'json' types are supported. */ - public Builder fileTypes(Optional fileTypes) { + public Builder fileTypes(Optional fileTypes) { Utils.checkNotNull(fileTypes, "fileTypes"); this.fileTypes = fileTypes; return this; @@ -413,7 +411,7 @@ public Builder folderPath(String folderPath) { /** * The directory to search files for sync */ - public Builder folderPath(Optional folderPath) { + public Builder folderPath(Optional folderPath) { Utils.checkNotNull(folderPath, "folderPath"); this.folderPath = folderPath; return this; @@ -440,7 +438,7 @@ public Builder port(long port) { /** * The server port */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -467,8 +465,7 @@ public SourceSftp build() { } if (port == null) { port = _SINGLETON_VALUE_Port.value(); - } - return new SourceSftp( + } return new SourceSftp( credentials, filePattern, fileTypes, @@ -478,29 +475,29 @@ public SourceSftp build() { user); } - private static final LazySingletonValue> _SINGLETON_VALUE_FilePattern = + private static final LazySingletonValue> _SINGLETON_VALUE_FilePattern = new LazySingletonValue<>( "file_pattern", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_FileTypes = + private static final LazySingletonValue> _SINGLETON_VALUE_FileTypes = new LazySingletonValue<>( "file_types", "\"csv,json\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_FolderPath = + private static final LazySingletonValue> _SINGLETON_VALUE_FolderPath = new LazySingletonValue<>( "folder_path", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "22", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpAuthMethod.java index df7869bc4..b3147f302 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceSftpAuthMethod - Connect through password authentication diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpAuthentication.java index a46db25c3..a4750e068 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceSftpAuthentication - The server authentication method @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceSftpAuthentication._Deserializer.class) public class SourceSftpAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSftpAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceSftpAuthentication of(SourceSftpSSHKeyAuthentication value) /** * Returns an instance of one of these types: *
      - *
    • {@code SourceSftpPasswordAuthentication}
    • - *
    • {@code SourceSftpSSHKeyAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpPasswordAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpSSHKeyAuthentication}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceSftpAuthentication other = (SourceSftpAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSftpAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSftpAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java index 27f0e07e1..f87a5381c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulk.java @@ -1,26 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * SourceSftpBulk - Used during spec; allows the developer to configure the cloud provider specific options * that are needed when users configure a file-based source. @@ -34,12 +35,16 @@ public class SourceSftpBulk { @JsonProperty("credentials") private SourceSftpBulkAuthentication credentials; + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_method") + private Optional deliveryMethod; + /** * The directory to search files for sync */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("folder_path") - private Optional folderPath; + private Optional folderPath; /** * The server host address @@ -52,7 +57,7 @@ public class SourceSftpBulk { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; @JsonProperty("sourceType") private SftpBulk sourceType; @@ -62,13 +67,13 @@ public class SourceSftpBulk { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonProperty("streams") - private java.util.List streams; + private List streams; /** * The server user @@ -79,13 +84,15 @@ public class SourceSftpBulk { @JsonCreator public SourceSftpBulk( @JsonProperty("credentials") SourceSftpBulkAuthentication credentials, - @JsonProperty("folder_path") Optional folderPath, + @JsonProperty("delivery_method") Optional deliveryMethod, + @JsonProperty("folder_path") Optional folderPath, @JsonProperty("host") String host, - @JsonProperty("port") Optional port, - @JsonProperty("start_date") Optional startDate, - @JsonProperty("streams") java.util.List streams, + @JsonProperty("port") Optional port, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("streams") List streams, @JsonProperty("username") String username) { Utils.checkNotNull(credentials, "credentials"); + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); Utils.checkNotNull(folderPath, "folderPath"); Utils.checkNotNull(host, "host"); Utils.checkNotNull(port, "port"); @@ -93,6 +100,7 @@ public SourceSftpBulk( Utils.checkNotNull(streams, "streams"); Utils.checkNotNull(username, "username"); this.credentials = credentials; + this.deliveryMethod = deliveryMethod; this.folderPath = folderPath; this.host = host; this.port = port; @@ -105,9 +113,9 @@ public SourceSftpBulk( public SourceSftpBulk( SourceSftpBulkAuthentication credentials, String host, - java.util.List streams, + List streams, String username) { - this(credentials, Optional.empty(), host, Optional.empty(), Optional.empty(), streams, username); + this(credentials, Optional.empty(), Optional.empty(), host, Optional.empty(), Optional.empty(), streams, username); } /** @@ -118,13 +126,18 @@ public SourceSftpBulkAuthentication credentials() { return credentials; } + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryMethod() { + return (Optional) deliveryMethod; + } + /** * The directory to search files for sync */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional folderPath() { - return (Optional) folderPath; + return folderPath; } /** @@ -138,10 +151,9 @@ public String host() { /** * The server port */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } @JsonIgnore @@ -152,17 +164,16 @@ public SftpBulk sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ @JsonIgnore - public java.util.List streams() { + public List streams() { return streams; } @@ -187,6 +198,18 @@ public SourceSftpBulk withCredentials(SourceSftpBulkAuthentication credentials) return this; } + public SourceSftpBulk withDeliveryMethod(SourceSftpBulkDeliveryMethod deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = Optional.ofNullable(deliveryMethod); + return this; + } + + public SourceSftpBulk withDeliveryMethod(Optional deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = deliveryMethod; + return this; + } + /** * The directory to search files for sync */ @@ -199,7 +222,7 @@ public SourceSftpBulk withFolderPath(String folderPath) { /** * The directory to search files for sync */ - public SourceSftpBulk withFolderPath(Optional folderPath) { + public SourceSftpBulk withFolderPath(Optional folderPath) { Utils.checkNotNull(folderPath, "folderPath"); this.folderPath = folderPath; return this; @@ -226,7 +249,7 @@ public SourceSftpBulk withPort(long port) { /** * The server port */ - public SourceSftpBulk withPort(Optional port) { + public SourceSftpBulk withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -244,7 +267,7 @@ public SourceSftpBulk withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public SourceSftpBulk withStartDate(Optional startDate) { + public SourceSftpBulk withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -253,7 +276,7 @@ public SourceSftpBulk withStartDate(Optional startDate /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public SourceSftpBulk withStreams(java.util.List streams) { + public SourceSftpBulk withStreams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -278,20 +301,22 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulk other = (SourceSftpBulk) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.folderPath, other.folderPath) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.streams, other.streams) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.deliveryMethod, other.deliveryMethod) && + Objects.deepEquals(this.folderPath, other.folderPath) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.streams, other.streams) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, + deliveryMethod, folderPath, host, port, @@ -305,6 +330,7 @@ public int hashCode() { public String toString() { return Utils.toString(SourceSftpBulk.class, "credentials", credentials, + "deliveryMethod", deliveryMethod, "folderPath", folderPath, "host", host, "port", port, @@ -318,15 +344,17 @@ public final static class Builder { private SourceSftpBulkAuthentication credentials; - private Optional folderPath; + private Optional deliveryMethod = Optional.empty(); + + private Optional folderPath; private String host; - private Optional port; + private Optional port; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); - private java.util.List streams; + private List streams; private String username; @@ -343,6 +371,18 @@ public Builder credentials(SourceSftpBulkAuthentication credentials) { return this; } + public Builder deliveryMethod(SourceSftpBulkDeliveryMethod deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = Optional.ofNullable(deliveryMethod); + return this; + } + + public Builder deliveryMethod(Optional deliveryMethod) { + Utils.checkNotNull(deliveryMethod, "deliveryMethod"); + this.deliveryMethod = deliveryMethod; + return this; + } + /** * The directory to search files for sync */ @@ -355,7 +395,7 @@ public Builder folderPath(String folderPath) { /** * The directory to search files for sync */ - public Builder folderPath(Optional folderPath) { + public Builder folderPath(Optional folderPath) { Utils.checkNotNull(folderPath, "folderPath"); this.folderPath = folderPath; return this; @@ -382,7 +422,7 @@ public Builder port(long port) { /** * The server port */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -400,7 +440,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -409,7 +449,7 @@ public Builder startDate(Optional startDate) { /** * Each instance of this configuration defines a <a href="https://docs.airbyte.com/cloud/core-concepts#stream">stream</a>. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. */ - public Builder streams(java.util.List streams) { + public Builder streams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -430,9 +470,9 @@ public SourceSftpBulk build() { } if (port == null) { port = _SINGLETON_VALUE_Port.value(); - } - return new SourceSftpBulk( + } return new SourceSftpBulk( credentials, + deliveryMethod, folderPath, host, port, @@ -441,17 +481,17 @@ public SourceSftpBulk build() { username); } - private static final LazySingletonValue> _SINGLETON_VALUE_FolderPath = + private static final LazySingletonValue> _SINGLETON_VALUE_FolderPath = new LazySingletonValue<>( "folder_path", "\"/\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "22", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAPIParameterConfigModel.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAPIParameterConfigModel.java index 0bb1e4b7c..f0dfcdf09 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAPIParameterConfigModel.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAPIParameterConfigModel.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSftpBulkAPIParameterConfigModel { @@ -87,13 +86,13 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkAPIParameterConfigModel other = (SourceSftpBulkAPIParameterConfigModel) o; return - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( name, value); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthType.java index bd75d0e13..e80fa5cb1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkAuthType { PASSWORD("password"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthentication.java index bae0e37f9..0af3a3534 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceSftpBulkAuthentication - Credentials for connecting to the SFTP Server @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceSftpBulkAuthentication._Deserializer.class) public class SourceSftpBulkAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSftpBulkAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceSftpBulkAuthentication of(AuthenticateViaPrivateKey value) { /** * Returns an instance of one of these types: *

      - *
    • {@code AuthenticateViaPassword}
    • - *
    • {@code AuthenticateViaPrivateKey}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaPassword}
    • + *
    • {@code com.airbyte.api.models.shared.AuthenticateViaPrivateKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceSftpBulkAuthentication other = (SourceSftpBulkAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSftpBulkAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSftpBulkAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAutogenerated.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAutogenerated.java index ce32fd7b5..71f158afe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAutogenerated.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAutogenerated.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceSftpBulkAutogenerated { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkAutogenerated other = (SourceSftpBulkAutogenerated) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAvroFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAvroFormat.java index 1aae305b5..e8d618c8e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAvroFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkAvroFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceSftpBulkAvroFormat { /** @@ -26,7 +28,7 @@ public class SourceSftpBulkAvroFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_as_string") - private Optional doubleAsString; + private Optional doubleAsString; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceSftpBulkAvroFormat { @JsonCreator public SourceSftpBulkAvroFormat( - @JsonProperty("double_as_string") Optional doubleAsString) { + @JsonProperty("double_as_string") Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceSftpBulkAvroFormat() { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleAsString() { - return (Optional) doubleAsString; + return doubleAsString; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceSftpBulkAvroFormat withDoubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public SourceSftpBulkAvroFormat withDoubleAsString(Optional doubleAsString) { + public SourceSftpBulkAvroFormat withDoubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkAvroFormat other = (SourceSftpBulkAvroFormat) o; return - java.util.Objects.deepEquals(this.doubleAsString, other.doubleAsString) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.doubleAsString, other.doubleAsString) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( doubleAsString, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional doubleAsString; + private Optional doubleAsString; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder doubleAsString(boolean doubleAsString) { /** * Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. */ - public Builder doubleAsString(Optional doubleAsString) { + public Builder doubleAsString(Optional doubleAsString) { Utils.checkNotNull(doubleAsString, "doubleAsString"); this.doubleAsString = doubleAsString; return this; @@ -138,16 +139,15 @@ public Builder doubleAsString(Optional doubleAsString) { public SourceSftpBulkAvroFormat build() { if (doubleAsString == null) { doubleAsString = _SINGLETON_VALUE_DoubleAsString.value(); - } - return new SourceSftpBulkAvroFormat( + } return new SourceSftpBulkAvroFormat( doubleAsString); } - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleAsString = new LazySingletonValue<>( "double_as_string", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVFormat.java index 4e7762d12..17d7cb71e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVFormat.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSftpBulkCSVFormat { /** @@ -26,35 +30,35 @@ public class SourceSftpBulkCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("delimiter") - private Optional delimiter; + private Optional delimiter; /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("double_quote") - private Optional doubleQuote; + private Optional doubleQuote; /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("encoding") - private Optional encoding; + private Optional encoding; /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("escape_char") - private Optional escapeChar; + private Optional escapeChar; /** * A set of case-sensitive strings that should be interpreted as false values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("false_values") - private Optional> falseValues; + private Optional> falseValues; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -72,65 +76,65 @@ public class SourceSftpBulkCSVFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("ignore_errors_on_fields_mismatch") - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("null_values") - private Optional> nullValues; + private Optional> nullValues; /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("quote_char") - private Optional quoteChar; + private Optional quoteChar; /** * The number of rows to skip after the header row. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_after_header") - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_rows_before_header") - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("strings_can_be_null") - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; /** * A set of case-sensitive strings that should be interpreted as true values. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("true_values") - private Optional> trueValues; + private Optional> trueValues; @JsonCreator public SourceSftpBulkCSVFormat( - @JsonProperty("delimiter") Optional delimiter, - @JsonProperty("double_quote") Optional doubleQuote, - @JsonProperty("encoding") Optional encoding, - @JsonProperty("escape_char") Optional escapeChar, - @JsonProperty("false_values") Optional> falseValues, + @JsonProperty("delimiter") Optional delimiter, + @JsonProperty("double_quote") Optional doubleQuote, + @JsonProperty("encoding") Optional encoding, + @JsonProperty("escape_char") Optional escapeChar, + @JsonProperty("false_values") Optional> falseValues, @JsonProperty("header_definition") Optional headerDefinition, - @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, - @JsonProperty("null_values") Optional> nullValues, - @JsonProperty("quote_char") Optional quoteChar, - @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, - @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, - @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, - @JsonProperty("true_values") Optional> trueValues) { + @JsonProperty("ignore_errors_on_fields_mismatch") Optional ignoreErrorsOnFieldsMismatch, + @JsonProperty("null_values") Optional> nullValues, + @JsonProperty("quote_char") Optional quoteChar, + @JsonProperty("skip_rows_after_header") Optional skipRowsAfterHeader, + @JsonProperty("skip_rows_before_header") Optional skipRowsBeforeHeader, + @JsonProperty("strings_can_be_null") Optional stringsCanBeNull, + @JsonProperty("true_values") Optional> trueValues) { Utils.checkNotNull(delimiter, "delimiter"); Utils.checkNotNull(doubleQuote, "doubleQuote"); Utils.checkNotNull(encoding, "encoding"); @@ -167,37 +171,33 @@ public SourceSftpBulkCSVFormat() { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional delimiter() { - return (Optional) delimiter; + return delimiter; } /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional doubleQuote() { - return (Optional) doubleQuote; + return doubleQuote; } /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional encoding() { - return (Optional) encoding; + return encoding; } /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional escapeChar() { - return (Optional) escapeChar; + return escapeChar; } /** @@ -205,8 +205,8 @@ public Optional escapeChar() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> falseValues() { - return (Optional>) falseValues; + public Optional> falseValues() { + return (Optional>) falseValues; } @SuppressWarnings("unchecked") @@ -227,10 +227,9 @@ public Optional headerDefinition() { /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional ignoreErrorsOnFieldsMismatch() { - return (Optional) ignoreErrorsOnFieldsMismatch; + return ignoreErrorsOnFieldsMismatch; } /** @@ -238,44 +237,40 @@ public Optional ignoreErrorsOnFieldsMismatch() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> nullValues() { - return (Optional>) nullValues; + public Optional> nullValues() { + return (Optional>) nullValues; } /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional quoteChar() { - return (Optional) quoteChar; + return quoteChar; } /** * The number of rows to skip after the header row. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsAfterHeader() { - return (Optional) skipRowsAfterHeader; + return skipRowsAfterHeader; } /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipRowsBeforeHeader() { - return (Optional) skipRowsBeforeHeader; + return skipRowsBeforeHeader; } /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional stringsCanBeNull() { - return (Optional) stringsCanBeNull; + return stringsCanBeNull; } /** @@ -283,8 +278,8 @@ public Optional stringsCanBeNull() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> trueValues() { - return (Optional>) trueValues; + public Optional> trueValues() { + return (Optional>) trueValues; } public final static Builder builder() { @@ -303,7 +298,7 @@ public SourceSftpBulkCSVFormat withDelimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public SourceSftpBulkCSVFormat withDelimiter(Optional delimiter) { + public SourceSftpBulkCSVFormat withDelimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -321,7 +316,7 @@ public SourceSftpBulkCSVFormat withDoubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public SourceSftpBulkCSVFormat withDoubleQuote(Optional doubleQuote) { + public SourceSftpBulkCSVFormat withDoubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -339,7 +334,7 @@ public SourceSftpBulkCSVFormat withEncoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public SourceSftpBulkCSVFormat withEncoding(Optional encoding) { + public SourceSftpBulkCSVFormat withEncoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -357,7 +352,7 @@ public SourceSftpBulkCSVFormat withEscapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public SourceSftpBulkCSVFormat withEscapeChar(Optional escapeChar) { + public SourceSftpBulkCSVFormat withEscapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -366,7 +361,7 @@ public SourceSftpBulkCSVFormat withEscapeChar(Optional escapeC /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceSftpBulkCSVFormat withFalseValues(java.util.List falseValues) { + public SourceSftpBulkCSVFormat withFalseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -375,7 +370,7 @@ public SourceSftpBulkCSVFormat withFalseValues(java.util.List falseValue /** * A set of case-sensitive strings that should be interpreted as false values. */ - public SourceSftpBulkCSVFormat withFalseValues(Optional> falseValues) { + public SourceSftpBulkCSVFormat withFalseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -411,7 +406,7 @@ public SourceSftpBulkCSVFormat withIgnoreErrorsOnFieldsMismatch(boolean ignoreEr /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public SourceSftpBulkCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public SourceSftpBulkCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -420,7 +415,7 @@ public SourceSftpBulkCSVFormat withIgnoreErrorsOnFieldsMismatch(Optional nullValues) { + public SourceSftpBulkCSVFormat withNullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -429,7 +424,7 @@ public SourceSftpBulkCSVFormat withNullValues(java.util.List nullValues) /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public SourceSftpBulkCSVFormat withNullValues(Optional> nullValues) { + public SourceSftpBulkCSVFormat withNullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -447,7 +442,7 @@ public SourceSftpBulkCSVFormat withQuoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public SourceSftpBulkCSVFormat withQuoteChar(Optional quoteChar) { + public SourceSftpBulkCSVFormat withQuoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -465,7 +460,7 @@ public SourceSftpBulkCSVFormat withSkipRowsAfterHeader(long skipRowsAfterHeader) /** * The number of rows to skip after the header row. */ - public SourceSftpBulkCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { + public SourceSftpBulkCSVFormat withSkipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -483,7 +478,7 @@ public SourceSftpBulkCSVFormat withSkipRowsBeforeHeader(long skipRowsBeforeHeade /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public SourceSftpBulkCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public SourceSftpBulkCSVFormat withSkipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -501,7 +496,7 @@ public SourceSftpBulkCSVFormat withStringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public SourceSftpBulkCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { + public SourceSftpBulkCSVFormat withStringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -510,7 +505,7 @@ public SourceSftpBulkCSVFormat withStringsCanBeNull(Optional /** * A set of case-sensitive strings that should be interpreted as true values. */ - public SourceSftpBulkCSVFormat withTrueValues(java.util.List trueValues) { + public SourceSftpBulkCSVFormat withTrueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -519,7 +514,7 @@ public SourceSftpBulkCSVFormat withTrueValues(java.util.List trueValues) /** * A set of case-sensitive strings that should be interpreted as true values. */ - public SourceSftpBulkCSVFormat withTrueValues(Optional> trueValues) { + public SourceSftpBulkCSVFormat withTrueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -535,25 +530,25 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkCSVFormat other = (SourceSftpBulkCSVFormat) o; return - java.util.Objects.deepEquals(this.delimiter, other.delimiter) && - java.util.Objects.deepEquals(this.doubleQuote, other.doubleQuote) && - java.util.Objects.deepEquals(this.encoding, other.encoding) && - java.util.Objects.deepEquals(this.escapeChar, other.escapeChar) && - java.util.Objects.deepEquals(this.falseValues, other.falseValues) && - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.headerDefinition, other.headerDefinition) && - java.util.Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && - java.util.Objects.deepEquals(this.nullValues, other.nullValues) && - java.util.Objects.deepEquals(this.quoteChar, other.quoteChar) && - java.util.Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && - java.util.Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && - java.util.Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && - java.util.Objects.deepEquals(this.trueValues, other.trueValues); + Objects.deepEquals(this.delimiter, other.delimiter) && + Objects.deepEquals(this.doubleQuote, other.doubleQuote) && + Objects.deepEquals(this.encoding, other.encoding) && + Objects.deepEquals(this.escapeChar, other.escapeChar) && + Objects.deepEquals(this.falseValues, other.falseValues) && + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.headerDefinition, other.headerDefinition) && + Objects.deepEquals(this.ignoreErrorsOnFieldsMismatch, other.ignoreErrorsOnFieldsMismatch) && + Objects.deepEquals(this.nullValues, other.nullValues) && + Objects.deepEquals(this.quoteChar, other.quoteChar) && + Objects.deepEquals(this.skipRowsAfterHeader, other.skipRowsAfterHeader) && + Objects.deepEquals(this.skipRowsBeforeHeader, other.skipRowsBeforeHeader) && + Objects.deepEquals(this.stringsCanBeNull, other.stringsCanBeNull) && + Objects.deepEquals(this.trueValues, other.trueValues); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( delimiter, doubleQuote, encoding, @@ -591,31 +586,31 @@ public String toString() { public final static class Builder { - private Optional delimiter; + private Optional delimiter; - private Optional doubleQuote; + private Optional doubleQuote; - private Optional encoding; + private Optional encoding; - private Optional escapeChar = Optional.empty(); + private Optional escapeChar = Optional.empty(); - private Optional> falseValues = Optional.empty(); + private Optional> falseValues = Optional.empty(); private Optional headerDefinition = Optional.empty(); - private Optional ignoreErrorsOnFieldsMismatch; + private Optional ignoreErrorsOnFieldsMismatch; - private Optional> nullValues = Optional.empty(); + private Optional> nullValues = Optional.empty(); - private Optional quoteChar; + private Optional quoteChar; - private Optional skipRowsAfterHeader; + private Optional skipRowsAfterHeader; - private Optional skipRowsBeforeHeader; + private Optional skipRowsBeforeHeader; - private Optional stringsCanBeNull; + private Optional stringsCanBeNull; - private Optional> trueValues = Optional.empty(); + private Optional> trueValues = Optional.empty(); private Builder() { // force use of static builder() method @@ -633,7 +628,7 @@ public Builder delimiter(String delimiter) { /** * The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. */ - public Builder delimiter(Optional delimiter) { + public Builder delimiter(Optional delimiter) { Utils.checkNotNull(delimiter, "delimiter"); this.delimiter = delimiter; return this; @@ -651,7 +646,7 @@ public Builder doubleQuote(boolean doubleQuote) { /** * Whether two quotes in a quoted CSV value denote a single quote in the data. */ - public Builder doubleQuote(Optional doubleQuote) { + public Builder doubleQuote(Optional doubleQuote) { Utils.checkNotNull(doubleQuote, "doubleQuote"); this.doubleQuote = doubleQuote; return this; @@ -669,7 +664,7 @@ public Builder encoding(String encoding) { /** * The character encoding of the CSV data. Leave blank to default to <strong>UTF8</strong>. See <a href="https://docs.python.org/3/library/codecs.html#standard-encodings" target="_blank">list of python encodings</a> for allowable options. */ - public Builder encoding(Optional encoding) { + public Builder encoding(Optional encoding) { Utils.checkNotNull(encoding, "encoding"); this.encoding = encoding; return this; @@ -687,7 +682,7 @@ public Builder escapeChar(String escapeChar) { /** * The character used for escaping special characters. To disallow escaping, leave this field blank. */ - public Builder escapeChar(Optional escapeChar) { + public Builder escapeChar(Optional escapeChar) { Utils.checkNotNull(escapeChar, "escapeChar"); this.escapeChar = escapeChar; return this; @@ -696,7 +691,7 @@ public Builder escapeChar(Optional escapeChar) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(java.util.List falseValues) { + public Builder falseValues(List falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = Optional.ofNullable(falseValues); return this; @@ -705,7 +700,7 @@ public Builder falseValues(java.util.List falseValues) { /** * A set of case-sensitive strings that should be interpreted as false values. */ - public Builder falseValues(Optional> falseValues) { + public Builder falseValues(Optional> falseValues) { Utils.checkNotNull(falseValues, "falseValues"); this.falseValues = falseValues; return this; @@ -741,7 +736,7 @@ public Builder ignoreErrorsOnFieldsMismatch(boolean ignoreErrorsOnFieldsMismatch /** * Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. */ - public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { + public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreErrorsOnFieldsMismatch) { Utils.checkNotNull(ignoreErrorsOnFieldsMismatch, "ignoreErrorsOnFieldsMismatch"); this.ignoreErrorsOnFieldsMismatch = ignoreErrorsOnFieldsMismatch; return this; @@ -750,7 +745,7 @@ public Builder ignoreErrorsOnFieldsMismatch(Optional ignoreEr /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(java.util.List nullValues) { + public Builder nullValues(List nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = Optional.ofNullable(nullValues); return this; @@ -759,7 +754,7 @@ public Builder nullValues(java.util.List nullValues) { /** * A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. */ - public Builder nullValues(Optional> nullValues) { + public Builder nullValues(Optional> nullValues) { Utils.checkNotNull(nullValues, "nullValues"); this.nullValues = nullValues; return this; @@ -777,7 +772,7 @@ public Builder quoteChar(String quoteChar) { /** * The character used for quoting CSV values. To disallow quoting, make this field blank. */ - public Builder quoteChar(Optional quoteChar) { + public Builder quoteChar(Optional quoteChar) { Utils.checkNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; @@ -795,7 +790,7 @@ public Builder skipRowsAfterHeader(long skipRowsAfterHeader) { /** * The number of rows to skip after the header row. */ - public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { + public Builder skipRowsAfterHeader(Optional skipRowsAfterHeader) { Utils.checkNotNull(skipRowsAfterHeader, "skipRowsAfterHeader"); this.skipRowsAfterHeader = skipRowsAfterHeader; return this; @@ -813,7 +808,7 @@ public Builder skipRowsBeforeHeader(long skipRowsBeforeHeader) { /** * The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. */ - public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { + public Builder skipRowsBeforeHeader(Optional skipRowsBeforeHeader) { Utils.checkNotNull(skipRowsBeforeHeader, "skipRowsBeforeHeader"); this.skipRowsBeforeHeader = skipRowsBeforeHeader; return this; @@ -831,7 +826,7 @@ public Builder stringsCanBeNull(boolean stringsCanBeNull) { /** * Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. */ - public Builder stringsCanBeNull(Optional stringsCanBeNull) { + public Builder stringsCanBeNull(Optional stringsCanBeNull) { Utils.checkNotNull(stringsCanBeNull, "stringsCanBeNull"); this.stringsCanBeNull = stringsCanBeNull; return this; @@ -840,7 +835,7 @@ public Builder stringsCanBeNull(Optional stringsCanBeNull) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(java.util.List trueValues) { + public Builder trueValues(List trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = Optional.ofNullable(trueValues); return this; @@ -849,7 +844,7 @@ public Builder trueValues(java.util.List trueValues) { /** * A set of case-sensitive strings that should be interpreted as true values. */ - public Builder trueValues(Optional> trueValues) { + public Builder trueValues(Optional> trueValues) { Utils.checkNotNull(trueValues, "trueValues"); this.trueValues = trueValues; return this; @@ -879,8 +874,7 @@ public SourceSftpBulkCSVFormat build() { } if (stringsCanBeNull == null) { stringsCanBeNull = _SINGLETON_VALUE_StringsCanBeNull.value(); - } - return new SourceSftpBulkCSVFormat( + } return new SourceSftpBulkCSVFormat( delimiter, doubleQuote, encoding, @@ -896,23 +890,23 @@ public SourceSftpBulkCSVFormat build() { trueValues); } - private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = + private static final LazySingletonValue> _SINGLETON_VALUE_Delimiter = new LazySingletonValue<>( "delimiter", "\",\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = + private static final LazySingletonValue> _SINGLETON_VALUE_DoubleQuote = new LazySingletonValue<>( "double_quote", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = + private static final LazySingletonValue> _SINGLETON_VALUE_Encoding = new LazySingletonValue<>( "encoding", "\"utf8\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( @@ -920,35 +914,35 @@ public SourceSftpBulkCSVFormat build() { "\"csv\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = + private static final LazySingletonValue> _SINGLETON_VALUE_IgnoreErrorsOnFieldsMismatch = new LazySingletonValue<>( "ignore_errors_on_fields_mismatch", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = + private static final LazySingletonValue> _SINGLETON_VALUE_QuoteChar = new LazySingletonValue<>( "quote_char", "\"\\\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsAfterHeader = new LazySingletonValue<>( "skip_rows_after_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipRowsBeforeHeader = new LazySingletonValue<>( "skip_rows_before_header", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = + private static final LazySingletonValue> _SINGLETON_VALUE_StringsCanBeNull = new LazySingletonValue<>( "strings_can_be_null", "true", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVHeaderDefinition.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVHeaderDefinition.java index bb506f665..343645d33 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVHeaderDefinition.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCSVHeaderDefinition.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceSftpBulkCSVHeaderDefinition - How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceSftpBulkCSVHeaderDefinition._Deserializer.class) public class SourceSftpBulkCSVHeaderDefinition { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSftpBulkCSVHeaderDefinition(TypedObject value) { @@ -53,9 +50,9 @@ public static SourceSftpBulkCSVHeaderDefinition of(SourceSftpBulkUserProvided va /** * Returns an instance of one of these types: *

      - *
    • {@code SourceSftpBulkFromCSV}
    • - *
    • {@code SourceSftpBulkAutogenerated}
    • - *
    • {@code SourceSftpBulkUserProvided}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkFromCSV}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkAutogenerated}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkUserProvided}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceSftpBulkCSVHeaderDefinition other = (SourceSftpBulkCSVHeaderDefinition) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSftpBulkCSVHeaderDefinition.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSftpBulkCSVHeaderDefinition.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCopyRawFiles.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCopyRawFiles.java new file mode 100644 index 000000000..6df9e5b9b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkCopyRawFiles.java @@ -0,0 +1,91 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSftpBulkCopyRawFiles - Copy raw files without parsing their contents. Bits are copied into the destination exactly as they appeared in the source. Recommended for use with unstructured text data, non-text and compressed files. + */ + +public class SourceSftpBulkCopyRawFiles { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_type") + private Optional deliveryType; + + @JsonCreator + public SourceSftpBulkCopyRawFiles() { + + this.deliveryType = Builder._SINGLETON_VALUE_DeliveryType.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryType() { + return (Optional) deliveryType; + } + + public final static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSftpBulkCopyRawFiles other = (SourceSftpBulkCopyRawFiles) o; + return + Objects.deepEquals(this.deliveryType, other.deliveryType); + } + + @Override + public int hashCode() { + return Objects.hash( + deliveryType); + } + + @Override + public String toString() { + return Utils.toString(SourceSftpBulkCopyRawFiles.class, + "deliveryType", deliveryType); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceSftpBulkCopyRawFiles build() { + return new SourceSftpBulkCopyRawFiles( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DeliveryType = + new LazySingletonValue<>( + "delivery_type", + "\"use_file_transfer\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryMethod.java new file mode 100644 index 000000000..ce62a8963 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryMethod.java @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + + +@JsonDeserialize(using = SourceSftpBulkDeliveryMethod._Deserializer.class) +public class SourceSftpBulkDeliveryMethod { + + @JsonValue + private TypedObject value; + + private SourceSftpBulkDeliveryMethod(TypedObject value) { + this.value = value; + } + + public static SourceSftpBulkDeliveryMethod of(SourceSftpBulkReplicateRecords value) { + Utils.checkNotNull(value, "value"); + return new SourceSftpBulkDeliveryMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceSftpBulkDeliveryMethod of(SourceSftpBulkCopyRawFiles value) { + Utils.checkNotNull(value, "value"); + return new SourceSftpBulkDeliveryMethod(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkReplicateRecords}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkCopyRawFiles}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSftpBulkDeliveryMethod other = (SourceSftpBulkDeliveryMethod) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceSftpBulkDeliveryMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceSftpBulkDeliveryMethod.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryType.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryType.java new file mode 100644 index 000000000..35729201f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkDeliveryType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceSftpBulkDeliveryType { + USE_RECORDS_TRANSFER("use_records_transfer"); + + @JsonValue + private final String value; + + private SourceSftpBulkDeliveryType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkExcelFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkExcelFormat.java index d38de04f6..e7bb1c37d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkExcelFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkExcelFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceSftpBulkExcelFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkExcelFormat other = (SourceSftpBulkExcelFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileBasedStreamConfig.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileBasedStreamConfig.java index 0089cab7f..598f00276 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileBasedStreamConfig.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFileBasedStreamConfig.java @@ -1,24 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSftpBulkFileBasedStreamConfig { /** @@ -26,7 +30,7 @@ public class SourceSftpBulkFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("days_to_sync_if_history_is_full") - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; /** * The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -39,14 +43,14 @@ public class SourceSftpBulkFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("globs") - private Optional> globs; + private Optional> globs; /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("input_schema") - private Optional inputSchema; + private Optional inputSchema; /** * The name of the stream. @@ -59,14 +63,14 @@ public class SourceSftpBulkFileBasedStreamConfig { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("recent_n_files_to_read_for_schema_discovery") - private Optional recentNFilesToReadForSchemaDiscovery; + private Optional recentNFilesToReadForSchemaDiscovery; /** * When enabled, syncs will not validate or structure records against the stream's schema. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schemaless") - private Optional schemaless; + private Optional schemaless; /** * The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. @@ -77,13 +81,13 @@ public class SourceSftpBulkFileBasedStreamConfig { @JsonCreator public SourceSftpBulkFileBasedStreamConfig( - @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, + @JsonProperty("days_to_sync_if_history_is_full") Optional daysToSyncIfHistoryIsFull, @JsonProperty("format") SourceSftpBulkFormat format, - @JsonProperty("globs") Optional> globs, - @JsonProperty("input_schema") Optional inputSchema, + @JsonProperty("globs") Optional> globs, + @JsonProperty("input_schema") Optional inputSchema, @JsonProperty("name") String name, - @JsonProperty("recent_n_files_to_read_for_schema_discovery") Optional recentNFilesToReadForSchemaDiscovery, - @JsonProperty("schemaless") Optional schemaless, + @JsonProperty("recent_n_files_to_read_for_schema_discovery") Optional recentNFilesToReadForSchemaDiscovery, + @JsonProperty("schemaless") Optional schemaless, @JsonProperty("validation_policy") Optional validationPolicy) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); Utils.checkNotNull(format, "format"); @@ -112,10 +116,9 @@ public SourceSftpBulkFileBasedStreamConfig( /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional daysToSyncIfHistoryIsFull() { - return (Optional) daysToSyncIfHistoryIsFull; + return daysToSyncIfHistoryIsFull; } /** @@ -131,17 +134,16 @@ public SourceSftpBulkFormat format() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> globs() { - return (Optional>) globs; + public Optional> globs() { + return (Optional>) globs; } /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional inputSchema() { - return (Optional) inputSchema; + return inputSchema; } /** @@ -155,19 +157,17 @@ public String name() { /** * The number of resent files which will be used to discover the schema for this stream. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional recentNFilesToReadForSchemaDiscovery() { - return (Optional) recentNFilesToReadForSchemaDiscovery; + return recentNFilesToReadForSchemaDiscovery; } /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schemaless() { - return (Optional) schemaless; + return schemaless; } /** @@ -195,7 +195,7 @@ public SourceSftpBulkFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(long da /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public SourceSftpBulkFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public SourceSftpBulkFileBasedStreamConfig withDaysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -213,7 +213,7 @@ public SourceSftpBulkFileBasedStreamConfig withFormat(SourceSftpBulkFormat forma /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceSftpBulkFileBasedStreamConfig withGlobs(java.util.List globs) { + public SourceSftpBulkFileBasedStreamConfig withGlobs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -222,7 +222,7 @@ public SourceSftpBulkFileBasedStreamConfig withGlobs(java.util.List glob /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public SourceSftpBulkFileBasedStreamConfig withGlobs(Optional> globs) { + public SourceSftpBulkFileBasedStreamConfig withGlobs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -240,7 +240,7 @@ public SourceSftpBulkFileBasedStreamConfig withInputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public SourceSftpBulkFileBasedStreamConfig withInputSchema(Optional inputSchema) { + public SourceSftpBulkFileBasedStreamConfig withInputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -267,7 +267,7 @@ public SourceSftpBulkFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscov /** * The number of resent files which will be used to discover the schema for this stream. */ - public SourceSftpBulkFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + public SourceSftpBulkFileBasedStreamConfig withRecentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; return this; @@ -285,7 +285,7 @@ public SourceSftpBulkFileBasedStreamConfig withSchemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public SourceSftpBulkFileBasedStreamConfig withSchemaless(Optional schemaless) { + public SourceSftpBulkFileBasedStreamConfig withSchemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -319,19 +319,19 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkFileBasedStreamConfig other = (SourceSftpBulkFileBasedStreamConfig) o; return - java.util.Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && - java.util.Objects.deepEquals(this.format, other.format) && - java.util.Objects.deepEquals(this.globs, other.globs) && - java.util.Objects.deepEquals(this.inputSchema, other.inputSchema) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.recentNFilesToReadForSchemaDiscovery, other.recentNFilesToReadForSchemaDiscovery) && - java.util.Objects.deepEquals(this.schemaless, other.schemaless) && - java.util.Objects.deepEquals(this.validationPolicy, other.validationPolicy); + Objects.deepEquals(this.daysToSyncIfHistoryIsFull, other.daysToSyncIfHistoryIsFull) && + Objects.deepEquals(this.format, other.format) && + Objects.deepEquals(this.globs, other.globs) && + Objects.deepEquals(this.inputSchema, other.inputSchema) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.recentNFilesToReadForSchemaDiscovery, other.recentNFilesToReadForSchemaDiscovery) && + Objects.deepEquals(this.schemaless, other.schemaless) && + Objects.deepEquals(this.validationPolicy, other.validationPolicy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( daysToSyncIfHistoryIsFull, format, globs, @@ -357,19 +357,19 @@ public String toString() { public final static class Builder { - private Optional daysToSyncIfHistoryIsFull; + private Optional daysToSyncIfHistoryIsFull; private SourceSftpBulkFormat format; - private Optional> globs = Optional.empty(); + private Optional> globs = Optional.empty(); - private Optional inputSchema = Optional.empty(); + private Optional inputSchema = Optional.empty(); private String name; - private Optional recentNFilesToReadForSchemaDiscovery = Optional.empty(); + private Optional recentNFilesToReadForSchemaDiscovery = Optional.empty(); - private Optional schemaless; + private Optional schemaless; private Optional validationPolicy; @@ -389,7 +389,7 @@ public Builder daysToSyncIfHistoryIsFull(long daysToSyncIfHistoryIsFull) { /** * When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. */ - public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { + public Builder daysToSyncIfHistoryIsFull(Optional daysToSyncIfHistoryIsFull) { Utils.checkNotNull(daysToSyncIfHistoryIsFull, "daysToSyncIfHistoryIsFull"); this.daysToSyncIfHistoryIsFull = daysToSyncIfHistoryIsFull; return this; @@ -407,7 +407,7 @@ public Builder format(SourceSftpBulkFormat format) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(java.util.List globs) { + public Builder globs(List globs) { Utils.checkNotNull(globs, "globs"); this.globs = Optional.ofNullable(globs); return this; @@ -416,7 +416,7 @@ public Builder globs(java.util.List globs) { /** * The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>. */ - public Builder globs(Optional> globs) { + public Builder globs(Optional> globs) { Utils.checkNotNull(globs, "globs"); this.globs = globs; return this; @@ -434,7 +434,7 @@ public Builder inputSchema(String inputSchema) { /** * The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. */ - public Builder inputSchema(Optional inputSchema) { + public Builder inputSchema(Optional inputSchema) { Utils.checkNotNull(inputSchema, "inputSchema"); this.inputSchema = inputSchema; return this; @@ -461,7 +461,7 @@ public Builder recentNFilesToReadForSchemaDiscovery(long recentNFilesToReadForSc /** * The number of resent files which will be used to discover the schema for this stream. */ - public Builder recentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { + public Builder recentNFilesToReadForSchemaDiscovery(Optional recentNFilesToReadForSchemaDiscovery) { Utils.checkNotNull(recentNFilesToReadForSchemaDiscovery, "recentNFilesToReadForSchemaDiscovery"); this.recentNFilesToReadForSchemaDiscovery = recentNFilesToReadForSchemaDiscovery; return this; @@ -479,7 +479,7 @@ public Builder schemaless(boolean schemaless) { /** * When enabled, syncs will not validate or structure records against the stream's schema. */ - public Builder schemaless(Optional schemaless) { + public Builder schemaless(Optional schemaless) { Utils.checkNotNull(schemaless, "schemaless"); this.schemaless = schemaless; return this; @@ -512,8 +512,7 @@ public SourceSftpBulkFileBasedStreamConfig build() { } if (validationPolicy == null) { validationPolicy = _SINGLETON_VALUE_ValidationPolicy.value(); - } - return new SourceSftpBulkFileBasedStreamConfig( + } return new SourceSftpBulkFileBasedStreamConfig( daysToSyncIfHistoryIsFull, format, globs, @@ -524,17 +523,17 @@ public SourceSftpBulkFileBasedStreamConfig build() { validationPolicy); } - private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = + private static final LazySingletonValue> _SINGLETON_VALUE_DaysToSyncIfHistoryIsFull = new LazySingletonValue<>( "days_to_sync_if_history_is_full", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = + private static final LazySingletonValue> _SINGLETON_VALUE_Schemaless = new LazySingletonValue<>( "schemaless", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_ValidationPolicy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFiletype.java index 62064e8bd..44872cdcd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkFiletype { AVRO("avro"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFormat.java index 34bae9562..784ac4709 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFormat.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceSftpBulkFormat - The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceSftpBulkFormat._Deserializer.class) public class SourceSftpBulkFormat { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSftpBulkFormat(TypedObject value) { @@ -68,12 +65,12 @@ public static SourceSftpBulkFormat of(SourceSftpBulkExcelFormat value) { /** * Returns an instance of one of these types: *
      - *
    • {@code SourceSftpBulkAvroFormat}
    • - *
    • {@code SourceSftpBulkCSVFormat}
    • - *
    • {@code SourceSftpBulkJsonlFormat}
    • - *
    • {@code SourceSftpBulkParquetFormat}
    • - *
    • {@code SourceSftpBulkUnstructuredDocumentFormat}
    • - *
    • {@code SourceSftpBulkExcelFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkAvroFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkCSVFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkJsonlFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkParquetFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkUnstructuredDocumentFormat}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkExcelFormat}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -100,25 +97,25 @@ public boolean equals(java.lang.Object o) { return false; } SourceSftpBulkFormat other = (SourceSftpBulkFormat) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSftpBulkFormat.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSftpBulkFormat.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFromCSV.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFromCSV.java index 675b2f20d..aa55fd2ad 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFromCSV.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkFromCSV.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceSftpBulkFromCSV { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkFromCSV other = (SourceSftpBulkFromCSV) o; return - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( headerDefinitionType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkHeaderDefinitionType.java index 54faa145e..1fe7e7823 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkHeaderDefinitionType { FROM_CSV("From CSV"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkJsonlFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkJsonlFormat.java index ec4f32075..b4f5e068d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkJsonlFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkJsonlFormat.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceSftpBulkJsonlFormat { @JsonInclude(Include.NON_ABSENT) @@ -51,12 +52,12 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkJsonlFormat other = (SourceSftpBulkJsonlFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkLocal.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkLocal.java index 9ef177652..2237c67cb 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkLocal.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkLocal.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceSftpBulkLocal - Process files locally, supporting `fast` and `ocr` modes. This is the default option. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkLocal other = (SourceSftpBulkLocal) o; return - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( mode); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkMode.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkMode.java index 2fee38b77..b1f30ec01 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkMode { LOCAL("local"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParquetFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParquetFormat.java index 5abb6264a..69bb94601 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParquetFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParquetFormat.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceSftpBulkParquetFormat { /** @@ -26,7 +28,7 @@ public class SourceSftpBulkParquetFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("decimal_as_float") - private Optional decimalAsFloat; + private Optional decimalAsFloat; @JsonInclude(Include.NON_ABSENT) @JsonProperty("filetype") @@ -34,7 +36,7 @@ public class SourceSftpBulkParquetFormat { @JsonCreator public SourceSftpBulkParquetFormat( - @JsonProperty("decimal_as_float") Optional decimalAsFloat) { + @JsonProperty("decimal_as_float") Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; this.filetype = Builder._SINGLETON_VALUE_Filetype.value(); @@ -47,10 +49,9 @@ public SourceSftpBulkParquetFormat() { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional decimalAsFloat() { - return (Optional) decimalAsFloat; + return decimalAsFloat; } @SuppressWarnings("unchecked") @@ -75,7 +76,7 @@ public SourceSftpBulkParquetFormat withDecimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public SourceSftpBulkParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { + public SourceSftpBulkParquetFormat withDecimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -91,13 +92,13 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkParquetFormat other = (SourceSftpBulkParquetFormat) o; return - java.util.Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && - java.util.Objects.deepEquals(this.filetype, other.filetype); + Objects.deepEquals(this.decimalAsFloat, other.decimalAsFloat) && + Objects.deepEquals(this.filetype, other.filetype); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( decimalAsFloat, filetype); } @@ -111,7 +112,7 @@ public String toString() { public final static class Builder { - private Optional decimalAsFloat; + private Optional decimalAsFloat; private Builder() { // force use of static builder() method @@ -129,7 +130,7 @@ public Builder decimalAsFloat(boolean decimalAsFloat) { /** * Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. */ - public Builder decimalAsFloat(Optional decimalAsFloat) { + public Builder decimalAsFloat(Optional decimalAsFloat) { Utils.checkNotNull(decimalAsFloat, "decimalAsFloat"); this.decimalAsFloat = decimalAsFloat; return this; @@ -138,16 +139,15 @@ public Builder decimalAsFloat(Optional decimalAsFloat) { public SourceSftpBulkParquetFormat build() { if (decimalAsFloat == null) { decimalAsFloat = _SINGLETON_VALUE_DecimalAsFloat.value(); - } - return new SourceSftpBulkParquetFormat( + } return new SourceSftpBulkParquetFormat( decimalAsFloat); } - private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = + private static final LazySingletonValue> _SINGLETON_VALUE_DecimalAsFloat = new LazySingletonValue<>( "decimal_as_float", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Filetype = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParsingStrategy.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParsingStrategy.java index 52f4707ae..ff0bf8c86 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParsingStrategy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkParsingStrategy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceSftpBulkParsingStrategy - The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkProcessing.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkProcessing.java index 154b523c4..30b09038e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkProcessing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkProcessing.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceSftpBulkProcessing - Processing configuration @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceSftpBulkProcessing._Deserializer.class) public class SourceSftpBulkProcessing { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSftpBulkProcessing(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceSftpBulkProcessing of(SourceSftpBulkViaAPI value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceSftpBulkLocal}
    • - *
    • {@code SourceSftpBulkViaAPI}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkLocal}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSftpBulkViaAPI}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceSftpBulkProcessing other = (SourceSftpBulkProcessing) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSftpBulkProcessing.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSftpBulkProcessing.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkReplicateRecords.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkReplicateRecords.java new file mode 100644 index 000000000..73a6276b4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkReplicateRecords.java @@ -0,0 +1,91 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + +/** + * SourceSftpBulkReplicateRecords - Recommended - Extract and load structured records into your destination of choice. This is the classic method of moving data in Airbyte. It allows for blocking and hashing individual fields or files from a structured schema. Data can be flattened, typed and deduped depending on the destination. + */ + +public class SourceSftpBulkReplicateRecords { + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("delivery_type") + private Optional deliveryType; + + @JsonCreator + public SourceSftpBulkReplicateRecords() { + + this.deliveryType = Builder._SINGLETON_VALUE_DeliveryType.value(); + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional deliveryType() { + return (Optional) deliveryType; + } + + public final static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSftpBulkReplicateRecords other = (SourceSftpBulkReplicateRecords) o; + return + Objects.deepEquals(this.deliveryType, other.deliveryType); + } + + @Override + public int hashCode() { + return Objects.hash( + deliveryType); + } + + @Override + public String toString() { + return Utils.toString(SourceSftpBulkReplicateRecords.class, + "deliveryType", deliveryType); + } + + public final static class Builder { + + private Builder() { + // force use of static builder() method + } + + public SourceSftpBulkReplicateRecords build() { + return new SourceSftpBulkReplicateRecords( + ); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DeliveryType = + new LazySingletonValue<>( + "delivery_type", + "\"use_records_transfer\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasAuthType.java index cddcd4a21..80b77b561 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkSchemasAuthType { PRIVATE_KEY("private_key"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasDeliveryType.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasDeliveryType.java new file mode 100644 index 000000000..e64691871 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasDeliveryType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceSftpBulkSchemasDeliveryType { + USE_FILE_TRANSFER("use_file_transfer"); + + @JsonValue + private final String value; + + private SourceSftpBulkSchemasDeliveryType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasFiletype.java index 250968544..f35cff5a9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkSchemasFiletype { CSV("csv"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasHeaderDefinitionType.java index 30b4744d5..1bdf558df 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkSchemasHeaderDefinitionType { AUTOGENERATED("Autogenerated"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasMode.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasMode.java index 6eb5a817e..bef740c74 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasMode.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasMode.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkSchemasMode { API("api"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFiletype.java index f691be117..c4045ddc3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkSchemasStreamsFiletype { JSONL("jsonl"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.java index 9fbad15de..78383d191 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkSchemasStreamsFormatFiletype { PARQUET("parquet"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.java index 51f82b47a..f6e78c134 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormat6Filetype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkSchemasStreamsFormatFormat6Filetype { EXCEL("excel"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.java index 7aa9690b6..c2039f11d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsFormatFormatFiletype.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkSchemasStreamsFormatFormatFiletype { UNSTRUCTURED("unstructured"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsHeaderDefinitionType.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsHeaderDefinitionType.java index 4ca082385..85dd8d3e2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsHeaderDefinitionType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkSchemasStreamsHeaderDefinitionType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSftpBulkSchemasStreamsHeaderDefinitionType { USER_PROVIDED("User Provided"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUnstructuredDocumentFormat.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUnstructuredDocumentFormat.java index f01bbf697..7d383d9fe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUnstructuredDocumentFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUnstructuredDocumentFormat.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceSftpBulkUnstructuredDocumentFormat - Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. */ @@ -40,7 +42,7 @@ public class SourceSftpBulkUnstructuredDocumentFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_unprocessable_files") - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; /** * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf @@ -52,7 +54,7 @@ public class SourceSftpBulkUnstructuredDocumentFormat { @JsonCreator public SourceSftpBulkUnstructuredDocumentFormat( @JsonProperty("processing") Optional processing, - @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, + @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, @JsonProperty("strategy") Optional strategy) { Utils.checkNotNull(processing, "processing"); Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); @@ -85,10 +87,9 @@ public Optional processing() { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipUnprocessableFiles() { - return (Optional) skipUnprocessableFiles; + return skipUnprocessableFiles; } /** @@ -134,7 +135,7 @@ public SourceSftpBulkUnstructuredDocumentFormat withSkipUnprocessableFiles(boole /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public SourceSftpBulkUnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { + public SourceSftpBulkUnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -168,15 +169,15 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkUnstructuredDocumentFormat other = (SourceSftpBulkUnstructuredDocumentFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.processing, other.processing) && - java.util.Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && - java.util.Objects.deepEquals(this.strategy, other.strategy); + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.processing, other.processing) && + Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && + Objects.deepEquals(this.strategy, other.strategy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype, processing, skipUnprocessableFiles, @@ -196,7 +197,7 @@ public final static class Builder { private Optional processing = Optional.empty(); - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; private Optional strategy; @@ -234,7 +235,7 @@ public Builder skipUnprocessableFiles(boolean skipUnprocessableFiles) { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { + public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -264,8 +265,7 @@ public SourceSftpBulkUnstructuredDocumentFormat build() { } if (strategy == null) { strategy = _SINGLETON_VALUE_Strategy.value(); - } - return new SourceSftpBulkUnstructuredDocumentFormat( + } return new SourceSftpBulkUnstructuredDocumentFormat( processing, skipUnprocessableFiles, strategy); @@ -277,11 +277,11 @@ public SourceSftpBulkUnstructuredDocumentFormat build() { "\"unstructured\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = new LazySingletonValue<>( "skip_unprocessable_files", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Strategy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUserProvided.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUserProvided.java index c5d3d4f2f..0ac6ae097 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUserProvided.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkUserProvided.java @@ -1,31 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSftpBulkUserProvided { /** * The column names that will be used while emitting the CSV records */ @JsonProperty("column_names") - private java.util.List columnNames; + private List columnNames; @JsonInclude(Include.NON_ABSENT) @JsonProperty("header_definition_type") @@ -33,7 +35,7 @@ public class SourceSftpBulkUserProvided { @JsonCreator public SourceSftpBulkUserProvided( - @JsonProperty("column_names") java.util.List columnNames) { + @JsonProperty("column_names") List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); @@ -43,7 +45,7 @@ public SourceSftpBulkUserProvided( * The column names that will be used while emitting the CSV records */ @JsonIgnore - public java.util.List columnNames() { + public List columnNames() { return columnNames; } @@ -60,7 +62,7 @@ public final static Builder builder() { /** * The column names that will be used while emitting the CSV records */ - public SourceSftpBulkUserProvided withColumnNames(java.util.List columnNames) { + public SourceSftpBulkUserProvided withColumnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; @@ -76,13 +78,13 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkUserProvided other = (SourceSftpBulkUserProvided) o; return - java.util.Objects.deepEquals(this.columnNames, other.columnNames) && - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.columnNames, other.columnNames) && + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( columnNames, headerDefinitionType); } @@ -96,7 +98,7 @@ public String toString() { public final static class Builder { - private java.util.List columnNames; + private List columnNames; private Builder() { // force use of static builder() method @@ -105,7 +107,7 @@ private Builder() { /** * The column names that will be used while emitting the CSV records */ - public Builder columnNames(java.util.List columnNames) { + public Builder columnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkValidationPolicy.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkValidationPolicy.java index f69805826..20415dc88 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkValidationPolicy.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkValidationPolicy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceSftpBulkValidationPolicy - The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkViaAPI.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkViaAPI.java index 2a3005460..0d6b1ebc9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkViaAPI.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpBulkViaAPI.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * SourceSftpBulkViaAPI - Process files via an API, using the `hi_res` mode. This option is useful for increased performance and accuracy, but requires an API key and a hosted instance of unstructured. */ @@ -29,14 +31,14 @@ public class SourceSftpBulkViaAPI { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * The URL of the unstructured API to use */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_url") - private Optional apiUrl; + private Optional apiUrl; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -47,13 +49,13 @@ public class SourceSftpBulkViaAPI { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("parameters") - private Optional> parameters; + private Optional> parameters; @JsonCreator public SourceSftpBulkViaAPI( - @JsonProperty("api_key") Optional apiKey, - @JsonProperty("api_url") Optional apiUrl, - @JsonProperty("parameters") Optional> parameters) { + @JsonProperty("api_key") Optional apiKey, + @JsonProperty("api_url") Optional apiUrl, + @JsonProperty("parameters") Optional> parameters) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(apiUrl, "apiUrl"); Utils.checkNotNull(parameters, "parameters"); @@ -70,19 +72,17 @@ public SourceSftpBulkViaAPI() { /** * The API key to use matching the environment */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** * The URL of the unstructured API to use */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiUrl() { - return (Optional) apiUrl; + return apiUrl; } @SuppressWarnings("unchecked") @@ -96,8 +96,8 @@ public Optional mode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> parameters() { - return (Optional>) parameters; + public Optional> parameters() { + return (Optional>) parameters; } public final static Builder builder() { @@ -116,7 +116,7 @@ public SourceSftpBulkViaAPI withApiKey(String apiKey) { /** * The API key to use matching the environment */ - public SourceSftpBulkViaAPI withApiKey(Optional apiKey) { + public SourceSftpBulkViaAPI withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -134,7 +134,7 @@ public SourceSftpBulkViaAPI withApiUrl(String apiUrl) { /** * The URL of the unstructured API to use */ - public SourceSftpBulkViaAPI withApiUrl(Optional apiUrl) { + public SourceSftpBulkViaAPI withApiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -143,7 +143,7 @@ public SourceSftpBulkViaAPI withApiUrl(Optional apiUrl) { /** * List of parameters send to the API */ - public SourceSftpBulkViaAPI withParameters(java.util.List parameters) { + public SourceSftpBulkViaAPI withParameters(List parameters) { Utils.checkNotNull(parameters, "parameters"); this.parameters = Optional.ofNullable(parameters); return this; @@ -152,7 +152,7 @@ public SourceSftpBulkViaAPI withParameters(java.util.List> parameters) { + public SourceSftpBulkViaAPI withParameters(Optional> parameters) { Utils.checkNotNull(parameters, "parameters"); this.parameters = parameters; return this; @@ -168,15 +168,15 @@ public boolean equals(java.lang.Object o) { } SourceSftpBulkViaAPI other = (SourceSftpBulkViaAPI) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.apiUrl, other.apiUrl) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.parameters, other.parameters); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiUrl, other.apiUrl) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.parameters, other.parameters); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, apiUrl, mode, @@ -194,11 +194,11 @@ public String toString() { public final static class Builder { - private Optional apiKey; + private Optional apiKey; - private Optional apiUrl; + private Optional apiUrl; - private Optional> parameters = Optional.empty(); + private Optional> parameters = Optional.empty(); private Builder() { // force use of static builder() method @@ -216,7 +216,7 @@ public Builder apiKey(String apiKey) { /** * The API key to use matching the environment */ - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -234,7 +234,7 @@ public Builder apiUrl(String apiUrl) { /** * The URL of the unstructured API to use */ - public Builder apiUrl(Optional apiUrl) { + public Builder apiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -243,7 +243,7 @@ public Builder apiUrl(Optional apiUrl) { /** * List of parameters send to the API */ - public Builder parameters(java.util.List parameters) { + public Builder parameters(List parameters) { Utils.checkNotNull(parameters, "parameters"); this.parameters = Optional.ofNullable(parameters); return this; @@ -252,7 +252,7 @@ public Builder parameters(java.util.List /** * List of parameters send to the API */ - public Builder parameters(Optional> parameters) { + public Builder parameters(Optional> parameters) { Utils.checkNotNull(parameters, "parameters"); this.parameters = parameters; return this; @@ -264,24 +264,23 @@ public SourceSftpBulkViaAPI build() { } if (apiUrl == null) { apiUrl = _SINGLETON_VALUE_ApiUrl.value(); - } - return new SourceSftpBulkViaAPI( + } return new SourceSftpBulkViaAPI( apiKey, apiUrl, parameters); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = new LazySingletonValue<>( "api_key", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = new LazySingletonValue<>( "api_url", "\"https://api.unstructured.io\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpPasswordAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpPasswordAuthentication.java index 6b3bb28a2..ec34be8a0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpPasswordAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpPasswordAuthentication.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSftpPasswordAuthentication { @@ -77,13 +77,13 @@ public boolean equals(java.lang.Object o) { } SourceSftpPasswordAuthentication other = (SourceSftpPasswordAuthentication) o; return - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.authUserPassword, other.authUserPassword); + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.authUserPassword, other.authUserPassword); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authMethod, authUserPassword); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpSSHKeyAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpSSHKeyAuthentication.java index c90da84d0..e3aa5e059 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpSSHKeyAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpSSHKeyAuthentication.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSftpSSHKeyAuthentication { @@ -77,13 +77,13 @@ public boolean equals(java.lang.Object o) { } SourceSftpSSHKeyAuthentication other = (SourceSftpSSHKeyAuthentication) o; return - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.authSshKey, other.authSshKey); + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.authSshKey, other.authSshKey); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authMethod, authSshKey); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSftpSchemasAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceSftpSchemasAuthMethod.java index 07238891b..4590c1ef7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSftpSchemasAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSftpSchemasAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceSftpSchemasAuthMethod - Connect through ssh key diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSharetribe.java b/src/main/java/com/airbyte/api/models/shared/SourceSharetribe.java new file mode 100644 index 000000000..01b20934e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSharetribe.java @@ -0,0 +1,298 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceSharetribe { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("oauth_access_token") + private Optional oauthAccessToken; + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("oauth_token_expiry_date") + private Optional oauthTokenExpiryDate; + + @JsonProperty("sourceType") + private Sharetribe sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceSharetribe( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("oauth_access_token") Optional oauthAccessToken, + @JsonProperty("oauth_token_expiry_date") Optional oauthTokenExpiryDate, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + Utils.checkNotNull(startDate, "startDate"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.oauthAccessToken = oauthAccessToken; + this.oauthTokenExpiryDate = oauthTokenExpiryDate; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceSharetribe( + String clientId, + String clientSecret, + OffsetDateTime startDate) { + this(clientId, clientSecret, Optional.empty(), Optional.empty(), startDate); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonIgnore + public Optional oauthAccessToken() { + return oauthAccessToken; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonIgnore + public Optional oauthTokenExpiryDate() { + return oauthTokenExpiryDate; + } + + @JsonIgnore + public Sharetribe sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSharetribe withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceSharetribe withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceSharetribe withOauthAccessToken(String oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = Optional.ofNullable(oauthAccessToken); + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceSharetribe withOauthAccessToken(Optional oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = oauthAccessToken; + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceSharetribe withOauthTokenExpiryDate(OffsetDateTime oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = Optional.ofNullable(oauthTokenExpiryDate); + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceSharetribe withOauthTokenExpiryDate(Optional oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = oauthTokenExpiryDate; + return this; + } + + public SourceSharetribe withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSharetribe other = (SourceSharetribe) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.oauthAccessToken, other.oauthAccessToken) && + Objects.deepEquals(this.oauthTokenExpiryDate, other.oauthTokenExpiryDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + oauthAccessToken, + oauthTokenExpiryDate, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceSharetribe.class, + "clientId", clientId, + "clientSecret", clientSecret, + "oauthAccessToken", oauthAccessToken, + "oauthTokenExpiryDate", oauthTokenExpiryDate, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Optional oauthAccessToken = Optional.empty(); + + private Optional oauthTokenExpiryDate = Optional.empty(); + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthAccessToken(String oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = Optional.ofNullable(oauthAccessToken); + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthAccessToken(Optional oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = oauthAccessToken; + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthTokenExpiryDate(OffsetDateTime oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = Optional.ofNullable(oauthTokenExpiryDate); + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthTokenExpiryDate(Optional oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = oauthTokenExpiryDate; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceSharetribe build() { + return new SourceSharetribe( + clientId, + clientSecret, + oauthAccessToken, + oauthTokenExpiryDate, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"sharetribe\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceShippo.java b/src/main/java/com/airbyte/api/models/shared/SourceShippo.java new file mode 100644 index 000000000..dd60e5edb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceShippo.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceShippo { + + /** + * The bearer token used for making requests + */ + @JsonProperty("shippo_token") + private String shippoToken; + + @JsonProperty("sourceType") + private Shippo sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceShippo( + @JsonProperty("shippo_token") String shippoToken, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(shippoToken, "shippoToken"); + Utils.checkNotNull(startDate, "startDate"); + this.shippoToken = shippoToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * The bearer token used for making requests + */ + @JsonIgnore + public String shippoToken() { + return shippoToken; + } + + @JsonIgnore + public Shippo sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The bearer token used for making requests + */ + public SourceShippo withShippoToken(String shippoToken) { + Utils.checkNotNull(shippoToken, "shippoToken"); + this.shippoToken = shippoToken; + return this; + } + + public SourceShippo withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceShippo other = (SourceShippo) o; + return + Objects.deepEquals(this.shippoToken, other.shippoToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + shippoToken, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceShippo.class, + "shippoToken", shippoToken, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String shippoToken; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * The bearer token used for making requests + */ + public Builder shippoToken(String shippoToken) { + Utils.checkNotNull(shippoToken, "shippoToken"); + this.shippoToken = shippoToken; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceShippo build() { + return new SourceShippo( + shippoToken, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"shippo\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceShopify.java b/src/main/java/com/airbyte/api/models/shared/SourceShopify.java index dc1a828bf..461712cb8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceShopify.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceShopify.java @@ -1,25 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.Objects; import java.util.Optional; + public class SourceShopify { /** @@ -27,7 +30,7 @@ public class SourceShopify { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("bulk_window_in_days") - private Optional bulkWindowInDays; + private Optional bulkWindowInDays; /** * The authorization method to use to retrieve data from Shopify @@ -41,28 +44,28 @@ public class SourceShopify { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("fetch_transactions_user_id") - private Optional fetchTransactionsUserId; + private Optional fetchTransactionsUserId; /** * The threshold, after which the single BULK Job should be checkpointed. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("job_checkpoint_interval") - private Optional jobCheckpointInterval; + private Optional jobCheckpointInterval; /** * If enabled, the `Product Variants` stream attempts to include `Presentment prices` field (may affect the performance). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("job_product_variants_include_pres_prices") - private Optional jobProductVariantsIncludePresPrices; + private Optional jobProductVariantsIncludePresPrices; /** * The max time in seconds, after which the single BULK Job should be `CANCELED` and retried. The bigger the value the longer the BULK Job is allowed to run. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("job_termination_threshold") - private Optional jobTerminationThreshold; + private Optional jobTerminationThreshold; /** * The name of your Shopify store found in the URL. For example, if your URL was https://NAME.myshopify.com, then the name would be 'NAME' or 'NAME.myshopify.com'. @@ -78,18 +81,18 @@ public class SourceShopify { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceShopify( - @JsonProperty("bulk_window_in_days") Optional bulkWindowInDays, + @JsonProperty("bulk_window_in_days") Optional bulkWindowInDays, @JsonProperty("credentials") Optional credentials, - @JsonProperty("fetch_transactions_user_id") Optional fetchTransactionsUserId, - @JsonProperty("job_checkpoint_interval") Optional jobCheckpointInterval, - @JsonProperty("job_product_variants_include_pres_prices") Optional jobProductVariantsIncludePresPrices, - @JsonProperty("job_termination_threshold") Optional jobTerminationThreshold, + @JsonProperty("fetch_transactions_user_id") Optional fetchTransactionsUserId, + @JsonProperty("job_checkpoint_interval") Optional jobCheckpointInterval, + @JsonProperty("job_product_variants_include_pres_prices") Optional jobProductVariantsIncludePresPrices, + @JsonProperty("job_termination_threshold") Optional jobTerminationThreshold, @JsonProperty("shop") String shop, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(bulkWindowInDays, "bulkWindowInDays"); Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(fetchTransactionsUserId, "fetchTransactionsUserId"); @@ -117,10 +120,9 @@ public SourceShopify( /** * Defines what would be a date range per single BULK Job */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional bulkWindowInDays() { - return (Optional) bulkWindowInDays; + return bulkWindowInDays; } /** @@ -135,37 +137,33 @@ public Optional credentials() { /** * Defines which API type (REST/BULK) to use to fetch `Transactions` data. If you are a `Shopify Plus` user, leave the default value to speed up the fetch. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional fetchTransactionsUserId() { - return (Optional) fetchTransactionsUserId; + return fetchTransactionsUserId; } /** * The threshold, after which the single BULK Job should be checkpointed. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jobCheckpointInterval() { - return (Optional) jobCheckpointInterval; + return jobCheckpointInterval; } /** * If enabled, the `Product Variants` stream attempts to include `Presentment prices` field (may affect the performance). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jobProductVariantsIncludePresPrices() { - return (Optional) jobProductVariantsIncludePresPrices; + return jobProductVariantsIncludePresPrices; } /** * The max time in seconds, after which the single BULK Job should be `CANCELED` and retried. The bigger the value the longer the BULK Job is allowed to run. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jobTerminationThreshold() { - return (Optional) jobTerminationThreshold; + return jobTerminationThreshold; } /** @@ -184,10 +182,9 @@ public SourceShopifyShopify sourceType() { /** * The date you would like to replicate data from. Format: YYYY-MM-DD. Any data before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -206,7 +203,7 @@ public SourceShopify withBulkWindowInDays(long bulkWindowInDays) { /** * Defines what would be a date range per single BULK Job */ - public SourceShopify withBulkWindowInDays(Optional bulkWindowInDays) { + public SourceShopify withBulkWindowInDays(Optional bulkWindowInDays) { Utils.checkNotNull(bulkWindowInDays, "bulkWindowInDays"); this.bulkWindowInDays = bulkWindowInDays; return this; @@ -242,7 +239,7 @@ public SourceShopify withFetchTransactionsUserId(boolean fetchTransactionsUserId /** * Defines which API type (REST/BULK) to use to fetch `Transactions` data. If you are a `Shopify Plus` user, leave the default value to speed up the fetch. */ - public SourceShopify withFetchTransactionsUserId(Optional fetchTransactionsUserId) { + public SourceShopify withFetchTransactionsUserId(Optional fetchTransactionsUserId) { Utils.checkNotNull(fetchTransactionsUserId, "fetchTransactionsUserId"); this.fetchTransactionsUserId = fetchTransactionsUserId; return this; @@ -260,7 +257,7 @@ public SourceShopify withJobCheckpointInterval(long jobCheckpointInterval) { /** * The threshold, after which the single BULK Job should be checkpointed. */ - public SourceShopify withJobCheckpointInterval(Optional jobCheckpointInterval) { + public SourceShopify withJobCheckpointInterval(Optional jobCheckpointInterval) { Utils.checkNotNull(jobCheckpointInterval, "jobCheckpointInterval"); this.jobCheckpointInterval = jobCheckpointInterval; return this; @@ -278,7 +275,7 @@ public SourceShopify withJobProductVariantsIncludePresPrices(boolean jobProductV /** * If enabled, the `Product Variants` stream attempts to include `Presentment prices` field (may affect the performance). */ - public SourceShopify withJobProductVariantsIncludePresPrices(Optional jobProductVariantsIncludePresPrices) { + public SourceShopify withJobProductVariantsIncludePresPrices(Optional jobProductVariantsIncludePresPrices) { Utils.checkNotNull(jobProductVariantsIncludePresPrices, "jobProductVariantsIncludePresPrices"); this.jobProductVariantsIncludePresPrices = jobProductVariantsIncludePresPrices; return this; @@ -296,7 +293,7 @@ public SourceShopify withJobTerminationThreshold(long jobTerminationThreshold) { /** * The max time in seconds, after which the single BULK Job should be `CANCELED` and retried. The bigger the value the longer the BULK Job is allowed to run. */ - public SourceShopify withJobTerminationThreshold(Optional jobTerminationThreshold) { + public SourceShopify withJobTerminationThreshold(Optional jobTerminationThreshold) { Utils.checkNotNull(jobTerminationThreshold, "jobTerminationThreshold"); this.jobTerminationThreshold = jobTerminationThreshold; return this; @@ -323,7 +320,7 @@ public SourceShopify withStartDate(LocalDate startDate) { /** * The date you would like to replicate data from. Format: YYYY-MM-DD. Any data before this date will not be replicated. */ - public SourceShopify withStartDate(Optional startDate) { + public SourceShopify withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -339,20 +336,20 @@ public boolean equals(java.lang.Object o) { } SourceShopify other = (SourceShopify) o; return - java.util.Objects.deepEquals(this.bulkWindowInDays, other.bulkWindowInDays) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.fetchTransactionsUserId, other.fetchTransactionsUserId) && - java.util.Objects.deepEquals(this.jobCheckpointInterval, other.jobCheckpointInterval) && - java.util.Objects.deepEquals(this.jobProductVariantsIncludePresPrices, other.jobProductVariantsIncludePresPrices) && - java.util.Objects.deepEquals(this.jobTerminationThreshold, other.jobTerminationThreshold) && - java.util.Objects.deepEquals(this.shop, other.shop) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.bulkWindowInDays, other.bulkWindowInDays) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.fetchTransactionsUserId, other.fetchTransactionsUserId) && + Objects.deepEquals(this.jobCheckpointInterval, other.jobCheckpointInterval) && + Objects.deepEquals(this.jobProductVariantsIncludePresPrices, other.jobProductVariantsIncludePresPrices) && + Objects.deepEquals(this.jobTerminationThreshold, other.jobTerminationThreshold) && + Objects.deepEquals(this.shop, other.shop) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( bulkWindowInDays, credentials, fetchTransactionsUserId, @@ -380,21 +377,21 @@ public String toString() { public final static class Builder { - private Optional bulkWindowInDays; + private Optional bulkWindowInDays; private Optional credentials = Optional.empty(); - private Optional fetchTransactionsUserId; + private Optional fetchTransactionsUserId; - private Optional jobCheckpointInterval; + private Optional jobCheckpointInterval; - private Optional jobProductVariantsIncludePresPrices; + private Optional jobProductVariantsIncludePresPrices; - private Optional jobTerminationThreshold; + private Optional jobTerminationThreshold; private String shop; - private Optional startDate; + private Optional startDate; private Builder() { // force use of static builder() method @@ -412,7 +409,7 @@ public Builder bulkWindowInDays(long bulkWindowInDays) { /** * Defines what would be a date range per single BULK Job */ - public Builder bulkWindowInDays(Optional bulkWindowInDays) { + public Builder bulkWindowInDays(Optional bulkWindowInDays) { Utils.checkNotNull(bulkWindowInDays, "bulkWindowInDays"); this.bulkWindowInDays = bulkWindowInDays; return this; @@ -448,7 +445,7 @@ public Builder fetchTransactionsUserId(boolean fetchTransactionsUserId) { /** * Defines which API type (REST/BULK) to use to fetch `Transactions` data. If you are a `Shopify Plus` user, leave the default value to speed up the fetch. */ - public Builder fetchTransactionsUserId(Optional fetchTransactionsUserId) { + public Builder fetchTransactionsUserId(Optional fetchTransactionsUserId) { Utils.checkNotNull(fetchTransactionsUserId, "fetchTransactionsUserId"); this.fetchTransactionsUserId = fetchTransactionsUserId; return this; @@ -466,7 +463,7 @@ public Builder jobCheckpointInterval(long jobCheckpointInterval) { /** * The threshold, after which the single BULK Job should be checkpointed. */ - public Builder jobCheckpointInterval(Optional jobCheckpointInterval) { + public Builder jobCheckpointInterval(Optional jobCheckpointInterval) { Utils.checkNotNull(jobCheckpointInterval, "jobCheckpointInterval"); this.jobCheckpointInterval = jobCheckpointInterval; return this; @@ -484,7 +481,7 @@ public Builder jobProductVariantsIncludePresPrices(boolean jobProductVariantsInc /** * If enabled, the `Product Variants` stream attempts to include `Presentment prices` field (may affect the performance). */ - public Builder jobProductVariantsIncludePresPrices(Optional jobProductVariantsIncludePresPrices) { + public Builder jobProductVariantsIncludePresPrices(Optional jobProductVariantsIncludePresPrices) { Utils.checkNotNull(jobProductVariantsIncludePresPrices, "jobProductVariantsIncludePresPrices"); this.jobProductVariantsIncludePresPrices = jobProductVariantsIncludePresPrices; return this; @@ -502,7 +499,7 @@ public Builder jobTerminationThreshold(long jobTerminationThreshold) { /** * The max time in seconds, after which the single BULK Job should be `CANCELED` and retried. The bigger the value the longer the BULK Job is allowed to run. */ - public Builder jobTerminationThreshold(Optional jobTerminationThreshold) { + public Builder jobTerminationThreshold(Optional jobTerminationThreshold) { Utils.checkNotNull(jobTerminationThreshold, "jobTerminationThreshold"); this.jobTerminationThreshold = jobTerminationThreshold; return this; @@ -529,7 +526,7 @@ public Builder startDate(LocalDate startDate) { /** * The date you would like to replicate data from. Format: YYYY-MM-DD. Any data before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -553,8 +550,7 @@ public SourceShopify build() { } if (startDate == null) { startDate = _SINGLETON_VALUE_StartDate.value(); - } - return new SourceShopify( + } return new SourceShopify( bulkWindowInDays, credentials, fetchTransactionsUserId, @@ -565,35 +561,35 @@ public SourceShopify build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_BulkWindowInDays = + private static final LazySingletonValue> _SINGLETON_VALUE_BulkWindowInDays = new LazySingletonValue<>( "bulk_window_in_days", "30", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_FetchTransactionsUserId = + private static final LazySingletonValue> _SINGLETON_VALUE_FetchTransactionsUserId = new LazySingletonValue<>( "fetch_transactions_user_id", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_JobCheckpointInterval = + private static final LazySingletonValue> _SINGLETON_VALUE_JobCheckpointInterval = new LazySingletonValue<>( "job_checkpoint_interval", "100000", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_JobProductVariantsIncludePresPrices = + private static final LazySingletonValue> _SINGLETON_VALUE_JobProductVariantsIncludePresPrices = new LazySingletonValue<>( "job_product_variants_include_pres_prices", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_JobTerminationThreshold = + private static final LazySingletonValue> _SINGLETON_VALUE_JobTerminationThreshold = new LazySingletonValue<>( "job_termination_threshold", "7200", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( @@ -601,11 +597,11 @@ public SourceShopify build() { "\"shopify\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2020-01-01\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceShopifyAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceShopifyAuthMethod.java index f547af42d..64959af82 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceShopifyAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceShopifyAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceShopifyAuthMethod { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceShopifyOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceShopifyOAuth20.java index 01f82e5f9..3387d7ce0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceShopifyOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceShopifyOAuth20.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * SourceShopifyOAuth20 - OAuth2.0 */ @@ -29,7 +29,7 @@ public class SourceShopifyOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_token") - private Optional accessToken; + private Optional accessToken; @JsonProperty("auth_method") private SourceShopifyAuthMethod authMethod; @@ -39,20 +39,20 @@ public class SourceShopifyOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of the Shopify developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public SourceShopifyOAuth20( - @JsonProperty("access_token") Optional accessToken, - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("access_token") Optional accessToken, + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -69,10 +69,9 @@ public SourceShopifyOAuth20() { /** * The Access Token for making authenticated requests. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessToken() { - return (Optional) accessToken; + return accessToken; } @JsonIgnore @@ -83,19 +82,17 @@ public SourceShopifyAuthMethod authMethod() { /** * The Client ID of the Shopify developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of the Shopify developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -114,7 +111,7 @@ public SourceShopifyOAuth20 withAccessToken(String accessToken) { /** * The Access Token for making authenticated requests. */ - public SourceShopifyOAuth20 withAccessToken(Optional accessToken) { + public SourceShopifyOAuth20 withAccessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -132,7 +129,7 @@ public SourceShopifyOAuth20 withClientId(String clientId) { /** * The Client ID of the Shopify developer application. */ - public SourceShopifyOAuth20 withClientId(Optional clientId) { + public SourceShopifyOAuth20 withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -150,7 +147,7 @@ public SourceShopifyOAuth20 withClientSecret(String clientSecret) { /** * The Client Secret of the Shopify developer application. */ - public SourceShopifyOAuth20 withClientSecret(Optional clientSecret) { + public SourceShopifyOAuth20 withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -166,15 +163,15 @@ public boolean equals(java.lang.Object o) { } SourceShopifyOAuth20 other = (SourceShopifyOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authMethod, clientId, @@ -192,11 +189,11 @@ public String toString() { public final static class Builder { - private Optional accessToken = Optional.empty(); + private Optional accessToken = Optional.empty(); - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -214,7 +211,7 @@ public Builder accessToken(String accessToken) { /** * The Access Token for making authenticated requests. */ - public Builder accessToken(Optional accessToken) { + public Builder accessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -232,7 +229,7 @@ public Builder clientId(String clientId) { /** * The Client ID of the Shopify developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -250,7 +247,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of the Shopify developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceShopifySchemasAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceShopifySchemasAuthMethod.java index e87c3e072..9c907bba9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceShopifySchemasAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceShopifySchemasAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceShopifySchemasAuthMethod { API_PASSWORD("api_password"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceShopifyShopify.java b/src/main/java/com/airbyte/api/models/shared/SourceShopifyShopify.java index 95e509ff8..c7d4bbd32 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceShopifyShopify.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceShopifyShopify.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceShopifyShopify { SHOPIFY("shopify"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceShortcut.java b/src/main/java/com/airbyte/api/models/shared/SourceShortcut.java index afd1be92e..4e19c58e5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceShortcut.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceShortcut.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceShortcut { @JsonProperty("api_key_2") @@ -32,7 +30,7 @@ public class SourceShortcut { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("query") - private Optional query; + private Optional query; @JsonProperty("sourceType") private Shortcut sourceType; @@ -43,7 +41,7 @@ public class SourceShortcut { @JsonCreator public SourceShortcut( @JsonProperty("api_key_2") String apiKey2, - @JsonProperty("query") Optional query, + @JsonProperty("query") Optional query, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(apiKey2, "apiKey2"); Utils.checkNotNull(query, "query"); @@ -68,10 +66,9 @@ public String apiKey2() { /** * Query for searching as defined in `https://help.shortcut.com/hc/en-us/articles/360000046646-Searching-in-Shortcut-Using-Search-Operators` */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional query() { - return (Optional) query; + return query; } @JsonIgnore @@ -106,7 +103,7 @@ public SourceShortcut withQuery(String query) { /** * Query for searching as defined in `https://help.shortcut.com/hc/en-us/articles/360000046646-Searching-in-Shortcut-Using-Search-Operators` */ - public SourceShortcut withQuery(Optional query) { + public SourceShortcut withQuery(Optional query) { Utils.checkNotNull(query, "query"); this.query = query; return this; @@ -128,15 +125,15 @@ public boolean equals(java.lang.Object o) { } SourceShortcut other = (SourceShortcut) o; return - java.util.Objects.deepEquals(this.apiKey2, other.apiKey2) && - java.util.Objects.deepEquals(this.query, other.query) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey2, other.apiKey2) && + Objects.deepEquals(this.query, other.query) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey2, query, sourceType, @@ -156,7 +153,7 @@ public final static class Builder { private String apiKey2; - private Optional query; + private Optional query; private OffsetDateTime startDate; @@ -182,7 +179,7 @@ public Builder query(String query) { /** * Query for searching as defined in `https://help.shortcut.com/hc/en-us/articles/360000046646-Searching-in-Shortcut-Using-Search-Operators` */ - public Builder query(Optional query) { + public Builder query(Optional query) { Utils.checkNotNull(query, "query"); this.query = query; return this; @@ -197,18 +194,17 @@ public Builder startDate(OffsetDateTime startDate) { public SourceShortcut build() { if (query == null) { query = _SINGLETON_VALUE_Query.value(); - } - return new SourceShortcut( + } return new SourceShortcut( apiKey2, query, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_Query = + private static final LazySingletonValue> _SINGLETON_VALUE_Query = new LazySingletonValue<>( "query", "\"title:Our first Epic\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceShortio.java b/src/main/java/com/airbyte/api/models/shared/SourceShortio.java index 424b412f8..42cebb57a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceShortio.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceShortio.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceShortio { @@ -114,15 +114,15 @@ public boolean equals(java.lang.Object o) { } SourceShortio other = (SourceShortio) o; return - java.util.Objects.deepEquals(this.domainId, other.domainId) && - java.util.Objects.deepEquals(this.secretKey, other.secretKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.domainId, other.domainId) && + Objects.deepEquals(this.secretKey, other.secretKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( domainId, secretKey, sourceType, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSigmaComputing.java b/src/main/java/com/airbyte/api/models/shared/SourceSigmaComputing.java new file mode 100644 index 000000000..c0ff1f49b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSigmaComputing.java @@ -0,0 +1,340 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceSigmaComputing { + + /** + * The base url of your sigma organization + */ + @JsonProperty("base_url") + private String baseUrl; + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token") + private String clientRefreshToken; + + @JsonProperty("client_secret") + private String clientSecret; + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("oauth_access_token") + private Optional oauthAccessToken; + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("oauth_token_expiry_date") + private Optional oauthTokenExpiryDate; + + @JsonProperty("sourceType") + private SigmaComputing sourceType; + + @JsonCreator + public SourceSigmaComputing( + @JsonProperty("base_url") String baseUrl, + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token") String clientRefreshToken, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("oauth_access_token") Optional oauthAccessToken, + @JsonProperty("oauth_token_expiry_date") Optional oauthTokenExpiryDate) { + Utils.checkNotNull(baseUrl, "baseUrl"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.baseUrl = baseUrl; + this.clientId = clientId; + this.clientRefreshToken = clientRefreshToken; + this.clientSecret = clientSecret; + this.oauthAccessToken = oauthAccessToken; + this.oauthTokenExpiryDate = oauthTokenExpiryDate; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceSigmaComputing( + String baseUrl, + String clientId, + String clientRefreshToken, + String clientSecret) { + this(baseUrl, clientId, clientRefreshToken, clientSecret, Optional.empty(), Optional.empty()); + } + + /** + * The base url of your sigma organization + */ + @JsonIgnore + public String baseUrl() { + return baseUrl; + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken() { + return clientRefreshToken; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonIgnore + public Optional oauthAccessToken() { + return oauthAccessToken; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + @JsonIgnore + public Optional oauthTokenExpiryDate() { + return oauthTokenExpiryDate; + } + + @JsonIgnore + public SigmaComputing sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The base url of your sigma organization + */ + public SourceSigmaComputing withBaseUrl(String baseUrl) { + Utils.checkNotNull(baseUrl, "baseUrl"); + this.baseUrl = baseUrl; + return this; + } + + public SourceSigmaComputing withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceSigmaComputing withClientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public SourceSigmaComputing withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceSigmaComputing withOauthAccessToken(String oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = Optional.ofNullable(oauthAccessToken); + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceSigmaComputing withOauthAccessToken(Optional oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = oauthAccessToken; + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceSigmaComputing withOauthTokenExpiryDate(OffsetDateTime oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = Optional.ofNullable(oauthTokenExpiryDate); + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public SourceSigmaComputing withOauthTokenExpiryDate(Optional oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = oauthTokenExpiryDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSigmaComputing other = (SourceSigmaComputing) o; + return + Objects.deepEquals(this.baseUrl, other.baseUrl) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken, other.clientRefreshToken) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.oauthAccessToken, other.oauthAccessToken) && + Objects.deepEquals(this.oauthTokenExpiryDate, other.oauthTokenExpiryDate) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + baseUrl, + clientId, + clientRefreshToken, + clientSecret, + oauthAccessToken, + oauthTokenExpiryDate, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceSigmaComputing.class, + "baseUrl", baseUrl, + "clientId", clientId, + "clientRefreshToken", clientRefreshToken, + "clientSecret", clientSecret, + "oauthAccessToken", oauthAccessToken, + "oauthTokenExpiryDate", oauthTokenExpiryDate, + "sourceType", sourceType); + } + + public final static class Builder { + + private String baseUrl; + + private String clientId; + + private String clientRefreshToken; + + private String clientSecret; + + private Optional oauthAccessToken = Optional.empty(); + + private Optional oauthTokenExpiryDate = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * The base url of your sigma organization + */ + public Builder baseUrl(String baseUrl) { + Utils.checkNotNull(baseUrl, "baseUrl"); + this.baseUrl = baseUrl; + return this; + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthAccessToken(String oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = Optional.ofNullable(oauthAccessToken); + return this; + } + + /** + * The current access token. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthAccessToken(Optional oauthAccessToken) { + Utils.checkNotNull(oauthAccessToken, "oauthAccessToken"); + this.oauthAccessToken = oauthAccessToken; + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthTokenExpiryDate(OffsetDateTime oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = Optional.ofNullable(oauthTokenExpiryDate); + return this; + } + + /** + * The date the current access token expires in. This field might be overridden by the connector based on the token refresh endpoint response. + */ + public Builder oauthTokenExpiryDate(Optional oauthTokenExpiryDate) { + Utils.checkNotNull(oauthTokenExpiryDate, "oauthTokenExpiryDate"); + this.oauthTokenExpiryDate = oauthTokenExpiryDate; + return this; + } + + public SourceSigmaComputing build() { + return new SourceSigmaComputing( + baseUrl, + clientId, + clientRefreshToken, + clientSecret, + oauthAccessToken, + oauthTokenExpiryDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"sigma-computing\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSimfin.java b/src/main/java/com/airbyte/api/models/shared/SourceSimfin.java new file mode 100644 index 000000000..bed68fd06 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSimfin.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceSimfin { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Simfin sourceType; + + @JsonCreator + public SourceSimfin( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Simfin sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSimfin withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSimfin other = (SourceSimfin) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceSimfin.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceSimfin build() { + return new SourceSimfin( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"simfin\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSimplecast.java b/src/main/java/com/airbyte/api/models/shared/SourceSimplecast.java new file mode 100644 index 000000000..ba3cb7c67 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSimplecast.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceSimplecast { + + /** + * API token to use. Find it at your Private Apps page on the Simplecast dashboard. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private Simplecast sourceType; + + @JsonCreator + public SourceSimplecast( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API token to use. Find it at your Private Apps page on the Simplecast dashboard. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public Simplecast sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token to use. Find it at your Private Apps page on the Simplecast dashboard. + */ + public SourceSimplecast withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSimplecast other = (SourceSimplecast) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceSimplecast.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * API token to use. Find it at your Private Apps page on the Simplecast dashboard. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceSimplecast build() { + return new SourceSimplecast( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"simplecast\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSimplesat.java b/src/main/java/com/airbyte/api/models/shared/SourceSimplesat.java new file mode 100644 index 000000000..2330e33f8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSimplesat.java @@ -0,0 +1,238 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceSimplesat { + + @JsonProperty("api_key") + private String apiKey; + + /** + * Date till when the sync should end + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("end_date") + private Optional endDate; + + @JsonProperty("sourceType") + private Simplesat sourceType; + + /** + * Date from when the sync should start + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonCreator + public SourceSimplesat( + @JsonProperty("api_key") String apiKey, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("start_date") Optional startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(endDate, "endDate"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.endDate = endDate; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceSimplesat( + String apiKey) { + this(apiKey, Optional.empty(), Optional.empty()); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Date till when the sync should end + */ + @JsonIgnore + public Optional endDate() { + return endDate; + } + + @JsonIgnore + public Simplesat sourceType() { + return sourceType; + } + + /** + * Date from when the sync should start + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSimplesat withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Date till when the sync should end + */ + public SourceSimplesat withEndDate(OffsetDateTime endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * Date till when the sync should end + */ + public SourceSimplesat withEndDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * Date from when the sync should start + */ + public SourceSimplesat withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Date from when the sync should start + */ + public SourceSimplesat withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSimplesat other = (SourceSimplesat) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + endDate, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceSimplesat.class, + "apiKey", apiKey, + "endDate", endDate, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional endDate = Optional.empty(); + + private Optional startDate = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Date till when the sync should end + */ + public Builder endDate(OffsetDateTime endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = Optional.ofNullable(endDate); + return this; + } + + /** + * Date till when the sync should end + */ + public Builder endDate(Optional endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + /** + * Date from when the sync should start + */ + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * Date from when the sync should start + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceSimplesat build() { + return new SourceSimplesat( + apiKey, + endDate, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"simplesat\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSlack.java b/src/main/java/com/airbyte/api/models/shared/SourceSlack.java index 3f19f5dee..6190bdc33 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSlack.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSlack.java @@ -1,27 +1,29 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSlack { /** @@ -29,7 +31,7 @@ public class SourceSlack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("channel_filter") - private Optional> channelFilter; + private Optional> channelFilter; /** * Choose how to authenticate into Slack @@ -43,21 +45,21 @@ public class SourceSlack { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("include_private_channels") - private Optional includePrivateChannels; + private Optional includePrivateChannels; /** * Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("join_channels") - private Optional joinChannels; + private Optional joinChannels; /** * How far into the past to look for messages in threads, default is 0 days */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window") - private Optional lookbackWindow; + private Optional lookbackWindow; @JsonProperty("sourceType") private SourceSlackSlack sourceType; @@ -70,11 +72,11 @@ public class SourceSlack { @JsonCreator public SourceSlack( - @JsonProperty("channel_filter") Optional> channelFilter, + @JsonProperty("channel_filter") Optional> channelFilter, @JsonProperty("credentials") Optional credentials, - @JsonProperty("include_private_channels") Optional includePrivateChannels, - @JsonProperty("join_channels") Optional joinChannels, - @JsonProperty("lookback_window") Optional lookbackWindow, + @JsonProperty("include_private_channels") Optional includePrivateChannels, + @JsonProperty("join_channels") Optional joinChannels, + @JsonProperty("lookback_window") Optional lookbackWindow, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(channelFilter, "channelFilter"); Utils.checkNotNull(credentials, "credentials"); @@ -101,8 +103,8 @@ public SourceSlack( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> channelFilter() { - return (Optional>) channelFilter; + public Optional> channelFilter() { + return (Optional>) channelFilter; } /** @@ -117,28 +119,25 @@ public Optional credentials() { /** * Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includePrivateChannels() { - return (Optional) includePrivateChannels; + return includePrivateChannels; } /** * Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional joinChannels() { - return (Optional) joinChannels; + return joinChannels; } /** * How far into the past to look for messages in threads, default is 0 days */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindow() { - return (Optional) lookbackWindow; + return lookbackWindow; } @JsonIgnore @@ -161,7 +160,7 @@ public final static Builder builder() { /** * A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. */ - public SourceSlack withChannelFilter(java.util.List channelFilter) { + public SourceSlack withChannelFilter(List channelFilter) { Utils.checkNotNull(channelFilter, "channelFilter"); this.channelFilter = Optional.ofNullable(channelFilter); return this; @@ -170,7 +169,7 @@ public SourceSlack withChannelFilter(java.util.List channelFilter) { /** * A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. */ - public SourceSlack withChannelFilter(Optional> channelFilter) { + public SourceSlack withChannelFilter(Optional> channelFilter) { Utils.checkNotNull(channelFilter, "channelFilter"); this.channelFilter = channelFilter; return this; @@ -206,7 +205,7 @@ public SourceSlack withIncludePrivateChannels(boolean includePrivateChannels) { /** * Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. */ - public SourceSlack withIncludePrivateChannels(Optional includePrivateChannels) { + public SourceSlack withIncludePrivateChannels(Optional includePrivateChannels) { Utils.checkNotNull(includePrivateChannels, "includePrivateChannels"); this.includePrivateChannels = includePrivateChannels; return this; @@ -224,7 +223,7 @@ public SourceSlack withJoinChannels(boolean joinChannels) { /** * Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages. */ - public SourceSlack withJoinChannels(Optional joinChannels) { + public SourceSlack withJoinChannels(Optional joinChannels) { Utils.checkNotNull(joinChannels, "joinChannels"); this.joinChannels = joinChannels; return this; @@ -242,7 +241,7 @@ public SourceSlack withLookbackWindow(long lookbackWindow) { /** * How far into the past to look for messages in threads, default is 0 days */ - public SourceSlack withLookbackWindow(Optional lookbackWindow) { + public SourceSlack withLookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -267,18 +266,18 @@ public boolean equals(java.lang.Object o) { } SourceSlack other = (SourceSlack) o; return - java.util.Objects.deepEquals(this.channelFilter, other.channelFilter) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.includePrivateChannels, other.includePrivateChannels) && - java.util.Objects.deepEquals(this.joinChannels, other.joinChannels) && - java.util.Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.channelFilter, other.channelFilter) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.includePrivateChannels, other.includePrivateChannels) && + Objects.deepEquals(this.joinChannels, other.joinChannels) && + Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( channelFilter, credentials, includePrivateChannels, @@ -302,15 +301,15 @@ public String toString() { public final static class Builder { - private Optional> channelFilter = Optional.empty(); + private Optional> channelFilter = Optional.empty(); private Optional credentials = Optional.empty(); - private Optional includePrivateChannels; + private Optional includePrivateChannels; - private Optional joinChannels; + private Optional joinChannels; - private Optional lookbackWindow; + private Optional lookbackWindow; private OffsetDateTime startDate; @@ -321,7 +320,7 @@ private Builder() { /** * A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. */ - public Builder channelFilter(java.util.List channelFilter) { + public Builder channelFilter(List channelFilter) { Utils.checkNotNull(channelFilter, "channelFilter"); this.channelFilter = Optional.ofNullable(channelFilter); return this; @@ -330,7 +329,7 @@ public Builder channelFilter(java.util.List channelFilter) { /** * A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. */ - public Builder channelFilter(Optional> channelFilter) { + public Builder channelFilter(Optional> channelFilter) { Utils.checkNotNull(channelFilter, "channelFilter"); this.channelFilter = channelFilter; return this; @@ -366,7 +365,7 @@ public Builder includePrivateChannels(boolean includePrivateChannels) { /** * Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. */ - public Builder includePrivateChannels(Optional includePrivateChannels) { + public Builder includePrivateChannels(Optional includePrivateChannels) { Utils.checkNotNull(includePrivateChannels, "includePrivateChannels"); this.includePrivateChannels = includePrivateChannels; return this; @@ -384,7 +383,7 @@ public Builder joinChannels(boolean joinChannels) { /** * Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages. */ - public Builder joinChannels(Optional joinChannels) { + public Builder joinChannels(Optional joinChannels) { Utils.checkNotNull(joinChannels, "joinChannels"); this.joinChannels = joinChannels; return this; @@ -402,7 +401,7 @@ public Builder lookbackWindow(long lookbackWindow) { /** * How far into the past to look for messages in threads, default is 0 days */ - public Builder lookbackWindow(Optional lookbackWindow) { + public Builder lookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -426,8 +425,7 @@ public SourceSlack build() { } if (lookbackWindow == null) { lookbackWindow = _SINGLETON_VALUE_LookbackWindow.value(); - } - return new SourceSlack( + } return new SourceSlack( channelFilter, credentials, includePrivateChannels, @@ -436,23 +434,23 @@ public SourceSlack build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_IncludePrivateChannels = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludePrivateChannels = new LazySingletonValue<>( "include_private_channels", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_JoinChannels = + private static final LazySingletonValue> _SINGLETON_VALUE_JoinChannels = new LazySingletonValue<>( "join_channels", "true", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = new LazySingletonValue<>( "lookback_window", "0", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSlackAPIToken.java b/src/main/java/com/airbyte/api/models/shared/SourceSlackAPIToken.java index b73a73a13..1d4bf8f7c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSlackAPIToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSlackAPIToken.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSlackAPIToken { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceSlackAPIToken other = (SourceSlackAPIToken) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.optionTitle, other.optionTitle); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.optionTitle, other.optionTitle); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, optionTitle); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSlackAuthenticationMechanism.java b/src/main/java/com/airbyte/api/models/shared/SourceSlackAuthenticationMechanism.java index bc1193d26..39b71da12 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSlackAuthenticationMechanism.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSlackAuthenticationMechanism.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceSlackAuthenticationMechanism - Choose how to authenticate into Slack @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceSlackAuthenticationMechanism._Deserializer.class) public class SourceSlackAuthenticationMechanism { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSlackAuthenticationMechanism(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceSlackAuthenticationMechanism of(SourceSlackAPIToken value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SignInViaSlackOAuth}
    • - *
    • {@code SourceSlackAPIToken}
    • + *
    • {@code com.airbyte.api.models.shared.SignInViaSlackOAuth}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSlackAPIToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceSlackAuthenticationMechanism other = (SourceSlackAuthenticationMechanism) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSlackAuthenticationMechanism.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSlackAuthenticationMechanism.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSlackOptionTitle.java b/src/main/java/com/airbyte/api/models/shared/SourceSlackOptionTitle.java index e30740e28..b04b86f35 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSlackOptionTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSlackOptionTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSlackOptionTitle { DEFAULT_O_AUTH20_AUTHORIZATION("Default OAuth2.0 authorization"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSlackSchemasOptionTitle.java b/src/main/java/com/airbyte/api/models/shared/SourceSlackSchemasOptionTitle.java index 4f189098b..2dc8739ce 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSlackSchemasOptionTitle.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSlackSchemasOptionTitle.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSlackSchemasOptionTitle { API_TOKEN_CREDENTIALS("API Token Credentials"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSlackSlack.java b/src/main/java/com/airbyte/api/models/shared/SourceSlackSlack.java index 38d5c87a1..fdd91cd9e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSlackSlack.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSlackSlack.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSlackSlack { SLACK("slack"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmaily.java b/src/main/java/com/airbyte/api/models/shared/SourceSmaily.java index b75753973..96446d9a5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSmaily.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmaily.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSmaily { @@ -123,15 +123,15 @@ public boolean equals(java.lang.Object o) { } SourceSmaily other = (SourceSmaily) o; return - java.util.Objects.deepEquals(this.apiPassword, other.apiPassword) && - java.util.Objects.deepEquals(this.apiSubdomain, other.apiSubdomain) && - java.util.Objects.deepEquals(this.apiUsername, other.apiUsername) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiPassword, other.apiPassword) && + Objects.deepEquals(this.apiSubdomain, other.apiSubdomain) && + Objects.deepEquals(this.apiUsername, other.apiUsername) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiPassword, apiSubdomain, apiUsername, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java b/src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java index b522c5e82..3030f459a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmartengage.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSmartengage { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceSmartengage other = (SourceSmartengage) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmartreach.java b/src/main/java/com/airbyte/api/models/shared/SourceSmartreach.java new file mode 100644 index 000000000..6f686afc5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmartreach.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceSmartreach { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Smartreach sourceType; + + @JsonProperty("teamid") + private double teamid; + + @JsonCreator + public SourceSmartreach( + @JsonProperty("api_key") String apiKey, + @JsonProperty("teamid") double teamid) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(teamid, "teamid"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.teamid = teamid; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Smartreach sourceType() { + return sourceType; + } + + @JsonIgnore + public double teamid() { + return teamid; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSmartreach withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceSmartreach withTeamid(double teamid) { + Utils.checkNotNull(teamid, "teamid"); + this.teamid = teamid; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSmartreach other = (SourceSmartreach) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.teamid, other.teamid); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + teamid); + } + + @Override + public String toString() { + return Utils.toString(SourceSmartreach.class, + "apiKey", apiKey, + "sourceType", sourceType, + "teamid", teamid); + } + + public final static class Builder { + + private String apiKey; + + private Double teamid; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder teamid(double teamid) { + Utils.checkNotNull(teamid, "teamid"); + this.teamid = teamid; + return this; + } + + public SourceSmartreach build() { + return new SourceSmartreach( + apiKey, + teamid); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"smartreach\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java index 4b082ac8b..b845ba6c3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheets.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSmartsheets { @JsonProperty("credentials") @@ -29,7 +31,7 @@ public class SourceSmartsheets { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("metadata_fields") - private Optional> metadataFields; + private Optional> metadataFields; @JsonProperty("sourceType") private SourceSmartsheetsSmartsheets sourceType; @@ -43,7 +45,7 @@ public class SourceSmartsheets { @JsonCreator public SourceSmartsheets( @JsonProperty("credentials") SourceSmartsheetsAuthorizationMethod credentials, - @JsonProperty("metadata_fields") Optional> metadataFields, + @JsonProperty("metadata_fields") Optional> metadataFields, @JsonProperty("spreadsheet_id") String spreadsheetId) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(metadataFields, "metadataFields"); @@ -70,8 +72,8 @@ public SourceSmartsheetsAuthorizationMethod credentials() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> metadataFields() { - return (Optional>) metadataFields; + public Optional> metadataFields() { + return (Optional>) metadataFields; } @JsonIgnore @@ -100,7 +102,7 @@ public SourceSmartsheets withCredentials(SourceSmartsheetsAuthorizationMethod cr /** * A List of available columns which metadata can be pulled from. */ - public SourceSmartsheets withMetadataFields(java.util.List metadataFields) { + public SourceSmartsheets withMetadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -109,7 +111,7 @@ public SourceSmartsheets withMetadataFields(java.util.List metadataF /** * A List of available columns which metadata can be pulled from. */ - public SourceSmartsheets withMetadataFields(Optional> metadataFields) { + public SourceSmartsheets withMetadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; @@ -134,15 +136,15 @@ public boolean equals(java.lang.Object o) { } SourceSmartsheets other = (SourceSmartsheets) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.metadataFields, other.metadataFields) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.spreadsheetId, other.spreadsheetId); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.metadataFields, other.metadataFields) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.spreadsheetId, other.spreadsheetId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, metadataFields, sourceType, @@ -162,7 +164,7 @@ public final static class Builder { private SourceSmartsheetsAuthorizationMethod credentials; - private Optional> metadataFields = Optional.empty(); + private Optional> metadataFields = Optional.empty(); private String spreadsheetId; @@ -179,7 +181,7 @@ public Builder credentials(SourceSmartsheetsAuthorizationMethod credentials) { /** * A List of available columns which metadata can be pulled from. */ - public Builder metadataFields(java.util.List metadataFields) { + public Builder metadataFields(List metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = Optional.ofNullable(metadataFields); return this; @@ -188,7 +190,7 @@ public Builder metadataFields(java.util.List metadataFields) { /** * A List of available columns which metadata can be pulled from. */ - public Builder metadataFields(Optional> metadataFields) { + public Builder metadataFields(Optional> metadataFields) { Utils.checkNotNull(metadataFields, "metadataFields"); this.metadataFields = metadataFields; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthType.java index c76cd8675..373a1be5c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSmartsheetsAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthorizationMethod.java index 1d392c582..ca83d1ea3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceSmartsheetsAuthorizationMethod._Deserializer.class) public class SourceSmartsheetsAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSmartsheetsAuthorizationMethod(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceSmartsheetsAuthorizationMethod of(APIAccessToken value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceSmartsheetsOAuth20}
    • - *
    • {@code APIAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSmartsheetsOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.APIAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceSmartsheetsAuthorizationMethod other = (SourceSmartsheetsAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSmartsheetsAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSmartsheetsAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsOAuth20.java index 3278c8f9b..7fd07ccc0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsOAuth20.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceSmartsheetsOAuth20 { /** @@ -183,17 +182,17 @@ public boolean equals(java.lang.Object o) { } SourceSmartsheetsOAuth20 other = (SourceSmartsheetsOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSchemasAuthType.java index dec5ac41d..2cce3bb40 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSmartsheetsSchemasAuthType { ACCESS_TOKEN("access_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheets.java b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheets.java index 2fbe811e9..cefeb34d3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheets.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmartsheetsSmartsheets.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSmartsheetsSmartsheets { SMARTSHEETS("smartsheets"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSmartwaiver.java b/src/main/java/com/airbyte/api/models/shared/SourceSmartwaiver.java new file mode 100644 index 000000000..8b9edbef9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSmartwaiver.java @@ -0,0 +1,210 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceSmartwaiver { + + /** + * You can retrieve your token by visiting your dashboard then click on My Account then click on API keys. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Smartwaiver sourceType; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + @JsonProperty("start_date_2") + private OffsetDateTime startDate2; + + @JsonCreator + public SourceSmartwaiver( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("start_date_2") OffsetDateTime startDate2) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(startDate2, "startDate2"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.startDate2 = startDate2; + } + + public SourceSmartwaiver( + String apiKey, + OffsetDateTime startDate2) { + this(apiKey, Optional.empty(), startDate2); + } + + /** + * You can retrieve your token by visiting your dashboard then click on My Account then click on API keys. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Smartwaiver sourceType() { + return sourceType; + } + + @JsonIgnore + public Optional startDate() { + return startDate; + } + + @JsonIgnore + public OffsetDateTime startDate2() { + return startDate2; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * You can retrieve your token by visiting your dashboard then click on My Account then click on API keys. + */ + public SourceSmartwaiver withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceSmartwaiver withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + public SourceSmartwaiver withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceSmartwaiver withStartDate2(OffsetDateTime startDate2) { + Utils.checkNotNull(startDate2, "startDate2"); + this.startDate2 = startDate2; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSmartwaiver other = (SourceSmartwaiver) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.startDate2, other.startDate2); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate, + startDate2); + } + + @Override + public String toString() { + return Utils.toString(SourceSmartwaiver.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate, + "startDate2", startDate2); + } + + public final static class Builder { + + private String apiKey; + + private Optional startDate; + + private OffsetDateTime startDate2; + + private Builder() { + // force use of static builder() method + } + + /** + * You can retrieve your token by visiting your dashboard then click on My Account then click on API keys. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public Builder startDate2(OffsetDateTime startDate2) { + Utils.checkNotNull(startDate2, "startDate2"); + this.startDate2 = startDate2; + return this; + } + + public SourceSmartwaiver build() { + if (startDate == null) { + startDate = _SINGLETON_VALUE_StartDate.value(); + } return new SourceSmartwaiver( + apiKey, + startDate, + startDate2); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"smartwaiver\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + new LazySingletonValue<>( + "start_date", + "\"2017-01-24 13:12:29\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java b/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java index 46cae8cf4..0d8f2aac5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketing.java @@ -1,25 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.Objects; import java.util.Optional; + public class SourceSnapchatMarketing { /** @@ -46,7 +47,7 @@ public class SourceSnapchatMarketing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * Refresh Token to renew the expired Access Token. @@ -62,7 +63,7 @@ public class SourceSnapchatMarketing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Attribution window for swipe ups. @@ -83,9 +84,9 @@ public SourceSnapchatMarketing( @JsonProperty("action_report_time") Optional actionReportTime, @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, - @JsonProperty("end_date") Optional endDate, + @JsonProperty("end_date") Optional endDate, @JsonProperty("refresh_token") String refreshToken, - @JsonProperty("start_date") Optional startDate, + @JsonProperty("start_date") Optional startDate, @JsonProperty("swipe_up_attribution_window") Optional swipeUpAttributionWindow, @JsonProperty("view_attribution_window") Optional viewAttributionWindow) { Utils.checkNotNull(actionReportTime, "actionReportTime"); @@ -142,10 +143,9 @@ public String clientSecret() { /** * Date in the format 2017-01-25. Any data after this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** @@ -164,10 +164,9 @@ public SourceSnapchatMarketingSnapchatMarketing sourceType() { /** * Date in the format 2022-01-01. Any data before this date will not be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -240,7 +239,7 @@ public SourceSnapchatMarketing withEndDate(LocalDate endDate) { /** * Date in the format 2017-01-25. Any data after this date will not be replicated. */ - public SourceSnapchatMarketing withEndDate(Optional endDate) { + public SourceSnapchatMarketing withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -267,7 +266,7 @@ public SourceSnapchatMarketing withStartDate(LocalDate startDate) { /** * Date in the format 2022-01-01. Any data before this date will not be replicated. */ - public SourceSnapchatMarketing withStartDate(Optional startDate) { + public SourceSnapchatMarketing withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -319,20 +318,20 @@ public boolean equals(java.lang.Object o) { } SourceSnapchatMarketing other = (SourceSnapchatMarketing) o; return - java.util.Objects.deepEquals(this.actionReportTime, other.actionReportTime) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.swipeUpAttributionWindow, other.swipeUpAttributionWindow) && - java.util.Objects.deepEquals(this.viewAttributionWindow, other.viewAttributionWindow); + Objects.deepEquals(this.actionReportTime, other.actionReportTime) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.swipeUpAttributionWindow, other.swipeUpAttributionWindow) && + Objects.deepEquals(this.viewAttributionWindow, other.viewAttributionWindow); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( actionReportTime, clientId, clientSecret, @@ -366,11 +365,11 @@ public final static class Builder { private String clientSecret; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); private String refreshToken; - private Optional startDate; + private Optional startDate; private Optional swipeUpAttributionWindow; @@ -428,7 +427,7 @@ public Builder endDate(LocalDate endDate) { /** * Date in the format 2017-01-25. Any data after this date will not be replicated. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -455,7 +454,7 @@ public Builder startDate(LocalDate startDate) { /** * Date in the format 2022-01-01. Any data before this date will not be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -509,8 +508,7 @@ public SourceSnapchatMarketing build() { } if (viewAttributionWindow == null) { viewAttributionWindow = _SINGLETON_VALUE_ViewAttributionWindow.value(); - } - return new SourceSnapchatMarketing( + } return new SourceSnapchatMarketing( actionReportTime, clientId, clientSecret, @@ -533,11 +531,11 @@ public SourceSnapchatMarketing build() { "\"snapchat-marketing\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2022-01-01\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_SwipeUpAttributionWindow = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketing.java b/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketing.java index f10a562d1..c7c49f4cf 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnapchatMarketingSnapchatMarketing.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSnapchatMarketingSnapchatMarketing { SNAPCHAT_MARKETING("snapchat-marketing"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java b/src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java index e7d886b6d..d1bbfc51d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnowflake.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceSnowflake { @JsonInclude(Include.NON_ABSENT) @@ -42,7 +43,7 @@ public class SourceSnowflake { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("jdbc_url_params") - private Optional jdbcUrlParams; + private Optional jdbcUrlParams; /** * The role you created for Airbyte to access Snowflake. @@ -55,7 +56,7 @@ public class SourceSnowflake { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schema") - private Optional schema; + private Optional schema; @JsonProperty("sourceType") private SourceSnowflakeSnowflake sourceType; @@ -71,9 +72,9 @@ public SourceSnowflake( @JsonProperty("credentials") Optional credentials, @JsonProperty("database") String database, @JsonProperty("host") String host, - @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, + @JsonProperty("jdbc_url_params") Optional jdbcUrlParams, @JsonProperty("role") String role, - @JsonProperty("schema") Optional schema, + @JsonProperty("schema") Optional schema, @JsonProperty("warehouse") String warehouse) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(database, "database"); @@ -125,10 +126,9 @@ public String host() { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional jdbcUrlParams() { - return (Optional) jdbcUrlParams; + return jdbcUrlParams; } /** @@ -142,10 +142,9 @@ public String role() { /** * The source Snowflake schema tables. Leave empty to access tables from multiple schemas. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional schema() { - return (Optional) schema; + return schema; } @JsonIgnore @@ -207,7 +206,7 @@ public SourceSnowflake withJdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public SourceSnowflake withJdbcUrlParams(Optional jdbcUrlParams) { + public SourceSnowflake withJdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -234,7 +233,7 @@ public SourceSnowflake withSchema(String schema) { /** * The source Snowflake schema tables. Leave empty to access tables from multiple schemas. */ - public SourceSnowflake withSchema(Optional schema) { + public SourceSnowflake withSchema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; @@ -259,19 +258,19 @@ public boolean equals(java.lang.Object o) { } SourceSnowflake other = (SourceSnowflake) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.database, other.database) && - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && - java.util.Objects.deepEquals(this.role, other.role) && - java.util.Objects.deepEquals(this.schema, other.schema) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.warehouse, other.warehouse); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.database, other.database) && + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.jdbcUrlParams, other.jdbcUrlParams) && + Objects.deepEquals(this.role, other.role) && + Objects.deepEquals(this.schema, other.schema) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.warehouse, other.warehouse); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, database, host, @@ -303,11 +302,11 @@ public final static class Builder { private String host; - private Optional jdbcUrlParams = Optional.empty(); + private Optional jdbcUrlParams = Optional.empty(); private String role; - private Optional schema = Optional.empty(); + private Optional schema = Optional.empty(); private String warehouse; @@ -357,7 +356,7 @@ public Builder jdbcUrlParams(String jdbcUrlParams) { /** * Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). */ - public Builder jdbcUrlParams(Optional jdbcUrlParams) { + public Builder jdbcUrlParams(Optional jdbcUrlParams) { Utils.checkNotNull(jdbcUrlParams, "jdbcUrlParams"); this.jdbcUrlParams = jdbcUrlParams; return this; @@ -384,7 +383,7 @@ public Builder schema(String schema) { /** * The source Snowflake schema tables. Leave empty to access tables from multiple schemas. */ - public Builder schema(Optional schema) { + public Builder schema(Optional schema) { Utils.checkNotNull(schema, "schema"); this.schema = schema; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthType.java index 4031028f7..ceddb393a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSnowflakeAuthType { O_AUTH("OAuth"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthorizationMethod.java index 0275b4612..d7d42db22 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceSnowflakeAuthorizationMethod._Deserializer.class) public class SourceSnowflakeAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSnowflakeAuthorizationMethod(TypedObject value) { @@ -50,9 +47,9 @@ public static SourceSnowflakeAuthorizationMethod of(SourceSnowflakeUsernameAndPa /** * Returns an instance of one of these types: *

      - *
    • {@code SourceSnowflakeOAuth20}
    • - *
    • {@code SourceSnowflakeKeyPairAuthentication}
    • - *
    • {@code SourceSnowflakeUsernameAndPassword}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSnowflakeOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSnowflakeKeyPairAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSnowflakeUsernameAndPassword}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -79,22 +76,22 @@ public boolean equals(java.lang.Object o) { return false; } SourceSnowflakeAuthorizationMethod other = (SourceSnowflakeAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSnowflakeAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSnowflakeAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeKeyPairAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeKeyPairAuthentication.java index a038f384a..dffb99783 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeKeyPairAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeKeyPairAuthentication.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceSnowflakeKeyPairAuthentication { @JsonInclude(Include.NON_ABSENT) @@ -36,7 +37,7 @@ public class SourceSnowflakeKeyPairAuthentication { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("private_key_password") - private Optional privateKeyPassword; + private Optional privateKeyPassword; /** * The username you created to allow Airbyte to access the database. @@ -47,7 +48,7 @@ public class SourceSnowflakeKeyPairAuthentication { @JsonCreator public SourceSnowflakeKeyPairAuthentication( @JsonProperty("private_key") String privateKey, - @JsonProperty("private_key_password") Optional privateKeyPassword, + @JsonProperty("private_key_password") Optional privateKeyPassword, @JsonProperty("username") String username) { Utils.checkNotNull(privateKey, "privateKey"); Utils.checkNotNull(privateKeyPassword, "privateKeyPassword"); @@ -81,10 +82,9 @@ public String privateKey() { /** * Passphrase for private key */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional privateKeyPassword() { - return (Optional) privateKeyPassword; + return privateKeyPassword; } /** @@ -120,7 +120,7 @@ public SourceSnowflakeKeyPairAuthentication withPrivateKeyPassword(String privat /** * Passphrase for private key */ - public SourceSnowflakeKeyPairAuthentication withPrivateKeyPassword(Optional privateKeyPassword) { + public SourceSnowflakeKeyPairAuthentication withPrivateKeyPassword(Optional privateKeyPassword) { Utils.checkNotNull(privateKeyPassword, "privateKeyPassword"); this.privateKeyPassword = privateKeyPassword; return this; @@ -145,15 +145,15 @@ public boolean equals(java.lang.Object o) { } SourceSnowflakeKeyPairAuthentication other = (SourceSnowflakeKeyPairAuthentication) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.privateKey, other.privateKey) && - java.util.Objects.deepEquals(this.privateKeyPassword, other.privateKeyPassword) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.privateKey, other.privateKey) && + Objects.deepEquals(this.privateKeyPassword, other.privateKeyPassword) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, privateKey, privateKeyPassword, @@ -173,7 +173,7 @@ public final static class Builder { private String privateKey; - private Optional privateKeyPassword = Optional.empty(); + private Optional privateKeyPassword = Optional.empty(); private String username; @@ -202,7 +202,7 @@ public Builder privateKeyPassword(String privateKeyPassword) { /** * Passphrase for private key */ - public Builder privateKeyPassword(Optional privateKeyPassword) { + public Builder privateKeyPassword(Optional privateKeyPassword) { Utils.checkNotNull(privateKeyPassword, "privateKeyPassword"); this.privateKeyPassword = privateKeyPassword; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeOAuth20.java index 1127f647b..02a83327b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeOAuth20.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceSnowflakeOAuth20 { /** @@ -26,7 +26,7 @@ public class SourceSnowflakeOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_token") - private Optional accessToken; + private Optional accessToken; @JsonProperty("auth_type") private SourceSnowflakeAuthType authType; @@ -48,14 +48,14 @@ public class SourceSnowflakeOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("refresh_token") - private Optional refreshToken; + private Optional refreshToken; @JsonCreator public SourceSnowflakeOAuth20( - @JsonProperty("access_token") Optional accessToken, + @JsonProperty("access_token") Optional accessToken, @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, - @JsonProperty("refresh_token") Optional refreshToken) { + @JsonProperty("refresh_token") Optional refreshToken) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -76,10 +76,9 @@ public SourceSnowflakeOAuth20( /** * Access Token for making authenticated requests. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessToken() { - return (Optional) accessToken; + return accessToken; } @JsonIgnore @@ -106,10 +105,9 @@ public String clientSecret() { /** * Refresh Token for making authenticated requests. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional refreshToken() { - return (Optional) refreshToken; + return refreshToken; } public final static Builder builder() { @@ -128,7 +126,7 @@ public SourceSnowflakeOAuth20 withAccessToken(String accessToken) { /** * Access Token for making authenticated requests. */ - public SourceSnowflakeOAuth20 withAccessToken(Optional accessToken) { + public SourceSnowflakeOAuth20 withAccessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -164,7 +162,7 @@ public SourceSnowflakeOAuth20 withRefreshToken(String refreshToken) { /** * Refresh Token for making authenticated requests. */ - public SourceSnowflakeOAuth20 withRefreshToken(Optional refreshToken) { + public SourceSnowflakeOAuth20 withRefreshToken(Optional refreshToken) { Utils.checkNotNull(refreshToken, "refreshToken"); this.refreshToken = refreshToken; return this; @@ -180,16 +178,16 @@ public boolean equals(java.lang.Object o) { } SourceSnowflakeOAuth20 other = (SourceSnowflakeOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, @@ -209,13 +207,13 @@ public String toString() { public final static class Builder { - private Optional accessToken = Optional.empty(); + private Optional accessToken = Optional.empty(); private String clientId; private String clientSecret; - private Optional refreshToken = Optional.empty(); + private Optional refreshToken = Optional.empty(); private Builder() { // force use of static builder() method @@ -233,7 +231,7 @@ public Builder accessToken(String accessToken) { /** * Access Token for making authenticated requests. */ - public Builder accessToken(Optional accessToken) { + public Builder accessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -269,7 +267,7 @@ public Builder refreshToken(String refreshToken) { /** * Refresh Token for making authenticated requests. */ - public Builder refreshToken(Optional refreshToken) { + public Builder refreshToken(Optional refreshToken) { Utils.checkNotNull(refreshToken, "refreshToken"); this.refreshToken = refreshToken; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasAuthType.java index 9be9ce1ff..062cecc88 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSnowflakeSchemasAuthType { KEY_PAIR_AUTHENTICATION("Key Pair Authentication"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasCredentialsAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasCredentialsAuthType.java index 3ac3940b4..079856922 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasCredentialsAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSchemasCredentialsAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSnowflakeSchemasCredentialsAuthType { USERNAME_PASSWORD("username/password"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflake.java b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflake.java index 5fde87cdc..12081ab6c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflake.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeSnowflake.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSnowflakeSnowflake { SNOWFLAKE("snowflake"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeUsernameAndPassword.java b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeUsernameAndPassword.java index cfc56581b..69caa537f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeUsernameAndPassword.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSnowflakeUsernameAndPassword.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSnowflakeUsernameAndPassword { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceSnowflakeUsernameAndPassword other = (SourceSnowflakeUsernameAndPassword) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, password, username); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSolarwindsServiceDesk.java b/src/main/java/com/airbyte/api/models/shared/SourceSolarwindsServiceDesk.java new file mode 100644 index 000000000..cfe091af5 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSolarwindsServiceDesk.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceSolarwindsServiceDesk { + + /** + * Refer to `https://documentation.solarwinds.com/en/success_center/swsd/content/completeguidetoswsd/token-authentication-for-api-integration.htm#link4` + */ + @JsonProperty("api_key_2") + private String apiKey2; + + @JsonProperty("sourceType") + private SolarwindsServiceDesk sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceSolarwindsServiceDesk( + @JsonProperty("api_key_2") String apiKey2, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey2, "apiKey2"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey2 = apiKey2; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Refer to `https://documentation.solarwinds.com/en/success_center/swsd/content/completeguidetoswsd/token-authentication-for-api-integration.htm#link4` + */ + @JsonIgnore + public String apiKey2() { + return apiKey2; + } + + @JsonIgnore + public SolarwindsServiceDesk sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Refer to `https://documentation.solarwinds.com/en/success_center/swsd/content/completeguidetoswsd/token-authentication-for-api-integration.htm#link4` + */ + public SourceSolarwindsServiceDesk withApiKey2(String apiKey2) { + Utils.checkNotNull(apiKey2, "apiKey2"); + this.apiKey2 = apiKey2; + return this; + } + + public SourceSolarwindsServiceDesk withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSolarwindsServiceDesk other = (SourceSolarwindsServiceDesk) o; + return + Objects.deepEquals(this.apiKey2, other.apiKey2) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey2, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceSolarwindsServiceDesk.class, + "apiKey2", apiKey2, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey2; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Refer to `https://documentation.solarwinds.com/en/success_center/swsd/content/completeguidetoswsd/token-authentication-for-api-integration.htm#link4` + */ + public Builder apiKey2(String apiKey2) { + Utils.checkNotNull(apiKey2, "apiKey2"); + this.apiKey2 = apiKey2; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceSolarwindsServiceDesk build() { + return new SourceSolarwindsServiceDesk( + apiKey2, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"solarwinds-service-desk\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java b/src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java index 73b6e86cf..41d813a80 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSonarCloud.java @@ -1,39 +1,41 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSonarCloud { /** * Comma-separated list of component keys. */ @JsonProperty("component_keys") - private java.util.List componentKeys; + private List componentKeys; /** * To retrieve issues created before the given date (inclusive). */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * Organization key. See <a href="https://docs.sonarcloud.io/appendices/project-information/#project-and-organization-keys">here</a>. @@ -49,7 +51,7 @@ public class SourceSonarCloud { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * Your User Token. See <a href="https://docs.sonarcloud.io/advanced-setup/user-accounts/">here</a>. The token is case sensitive. @@ -59,10 +61,10 @@ public class SourceSonarCloud { @JsonCreator public SourceSonarCloud( - @JsonProperty("component_keys") java.util.List componentKeys, - @JsonProperty("end_date") Optional endDate, + @JsonProperty("component_keys") List componentKeys, + @JsonProperty("end_date") Optional endDate, @JsonProperty("organization") String organization, - @JsonProperty("start_date") Optional startDate, + @JsonProperty("start_date") Optional startDate, @JsonProperty("user_token") String userToken) { Utils.checkNotNull(componentKeys, "componentKeys"); Utils.checkNotNull(endDate, "endDate"); @@ -78,7 +80,7 @@ public SourceSonarCloud( } public SourceSonarCloud( - java.util.List componentKeys, + List componentKeys, String organization, String userToken) { this(componentKeys, Optional.empty(), organization, Optional.empty(), userToken); @@ -88,17 +90,16 @@ public SourceSonarCloud( * Comma-separated list of component keys. */ @JsonIgnore - public java.util.List componentKeys() { + public List componentKeys() { return componentKeys; } /** * To retrieve issues created before the given date (inclusive). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** @@ -117,10 +118,9 @@ public SonarCloud sourceType() { /** * To retrieve issues created after the given date (inclusive). */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -138,7 +138,7 @@ public final static Builder builder() { /** * Comma-separated list of component keys. */ - public SourceSonarCloud withComponentKeys(java.util.List componentKeys) { + public SourceSonarCloud withComponentKeys(List componentKeys) { Utils.checkNotNull(componentKeys, "componentKeys"); this.componentKeys = componentKeys; return this; @@ -156,7 +156,7 @@ public SourceSonarCloud withEndDate(LocalDate endDate) { /** * To retrieve issues created before the given date (inclusive). */ - public SourceSonarCloud withEndDate(Optional endDate) { + public SourceSonarCloud withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -183,7 +183,7 @@ public SourceSonarCloud withStartDate(LocalDate startDate) { /** * To retrieve issues created after the given date (inclusive). */ - public SourceSonarCloud withStartDate(Optional startDate) { + public SourceSonarCloud withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -208,17 +208,17 @@ public boolean equals(java.lang.Object o) { } SourceSonarCloud other = (SourceSonarCloud) o; return - java.util.Objects.deepEquals(this.componentKeys, other.componentKeys) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.organization, other.organization) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.userToken, other.userToken); + Objects.deepEquals(this.componentKeys, other.componentKeys) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.organization, other.organization) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.userToken, other.userToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( componentKeys, endDate, organization, @@ -240,13 +240,13 @@ public String toString() { public final static class Builder { - private java.util.List componentKeys; + private List componentKeys; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); private String organization; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private String userToken; @@ -257,7 +257,7 @@ private Builder() { /** * Comma-separated list of component keys. */ - public Builder componentKeys(java.util.List componentKeys) { + public Builder componentKeys(List componentKeys) { Utils.checkNotNull(componentKeys, "componentKeys"); this.componentKeys = componentKeys; return this; @@ -275,7 +275,7 @@ public Builder endDate(LocalDate endDate) { /** * To retrieve issues created before the given date (inclusive). */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -302,7 +302,7 @@ public Builder startDate(LocalDate startDate) { /** * To retrieve issues created after the given date (inclusive). */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java b/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java index 55914a4e2..f8c09c50f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java @@ -1,41 +1,41 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceSpacexApi { @JsonInclude(Include.NON_ABSENT) @JsonProperty("id") - private Optional id; + private Optional id; @JsonInclude(Include.NON_ABSENT) @JsonProperty("options") - private Optional options; + private Optional options; @JsonProperty("sourceType") private SpacexApi sourceType; @JsonCreator public SourceSpacexApi( - @JsonProperty("id") Optional id, - @JsonProperty("options") Optional options) { + @JsonProperty("id") Optional id, + @JsonProperty("options") Optional options) { Utils.checkNotNull(id, "id"); Utils.checkNotNull(options, "options"); this.id = id; @@ -47,16 +47,14 @@ public SourceSpacexApi() { this(Optional.empty(), Optional.empty()); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional id() { - return (Optional) id; + return id; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional options() { - return (Optional) options; + return options; } @JsonIgnore @@ -74,7 +72,7 @@ public SourceSpacexApi withId(String id) { return this; } - public SourceSpacexApi withId(Optional id) { + public SourceSpacexApi withId(Optional id) { Utils.checkNotNull(id, "id"); this.id = id; return this; @@ -86,7 +84,7 @@ public SourceSpacexApi withOptions(String options) { return this; } - public SourceSpacexApi withOptions(Optional options) { + public SourceSpacexApi withOptions(Optional options) { Utils.checkNotNull(options, "options"); this.options = options; return this; @@ -102,14 +100,14 @@ public boolean equals(java.lang.Object o) { } SourceSpacexApi other = (SourceSpacexApi) o; return - java.util.Objects.deepEquals(this.id, other.id) && - java.util.Objects.deepEquals(this.options, other.options) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.id, other.id) && + Objects.deepEquals(this.options, other.options) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( id, options, sourceType); @@ -125,9 +123,9 @@ public String toString() { public final static class Builder { - private Optional id = Optional.empty(); + private Optional id = Optional.empty(); - private Optional options = Optional.empty(); + private Optional options = Optional.empty(); private Builder() { // force use of static builder() method @@ -139,7 +137,7 @@ public Builder id(String id) { return this; } - public Builder id(Optional id) { + public Builder id(Optional id) { Utils.checkNotNull(id, "id"); this.id = id; return this; @@ -151,7 +149,7 @@ public Builder options(String options) { return this; } - public Builder options(Optional options) { + public Builder options(Optional options) { Utils.checkNotNull(options, "options"); this.options = options; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSparkpost.java b/src/main/java/com/airbyte/api/models/shared/SourceSparkpost.java new file mode 100644 index 000000000..143074b7e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSparkpost.java @@ -0,0 +1,200 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceSparkpost { + + @JsonProperty("api_key") + private String apiKey; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("api_prefix") + private Optional apiPrefix; + + @JsonProperty("sourceType") + private Sparkpost sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceSparkpost( + @JsonProperty("api_key") String apiKey, + @JsonProperty("api_prefix") Optional apiPrefix, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(apiPrefix, "apiPrefix"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.apiPrefix = apiPrefix; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceSparkpost( + String apiKey, + OffsetDateTime startDate) { + this(apiKey, Optional.empty(), startDate); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional apiPrefix() { + return (Optional) apiPrefix; + } + + @JsonIgnore + public Sparkpost sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSparkpost withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceSparkpost withApiPrefix(APIEndpointPrefix apiPrefix) { + Utils.checkNotNull(apiPrefix, "apiPrefix"); + this.apiPrefix = Optional.ofNullable(apiPrefix); + return this; + } + + public SourceSparkpost withApiPrefix(Optional apiPrefix) { + Utils.checkNotNull(apiPrefix, "apiPrefix"); + this.apiPrefix = apiPrefix; + return this; + } + + public SourceSparkpost withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSparkpost other = (SourceSparkpost) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiPrefix, other.apiPrefix) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + apiPrefix, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceSparkpost.class, + "apiKey", apiKey, + "apiPrefix", apiPrefix, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private Optional apiPrefix; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder apiPrefix(APIEndpointPrefix apiPrefix) { + Utils.checkNotNull(apiPrefix, "apiPrefix"); + this.apiPrefix = Optional.ofNullable(apiPrefix); + return this; + } + + public Builder apiPrefix(Optional apiPrefix) { + Utils.checkNotNull(apiPrefix, "apiPrefix"); + this.apiPrefix = apiPrefix; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceSparkpost build() { + if (apiPrefix == null) { + apiPrefix = _SINGLETON_VALUE_ApiPrefix.value(); + } return new SourceSparkpost( + apiKey, + apiPrefix, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_ApiPrefix = + new LazySingletonValue<>( + "api_prefix", + "\"api\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"sparkpost\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSplitIo.java b/src/main/java/com/airbyte/api/models/shared/SourceSplitIo.java new file mode 100644 index 000000000..3c1bf6973 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSplitIo.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceSplitIo { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private SplitIo sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceSplitIo( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public SplitIo sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSplitIo withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceSplitIo withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSplitIo other = (SourceSplitIo) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceSplitIo.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceSplitIo build() { + return new SourceSplitIo( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"split-io\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSpotlercrm.java b/src/main/java/com/airbyte/api/models/shared/SourceSpotlercrm.java new file mode 100644 index 000000000..5bd622076 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSpotlercrm.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceSpotlercrm { + + /** + * Access Token to authenticate API requests. Generate it by logging into your CRM system, navigating to Settings / Integrations / API V4, and clicking 'generate new key'. + */ + @JsonProperty("access_token") + private String accessToken; + + @JsonProperty("sourceType") + private Spotlercrm sourceType; + + @JsonCreator + public SourceSpotlercrm( + @JsonProperty("access_token") String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Access Token to authenticate API requests. Generate it by logging into your CRM system, navigating to Settings / Integrations / API V4, and clicking 'generate new key'. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + @JsonIgnore + public Spotlercrm sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Access Token to authenticate API requests. Generate it by logging into your CRM system, navigating to Settings / Integrations / API V4, and clicking 'generate new key'. + */ + public SourceSpotlercrm withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSpotlercrm other = (SourceSpotlercrm) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceSpotlercrm.class, + "accessToken", accessToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String accessToken; + + private Builder() { + // force use of static builder() method + } + + /** + * Access Token to authenticate API requests. Generate it by logging into your CRM system, navigating to Settings / Integrations / API V4, and clicking 'generate new key'. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + public SourceSpotlercrm build() { + return new SourceSpotlercrm( + accessToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"spotlercrm\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSquare.java b/src/main/java/com/airbyte/api/models/shared/SourceSquare.java index ca4b23534..f58b89741 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSquare.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSquare.java @@ -1,25 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.Objects; import java.util.Optional; + public class SourceSquare { /** @@ -34,31 +36,31 @@ public class SourceSquare { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("include_deleted_objects") - private Optional includeDeletedObjects; + private Optional includeDeletedObjects; /** * Determines whether to use the sandbox or production environment. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("is_sandbox") - private Optional isSandbox; + private Optional isSandbox; @JsonProperty("sourceType") - private SourceSquareSquare sourceType; + private Square sourceType; /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. If not set, all data will be replicated. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceSquare( @JsonProperty("credentials") Optional credentials, - @JsonProperty("include_deleted_objects") Optional includeDeletedObjects, - @JsonProperty("is_sandbox") Optional isSandbox, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("include_deleted_objects") Optional includeDeletedObjects, + @JsonProperty("is_sandbox") Optional isSandbox, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(includeDeletedObjects, "includeDeletedObjects"); Utils.checkNotNull(isSandbox, "isSandbox"); @@ -86,33 +88,30 @@ public Optional credentials() { /** * In some streams there is an option to include deleted objects (Items, Categories, Discounts, Taxes) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeDeletedObjects() { - return (Optional) includeDeletedObjects; + return includeDeletedObjects; } /** * Determines whether to use the sandbox or production environment. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional isSandbox() { - return (Optional) isSandbox; + return isSandbox; } @JsonIgnore - public SourceSquareSquare sourceType() { + public Square sourceType() { return sourceType; } /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. If not set, all data will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -149,7 +148,7 @@ public SourceSquare withIncludeDeletedObjects(boolean includeDeletedObjects) { /** * In some streams there is an option to include deleted objects (Items, Categories, Discounts, Taxes) */ - public SourceSquare withIncludeDeletedObjects(Optional includeDeletedObjects) { + public SourceSquare withIncludeDeletedObjects(Optional includeDeletedObjects) { Utils.checkNotNull(includeDeletedObjects, "includeDeletedObjects"); this.includeDeletedObjects = includeDeletedObjects; return this; @@ -167,7 +166,7 @@ public SourceSquare withIsSandbox(boolean isSandbox) { /** * Determines whether to use the sandbox or production environment. */ - public SourceSquare withIsSandbox(Optional isSandbox) { + public SourceSquare withIsSandbox(Optional isSandbox) { Utils.checkNotNull(isSandbox, "isSandbox"); this.isSandbox = isSandbox; return this; @@ -185,7 +184,7 @@ public SourceSquare withStartDate(LocalDate startDate) { /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. If not set, all data will be replicated. */ - public SourceSquare withStartDate(Optional startDate) { + public SourceSquare withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -201,16 +200,16 @@ public boolean equals(java.lang.Object o) { } SourceSquare other = (SourceSquare) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.includeDeletedObjects, other.includeDeletedObjects) && - java.util.Objects.deepEquals(this.isSandbox, other.isSandbox) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.includeDeletedObjects, other.includeDeletedObjects) && + Objects.deepEquals(this.isSandbox, other.isSandbox) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, includeDeletedObjects, isSandbox, @@ -232,11 +231,11 @@ public final static class Builder { private Optional credentials = Optional.empty(); - private Optional includeDeletedObjects; + private Optional includeDeletedObjects; - private Optional isSandbox; + private Optional isSandbox; - private Optional startDate; + private Optional startDate; private Builder() { // force use of static builder() method @@ -272,7 +271,7 @@ public Builder includeDeletedObjects(boolean includeDeletedObjects) { /** * In some streams there is an option to include deleted objects (Items, Categories, Discounts, Taxes) */ - public Builder includeDeletedObjects(Optional includeDeletedObjects) { + public Builder includeDeletedObjects(Optional includeDeletedObjects) { Utils.checkNotNull(includeDeletedObjects, "includeDeletedObjects"); this.includeDeletedObjects = includeDeletedObjects; return this; @@ -290,7 +289,7 @@ public Builder isSandbox(boolean isSandbox) { /** * Determines whether to use the sandbox or production environment. */ - public Builder isSandbox(Optional isSandbox) { + public Builder isSandbox(Optional isSandbox) { Utils.checkNotNull(isSandbox, "isSandbox"); this.isSandbox = isSandbox; return this; @@ -308,7 +307,7 @@ public Builder startDate(LocalDate startDate) { /** * UTC date in the format YYYY-MM-DD. Any data before this date will not be replicated. If not set, all data will be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -323,37 +322,36 @@ public SourceSquare build() { } if (startDate == null) { startDate = _SINGLETON_VALUE_StartDate.value(); - } - return new SourceSquare( + } return new SourceSquare( credentials, includeDeletedObjects, isSandbox, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeletedObjects = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeletedObjects = new LazySingletonValue<>( "include_deleted_objects", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IsSandbox = + private static final LazySingletonValue> _SINGLETON_VALUE_IsSandbox = new LazySingletonValue<>( "is_sandbox", "false", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( "sourceType", "\"square\"", - new TypeReference() {}); + new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2021-01-01\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSquareAPIKey.java b/src/main/java/com/airbyte/api/models/shared/SourceSquareAPIKey.java index fae629493..ad8937bd5 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSquareAPIKey.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSquareAPIKey.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceSquareAPIKey { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceSquareAPIKey other = (SourceSquareAPIKey) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSquareAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSquareAuthType.java index 001e2f0b0..26a1b1c80 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSquareAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSquareAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSquareAuthType { O_AUTH("OAuth"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSquareAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceSquareAuthentication.java index adba295c4..7634a286a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSquareAuthentication.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSquareAuthentication.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceSquareAuthentication - Choose how to authenticate to Square. @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceSquareAuthentication._Deserializer.class) public class SourceSquareAuthentication { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceSquareAuthentication(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceSquareAuthentication of(SourceSquareAPIKey value) { /** * Returns an instance of one of these types: *
      - *
    • {@code OauthAuthentication}
    • - *
    • {@code SourceSquareAPIKey}
    • + *
    • {@code com.airbyte.api.models.shared.OauthAuthentication}
    • + *
    • {@code com.airbyte.api.models.shared.SourceSquareAPIKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceSquareAuthentication other = (SourceSquareAuthentication) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceSquareAuthentication.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceSquareAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSquareSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceSquareSchemasAuthType.java index 13a39aaa4..f1e260af2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSquareSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSquareSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSquareSchemasAuthType { API_KEY("API Key"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSquareSquare.java b/src/main/java/com/airbyte/api/models/shared/SourceSquareSquare.java deleted file mode 100644 index ae3807d19..000000000 --- a/src/main/java/com/airbyte/api/models/shared/SourceSquareSquare.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.shared; - -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; - -public enum SourceSquareSquare { - SQUARE("square"); - - @JsonValue - private final String value; - - private SourceSquareSquare(String value) { - this.value = value; - } - - public String value() { - return value; - } -} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSquarespace.java b/src/main/java/com/airbyte/api/models/shared/SourceSquarespace.java new file mode 100644 index 000000000..173e67b02 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSquarespace.java @@ -0,0 +1,163 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceSquarespace { + + /** + * API key to use. Find it at https://developers.squarespace.com/commerce-apis/authentication-and-permissions + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Squarespace sourceType; + + /** + * Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceSquarespace( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * API key to use. Find it at https://developers.squarespace.com/commerce-apis/authentication-and-permissions + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Squarespace sourceType() { + return sourceType; + } + + /** + * Any data before this date will not be replicated. + */ + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://developers.squarespace.com/commerce-apis/authentication-and-permissions + */ + public SourceSquarespace withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Any data before this date will not be replicated. + */ + public SourceSquarespace withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSquarespace other = (SourceSquarespace) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceSquarespace.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://developers.squarespace.com/commerce-apis/authentication-and-permissions + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Any data before this date will not be replicated. + */ + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceSquarespace build() { + return new SourceSquarespace( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"squarespace\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceStatsig.java b/src/main/java/com/airbyte/api/models/shared/SourceStatsig.java new file mode 100644 index 000000000..54af2d30a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceStatsig.java @@ -0,0 +1,168 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceStatsig { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("end_date") + private OffsetDateTime endDate; + + @JsonProperty("sourceType") + private Statsig sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceStatsig( + @JsonProperty("api_key") String apiKey, + @JsonProperty("end_date") OffsetDateTime endDate, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(endDate, "endDate"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.endDate = endDate; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public OffsetDateTime endDate() { + return endDate; + } + + @JsonIgnore + public Statsig sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceStatsig withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceStatsig withEndDate(OffsetDateTime endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + public SourceStatsig withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceStatsig other = (SourceStatsig) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + endDate, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceStatsig.class, + "apiKey", apiKey, + "endDate", endDate, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime endDate; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder endDate(OffsetDateTime endDate) { + Utils.checkNotNull(endDate, "endDate"); + this.endDate = endDate; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceStatsig build() { + return new SourceStatsig( + apiKey, + endDate, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"statsig\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceStatuspage.java b/src/main/java/com/airbyte/api/models/shared/SourceStatuspage.java new file mode 100644 index 000000000..084edba1a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceStatuspage.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceStatuspage { + + /** + * Your API Key. See <a href="https://developer.statuspage.io/#section/Authentication/api_key">here</a>. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Statuspage sourceType; + + @JsonCreator + public SourceStatuspage( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Your API Key. See <a href="https://developer.statuspage.io/#section/Authentication/api_key">here</a>. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Statuspage sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your API Key. See <a href="https://developer.statuspage.io/#section/Authentication/api_key">here</a>. + */ + public SourceStatuspage withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceStatuspage other = (SourceStatuspage) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceStatuspage.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * Your API Key. See <a href="https://developer.statuspage.io/#section/Authentication/api_key">here</a>. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceStatuspage build() { + return new SourceStatuspage( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"statuspage\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceStockdata.java b/src/main/java/com/airbyte/api/models/shared/SourceStockdata.java new file mode 100644 index 000000000..dce32ed7a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceStockdata.java @@ -0,0 +1,306 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + + +public class SourceStockdata { + + @JsonProperty("api_key") + private String apiKey; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filter_entities") + private Optional filterEntities; + + /** + * Specify the industries of entities which have been identified within the article. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("industries") + private Optional> industries; + + @JsonProperty("sourceType") + private Stockdata sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("symbols") + private Optional> symbols; + + @JsonCreator + public SourceStockdata( + @JsonProperty("api_key") String apiKey, + @JsonProperty("filter_entities") Optional filterEntities, + @JsonProperty("industries") Optional> industries, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("symbols") Optional> symbols) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(filterEntities, "filterEntities"); + Utils.checkNotNull(industries, "industries"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(symbols, "symbols"); + this.apiKey = apiKey; + this.filterEntities = filterEntities; + this.industries = industries; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.symbols = symbols; + } + + public SourceStockdata( + String apiKey, + OffsetDateTime startDate) { + this(apiKey, Optional.empty(), Optional.empty(), startDate, Optional.empty()); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Optional filterEntities() { + return filterEntities; + } + + /** + * Specify the industries of entities which have been identified within the article. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> industries() { + return (Optional>) industries; + } + + @JsonIgnore + public Stockdata sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> symbols() { + return (Optional>) symbols; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceStockdata withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceStockdata withFilterEntities(boolean filterEntities) { + Utils.checkNotNull(filterEntities, "filterEntities"); + this.filterEntities = Optional.ofNullable(filterEntities); + return this; + } + + public SourceStockdata withFilterEntities(Optional filterEntities) { + Utils.checkNotNull(filterEntities, "filterEntities"); + this.filterEntities = filterEntities; + return this; + } + + /** + * Specify the industries of entities which have been identified within the article. + */ + public SourceStockdata withIndustries(List industries) { + Utils.checkNotNull(industries, "industries"); + this.industries = Optional.ofNullable(industries); + return this; + } + + /** + * Specify the industries of entities which have been identified within the article. + */ + public SourceStockdata withIndustries(Optional> industries) { + Utils.checkNotNull(industries, "industries"); + this.industries = industries; + return this; + } + + public SourceStockdata withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceStockdata withSymbols(List symbols) { + Utils.checkNotNull(symbols, "symbols"); + this.symbols = Optional.ofNullable(symbols); + return this; + } + + public SourceStockdata withSymbols(Optional> symbols) { + Utils.checkNotNull(symbols, "symbols"); + this.symbols = symbols; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceStockdata other = (SourceStockdata) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.filterEntities, other.filterEntities) && + Objects.deepEquals(this.industries, other.industries) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.symbols, other.symbols); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + filterEntities, + industries, + sourceType, + startDate, + symbols); + } + + @Override + public String toString() { + return Utils.toString(SourceStockdata.class, + "apiKey", apiKey, + "filterEntities", filterEntities, + "industries", industries, + "sourceType", sourceType, + "startDate", startDate, + "symbols", symbols); + } + + public final static class Builder { + + private String apiKey; + + private Optional filterEntities; + + private Optional> industries = Optional.empty(); + + private OffsetDateTime startDate; + + private Optional> symbols = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder filterEntities(boolean filterEntities) { + Utils.checkNotNull(filterEntities, "filterEntities"); + this.filterEntities = Optional.ofNullable(filterEntities); + return this; + } + + public Builder filterEntities(Optional filterEntities) { + Utils.checkNotNull(filterEntities, "filterEntities"); + this.filterEntities = filterEntities; + return this; + } + + /** + * Specify the industries of entities which have been identified within the article. + */ + public Builder industries(List industries) { + Utils.checkNotNull(industries, "industries"); + this.industries = Optional.ofNullable(industries); + return this; + } + + /** + * Specify the industries of entities which have been identified within the article. + */ + public Builder industries(Optional> industries) { + Utils.checkNotNull(industries, "industries"); + this.industries = industries; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public Builder symbols(List symbols) { + Utils.checkNotNull(symbols, "symbols"); + this.symbols = Optional.ofNullable(symbols); + return this; + } + + public Builder symbols(Optional> symbols) { + Utils.checkNotNull(symbols, "symbols"); + this.symbols = symbols; + return this; + } + + public SourceStockdata build() { + if (filterEntities == null) { + filterEntities = _SINGLETON_VALUE_FilterEntities.value(); + } return new SourceStockdata( + apiKey, + filterEntities, + industries, + startDate, + symbols); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_FilterEntities = + new LazySingletonValue<>( + "filter_entities", + "false", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"stockdata\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceStrava.java b/src/main/java/com/airbyte/api/models/shared/SourceStrava.java index 753ec04f6..27101e32d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceStrava.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceStrava.java @@ -1,27 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceStrava { /** @@ -192,18 +192,18 @@ public boolean equals(java.lang.Object o) { } SourceStrava other = (SourceStrava) o; return - java.util.Objects.deepEquals(this.athleteId, other.athleteId) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.athleteId, other.athleteId) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( athleteId, authType, clientId, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceStravaAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceStravaAuthType.java index cfaec04c3..3731137c3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceStravaAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceStravaAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceStravaAuthType { CLIENT("Client"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceStripe.java b/src/main/java/com/airbyte/api/models/shared/SourceStripe.java index c44e9730c..b171691fc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceStripe.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceStripe.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceStripe { /** @@ -35,7 +34,7 @@ public class SourceStripe { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("call_rate_limit") - private Optional callRateLimit; + private Optional callRateLimit; /** * Stripe API key (usually starts with 'sk_live_'; find yours <a href="https://dashboard.stripe.com/apikeys">here</a>). @@ -48,21 +47,21 @@ public class SourceStripe { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window_days") - private Optional lookbackWindowDays; + private Optional lookbackWindowDays; /** * The number of worker thread to use for the sync. The performance upper boundary depends on call_rate_limit setting and type of account. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("num_workers") - private Optional numWorkers; + private Optional numWorkers; /** * The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("slice_range") - private Optional sliceRange; + private Optional sliceRange; @JsonProperty("sourceType") private Stripe sourceType; @@ -72,17 +71,17 @@ public class SourceStripe { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceStripe( @JsonProperty("account_id") String accountId, - @JsonProperty("call_rate_limit") Optional callRateLimit, + @JsonProperty("call_rate_limit") Optional callRateLimit, @JsonProperty("client_secret") String clientSecret, - @JsonProperty("lookback_window_days") Optional lookbackWindowDays, - @JsonProperty("num_workers") Optional numWorkers, - @JsonProperty("slice_range") Optional sliceRange, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("lookback_window_days") Optional lookbackWindowDays, + @JsonProperty("num_workers") Optional numWorkers, + @JsonProperty("slice_range") Optional sliceRange, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(accountId, "accountId"); Utils.checkNotNull(callRateLimit, "callRateLimit"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -117,10 +116,9 @@ public String accountId() { /** * The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional callRateLimit() { - return (Optional) callRateLimit; + return callRateLimit; } /** @@ -134,28 +132,25 @@ public String clientSecret() { /** * When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info <a href="https://docs.airbyte.com/integrations/sources/stripe#requirements">here</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindowDays() { - return (Optional) lookbackWindowDays; + return lookbackWindowDays; } /** * The number of worker thread to use for the sync. The performance upper boundary depends on call_rate_limit setting and type of account. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional numWorkers() { - return (Optional) numWorkers; + return numWorkers; } /** * The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional sliceRange() { - return (Optional) sliceRange; + return sliceRange; } @JsonIgnore @@ -166,10 +161,9 @@ public Stripe sourceType() { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -197,7 +191,7 @@ public SourceStripe withCallRateLimit(long callRateLimit) { /** * The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively. */ - public SourceStripe withCallRateLimit(Optional callRateLimit) { + public SourceStripe withCallRateLimit(Optional callRateLimit) { Utils.checkNotNull(callRateLimit, "callRateLimit"); this.callRateLimit = callRateLimit; return this; @@ -224,7 +218,7 @@ public SourceStripe withLookbackWindowDays(long lookbackWindowDays) { /** * When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info <a href="https://docs.airbyte.com/integrations/sources/stripe#requirements">here</a> */ - public SourceStripe withLookbackWindowDays(Optional lookbackWindowDays) { + public SourceStripe withLookbackWindowDays(Optional lookbackWindowDays) { Utils.checkNotNull(lookbackWindowDays, "lookbackWindowDays"); this.lookbackWindowDays = lookbackWindowDays; return this; @@ -242,7 +236,7 @@ public SourceStripe withNumWorkers(long numWorkers) { /** * The number of worker thread to use for the sync. The performance upper boundary depends on call_rate_limit setting and type of account. */ - public SourceStripe withNumWorkers(Optional numWorkers) { + public SourceStripe withNumWorkers(Optional numWorkers) { Utils.checkNotNull(numWorkers, "numWorkers"); this.numWorkers = numWorkers; return this; @@ -260,7 +254,7 @@ public SourceStripe withSliceRange(long sliceRange) { /** * The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. */ - public SourceStripe withSliceRange(Optional sliceRange) { + public SourceStripe withSliceRange(Optional sliceRange) { Utils.checkNotNull(sliceRange, "sliceRange"); this.sliceRange = sliceRange; return this; @@ -278,7 +272,7 @@ public SourceStripe withStartDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. */ - public SourceStripe withStartDate(Optional startDate) { + public SourceStripe withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -294,19 +288,19 @@ public boolean equals(java.lang.Object o) { } SourceStripe other = (SourceStripe) o; return - java.util.Objects.deepEquals(this.accountId, other.accountId) && - java.util.Objects.deepEquals(this.callRateLimit, other.callRateLimit) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.lookbackWindowDays, other.lookbackWindowDays) && - java.util.Objects.deepEquals(this.numWorkers, other.numWorkers) && - java.util.Objects.deepEquals(this.sliceRange, other.sliceRange) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.callRateLimit, other.callRateLimit) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.lookbackWindowDays, other.lookbackWindowDays) && + Objects.deepEquals(this.numWorkers, other.numWorkers) && + Objects.deepEquals(this.sliceRange, other.sliceRange) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountId, callRateLimit, clientSecret, @@ -334,17 +328,17 @@ public final static class Builder { private String accountId; - private Optional callRateLimit = Optional.empty(); + private Optional callRateLimit = Optional.empty(); private String clientSecret; - private Optional lookbackWindowDays; + private Optional lookbackWindowDays; - private Optional numWorkers; + private Optional numWorkers; - private Optional sliceRange; + private Optional sliceRange; - private Optional startDate; + private Optional startDate; private Builder() { // force use of static builder() method @@ -371,7 +365,7 @@ public Builder callRateLimit(long callRateLimit) { /** * The number of API calls per second that you allow connector to make. This value can not be bigger than real API call rate limit (https://stripe.com/docs/rate-limits). If not specified the default maximum is 25 and 100 calls per second for test and production tokens respectively. */ - public Builder callRateLimit(Optional callRateLimit) { + public Builder callRateLimit(Optional callRateLimit) { Utils.checkNotNull(callRateLimit, "callRateLimit"); this.callRateLimit = callRateLimit; return this; @@ -398,7 +392,7 @@ public Builder lookbackWindowDays(long lookbackWindowDays) { /** * When set, the connector will always re-export data from the past N days, where N is the value set here. This is useful if your data is frequently updated after creation. The Lookback Window only applies to streams that do not support event-based incremental syncs: Events, SetupAttempts, ShippingRates, BalanceTransactions, Files, FileLinks, Refunds. More info <a href="https://docs.airbyte.com/integrations/sources/stripe#requirements">here</a> */ - public Builder lookbackWindowDays(Optional lookbackWindowDays) { + public Builder lookbackWindowDays(Optional lookbackWindowDays) { Utils.checkNotNull(lookbackWindowDays, "lookbackWindowDays"); this.lookbackWindowDays = lookbackWindowDays; return this; @@ -416,7 +410,7 @@ public Builder numWorkers(long numWorkers) { /** * The number of worker thread to use for the sync. The performance upper boundary depends on call_rate_limit setting and type of account. */ - public Builder numWorkers(Optional numWorkers) { + public Builder numWorkers(Optional numWorkers) { Utils.checkNotNull(numWorkers, "numWorkers"); this.numWorkers = numWorkers; return this; @@ -434,7 +428,7 @@ public Builder sliceRange(long sliceRange) { /** * The time increment used by the connector when requesting data from the Stripe API. The bigger the value is, the less requests will be made and faster the sync will be. On the other hand, the more seldom the state is persisted. */ - public Builder sliceRange(Optional sliceRange) { + public Builder sliceRange(Optional sliceRange) { Utils.checkNotNull(sliceRange, "sliceRange"); this.sliceRange = sliceRange; return this; @@ -452,7 +446,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * UTC date and time in the format 2017-01-25T00:00:00Z. Only data generated after this date will be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -470,8 +464,7 @@ public SourceStripe build() { } if (startDate == null) { startDate = _SINGLETON_VALUE_StartDate.value(); - } - return new SourceStripe( + } return new SourceStripe( accountId, callRateLimit, clientSecret, @@ -481,23 +474,23 @@ public SourceStripe build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowDays = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindowDays = new LazySingletonValue<>( "lookback_window_days", "0", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_NumWorkers = + private static final LazySingletonValue> _SINGLETON_VALUE_NumWorkers = new LazySingletonValue<>( "num_workers", "10", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SliceRange = + private static final LazySingletonValue> _SINGLETON_VALUE_SliceRange = new LazySingletonValue<>( "slice_range", "365", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( @@ -505,11 +498,11 @@ public SourceStripe build() { "\"stripe\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2017-01-25T00:00:00Z\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java b/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java index 09ba0c052..1b89c08cc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrow.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSurveySparrow { /** @@ -42,13 +45,13 @@ public class SourceSurveySparrow { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("survey_id") - private Optional> surveyId; + private Optional> surveyId; @JsonCreator public SourceSurveySparrow( @JsonProperty("access_token") String accessToken, @JsonProperty("region") Optional region, - @JsonProperty("survey_id") Optional> surveyId) { + @JsonProperty("survey_id") Optional> surveyId) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(region, "region"); Utils.checkNotNull(surveyId, "surveyId"); @@ -90,8 +93,8 @@ public SurveySparrow sourceType() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> surveyId() { - return (Optional>) surveyId; + public Optional> surveyId() { + return (Optional>) surveyId; } public final static Builder builder() { @@ -128,7 +131,7 @@ public SourceSurveySparrow withRegion(Optional region) { /** * A List of your survey ids for survey-specific stream */ - public SourceSurveySparrow withSurveyId(java.util.List surveyId) { + public SourceSurveySparrow withSurveyId(List surveyId) { Utils.checkNotNull(surveyId, "surveyId"); this.surveyId = Optional.ofNullable(surveyId); return this; @@ -137,7 +140,7 @@ public SourceSurveySparrow withSurveyId(java.util.List surveyI /** * A List of your survey ids for survey-specific stream */ - public SourceSurveySparrow withSurveyId(Optional> surveyId) { + public SourceSurveySparrow withSurveyId(Optional> surveyId) { Utils.checkNotNull(surveyId, "surveyId"); this.surveyId = surveyId; return this; @@ -153,15 +156,15 @@ public boolean equals(java.lang.Object o) { } SourceSurveySparrow other = (SourceSurveySparrow) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.region, other.region) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.surveyId, other.surveyId); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.surveyId, other.surveyId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, region, sourceType, @@ -183,7 +186,7 @@ public final static class Builder { private Optional region = Optional.empty(); - private Optional> surveyId = Optional.empty(); + private Optional> surveyId = Optional.empty(); private Builder() { // force use of static builder() method @@ -219,7 +222,7 @@ public Builder region(Optional region) { /** * A List of your survey ids for survey-specific stream */ - public Builder surveyId(java.util.List surveyId) { + public Builder surveyId(List surveyId) { Utils.checkNotNull(surveyId, "surveyId"); this.surveyId = Optional.ofNullable(surveyId); return this; @@ -228,7 +231,7 @@ public Builder surveyId(java.util.List surveyId) { /** * A List of your survey ids for survey-specific stream */ - public Builder surveyId(Optional> surveyId) { + public Builder surveyId(Optional> surveyId) { Utils.checkNotNull(surveyId, "surveyId"); this.surveyId = surveyId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowUrlBase.java b/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowUrlBase.java index ec62f5700..b5cf62473 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowUrlBase.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSurveySparrowUrlBase.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSurveySparrowUrlBase { HTTPS_API_SURVEYSPARROW_COM_V3("https://api.surveysparrow.com/v3"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java b/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java index d93aa06c6..1f1d73cc9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkey.java @@ -1,27 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceSurveymonkey { /** @@ -51,14 +51,14 @@ public class SourceSurveymonkey { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("survey_ids") - private Optional> surveyIds; + private Optional> surveyIds; @JsonCreator public SourceSurveymonkey( @JsonProperty("credentials") SurveyMonkeyAuthorizationMethod credentials, @JsonProperty("origin") Optional origin, @JsonProperty("start_date") OffsetDateTime startDate, - @JsonProperty("survey_ids") Optional> surveyIds) { + @JsonProperty("survey_ids") Optional> surveyIds) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(origin, "origin"); Utils.checkNotNull(startDate, "startDate"); @@ -111,8 +111,8 @@ public OffsetDateTime startDate() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> surveyIds() { - return (Optional>) surveyIds; + public Optional> surveyIds() { + return (Optional>) surveyIds; } public final static Builder builder() { @@ -158,7 +158,7 @@ public SourceSurveymonkey withStartDate(OffsetDateTime startDate) { /** * IDs of the surveys from which you'd like to replicate data. If left empty, data from all boards to which you have access will be replicated. */ - public SourceSurveymonkey withSurveyIds(java.util.List surveyIds) { + public SourceSurveymonkey withSurveyIds(List surveyIds) { Utils.checkNotNull(surveyIds, "surveyIds"); this.surveyIds = Optional.ofNullable(surveyIds); return this; @@ -167,7 +167,7 @@ public SourceSurveymonkey withSurveyIds(java.util.List surveyIds) { /** * IDs of the surveys from which you'd like to replicate data. If left empty, data from all boards to which you have access will be replicated. */ - public SourceSurveymonkey withSurveyIds(Optional> surveyIds) { + public SourceSurveymonkey withSurveyIds(Optional> surveyIds) { Utils.checkNotNull(surveyIds, "surveyIds"); this.surveyIds = surveyIds; return this; @@ -183,16 +183,16 @@ public boolean equals(java.lang.Object o) { } SourceSurveymonkey other = (SourceSurveymonkey) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.origin, other.origin) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.surveyIds, other.surveyIds); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.origin, other.origin) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.surveyIds, other.surveyIds); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, origin, sourceType, @@ -218,7 +218,7 @@ public final static class Builder { private OffsetDateTime startDate; - private Optional> surveyIds = Optional.empty(); + private Optional> surveyIds = Optional.empty(); private Builder() { // force use of static builder() method @@ -263,7 +263,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * IDs of the surveys from which you'd like to replicate data. If left empty, data from all boards to which you have access will be replicated. */ - public Builder surveyIds(java.util.List surveyIds) { + public Builder surveyIds(List surveyIds) { Utils.checkNotNull(surveyIds, "surveyIds"); this.surveyIds = Optional.ofNullable(surveyIds); return this; @@ -272,7 +272,7 @@ public Builder surveyIds(java.util.List surveyIds) { /** * IDs of the surveys from which you'd like to replicate data. If left empty, data from all boards to which you have access will be replicated. */ - public Builder surveyIds(Optional> surveyIds) { + public Builder surveyIds(Optional> surveyIds) { Utils.checkNotNull(surveyIds, "surveyIds"); this.surveyIds = surveyIds; return this; @@ -281,8 +281,7 @@ public Builder surveyIds(Optional> surveyIds) { public SourceSurveymonkey build() { if (origin == null) { origin = _SINGLETON_VALUE_Origin.value(); - } - return new SourceSurveymonkey( + } return new SourceSurveymonkey( credentials, origin, startDate, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyAuthMethod.java index f5bd751b8..42cd71665 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeyAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSurveymonkeyAuthMethod { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkey.java b/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkey.java index 479fe79e6..60ddebf57 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkey.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSurveymonkeySurveymonkey.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceSurveymonkeySurveymonkey { SURVEYMONKEY("surveymonkey"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSurvicate.java b/src/main/java/com/airbyte/api/models/shared/SourceSurvicate.java index ee436a695..fadaa6a49 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceSurvicate.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceSurvicate.java @@ -1,23 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; + public class SourceSurvicate { @@ -82,14 +80,14 @@ public boolean equals(java.lang.Object o) { } SourceSurvicate other = (SourceSurvicate) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, sourceType, startDate); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceSysteme.java b/src/main/java/com/airbyte/api/models/shared/SourceSysteme.java new file mode 100644 index 000000000..e97a4cafb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceSysteme.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceSysteme { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Systeme sourceType; + + @JsonCreator + public SourceSysteme( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Systeme sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceSysteme withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceSysteme other = (SourceSysteme) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceSysteme.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceSysteme build() { + return new SourceSysteme( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"systeme\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTaboola.java b/src/main/java/com/airbyte/api/models/shared/SourceTaboola.java new file mode 100644 index 000000000..5775a44ef --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTaboola.java @@ -0,0 +1,179 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceTaboola { + + /** + * The ID associated with your taboola account + */ + @JsonProperty("account_id") + private String accountId; + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("sourceType") + private Taboola sourceType; + + @JsonCreator + public SourceTaboola( + @JsonProperty("account_id") String accountId, + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret) { + Utils.checkNotNull(accountId, "accountId"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.accountId = accountId; + this.clientId = clientId; + this.clientSecret = clientSecret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * The ID associated with your taboola account + */ + @JsonIgnore + public String accountId() { + return accountId; + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public Taboola sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The ID associated with your taboola account + */ + public SourceTaboola withAccountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + public SourceTaboola withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceTaboola withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTaboola other = (SourceTaboola) o; + return + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + accountId, + clientId, + clientSecret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceTaboola.class, + "accountId", accountId, + "clientId", clientId, + "clientSecret", clientSecret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String accountId; + + private String clientId; + + private String clientSecret; + + private Builder() { + // force use of static builder() method + } + + /** + * The ID associated with your taboola account + */ + public Builder accountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceTaboola build() { + return new SourceTaboola( + accountId, + clientId, + clientSecret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"taboola\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTeamtailor.java b/src/main/java/com/airbyte/api/models/shared/SourceTeamtailor.java new file mode 100644 index 000000000..3a82c9b30 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTeamtailor.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceTeamtailor { + + @JsonProperty("api") + private String api; + + @JsonProperty("sourceType") + private Teamtailor sourceType; + + /** + * The version of the API + */ + @JsonProperty("x_api_version") + private String xApiVersion; + + @JsonCreator + public SourceTeamtailor( + @JsonProperty("api") String api, + @JsonProperty("x_api_version") String xApiVersion) { + Utils.checkNotNull(api, "api"); + Utils.checkNotNull(xApiVersion, "xApiVersion"); + this.api = api; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.xApiVersion = xApiVersion; + } + + @JsonIgnore + public String api() { + return api; + } + + @JsonIgnore + public Teamtailor sourceType() { + return sourceType; + } + + /** + * The version of the API + */ + @JsonIgnore + public String xApiVersion() { + return xApiVersion; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceTeamtailor withApi(String api) { + Utils.checkNotNull(api, "api"); + this.api = api; + return this; + } + + /** + * The version of the API + */ + public SourceTeamtailor withXApiVersion(String xApiVersion) { + Utils.checkNotNull(xApiVersion, "xApiVersion"); + this.xApiVersion = xApiVersion; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTeamtailor other = (SourceTeamtailor) o; + return + Objects.deepEquals(this.api, other.api) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.xApiVersion, other.xApiVersion); + } + + @Override + public int hashCode() { + return Objects.hash( + api, + sourceType, + xApiVersion); + } + + @Override + public String toString() { + return Utils.toString(SourceTeamtailor.class, + "api", api, + "sourceType", sourceType, + "xApiVersion", xApiVersion); + } + + public final static class Builder { + + private String api; + + private String xApiVersion; + + private Builder() { + // force use of static builder() method + } + + public Builder api(String api) { + Utils.checkNotNull(api, "api"); + this.api = api; + return this; + } + + /** + * The version of the API + */ + public Builder xApiVersion(String xApiVersion) { + Utils.checkNotNull(xApiVersion, "xApiVersion"); + this.xApiVersion = xApiVersion; + return this; + } + + public SourceTeamtailor build() { + return new SourceTeamtailor( + api, + xApiVersion); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"teamtailor\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTeamwork.java b/src/main/java/com/airbyte/api/models/shared/SourceTeamwork.java index 8ba2c6513..d246073c1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTeamwork.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTeamwork.java @@ -1,32 +1,30 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceTeamwork { @JsonInclude(Include.NON_ABSENT) @JsonProperty("password") - private Optional password; + private Optional password; /** * The teamwork site name appearing at the url @@ -45,7 +43,7 @@ public class SourceTeamwork { @JsonCreator public SourceTeamwork( - @JsonProperty("password") Optional password, + @JsonProperty("password") Optional password, @JsonProperty("site_name") String siteName, @JsonProperty("start_date") OffsetDateTime startDate, @JsonProperty("username") String username) { @@ -67,10 +65,9 @@ public SourceTeamwork( this(Optional.empty(), siteName, startDate, username); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional password() { - return (Optional) password; + return password; } /** @@ -106,7 +103,7 @@ public SourceTeamwork withPassword(String password) { return this; } - public SourceTeamwork withPassword(Optional password) { + public SourceTeamwork withPassword(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; @@ -143,16 +140,16 @@ public boolean equals(java.lang.Object o) { } SourceTeamwork other = (SourceTeamwork) o; return - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.siteName, other.siteName) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.siteName, other.siteName) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( password, siteName, sourceType, @@ -172,7 +169,7 @@ public String toString() { public final static class Builder { - private Optional password = Optional.empty(); + private Optional password = Optional.empty(); private String siteName; @@ -190,7 +187,7 @@ public Builder password(String password) { return this; } - public Builder password(Optional password) { + public Builder password(Optional password) { Utils.checkNotNull(password, "password"); this.password = password; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTempo.java b/src/main/java/com/airbyte/api/models/shared/SourceTempo.java index 1d1a03f56..0f288d41c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTempo.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTempo.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceTempo { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceTempo other = (SourceTempo) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTestrail.java b/src/main/java/com/airbyte/api/models/shared/SourceTestrail.java new file mode 100644 index 000000000..08b3e4dab --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTestrail.java @@ -0,0 +1,232 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceTestrail { + + /** + * The unique domain name for accessing testrail + */ + @JsonProperty("domain_name") + private String domainName; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Testrail sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonProperty("username") + private String username; + + @JsonCreator + public SourceTestrail( + @JsonProperty("domain_name") String domainName, + @JsonProperty("password") Optional password, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("username") String username) { + Utils.checkNotNull(domainName, "domainName"); + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(username, "username"); + this.domainName = domainName; + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.username = username; + } + + public SourceTestrail( + String domainName, + OffsetDateTime startDate, + String username) { + this(domainName, Optional.empty(), startDate, username); + } + + /** + * The unique domain name for accessing testrail + */ + @JsonIgnore + public String domainName() { + return domainName; + } + + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Testrail sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + @JsonIgnore + public String username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The unique domain name for accessing testrail + */ + public SourceTestrail withDomainName(String domainName) { + Utils.checkNotNull(domainName, "domainName"); + this.domainName = domainName; + return this; + } + + public SourceTestrail withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public SourceTestrail withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public SourceTestrail withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceTestrail withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTestrail other = (SourceTestrail) o; + return + Objects.deepEquals(this.domainName, other.domainName) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + domainName, + password, + sourceType, + startDate, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceTestrail.class, + "domainName", domainName, + "password", password, + "sourceType", sourceType, + "startDate", startDate, + "username", username); + } + + public final static class Builder { + + private String domainName; + + private Optional password = Optional.empty(); + + private OffsetDateTime startDate; + + private String username; + + private Builder() { + // force use of static builder() method + } + + /** + * The unique domain name for accessing testrail + */ + public Builder domainName(String domainName) { + Utils.checkNotNull(domainName, "domainName"); + this.domainName = domainName; + return this; + } + + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceTestrail build() { + return new SourceTestrail( + domainName, + password, + startDate, + username); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"testrail\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java b/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java index 7a111349e..78f483d67 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTheGuardianApi.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceTheGuardianApi { /** @@ -32,21 +32,21 @@ public class SourceTheGuardianApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * (Optional) The query (q) parameter filters the results to only those that include that search term. The q parameter supports AND, OR and NOT operators. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("query") - private Optional query; + private Optional query; /** * (Optional) Use this to filter the results by a particular section. See <a href="https://content.guardianapis.com/sections?api-key=test">here</a> for a list of all sections, and <a href="https://open-platform.theguardian.com/documentation/section">here</a> for the sections endpoint documentation. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("section") - private Optional section; + private Optional section; @JsonProperty("sourceType") private TheGuardianApi sourceType; @@ -62,16 +62,16 @@ public class SourceTheGuardianApi { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tag") - private Optional tag; + private Optional tag; @JsonCreator public SourceTheGuardianApi( @JsonProperty("api_key") String apiKey, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("query") Optional query, - @JsonProperty("section") Optional section, + @JsonProperty("end_date") Optional endDate, + @JsonProperty("query") Optional query, + @JsonProperty("section") Optional section, @JsonProperty("start_date") String startDate, - @JsonProperty("tag") Optional tag) { + @JsonProperty("tag") Optional tag) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(endDate, "endDate"); Utils.checkNotNull(query, "query"); @@ -104,28 +104,25 @@ public String apiKey() { /** * (Optional) Use this to set the maximum date (YYYY-MM-DD) of the results. Results newer than the end_date will not be shown. Default is set to the current date (today) for incremental syncs. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** * (Optional) The query (q) parameter filters the results to only those that include that search term. The q parameter supports AND, OR and NOT operators. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional query() { - return (Optional) query; + return query; } /** * (Optional) Use this to filter the results by a particular section. See <a href="https://content.guardianapis.com/sections?api-key=test">here</a> for a list of all sections, and <a href="https://open-platform.theguardian.com/documentation/section">here</a> for the sections endpoint documentation. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional section() { - return (Optional) section; + return section; } @JsonIgnore @@ -144,10 +141,9 @@ public String startDate() { /** * (Optional) A tag is a piece of data that is used by The Guardian to categorise content. Use this parameter to filter results by showing only the ones matching the entered tag. See <a href="https://content.guardianapis.com/tags?api-key=test">here</a> for a list of all tags, and <a href="https://open-platform.theguardian.com/documentation/tag">here</a> for the tags endpoint documentation. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tag() { - return (Optional) tag; + return tag; } public final static Builder builder() { @@ -175,7 +171,7 @@ public SourceTheGuardianApi withEndDate(String endDate) { /** * (Optional) Use this to set the maximum date (YYYY-MM-DD) of the results. Results newer than the end_date will not be shown. Default is set to the current date (today) for incremental syncs. */ - public SourceTheGuardianApi withEndDate(Optional endDate) { + public SourceTheGuardianApi withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -193,7 +189,7 @@ public SourceTheGuardianApi withQuery(String query) { /** * (Optional) The query (q) parameter filters the results to only those that include that search term. The q parameter supports AND, OR and NOT operators. */ - public SourceTheGuardianApi withQuery(Optional query) { + public SourceTheGuardianApi withQuery(Optional query) { Utils.checkNotNull(query, "query"); this.query = query; return this; @@ -211,7 +207,7 @@ public SourceTheGuardianApi withSection(String section) { /** * (Optional) Use this to filter the results by a particular section. See <a href="https://content.guardianapis.com/sections?api-key=test">here</a> for a list of all sections, and <a href="https://open-platform.theguardian.com/documentation/section">here</a> for the sections endpoint documentation. */ - public SourceTheGuardianApi withSection(Optional section) { + public SourceTheGuardianApi withSection(Optional section) { Utils.checkNotNull(section, "section"); this.section = section; return this; @@ -238,7 +234,7 @@ public SourceTheGuardianApi withTag(String tag) { /** * (Optional) A tag is a piece of data that is used by The Guardian to categorise content. Use this parameter to filter results by showing only the ones matching the entered tag. See <a href="https://content.guardianapis.com/tags?api-key=test">here</a> for a list of all tags, and <a href="https://open-platform.theguardian.com/documentation/tag">here</a> for the tags endpoint documentation. */ - public SourceTheGuardianApi withTag(Optional tag) { + public SourceTheGuardianApi withTag(Optional tag) { Utils.checkNotNull(tag, "tag"); this.tag = tag; return this; @@ -254,18 +250,18 @@ public boolean equals(java.lang.Object o) { } SourceTheGuardianApi other = (SourceTheGuardianApi) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.query, other.query) && - java.util.Objects.deepEquals(this.section, other.section) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.tag, other.tag); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.query, other.query) && + Objects.deepEquals(this.section, other.section) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.tag, other.tag); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, endDate, query, @@ -291,15 +287,15 @@ public final static class Builder { private String apiKey; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional query = Optional.empty(); + private Optional query = Optional.empty(); - private Optional section = Optional.empty(); + private Optional section = Optional.empty(); private String startDate; - private Optional tag = Optional.empty(); + private Optional tag = Optional.empty(); private Builder() { // force use of static builder() method @@ -326,7 +322,7 @@ public Builder endDate(String endDate) { /** * (Optional) Use this to set the maximum date (YYYY-MM-DD) of the results. Results newer than the end_date will not be shown. Default is set to the current date (today) for incremental syncs. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -344,7 +340,7 @@ public Builder query(String query) { /** * (Optional) The query (q) parameter filters the results to only those that include that search term. The q parameter supports AND, OR and NOT operators. */ - public Builder query(Optional query) { + public Builder query(Optional query) { Utils.checkNotNull(query, "query"); this.query = query; return this; @@ -362,7 +358,7 @@ public Builder section(String section) { /** * (Optional) Use this to filter the results by a particular section. See <a href="https://content.guardianapis.com/sections?api-key=test">here</a> for a list of all sections, and <a href="https://open-platform.theguardian.com/documentation/section">here</a> for the sections endpoint documentation. */ - public Builder section(Optional section) { + public Builder section(Optional section) { Utils.checkNotNull(section, "section"); this.section = section; return this; @@ -389,7 +385,7 @@ public Builder tag(String tag) { /** * (Optional) A tag is a piece of data that is used by The Guardian to categorise content. Use this parameter to filter results by showing only the ones matching the entered tag. See <a href="https://content.guardianapis.com/tags?api-key=test">here</a> for a list of all tags, and <a href="https://open-platform.theguardian.com/documentation/tag">here</a> for the tags endpoint documentation. */ - public Builder tag(Optional tag) { + public Builder tag(Optional tag) { Utils.checkNotNull(tag, "tag"); this.tag = tag; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceThinkific.java b/src/main/java/com/airbyte/api/models/shared/SourceThinkific.java new file mode 100644 index 000000000..e7f9dae90 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceThinkific.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceThinkific { + + /** + * Your Thinkific API key for authentication. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Thinkific sourceType; + + /** + * The subdomain of your Thinkific URL (e.g., if your URL is example.thinkific.com, your subdomain is "example". + */ + @JsonProperty("subdomain") + private String subdomain; + + @JsonCreator + public SourceThinkific( + @JsonProperty("api_key") String apiKey, + @JsonProperty("subdomain") String subdomain) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(subdomain, "subdomain"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.subdomain = subdomain; + } + + /** + * Your Thinkific API key for authentication. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Thinkific sourceType() { + return sourceType; + } + + /** + * The subdomain of your Thinkific URL (e.g., if your URL is example.thinkific.com, your subdomain is "example". + */ + @JsonIgnore + public String subdomain() { + return subdomain; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your Thinkific API key for authentication. + */ + public SourceThinkific withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The subdomain of your Thinkific URL (e.g., if your URL is example.thinkific.com, your subdomain is "example". + */ + public SourceThinkific withSubdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceThinkific other = (SourceThinkific) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.subdomain, other.subdomain); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + subdomain); + } + + @Override + public String toString() { + return Utils.toString(SourceThinkific.class, + "apiKey", apiKey, + "sourceType", sourceType, + "subdomain", subdomain); + } + + public final static class Builder { + + private String apiKey; + + private String subdomain; + + private Builder() { + // force use of static builder() method + } + + /** + * Your Thinkific API key for authentication. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * The subdomain of your Thinkific URL (e.g., if your URL is example.thinkific.com, your subdomain is "example". + */ + public Builder subdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + public SourceThinkific build() { + return new SourceThinkific( + apiKey, + subdomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"thinkific\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTicketmaster.java b/src/main/java/com/airbyte/api/models/shared/SourceTicketmaster.java new file mode 100644 index 000000000..9c1483f5f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTicketmaster.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceTicketmaster { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Ticketmaster sourceType; + + @JsonCreator + public SourceTicketmaster( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Ticketmaster sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceTicketmaster withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTicketmaster other = (SourceTicketmaster) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceTicketmaster.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceTicketmaster build() { + return new SourceTicketmaster( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"ticketmaster\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTickettailor.java b/src/main/java/com/airbyte/api/models/shared/SourceTickettailor.java new file mode 100644 index 000000000..af8dbe6c9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTickettailor.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceTickettailor { + + /** + * API key to use. Find it at https://www.getdrip.com/user/edit + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Tickettailor sourceType; + + @JsonCreator + public SourceTickettailor( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. Find it at https://www.getdrip.com/user/edit + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Tickettailor sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. Find it at https://www.getdrip.com/user/edit + */ + public SourceTickettailor withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTickettailor other = (SourceTickettailor) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceTickettailor.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. Find it at https://www.getdrip.com/user/edit + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceTickettailor build() { + return new SourceTickettailor( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"tickettailor\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java index 43df3f94f..f8c358461 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java @@ -1,25 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.LocalDate; +import java.util.Objects; import java.util.Optional; + public class SourceTiktokMarketing { /** @@ -27,7 +30,7 @@ public class SourceTiktokMarketing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("attribution_window") - private Optional attributionWindow; + private Optional attributionWindow; /** * Authentication method @@ -41,14 +44,14 @@ public class SourceTiktokMarketing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * Set to active if you want to include deleted data in report based streams and Ads, Ad Groups and Campaign streams. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("include_deleted") - private Optional includeDeleted; + private Optional includeDeleted; @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") @@ -59,15 +62,15 @@ public class SourceTiktokMarketing { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceTiktokMarketing( - @JsonProperty("attribution_window") Optional attributionWindow, + @JsonProperty("attribution_window") Optional attributionWindow, @JsonProperty("credentials") Optional credentials, - @JsonProperty("end_date") Optional endDate, - @JsonProperty("include_deleted") Optional includeDeleted, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("end_date") Optional endDate, + @JsonProperty("include_deleted") Optional includeDeleted, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(attributionWindow, "attributionWindow"); Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(endDate, "endDate"); @@ -88,10 +91,9 @@ public SourceTiktokMarketing() { /** * The attribution window in days. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional attributionWindow() { - return (Optional) attributionWindow; + return attributionWindow; } /** @@ -106,19 +108,17 @@ public Optional credentials() { /** * The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DD. All data generated between start_date and this date will be replicated. Not setting this option will result in always syncing the data till the current date. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** * Set to active if you want to include deleted data in report based streams and Ads, Ad Groups and Campaign streams. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeDeleted() { - return (Optional) includeDeleted; + return includeDeleted; } @SuppressWarnings("unchecked") @@ -130,10 +130,9 @@ public Optional sourceType() { /** * The Start Date in format: YYYY-MM-DD. Any data before this date will not be replicated. If this parameter is not set, all data will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -152,7 +151,7 @@ public SourceTiktokMarketing withAttributionWindow(long attributionWindow) { /** * The attribution window in days. */ - public SourceTiktokMarketing withAttributionWindow(Optional attributionWindow) { + public SourceTiktokMarketing withAttributionWindow(Optional attributionWindow) { Utils.checkNotNull(attributionWindow, "attributionWindow"); this.attributionWindow = attributionWindow; return this; @@ -188,7 +187,7 @@ public SourceTiktokMarketing withEndDate(LocalDate endDate) { /** * The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DD. All data generated between start_date and this date will be replicated. Not setting this option will result in always syncing the data till the current date. */ - public SourceTiktokMarketing withEndDate(Optional endDate) { + public SourceTiktokMarketing withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -206,7 +205,7 @@ public SourceTiktokMarketing withIncludeDeleted(boolean includeDeleted) { /** * Set to active if you want to include deleted data in report based streams and Ads, Ad Groups and Campaign streams. */ - public SourceTiktokMarketing withIncludeDeleted(Optional includeDeleted) { + public SourceTiktokMarketing withIncludeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -224,7 +223,7 @@ public SourceTiktokMarketing withStartDate(LocalDate startDate) { /** * The Start Date in format: YYYY-MM-DD. Any data before this date will not be replicated. If this parameter is not set, all data will be replicated. */ - public SourceTiktokMarketing withStartDate(Optional startDate) { + public SourceTiktokMarketing withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -240,17 +239,17 @@ public boolean equals(java.lang.Object o) { } SourceTiktokMarketing other = (SourceTiktokMarketing) o; return - java.util.Objects.deepEquals(this.attributionWindow, other.attributionWindow) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.includeDeleted, other.includeDeleted) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.attributionWindow, other.attributionWindow) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.includeDeleted, other.includeDeleted) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( attributionWindow, credentials, endDate, @@ -272,15 +271,15 @@ public String toString() { public final static class Builder { - private Optional attributionWindow; + private Optional attributionWindow; private Optional credentials = Optional.empty(); - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); - private Optional includeDeleted; + private Optional includeDeleted; - private Optional startDate; + private Optional startDate; private Builder() { // force use of static builder() method @@ -298,7 +297,7 @@ public Builder attributionWindow(long attributionWindow) { /** * The attribution window in days. */ - public Builder attributionWindow(Optional attributionWindow) { + public Builder attributionWindow(Optional attributionWindow) { Utils.checkNotNull(attributionWindow, "attributionWindow"); this.attributionWindow = attributionWindow; return this; @@ -334,7 +333,7 @@ public Builder endDate(LocalDate endDate) { /** * The date until which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DD. All data generated between start_date and this date will be replicated. Not setting this option will result in always syncing the data till the current date. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -352,7 +351,7 @@ public Builder includeDeleted(boolean includeDeleted) { /** * Set to active if you want to include deleted data in report based streams and Ads, Ad Groups and Campaign streams. */ - public Builder includeDeleted(Optional includeDeleted) { + public Builder includeDeleted(Optional includeDeleted) { Utils.checkNotNull(includeDeleted, "includeDeleted"); this.includeDeleted = includeDeleted; return this; @@ -370,7 +369,7 @@ public Builder startDate(LocalDate startDate) { /** * The Start Date in format: YYYY-MM-DD. Any data before this date will not be replicated. If this parameter is not set, all data will be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -385,8 +384,7 @@ public SourceTiktokMarketing build() { } if (startDate == null) { startDate = _SINGLETON_VALUE_StartDate.value(); - } - return new SourceTiktokMarketing( + } return new SourceTiktokMarketing( attributionWindow, credentials, endDate, @@ -394,17 +392,17 @@ public SourceTiktokMarketing build() { startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_AttributionWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_AttributionWindow = new LazySingletonValue<>( "attribution_window", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeDeleted = new LazySingletonValue<>( "include_deleted", "false", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( @@ -412,11 +410,11 @@ public SourceTiktokMarketing build() { "\"tiktok-marketing\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = + private static final LazySingletonValue> _SINGLETON_VALUE_StartDate = new LazySingletonValue<>( "start_date", "\"2016-09-01\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthType.java index a350f6749..33e6bfe63 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceTiktokMarketingAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthenticationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthenticationMethod.java index af0335c55..22b818923 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthenticationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingAuthenticationMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * SourceTiktokMarketingAuthenticationMethod - Authentication method @@ -28,7 +25,7 @@ @JsonDeserialize(using = SourceTiktokMarketingAuthenticationMethod._Deserializer.class) public class SourceTiktokMarketingAuthenticationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceTiktokMarketingAuthenticationMethod(TypedObject value) { @@ -48,8 +45,8 @@ public static SourceTiktokMarketingAuthenticationMethod of(SandboxAccessToken va /** * Returns an instance of one of these types: *
      - *
    • {@code SourceTiktokMarketingOAuth20}
    • - *
    • {@code SandboxAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTiktokMarketingOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SandboxAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceTiktokMarketingAuthenticationMethod other = (SourceTiktokMarketingAuthenticationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceTiktokMarketingAuthenticationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceTiktokMarketingAuthenticationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingOAuth20.java index 3e3ff192e..9f73087f0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingOAuth20.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceTiktokMarketingOAuth20 { /** @@ -32,7 +33,7 @@ public class SourceTiktokMarketingOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("advertiser_id") - private Optional advertiserId; + private Optional advertiserId; /** * The Developer Application App ID. @@ -53,7 +54,7 @@ public class SourceTiktokMarketingOAuth20 { @JsonCreator public SourceTiktokMarketingOAuth20( @JsonProperty("access_token") String accessToken, - @JsonProperty("advertiser_id") Optional advertiserId, + @JsonProperty("advertiser_id") Optional advertiserId, @JsonProperty("app_id") String appId, @JsonProperty("secret") String secret) { Utils.checkNotNull(accessToken, "accessToken"); @@ -85,10 +86,9 @@ public String accessToken() { /** * The Advertiser ID to filter reports and streams. Let this empty to retrieve all. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional advertiserId() { - return (Optional) advertiserId; + return advertiserId; } /** @@ -138,7 +138,7 @@ public SourceTiktokMarketingOAuth20 withAdvertiserId(String advertiserId) { /** * The Advertiser ID to filter reports and streams. Let this empty to retrieve all. */ - public SourceTiktokMarketingOAuth20 withAdvertiserId(Optional advertiserId) { + public SourceTiktokMarketingOAuth20 withAdvertiserId(Optional advertiserId) { Utils.checkNotNull(advertiserId, "advertiserId"); this.advertiserId = advertiserId; return this; @@ -172,16 +172,16 @@ public boolean equals(java.lang.Object o) { } SourceTiktokMarketingOAuth20 other = (SourceTiktokMarketingOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.advertiserId, other.advertiserId) && - java.util.Objects.deepEquals(this.appId, other.appId) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.secret, other.secret); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.advertiserId, other.advertiserId) && + Objects.deepEquals(this.appId, other.appId) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.secret, other.secret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, advertiserId, appId, @@ -203,7 +203,7 @@ public final static class Builder { private String accessToken; - private Optional advertiserId = Optional.empty(); + private Optional advertiserId = Optional.empty(); private String appId; @@ -234,7 +234,7 @@ public Builder advertiserId(String advertiserId) { /** * The Advertiser ID to filter reports and streams. Let this empty to retrieve all. */ - public Builder advertiserId(Optional advertiserId) { + public Builder advertiserId(Optional advertiserId) { Utils.checkNotNull(advertiserId, "advertiserId"); this.advertiserId = advertiserId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingSchemasAuthType.java index 53e28c413..7c3d4e183 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceTiktokMarketingSchemasAuthType { SANDBOX_ACCESS_TOKEN("sandbox_access_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketing.java b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketing.java index 5cc56ac45..bfd5ee22e 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketing.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketingTiktokMarketing.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceTiktokMarketingTiktokMarketing { TIKTOK_MARKETING("tiktok-marketing"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTimely.java b/src/main/java/com/airbyte/api/models/shared/SourceTimely.java new file mode 100644 index 000000000..083216336 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTimely.java @@ -0,0 +1,203 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceTimely { + + /** + * Timely account id + */ + @JsonProperty("account_id") + private String accountId; + + /** + * Timely bearer token + */ + @JsonProperty("bearer_token") + private String bearerToken; + + @JsonProperty("sourceType") + private Timely sourceType; + + /** + * start date + */ + @JsonProperty("start_date") + private String startDate; + + @JsonCreator + public SourceTimely( + @JsonProperty("account_id") String accountId, + @JsonProperty("bearer_token") String bearerToken, + @JsonProperty("start_date") String startDate) { + Utils.checkNotNull(accountId, "accountId"); + Utils.checkNotNull(bearerToken, "bearerToken"); + Utils.checkNotNull(startDate, "startDate"); + this.accountId = accountId; + this.bearerToken = bearerToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Timely account id + */ + @JsonIgnore + public String accountId() { + return accountId; + } + + /** + * Timely bearer token + */ + @JsonIgnore + public String bearerToken() { + return bearerToken; + } + + @JsonIgnore + public Timely sourceType() { + return sourceType; + } + + /** + * start date + */ + @JsonIgnore + public String startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Timely account id + */ + public SourceTimely withAccountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + /** + * Timely bearer token + */ + public SourceTimely withBearerToken(String bearerToken) { + Utils.checkNotNull(bearerToken, "bearerToken"); + this.bearerToken = bearerToken; + return this; + } + + /** + * start date + */ + public SourceTimely withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTimely other = (SourceTimely) o; + return + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.bearerToken, other.bearerToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accountId, + bearerToken, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceTimely.class, + "accountId", accountId, + "bearerToken", bearerToken, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accountId; + + private String bearerToken; + + private String startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Timely account id + */ + public Builder accountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + /** + * Timely bearer token + */ + public Builder bearerToken(String bearerToken) { + Utils.checkNotNull(bearerToken, "bearerToken"); + this.bearerToken = bearerToken; + return this; + } + + /** + * start date + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceTimely build() { + return new SourceTimely( + accountId, + bearerToken, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"timely\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTinyemail.java b/src/main/java/com/airbyte/api/models/shared/SourceTinyemail.java new file mode 100644 index 000000000..3b05746ce --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTinyemail.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceTinyemail { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Tinyemail sourceType; + + @JsonCreator + public SourceTinyemail( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Tinyemail sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceTinyemail withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTinyemail other = (SourceTinyemail) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceTinyemail.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceTinyemail build() { + return new SourceTinyemail( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"tinyemail\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTodoist.java b/src/main/java/com/airbyte/api/models/shared/SourceTodoist.java new file mode 100644 index 000000000..8ffea004d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTodoist.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceTodoist { + + @JsonProperty("sourceType") + private Todoist sourceType; + + /** + * API authorization bearer token for authenticating the API + */ + @JsonProperty("token") + private String token; + + @JsonCreator + public SourceTodoist( + @JsonProperty("token") String token) { + Utils.checkNotNull(token, "token"); + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.token = token; + } + + @JsonIgnore + public Todoist sourceType() { + return sourceType; + } + + /** + * API authorization bearer token for authenticating the API + */ + @JsonIgnore + public String token() { + return token; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API authorization bearer token for authenticating the API + */ + public SourceTodoist withToken(String token) { + Utils.checkNotNull(token, "token"); + this.token = token; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTodoist other = (SourceTodoist) o; + return + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.token, other.token); + } + + @Override + public int hashCode() { + return Objects.hash( + sourceType, + token); + } + + @Override + public String toString() { + return Utils.toString(SourceTodoist.class, + "sourceType", sourceType, + "token", token); + } + + public final static class Builder { + + private String token; + + private Builder() { + // force use of static builder() method + } + + /** + * API authorization bearer token for authenticating the API + */ + public Builder token(String token) { + Utils.checkNotNull(token, "token"); + this.token = token; + return this; + } + + public SourceTodoist build() { + return new SourceTodoist( + token); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"todoist\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTrackPms.java b/src/main/java/com/airbyte/api/models/shared/SourceTrackPms.java new file mode 100644 index 000000000..6f0307745 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTrackPms.java @@ -0,0 +1,189 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceTrackPms { + + @JsonProperty("api_key") + private String apiKey; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("api_secret") + private Optional apiSecret; + + @JsonProperty("customer_domain") + private String customerDomain; + + @JsonProperty("sourceType") + private TrackPms sourceType; + + @JsonCreator + public SourceTrackPms( + @JsonProperty("api_key") String apiKey, + @JsonProperty("api_secret") Optional apiSecret, + @JsonProperty("customer_domain") String customerDomain) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(apiSecret, "apiSecret"); + Utils.checkNotNull(customerDomain, "customerDomain"); + this.apiKey = apiKey; + this.apiSecret = apiSecret; + this.customerDomain = customerDomain; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceTrackPms( + String apiKey, + String customerDomain) { + this(apiKey, Optional.empty(), customerDomain); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Optional apiSecret() { + return apiSecret; + } + + @JsonIgnore + public String customerDomain() { + return customerDomain; + } + + @JsonIgnore + public TrackPms sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceTrackPms withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceTrackPms withApiSecret(String apiSecret) { + Utils.checkNotNull(apiSecret, "apiSecret"); + this.apiSecret = Optional.ofNullable(apiSecret); + return this; + } + + public SourceTrackPms withApiSecret(Optional apiSecret) { + Utils.checkNotNull(apiSecret, "apiSecret"); + this.apiSecret = apiSecret; + return this; + } + + public SourceTrackPms withCustomerDomain(String customerDomain) { + Utils.checkNotNull(customerDomain, "customerDomain"); + this.customerDomain = customerDomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTrackPms other = (SourceTrackPms) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiSecret, other.apiSecret) && + Objects.deepEquals(this.customerDomain, other.customerDomain) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + apiSecret, + customerDomain, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceTrackPms.class, + "apiKey", apiKey, + "apiSecret", apiSecret, + "customerDomain", customerDomain, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Optional apiSecret = Optional.empty(); + + private String customerDomain; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder apiSecret(String apiSecret) { + Utils.checkNotNull(apiSecret, "apiSecret"); + this.apiSecret = Optional.ofNullable(apiSecret); + return this; + } + + public Builder apiSecret(Optional apiSecret) { + Utils.checkNotNull(apiSecret, "apiSecret"); + this.apiSecret = apiSecret; + return this; + } + + public Builder customerDomain(String customerDomain) { + Utils.checkNotNull(customerDomain, "customerDomain"); + this.customerDomain = customerDomain; + return this; + } + + public SourceTrackPms build() { + return new SourceTrackPms( + apiKey, + apiSecret, + customerDomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"track-pms\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTrello.java b/src/main/java/com/airbyte/api/models/shared/SourceTrello.java index 61c4ba8c1..92146ca44 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTrello.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTrello.java @@ -1,27 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceTrello { /** @@ -29,7 +29,7 @@ public class SourceTrello { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("board_ids") - private Optional> boardIds; + private Optional> boardIds; /** * Trello API key. See the <a href="https://developer.atlassian.com/cloud/trello/guides/rest-api/authorization/#using-basic-oauth">docs</a> for instructions on how to generate it. @@ -54,7 +54,7 @@ public class SourceTrello { @JsonCreator public SourceTrello( - @JsonProperty("board_ids") Optional> boardIds, + @JsonProperty("board_ids") Optional> boardIds, @JsonProperty("key") String key, @JsonProperty("start_date") OffsetDateTime startDate, @JsonProperty("token") String token) { @@ -81,8 +81,8 @@ public SourceTrello( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> boardIds() { - return (Optional>) boardIds; + public Optional> boardIds() { + return (Optional>) boardIds; } /** @@ -121,7 +121,7 @@ public final static Builder builder() { /** * IDs of the boards to replicate data from. If left empty, data from all boards to which you have access will be replicated. Please note that this is not the 8-character ID in the board's shortLink (URL of the board). Rather, what is required here is the 24-character ID usually returned by the API */ - public SourceTrello withBoardIds(java.util.List boardIds) { + public SourceTrello withBoardIds(List boardIds) { Utils.checkNotNull(boardIds, "boardIds"); this.boardIds = Optional.ofNullable(boardIds); return this; @@ -130,7 +130,7 @@ public SourceTrello withBoardIds(java.util.List boardIds) { /** * IDs of the boards to replicate data from. If left empty, data from all boards to which you have access will be replicated. Please note that this is not the 8-character ID in the board's shortLink (URL of the board). Rather, what is required here is the 24-character ID usually returned by the API */ - public SourceTrello withBoardIds(Optional> boardIds) { + public SourceTrello withBoardIds(Optional> boardIds) { Utils.checkNotNull(boardIds, "boardIds"); this.boardIds = boardIds; return this; @@ -173,16 +173,16 @@ public boolean equals(java.lang.Object o) { } SourceTrello other = (SourceTrello) o; return - java.util.Objects.deepEquals(this.boardIds, other.boardIds) && - java.util.Objects.deepEquals(this.key, other.key) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.token, other.token); + Objects.deepEquals(this.boardIds, other.boardIds) && + Objects.deepEquals(this.key, other.key) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.token, other.token); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( boardIds, key, sourceType, @@ -202,7 +202,7 @@ public String toString() { public final static class Builder { - private Optional> boardIds = Optional.empty(); + private Optional> boardIds = Optional.empty(); private String key; @@ -217,7 +217,7 @@ private Builder() { /** * IDs of the boards to replicate data from. If left empty, data from all boards to which you have access will be replicated. Please note that this is not the 8-character ID in the board's shortLink (URL of the board). Rather, what is required here is the 24-character ID usually returned by the API */ - public Builder boardIds(java.util.List boardIds) { + public Builder boardIds(List boardIds) { Utils.checkNotNull(boardIds, "boardIds"); this.boardIds = Optional.ofNullable(boardIds); return this; @@ -226,7 +226,7 @@ public Builder boardIds(java.util.List boardIds) { /** * IDs of the boards to replicate data from. If left empty, data from all boards to which you have access will be replicated. Please note that this is not the 8-character ID in the board's shortLink (URL of the board). Rather, what is required here is the 24-character ID usually returned by the API */ - public Builder boardIds(Optional> boardIds) { + public Builder boardIds(Optional> boardIds) { Utils.checkNotNull(boardIds, "boardIds"); this.boardIds = boardIds; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTremendous.java b/src/main/java/com/airbyte/api/models/shared/SourceTremendous.java new file mode 100644 index 000000000..ae8e68035 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTremendous.java @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceTremendous { + + /** + * API key to use. You can generate an API key through the Tremendous dashboard under Team Settings > Developers. Save the key once you’ve generated it. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("environment") + private SourceTremendousEnvironment environment; + + @JsonProperty("sourceType") + private Tremendous sourceType; + + @JsonCreator + public SourceTremendous( + @JsonProperty("api_key") String apiKey, + @JsonProperty("environment") SourceTremendousEnvironment environment) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(environment, "environment"); + this.apiKey = apiKey; + this.environment = environment; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API key to use. You can generate an API key through the Tremendous dashboard under Team Settings > Developers. Save the key once you’ve generated it. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public SourceTremendousEnvironment environment() { + return environment; + } + + @JsonIgnore + public Tremendous sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API key to use. You can generate an API key through the Tremendous dashboard under Team Settings > Developers. Save the key once you’ve generated it. + */ + public SourceTremendous withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceTremendous withEnvironment(SourceTremendousEnvironment environment) { + Utils.checkNotNull(environment, "environment"); + this.environment = environment; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTremendous other = (SourceTremendous) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.environment, other.environment) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + environment, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceTremendous.class, + "apiKey", apiKey, + "environment", environment, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private SourceTremendousEnvironment environment; + + private Builder() { + // force use of static builder() method + } + + /** + * API key to use. You can generate an API key through the Tremendous dashboard under Team Settings > Developers. Save the key once you’ve generated it. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder environment(SourceTremendousEnvironment environment) { + Utils.checkNotNull(environment, "environment"); + this.environment = environment; + return this; + } + + public SourceTremendous build() { + return new SourceTremendous( + apiKey, + environment); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"tremendous\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTremendousEnvironment.java b/src/main/java/com/airbyte/api/models/shared/SourceTremendousEnvironment.java new file mode 100644 index 000000000..3881ceaf9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTremendousEnvironment.java @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceTremendousEnvironment { + API("api"), + TESTFLIGHT("testflight"); + + @JsonValue + private final String value; + + private SourceTremendousEnvironment(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java index af28786b3..9e4ec3867 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilot.java @@ -1,20 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + public class SourceTrustpilot { @@ -22,7 +23,7 @@ public class SourceTrustpilot { * The names of business units which shall be synchronized. Some streams e.g. configured_business_units or private_reviews use this configuration. */ @JsonProperty("business_units") - private java.util.List businessUnits; + private List businessUnits; @JsonProperty("credentials") private SourceTrustpilotAuthorizationMethod credentials; @@ -38,7 +39,7 @@ public class SourceTrustpilot { @JsonCreator public SourceTrustpilot( - @JsonProperty("business_units") java.util.List businessUnits, + @JsonProperty("business_units") List businessUnits, @JsonProperty("credentials") SourceTrustpilotAuthorizationMethod credentials, @JsonProperty("start_date") String startDate) { Utils.checkNotNull(businessUnits, "businessUnits"); @@ -54,7 +55,7 @@ public SourceTrustpilot( * The names of business units which shall be synchronized. Some streams e.g. configured_business_units or private_reviews use this configuration. */ @JsonIgnore - public java.util.List businessUnits() { + public List businessUnits() { return businessUnits; } @@ -83,7 +84,7 @@ public final static Builder builder() { /** * The names of business units which shall be synchronized. Some streams e.g. configured_business_units or private_reviews use this configuration. */ - public SourceTrustpilot withBusinessUnits(java.util.List businessUnits) { + public SourceTrustpilot withBusinessUnits(List businessUnits) { Utils.checkNotNull(businessUnits, "businessUnits"); this.businessUnits = businessUnits; return this; @@ -114,15 +115,15 @@ public boolean equals(java.lang.Object o) { } SourceTrustpilot other = (SourceTrustpilot) o; return - java.util.Objects.deepEquals(this.businessUnits, other.businessUnits) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.businessUnits, other.businessUnits) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( businessUnits, credentials, sourceType, @@ -140,7 +141,7 @@ public String toString() { public final static class Builder { - private java.util.List businessUnits; + private List businessUnits; private SourceTrustpilotAuthorizationMethod credentials; @@ -153,7 +154,7 @@ private Builder() { /** * The names of business units which shall be synchronized. Some streams e.g. configured_business_units or private_reviews use this configuration. */ - public Builder businessUnits(java.util.List businessUnits) { + public Builder businessUnits(List businessUnits) { Utils.checkNotNull(businessUnits, "businessUnits"); this.businessUnits = businessUnits; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAPIKey.java b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAPIKey.java index 3dc489af9..9ebc00e1c 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAPIKey.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAPIKey.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SourceTrustpilotAPIKey - The API key authentication method gives you access to only the streams which are part of the Public API. When you want to get streams available via the Consumer API (e.g. the private reviews) you need to use authentication method OAuth 2.0. */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } SourceTrustpilotAPIKey other = (SourceTrustpilotAPIKey) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, clientId); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthType.java index ddb5ee43e..f605b5da3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceTrustpilotAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthorizationMethod.java index 4b9180850..511d9e9bf 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceTrustpilotAuthorizationMethod._Deserializer.class) public class SourceTrustpilotAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceTrustpilotAuthorizationMethod(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceTrustpilotAuthorizationMethod of(SourceTrustpilotAPIKey valu /** * Returns an instance of one of these types: *

      - *
    • {@code SourceTrustpilotOAuth20}
    • - *
    • {@code SourceTrustpilotAPIKey}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTrustpilotOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTrustpilotAPIKey}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceTrustpilotAuthorizationMethod other = (SourceTrustpilotAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceTrustpilotAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceTrustpilotAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotOAuth20.java index 31c8c33a5..06aee90fd 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotOAuth20.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceTrustpilotOAuth20 { /** @@ -183,17 +182,17 @@ public boolean equals(java.lang.Object o) { } SourceTrustpilotOAuth20 other = (SourceTrustpilotOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotSchemasAuthType.java index e0d44b85a..5a05ff599 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTrustpilotSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceTrustpilotSchemasAuthType { APIKEY("apikey"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java b/src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java index 5967acfe2..28e417b31 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTvmazeSchedule.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceTvmazeSchedule { /** @@ -33,7 +33,7 @@ public class SourceTvmazeSchedule { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; @JsonProperty("sourceType") private TvmazeSchedule sourceType; @@ -52,14 +52,14 @@ public class SourceTvmazeSchedule { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("web_schedule_country_code") - private Optional webScheduleCountryCode; + private Optional webScheduleCountryCode; @JsonCreator public SourceTvmazeSchedule( @JsonProperty("domestic_schedule_country_code") String domesticScheduleCountryCode, - @JsonProperty("end_date") Optional endDate, + @JsonProperty("end_date") Optional endDate, @JsonProperty("start_date") String startDate, - @JsonProperty("web_schedule_country_code") Optional webScheduleCountryCode) { + @JsonProperty("web_schedule_country_code") Optional webScheduleCountryCode) { Utils.checkNotNull(domesticScheduleCountryCode, "domesticScheduleCountryCode"); Utils.checkNotNull(endDate, "endDate"); Utils.checkNotNull(startDate, "startDate"); @@ -89,10 +89,9 @@ public String domesticScheduleCountryCode() { * End date for TV schedule retrieval. May be in the future. Optional. * */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } @JsonIgnore @@ -114,10 +113,9 @@ public String startDate() { * set to 'global' for just global web channels. * */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional webScheduleCountryCode() { - return (Optional) webScheduleCountryCode; + return webScheduleCountryCode; } public final static Builder builder() { @@ -147,7 +145,7 @@ public SourceTvmazeSchedule withEndDate(String endDate) { * End date for TV schedule retrieval. May be in the future. Optional. * */ - public SourceTvmazeSchedule withEndDate(Optional endDate) { + public SourceTvmazeSchedule withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -180,7 +178,7 @@ public SourceTvmazeSchedule withWebScheduleCountryCode(String webScheduleCountry * set to 'global' for just global web channels. * */ - public SourceTvmazeSchedule withWebScheduleCountryCode(Optional webScheduleCountryCode) { + public SourceTvmazeSchedule withWebScheduleCountryCode(Optional webScheduleCountryCode) { Utils.checkNotNull(webScheduleCountryCode, "webScheduleCountryCode"); this.webScheduleCountryCode = webScheduleCountryCode; return this; @@ -196,16 +194,16 @@ public boolean equals(java.lang.Object o) { } SourceTvmazeSchedule other = (SourceTvmazeSchedule) o; return - java.util.Objects.deepEquals(this.domesticScheduleCountryCode, other.domesticScheduleCountryCode) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.webScheduleCountryCode, other.webScheduleCountryCode); + Objects.deepEquals(this.domesticScheduleCountryCode, other.domesticScheduleCountryCode) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.webScheduleCountryCode, other.webScheduleCountryCode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( domesticScheduleCountryCode, endDate, sourceType, @@ -227,11 +225,11 @@ public final static class Builder { private String domesticScheduleCountryCode; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); private String startDate; - private Optional webScheduleCountryCode = Optional.empty(); + private Optional webScheduleCountryCode = Optional.empty(); private Builder() { // force use of static builder() method @@ -260,7 +258,7 @@ public Builder endDate(String endDate) { * End date for TV schedule retrieval. May be in the future. Optional. * */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -293,7 +291,7 @@ public Builder webScheduleCountryCode(String webScheduleCountryCode) { * set to 'global' for just global web channels. * */ - public Builder webScheduleCountryCode(Optional webScheduleCountryCode) { + public Builder webScheduleCountryCode(Optional webScheduleCountryCode) { Utils.checkNotNull(webScheduleCountryCode, "webScheduleCountryCode"); this.webScheduleCountryCode = webScheduleCountryCode; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTwelveData.java b/src/main/java/com/airbyte/api/models/shared/SourceTwelveData.java new file mode 100644 index 000000000..42e0b9f65 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceTwelveData.java @@ -0,0 +1,367 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceTwelveData { + + @JsonProperty("api_key") + private String apiKey; + + /** + * Where instrument is traded + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + private Optional country; + + /** + * Where instrument is traded + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("exchange") + private Optional exchange; + + /** + * Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("interval") + private Optional interval; + + @JsonProperty("sourceType") + private TwelveData sourceType; + + /** + * Ticker of the instrument + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("symbol") + private Optional symbol; + + @JsonCreator + public SourceTwelveData( + @JsonProperty("api_key") String apiKey, + @JsonProperty("country") Optional country, + @JsonProperty("exchange") Optional exchange, + @JsonProperty("interval") Optional interval, + @JsonProperty("symbol") Optional symbol) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(country, "country"); + Utils.checkNotNull(exchange, "exchange"); + Utils.checkNotNull(interval, "interval"); + Utils.checkNotNull(symbol, "symbol"); + this.apiKey = apiKey; + this.country = country; + this.exchange = exchange; + this.interval = interval; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.symbol = symbol; + } + + public SourceTwelveData( + String apiKey) { + this(apiKey, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * Where instrument is traded + */ + @JsonIgnore + public Optional country() { + return country; + } + + /** + * Where instrument is traded + */ + @JsonIgnore + public Optional exchange() { + return exchange; + } + + /** + * Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional interval() { + return (Optional) interval; + } + + @JsonIgnore + public TwelveData sourceType() { + return sourceType; + } + + /** + * Ticker of the instrument + */ + @JsonIgnore + public Optional symbol() { + return symbol; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceTwelveData withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Where instrument is traded + */ + public SourceTwelveData withCountry(String country) { + Utils.checkNotNull(country, "country"); + this.country = Optional.ofNullable(country); + return this; + } + + /** + * Where instrument is traded + */ + public SourceTwelveData withCountry(Optional country) { + Utils.checkNotNull(country, "country"); + this.country = country; + return this; + } + + /** + * Where instrument is traded + */ + public SourceTwelveData withExchange(String exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = Optional.ofNullable(exchange); + return this; + } + + /** + * Where instrument is traded + */ + public SourceTwelveData withExchange(Optional exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = exchange; + return this; + } + + /** + * Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month + */ + public SourceTwelveData withInterval(Interval interval) { + Utils.checkNotNull(interval, "interval"); + this.interval = Optional.ofNullable(interval); + return this; + } + + /** + * Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month + */ + public SourceTwelveData withInterval(Optional interval) { + Utils.checkNotNull(interval, "interval"); + this.interval = interval; + return this; + } + + /** + * Ticker of the instrument + */ + public SourceTwelveData withSymbol(String symbol) { + Utils.checkNotNull(symbol, "symbol"); + this.symbol = Optional.ofNullable(symbol); + return this; + } + + /** + * Ticker of the instrument + */ + public SourceTwelveData withSymbol(Optional symbol) { + Utils.checkNotNull(symbol, "symbol"); + this.symbol = symbol; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceTwelveData other = (SourceTwelveData) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.country, other.country) && + Objects.deepEquals(this.exchange, other.exchange) && + Objects.deepEquals(this.interval, other.interval) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.symbol, other.symbol); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + country, + exchange, + interval, + sourceType, + symbol); + } + + @Override + public String toString() { + return Utils.toString(SourceTwelveData.class, + "apiKey", apiKey, + "country", country, + "exchange", exchange, + "interval", interval, + "sourceType", sourceType, + "symbol", symbol); + } + + public final static class Builder { + + private String apiKey; + + private Optional country = Optional.empty(); + + private Optional exchange = Optional.empty(); + + private Optional interval; + + private Optional symbol = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Where instrument is traded + */ + public Builder country(String country) { + Utils.checkNotNull(country, "country"); + this.country = Optional.ofNullable(country); + return this; + } + + /** + * Where instrument is traded + */ + public Builder country(Optional country) { + Utils.checkNotNull(country, "country"); + this.country = country; + return this; + } + + /** + * Where instrument is traded + */ + public Builder exchange(String exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = Optional.ofNullable(exchange); + return this; + } + + /** + * Where instrument is traded + */ + public Builder exchange(Optional exchange) { + Utils.checkNotNull(exchange, "exchange"); + this.exchange = exchange; + return this; + } + + /** + * Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month + */ + public Builder interval(Interval interval) { + Utils.checkNotNull(interval, "interval"); + this.interval = Optional.ofNullable(interval); + return this; + } + + /** + * Between two consecutive points in time series Supports: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, 1month + */ + public Builder interval(Optional interval) { + Utils.checkNotNull(interval, "interval"); + this.interval = interval; + return this; + } + + /** + * Ticker of the instrument + */ + public Builder symbol(String symbol) { + Utils.checkNotNull(symbol, "symbol"); + this.symbol = Optional.ofNullable(symbol); + return this; + } + + /** + * Ticker of the instrument + */ + public Builder symbol(Optional symbol) { + Utils.checkNotNull(symbol, "symbol"); + this.symbol = symbol; + return this; + } + + public SourceTwelveData build() { + if (interval == null) { + interval = _SINGLETON_VALUE_Interval.value(); + } return new SourceTwelveData( + apiKey, + country, + exchange, + interval, + symbol); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Interval = + new LazySingletonValue<>( + "interval", + "\"1day\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"twelve-data\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTwilio.java b/src/main/java/com/airbyte/api/models/shared/SourceTwilio.java index 9338cd4fb..f6c6b0c47 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTwilio.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTwilio.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceTwilio { /** @@ -41,7 +40,7 @@ public class SourceTwilio { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("lookback_window") - private Optional lookbackWindow; + private Optional lookbackWindow; @JsonProperty("sourceType") private Twilio sourceType; @@ -56,7 +55,7 @@ public class SourceTwilio { public SourceTwilio( @JsonProperty("account_sid") String accountSid, @JsonProperty("auth_token") String authToken, - @JsonProperty("lookback_window") Optional lookbackWindow, + @JsonProperty("lookback_window") Optional lookbackWindow, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(accountSid, "accountSid"); Utils.checkNotNull(authToken, "authToken"); @@ -95,10 +94,9 @@ public String authToken() { /** * How far into the past to look for records. (in minutes) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional lookbackWindow() { - return (Optional) lookbackWindow; + return lookbackWindow; } @JsonIgnore @@ -148,7 +146,7 @@ public SourceTwilio withLookbackWindow(long lookbackWindow) { /** * How far into the past to look for records. (in minutes) */ - public SourceTwilio withLookbackWindow(Optional lookbackWindow) { + public SourceTwilio withLookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -173,16 +171,16 @@ public boolean equals(java.lang.Object o) { } SourceTwilio other = (SourceTwilio) o; return - java.util.Objects.deepEquals(this.accountSid, other.accountSid) && - java.util.Objects.deepEquals(this.authToken, other.authToken) && - java.util.Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accountSid, other.accountSid) && + Objects.deepEquals(this.authToken, other.authToken) && + Objects.deepEquals(this.lookbackWindow, other.lookbackWindow) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountSid, authToken, lookbackWindow, @@ -206,7 +204,7 @@ public final static class Builder { private String authToken; - private Optional lookbackWindow; + private Optional lookbackWindow; private OffsetDateTime startDate; @@ -244,7 +242,7 @@ public Builder lookbackWindow(long lookbackWindow) { /** * How far into the past to look for records. (in minutes) */ - public Builder lookbackWindow(Optional lookbackWindow) { + public Builder lookbackWindow(Optional lookbackWindow) { Utils.checkNotNull(lookbackWindow, "lookbackWindow"); this.lookbackWindow = lookbackWindow; return this; @@ -262,19 +260,18 @@ public Builder startDate(OffsetDateTime startDate) { public SourceTwilio build() { if (lookbackWindow == null) { lookbackWindow = _SINGLETON_VALUE_LookbackWindow.value(); - } - return new SourceTwilio( + } return new SourceTwilio( accountSid, authToken, lookbackWindow, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = + private static final LazySingletonValue> _SINGLETON_VALUE_LookbackWindow = new LazySingletonValue<>( "lookback_window", "0", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java b/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java index 4dff4fb8d..012f65c2d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTwilioTaskrouter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceTwilioTaskrouter { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceTwilioTaskrouter other = (SourceTwilioTaskrouter) o; return - java.util.Objects.deepEquals(this.accountSid, other.accountSid) && - java.util.Objects.deepEquals(this.authToken, other.authToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.accountSid, other.accountSid) && + Objects.deepEquals(this.authToken, other.authToken) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountSid, authToken, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTwitter.java b/src/main/java/com/airbyte/api/models/shared/SourceTwitter.java index ffc9e3872..fb60ab9f2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTwitter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTwitter.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceTwitter { /** @@ -35,7 +33,7 @@ public class SourceTwitter { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; /** * Query for matching Tweets. You can learn how to build this query by reading <a href="https://developer.twitter.com/en/docs/twitter-api/tweets/search/integrate/build-a-query"> build a query guide </a>. @@ -51,14 +49,14 @@ public class SourceTwitter { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceTwitter( @JsonProperty("api_key") String apiKey, - @JsonProperty("end_date") Optional endDate, + @JsonProperty("end_date") Optional endDate, @JsonProperty("query") String query, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(endDate, "endDate"); Utils.checkNotNull(query, "query"); @@ -87,10 +85,9 @@ public String apiKey() { /** * The end date for retrieving tweets must be a minimum of 10 seconds prior to the request time. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } /** @@ -109,10 +106,9 @@ public Twitter sourceType() { /** * The start date for retrieving tweets cannot be more than 7 days in the past. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -140,7 +136,7 @@ public SourceTwitter withEndDate(OffsetDateTime endDate) { /** * The end date for retrieving tweets must be a minimum of 10 seconds prior to the request time. */ - public SourceTwitter withEndDate(Optional endDate) { + public SourceTwitter withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -167,7 +163,7 @@ public SourceTwitter withStartDate(OffsetDateTime startDate) { /** * The start date for retrieving tweets cannot be more than 7 days in the past. */ - public SourceTwitter withStartDate(Optional startDate) { + public SourceTwitter withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -183,16 +179,16 @@ public boolean equals(java.lang.Object o) { } SourceTwitter other = (SourceTwitter) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.query, other.query) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.query, other.query) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, endDate, query, @@ -214,11 +210,11 @@ public final static class Builder { private String apiKey; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); private String query; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -245,7 +241,7 @@ public Builder endDate(OffsetDateTime endDate) { /** * The end date for retrieving tweets must be a minimum of 10 seconds prior to the request time. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -272,7 +268,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The start date for retrieving tweets cannot be more than 7 days in the past. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTypeform.java b/src/main/java/com/airbyte/api/models/shared/SourceTypeform.java index 5a501cef1..c73150854 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTypeform.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTypeform.java @@ -1,27 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourceTypeform { @JsonProperty("credentials") @@ -32,7 +32,7 @@ public class SourceTypeform { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("form_ids") - private Optional> formIds; + private Optional> formIds; @JsonProperty("sourceType") private SourceTypeformTypeform sourceType; @@ -42,13 +42,13 @@ public class SourceTypeform { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; @JsonCreator public SourceTypeform( @JsonProperty("credentials") SourceTypeformAuthorizationMethod credentials, - @JsonProperty("form_ids") Optional> formIds, - @JsonProperty("start_date") Optional startDate) { + @JsonProperty("form_ids") Optional> formIds, + @JsonProperty("start_date") Optional startDate) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(formIds, "formIds"); Utils.checkNotNull(startDate, "startDate"); @@ -73,8 +73,8 @@ public SourceTypeformAuthorizationMethod credentials() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> formIds() { - return (Optional>) formIds; + public Optional> formIds() { + return (Optional>) formIds; } @JsonIgnore @@ -85,10 +85,9 @@ public SourceTypeformTypeform sourceType() { /** * The date from which you'd like to replicate data for Typeform API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } public final static Builder builder() { @@ -104,7 +103,7 @@ public SourceTypeform withCredentials(SourceTypeformAuthorizationMethod credenti /** * When this parameter is set, the connector will replicate data only from the input forms. Otherwise, all forms in your Typeform account will be replicated. You can find form IDs in your form URLs. For example, in the URL "https://mysite.typeform.com/to/u6nXL7" the form_id is u6nXL7. You can find form URLs on Share panel */ - public SourceTypeform withFormIds(java.util.List formIds) { + public SourceTypeform withFormIds(List formIds) { Utils.checkNotNull(formIds, "formIds"); this.formIds = Optional.ofNullable(formIds); return this; @@ -113,7 +112,7 @@ public SourceTypeform withFormIds(java.util.List formIds) { /** * When this parameter is set, the connector will replicate data only from the input forms. Otherwise, all forms in your Typeform account will be replicated. You can find form IDs in your form URLs. For example, in the URL "https://mysite.typeform.com/to/u6nXL7" the form_id is u6nXL7. You can find form URLs on Share panel */ - public SourceTypeform withFormIds(Optional> formIds) { + public SourceTypeform withFormIds(Optional> formIds) { Utils.checkNotNull(formIds, "formIds"); this.formIds = formIds; return this; @@ -131,7 +130,7 @@ public SourceTypeform withStartDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for Typeform API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. */ - public SourceTypeform withStartDate(Optional startDate) { + public SourceTypeform withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -147,15 +146,15 @@ public boolean equals(java.lang.Object o) { } SourceTypeform other = (SourceTypeform) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.formIds, other.formIds) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.formIds, other.formIds) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, formIds, sourceType, @@ -175,9 +174,9 @@ public final static class Builder { private SourceTypeformAuthorizationMethod credentials; - private Optional> formIds = Optional.empty(); + private Optional> formIds = Optional.empty(); - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private Builder() { // force use of static builder() method @@ -192,7 +191,7 @@ public Builder credentials(SourceTypeformAuthorizationMethod credentials) { /** * When this parameter is set, the connector will replicate data only from the input forms. Otherwise, all forms in your Typeform account will be replicated. You can find form IDs in your form URLs. For example, in the URL "https://mysite.typeform.com/to/u6nXL7" the form_id is u6nXL7. You can find form URLs on Share panel */ - public Builder formIds(java.util.List formIds) { + public Builder formIds(List formIds) { Utils.checkNotNull(formIds, "formIds"); this.formIds = Optional.ofNullable(formIds); return this; @@ -201,7 +200,7 @@ public Builder formIds(java.util.List formIds) { /** * When this parameter is set, the connector will replicate data only from the input forms. Otherwise, all forms in your Typeform account will be replicated. You can find form IDs in your form URLs. For example, in the URL "https://mysite.typeform.com/to/u6nXL7" the form_id is u6nXL7. You can find form URLs on Share panel */ - public Builder formIds(Optional> formIds) { + public Builder formIds(Optional> formIds) { Utils.checkNotNull(formIds, "formIds"); this.formIds = formIds; return this; @@ -219,7 +218,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The date from which you'd like to replicate data for Typeform API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthType.java index dce4ac835..0229befa1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceTypeformAuthType { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthorizationMethod.java index 4666cea09..80063eb0a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTypeformAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceTypeformAuthorizationMethod._Deserializer.class) public class SourceTypeformAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceTypeformAuthorizationMethod(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceTypeformAuthorizationMethod of(SourceTypeformPrivateToken va /** * Returns an instance of one of these types: *

      - *
    • {@code SourceTypeformOAuth20}
    • - *
    • {@code SourceTypeformPrivateToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTypeformOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceTypeformPrivateToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceTypeformAuthorizationMethod other = (SourceTypeformAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceTypeformAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceTypeformAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTypeformOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceTypeformOAuth20.java index a3307eb0e..204c26a92 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTypeformOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTypeformOAuth20.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceTypeformOAuth20 { /** @@ -183,17 +182,17 @@ public boolean equals(java.lang.Object o) { } SourceTypeformOAuth20 other = (SourceTypeformOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.tokenExpiryDate, other.tokenExpiryDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType, clientId, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTypeformPrivateToken.java b/src/main/java/com/airbyte/api/models/shared/SourceTypeformPrivateToken.java index 673ba84ed..855d54272 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTypeformPrivateToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTypeformPrivateToken.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceTypeformPrivateToken { /** @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } SourceTypeformPrivateToken other = (SourceTypeformPrivateToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authType, other.authType); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTypeformSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceTypeformSchemasAuthType.java index 7c8992748..c1d907b0d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTypeformSchemasAuthType.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTypeformSchemasAuthType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceTypeformSchemasAuthType { ACCESS_TOKEN("access_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeform.java b/src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeform.java index b9d8577b3..6629bac41 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeform.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceTypeformTypeform.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceTypeformTypeform { TYPEFORM("typeform"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceUbidots.java b/src/main/java/com/airbyte/api/models/shared/SourceUbidots.java new file mode 100644 index 000000000..1e84afe87 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceUbidots.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceUbidots { + + /** + * API token to use for authentication. Obtain it from your Ubidots account. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private Ubidots sourceType; + + @JsonCreator + public SourceUbidots( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API token to use for authentication. Obtain it from your Ubidots account. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public Ubidots sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token to use for authentication. Obtain it from your Ubidots account. + */ + public SourceUbidots withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceUbidots other = (SourceUbidots) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceUbidots.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * API token to use for authentication. Obtain it from your Ubidots account. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceUbidots build() { + return new SourceUbidots( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"ubidots\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceUnleash.java b/src/main/java/com/airbyte/api/models/shared/SourceUnleash.java new file mode 100644 index 000000000..0180f98ef --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceUnleash.java @@ -0,0 +1,291 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceUnleash { + + /** + * Your API Token (Server-Side SDK [Client]). See <a href="https://docs.getunleash.io/how-to/how-to-create-api-tokens/">here</a>. The token is case sensitive. + */ + @JsonProperty("api_token") + private String apiToken; + + /** + * Your API URL. No trailing slash. ex: https://unleash.host.com/api + */ + @JsonProperty("api_url") + private String apiUrl; + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nameprefix") + private Optional nameprefix; + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("project_name") + private Optional projectName; + + @JsonProperty("sourceType") + private Unleash sourceType; + + @JsonCreator + public SourceUnleash( + @JsonProperty("api_token") String apiToken, + @JsonProperty("api_url") String apiUrl, + @JsonProperty("nameprefix") Optional nameprefix, + @JsonProperty("project_name") Optional projectName) { + Utils.checkNotNull(apiToken, "apiToken"); + Utils.checkNotNull(apiUrl, "apiUrl"); + Utils.checkNotNull(nameprefix, "nameprefix"); + Utils.checkNotNull(projectName, "projectName"); + this.apiToken = apiToken; + this.apiUrl = apiUrl; + this.nameprefix = nameprefix; + this.projectName = projectName; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceUnleash( + String apiToken, + String apiUrl) { + this(apiToken, apiUrl, Optional.empty(), Optional.empty()); + } + + /** + * Your API Token (Server-Side SDK [Client]). See <a href="https://docs.getunleash.io/how-to/how-to-create-api-tokens/">here</a>. The token is case sensitive. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + /** + * Your API URL. No trailing slash. ex: https://unleash.host.com/api + */ + @JsonIgnore + public String apiUrl() { + return apiUrl; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + @JsonIgnore + public Optional nameprefix() { + return nameprefix; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + @JsonIgnore + public Optional projectName() { + return projectName; + } + + @JsonIgnore + public Unleash sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your API Token (Server-Side SDK [Client]). See <a href="https://docs.getunleash.io/how-to/how-to-create-api-tokens/">here</a>. The token is case sensitive. + */ + public SourceUnleash withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * Your API URL. No trailing slash. ex: https://unleash.host.com/api + */ + public SourceUnleash withApiUrl(String apiUrl) { + Utils.checkNotNull(apiUrl, "apiUrl"); + this.apiUrl = apiUrl; + return this; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + public SourceUnleash withNameprefix(String nameprefix) { + Utils.checkNotNull(nameprefix, "nameprefix"); + this.nameprefix = Optional.ofNullable(nameprefix); + return this; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + public SourceUnleash withNameprefix(Optional nameprefix) { + Utils.checkNotNull(nameprefix, "nameprefix"); + this.nameprefix = nameprefix; + return this; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + public SourceUnleash withProjectName(String projectName) { + Utils.checkNotNull(projectName, "projectName"); + this.projectName = Optional.ofNullable(projectName); + return this; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + public SourceUnleash withProjectName(Optional projectName) { + Utils.checkNotNull(projectName, "projectName"); + this.projectName = projectName; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceUnleash other = (SourceUnleash) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.apiUrl, other.apiUrl) && + Objects.deepEquals(this.nameprefix, other.nameprefix) && + Objects.deepEquals(this.projectName, other.projectName) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + apiUrl, + nameprefix, + projectName, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceUnleash.class, + "apiToken", apiToken, + "apiUrl", apiUrl, + "nameprefix", nameprefix, + "projectName", projectName, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private String apiUrl; + + private Optional nameprefix = Optional.empty(); + + private Optional projectName = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + /** + * Your API Token (Server-Side SDK [Client]). See <a href="https://docs.getunleash.io/how-to/how-to-create-api-tokens/">here</a>. The token is case sensitive. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * Your API URL. No trailing slash. ex: https://unleash.host.com/api + */ + public Builder apiUrl(String apiUrl) { + Utils.checkNotNull(apiUrl, "apiUrl"); + this.apiUrl = apiUrl; + return this; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + public Builder nameprefix(String nameprefix) { + Utils.checkNotNull(nameprefix, "nameprefix"); + this.nameprefix = Optional.ofNullable(nameprefix); + return this; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + public Builder nameprefix(Optional nameprefix) { + Utils.checkNotNull(nameprefix, "nameprefix"); + this.nameprefix = nameprefix; + return this; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + public Builder projectName(String projectName) { + Utils.checkNotNull(projectName, "projectName"); + this.projectName = Optional.ofNullable(projectName); + return this; + } + + /** + * Use this if you want to filter the API call for only one given project (can be used in addition to the "Feature Name Prefix" field). See <a href="https://docs.getunleash.io/reference/api/legacy/unleash/client/features#filter-feature-toggles">here</a> + */ + public Builder projectName(Optional projectName) { + Utils.checkNotNull(projectName, "projectName"); + this.projectName = projectName; + return this; + } + + public SourceUnleash build() { + return new SourceUnleash( + apiToken, + apiUrl, + nameprefix, + projectName); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"unleash\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceUppromote.java b/src/main/java/com/airbyte/api/models/shared/SourceUppromote.java new file mode 100644 index 000000000..2f98fbeb4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceUppromote.java @@ -0,0 +1,163 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceUppromote { + + /** + * For developing your own custom integration with UpPromote, you can create an API key. This is available from Professional plan. Simply go to Settings > Integration > API > Create API Key. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Uppromote sourceType; + + /** + * Data before this date will not be fetched. + */ + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceUppromote( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * For developing your own custom integration with UpPromote, you can create an API key. This is available from Professional plan. Simply go to Settings > Integration > API > Create API Key. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Uppromote sourceType() { + return sourceType; + } + + /** + * Data before this date will not be fetched. + */ + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * For developing your own custom integration with UpPromote, you can create an API key. This is available from Professional plan. Simply go to Settings > Integration > API > Create API Key. + */ + public SourceUppromote withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Data before this date will not be fetched. + */ + public SourceUppromote withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceUppromote other = (SourceUppromote) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceUppromote.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * For developing your own custom integration with UpPromote, you can create an API key. This is available from Professional plan. Simply go to Settings > Integration > API > Create API Key. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Data before this date will not be fetched. + */ + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceUppromote build() { + return new SourceUppromote( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"uppromote\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java b/src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java index 46f87cf8b..4018d520b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceUsCensus.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceUsCensus { /** @@ -32,7 +32,7 @@ public class SourceUsCensus { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("query_params") - private Optional queryParams; + private Optional queryParams; /** * The path portion of the GET request @@ -46,7 +46,7 @@ public class SourceUsCensus { @JsonCreator public SourceUsCensus( @JsonProperty("api_key") String apiKey, - @JsonProperty("query_params") Optional queryParams, + @JsonProperty("query_params") Optional queryParams, @JsonProperty("query_path") String queryPath) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(queryParams, "queryParams"); @@ -74,10 +74,9 @@ public String apiKey() { /** * The query parameters portion of the GET request, without the api key */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional queryParams() { - return (Optional) queryParams; + return queryParams; } /** @@ -118,7 +117,7 @@ public SourceUsCensus withQueryParams(String queryParams) { /** * The query parameters portion of the GET request, without the api key */ - public SourceUsCensus withQueryParams(Optional queryParams) { + public SourceUsCensus withQueryParams(Optional queryParams) { Utils.checkNotNull(queryParams, "queryParams"); this.queryParams = queryParams; return this; @@ -143,15 +142,15 @@ public boolean equals(java.lang.Object o) { } SourceUsCensus other = (SourceUsCensus) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.queryParams, other.queryParams) && - java.util.Objects.deepEquals(this.queryPath, other.queryPath) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.queryParams, other.queryParams) && + Objects.deepEquals(this.queryPath, other.queryPath) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, queryParams, queryPath, @@ -171,7 +170,7 @@ public final static class Builder { private String apiKey; - private Optional queryParams = Optional.empty(); + private Optional queryParams = Optional.empty(); private String queryPath; @@ -200,7 +199,7 @@ public Builder queryParams(String queryParams) { /** * The query parameters portion of the GET request, without the api key */ - public Builder queryParams(Optional queryParams) { + public Builder queryParams(Optional queryParams) { Utils.checkNotNull(queryParams, "queryParams"); this.queryParams = queryParams; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceUservoice.java b/src/main/java/com/airbyte/api/models/shared/SourceUservoice.java new file mode 100644 index 000000000..e86420b7b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceUservoice.java @@ -0,0 +1,168 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceUservoice { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Uservoice sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonProperty("subdomain") + private String subdomain; + + @JsonCreator + public SourceUservoice( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("subdomain") String subdomain) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(subdomain, "subdomain"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.subdomain = subdomain; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Uservoice sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + @JsonIgnore + public String subdomain() { + return subdomain; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceUservoice withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceUservoice withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceUservoice withSubdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceUservoice other = (SourceUservoice) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.subdomain, other.subdomain); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate, + subdomain); + } + + @Override + public String toString() { + return Utils.toString(SourceUservoice.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate, + "subdomain", subdomain); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private String subdomain; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public Builder subdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + public SourceUservoice build() { + return new SourceUservoice( + apiKey, + startDate, + subdomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"uservoice\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceVantage.java b/src/main/java/com/airbyte/api/models/shared/SourceVantage.java index de9e5a0f3..1134dd054 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceVantage.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceVantage.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceVantage { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceVantage other = (SourceVantage) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceVeeqo.java b/src/main/java/com/airbyte/api/models/shared/SourceVeeqo.java new file mode 100644 index 000000000..0f5d95448 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceVeeqo.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceVeeqo { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Veeqo sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceVeeqo( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Veeqo sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceVeeqo withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceVeeqo withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceVeeqo other = (SourceVeeqo) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceVeeqo.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceVeeqo build() { + return new SourceVeeqo( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"veeqo\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceVercel.java b/src/main/java/com/airbyte/api/models/shared/SourceVercel.java new file mode 100644 index 000000000..cb318939a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceVercel.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceVercel { + + /** + * Access token to authenticate with the Vercel API. Create and manage tokens in your Vercel account settings. + */ + @JsonProperty("access_token") + private String accessToken; + + @JsonProperty("sourceType") + private Vercel sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceVercel( + @JsonProperty("access_token") String accessToken, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(startDate, "startDate"); + this.accessToken = accessToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Access token to authenticate with the Vercel API. Create and manage tokens in your Vercel account settings. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + @JsonIgnore + public Vercel sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Access token to authenticate with the Vercel API. Create and manage tokens in your Vercel account settings. + */ + public SourceVercel withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + public SourceVercel withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceVercel other = (SourceVercel) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceVercel.class, + "accessToken", accessToken, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accessToken; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Access token to authenticate with the Vercel API. Create and manage tokens in your Vercel account settings. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceVercel build() { + return new SourceVercel( + accessToken, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"vercel\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceVismaEconomic.java b/src/main/java/com/airbyte/api/models/shared/SourceVismaEconomic.java new file mode 100644 index 000000000..91255ccf9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceVismaEconomic.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceVismaEconomic { + + /** + * Identifier for the grant issued by an agreement + */ + @JsonProperty("agreement_grant_token") + private String agreementGrantToken; + + /** + * Identification token for app accessing data + */ + @JsonProperty("app_secret_token") + private String appSecretToken; + + @JsonProperty("sourceType") + private VismaEconomic sourceType; + + @JsonCreator + public SourceVismaEconomic( + @JsonProperty("agreement_grant_token") String agreementGrantToken, + @JsonProperty("app_secret_token") String appSecretToken) { + Utils.checkNotNull(agreementGrantToken, "agreementGrantToken"); + Utils.checkNotNull(appSecretToken, "appSecretToken"); + this.agreementGrantToken = agreementGrantToken; + this.appSecretToken = appSecretToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Identifier for the grant issued by an agreement + */ + @JsonIgnore + public String agreementGrantToken() { + return agreementGrantToken; + } + + /** + * Identification token for app accessing data + */ + @JsonIgnore + public String appSecretToken() { + return appSecretToken; + } + + @JsonIgnore + public VismaEconomic sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Identifier for the grant issued by an agreement + */ + public SourceVismaEconomic withAgreementGrantToken(String agreementGrantToken) { + Utils.checkNotNull(agreementGrantToken, "agreementGrantToken"); + this.agreementGrantToken = agreementGrantToken; + return this; + } + + /** + * Identification token for app accessing data + */ + public SourceVismaEconomic withAppSecretToken(String appSecretToken) { + Utils.checkNotNull(appSecretToken, "appSecretToken"); + this.appSecretToken = appSecretToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceVismaEconomic other = (SourceVismaEconomic) o; + return + Objects.deepEquals(this.agreementGrantToken, other.agreementGrantToken) && + Objects.deepEquals(this.appSecretToken, other.appSecretToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + agreementGrantToken, + appSecretToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceVismaEconomic.class, + "agreementGrantToken", agreementGrantToken, + "appSecretToken", appSecretToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String agreementGrantToken; + + private String appSecretToken; + + private Builder() { + // force use of static builder() method + } + + /** + * Identifier for the grant issued by an agreement + */ + public Builder agreementGrantToken(String agreementGrantToken) { + Utils.checkNotNull(agreementGrantToken, "agreementGrantToken"); + this.agreementGrantToken = agreementGrantToken; + return this; + } + + /** + * Identification token for app accessing data + */ + public Builder appSecretToken(String appSecretToken) { + Utils.checkNotNull(appSecretToken, "appSecretToken"); + this.appSecretToken = appSecretToken; + return this; + } + + public SourceVismaEconomic build() { + return new SourceVismaEconomic( + agreementGrantToken, + appSecretToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"visma-economic\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceVitally.java b/src/main/java/com/airbyte/api/models/shared/SourceVitally.java new file mode 100644 index 000000000..1db183df9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceVitally.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceVitally { + + /** + * The API Token for a Vitally account. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Vitally sourceType; + + /** + * Status of the Vitally accounts. One of the following values; active, churned, activeOrChurned. + */ + @JsonProperty("status") + private SourceVitallyStatus status; + + @JsonCreator + public SourceVitally( + @JsonProperty("api_key") String apiKey, + @JsonProperty("status") SourceVitallyStatus status) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(status, "status"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.status = status; + } + + /** + * The API Token for a Vitally account. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Vitally sourceType() { + return sourceType; + } + + /** + * Status of the Vitally accounts. One of the following values; active, churned, activeOrChurned. + */ + @JsonIgnore + public SourceVitallyStatus status() { + return status; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The API Token for a Vitally account. + */ + public SourceVitally withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Status of the Vitally accounts. One of the following values; active, churned, activeOrChurned. + */ + public SourceVitally withStatus(SourceVitallyStatus status) { + Utils.checkNotNull(status, "status"); + this.status = status; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceVitally other = (SourceVitally) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.status, other.status); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + status); + } + + @Override + public String toString() { + return Utils.toString(SourceVitally.class, + "apiKey", apiKey, + "sourceType", sourceType, + "status", status); + } + + public final static class Builder { + + private String apiKey; + + private SourceVitallyStatus status; + + private Builder() { + // force use of static builder() method + } + + /** + * The API Token for a Vitally account. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Status of the Vitally accounts. One of the following values; active, churned, activeOrChurned. + */ + public Builder status(SourceVitallyStatus status) { + Utils.checkNotNull(status, "status"); + this.status = status; + return this; + } + + public SourceVitally build() { + return new SourceVitally( + apiKey, + status); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"vitally\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceVitallyStatus.java b/src/main/java/com/airbyte/api/models/shared/SourceVitallyStatus.java new file mode 100644 index 000000000..5c46c27e7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceVitallyStatus.java @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceVitallyStatus - Status of the Vitally accounts. One of the following values; active, churned, activeOrChurned. + */ +public enum SourceVitallyStatus { + ACTIVE("active"), + CHURNED("churned"), + ACTIVE_OR_CHURNED("activeOrChurned"); + + @JsonValue + private final String value; + + private SourceVitallyStatus(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceVwo.java b/src/main/java/com/airbyte/api/models/shared/SourceVwo.java new file mode 100644 index 000000000..9f418f006 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceVwo.java @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceVwo { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Vwo sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceVwo( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Vwo sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceVwo withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceVwo withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceVwo other = (SourceVwo) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceVwo.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceVwo build() { + return new SourceVwo( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"vwo\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWaiteraid.java b/src/main/java/com/airbyte/api/models/shared/SourceWaiteraid.java new file mode 100644 index 000000000..a0345f949 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWaiteraid.java @@ -0,0 +1,203 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceWaiteraid { + + /** + * Your WaiterAid API key, obtained from API request with Username and Password + */ + @JsonProperty("auth_hash") + private String authHash; + + /** + * Your WaiterAid restaurant id from API request to getRestaurants + */ + @JsonProperty("restid") + private String restid; + + @JsonProperty("sourceType") + private Waiteraid sourceType; + + /** + * Start getting data from that date. + */ + @JsonProperty("start_date") + private String startDate; + + @JsonCreator + public SourceWaiteraid( + @JsonProperty("auth_hash") String authHash, + @JsonProperty("restid") String restid, + @JsonProperty("start_date") String startDate) { + Utils.checkNotNull(authHash, "authHash"); + Utils.checkNotNull(restid, "restid"); + Utils.checkNotNull(startDate, "startDate"); + this.authHash = authHash; + this.restid = restid; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Your WaiterAid API key, obtained from API request with Username and Password + */ + @JsonIgnore + public String authHash() { + return authHash; + } + + /** + * Your WaiterAid restaurant id from API request to getRestaurants + */ + @JsonIgnore + public String restid() { + return restid; + } + + @JsonIgnore + public Waiteraid sourceType() { + return sourceType; + } + + /** + * Start getting data from that date. + */ + @JsonIgnore + public String startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your WaiterAid API key, obtained from API request with Username and Password + */ + public SourceWaiteraid withAuthHash(String authHash) { + Utils.checkNotNull(authHash, "authHash"); + this.authHash = authHash; + return this; + } + + /** + * Your WaiterAid restaurant id from API request to getRestaurants + */ + public SourceWaiteraid withRestid(String restid) { + Utils.checkNotNull(restid, "restid"); + this.restid = restid; + return this; + } + + /** + * Start getting data from that date. + */ + public SourceWaiteraid withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWaiteraid other = (SourceWaiteraid) o; + return + Objects.deepEquals(this.authHash, other.authHash) && + Objects.deepEquals(this.restid, other.restid) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + authHash, + restid, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceWaiteraid.class, + "authHash", authHash, + "restid", restid, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String authHash; + + private String restid; + + private String startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Your WaiterAid API key, obtained from API request with Username and Password + */ + public Builder authHash(String authHash) { + Utils.checkNotNull(authHash, "authHash"); + this.authHash = authHash; + return this; + } + + /** + * Your WaiterAid restaurant id from API request to getRestaurants + */ + public Builder restid(String restid) { + Utils.checkNotNull(restid, "restid"); + this.restid = restid; + return this; + } + + /** + * Start getting data from that date. + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceWaiteraid build() { + return new SourceWaiteraid( + authHash, + restid, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"waiteraid\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWasabiStatsApi.java b/src/main/java/com/airbyte/api/models/shared/SourceWasabiStatsApi.java new file mode 100644 index 000000000..dd9681d54 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWasabiStatsApi.java @@ -0,0 +1,151 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceWasabiStatsApi { + + /** + * The API key format is `AccessKey:SecretKey` + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private WasabiStatsApi sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceWasabiStatsApi( + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * The API key format is `AccessKey:SecretKey` + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public WasabiStatsApi sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The API key format is `AccessKey:SecretKey` + */ + public SourceWasabiStatsApi withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceWasabiStatsApi withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWasabiStatsApi other = (SourceWasabiStatsApi) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceWasabiStatsApi.class, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String apiKey; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * The API key format is `AccessKey:SecretKey` + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceWasabiStatsApi build() { + return new SourceWasabiStatsApi( + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"wasabi-stats-api\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWeatherstack.java b/src/main/java/com/airbyte/api/models/shared/SourceWeatherstack.java new file mode 100644 index 000000000..a998fc46e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWeatherstack.java @@ -0,0 +1,203 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceWeatherstack { + + /** + * API access key used to retrieve data from the Weatherstack API.(https://weatherstack.com/product) + */ + @JsonProperty("access_key") + private String accessKey; + + /** + * This is required for enabling the Historical date API with format- (YYYY-MM-DD). * Note, only supported by paid accounts + */ + @JsonProperty("historical_date") + private String historicalDate; + + /** + * A location to query such as city, IP, latitudeLongitude, or zipcode. Multiple locations with semicolon seperated if using a professional plan or higher. For more info- (https://weatherstack.com/documentation#query_parameter) + */ + @JsonProperty("query") + private String query; + + @JsonProperty("sourceType") + private Weatherstack sourceType; + + @JsonCreator + public SourceWeatherstack( + @JsonProperty("access_key") String accessKey, + @JsonProperty("historical_date") String historicalDate, + @JsonProperty("query") String query) { + Utils.checkNotNull(accessKey, "accessKey"); + Utils.checkNotNull(historicalDate, "historicalDate"); + Utils.checkNotNull(query, "query"); + this.accessKey = accessKey; + this.historicalDate = historicalDate; + this.query = query; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API access key used to retrieve data from the Weatherstack API.(https://weatherstack.com/product) + */ + @JsonIgnore + public String accessKey() { + return accessKey; + } + + /** + * This is required for enabling the Historical date API with format- (YYYY-MM-DD). * Note, only supported by paid accounts + */ + @JsonIgnore + public String historicalDate() { + return historicalDate; + } + + /** + * A location to query such as city, IP, latitudeLongitude, or zipcode. Multiple locations with semicolon seperated if using a professional plan or higher. For more info- (https://weatherstack.com/documentation#query_parameter) + */ + @JsonIgnore + public String query() { + return query; + } + + @JsonIgnore + public Weatherstack sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API access key used to retrieve data from the Weatherstack API.(https://weatherstack.com/product) + */ + public SourceWeatherstack withAccessKey(String accessKey) { + Utils.checkNotNull(accessKey, "accessKey"); + this.accessKey = accessKey; + return this; + } + + /** + * This is required for enabling the Historical date API with format- (YYYY-MM-DD). * Note, only supported by paid accounts + */ + public SourceWeatherstack withHistoricalDate(String historicalDate) { + Utils.checkNotNull(historicalDate, "historicalDate"); + this.historicalDate = historicalDate; + return this; + } + + /** + * A location to query such as city, IP, latitudeLongitude, or zipcode. Multiple locations with semicolon seperated if using a professional plan or higher. For more info- (https://weatherstack.com/documentation#query_parameter) + */ + public SourceWeatherstack withQuery(String query) { + Utils.checkNotNull(query, "query"); + this.query = query; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWeatherstack other = (SourceWeatherstack) o; + return + Objects.deepEquals(this.accessKey, other.accessKey) && + Objects.deepEquals(this.historicalDate, other.historicalDate) && + Objects.deepEquals(this.query, other.query) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + accessKey, + historicalDate, + query, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceWeatherstack.class, + "accessKey", accessKey, + "historicalDate", historicalDate, + "query", query, + "sourceType", sourceType); + } + + public final static class Builder { + + private String accessKey; + + private String historicalDate; + + private String query; + + private Builder() { + // force use of static builder() method + } + + /** + * API access key used to retrieve data from the Weatherstack API.(https://weatherstack.com/product) + */ + public Builder accessKey(String accessKey) { + Utils.checkNotNull(accessKey, "accessKey"); + this.accessKey = accessKey; + return this; + } + + /** + * This is required for enabling the Historical date API with format- (YYYY-MM-DD). * Note, only supported by paid accounts + */ + public Builder historicalDate(String historicalDate) { + Utils.checkNotNull(historicalDate, "historicalDate"); + this.historicalDate = historicalDate; + return this; + } + + /** + * A location to query such as city, IP, latitudeLongitude, or zipcode. Multiple locations with semicolon seperated if using a professional plan or higher. For more info- (https://weatherstack.com/documentation#query_parameter) + */ + public Builder query(String query) { + Utils.checkNotNull(query, "query"); + this.query = query; + return this; + } + + public SourceWeatherstack build() { + return new SourceWeatherstack( + accessKey, + historicalDate, + query); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"weatherstack\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWebScrapper.java b/src/main/java/com/airbyte/api/models/shared/SourceWebScrapper.java new file mode 100644 index 000000000..573fa6fc7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWebScrapper.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceWebScrapper { + + /** + * API token to use. Find it at https://cloud.webscraper.io/api + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonProperty("sourceType") + private WebScrapper sourceType; + + @JsonCreator + public SourceWebScrapper( + @JsonProperty("api_token") String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * API token to use. Find it at https://cloud.webscraper.io/api + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @JsonIgnore + public WebScrapper sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * API token to use. Find it at https://cloud.webscraper.io/api + */ + public SourceWebScrapper withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWebScrapper other = (SourceWebScrapper) o; + return + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceWebScrapper.class, + "apiToken", apiToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiToken; + + private Builder() { + // force use of static builder() method + } + + /** + * API token to use. Find it at https://cloud.webscraper.io/api + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + public SourceWebScrapper build() { + return new SourceWebScrapper( + apiToken); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"web-scrapper\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWebflow.java b/src/main/java/com/airbyte/api/models/shared/SourceWebflow.java index 6c3cbeee7..470e6de09 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceWebflow.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceWebflow.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceWebflow { /** @@ -26,7 +26,7 @@ public class SourceWebflow { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("accept_version") - private Optional acceptVersion; + private Optional acceptVersion; /** * The API token for authenticating to Webflow. See https://university.webflow.com/lesson/intro-to-the-webflow-api @@ -45,7 +45,7 @@ public class SourceWebflow { @JsonCreator public SourceWebflow( - @JsonProperty("accept_version") Optional acceptVersion, + @JsonProperty("accept_version") Optional acceptVersion, @JsonProperty("api_key") String apiKey, @JsonProperty("site_id") String siteId) { Utils.checkNotNull(acceptVersion, "acceptVersion"); @@ -66,10 +66,9 @@ public SourceWebflow( /** * The version of the Webflow API to use. See https://developers.webflow.com/#versioning */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional acceptVersion() { - return (Optional) acceptVersion; + return acceptVersion; } /** @@ -109,7 +108,7 @@ public SourceWebflow withAcceptVersion(String acceptVersion) { /** * The version of the Webflow API to use. See https://developers.webflow.com/#versioning */ - public SourceWebflow withAcceptVersion(Optional acceptVersion) { + public SourceWebflow withAcceptVersion(Optional acceptVersion) { Utils.checkNotNull(acceptVersion, "acceptVersion"); this.acceptVersion = acceptVersion; return this; @@ -143,15 +142,15 @@ public boolean equals(java.lang.Object o) { } SourceWebflow other = (SourceWebflow) o; return - java.util.Objects.deepEquals(this.acceptVersion, other.acceptVersion) && - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.siteId, other.siteId) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.acceptVersion, other.acceptVersion) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.siteId, other.siteId) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( acceptVersion, apiKey, siteId, @@ -169,7 +168,7 @@ public String toString() { public final static class Builder { - private Optional acceptVersion = Optional.empty(); + private Optional acceptVersion = Optional.empty(); private String apiKey; @@ -191,7 +190,7 @@ public Builder acceptVersion(String acceptVersion) { /** * The version of the Webflow API to use. See https://developers.webflow.com/#versioning */ - public Builder acceptVersion(Optional acceptVersion) { + public Builder acceptVersion(Optional acceptVersion) { Utils.checkNotNull(acceptVersion, "acceptVersion"); this.acceptVersion = acceptVersion; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWhenIWork.java b/src/main/java/com/airbyte/api/models/shared/SourceWhenIWork.java index 3a3b14145..af779e9d6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceWhenIWork.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceWhenIWork.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceWhenIWork { @@ -97,14 +97,14 @@ public boolean equals(java.lang.Object o) { } SourceWhenIWork other = (SourceWhenIWork) o; return - java.util.Objects.deepEquals(this.email, other.email) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( email, password, sourceType); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java b/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java index 513615fda..562eaf293 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceWhiskyHunter { @@ -46,12 +46,12 @@ public boolean equals(java.lang.Object o) { } SourceWhiskyHunter other = (SourceWhiskyHunter) o; return - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sourceType); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java b/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java index c8dc44df0..195157255 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceWikipediaPageviews.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceWikipediaPageviews { @@ -227,19 +227,19 @@ public boolean equals(java.lang.Object o) { } SourceWikipediaPageviews other = (SourceWikipediaPageviews) o; return - java.util.Objects.deepEquals(this.access, other.access) && - java.util.Objects.deepEquals(this.agent, other.agent) && - java.util.Objects.deepEquals(this.article, other.article) && - java.util.Objects.deepEquals(this.country, other.country) && - java.util.Objects.deepEquals(this.end, other.end) && - java.util.Objects.deepEquals(this.project, other.project) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.start, other.start); + Objects.deepEquals(this.access, other.access) && + Objects.deepEquals(this.agent, other.agent) && + Objects.deepEquals(this.article, other.article) && + Objects.deepEquals(this.country, other.country) && + Objects.deepEquals(this.end, other.end) && + Objects.deepEquals(this.project, other.project) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.start, other.start); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( access, agent, article, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java b/src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java index 4c2e77800..fe40d2087 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceWoocommerce.java @@ -1,21 +1,21 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.Objects; + public class SourceWoocommerce { @@ -150,16 +150,16 @@ public boolean equals(java.lang.Object o) { } SourceWoocommerce other = (SourceWoocommerce) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.apiSecret, other.apiSecret) && - java.util.Objects.deepEquals(this.shop, other.shop) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiSecret, other.apiSecret) && + Objects.deepEquals(this.shop, other.shop) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, apiSecret, shop, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWordpress.java b/src/main/java/com/airbyte/api/models/shared/SourceWordpress.java new file mode 100644 index 000000000..4bf4645ef --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWordpress.java @@ -0,0 +1,309 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceWordpress { + + /** + * The domain of the WordPress site. Example: my-wordpress-website.host.com + */ + @JsonProperty("domain") + private String domain; + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + private Optional password; + + @JsonProperty("sourceType") + private Wordpress sourceType; + + /** + * Minimal Date to Retrieve Records when stream allow incremental. + */ + @JsonProperty("start_date") + private OffsetDateTime startDate; + + /** + * Placeholder for basic HTTP auth username - should be set to empty string + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("username") + private Optional username; + + @JsonCreator + public SourceWordpress( + @JsonProperty("domain") String domain, + @JsonProperty("password") Optional password, + @JsonProperty("start_date") OffsetDateTime startDate, + @JsonProperty("username") Optional username) { + Utils.checkNotNull(domain, "domain"); + Utils.checkNotNull(password, "password"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(username, "username"); + this.domain = domain; + this.password = password; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.username = username; + } + + public SourceWordpress( + String domain, + OffsetDateTime startDate) { + this(domain, Optional.empty(), startDate, Optional.empty()); + } + + /** + * The domain of the WordPress site. Example: my-wordpress-website.host.com + */ + @JsonIgnore + public String domain() { + return domain; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + @JsonIgnore + public Optional password() { + return password; + } + + @JsonIgnore + public Wordpress sourceType() { + return sourceType; + } + + /** + * Minimal Date to Retrieve Records when stream allow incremental. + */ + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + /** + * Placeholder for basic HTTP auth username - should be set to empty string + */ + @JsonIgnore + public Optional username() { + return username; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The domain of the WordPress site. Example: my-wordpress-website.host.com + */ + public SourceWordpress withDomain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + public SourceWordpress withPassword(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + public SourceWordpress withPassword(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Minimal Date to Retrieve Records when stream allow incremental. + */ + public SourceWordpress withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Placeholder for basic HTTP auth username - should be set to empty string + */ + public SourceWordpress withUsername(String username) { + Utils.checkNotNull(username, "username"); + this.username = Optional.ofNullable(username); + return this; + } + + /** + * Placeholder for basic HTTP auth username - should be set to empty string + */ + public SourceWordpress withUsername(Optional username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWordpress other = (SourceWordpress) o; + return + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.username, other.username); + } + + @Override + public int hashCode() { + return Objects.hash( + domain, + password, + sourceType, + startDate, + username); + } + + @Override + public String toString() { + return Utils.toString(SourceWordpress.class, + "domain", domain, + "password", password, + "sourceType", sourceType, + "startDate", startDate, + "username", username); + } + + public final static class Builder { + + private String domain; + + private Optional password; + + private OffsetDateTime startDate; + + private Optional username; + + private Builder() { + // force use of static builder() method + } + + /** + * The domain of the WordPress site. Example: my-wordpress-website.host.com + */ + public Builder domain(String domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + public Builder password(String password) { + Utils.checkNotNull(password, "password"); + this.password = Optional.ofNullable(password); + return this; + } + + /** + * Placeholder for basic HTTP auth password - should be set to empty string + */ + public Builder password(Optional password) { + Utils.checkNotNull(password, "password"); + this.password = password; + return this; + } + + /** + * Minimal Date to Retrieve Records when stream allow incremental. + */ + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Placeholder for basic HTTP auth username - should be set to empty string + */ + public Builder username(String username) { + Utils.checkNotNull(username, "username"); + this.username = Optional.ofNullable(username); + return this; + } + + /** + * Placeholder for basic HTTP auth username - should be set to empty string + */ + public Builder username(Optional username) { + Utils.checkNotNull(username, "username"); + this.username = username; + return this; + } + + public SourceWordpress build() { + if (password == null) { + password = _SINGLETON_VALUE_Password.value(); + } + if (username == null) { + username = _SINGLETON_VALUE_Username.value(); + } return new SourceWordpress( + domain, + password, + startDate, + username); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Password = + new LazySingletonValue<>( + "password", + "\"x\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"wordpress\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_Username = + new LazySingletonValue<>( + "username", + "\"x\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWorkable.java b/src/main/java/com/airbyte/api/models/shared/SourceWorkable.java new file mode 100644 index 000000000..b14cbeb13 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWorkable.java @@ -0,0 +1,203 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceWorkable { + + /** + * Your Workable account subdomain, e.g. https://your_account_subdomain.workable.com. + */ + @JsonProperty("account_subdomain") + private String accountSubdomain; + + /** + * Your Workable API Key. See <a href="https://workable.readme.io/reference/generate-an-access-token">here</a>. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Workable sourceType; + + /** + * Get data that was created since this date (format: YYYYMMDDTHHMMSSZ). + */ + @JsonProperty("start_date") + private String startDate; + + @JsonCreator + public SourceWorkable( + @JsonProperty("account_subdomain") String accountSubdomain, + @JsonProperty("api_key") String apiKey, + @JsonProperty("start_date") String startDate) { + Utils.checkNotNull(accountSubdomain, "accountSubdomain"); + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(startDate, "startDate"); + this.accountSubdomain = accountSubdomain; + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * Your Workable account subdomain, e.g. https://your_account_subdomain.workable.com. + */ + @JsonIgnore + public String accountSubdomain() { + return accountSubdomain; + } + + /** + * Your Workable API Key. See <a href="https://workable.readme.io/reference/generate-an-access-token">here</a>. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Workable sourceType() { + return sourceType; + } + + /** + * Get data that was created since this date (format: YYYYMMDDTHHMMSSZ). + */ + @JsonIgnore + public String startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your Workable account subdomain, e.g. https://your_account_subdomain.workable.com. + */ + public SourceWorkable withAccountSubdomain(String accountSubdomain) { + Utils.checkNotNull(accountSubdomain, "accountSubdomain"); + this.accountSubdomain = accountSubdomain; + return this; + } + + /** + * Your Workable API Key. See <a href="https://workable.readme.io/reference/generate-an-access-token">here</a>. + */ + public SourceWorkable withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Get data that was created since this date (format: YYYYMMDDTHHMMSSZ). + */ + public SourceWorkable withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWorkable other = (SourceWorkable) o; + return + Objects.deepEquals(this.accountSubdomain, other.accountSubdomain) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accountSubdomain, + apiKey, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceWorkable.class, + "accountSubdomain", accountSubdomain, + "apiKey", apiKey, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accountSubdomain; + + private String apiKey; + + private String startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * Your Workable account subdomain, e.g. https://your_account_subdomain.workable.com. + */ + public Builder accountSubdomain(String accountSubdomain) { + Utils.checkNotNull(accountSubdomain, "accountSubdomain"); + this.accountSubdomain = accountSubdomain; + return this; + } + + /** + * Your Workable API Key. See <a href="https://workable.readme.io/reference/generate-an-access-token">here</a>. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Get data that was created since this date (format: YYYYMMDDTHHMMSSZ). + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceWorkable build() { + return new SourceWorkable( + accountSubdomain, + apiKey, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"workable\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWorkflowmax.java b/src/main/java/com/airbyte/api/models/shared/SourceWorkflowmax.java new file mode 100644 index 000000000..e62fb627f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWorkflowmax.java @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceWorkflowmax { + + /** + * The account id for workflowmax + */ + @JsonProperty("account_id") + private String accountId; + + @JsonProperty("api_key_2") + private String apiKey2; + + @JsonProperty("sourceType") + private Workflowmax sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceWorkflowmax( + @JsonProperty("account_id") String accountId, + @JsonProperty("api_key_2") String apiKey2, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(accountId, "accountId"); + Utils.checkNotNull(apiKey2, "apiKey2"); + Utils.checkNotNull(startDate, "startDate"); + this.accountId = accountId; + this.apiKey2 = apiKey2; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + /** + * The account id for workflowmax + */ + @JsonIgnore + public String accountId() { + return accountId; + } + + @JsonIgnore + public String apiKey2() { + return apiKey2; + } + + @JsonIgnore + public Workflowmax sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The account id for workflowmax + */ + public SourceWorkflowmax withAccountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + public SourceWorkflowmax withApiKey2(String apiKey2) { + Utils.checkNotNull(apiKey2, "apiKey2"); + this.apiKey2 = apiKey2; + return this; + } + + public SourceWorkflowmax withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWorkflowmax other = (SourceWorkflowmax) o; + return + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.apiKey2, other.apiKey2) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + accountId, + apiKey2, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceWorkflowmax.class, + "accountId", accountId, + "apiKey2", apiKey2, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String accountId; + + private String apiKey2; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + /** + * The account id for workflowmax + */ + public Builder accountId(String accountId) { + Utils.checkNotNull(accountId, "accountId"); + this.accountId = accountId; + return this; + } + + public Builder apiKey2(String apiKey2) { + Utils.checkNotNull(apiKey2, "apiKey2"); + this.apiKey2 = apiKey2; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceWorkflowmax build() { + return new SourceWorkflowmax( + accountId, + apiKey2, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"workflowmax\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWorkramp.java b/src/main/java/com/airbyte/api/models/shared/SourceWorkramp.java new file mode 100644 index 000000000..f400cff07 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWorkramp.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceWorkramp { + + /** + * The id of the Academy + */ + @JsonProperty("academy_id") + private String academyId; + + /** + * The API Token for Workramp + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Workramp sourceType; + + @JsonCreator + public SourceWorkramp( + @JsonProperty("academy_id") String academyId, + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(academyId, "academyId"); + Utils.checkNotNull(apiKey, "apiKey"); + this.academyId = academyId; + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * The id of the Academy + */ + @JsonIgnore + public String academyId() { + return academyId; + } + + /** + * The API Token for Workramp + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Workramp sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The id of the Academy + */ + public SourceWorkramp withAcademyId(String academyId) { + Utils.checkNotNull(academyId, "academyId"); + this.academyId = academyId; + return this; + } + + /** + * The API Token for Workramp + */ + public SourceWorkramp withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWorkramp other = (SourceWorkramp) o; + return + Objects.deepEquals(this.academyId, other.academyId) && + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + academyId, + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceWorkramp.class, + "academyId", academyId, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String academyId; + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + /** + * The id of the Academy + */ + public Builder academyId(String academyId) { + Utils.checkNotNull(academyId, "academyId"); + this.academyId = academyId; + return this; + } + + /** + * The API Token for Workramp + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceWorkramp build() { + return new SourceWorkramp( + academyId, + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"workramp\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWrike.java b/src/main/java/com/airbyte/api/models/shared/SourceWrike.java new file mode 100644 index 000000000..a6fbc4971 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWrike.java @@ -0,0 +1,257 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceWrike { + + /** + * Permanent access token. You can find documentation on how to acquire a permanent access token <a href="https://developers.wrike.com/oauth-20-authorization/">here</a> + */ + @JsonProperty("access_token") + private String accessToken; + + @JsonProperty("sourceType") + private Wrike sourceType; + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Only comments after this date will be replicated. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("start_date") + private Optional startDate; + + /** + * Wrike's instance such as `app-us2.wrike.com` + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("wrike_instance") + private Optional wrikeInstance; + + @JsonCreator + public SourceWrike( + @JsonProperty("access_token") String accessToken, + @JsonProperty("start_date") Optional startDate, + @JsonProperty("wrike_instance") Optional wrikeInstance) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(startDate, "startDate"); + Utils.checkNotNull(wrikeInstance, "wrikeInstance"); + this.accessToken = accessToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + this.wrikeInstance = wrikeInstance; + } + + public SourceWrike( + String accessToken) { + this(accessToken, Optional.empty(), Optional.empty()); + } + + /** + * Permanent access token. You can find documentation on how to acquire a permanent access token <a href="https://developers.wrike.com/oauth-20-authorization/">here</a> + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + @JsonIgnore + public Wrike sourceType() { + return sourceType; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Only comments after this date will be replicated. + */ + @JsonIgnore + public Optional startDate() { + return startDate; + } + + /** + * Wrike's instance such as `app-us2.wrike.com` + */ + @JsonIgnore + public Optional wrikeInstance() { + return wrikeInstance; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Permanent access token. You can find documentation on how to acquire a permanent access token <a href="https://developers.wrike.com/oauth-20-authorization/">here</a> + */ + public SourceWrike withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Only comments after this date will be replicated. + */ + public SourceWrike withStartDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Only comments after this date will be replicated. + */ + public SourceWrike withStartDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Wrike's instance such as `app-us2.wrike.com` + */ + public SourceWrike withWrikeInstance(String wrikeInstance) { + Utils.checkNotNull(wrikeInstance, "wrikeInstance"); + this.wrikeInstance = Optional.ofNullable(wrikeInstance); + return this; + } + + /** + * Wrike's instance such as `app-us2.wrike.com` + */ + public SourceWrike withWrikeInstance(Optional wrikeInstance) { + Utils.checkNotNull(wrikeInstance, "wrikeInstance"); + this.wrikeInstance = wrikeInstance; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWrike other = (SourceWrike) o; + return + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.wrikeInstance, other.wrikeInstance); + } + + @Override + public int hashCode() { + return Objects.hash( + accessToken, + sourceType, + startDate, + wrikeInstance); + } + + @Override + public String toString() { + return Utils.toString(SourceWrike.class, + "accessToken", accessToken, + "sourceType", sourceType, + "startDate", startDate, + "wrikeInstance", wrikeInstance); + } + + public final static class Builder { + + private String accessToken; + + private Optional startDate = Optional.empty(); + + private Optional wrikeInstance; + + private Builder() { + // force use of static builder() method + } + + /** + * Permanent access token. You can find documentation on how to acquire a permanent access token <a href="https://developers.wrike.com/oauth-20-authorization/">here</a> + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Only comments after this date will be replicated. + */ + public Builder startDate(String startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = Optional.ofNullable(startDate); + return this; + } + + /** + * UTC date and time in the format 2017-01-25T00:00:00Z. Only comments after this date will be replicated. + */ + public Builder startDate(Optional startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + /** + * Wrike's instance such as `app-us2.wrike.com` + */ + public Builder wrikeInstance(String wrikeInstance) { + Utils.checkNotNull(wrikeInstance, "wrikeInstance"); + this.wrikeInstance = Optional.ofNullable(wrikeInstance); + return this; + } + + /** + * Wrike's instance such as `app-us2.wrike.com` + */ + public Builder wrikeInstance(Optional wrikeInstance) { + Utils.checkNotNull(wrikeInstance, "wrikeInstance"); + this.wrikeInstance = wrikeInstance; + return this; + } + + public SourceWrike build() { + if (wrikeInstance == null) { + wrikeInstance = _SINGLETON_VALUE_WrikeInstance.value(); + } return new SourceWrike( + accessToken, + startDate, + wrikeInstance); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"wrike\"", + new TypeReference() {}); + + private static final LazySingletonValue> _SINGLETON_VALUE_WrikeInstance = + new LazySingletonValue<>( + "wrike_instance", + "\"app-us2.wrike.com\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceWufoo.java b/src/main/java/com/airbyte/api/models/shared/SourceWufoo.java new file mode 100644 index 000000000..f78c6b288 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceWufoo.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceWufoo { + + /** + * Your Wufoo API Key. You can find it by logging into your Wufoo account, selecting 'API Information' from the 'More' dropdown on any form, and locating the 16-digit code. + */ + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private Wufoo sourceType; + + /** + * Your account subdomain/username for Wufoo. + */ + @JsonProperty("subdomain") + private String subdomain; + + @JsonCreator + public SourceWufoo( + @JsonProperty("api_key") String apiKey, + @JsonProperty("subdomain") String subdomain) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(subdomain, "subdomain"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.subdomain = subdomain; + } + + /** + * Your Wufoo API Key. You can find it by logging into your Wufoo account, selecting 'API Information' from the 'More' dropdown on any form, and locating the 16-digit code. + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public Wufoo sourceType() { + return sourceType; + } + + /** + * Your account subdomain/username for Wufoo. + */ + @JsonIgnore + public String subdomain() { + return subdomain; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Your Wufoo API Key. You can find it by logging into your Wufoo account, selecting 'API Information' from the 'More' dropdown on any form, and locating the 16-digit code. + */ + public SourceWufoo withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Your account subdomain/username for Wufoo. + */ + public SourceWufoo withSubdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceWufoo other = (SourceWufoo) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.subdomain, other.subdomain); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType, + subdomain); + } + + @Override + public String toString() { + return Utils.toString(SourceWufoo.class, + "apiKey", apiKey, + "sourceType", sourceType, + "subdomain", subdomain); + } + + public final static class Builder { + + private String apiKey; + + private String subdomain; + + private Builder() { + // force use of static builder() method + } + + /** + * Your Wufoo API Key. You can find it by logging into your Wufoo account, selecting 'API Information' from the 'More' dropdown on any form, and locating the 16-digit code. + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * Your account subdomain/username for Wufoo. + */ + public Builder subdomain(String subdomain) { + Utils.checkNotNull(subdomain, "subdomain"); + this.subdomain = subdomain; + return this; + } + + public SourceWufoo build() { + return new SourceWufoo( + apiKey, + subdomain); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"wufoo\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java b/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java index f280adac1..72cd15dfe 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceXkcd { /** @@ -26,7 +27,7 @@ public class SourceXkcd { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("comic_number") - private Optional comicNumber; + private Optional comicNumber; @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") @@ -34,7 +35,7 @@ public class SourceXkcd { @JsonCreator public SourceXkcd( - @JsonProperty("comic_number") Optional comicNumber) { + @JsonProperty("comic_number") Optional comicNumber) { Utils.checkNotNull(comicNumber, "comicNumber"); this.comicNumber = comicNumber; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); @@ -47,10 +48,9 @@ public SourceXkcd() { /** * Specifies the comic number in which details are to be extracted, pagination will begin with that number to end of available comics */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional comicNumber() { - return (Optional) comicNumber; + return comicNumber; } @SuppressWarnings("unchecked") @@ -75,7 +75,7 @@ public SourceXkcd withComicNumber(String comicNumber) { /** * Specifies the comic number in which details are to be extracted, pagination will begin with that number to end of available comics */ - public SourceXkcd withComicNumber(Optional comicNumber) { + public SourceXkcd withComicNumber(Optional comicNumber) { Utils.checkNotNull(comicNumber, "comicNumber"); this.comicNumber = comicNumber; return this; @@ -91,13 +91,13 @@ public boolean equals(java.lang.Object o) { } SourceXkcd other = (SourceXkcd) o; return - java.util.Objects.deepEquals(this.comicNumber, other.comicNumber) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.comicNumber, other.comicNumber) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( comicNumber, sourceType); } @@ -111,7 +111,7 @@ public String toString() { public final static class Builder { - private Optional comicNumber; + private Optional comicNumber; private Builder() { // force use of static builder() method @@ -129,7 +129,7 @@ public Builder comicNumber(String comicNumber) { /** * Specifies the comic number in which details are to be extracted, pagination will begin with that number to end of available comics */ - public Builder comicNumber(Optional comicNumber) { + public Builder comicNumber(Optional comicNumber) { Utils.checkNotNull(comicNumber, "comicNumber"); this.comicNumber = comicNumber; return this; @@ -138,16 +138,15 @@ public Builder comicNumber(Optional comicNumber) { public SourceXkcd build() { if (comicNumber == null) { comicNumber = _SINGLETON_VALUE_ComicNumber.value(); - } - return new SourceXkcd( + } return new SourceXkcd( comicNumber); } - private static final LazySingletonValue> _SINGLETON_VALUE_ComicNumber = + private static final LazySingletonValue> _SINGLETON_VALUE_ComicNumber = new LazySingletonValue<>( "comic_number", "\"2960\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceXsolla.java b/src/main/java/com/airbyte/api/models/shared/SourceXsolla.java new file mode 100644 index 000000000..ed72b44b1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceXsolla.java @@ -0,0 +1,163 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceXsolla { + + /** + * Go to Xsolla Dashboard and from company setting get the api_key + */ + @JsonProperty("api_key") + private String apiKey; + + /** + * You can find this parameter in your Publisher Account next to the name of the project . Example: 44056 + */ + @JsonProperty("project_id") + private double projectId; + + @JsonProperty("sourceType") + private Xsolla sourceType; + + @JsonCreator + public SourceXsolla( + @JsonProperty("api_key") String apiKey, + @JsonProperty("project_id") double projectId) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(projectId, "projectId"); + this.apiKey = apiKey; + this.projectId = projectId; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Go to Xsolla Dashboard and from company setting get the api_key + */ + @JsonIgnore + public String apiKey() { + return apiKey; + } + + /** + * You can find this parameter in your Publisher Account next to the name of the project . Example: 44056 + */ + @JsonIgnore + public double projectId() { + return projectId; + } + + @JsonIgnore + public Xsolla sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Go to Xsolla Dashboard and from company setting get the api_key + */ + public SourceXsolla withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * You can find this parameter in your Publisher Account next to the name of the project . Example: 44056 + */ + public SourceXsolla withProjectId(double projectId) { + Utils.checkNotNull(projectId, "projectId"); + this.projectId = projectId; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceXsolla other = (SourceXsolla) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.projectId, other.projectId) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + projectId, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceXsolla.class, + "apiKey", apiKey, + "projectId", projectId, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Double projectId; + + private Builder() { + // force use of static builder() method + } + + /** + * Go to Xsolla Dashboard and from company setting get the api_key + */ + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + /** + * You can find this parameter in your Publisher Account next to the name of the project . Example: 44056 + */ + public Builder projectId(double projectId) { + Utils.checkNotNull(projectId, "projectId"); + this.projectId = projectId; + return this; + } + + public SourceXsolla build() { + return new SourceXsolla( + apiKey, + projectId); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"xsolla\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePrice.java b/src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePrice.java new file mode 100644 index 000000000..6cb48c1a3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePrice.java @@ -0,0 +1,252 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceYahooFinancePrice { + + /** + * The interval of between prices queried. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("interval") + private Optional interval; + + /** + * The range of prices to be queried. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("range") + private Optional range; + + @JsonProperty("sourceType") + private YahooFinancePrice sourceType; + + /** + * Comma-separated identifiers for the stocks to be queried. Whitespaces are allowed. + */ + @JsonProperty("tickers") + private String tickers; + + @JsonCreator + public SourceYahooFinancePrice( + @JsonProperty("interval") Optional interval, + @JsonProperty("range") Optional range, + @JsonProperty("tickers") String tickers) { + Utils.checkNotNull(interval, "interval"); + Utils.checkNotNull(range, "range"); + Utils.checkNotNull(tickers, "tickers"); + this.interval = interval; + this.range = range; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.tickers = tickers; + } + + public SourceYahooFinancePrice( + String tickers) { + this(Optional.empty(), Optional.empty(), tickers); + } + + /** + * The interval of between prices queried. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional interval() { + return (Optional) interval; + } + + /** + * The range of prices to be queried. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional range() { + return (Optional) range; + } + + @JsonIgnore + public YahooFinancePrice sourceType() { + return sourceType; + } + + /** + * Comma-separated identifiers for the stocks to be queried. Whitespaces are allowed. + */ + @JsonIgnore + public String tickers() { + return tickers; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * The interval of between prices queried. + */ + public SourceYahooFinancePrice withInterval(SourceYahooFinancePriceInterval interval) { + Utils.checkNotNull(interval, "interval"); + this.interval = Optional.ofNullable(interval); + return this; + } + + /** + * The interval of between prices queried. + */ + public SourceYahooFinancePrice withInterval(Optional interval) { + Utils.checkNotNull(interval, "interval"); + this.interval = interval; + return this; + } + + /** + * The range of prices to be queried. + */ + public SourceYahooFinancePrice withRange(Range range) { + Utils.checkNotNull(range, "range"); + this.range = Optional.ofNullable(range); + return this; + } + + /** + * The range of prices to be queried. + */ + public SourceYahooFinancePrice withRange(Optional range) { + Utils.checkNotNull(range, "range"); + this.range = range; + return this; + } + + /** + * Comma-separated identifiers for the stocks to be queried. Whitespaces are allowed. + */ + public SourceYahooFinancePrice withTickers(String tickers) { + Utils.checkNotNull(tickers, "tickers"); + this.tickers = tickers; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceYahooFinancePrice other = (SourceYahooFinancePrice) o; + return + Objects.deepEquals(this.interval, other.interval) && + Objects.deepEquals(this.range, other.range) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.tickers, other.tickers); + } + + @Override + public int hashCode() { + return Objects.hash( + interval, + range, + sourceType, + tickers); + } + + @Override + public String toString() { + return Utils.toString(SourceYahooFinancePrice.class, + "interval", interval, + "range", range, + "sourceType", sourceType, + "tickers", tickers); + } + + public final static class Builder { + + private Optional interval = Optional.empty(); + + private Optional range = Optional.empty(); + + private String tickers; + + private Builder() { + // force use of static builder() method + } + + /** + * The interval of between prices queried. + */ + public Builder interval(SourceYahooFinancePriceInterval interval) { + Utils.checkNotNull(interval, "interval"); + this.interval = Optional.ofNullable(interval); + return this; + } + + /** + * The interval of between prices queried. + */ + public Builder interval(Optional interval) { + Utils.checkNotNull(interval, "interval"); + this.interval = interval; + return this; + } + + /** + * The range of prices to be queried. + */ + public Builder range(Range range) { + Utils.checkNotNull(range, "range"); + this.range = Optional.ofNullable(range); + return this; + } + + /** + * The range of prices to be queried. + */ + public Builder range(Optional range) { + Utils.checkNotNull(range, "range"); + this.range = range; + return this; + } + + /** + * Comma-separated identifiers for the stocks to be queried. Whitespaces are allowed. + */ + public Builder tickers(String tickers) { + Utils.checkNotNull(tickers, "tickers"); + this.tickers = tickers; + return this; + } + + public SourceYahooFinancePrice build() { + return new SourceYahooFinancePrice( + interval, + range, + tickers); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"yahoo-finance-price\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePriceInterval.java b/src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePriceInterval.java new file mode 100644 index 000000000..516707283 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceYahooFinancePriceInterval.java @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceYahooFinancePriceInterval - The interval of between prices queried. + */ +public enum SourceYahooFinancePriceInterval { + ONEM("1m"), + FIVEM("5m"), + FIFTEENM("15m"), + THIRTYM("30m"), + NINETYM("90m"), + ONEH("1h"), + ONED("1d"), + FIVED("5d"), + ONEWK("1wk"), + ONEMO("1mo"), + THREEMO("3mo"); + + @JsonValue + private final String value; + + private SourceYahooFinancePriceInterval(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java b/src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java index 43582d5dc..eac2990e7 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java @@ -1,25 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.LocalDate; +import java.util.Objects; import java.util.Optional; + public class SourceYandexMetrica { /** @@ -39,7 +39,7 @@ public class SourceYandexMetrica { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("end_date") - private Optional endDate; + private Optional endDate; @JsonProperty("sourceType") private YandexMetrica sourceType; @@ -54,7 +54,7 @@ public class SourceYandexMetrica { public SourceYandexMetrica( @JsonProperty("auth_token") String authToken, @JsonProperty("counter_id") String counterId, - @JsonProperty("end_date") Optional endDate, + @JsonProperty("end_date") Optional endDate, @JsonProperty("start_date") LocalDate startDate) { Utils.checkNotNull(authToken, "authToken"); Utils.checkNotNull(counterId, "counterId"); @@ -93,10 +93,9 @@ public String counterId() { /** * Starting point for your data replication, in format of "YYYY-MM-DD". If not provided will sync till most recent date. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional endDate() { - return (Optional) endDate; + return endDate; } @JsonIgnore @@ -146,7 +145,7 @@ public SourceYandexMetrica withEndDate(LocalDate endDate) { /** * Starting point for your data replication, in format of "YYYY-MM-DD". If not provided will sync till most recent date. */ - public SourceYandexMetrica withEndDate(Optional endDate) { + public SourceYandexMetrica withEndDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; @@ -171,16 +170,16 @@ public boolean equals(java.lang.Object o) { } SourceYandexMetrica other = (SourceYandexMetrica) o; return - java.util.Objects.deepEquals(this.authToken, other.authToken) && - java.util.Objects.deepEquals(this.counterId, other.counterId) && - java.util.Objects.deepEquals(this.endDate, other.endDate) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.authToken, other.authToken) && + Objects.deepEquals(this.counterId, other.counterId) && + Objects.deepEquals(this.endDate, other.endDate) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authToken, counterId, endDate, @@ -204,7 +203,7 @@ public final static class Builder { private String counterId; - private Optional endDate = Optional.empty(); + private Optional endDate = Optional.empty(); private LocalDate startDate; @@ -242,7 +241,7 @@ public Builder endDate(LocalDate endDate) { /** * Starting point for your data replication, in format of "YYYY-MM-DD". If not provided will sync till most recent date. */ - public Builder endDate(Optional endDate) { + public Builder endDate(Optional endDate) { Utils.checkNotNull(endDate, "endDate"); this.endDate = endDate; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceYotpo.java b/src/main/java/com/airbyte/api/models/shared/SourceYotpo.java index c48d4818b..9664e5e49 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceYotpo.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceYotpo.java @@ -1,27 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceYotpo { /** @@ -41,7 +39,7 @@ public class SourceYotpo { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("email") - private Optional email; + private Optional email; @JsonProperty("sourceType") private Yotpo sourceType; @@ -56,7 +54,7 @@ public class SourceYotpo { public SourceYotpo( @JsonProperty("access_token") String accessToken, @JsonProperty("app_key") String appKey, - @JsonProperty("email") Optional email, + @JsonProperty("email") Optional email, @JsonProperty("start_date") OffsetDateTime startDate) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(appKey, "appKey"); @@ -95,10 +93,9 @@ public String appKey() { /** * Email address registered with yotpo. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional email() { - return (Optional) email; + return email; } @JsonIgnore @@ -148,7 +145,7 @@ public SourceYotpo withEmail(String email) { /** * Email address registered with yotpo. */ - public SourceYotpo withEmail(Optional email) { + public SourceYotpo withEmail(Optional email) { Utils.checkNotNull(email, "email"); this.email = email; return this; @@ -173,16 +170,16 @@ public boolean equals(java.lang.Object o) { } SourceYotpo other = (SourceYotpo) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.appKey, other.appKey) && - java.util.Objects.deepEquals(this.email, other.email) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.appKey, other.appKey) && + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, appKey, email, @@ -206,7 +203,7 @@ public final static class Builder { private String appKey; - private Optional email; + private Optional email; private OffsetDateTime startDate; @@ -244,7 +241,7 @@ public Builder email(String email) { /** * Email address registered with yotpo. */ - public Builder email(Optional email) { + public Builder email(Optional email) { Utils.checkNotNull(email, "email"); this.email = email; return this; @@ -262,19 +259,18 @@ public Builder startDate(OffsetDateTime startDate) { public SourceYotpo build() { if (email == null) { email = _SINGLETON_VALUE_Email.value(); - } - return new SourceYotpo( + } return new SourceYotpo( accessToken, appKey, email, startDate); } - private static final LazySingletonValue> _SINGLETON_VALUE_Email = + private static final LazySingletonValue> _SINGLETON_VALUE_Email = new LazySingletonValue<>( "email", "\"example@gmail.com\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourceYouNeedABudgetYnab.java b/src/main/java/com/airbyte/api/models/shared/SourceYouNeedABudgetYnab.java new file mode 100644 index 000000000..b2592cd19 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceYouNeedABudgetYnab.java @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceYouNeedABudgetYnab { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("sourceType") + private YouNeedABudgetYnab sourceType; + + @JsonCreator + public SourceYouNeedABudgetYnab( + @JsonProperty("api_key") String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public YouNeedABudgetYnab sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceYouNeedABudgetYnab withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceYouNeedABudgetYnab other = (SourceYouNeedABudgetYnab) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceYouNeedABudgetYnab.class, + "apiKey", apiKey, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceYouNeedABudgetYnab build() { + return new SourceYouNeedABudgetYnab( + apiKey); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"you-need-a-budget-ynab\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java b/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java index a26bacc1b..16078b68d 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalytics.java @@ -1,39 +1,39 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceYoutubeAnalytics { @JsonProperty("credentials") - private java.util.Map credentials; + private AuthenticateViaOAuth20 credentials; @JsonProperty("sourceType") private SourceYoutubeAnalyticsYoutubeAnalytics sourceType; @JsonCreator public SourceYoutubeAnalytics( - @JsonProperty("credentials") java.util.Map credentials) { - credentials = Utils.emptyMapIfNull(credentials); + @JsonProperty("credentials") AuthenticateViaOAuth20 credentials) { + Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); } @JsonIgnore - public java.util.Map credentials() { + public AuthenticateViaOAuth20 credentials() { return credentials; } @@ -46,7 +46,7 @@ public final static Builder builder() { return new Builder(); } - public SourceYoutubeAnalytics withCredentials(java.util.Map credentials) { + public SourceYoutubeAnalytics withCredentials(AuthenticateViaOAuth20 credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; @@ -62,13 +62,13 @@ public boolean equals(java.lang.Object o) { } SourceYoutubeAnalytics other = (SourceYoutubeAnalytics) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType); } @@ -82,13 +82,13 @@ public String toString() { public final static class Builder { - private java.util.Map credentials; + private AuthenticateViaOAuth20 credentials; private Builder() { // force use of static builder() method } - public Builder credentials(java.util.Map credentials) { + public Builder credentials(AuthenticateViaOAuth20 credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.java b/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.java index 6cced1ccf..2a3d12f5b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceYoutubeAnalyticsYoutubeAnalytics { YOUTUBE_ANALYTICS("youtube-analytics"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceYoutubeData.java b/src/main/java/com/airbyte/api/models/shared/SourceYoutubeData.java new file mode 100644 index 000000000..5ee1a31ae --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceYoutubeData.java @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public class SourceYoutubeData { + + @JsonProperty("api_key") + private String apiKey; + + @JsonProperty("channel_ids") + private List channelIds; + + @JsonProperty("sourceType") + private YoutubeData sourceType; + + @JsonCreator + public SourceYoutubeData( + @JsonProperty("api_key") String apiKey, + @JsonProperty("channel_ids") List channelIds) { + Utils.checkNotNull(apiKey, "apiKey"); + Utils.checkNotNull(channelIds, "channelIds"); + this.apiKey = apiKey; + this.channelIds = channelIds; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String apiKey() { + return apiKey; + } + + @JsonIgnore + public List channelIds() { + return channelIds; + } + + @JsonIgnore + public YoutubeData sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceYoutubeData withApiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public SourceYoutubeData withChannelIds(List channelIds) { + Utils.checkNotNull(channelIds, "channelIds"); + this.channelIds = channelIds; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceYoutubeData other = (SourceYoutubeData) o; + return + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.channelIds, other.channelIds) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + apiKey, + channelIds, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceYoutubeData.class, + "apiKey", apiKey, + "channelIds", channelIds, + "sourceType", sourceType); + } + + public final static class Builder { + + private String apiKey; + + private List channelIds; + + private Builder() { + // force use of static builder() method + } + + public Builder apiKey(String apiKey) { + Utils.checkNotNull(apiKey, "apiKey"); + this.apiKey = apiKey; + return this; + } + + public Builder channelIds(List channelIds) { + Utils.checkNotNull(channelIds, "channelIds"); + this.channelIds = channelIds; + return this; + } + + public SourceYoutubeData build() { + return new SourceYoutubeData( + apiKey, + channelIds); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"youtube-data\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZapierSupportedStorage.java b/src/main/java/com/airbyte/api/models/shared/SourceZapierSupportedStorage.java new file mode 100644 index 000000000..bc70e71ab --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZapierSupportedStorage.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceZapierSupportedStorage { + + /** + * Secret key supplied by zapier + */ + @JsonProperty("secret") + private String secret; + + @JsonProperty("sourceType") + private ZapierSupportedStorage sourceType; + + @JsonCreator + public SourceZapierSupportedStorage( + @JsonProperty("secret") String secret) { + Utils.checkNotNull(secret, "secret"); + this.secret = secret; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Secret key supplied by zapier + */ + @JsonIgnore + public String secret() { + return secret; + } + + @JsonIgnore + public ZapierSupportedStorage sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Secret key supplied by zapier + */ + public SourceZapierSupportedStorage withSecret(String secret) { + Utils.checkNotNull(secret, "secret"); + this.secret = secret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZapierSupportedStorage other = (SourceZapierSupportedStorage) o; + return + Objects.deepEquals(this.secret, other.secret) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + secret, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceZapierSupportedStorage.class, + "secret", secret, + "sourceType", sourceType); + } + + public final static class Builder { + + private String secret; + + private Builder() { + // force use of static builder() method + } + + /** + * Secret key supplied by zapier + */ + public Builder secret(String secret) { + Utils.checkNotNull(secret, "secret"); + this.secret = secret; + return this; + } + + public SourceZapierSupportedStorage build() { + return new SourceZapierSupportedStorage( + secret); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zapier-supported-storage\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java index 22ff3c245..ca2b16dd9 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChat.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceZendeskChat { @JsonInclude(Include.NON_ABSENT) @@ -38,17 +37,17 @@ public class SourceZendeskChat { private OffsetDateTime startDate; /** - * Required if you access Zendesk Chat from a Zendesk Support subdomain. + * The unique subdomain of your Zendesk account (without https://). <a href="https://support.zendesk.com/hc/en-us/articles/4409381383578-Where-can-I-find-my-Zendesk-subdomain">See the Zendesk docs to find your subdomain</a> */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("subdomain") - private Optional subdomain; + private Optional subdomain; @JsonCreator public SourceZendeskChat( @JsonProperty("credentials") Optional credentials, @JsonProperty("start_date") OffsetDateTime startDate, - @JsonProperty("subdomain") Optional subdomain) { + @JsonProperty("subdomain") Optional subdomain) { Utils.checkNotNull(credentials, "credentials"); Utils.checkNotNull(startDate, "startDate"); Utils.checkNotNull(subdomain, "subdomain"); @@ -83,12 +82,11 @@ public OffsetDateTime startDate() { } /** - * Required if you access Zendesk Chat from a Zendesk Support subdomain. + * The unique subdomain of your Zendesk account (without https://). <a href="https://support.zendesk.com/hc/en-us/articles/4409381383578-Where-can-I-find-my-Zendesk-subdomain">See the Zendesk docs to find your subdomain</a> */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional subdomain() { - return (Optional) subdomain; + return subdomain; } public final static Builder builder() { @@ -117,7 +115,7 @@ public SourceZendeskChat withStartDate(OffsetDateTime startDate) { } /** - * Required if you access Zendesk Chat from a Zendesk Support subdomain. + * The unique subdomain of your Zendesk account (without https://). <a href="https://support.zendesk.com/hc/en-us/articles/4409381383578-Where-can-I-find-my-Zendesk-subdomain">See the Zendesk docs to find your subdomain</a> */ public SourceZendeskChat withSubdomain(String subdomain) { Utils.checkNotNull(subdomain, "subdomain"); @@ -126,9 +124,9 @@ public SourceZendeskChat withSubdomain(String subdomain) { } /** - * Required if you access Zendesk Chat from a Zendesk Support subdomain. + * The unique subdomain of your Zendesk account (without https://). <a href="https://support.zendesk.com/hc/en-us/articles/4409381383578-Where-can-I-find-my-Zendesk-subdomain">See the Zendesk docs to find your subdomain</a> */ - public SourceZendeskChat withSubdomain(Optional subdomain) { + public SourceZendeskChat withSubdomain(Optional subdomain) { Utils.checkNotNull(subdomain, "subdomain"); this.subdomain = subdomain; return this; @@ -144,15 +142,15 @@ public boolean equals(java.lang.Object o) { } SourceZendeskChat other = (SourceZendeskChat) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.subdomain, other.subdomain); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.subdomain, other.subdomain); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType, startDate, @@ -174,7 +172,7 @@ public final static class Builder { private OffsetDateTime startDate; - private Optional subdomain; + private Optional subdomain; private Builder() { // force use of static builder() method @@ -202,7 +200,7 @@ public Builder startDate(OffsetDateTime startDate) { } /** - * Required if you access Zendesk Chat from a Zendesk Support subdomain. + * The unique subdomain of your Zendesk account (without https://). <a href="https://support.zendesk.com/hc/en-us/articles/4409381383578-Where-can-I-find-my-Zendesk-subdomain">See the Zendesk docs to find your subdomain</a> */ public Builder subdomain(String subdomain) { Utils.checkNotNull(subdomain, "subdomain"); @@ -211,9 +209,9 @@ public Builder subdomain(String subdomain) { } /** - * Required if you access Zendesk Chat from a Zendesk Support subdomain. + * The unique subdomain of your Zendesk account (without https://). <a href="https://support.zendesk.com/hc/en-us/articles/4409381383578-Where-can-I-find-my-Zendesk-subdomain">See the Zendesk docs to find your subdomain</a> */ - public Builder subdomain(Optional subdomain) { + public Builder subdomain(Optional subdomain) { Utils.checkNotNull(subdomain, "subdomain"); this.subdomain = subdomain; return this; @@ -222,8 +220,7 @@ public Builder subdomain(Optional subdomain) { public SourceZendeskChat build() { if (subdomain == null) { subdomain = _SINGLETON_VALUE_Subdomain.value(); - } - return new SourceZendeskChat( + } return new SourceZendeskChat( credentials, startDate, subdomain); @@ -235,11 +232,11 @@ public SourceZendeskChat build() { "\"zendesk-chat\"", new TypeReference() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Subdomain = + private static final LazySingletonValue> _SINGLETON_VALUE_Subdomain = new LazySingletonValue<>( "subdomain", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAccessToken.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAccessToken.java index ce5567cb1..88ccae88a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAccessToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAccessToken.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class SourceZendeskChatAccessToken { @@ -71,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SourceZendeskChatAccessToken other = (SourceZendeskChatAccessToken) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAuthorizationMethod.java index 4a3f73bb8..dec7157d2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceZendeskChatAuthorizationMethod._Deserializer.class) public class SourceZendeskChatAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceZendeskChatAuthorizationMethod(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceZendeskChatAuthorizationMethod of(SourceZendeskChatAccessTok /** * Returns an instance of one of these types: *
      - *
    • {@code SourceZendeskChatOAuth20}
    • - *
    • {@code SourceZendeskChatAccessToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskChatOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskChatAccessToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceZendeskChatAuthorizationMethod other = (SourceZendeskChatAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceZendeskChatAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceZendeskChatAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentials.java index cf9e1bb90..3e5b5a1c3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatCredentials.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceZendeskChatCredentials { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatOAuth20.java index 05804199b..5d232c2ad 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatOAuth20.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceZendeskChatOAuth20 { /** @@ -26,21 +26,21 @@ public class SourceZendeskChatOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("access_token") - private Optional accessToken; + private Optional accessToken; /** * The Client ID of your OAuth application */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your OAuth application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonProperty("credentials") private SourceZendeskChatCredentials credentials; @@ -50,14 +50,14 @@ public class SourceZendeskChatOAuth20 { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("refresh_token") - private Optional refreshToken; + private Optional refreshToken; @JsonCreator public SourceZendeskChatOAuth20( - @JsonProperty("access_token") Optional accessToken, - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret, - @JsonProperty("refresh_token") Optional refreshToken) { + @JsonProperty("access_token") Optional accessToken, + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret, + @JsonProperty("refresh_token") Optional refreshToken) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -76,28 +76,25 @@ public SourceZendeskChatOAuth20() { /** * Access Token for making authenticated requests. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional accessToken() { - return (Optional) accessToken; + return accessToken; } /** * The Client ID of your OAuth application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your OAuth application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } @JsonIgnore @@ -108,10 +105,9 @@ public SourceZendeskChatCredentials credentials() { /** * Refresh Token to obtain new Access Token, when it's expired. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional refreshToken() { - return (Optional) refreshToken; + return refreshToken; } public final static Builder builder() { @@ -130,7 +126,7 @@ public SourceZendeskChatOAuth20 withAccessToken(String accessToken) { /** * Access Token for making authenticated requests. */ - public SourceZendeskChatOAuth20 withAccessToken(Optional accessToken) { + public SourceZendeskChatOAuth20 withAccessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -148,7 +144,7 @@ public SourceZendeskChatOAuth20 withClientId(String clientId) { /** * The Client ID of your OAuth application */ - public SourceZendeskChatOAuth20 withClientId(Optional clientId) { + public SourceZendeskChatOAuth20 withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -166,7 +162,7 @@ public SourceZendeskChatOAuth20 withClientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public SourceZendeskChatOAuth20 withClientSecret(Optional clientSecret) { + public SourceZendeskChatOAuth20 withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -184,7 +180,7 @@ public SourceZendeskChatOAuth20 withRefreshToken(String refreshToken) { /** * Refresh Token to obtain new Access Token, when it's expired. */ - public SourceZendeskChatOAuth20 withRefreshToken(Optional refreshToken) { + public SourceZendeskChatOAuth20 withRefreshToken(Optional refreshToken) { Utils.checkNotNull(refreshToken, "refreshToken"); this.refreshToken = refreshToken; return this; @@ -200,16 +196,16 @@ public boolean equals(java.lang.Object o) { } SourceZendeskChatOAuth20 other = (SourceZendeskChatOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.refreshToken, other.refreshToken); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, clientId, clientSecret, @@ -229,13 +225,13 @@ public String toString() { public final static class Builder { - private Optional accessToken = Optional.empty(); + private Optional accessToken = Optional.empty(); - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); - private Optional refreshToken = Optional.empty(); + private Optional refreshToken = Optional.empty(); private Builder() { // force use of static builder() method @@ -253,7 +249,7 @@ public Builder accessToken(String accessToken) { /** * Access Token for making authenticated requests. */ - public Builder accessToken(Optional accessToken) { + public Builder accessToken(Optional accessToken) { Utils.checkNotNull(accessToken, "accessToken"); this.accessToken = accessToken; return this; @@ -271,7 +267,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your OAuth application */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -289,7 +285,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -307,7 +303,7 @@ public Builder refreshToken(String refreshToken) { /** * Refresh Token to obtain new Access Token, when it's expired. */ - public Builder refreshToken(Optional refreshToken) { + public Builder refreshToken(Optional refreshToken) { Utils.checkNotNull(refreshToken, "refreshToken"); this.refreshToken = refreshToken; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatSchemasCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatSchemasCredentials.java index 8a58afb08..e3d2b6242 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatSchemasCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatSchemasCredentials.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceZendeskChatSchemasCredentials { ACCESS_TOKEN("access_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChat.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChat.java index 36cb037ef..6ee1300d4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChat.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskChatZendeskChat.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceZendeskChatZendeskChat { ZENDESK_CHAT("zendesk-chat"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java index bf570dfa3..b79f73f1b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshine.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceZendeskSunshine { @JsonInclude(Include.NON_ABSENT) @@ -29,7 +28,7 @@ public class SourceZendeskSunshine { private Optional credentials; @JsonProperty("sourceType") - private SourceZendeskSunshineZendeskSunshine sourceType; + private ZendeskSunshine sourceType; /** * The date from which you'd like to replicate data for Zendesk Sunshine API, in the format YYYY-MM-DDT00:00:00Z. @@ -70,7 +69,7 @@ public Optional credentials() { } @JsonIgnore - public SourceZendeskSunshineZendeskSunshine sourceType() { + public ZendeskSunshine sourceType() { return sourceType; } @@ -134,15 +133,15 @@ public boolean equals(java.lang.Object o) { } SourceZendeskSunshine other = (SourceZendeskSunshine) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.subdomain, other.subdomain); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.subdomain, other.subdomain); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType, startDate, @@ -207,11 +206,11 @@ public SourceZendeskSunshine build() { subdomain); } - private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( "sourceType", "\"zendesk-sunshine\"", - new TypeReference() {}); + new TypeReference() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAPIToken.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAPIToken.java index 5cbf05775..6fdfbb611 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAPIToken.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAPIToken.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceZendeskSunshineAPIToken { /** @@ -102,14 +103,14 @@ public boolean equals(java.lang.Object o) { } SourceZendeskSunshineAPIToken other = (SourceZendeskSunshineAPIToken) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.email, other.email); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.email, other.email); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, authMethod, email); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthMethod.java index b82e788bb..1e529781b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceZendeskSunshineAuthMethod { OAUTH20("oauth2.0"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthorizationMethod.java index f3519a400..8aea4e0d4 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineAuthorizationMethod.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = SourceZendeskSunshineAuthorizationMethod._Deserializer.class) public class SourceZendeskSunshineAuthorizationMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private SourceZendeskSunshineAuthorizationMethod(TypedObject value) { @@ -45,8 +42,8 @@ public static SourceZendeskSunshineAuthorizationMethod of(SourceZendeskSunshineA /** * Returns an instance of one of these types: *

      - *
    • {@code SourceZendeskSunshineOAuth20}
    • - *
    • {@code SourceZendeskSunshineAPIToken}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskSunshineOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskSunshineAPIToken}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } SourceZendeskSunshineAuthorizationMethod other = (SourceZendeskSunshineAuthorizationMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(SourceZendeskSunshineAuthorizationMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(SourceZendeskSunshineAuthorizationMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineOAuth20.java index 8963fbb6d..29028eee0 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineOAuth20.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineOAuth20.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class SourceZendeskSunshineOAuth20 { /** @@ -128,15 +129,15 @@ public boolean equals(java.lang.Object o) { } SourceZendeskSunshineOAuth20 other = (SourceZendeskSunshineOAuth20) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authMethod, clientId, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineSchemasAuthMethod.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineSchemasAuthMethod.java index 23bb3cd90..a916c7f51 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineSchemasAuthMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineSchemasAuthMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceZendeskSunshineSchemasAuthMethod { API_TOKEN("api_token"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineZendeskSunshine.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineZendeskSunshine.java deleted file mode 100644 index f2831c7c8..000000000 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSunshineZendeskSunshine.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.shared; - -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; - -public enum SourceZendeskSunshineZendeskSunshine { - ZENDESK_SUNSHINE("zendesk-sunshine"); - - @JsonValue - private final String value; - - private SourceZendeskSunshineZendeskSunshine(String value) { - this.value = value; - } - - public String value() { - return value; - } -} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java index 58d98ad74..a0d70f6a3 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupport.java @@ -1,27 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceZendeskSupport { /** @@ -29,7 +29,14 @@ public class SourceZendeskSupport { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("credentials") - private Optional credentials; + private Optional credentials; + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Zendesk Support plan. More info about the rate limit plan tiers can be found on Zendesk's API <a href="https://developer.zendesk.com/api-reference/introduction/rate-limits/#zendesk-support-plan-limits">docs</a>. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("num_workers") + private Optional numWorkers; @JsonProperty("sourceType") private SourceZendeskSupportZendeskSupport sourceType; @@ -39,7 +46,7 @@ public class SourceZendeskSupport { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_date") - private Optional startDate; + private Optional startDate; /** * This is your unique Zendesk subdomain that can be found in your account URL. For example, in https://MY_SUBDOMAIN.zendesk.com/, MY_SUBDOMAIN is the value of your subdomain. @@ -49,13 +56,16 @@ public class SourceZendeskSupport { @JsonCreator public SourceZendeskSupport( - @JsonProperty("credentials") Optional credentials, - @JsonProperty("start_date") Optional startDate, + @JsonProperty("credentials") Optional credentials, + @JsonProperty("num_workers") Optional numWorkers, + @JsonProperty("start_date") Optional startDate, @JsonProperty("subdomain") String subdomain) { Utils.checkNotNull(credentials, "credentials"); + Utils.checkNotNull(numWorkers, "numWorkers"); Utils.checkNotNull(startDate, "startDate"); Utils.checkNotNull(subdomain, "subdomain"); this.credentials = credentials; + this.numWorkers = numWorkers; this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); this.startDate = startDate; this.subdomain = subdomain; @@ -63,7 +73,7 @@ public SourceZendeskSupport( public SourceZendeskSupport( String subdomain) { - this(Optional.empty(), Optional.empty(), subdomain); + this(Optional.empty(), Optional.empty(), Optional.empty(), subdomain); } /** @@ -71,8 +81,16 @@ public SourceZendeskSupport( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional credentials() { - return (Optional) credentials; + public Optional credentials() { + return (Optional) credentials; + } + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Zendesk Support plan. More info about the rate limit plan tiers can be found on Zendesk's API <a href="https://developer.zendesk.com/api-reference/introduction/rate-limits/#zendesk-support-plan-limits">docs</a>. + */ + @JsonIgnore + public Optional numWorkers() { + return numWorkers; } @JsonIgnore @@ -83,10 +101,9 @@ public SourceZendeskSupportZendeskSupport sourceType() { /** * The UTC date and time from which you'd like to replicate data, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional startDate() { - return (Optional) startDate; + return startDate; } /** @@ -104,7 +121,7 @@ public final static Builder builder() { /** * Zendesk allows two authentication methods. We recommend using `OAuth2.0` for Airbyte Cloud users and `API token` for Airbyte Open Source users. */ - public SourceZendeskSupport withCredentials(java.lang.Object credentials) { + public SourceZendeskSupport withCredentials(SourceZendeskSupportAuthentication credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = Optional.ofNullable(credentials); return this; @@ -113,12 +130,30 @@ public SourceZendeskSupport withCredentials(java.lang.Object credentials) { /** * Zendesk allows two authentication methods. We recommend using `OAuth2.0` for Airbyte Cloud users and `API token` for Airbyte Open Source users. */ - public SourceZendeskSupport withCredentials(Optional credentials) { + public SourceZendeskSupport withCredentials(Optional credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; } + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Zendesk Support plan. More info about the rate limit plan tiers can be found on Zendesk's API <a href="https://developer.zendesk.com/api-reference/introduction/rate-limits/#zendesk-support-plan-limits">docs</a>. + */ + public SourceZendeskSupport withNumWorkers(long numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = Optional.ofNullable(numWorkers); + return this; + } + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Zendesk Support plan. More info about the rate limit plan tiers can be found on Zendesk's API <a href="https://developer.zendesk.com/api-reference/introduction/rate-limits/#zendesk-support-plan-limits">docs</a>. + */ + public SourceZendeskSupport withNumWorkers(Optional numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = numWorkers; + return this; + } + /** * The UTC date and time from which you'd like to replicate data, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. */ @@ -131,7 +166,7 @@ public SourceZendeskSupport withStartDate(OffsetDateTime startDate) { /** * The UTC date and time from which you'd like to replicate data, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. */ - public SourceZendeskSupport withStartDate(Optional startDate) { + public SourceZendeskSupport withStartDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -156,16 +191,18 @@ public boolean equals(java.lang.Object o) { } SourceZendeskSupport other = (SourceZendeskSupport) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.subdomain, other.subdomain); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.numWorkers, other.numWorkers) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.subdomain, other.subdomain); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, + numWorkers, sourceType, startDate, subdomain); @@ -175,6 +212,7 @@ public int hashCode() { public String toString() { return Utils.toString(SourceZendeskSupport.class, "credentials", credentials, + "numWorkers", numWorkers, "sourceType", sourceType, "startDate", startDate, "subdomain", subdomain); @@ -182,9 +220,11 @@ public String toString() { public final static class Builder { - private Optional credentials = Optional.empty(); + private Optional credentials = Optional.empty(); + + private Optional numWorkers; - private Optional startDate = Optional.empty(); + private Optional startDate = Optional.empty(); private String subdomain; @@ -195,7 +235,7 @@ private Builder() { /** * Zendesk allows two authentication methods. We recommend using `OAuth2.0` for Airbyte Cloud users and `API token` for Airbyte Open Source users. */ - public Builder credentials(java.lang.Object credentials) { + public Builder credentials(SourceZendeskSupportAuthentication credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = Optional.ofNullable(credentials); return this; @@ -204,12 +244,30 @@ public Builder credentials(java.lang.Object credentials) { /** * Zendesk allows two authentication methods. We recommend using `OAuth2.0` for Airbyte Cloud users and `API token` for Airbyte Open Source users. */ - public Builder credentials(Optional credentials) { + public Builder credentials(Optional credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; } + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Zendesk Support plan. More info about the rate limit plan tiers can be found on Zendesk's API <a href="https://developer.zendesk.com/api-reference/introduction/rate-limits/#zendesk-support-plan-limits">docs</a>. + */ + public Builder numWorkers(long numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = Optional.ofNullable(numWorkers); + return this; + } + + /** + * The number of worker threads to use for the sync. The performance upper boundary is based on the limit of your Zendesk Support plan. More info about the rate limit plan tiers can be found on Zendesk's API <a href="https://developer.zendesk.com/api-reference/introduction/rate-limits/#zendesk-support-plan-limits">docs</a>. + */ + public Builder numWorkers(Optional numWorkers) { + Utils.checkNotNull(numWorkers, "numWorkers"); + this.numWorkers = numWorkers; + return this; + } + /** * The UTC date and time from which you'd like to replicate data, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. */ @@ -222,7 +280,7 @@ public Builder startDate(OffsetDateTime startDate) { /** * The UTC date and time from which you'd like to replicate data, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. */ - public Builder startDate(Optional startDate) { + public Builder startDate(Optional startDate) { Utils.checkNotNull(startDate, "startDate"); this.startDate = startDate; return this; @@ -238,12 +296,21 @@ public Builder subdomain(String subdomain) { } public SourceZendeskSupport build() { - return new SourceZendeskSupport( + if (numWorkers == null) { + numWorkers = _SINGLETON_VALUE_NumWorkers.value(); + } return new SourceZendeskSupport( credentials, + numWorkers, startDate, subdomain); } + private static final LazySingletonValue> _SINGLETON_VALUE_NumWorkers = + new LazySingletonValue<>( + "num_workers", + "3", + new TypeReference>() {}); + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( "sourceType", diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAPIToken.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAPIToken.java new file mode 100644 index 000000000..0f29d5e80 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAPIToken.java @@ -0,0 +1,218 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZendeskSupportAPIToken { + + @JsonIgnore + private Map additionalProperties; + + /** + * The value of the API token generated. See our <a href="https://docs.airbyte.com/integrations/sources/zendesk-support#setup-guide">full documentation</a> for more information on generating this token. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + private Optional credentials; + + /** + * The user email for your Zendesk account. + */ + @JsonProperty("email") + private String email; + + @JsonCreator + public SourceZendeskSupportAPIToken( + @JsonProperty("api_token") String apiToken, + @JsonProperty("email") String email) { + Utils.checkNotNull(apiToken, "apiToken"); + Utils.checkNotNull(email, "email"); + this.additionalProperties = new HashMap<>(); + this.apiToken = apiToken; + this.credentials = Builder._SINGLETON_VALUE_Credentials.value(); + this.email = email; + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * The value of the API token generated. See our <a href="https://docs.airbyte.com/integrations/sources/zendesk-support#setup-guide">full documentation</a> for more information on generating this token. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional credentials() { + return (Optional) credentials; + } + + /** + * The user email for your Zendesk account. + */ + @JsonIgnore + public String email() { + return email; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourceZendeskSupportAPIToken withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourceZendeskSupportAPIToken withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The value of the API token generated. See our <a href="https://docs.airbyte.com/integrations/sources/zendesk-support#setup-guide">full documentation</a> for more information on generating this token. + */ + public SourceZendeskSupportAPIToken withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * The user email for your Zendesk account. + */ + public SourceZendeskSupportAPIToken withEmail(String email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZendeskSupportAPIToken other = (SourceZendeskSupportAPIToken) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.email, other.email); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + apiToken, + credentials, + email); + } + + @Override + public String toString() { + return Utils.toString(SourceZendeskSupportAPIToken.class, + "additionalProperties", additionalProperties, + "apiToken", apiToken, + "credentials", credentials, + "email", email); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String apiToken; + + private String email; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The value of the API token generated. See our <a href="https://docs.airbyte.com/integrations/sources/zendesk-support#setup-guide">full documentation</a> for more information on generating this token. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * The user email for your Zendesk account. + */ + public Builder email(String email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + public SourceZendeskSupportAPIToken build() { + return new SourceZendeskSupportAPIToken( + apiToken, + email) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Credentials = + new LazySingletonValue<>( + "credentials", + "\"api_token\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAuthentication.java new file mode 100644 index 000000000..d7ed197cf --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportAuthentication.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceZendeskSupportAuthentication - Zendesk allows two authentication methods. We recommend using `OAuth2.0` for Airbyte Cloud users and `API token` for Airbyte Open Source users. + */ + +@JsonDeserialize(using = SourceZendeskSupportAuthentication._Deserializer.class) +public class SourceZendeskSupportAuthentication { + + @JsonValue + private TypedObject value; + + private SourceZendeskSupportAuthentication(TypedObject value) { + this.value = value; + } + + public static SourceZendeskSupportAuthentication of(SourceZendeskSupportOAuth20 value) { + Utils.checkNotNull(value, "value"); + return new SourceZendeskSupportAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceZendeskSupportAuthentication of(SourceZendeskSupportAPIToken value) { + Utils.checkNotNull(value, "value"); + return new SourceZendeskSupportAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.SourceZendeskSupportOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskSupportAPIToken}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZendeskSupportAuthentication other = (SourceZendeskSupportAuthentication) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceZendeskSupportAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceZendeskSupportAuthentication.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportCredentials.java new file mode 100644 index 000000000..894bb2bcc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportCredentials.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceZendeskSupportCredentials { + OAUTH20("oauth2.0"); + + @JsonValue + private final String value; + + private SourceZendeskSupportCredentials(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportOAuth20.java new file mode 100644 index 000000000..c48bcdfe4 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportOAuth20.java @@ -0,0 +1,302 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZendeskSupportOAuth20 { + + @JsonIgnore + private Map additionalProperties; + + /** + * The OAuth access token. See the <a href="https://developer.zendesk.com/documentation/ticketing/working-with-oauth/creating-and-using-oauth-tokens-with-the-api/">Zendesk docs</a> for more information on generating this token. + */ + @JsonProperty("access_token") + private String accessToken; + + /** + * The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + private Optional clientId; + + /** + * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + private Optional clientSecret; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("credentials") + private Optional credentials; + + @JsonCreator + public SourceZendeskSupportOAuth20( + @JsonProperty("access_token") String accessToken, + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.additionalProperties = new HashMap<>(); + this.accessToken = accessToken; + this.clientId = clientId; + this.clientSecret = clientSecret; + this.credentials = Builder._SINGLETON_VALUE_Credentials.value(); + } + + public SourceZendeskSupportOAuth20( + String accessToken) { + this(accessToken, Optional.empty(), Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * The OAuth access token. See the <a href="https://developer.zendesk.com/documentation/ticketing/working-with-oauth/creating-and-using-oauth-tokens-with-the-api/">Zendesk docs</a> for more information on generating this token. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + /** + * The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + @JsonIgnore + public Optional clientId() { + return clientId; + } + + /** + * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + @JsonIgnore + public Optional clientSecret() { + return clientSecret; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional credentials() { + return (Optional) credentials; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourceZendeskSupportOAuth20 withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourceZendeskSupportOAuth20 withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The OAuth access token. See the <a href="https://developer.zendesk.com/documentation/ticketing/working-with-oauth/creating-and-using-oauth-tokens-with-the-api/">Zendesk docs</a> for more information on generating this token. + */ + public SourceZendeskSupportOAuth20 withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + public SourceZendeskSupportOAuth20 withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = Optional.ofNullable(clientId); + return this; + } + + /** + * The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + public SourceZendeskSupportOAuth20 withClientId(Optional clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + public SourceZendeskSupportOAuth20 withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = Optional.ofNullable(clientSecret); + return this; + } + + /** + * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + public SourceZendeskSupportOAuth20 withClientSecret(Optional clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZendeskSupportOAuth20 other = (SourceZendeskSupportOAuth20) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.credentials, other.credentials); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + accessToken, + clientId, + clientSecret, + credentials); + } + + @Override + public String toString() { + return Utils.toString(SourceZendeskSupportOAuth20.class, + "additionalProperties", additionalProperties, + "accessToken", accessToken, + "clientId", clientId, + "clientSecret", clientSecret, + "credentials", credentials); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String accessToken; + + private Optional clientId = Optional.empty(); + + private Optional clientSecret = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The OAuth access token. See the <a href="https://developer.zendesk.com/documentation/ticketing/working-with-oauth/creating-and-using-oauth-tokens-with-the-api/">Zendesk docs</a> for more information on generating this token. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = Optional.ofNullable(clientId); + return this; + } + + /** + * The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + public Builder clientId(Optional clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = Optional.ofNullable(clientSecret); + return this; + } + + /** + * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. + */ + public Builder clientSecret(Optional clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceZendeskSupportOAuth20 build() { + return new SourceZendeskSupportOAuth20( + accessToken, + clientId, + clientSecret) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Credentials = + new LazySingletonValue<>( + "credentials", + "\"oauth2.0\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportSchemasCredentials.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportSchemasCredentials.java new file mode 100644 index 000000000..e2415af51 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportSchemasCredentials.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceZendeskSupportSchemasCredentials { + API_TOKEN("api_token"); + + @JsonValue + private final String value; + + private SourceZendeskSupportSchemasCredentials(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupport.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupport.java index d382f8dde..f67153b9a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupport.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskSupportZendeskSupport.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceZendeskSupportZendeskSupport { ZENDESK_SUPPORT("zendesk-support"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java index 689b7ba14..2d14b2225 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalk.java @@ -1,27 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; + public class SourceZendeskTalk { /** @@ -29,7 +28,7 @@ public class SourceZendeskTalk { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("credentials") - private Optional credentials; + private Optional credentials; @JsonProperty("sourceType") private SourceZendeskTalkZendeskTalk sourceType; @@ -48,7 +47,7 @@ public class SourceZendeskTalk { @JsonCreator public SourceZendeskTalk( - @JsonProperty("credentials") Optional credentials, + @JsonProperty("credentials") Optional credentials, @JsonProperty("start_date") OffsetDateTime startDate, @JsonProperty("subdomain") String subdomain) { Utils.checkNotNull(credentials, "credentials"); @@ -71,8 +70,8 @@ public SourceZendeskTalk( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional credentials() { - return (Optional) credentials; + public Optional credentials() { + return (Optional) credentials; } @JsonIgnore @@ -103,7 +102,7 @@ public final static Builder builder() { /** * Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. */ - public SourceZendeskTalk withCredentials(java.lang.Object credentials) { + public SourceZendeskTalk withCredentials(SourceZendeskTalkAuthentication credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = Optional.ofNullable(credentials); return this; @@ -112,7 +111,7 @@ public SourceZendeskTalk withCredentials(java.lang.Object credentials) { /** * Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. */ - public SourceZendeskTalk withCredentials(Optional credentials) { + public SourceZendeskTalk withCredentials(Optional credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; @@ -146,15 +145,15 @@ public boolean equals(java.lang.Object o) { } SourceZendeskTalk other = (SourceZendeskTalk) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDate, other.startDate) && - java.util.Objects.deepEquals(this.subdomain, other.subdomain); + Objects.deepEquals(this.credentials, other.credentials) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate) && + Objects.deepEquals(this.subdomain, other.subdomain); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials, sourceType, startDate, @@ -172,7 +171,7 @@ public String toString() { public final static class Builder { - private Optional credentials = Optional.empty(); + private Optional credentials = Optional.empty(); private OffsetDateTime startDate; @@ -185,7 +184,7 @@ private Builder() { /** * Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. */ - public Builder credentials(java.lang.Object credentials) { + public Builder credentials(SourceZendeskTalkAuthentication credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = Optional.ofNullable(credentials); return this; @@ -194,7 +193,7 @@ public Builder credentials(java.lang.Object credentials) { /** * Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. */ - public Builder credentials(Optional credentials) { + public Builder credentials(Optional credentials) { Utils.checkNotNull(credentials, "credentials"); this.credentials = credentials; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAPIToken.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAPIToken.java new file mode 100644 index 000000000..3785a9744 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAPIToken.java @@ -0,0 +1,218 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZendeskTalkAPIToken { + + @JsonIgnore + private Map additionalProperties; + + /** + * The value of the API token generated. See the <a href="https://docs.airbyte.com/integrations/sources/zendesk-talk">docs</a> for more information. + */ + @JsonProperty("api_token") + private String apiToken; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * The user email for your Zendesk account. + */ + @JsonProperty("email") + private String email; + + @JsonCreator + public SourceZendeskTalkAPIToken( + @JsonProperty("api_token") String apiToken, + @JsonProperty("email") String email) { + Utils.checkNotNull(apiToken, "apiToken"); + Utils.checkNotNull(email, "email"); + this.additionalProperties = new HashMap<>(); + this.apiToken = apiToken; + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.email = email; + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * The value of the API token generated. See the <a href="https://docs.airbyte.com/integrations/sources/zendesk-talk">docs</a> for more information. + */ + @JsonIgnore + public String apiToken() { + return apiToken; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * The user email for your Zendesk account. + */ + @JsonIgnore + public String email() { + return email; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourceZendeskTalkAPIToken withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourceZendeskTalkAPIToken withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The value of the API token generated. See the <a href="https://docs.airbyte.com/integrations/sources/zendesk-talk">docs</a> for more information. + */ + public SourceZendeskTalkAPIToken withApiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * The user email for your Zendesk account. + */ + public SourceZendeskTalkAPIToken withEmail(String email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZendeskTalkAPIToken other = (SourceZendeskTalkAPIToken) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.email, other.email); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + apiToken, + authType, + email); + } + + @Override + public String toString() { + return Utils.toString(SourceZendeskTalkAPIToken.class, + "additionalProperties", additionalProperties, + "apiToken", apiToken, + "authType", authType, + "email", email); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String apiToken; + + private String email; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The value of the API token generated. See the <a href="https://docs.airbyte.com/integrations/sources/zendesk-talk">docs</a> for more information. + */ + public Builder apiToken(String apiToken) { + Utils.checkNotNull(apiToken, "apiToken"); + this.apiToken = apiToken; + return this; + } + + /** + * The user email for your Zendesk account. + */ + public Builder email(String email) { + Utils.checkNotNull(email, "email"); + this.email = email; + return this; + } + + public SourceZendeskTalkAPIToken build() { + return new SourceZendeskTalkAPIToken( + apiToken, + email) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"api_token\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthType.java new file mode 100644 index 000000000..14c10da8c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceZendeskTalkAuthType { + OAUTH20("oauth2.0"); + + @JsonValue + private final String value; + + private SourceZendeskTalkAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthentication.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthentication.java new file mode 100644 index 000000000..40632c257 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkAuthentication.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * SourceZendeskTalkAuthentication - Zendesk service provides two authentication methods. Choose between: `OAuth2.0` or `API token`. + */ + +@JsonDeserialize(using = SourceZendeskTalkAuthentication._Deserializer.class) +public class SourceZendeskTalkAuthentication { + + @JsonValue + private TypedObject value; + + private SourceZendeskTalkAuthentication(TypedObject value) { + this.value = value; + } + + public static SourceZendeskTalkAuthentication of(SourceZendeskTalkOAuth20 value) { + Utils.checkNotNull(value, "value"); + return new SourceZendeskTalkAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static SourceZendeskTalkAuthentication of(SourceZendeskTalkAPIToken value) { + Utils.checkNotNull(value, "value"); + return new SourceZendeskTalkAuthentication(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *
      + *
    • {@code com.airbyte.api.models.shared.SourceZendeskTalkOAuth20}
    • + *
    • {@code com.airbyte.api.models.shared.SourceZendeskTalkAPIToken}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZendeskTalkAuthentication other = (SourceZendeskTalkAuthentication) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(SourceZendeskTalkAuthentication.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(SourceZendeskTalkAuthentication.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkOAuth20.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkOAuth20.java new file mode 100644 index 000000000..f546efb91 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkOAuth20.java @@ -0,0 +1,302 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZendeskTalkOAuth20 { + + @JsonIgnore + private Map additionalProperties; + + /** + * The value of the API token generated. See the <a href="https://docs.airbyte.com/integrations/sources/zendesk-talk">docs</a> for more information. + */ + @JsonProperty("access_token") + private String accessToken; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("auth_type") + private Optional authType; + + /** + * Client ID + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_id") + private Optional clientId; + + /** + * Client Secret + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("client_secret") + private Optional clientSecret; + + @JsonCreator + public SourceZendeskTalkOAuth20( + @JsonProperty("access_token") String accessToken, + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { + Utils.checkNotNull(accessToken, "accessToken"); + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + this.additionalProperties = new HashMap<>(); + this.accessToken = accessToken; + this.authType = Builder._SINGLETON_VALUE_AuthType.value(); + this.clientId = clientId; + this.clientSecret = clientSecret; + } + + public SourceZendeskTalkOAuth20( + String accessToken) { + this(accessToken, Optional.empty(), Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * The value of the API token generated. See the <a href="https://docs.airbyte.com/integrations/sources/zendesk-talk">docs</a> for more information. + */ + @JsonIgnore + public String accessToken() { + return accessToken; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional authType() { + return (Optional) authType; + } + + /** + * Client ID + */ + @JsonIgnore + public Optional clientId() { + return clientId; + } + + /** + * Client Secret + */ + @JsonIgnore + public Optional clientSecret() { + return clientSecret; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public SourceZendeskTalkOAuth20 withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public SourceZendeskTalkOAuth20 withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The value of the API token generated. See the <a href="https://docs.airbyte.com/integrations/sources/zendesk-talk">docs</a> for more information. + */ + public SourceZendeskTalkOAuth20 withAccessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Client ID + */ + public SourceZendeskTalkOAuth20 withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = Optional.ofNullable(clientId); + return this; + } + + /** + * Client ID + */ + public SourceZendeskTalkOAuth20 withClientId(Optional clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret + */ + public SourceZendeskTalkOAuth20 withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = Optional.ofNullable(clientSecret); + return this; + } + + /** + * Client Secret + */ + public SourceZendeskTalkOAuth20 withClientSecret(Optional clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZendeskTalkOAuth20 other = (SourceZendeskTalkOAuth20) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + accessToken, + authType, + clientId, + clientSecret); + } + + @Override + public String toString() { + return Utils.toString(SourceZendeskTalkOAuth20.class, + "additionalProperties", additionalProperties, + "accessToken", accessToken, + "authType", authType, + "clientId", clientId, + "clientSecret", clientSecret); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private String accessToken; + + private Optional clientId = Optional.empty(); + + private Optional clientSecret = Optional.empty(); + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The value of the API token generated. See the <a href="https://docs.airbyte.com/integrations/sources/zendesk-talk">docs</a> for more information. + */ + public Builder accessToken(String accessToken) { + Utils.checkNotNull(accessToken, "accessToken"); + this.accessToken = accessToken; + return this; + } + + /** + * Client ID + */ + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = Optional.ofNullable(clientId); + return this; + } + + /** + * Client ID + */ + public Builder clientId(Optional clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + /** + * Client Secret + */ + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = Optional.ofNullable(clientSecret); + return this; + } + + /** + * Client Secret + */ + public Builder clientSecret(Optional clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceZendeskTalkOAuth20 build() { + return new SourceZendeskTalkOAuth20( + accessToken, + clientId, + clientSecret) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_AuthType = + new LazySingletonValue<>( + "auth_type", + "\"oauth2.0\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkSchemasAuthType.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkSchemasAuthType.java new file mode 100644 index 000000000..671e0f48b --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkSchemasAuthType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceZendeskTalkSchemasAuthType { + API_TOKEN("api_token"); + + @JsonValue + private final String value; + + private SourceZendeskTalkSchemasAuthType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalk.java b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalk.java index 928bb7172..951aab29f 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalk.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZendeskTalkZendeskTalk.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SourceZendeskTalkZendeskTalk { ZENDESK_TALK("zendesk-talk"); diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZenefits.java b/src/main/java/com/airbyte/api/models/shared/SourceZenefits.java new file mode 100644 index 000000000..bef71a186 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZenefits.java @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceZenefits { + + @JsonProperty("sourceType") + private Zenefits sourceType; + + /** + * Use Sync with Zenefits button on the link given on the readme file, and get the token to access the api + */ + @JsonProperty("token") + private String token; + + @JsonCreator + public SourceZenefits( + @JsonProperty("token") String token) { + Utils.checkNotNull(token, "token"); + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.token = token; + } + + @JsonIgnore + public Zenefits sourceType() { + return sourceType; + } + + /** + * Use Sync with Zenefits button on the link given on the readme file, and get the token to access the api + */ + @JsonIgnore + public String token() { + return token; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Use Sync with Zenefits button on the link given on the readme file, and get the token to access the api + */ + public SourceZenefits withToken(String token) { + Utils.checkNotNull(token, "token"); + this.token = token; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZenefits other = (SourceZenefits) o; + return + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.token, other.token); + } + + @Override + public int hashCode() { + return Objects.hash( + sourceType, + token); + } + + @Override + public String toString() { + return Utils.toString(SourceZenefits.class, + "sourceType", sourceType, + "token", token); + } + + public final static class Builder { + + private String token; + + private Builder() { + // force use of static builder() method + } + + /** + * Use Sync with Zenefits button on the link given on the readme file, and get the token to access the api + */ + public Builder token(String token) { + Utils.checkNotNull(token, "token"); + this.token = token; + return this; + } + + public SourceZenefits build() { + return new SourceZenefits( + token); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zenefits\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZenloop.java b/src/main/java/com/airbyte/api/models/shared/SourceZenloop.java index a91a71f24..a8eaaffd8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZenloop.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZenloop.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceZenloop { /** @@ -32,7 +32,7 @@ public class SourceZenloop { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("date_from") - private Optional dateFrom; + private Optional dateFrom; @JsonProperty("sourceType") private Zenloop sourceType; @@ -42,21 +42,21 @@ public class SourceZenloop { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("survey_group_id") - private Optional surveyGroupId; + private Optional surveyGroupId; /** * Zenloop Survey ID. Can be found <a href="https://app.zenloop.com/settings/api">here</a>. Leave empty to pull answers from all surveys */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("survey_id") - private Optional surveyId; + private Optional surveyId; @JsonCreator public SourceZenloop( @JsonProperty("api_token") String apiToken, - @JsonProperty("date_from") Optional dateFrom, - @JsonProperty("survey_group_id") Optional surveyGroupId, - @JsonProperty("survey_id") Optional surveyId) { + @JsonProperty("date_from") Optional dateFrom, + @JsonProperty("survey_group_id") Optional surveyGroupId, + @JsonProperty("survey_id") Optional surveyId) { Utils.checkNotNull(apiToken, "apiToken"); Utils.checkNotNull(dateFrom, "dateFrom"); Utils.checkNotNull(surveyGroupId, "surveyGroupId"); @@ -84,10 +84,9 @@ public String apiToken() { /** * Zenloop date_from. Format: 2021-10-24T03:30:30Z or 2021-10-24. Leave empty if only data from current data should be synced */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional dateFrom() { - return (Optional) dateFrom; + return dateFrom; } @JsonIgnore @@ -98,19 +97,17 @@ public Zenloop sourceType() { /** * Zenloop Survey Group ID. Can be found by pulling All Survey Groups via SurveyGroups stream. Leave empty to pull answers from all survey groups */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional surveyGroupId() { - return (Optional) surveyGroupId; + return surveyGroupId; } /** * Zenloop Survey ID. Can be found <a href="https://app.zenloop.com/settings/api">here</a>. Leave empty to pull answers from all surveys */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional surveyId() { - return (Optional) surveyId; + return surveyId; } public final static Builder builder() { @@ -138,7 +135,7 @@ public SourceZenloop withDateFrom(String dateFrom) { /** * Zenloop date_from. Format: 2021-10-24T03:30:30Z or 2021-10-24. Leave empty if only data from current data should be synced */ - public SourceZenloop withDateFrom(Optional dateFrom) { + public SourceZenloop withDateFrom(Optional dateFrom) { Utils.checkNotNull(dateFrom, "dateFrom"); this.dateFrom = dateFrom; return this; @@ -156,7 +153,7 @@ public SourceZenloop withSurveyGroupId(String surveyGroupId) { /** * Zenloop Survey Group ID. Can be found by pulling All Survey Groups via SurveyGroups stream. Leave empty to pull answers from all survey groups */ - public SourceZenloop withSurveyGroupId(Optional surveyGroupId) { + public SourceZenloop withSurveyGroupId(Optional surveyGroupId) { Utils.checkNotNull(surveyGroupId, "surveyGroupId"); this.surveyGroupId = surveyGroupId; return this; @@ -174,7 +171,7 @@ public SourceZenloop withSurveyId(String surveyId) { /** * Zenloop Survey ID. Can be found <a href="https://app.zenloop.com/settings/api">here</a>. Leave empty to pull answers from all surveys */ - public SourceZenloop withSurveyId(Optional surveyId) { + public SourceZenloop withSurveyId(Optional surveyId) { Utils.checkNotNull(surveyId, "surveyId"); this.surveyId = surveyId; return this; @@ -190,16 +187,16 @@ public boolean equals(java.lang.Object o) { } SourceZenloop other = (SourceZenloop) o; return - java.util.Objects.deepEquals(this.apiToken, other.apiToken) && - java.util.Objects.deepEquals(this.dateFrom, other.dateFrom) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.surveyGroupId, other.surveyGroupId) && - java.util.Objects.deepEquals(this.surveyId, other.surveyId); + Objects.deepEquals(this.apiToken, other.apiToken) && + Objects.deepEquals(this.dateFrom, other.dateFrom) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.surveyGroupId, other.surveyGroupId) && + Objects.deepEquals(this.surveyId, other.surveyId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiToken, dateFrom, sourceType, @@ -221,11 +218,11 @@ public final static class Builder { private String apiToken; - private Optional dateFrom = Optional.empty(); + private Optional dateFrom = Optional.empty(); - private Optional surveyGroupId = Optional.empty(); + private Optional surveyGroupId = Optional.empty(); - private Optional surveyId = Optional.empty(); + private Optional surveyId = Optional.empty(); private Builder() { // force use of static builder() method @@ -252,7 +249,7 @@ public Builder dateFrom(String dateFrom) { /** * Zenloop date_from. Format: 2021-10-24T03:30:30Z or 2021-10-24. Leave empty if only data from current data should be synced */ - public Builder dateFrom(Optional dateFrom) { + public Builder dateFrom(Optional dateFrom) { Utils.checkNotNull(dateFrom, "dateFrom"); this.dateFrom = dateFrom; return this; @@ -270,7 +267,7 @@ public Builder surveyGroupId(String surveyGroupId) { /** * Zenloop Survey Group ID. Can be found by pulling All Survey Groups via SurveyGroups stream. Leave empty to pull answers from all survey groups */ - public Builder surveyGroupId(Optional surveyGroupId) { + public Builder surveyGroupId(Optional surveyGroupId) { Utils.checkNotNull(surveyGroupId, "surveyGroupId"); this.surveyGroupId = surveyGroupId; return this; @@ -288,7 +285,7 @@ public Builder surveyId(String surveyId) { /** * Zenloop Survey ID. Can be found <a href="https://app.zenloop.com/settings/api">here</a>. Leave empty to pull answers from all surveys */ - public Builder surveyId(Optional surveyId) { + public Builder surveyId(Optional surveyId) { Utils.checkNotNull(surveyId, "surveyId"); this.surveyId = surveyId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApi.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApi.java new file mode 100644 index 000000000..f905a8d2f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApi.java @@ -0,0 +1,260 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Double; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZohoAnalyticsMetadataApi { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("data_center") + private Optional dataCenter; + + @JsonProperty("org_id") + private double orgId; + + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonProperty("sourceType") + private ZohoAnalyticsMetadataApi sourceType; + + @JsonCreator + public SourceZohoAnalyticsMetadataApi( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("data_center") Optional dataCenter, + @JsonProperty("org_id") double orgId, + @JsonProperty("refresh_token") String refreshToken) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(dataCenter, "dataCenter"); + Utils.checkNotNull(orgId, "orgId"); + Utils.checkNotNull(refreshToken, "refreshToken"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.dataCenter = dataCenter; + this.orgId = orgId; + this.refreshToken = refreshToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceZohoAnalyticsMetadataApi( + String clientId, + String clientSecret, + double orgId, + String refreshToken) { + this(clientId, clientSecret, Optional.empty(), orgId, refreshToken); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional dataCenter() { + return (Optional) dataCenter; + } + + @JsonIgnore + public double orgId() { + return orgId; + } + + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + @JsonIgnore + public ZohoAnalyticsMetadataApi sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceZohoAnalyticsMetadataApi withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceZohoAnalyticsMetadataApi withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceZohoAnalyticsMetadataApi withDataCenter(SourceZohoAnalyticsMetadataApiDataCenter dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = Optional.ofNullable(dataCenter); + return this; + } + + public SourceZohoAnalyticsMetadataApi withDataCenter(Optional dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = dataCenter; + return this; + } + + public SourceZohoAnalyticsMetadataApi withOrgId(double orgId) { + Utils.checkNotNull(orgId, "orgId"); + this.orgId = orgId; + return this; + } + + public SourceZohoAnalyticsMetadataApi withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZohoAnalyticsMetadataApi other = (SourceZohoAnalyticsMetadataApi) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.dataCenter, other.dataCenter) && + Objects.deepEquals(this.orgId, other.orgId) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + dataCenter, + orgId, + refreshToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceZohoAnalyticsMetadataApi.class, + "clientId", clientId, + "clientSecret", clientSecret, + "dataCenter", dataCenter, + "orgId", orgId, + "refreshToken", refreshToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Optional dataCenter; + + private Double orgId; + + private String refreshToken; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder dataCenter(SourceZohoAnalyticsMetadataApiDataCenter dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = Optional.ofNullable(dataCenter); + return this; + } + + public Builder dataCenter(Optional dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = dataCenter; + return this; + } + + public Builder orgId(double orgId) { + Utils.checkNotNull(orgId, "orgId"); + this.orgId = orgId; + return this; + } + + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public SourceZohoAnalyticsMetadataApi build() { + if (dataCenter == null) { + dataCenter = _SINGLETON_VALUE_DataCenter.value(); + } return new SourceZohoAnalyticsMetadataApi( + clientId, + clientSecret, + dataCenter, + orgId, + refreshToken); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DataCenter = + new LazySingletonValue<>( + "data_center", + "\"com\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zoho-analytics-metadata-api\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.java new file mode 100644 index 000000000..8a97ab7eb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoAnalyticsMetadataApiDataCenter.java @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceZohoAnalyticsMetadataApiDataCenter { + COM("com"), + EU("eu"), + IN("in"), + COM_AU("com.au"), + COM_CN("com.cn"), + JP("jp"); + + @JsonValue + private final String value; + + private SourceZohoAnalyticsMetadataApiDataCenter(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoBigin.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoBigin.java new file mode 100644 index 000000000..d4f3e2107 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoBigin.java @@ -0,0 +1,277 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZohoBigin { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token") + private String clientRefreshToken; + + @JsonProperty("client_secret") + private String clientSecret; + + /** + * The data center where the Bigin account's resources are hosted + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("data_center") + private Optional dataCenter; + + @JsonProperty("module_name") + private String moduleName; + + @JsonProperty("sourceType") + private ZohoBigin sourceType; + + @JsonCreator + public SourceZohoBigin( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token") String clientRefreshToken, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("data_center") Optional dataCenter, + @JsonProperty("module_name") String moduleName) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(dataCenter, "dataCenter"); + Utils.checkNotNull(moduleName, "moduleName"); + this.clientId = clientId; + this.clientRefreshToken = clientRefreshToken; + this.clientSecret = clientSecret; + this.dataCenter = dataCenter; + this.moduleName = moduleName; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceZohoBigin( + String clientId, + String clientRefreshToken, + String clientSecret, + String moduleName) { + this(clientId, clientRefreshToken, clientSecret, Optional.empty(), moduleName); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken() { + return clientRefreshToken; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * The data center where the Bigin account's resources are hosted + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional dataCenter() { + return (Optional) dataCenter; + } + + @JsonIgnore + public String moduleName() { + return moduleName; + } + + @JsonIgnore + public ZohoBigin sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceZohoBigin withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceZohoBigin withClientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public SourceZohoBigin withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The data center where the Bigin account's resources are hosted + */ + public SourceZohoBigin withDataCenter(SourceZohoBiginDataCenter dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = Optional.ofNullable(dataCenter); + return this; + } + + /** + * The data center where the Bigin account's resources are hosted + */ + public SourceZohoBigin withDataCenter(Optional dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = dataCenter; + return this; + } + + public SourceZohoBigin withModuleName(String moduleName) { + Utils.checkNotNull(moduleName, "moduleName"); + this.moduleName = moduleName; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZohoBigin other = (SourceZohoBigin) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken, other.clientRefreshToken) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.dataCenter, other.dataCenter) && + Objects.deepEquals(this.moduleName, other.moduleName) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientRefreshToken, + clientSecret, + dataCenter, + moduleName, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceZohoBigin.class, + "clientId", clientId, + "clientRefreshToken", clientRefreshToken, + "clientSecret", clientSecret, + "dataCenter", dataCenter, + "moduleName", moduleName, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientRefreshToken; + + private String clientSecret; + + private Optional dataCenter; + + private String moduleName; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The data center where the Bigin account's resources are hosted + */ + public Builder dataCenter(SourceZohoBiginDataCenter dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = Optional.ofNullable(dataCenter); + return this; + } + + /** + * The data center where the Bigin account's resources are hosted + */ + public Builder dataCenter(Optional dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = dataCenter; + return this; + } + + public Builder moduleName(String moduleName) { + Utils.checkNotNull(moduleName, "moduleName"); + this.moduleName = moduleName; + return this; + } + + public SourceZohoBigin build() { + if (dataCenter == null) { + dataCenter = _SINGLETON_VALUE_DataCenter.value(); + } return new SourceZohoBigin( + clientId, + clientRefreshToken, + clientSecret, + dataCenter, + moduleName); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DataCenter = + new LazySingletonValue<>( + "data_center", + "\"com\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zoho-bigin\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoBiginDataCenter.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoBiginDataCenter.java new file mode 100644 index 000000000..016712077 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoBiginDataCenter.java @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceZohoBiginDataCenter - The data center where the Bigin account's resources are hosted + */ +public enum SourceZohoBiginDataCenter { + COM("com"), + COM_AU("com.au"), + EU("eu"), + IN("in"), + COM_CN("com.cn"), + JP("jp"); + + @JsonValue + private final String value; + + private SourceZohoBiginDataCenter(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoBilling.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoBilling.java new file mode 100644 index 000000000..367db8422 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoBilling.java @@ -0,0 +1,196 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceZohoBilling { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonProperty("region") + private SourceZohoBillingRegion region; + + @JsonProperty("sourceType") + private ZohoBilling sourceType; + + @JsonCreator + public SourceZohoBilling( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("refresh_token") String refreshToken, + @JsonProperty("region") SourceZohoBillingRegion region) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(refreshToken, "refreshToken"); + Utils.checkNotNull(region, "region"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.refreshToken = refreshToken; + this.region = region; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + @JsonIgnore + public SourceZohoBillingRegion region() { + return region; + } + + @JsonIgnore + public ZohoBilling sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceZohoBilling withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceZohoBilling withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceZohoBilling withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public SourceZohoBilling withRegion(SourceZohoBillingRegion region) { + Utils.checkNotNull(region, "region"); + this.region = region; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZohoBilling other = (SourceZohoBilling) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + refreshToken, + region, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceZohoBilling.class, + "clientId", clientId, + "clientSecret", clientSecret, + "refreshToken", refreshToken, + "region", region, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private String refreshToken; + + private SourceZohoBillingRegion region; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public Builder region(SourceZohoBillingRegion region) { + Utils.checkNotNull(region, "region"); + this.region = region; + return this; + } + + public SourceZohoBilling build() { + return new SourceZohoBilling( + clientId, + clientSecret, + refreshToken, + region); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zoho-billing\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoBillingRegion.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoBillingRegion.java new file mode 100644 index 000000000..160ae94f8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoBillingRegion.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceZohoBillingRegion { + COM("com"), + EU("eu"), + IN("in"), + COM_CN("com.cn"), + COM_AU("com.au"), + JP("jp"), + SA("sa"), + CA("ca"); + + @JsonValue + private final String value; + + private SourceZohoBillingRegion(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoBooks.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoBooks.java new file mode 100644 index 000000000..8c8222b89 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoBooks.java @@ -0,0 +1,238 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.time.OffsetDateTime; +import java.util.Objects; + + +public class SourceZohoBooks { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonProperty("refresh_token") + private String refreshToken; + + /** + * The region code for the Zoho Books API, such as 'com', 'eu', 'in', etc. + */ + @JsonProperty("region") + private SourceZohoBooksRegion region; + + @JsonProperty("sourceType") + private ZohoBooks sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceZohoBooks( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("refresh_token") String refreshToken, + @JsonProperty("region") SourceZohoBooksRegion region, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(refreshToken, "refreshToken"); + Utils.checkNotNull(region, "region"); + Utils.checkNotNull(startDate, "startDate"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.refreshToken = refreshToken; + this.region = region; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + /** + * The region code for the Zoho Books API, such as 'com', 'eu', 'in', etc. + */ + @JsonIgnore + public SourceZohoBooksRegion region() { + return region; + } + + @JsonIgnore + public ZohoBooks sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceZohoBooks withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceZohoBooks withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceZohoBooks withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + /** + * The region code for the Zoho Books API, such as 'com', 'eu', 'in', etc. + */ + public SourceZohoBooks withRegion(SourceZohoBooksRegion region) { + Utils.checkNotNull(region, "region"); + this.region = region; + return this; + } + + public SourceZohoBooks withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZohoBooks other = (SourceZohoBooks) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + refreshToken, + region, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceZohoBooks.class, + "clientId", clientId, + "clientSecret", clientSecret, + "refreshToken", refreshToken, + "region", region, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private String refreshToken; + + private SourceZohoBooksRegion region; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + /** + * The region code for the Zoho Books API, such as 'com', 'eu', 'in', etc. + */ + public Builder region(SourceZohoBooksRegion region) { + Utils.checkNotNull(region, "region"); + this.region = region; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceZohoBooks build() { + return new SourceZohoBooks( + clientId, + clientSecret, + refreshToken, + region, + startDate); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zoho-books\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoBooksRegion.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoBooksRegion.java new file mode 100644 index 000000000..af8c6f4f7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoBooksRegion.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceZohoBooksRegion - The region code for the Zoho Books API, such as 'com', 'eu', 'in', etc. + */ +public enum SourceZohoBooksRegion { + COM("com"), + EU("eu"), + IN("in"), + COM_CN("com.cn"), + COM_AU("com.au"), + JP("jp"), + SA("sa"), + CA("ca"); + + @JsonValue + private final String value; + + private SourceZohoBooksRegion(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoCampaign.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoCampaign.java new file mode 100644 index 000000000..ad456f4bc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoCampaign.java @@ -0,0 +1,196 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceZohoCampaign { + + @JsonProperty("client_id_2") + private String clientId2; + + @JsonProperty("client_refresh_token") + private String clientRefreshToken; + + @JsonProperty("client_secret_2") + private String clientSecret2; + + @JsonProperty("data_center") + private SourceZohoCampaignDataCenter dataCenter; + + @JsonProperty("sourceType") + private ZohoCampaign sourceType; + + @JsonCreator + public SourceZohoCampaign( + @JsonProperty("client_id_2") String clientId2, + @JsonProperty("client_refresh_token") String clientRefreshToken, + @JsonProperty("client_secret_2") String clientSecret2, + @JsonProperty("data_center") SourceZohoCampaignDataCenter dataCenter) { + Utils.checkNotNull(clientId2, "clientId2"); + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + Utils.checkNotNull(clientSecret2, "clientSecret2"); + Utils.checkNotNull(dataCenter, "dataCenter"); + this.clientId2 = clientId2; + this.clientRefreshToken = clientRefreshToken; + this.clientSecret2 = clientSecret2; + this.dataCenter = dataCenter; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + @JsonIgnore + public String clientId2() { + return clientId2; + } + + @JsonIgnore + public String clientRefreshToken() { + return clientRefreshToken; + } + + @JsonIgnore + public String clientSecret2() { + return clientSecret2; + } + + @JsonIgnore + public SourceZohoCampaignDataCenter dataCenter() { + return dataCenter; + } + + @JsonIgnore + public ZohoCampaign sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceZohoCampaign withClientId2(String clientId2) { + Utils.checkNotNull(clientId2, "clientId2"); + this.clientId2 = clientId2; + return this; + } + + public SourceZohoCampaign withClientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public SourceZohoCampaign withClientSecret2(String clientSecret2) { + Utils.checkNotNull(clientSecret2, "clientSecret2"); + this.clientSecret2 = clientSecret2; + return this; + } + + public SourceZohoCampaign withDataCenter(SourceZohoCampaignDataCenter dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = dataCenter; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZohoCampaign other = (SourceZohoCampaign) o; + return + Objects.deepEquals(this.clientId2, other.clientId2) && + Objects.deepEquals(this.clientRefreshToken, other.clientRefreshToken) && + Objects.deepEquals(this.clientSecret2, other.clientSecret2) && + Objects.deepEquals(this.dataCenter, other.dataCenter) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId2, + clientRefreshToken, + clientSecret2, + dataCenter, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceZohoCampaign.class, + "clientId2", clientId2, + "clientRefreshToken", clientRefreshToken, + "clientSecret2", clientSecret2, + "dataCenter", dataCenter, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId2; + + private String clientRefreshToken; + + private String clientSecret2; + + private SourceZohoCampaignDataCenter dataCenter; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId2(String clientId2) { + Utils.checkNotNull(clientId2, "clientId2"); + this.clientId2 = clientId2; + return this; + } + + public Builder clientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public Builder clientSecret2(String clientSecret2) { + Utils.checkNotNull(clientSecret2, "clientSecret2"); + this.clientSecret2 = clientSecret2; + return this; + } + + public Builder dataCenter(SourceZohoCampaignDataCenter dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = dataCenter; + return this; + } + + public SourceZohoCampaign build() { + return new SourceZohoCampaign( + clientId2, + clientRefreshToken, + clientSecret2, + dataCenter); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zoho-campaign\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoCampaignDataCenter.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoCampaignDataCenter.java new file mode 100644 index 000000000..d93cb56cb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoCampaignDataCenter.java @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceZohoCampaignDataCenter { + COM("com"), + EU("eu"), + IN("in"), + COM_AU("com.au"), + DOT_JP(".jp"), + DOT_COM_CN(".com.cn"); + + @JsonValue + private final String value; + + private SourceZohoCampaignDataCenter(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java index 2d2e83154..c0f6d00e6 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoCrm.java @@ -1,28 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; import java.time.OffsetDateTime; +import java.util.Objects; import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; + public class SourceZohoCrm { /** @@ -70,7 +69,7 @@ public class SourceZohoCrm { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("start_datetime") - private JsonNullable startDatetime; + private JsonNullable startDatetime; @JsonCreator public SourceZohoCrm( @@ -80,7 +79,7 @@ public SourceZohoCrm( @JsonProperty("edition") Optional edition, @JsonProperty("environment") SourceZohoCrmEnvironment environment, @JsonProperty("refresh_token") String refreshToken, - @JsonProperty("start_datetime") JsonNullable startDatetime) { + @JsonProperty("start_datetime") JsonNullable startDatetime) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); Utils.checkNotNull(dcRegion, "dcRegion"); @@ -164,10 +163,9 @@ public ZohoCrm sourceType() { /** * ISO 8601, for instance: `YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS+HH:MM` */ - @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable startDatetime() { - return (JsonNullable) startDatetime; + return startDatetime; } public final static Builder builder() { @@ -249,7 +247,7 @@ public SourceZohoCrm withStartDatetime(OffsetDateTime startDatetime) { /** * ISO 8601, for instance: `YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS+HH:MM` */ - public SourceZohoCrm withStartDatetime(JsonNullable startDatetime) { + public SourceZohoCrm withStartDatetime(JsonNullable startDatetime) { Utils.checkNotNull(startDatetime, "startDatetime"); this.startDatetime = startDatetime; return this; @@ -265,19 +263,19 @@ public boolean equals(java.lang.Object o) { } SourceZohoCrm other = (SourceZohoCrm) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.dcRegion, other.dcRegion) && - java.util.Objects.deepEquals(this.edition, other.edition) && - java.util.Objects.deepEquals(this.environment, other.environment) && - java.util.Objects.deepEquals(this.refreshToken, other.refreshToken) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType) && - java.util.Objects.deepEquals(this.startDatetime, other.startDatetime); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.dcRegion, other.dcRegion) && + Objects.deepEquals(this.edition, other.edition) && + Objects.deepEquals(this.environment, other.environment) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDatetime, other.startDatetime); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret, dcRegion, @@ -315,7 +313,7 @@ public final static class Builder { private String refreshToken; - private JsonNullable startDatetime = JsonNullable.undefined(); + private JsonNullable startDatetime = JsonNullable.undefined(); private Builder() { // force use of static builder() method @@ -396,7 +394,7 @@ public Builder startDatetime(OffsetDateTime startDatetime) { /** * ISO 8601, for instance: `YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS+HH:MM` */ - public Builder startDatetime(JsonNullable startDatetime) { + public Builder startDatetime(JsonNullable startDatetime) { Utils.checkNotNull(startDatetime, "startDatetime"); this.startDatetime = startDatetime; return this; @@ -405,8 +403,7 @@ public Builder startDatetime(JsonNullable startDatetim public SourceZohoCrm build() { if (edition == null) { edition = _SINGLETON_VALUE_Edition.value(); - } - return new SourceZohoCrm( + } return new SourceZohoCrm( clientId, clientSecret, dcRegion, diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironment.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironment.java index a0b3ef424..6958d5f9a 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironment.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoCrmEnvironment.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SourceZohoCrmEnvironment - Please choose the environment diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoDesk.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoDesk.java new file mode 100644 index 000000000..16bd6047d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoDesk.java @@ -0,0 +1,250 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZohoDesk { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("include_custom_domain") + private Optional includeCustomDomain; + + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonProperty("sourceType") + private ZohoDesk sourceType; + + @JsonProperty("token_refresh_endpoint") + private String tokenRefreshEndpoint; + + @JsonCreator + public SourceZohoDesk( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("include_custom_domain") Optional includeCustomDomain, + @JsonProperty("refresh_token") String refreshToken, + @JsonProperty("token_refresh_endpoint") String tokenRefreshEndpoint) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(includeCustomDomain, "includeCustomDomain"); + Utils.checkNotNull(refreshToken, "refreshToken"); + Utils.checkNotNull(tokenRefreshEndpoint, "tokenRefreshEndpoint"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.includeCustomDomain = includeCustomDomain; + this.refreshToken = refreshToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.tokenRefreshEndpoint = tokenRefreshEndpoint; + } + + public SourceZohoDesk( + String clientId, + String clientSecret, + String refreshToken, + String tokenRefreshEndpoint) { + this(clientId, clientSecret, Optional.empty(), refreshToken, tokenRefreshEndpoint); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + @JsonIgnore + public Optional includeCustomDomain() { + return includeCustomDomain; + } + + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + @JsonIgnore + public ZohoDesk sourceType() { + return sourceType; + } + + @JsonIgnore + public String tokenRefreshEndpoint() { + return tokenRefreshEndpoint; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceZohoDesk withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceZohoDesk withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public SourceZohoDesk withIncludeCustomDomain(boolean includeCustomDomain) { + Utils.checkNotNull(includeCustomDomain, "includeCustomDomain"); + this.includeCustomDomain = Optional.ofNullable(includeCustomDomain); + return this; + } + + public SourceZohoDesk withIncludeCustomDomain(Optional includeCustomDomain) { + Utils.checkNotNull(includeCustomDomain, "includeCustomDomain"); + this.includeCustomDomain = includeCustomDomain; + return this; + } + + public SourceZohoDesk withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public SourceZohoDesk withTokenRefreshEndpoint(String tokenRefreshEndpoint) { + Utils.checkNotNull(tokenRefreshEndpoint, "tokenRefreshEndpoint"); + this.tokenRefreshEndpoint = tokenRefreshEndpoint; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZohoDesk other = (SourceZohoDesk) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.includeCustomDomain, other.includeCustomDomain) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.tokenRefreshEndpoint, other.tokenRefreshEndpoint); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + includeCustomDomain, + refreshToken, + sourceType, + tokenRefreshEndpoint); + } + + @Override + public String toString() { + return Utils.toString(SourceZohoDesk.class, + "clientId", clientId, + "clientSecret", clientSecret, + "includeCustomDomain", includeCustomDomain, + "refreshToken", refreshToken, + "sourceType", sourceType, + "tokenRefreshEndpoint", tokenRefreshEndpoint); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Optional includeCustomDomain = Optional.empty(); + + private String refreshToken; + + private String tokenRefreshEndpoint; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + public Builder includeCustomDomain(boolean includeCustomDomain) { + Utils.checkNotNull(includeCustomDomain, "includeCustomDomain"); + this.includeCustomDomain = Optional.ofNullable(includeCustomDomain); + return this; + } + + public Builder includeCustomDomain(Optional includeCustomDomain) { + Utils.checkNotNull(includeCustomDomain, "includeCustomDomain"); + this.includeCustomDomain = includeCustomDomain; + return this; + } + + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public Builder tokenRefreshEndpoint(String tokenRefreshEndpoint) { + Utils.checkNotNull(tokenRefreshEndpoint, "tokenRefreshEndpoint"); + this.tokenRefreshEndpoint = tokenRefreshEndpoint; + return this; + } + + public SourceZohoDesk build() { + return new SourceZohoDesk( + clientId, + clientSecret, + includeCustomDomain, + refreshToken, + tokenRefreshEndpoint); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zoho-desk\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoExpense.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoExpense.java new file mode 100644 index 000000000..ba431f6c3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoExpense.java @@ -0,0 +1,247 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZohoExpense { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + /** + * The domain suffix for the Zoho Expense API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("data_center") + private Optional dataCenter; + + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonProperty("sourceType") + private ZohoExpense sourceType; + + @JsonCreator + public SourceZohoExpense( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("data_center") Optional dataCenter, + @JsonProperty("refresh_token") String refreshToken) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(dataCenter, "dataCenter"); + Utils.checkNotNull(refreshToken, "refreshToken"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.dataCenter = dataCenter; + this.refreshToken = refreshToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceZohoExpense( + String clientId, + String clientSecret, + String refreshToken) { + this(clientId, clientSecret, Optional.empty(), refreshToken); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * The domain suffix for the Zoho Expense API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional dataCenter() { + return (Optional) dataCenter; + } + + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + @JsonIgnore + public ZohoExpense sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceZohoExpense withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceZohoExpense withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The domain suffix for the Zoho Expense API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + public SourceZohoExpense withDataCenter(SourceZohoExpenseDataCenter dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = Optional.ofNullable(dataCenter); + return this; + } + + /** + * The domain suffix for the Zoho Expense API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + public SourceZohoExpense withDataCenter(Optional dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = dataCenter; + return this; + } + + public SourceZohoExpense withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZohoExpense other = (SourceZohoExpense) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.dataCenter, other.dataCenter) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + dataCenter, + refreshToken, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceZohoExpense.class, + "clientId", clientId, + "clientSecret", clientSecret, + "dataCenter", dataCenter, + "refreshToken", refreshToken, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Optional dataCenter; + + private String refreshToken; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The domain suffix for the Zoho Expense API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + public Builder dataCenter(SourceZohoExpenseDataCenter dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = Optional.ofNullable(dataCenter); + return this; + } + + /** + * The domain suffix for the Zoho Expense API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + public Builder dataCenter(Optional dataCenter) { + Utils.checkNotNull(dataCenter, "dataCenter"); + this.dataCenter = dataCenter; + return this; + } + + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public SourceZohoExpense build() { + if (dataCenter == null) { + dataCenter = _SINGLETON_VALUE_DataCenter.value(); + } return new SourceZohoExpense( + clientId, + clientSecret, + dataCenter, + refreshToken); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_DataCenter = + new LazySingletonValue<>( + "data_center", + "\"com\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zoho-expense\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoExpenseDataCenter.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoExpenseDataCenter.java new file mode 100644 index 000000000..eb2ca8983 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoExpenseDataCenter.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * SourceZohoExpenseDataCenter - The domain suffix for the Zoho Expense API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ +public enum SourceZohoExpenseDataCenter { + COM("com"), + IN("in"), + JP("jp"), + CA("ca"), + COM_CN("com.cn"), + SA("sa"), + COM_AU("com.au"), + EU("eu"); + + @JsonValue + private final String value; + + private SourceZohoExpenseDataCenter(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoInventory.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoInventory.java new file mode 100644 index 000000000..dadde8f37 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoInventory.java @@ -0,0 +1,278 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZohoInventory { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_secret") + private String clientSecret; + + /** + * The domain suffix for the Zoho Inventory API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("domain") + private Optional domain; + + @JsonProperty("refresh_token") + private String refreshToken; + + @JsonProperty("sourceType") + private ZohoInventory sourceType; + + @JsonProperty("start_date") + private OffsetDateTime startDate; + + @JsonCreator + public SourceZohoInventory( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("domain") Optional domain, + @JsonProperty("refresh_token") String refreshToken, + @JsonProperty("start_date") OffsetDateTime startDate) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(domain, "domain"); + Utils.checkNotNull(refreshToken, "refreshToken"); + Utils.checkNotNull(startDate, "startDate"); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.domain = domain; + this.refreshToken = refreshToken; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + this.startDate = startDate; + } + + public SourceZohoInventory( + String clientId, + String clientSecret, + String refreshToken, + OffsetDateTime startDate) { + this(clientId, clientSecret, Optional.empty(), refreshToken, startDate); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * The domain suffix for the Zoho Inventory API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional domain() { + return (Optional) domain; + } + + @JsonIgnore + public String refreshToken() { + return refreshToken; + } + + @JsonIgnore + public ZohoInventory sourceType() { + return sourceType; + } + + @JsonIgnore + public OffsetDateTime startDate() { + return startDate; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceZohoInventory withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceZohoInventory withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The domain suffix for the Zoho Inventory API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + public SourceZohoInventory withDomain(Domain domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = Optional.ofNullable(domain); + return this; + } + + /** + * The domain suffix for the Zoho Inventory API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + public SourceZohoInventory withDomain(Optional domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + public SourceZohoInventory withRefreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public SourceZohoInventory withStartDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZohoInventory other = (SourceZohoInventory) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.domain, other.domain) && + Objects.deepEquals(this.refreshToken, other.refreshToken) && + Objects.deepEquals(this.sourceType, other.sourceType) && + Objects.deepEquals(this.startDate, other.startDate); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientSecret, + domain, + refreshToken, + sourceType, + startDate); + } + + @Override + public String toString() { + return Utils.toString(SourceZohoInventory.class, + "clientId", clientId, + "clientSecret", clientSecret, + "domain", domain, + "refreshToken", refreshToken, + "sourceType", sourceType, + "startDate", startDate); + } + + public final static class Builder { + + private String clientId; + + private String clientSecret; + + private Optional domain; + + private String refreshToken; + + private OffsetDateTime startDate; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * The domain suffix for the Zoho Inventory API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + public Builder domain(Domain domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = Optional.ofNullable(domain); + return this; + } + + /** + * The domain suffix for the Zoho Inventory API based on your data center location (e.g., 'com', 'eu', 'in', etc.) + */ + public Builder domain(Optional domain) { + Utils.checkNotNull(domain, "domain"); + this.domain = domain; + return this; + } + + public Builder refreshToken(String refreshToken) { + Utils.checkNotNull(refreshToken, "refreshToken"); + this.refreshToken = refreshToken; + return this; + } + + public Builder startDate(OffsetDateTime startDate) { + Utils.checkNotNull(startDate, "startDate"); + this.startDate = startDate; + return this; + } + + public SourceZohoInventory build() { + if (domain == null) { + domain = _SINGLETON_VALUE_Domain.value(); + } return new SourceZohoInventory( + clientId, + clientSecret, + domain, + refreshToken, + startDate); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_Domain = + new LazySingletonValue<>( + "domain", + "\"com\"", + new TypeReference>() {}); + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zoho-inventory\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoInvoice.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoInvoice.java new file mode 100644 index 000000000..85b5eb42f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoInvoice.java @@ -0,0 +1,267 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + + +public class SourceZohoInvoice { + + @JsonProperty("client_id") + private String clientId; + + @JsonProperty("client_refresh_token") + private String clientRefreshToken; + + @JsonProperty("client_secret") + private String clientSecret; + + /** + * To be provided if a user belongs to multiple organizations + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("organization_id") + private Optional organizationId; + + @JsonProperty("region") + private SourceZohoInvoiceRegion region; + + @JsonProperty("sourceType") + private ZohoInvoice sourceType; + + @JsonCreator + public SourceZohoInvoice( + @JsonProperty("client_id") String clientId, + @JsonProperty("client_refresh_token") String clientRefreshToken, + @JsonProperty("client_secret") String clientSecret, + @JsonProperty("organization_id") Optional organizationId, + @JsonProperty("region") SourceZohoInvoiceRegion region) { + Utils.checkNotNull(clientId, "clientId"); + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + Utils.checkNotNull(clientSecret, "clientSecret"); + Utils.checkNotNull(organizationId, "organizationId"); + Utils.checkNotNull(region, "region"); + this.clientId = clientId; + this.clientRefreshToken = clientRefreshToken; + this.clientSecret = clientSecret; + this.organizationId = organizationId; + this.region = region; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + public SourceZohoInvoice( + String clientId, + String clientRefreshToken, + String clientSecret, + SourceZohoInvoiceRegion region) { + this(clientId, clientRefreshToken, clientSecret, Optional.empty(), region); + } + + @JsonIgnore + public String clientId() { + return clientId; + } + + @JsonIgnore + public String clientRefreshToken() { + return clientRefreshToken; + } + + @JsonIgnore + public String clientSecret() { + return clientSecret; + } + + /** + * To be provided if a user belongs to multiple organizations + */ + @JsonIgnore + public Optional organizationId() { + return organizationId; + } + + @JsonIgnore + public SourceZohoInvoiceRegion region() { + return region; + } + + @JsonIgnore + public ZohoInvoice sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + public SourceZohoInvoice withClientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public SourceZohoInvoice withClientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public SourceZohoInvoice withClientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * To be provided if a user belongs to multiple organizations + */ + public SourceZohoInvoice withOrganizationId(String organizationId) { + Utils.checkNotNull(organizationId, "organizationId"); + this.organizationId = Optional.ofNullable(organizationId); + return this; + } + + /** + * To be provided if a user belongs to multiple organizations + */ + public SourceZohoInvoice withOrganizationId(Optional organizationId) { + Utils.checkNotNull(organizationId, "organizationId"); + this.organizationId = organizationId; + return this; + } + + public SourceZohoInvoice withRegion(SourceZohoInvoiceRegion region) { + Utils.checkNotNull(region, "region"); + this.region = region; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZohoInvoice other = (SourceZohoInvoice) o; + return + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientRefreshToken, other.clientRefreshToken) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.organizationId, other.organizationId) && + Objects.deepEquals(this.region, other.region) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + clientId, + clientRefreshToken, + clientSecret, + organizationId, + region, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceZohoInvoice.class, + "clientId", clientId, + "clientRefreshToken", clientRefreshToken, + "clientSecret", clientSecret, + "organizationId", organizationId, + "region", region, + "sourceType", sourceType); + } + + public final static class Builder { + + private String clientId; + + private String clientRefreshToken; + + private String clientSecret; + + private Optional organizationId = Optional.empty(); + + private SourceZohoInvoiceRegion region; + + private Builder() { + // force use of static builder() method + } + + public Builder clientId(String clientId) { + Utils.checkNotNull(clientId, "clientId"); + this.clientId = clientId; + return this; + } + + public Builder clientRefreshToken(String clientRefreshToken) { + Utils.checkNotNull(clientRefreshToken, "clientRefreshToken"); + this.clientRefreshToken = clientRefreshToken; + return this; + } + + public Builder clientSecret(String clientSecret) { + Utils.checkNotNull(clientSecret, "clientSecret"); + this.clientSecret = clientSecret; + return this; + } + + /** + * To be provided if a user belongs to multiple organizations + */ + public Builder organizationId(String organizationId) { + Utils.checkNotNull(organizationId, "organizationId"); + this.organizationId = Optional.ofNullable(organizationId); + return this; + } + + /** + * To be provided if a user belongs to multiple organizations + */ + public Builder organizationId(Optional organizationId) { + Utils.checkNotNull(organizationId, "organizationId"); + this.organizationId = organizationId; + return this; + } + + public Builder region(SourceZohoInvoiceRegion region) { + Utils.checkNotNull(region, "region"); + this.region = region; + return this; + } + + public SourceZohoInvoice build() { + return new SourceZohoInvoice( + clientId, + clientRefreshToken, + clientSecret, + organizationId, + region); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zoho-invoice\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZohoInvoiceRegion.java b/src/main/java/com/airbyte/api/models/shared/SourceZohoInvoiceRegion.java new file mode 100644 index 000000000..f98952c51 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZohoInvoiceRegion.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SourceZohoInvoiceRegion { + COM("com"), + EU("eu"), + IN("in"), + COM_CN("com.cn"), + COM_AU("com.au"), + JP("jp"), + SA("sa"), + CA("ca"); + + @JsonValue + private final String value; + + private SourceZohoInvoiceRegion(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZonkaFeedback.java b/src/main/java/com/airbyte/api/models/shared/SourceZonkaFeedback.java new file mode 100644 index 000000000..055c8ebda --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SourceZonkaFeedback.java @@ -0,0 +1,162 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + + +public class SourceZonkaFeedback { + + /** + * Auth token to use. Generate it by navigating to Company Settings > Developers > API in your Zonka Feedback account. + */ + @JsonProperty("auth_token") + private String authToken; + + /** + * The identifier for the data center, such as 'us1' or 'e' for EU. + */ + @JsonProperty("datacenter") + private DataCenterID datacenter; + + @JsonProperty("sourceType") + private ZonkaFeedback sourceType; + + @JsonCreator + public SourceZonkaFeedback( + @JsonProperty("auth_token") String authToken, + @JsonProperty("datacenter") DataCenterID datacenter) { + Utils.checkNotNull(authToken, "authToken"); + Utils.checkNotNull(datacenter, "datacenter"); + this.authToken = authToken; + this.datacenter = datacenter; + this.sourceType = Builder._SINGLETON_VALUE_SourceType.value(); + } + + /** + * Auth token to use. Generate it by navigating to Company Settings > Developers > API in your Zonka Feedback account. + */ + @JsonIgnore + public String authToken() { + return authToken; + } + + /** + * The identifier for the data center, such as 'us1' or 'e' for EU. + */ + @JsonIgnore + public DataCenterID datacenter() { + return datacenter; + } + + @JsonIgnore + public ZonkaFeedback sourceType() { + return sourceType; + } + + public final static Builder builder() { + return new Builder(); + } + + /** + * Auth token to use. Generate it by navigating to Company Settings > Developers > API in your Zonka Feedback account. + */ + public SourceZonkaFeedback withAuthToken(String authToken) { + Utils.checkNotNull(authToken, "authToken"); + this.authToken = authToken; + return this; + } + + /** + * The identifier for the data center, such as 'us1' or 'e' for EU. + */ + public SourceZonkaFeedback withDatacenter(DataCenterID datacenter) { + Utils.checkNotNull(datacenter, "datacenter"); + this.datacenter = datacenter; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SourceZonkaFeedback other = (SourceZonkaFeedback) o; + return + Objects.deepEquals(this.authToken, other.authToken) && + Objects.deepEquals(this.datacenter, other.datacenter) && + Objects.deepEquals(this.sourceType, other.sourceType); + } + + @Override + public int hashCode() { + return Objects.hash( + authToken, + datacenter, + sourceType); + } + + @Override + public String toString() { + return Utils.toString(SourceZonkaFeedback.class, + "authToken", authToken, + "datacenter", datacenter, + "sourceType", sourceType); + } + + public final static class Builder { + + private String authToken; + + private DataCenterID datacenter; + + private Builder() { + // force use of static builder() method + } + + /** + * Auth token to use. Generate it by navigating to Company Settings > Developers > API in your Zonka Feedback account. + */ + public Builder authToken(String authToken) { + Utils.checkNotNull(authToken, "authToken"); + this.authToken = authToken; + return this; + } + + /** + * The identifier for the data center, such as 'us1' or 'e' for EU. + */ + public Builder datacenter(DataCenterID datacenter) { + Utils.checkNotNull(datacenter, "datacenter"); + this.datacenter = datacenter; + return this; + } + + public SourceZonkaFeedback build() { + return new SourceZonkaFeedback( + authToken, + datacenter); + } + + private static final LazySingletonValue _SINGLETON_VALUE_SourceType = + new LazySingletonValue<>( + "sourceType", + "\"zonka-feedback\"", + new TypeReference() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/SourceZoom.java b/src/main/java/com/airbyte/api/models/shared/SourceZoom.java index bd72fb393..e54451f82 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourceZoom.java +++ b/src/main/java/com/airbyte/api/models/shared/SourceZoom.java @@ -1,24 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SourceZoom { /** @@ -29,7 +29,7 @@ public class SourceZoom { @JsonInclude(Include.NON_ABSENT) @JsonProperty("authorization_endpoint") - private Optional authorizationEndpoint; + private Optional authorizationEndpoint; /** * The client ID for your Zoom app. You can find this in the Zoom Marketplace under the "Manage" tab for your app. @@ -49,7 +49,7 @@ public class SourceZoom { @JsonCreator public SourceZoom( @JsonProperty("account_id") String accountId, - @JsonProperty("authorization_endpoint") Optional authorizationEndpoint, + @JsonProperty("authorization_endpoint") Optional authorizationEndpoint, @JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret) { Utils.checkNotNull(accountId, "accountId"); @@ -78,10 +78,9 @@ public String accountId() { return accountId; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional authorizationEndpoint() { - return (Optional) authorizationEndpoint; + return authorizationEndpoint; } /** @@ -124,7 +123,7 @@ public SourceZoom withAuthorizationEndpoint(String authorizationEndpoint) { return this; } - public SourceZoom withAuthorizationEndpoint(Optional authorizationEndpoint) { + public SourceZoom withAuthorizationEndpoint(Optional authorizationEndpoint) { Utils.checkNotNull(authorizationEndpoint, "authorizationEndpoint"); this.authorizationEndpoint = authorizationEndpoint; return this; @@ -158,16 +157,16 @@ public boolean equals(java.lang.Object o) { } SourceZoom other = (SourceZoom) o; return - java.util.Objects.deepEquals(this.accountId, other.accountId) && - java.util.Objects.deepEquals(this.authorizationEndpoint, other.authorizationEndpoint) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret) && - java.util.Objects.deepEquals(this.sourceType, other.sourceType); + Objects.deepEquals(this.accountId, other.accountId) && + Objects.deepEquals(this.authorizationEndpoint, other.authorizationEndpoint) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret) && + Objects.deepEquals(this.sourceType, other.sourceType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accountId, authorizationEndpoint, clientId, @@ -189,7 +188,7 @@ public final static class Builder { private String accountId; - private Optional authorizationEndpoint; + private Optional authorizationEndpoint; private String clientId; @@ -214,7 +213,7 @@ public Builder authorizationEndpoint(String authorizationEndpoint) { return this; } - public Builder authorizationEndpoint(Optional authorizationEndpoint) { + public Builder authorizationEndpoint(Optional authorizationEndpoint) { Utils.checkNotNull(authorizationEndpoint, "authorizationEndpoint"); this.authorizationEndpoint = authorizationEndpoint; return this; @@ -241,19 +240,18 @@ public Builder clientSecret(String clientSecret) { public SourceZoom build() { if (authorizationEndpoint == null) { authorizationEndpoint = _SINGLETON_VALUE_AuthorizationEndpoint.value(); - } - return new SourceZoom( + } return new SourceZoom( accountId, authorizationEndpoint, clientId, clientSecret); } - private static final LazySingletonValue> _SINGLETON_VALUE_AuthorizationEndpoint = + private static final LazySingletonValue> _SINGLETON_VALUE_AuthorizationEndpoint = new LazySingletonValue<>( "authorization_endpoint", "\"https://zoom.us/oauth/token\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue _SINGLETON_VALUE_SourceType = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/SourcesResponse.java b/src/main/java/com/airbyte/api/models/shared/SourcesResponse.java index 5f6b63616..8a4b4abe8 100644 --- a/src/main/java/com/airbyte/api/models/shared/SourcesResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/SourcesResponse.java @@ -1,41 +1,41 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class SourcesResponse { @JsonProperty("data") - private java.util.List data; + private List data; @JsonInclude(Include.NON_ABSENT) @JsonProperty("next") - private Optional next; + private Optional next; @JsonInclude(Include.NON_ABSENT) @JsonProperty("previous") - private Optional previous; + private Optional previous; @JsonCreator public SourcesResponse( - @JsonProperty("data") java.util.List data, - @JsonProperty("next") Optional next, - @JsonProperty("previous") Optional previous) { + @JsonProperty("data") List data, + @JsonProperty("next") Optional next, + @JsonProperty("previous") Optional previous) { Utils.checkNotNull(data, "data"); Utils.checkNotNull(next, "next"); Utils.checkNotNull(previous, "previous"); @@ -45,32 +45,30 @@ public SourcesResponse( } public SourcesResponse( - java.util.List data) { + List data) { this(data, Optional.empty(), Optional.empty()); } @JsonIgnore - public java.util.List data() { + public List data() { return data; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional next() { - return (Optional) next; + return next; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional previous() { - return (Optional) previous; + return previous; } public final static Builder builder() { return new Builder(); } - public SourcesResponse withData(java.util.List data) { + public SourcesResponse withData(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -82,7 +80,7 @@ public SourcesResponse withNext(String next) { return this; } - public SourcesResponse withNext(Optional next) { + public SourcesResponse withNext(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -94,7 +92,7 @@ public SourcesResponse withPrevious(String previous) { return this; } - public SourcesResponse withPrevious(Optional previous) { + public SourcesResponse withPrevious(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; @@ -110,14 +108,14 @@ public boolean equals(java.lang.Object o) { } SourcesResponse other = (SourcesResponse) o; return - java.util.Objects.deepEquals(this.data, other.data) && - java.util.Objects.deepEquals(this.next, other.next) && - java.util.Objects.deepEquals(this.previous, other.previous); + Objects.deepEquals(this.data, other.data) && + Objects.deepEquals(this.next, other.next) && + Objects.deepEquals(this.previous, other.previous); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( data, next, previous); @@ -133,17 +131,17 @@ public String toString() { public final static class Builder { - private java.util.List data; + private List data; - private Optional next = Optional.empty(); + private Optional next = Optional.empty(); - private Optional previous = Optional.empty(); + private Optional previous = Optional.empty(); private Builder() { // force use of static builder() method } - public Builder data(java.util.List data) { + public Builder data(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -155,7 +153,7 @@ public Builder next(String next) { return this; } - public Builder next(Optional next) { + public Builder next(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -167,7 +165,7 @@ public Builder previous(String previous) { return this; } - public Builder previous(Optional previous) { + public Builder previous(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SpacexApi.java b/src/main/java/com/airbyte/api/models/shared/SpacexApi.java index 18e545ae9..84e589225 100644 --- a/src/main/java/com/airbyte/api/models/shared/SpacexApi.java +++ b/src/main/java/com/airbyte/api/models/shared/SpacexApi.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SpacexApi { SPACEX_API("spacex-api"); diff --git a/src/main/java/com/airbyte/api/models/shared/Sparkpost.java b/src/main/java/com/airbyte/api/models/shared/Sparkpost.java new file mode 100644 index 000000000..193e6823d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Sparkpost.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Sparkpost { + SPARKPOST("sparkpost"); + + @JsonValue + private final String value; + + private Sparkpost(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/SplitIo.java b/src/main/java/com/airbyte/api/models/shared/SplitIo.java new file mode 100644 index 000000000..4b738fe81 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/SplitIo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum SplitIo { + SPLIT_IO("split-io"); + + @JsonValue + private final String value; + + private SplitIo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Spotlercrm.java b/src/main/java/com/airbyte/api/models/shared/Spotlercrm.java new file mode 100644 index 000000000..09ab42ebf --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Spotlercrm.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Spotlercrm { + SPOTLERCRM("spotlercrm"); + + @JsonValue + private final String value; + + private Spotlercrm(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Square.java b/src/main/java/com/airbyte/api/models/shared/Square.java index e799c533d..397a65339 100644 --- a/src/main/java/com/airbyte/api/models/shared/Square.java +++ b/src/main/java/com/airbyte/api/models/shared/Square.java @@ -1,111 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.util.Optional; +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; -public class Square { +public enum Square { + SQUARE("square"); - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("credentials") - private Optional credentials; + @JsonValue + private final String value; - @JsonCreator - public Square( - @JsonProperty("credentials") Optional credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = credentials; + private Square(String value) { + this.value = value; } - public Square() { - this(Optional.empty()); - } - - @SuppressWarnings("unchecked") - @JsonIgnore - public Optional credentials() { - return (Optional) credentials; - } - - public final static Builder builder() { - return new Builder(); - } - - public Square withCredentials(SquareCredentials credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = Optional.ofNullable(credentials); - return this; - } - - public Square withCredentials(Optional credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = credentials; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Square other = (Square) o; - return - java.util.Objects.deepEquals(this.credentials, other.credentials); - } - - @Override - public int hashCode() { - return java.util.Objects.hash( - credentials); - } - - @Override - public String toString() { - return Utils.toString(Square.class, - "credentials", credentials); - } - - public final static class Builder { - - private Optional credentials = Optional.empty(); - - private Builder() { - // force use of static builder() method - } - - public Builder credentials(SquareCredentials credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = Optional.ofNullable(credentials); - return this; - } - - public Builder credentials(Optional credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = credentials; - return this; - } - - public Square build() { - return new Square( - credentials); - } + public String value() { + return value; } } - diff --git a/src/main/java/com/airbyte/api/models/shared/Squarespace.java b/src/main/java/com/airbyte/api/models/shared/Squarespace.java new file mode 100644 index 000000000..a5b189898 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Squarespace.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Squarespace { + SQUARESPACE("squarespace"); + + @JsonValue + private final String value; + + private Squarespace(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/StandaloneMongoDbInstance.java b/src/main/java/com/airbyte/api/models/shared/StandaloneMongoDbInstance.java index 6f2f9aa4a..bb67293ac 100644 --- a/src/main/java/com/airbyte/api/models/shared/StandaloneMongoDbInstance.java +++ b/src/main/java/com/airbyte/api/models/shared/StandaloneMongoDbInstance.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class StandaloneMongoDbInstance { /** @@ -36,21 +39,21 @@ public class StandaloneMongoDbInstance { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("port") - private Optional port; + private Optional port; /** * Indicates whether TLS encryption protocol will be used to connect to MongoDB. It is recommended to use TLS connection if possible. For more information see <a href="https://docs.airbyte.com/integrations/sources/mongodb-v2">documentation</a>. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("tls") - private Optional tls; + private Optional tls; @JsonCreator public StandaloneMongoDbInstance( @JsonProperty("host") String host, @JsonProperty("instance") Optional instance, - @JsonProperty("port") Optional port, - @JsonProperty("tls") Optional tls) { + @JsonProperty("port") Optional port, + @JsonProperty("tls") Optional tls) { Utils.checkNotNull(host, "host"); Utils.checkNotNull(instance, "instance"); Utils.checkNotNull(port, "port"); @@ -83,19 +86,17 @@ public Optional instance() { /** * The Port of a Mongo database to be replicated. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional port() { - return (Optional) port; + return port; } /** * Indicates whether TLS encryption protocol will be used to connect to MongoDB. It is recommended to use TLS connection if possible. For more information see <a href="https://docs.airbyte.com/integrations/sources/mongodb-v2">documentation</a>. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional tls() { - return (Optional) tls; + return tls; } public final static Builder builder() { @@ -135,7 +136,7 @@ public StandaloneMongoDbInstance withPort(long port) { /** * The Port of a Mongo database to be replicated. */ - public StandaloneMongoDbInstance withPort(Optional port) { + public StandaloneMongoDbInstance withPort(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -153,7 +154,7 @@ public StandaloneMongoDbInstance withTls(boolean tls) { /** * Indicates whether TLS encryption protocol will be used to connect to MongoDB. It is recommended to use TLS connection if possible. For more information see <a href="https://docs.airbyte.com/integrations/sources/mongodb-v2">documentation</a>. */ - public StandaloneMongoDbInstance withTls(Optional tls) { + public StandaloneMongoDbInstance withTls(Optional tls) { Utils.checkNotNull(tls, "tls"); this.tls = tls; return this; @@ -169,15 +170,15 @@ public boolean equals(java.lang.Object o) { } StandaloneMongoDbInstance other = (StandaloneMongoDbInstance) o; return - java.util.Objects.deepEquals(this.host, other.host) && - java.util.Objects.deepEquals(this.instance, other.instance) && - java.util.Objects.deepEquals(this.port, other.port) && - java.util.Objects.deepEquals(this.tls, other.tls); + Objects.deepEquals(this.host, other.host) && + Objects.deepEquals(this.instance, other.instance) && + Objects.deepEquals(this.port, other.port) && + Objects.deepEquals(this.tls, other.tls); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( host, instance, port, @@ -199,9 +200,9 @@ public final static class Builder { private Optional instance; - private Optional port; + private Optional port; - private Optional tls; + private Optional tls; private Builder() { // force use of static builder() method @@ -240,7 +241,7 @@ public Builder port(long port) { /** * The Port of a Mongo database to be replicated. */ - public Builder port(Optional port) { + public Builder port(Optional port) { Utils.checkNotNull(port, "port"); this.port = port; return this; @@ -258,7 +259,7 @@ public Builder tls(boolean tls) { /** * Indicates whether TLS encryption protocol will be used to connect to MongoDB. It is recommended to use TLS connection if possible. For more information see <a href="https://docs.airbyte.com/integrations/sources/mongodb-v2">documentation</a>. */ - public Builder tls(Optional tls) { + public Builder tls(Optional tls) { Utils.checkNotNull(tls, "tls"); this.tls = tls; return this; @@ -273,8 +274,7 @@ public StandaloneMongoDbInstance build() { } if (tls == null) { tls = _SINGLETON_VALUE_Tls.value(); - } - return new StandaloneMongoDbInstance( + } return new StandaloneMongoDbInstance( host, instance, port, @@ -287,17 +287,17 @@ public StandaloneMongoDbInstance build() { "\"standalone\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Port = + private static final LazySingletonValue> _SINGLETON_VALUE_Port = new LazySingletonValue<>( "port", "27017", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_Tls = + private static final LazySingletonValue> _SINGLETON_VALUE_Tls = new LazySingletonValue<>( "tls", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/State.java b/src/main/java/com/airbyte/api/models/shared/State.java index 4d5e540c7..b647aef72 100644 --- a/src/main/java/com/airbyte/api/models/shared/State.java +++ b/src/main/java/com/airbyte/api/models/shared/State.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * State - Select the state of the items to retrieve. diff --git a/src/main/java/com/airbyte/api/models/shared/StateFilter.java b/src/main/java/com/airbyte/api/models/shared/StateFilter.java deleted file mode 100644 index 1b442b7ca..000000000 --- a/src/main/java/com/airbyte/api/models/shared/StateFilter.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.shared; - -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; - -public enum StateFilter { - ENABLED("enabled"), - PAUSED("paused"), - ARCHIVED("archived"); - - @JsonValue - private final String value; - - private StateFilter(String value) { - this.value = value; - } - - public String value() { - return value; - } -} diff --git a/src/main/java/com/airbyte/api/models/shared/StateFilterEnum.java b/src/main/java/com/airbyte/api/models/shared/StateFilterEnum.java new file mode 100644 index 000000000..346d64899 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/StateFilterEnum.java @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * StateFilterEnum - An enumeration. + */ +public enum StateFilterEnum { + ENABLED("enabled"), + PAUSED("paused"), + ARCHIVED("archived"); + + @JsonValue + private final String value; + + private StateFilterEnum(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/StatisticsInterval.java b/src/main/java/com/airbyte/api/models/shared/StatisticsInterval.java new file mode 100644 index 000000000..259d4d928 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/StatisticsInterval.java @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * StatisticsInterval - Periodicity of statistics returned. it may be daily(P1D), weekly(P1W) or monthly(P1M). + */ +public enum StatisticsInterval { + P1_D("P1D"), + P1_W("P1W"), + P1_M("P1M"); + + @JsonValue + private final String value; + + private StatisticsInterval(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Statsig.java b/src/main/java/com/airbyte/api/models/shared/Statsig.java new file mode 100644 index 000000000..8e8a5eeca --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Statsig.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Statsig { + STATSIG("statsig"); + + @JsonValue + private final String value; + + private Statsig(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Status.java b/src/main/java/com/airbyte/api/models/shared/Status.java index c40e7fd40..d296dc65b 100644 --- a/src/main/java/com/airbyte/api/models/shared/Status.java +++ b/src/main/java/com/airbyte/api/models/shared/Status.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Status { ACTIVE("ACTIVE"), diff --git a/src/main/java/com/airbyte/api/models/shared/Statuspage.java b/src/main/java/com/airbyte/api/models/shared/Statuspage.java new file mode 100644 index 000000000..097cbf2bd --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Statuspage.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Statuspage { + STATUSPAGE("statuspage"); + + @JsonValue + private final String value; + + private Statuspage(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Stockdata.java b/src/main/java/com/airbyte/api/models/shared/Stockdata.java new file mode 100644 index 000000000..baf33f8d1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Stockdata.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Stockdata { + STOCKDATA("stockdata"); + + @JsonValue + private final String value; + + private Stockdata(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Storage.java b/src/main/java/com/airbyte/api/models/shared/Storage.java index c4eecca5d..267e7b353 100644 --- a/src/main/java/com/airbyte/api/models/shared/Storage.java +++ b/src/main/java/com/airbyte/api/models/shared/Storage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Storage { HTTPS("HTTPS"); diff --git a/src/main/java/com/airbyte/api/models/shared/StorageConfig.java b/src/main/java/com/airbyte/api/models/shared/StorageConfig.java new file mode 100644 index 000000000..3dc216ccb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/StorageConfig.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * StorageConfig - Storage config of Iceberg. + */ + +@JsonDeserialize(using = StorageConfig._Deserializer.class) +public class StorageConfig { + + @JsonValue + private TypedObject value; + + private StorageConfig(TypedObject value) { + this.value = value; + } + + public static StorageConfig of(DestinationIcebergS3 value) { + Utils.checkNotNull(value, "value"); + return new StorageConfig(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static StorageConfig of(ServerManaged value) { + Utils.checkNotNull(value, "value"); + return new StorageConfig(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *
      + *
    • {@code com.airbyte.api.models.shared.DestinationIcebergS3}
    • + *
    • {@code com.airbyte.api.models.shared.ServerManaged}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StorageConfig other = (StorageConfig) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(StorageConfig.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(StorageConfig.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/StorageProvider.java b/src/main/java/com/airbyte/api/models/shared/StorageProvider.java index 91579ee7e..b14f68278 100644 --- a/src/main/java/com/airbyte/api/models/shared/StorageProvider.java +++ b/src/main/java/com/airbyte/api/models/shared/StorageProvider.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * StorageProvider - The storage Provider or Location of the file(s) which should be replicated. @@ -28,7 +25,7 @@ @JsonDeserialize(using = StorageProvider._Deserializer.class) public class StorageProvider { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private StorageProvider(TypedObject value) { @@ -78,14 +75,14 @@ public static StorageProvider of(LocalFilesystemLimited value) { /** * Returns an instance of one of these types: *
      - *
    • {@code HTTPSPublicWeb}
    • - *
    • {@code GCSGoogleCloudStorage}
    • - *
    • {@code S3AmazonWebServices}
    • - *
    • {@code AzBlobAzureBlobStorage}
    • - *
    • {@code SSHSecureShell}
    • - *
    • {@code SCPSecureCopyProtocol}
    • - *
    • {@code SFTPSecureFileTransferProtocol}
    • - *
    • {@code LocalFilesystemLimited}
    • + *
    • {@code com.airbyte.api.models.shared.HTTPSPublicWeb}
    • + *
    • {@code com.airbyte.api.models.shared.GCSGoogleCloudStorage}
    • + *
    • {@code com.airbyte.api.models.shared.S3AmazonWebServices}
    • + *
    • {@code com.airbyte.api.models.shared.AzBlobAzureBlobStorage}
    • + *
    • {@code com.airbyte.api.models.shared.SSHSecureShell}
    • + *
    • {@code com.airbyte.api.models.shared.SCPSecureCopyProtocol}
    • + *
    • {@code com.airbyte.api.models.shared.SFTPSecureFileTransferProtocol}
    • + *
    • {@code com.airbyte.api.models.shared.LocalFilesystemLimited}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -112,27 +109,27 @@ public boolean equals(java.lang.Object o) { return false; } StorageProvider other = (StorageProvider) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(StorageProvider.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(StorageProvider.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/StorageType.java b/src/main/java/com/airbyte/api/models/shared/StorageType.java new file mode 100644 index 000000000..b706f06ae --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/StorageType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum StorageType { + S3("S3"); + + @JsonValue + private final String value; + + private StorageType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Strategies.java b/src/main/java/com/airbyte/api/models/shared/Strategies.java index 1bc6a3442..ecd0903e2 100644 --- a/src/main/java/com/airbyte/api/models/shared/Strategies.java +++ b/src/main/java/com/airbyte/api/models/shared/Strategies.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Strategies { DESKTOP("desktop"), diff --git a/src/main/java/com/airbyte/api/models/shared/Strava.java b/src/main/java/com/airbyte/api/models/shared/Strava.java index 2bad9021b..559796e91 100644 --- a/src/main/java/com/airbyte/api/models/shared/Strava.java +++ b/src/main/java/com/airbyte/api/models/shared/Strava.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Strava { STRAVA("strava"); diff --git a/src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java b/src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java index 92fe3730e..0e890f305 100644 --- a/src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java +++ b/src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java @@ -1,22 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * StreamConfiguration - Configurations for a single stream. */ @@ -28,7 +29,14 @@ public class StreamConfiguration { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("cursorField") - private Optional> cursorField; + private Optional> cursorField; + + /** + * Mappers that should be applied to the stream before writing to the destination. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mappers") + private Optional> mappers; @JsonProperty("name") private String name; @@ -38,14 +46,14 @@ public class StreamConfiguration { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("primaryKey") - private Optional>> primaryKey; + private Optional>> primaryKey; /** * Paths to the fields that will be included in the configured catalog. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("selectedFields") - private Optional> selectedFields; + private Optional> selectedFields; @JsonInclude(Include.NON_ABSENT) @JsonProperty("syncMode") @@ -53,17 +61,20 @@ public class StreamConfiguration { @JsonCreator public StreamConfiguration( - @JsonProperty("cursorField") Optional> cursorField, + @JsonProperty("cursorField") Optional> cursorField, + @JsonProperty("mappers") Optional> mappers, @JsonProperty("name") String name, - @JsonProperty("primaryKey") Optional>> primaryKey, - @JsonProperty("selectedFields") Optional> selectedFields, + @JsonProperty("primaryKey") Optional>> primaryKey, + @JsonProperty("selectedFields") Optional> selectedFields, @JsonProperty("syncMode") Optional syncMode) { Utils.checkNotNull(cursorField, "cursorField"); + Utils.checkNotNull(mappers, "mappers"); Utils.checkNotNull(name, "name"); Utils.checkNotNull(primaryKey, "primaryKey"); Utils.checkNotNull(selectedFields, "selectedFields"); Utils.checkNotNull(syncMode, "syncMode"); this.cursorField = cursorField; + this.mappers = mappers; this.name = name; this.primaryKey = primaryKey; this.selectedFields = selectedFields; @@ -72,7 +83,7 @@ public StreamConfiguration( public StreamConfiguration( String name) { - this(Optional.empty(), name, Optional.empty(), Optional.empty(), Optional.empty()); + this(Optional.empty(), Optional.empty(), name, Optional.empty(), Optional.empty(), Optional.empty()); } /** @@ -80,8 +91,17 @@ public StreamConfiguration( */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> cursorField() { - return (Optional>) cursorField; + public Optional> cursorField() { + return (Optional>) cursorField; + } + + /** + * Mappers that should be applied to the stream before writing to the destination. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional> mappers() { + return (Optional>) mappers; } @JsonIgnore @@ -94,8 +114,8 @@ public String name() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional>> primaryKey() { - return (Optional>>) primaryKey; + public Optional>> primaryKey() { + return (Optional>>) primaryKey; } /** @@ -103,8 +123,8 @@ public Optional>> primaryKey() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> selectedFields() { - return (Optional>) selectedFields; + public Optional> selectedFields() { + return (Optional>) selectedFields; } @SuppressWarnings("unchecked") @@ -120,7 +140,7 @@ public final static Builder builder() { /** * Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if `sync_mode` is `incremental` unless there is a default. */ - public StreamConfiguration withCursorField(java.util.List cursorField) { + public StreamConfiguration withCursorField(List cursorField) { Utils.checkNotNull(cursorField, "cursorField"); this.cursorField = Optional.ofNullable(cursorField); return this; @@ -129,12 +149,30 @@ public StreamConfiguration withCursorField(java.util.List cursorField) { /** * Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if `sync_mode` is `incremental` unless there is a default. */ - public StreamConfiguration withCursorField(Optional> cursorField) { + public StreamConfiguration withCursorField(Optional> cursorField) { Utils.checkNotNull(cursorField, "cursorField"); this.cursorField = cursorField; return this; } + /** + * Mappers that should be applied to the stream before writing to the destination. + */ + public StreamConfiguration withMappers(List mappers) { + Utils.checkNotNull(mappers, "mappers"); + this.mappers = Optional.ofNullable(mappers); + return this; + } + + /** + * Mappers that should be applied to the stream before writing to the destination. + */ + public StreamConfiguration withMappers(Optional> mappers) { + Utils.checkNotNull(mappers, "mappers"); + this.mappers = mappers; + return this; + } + public StreamConfiguration withName(String name) { Utils.checkNotNull(name, "name"); this.name = name; @@ -144,7 +182,7 @@ public StreamConfiguration withName(String name) { /** * Paths to the fields that will be used as primary key. This field is REQUIRED if `destination_sync_mode` is `*_dedup` unless it is already supplied by the source schema. */ - public StreamConfiguration withPrimaryKey(java.util.List> primaryKey) { + public StreamConfiguration withPrimaryKey(List> primaryKey) { Utils.checkNotNull(primaryKey, "primaryKey"); this.primaryKey = Optional.ofNullable(primaryKey); return this; @@ -153,7 +191,7 @@ public StreamConfiguration withPrimaryKey(java.util.List> /** * Paths to the fields that will be used as primary key. This field is REQUIRED if `destination_sync_mode` is `*_dedup` unless it is already supplied by the source schema. */ - public StreamConfiguration withPrimaryKey(Optional>> primaryKey) { + public StreamConfiguration withPrimaryKey(Optional>> primaryKey) { Utils.checkNotNull(primaryKey, "primaryKey"); this.primaryKey = primaryKey; return this; @@ -162,7 +200,7 @@ public StreamConfiguration withPrimaryKey(Optional selectedFields) { + public StreamConfiguration withSelectedFields(List selectedFields) { Utils.checkNotNull(selectedFields, "selectedFields"); this.selectedFields = Optional.ofNullable(selectedFields); return this; @@ -171,7 +209,7 @@ public StreamConfiguration withSelectedFields(java.util.List /** * Paths to the fields that will be included in the configured catalog. */ - public StreamConfiguration withSelectedFields(Optional> selectedFields) { + public StreamConfiguration withSelectedFields(Optional> selectedFields) { Utils.checkNotNull(selectedFields, "selectedFields"); this.selectedFields = selectedFields; return this; @@ -199,17 +237,19 @@ public boolean equals(java.lang.Object o) { } StreamConfiguration other = (StreamConfiguration) o; return - java.util.Objects.deepEquals(this.cursorField, other.cursorField) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.primaryKey, other.primaryKey) && - java.util.Objects.deepEquals(this.selectedFields, other.selectedFields) && - java.util.Objects.deepEquals(this.syncMode, other.syncMode); + Objects.deepEquals(this.cursorField, other.cursorField) && + Objects.deepEquals(this.mappers, other.mappers) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.primaryKey, other.primaryKey) && + Objects.deepEquals(this.selectedFields, other.selectedFields) && + Objects.deepEquals(this.syncMode, other.syncMode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( cursorField, + mappers, name, primaryKey, selectedFields, @@ -220,6 +260,7 @@ public int hashCode() { public String toString() { return Utils.toString(StreamConfiguration.class, "cursorField", cursorField, + "mappers", mappers, "name", name, "primaryKey", primaryKey, "selectedFields", selectedFields, @@ -228,13 +269,15 @@ public String toString() { public final static class Builder { - private Optional> cursorField = Optional.empty(); + private Optional> cursorField = Optional.empty(); + + private Optional> mappers = Optional.empty(); private String name; - private Optional>> primaryKey = Optional.empty(); + private Optional>> primaryKey = Optional.empty(); - private Optional> selectedFields = Optional.empty(); + private Optional> selectedFields = Optional.empty(); private Optional syncMode = Optional.empty(); @@ -245,7 +288,7 @@ private Builder() { /** * Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if `sync_mode` is `incremental` unless there is a default. */ - public Builder cursorField(java.util.List cursorField) { + public Builder cursorField(List cursorField) { Utils.checkNotNull(cursorField, "cursorField"); this.cursorField = Optional.ofNullable(cursorField); return this; @@ -254,12 +297,30 @@ public Builder cursorField(java.util.List cursorField) { /** * Path to the field that will be used to determine if a record is new or modified since the last sync. This field is REQUIRED if `sync_mode` is `incremental` unless there is a default. */ - public Builder cursorField(Optional> cursorField) { + public Builder cursorField(Optional> cursorField) { Utils.checkNotNull(cursorField, "cursorField"); this.cursorField = cursorField; return this; } + /** + * Mappers that should be applied to the stream before writing to the destination. + */ + public Builder mappers(List mappers) { + Utils.checkNotNull(mappers, "mappers"); + this.mappers = Optional.ofNullable(mappers); + return this; + } + + /** + * Mappers that should be applied to the stream before writing to the destination. + */ + public Builder mappers(Optional> mappers) { + Utils.checkNotNull(mappers, "mappers"); + this.mappers = mappers; + return this; + } + public Builder name(String name) { Utils.checkNotNull(name, "name"); this.name = name; @@ -269,7 +330,7 @@ public Builder name(String name) { /** * Paths to the fields that will be used as primary key. This field is REQUIRED if `destination_sync_mode` is `*_dedup` unless it is already supplied by the source schema. */ - public Builder primaryKey(java.util.List> primaryKey) { + public Builder primaryKey(List> primaryKey) { Utils.checkNotNull(primaryKey, "primaryKey"); this.primaryKey = Optional.ofNullable(primaryKey); return this; @@ -278,7 +339,7 @@ public Builder primaryKey(java.util.List> primaryKey) { /** * Paths to the fields that will be used as primary key. This field is REQUIRED if `destination_sync_mode` is `*_dedup` unless it is already supplied by the source schema. */ - public Builder primaryKey(Optional>> primaryKey) { + public Builder primaryKey(Optional>> primaryKey) { Utils.checkNotNull(primaryKey, "primaryKey"); this.primaryKey = primaryKey; return this; @@ -287,7 +348,7 @@ public Builder primaryKey(Optional selectedFields) { + public Builder selectedFields(List selectedFields) { Utils.checkNotNull(selectedFields, "selectedFields"); this.selectedFields = Optional.ofNullable(selectedFields); return this; @@ -296,7 +357,7 @@ public Builder selectedFields(java.util.List selectedFields) /** * Paths to the fields that will be included in the configured catalog. */ - public Builder selectedFields(Optional> selectedFields) { + public Builder selectedFields(Optional> selectedFields) { Utils.checkNotNull(selectedFields, "selectedFields"); this.selectedFields = selectedFields; return this; @@ -317,6 +378,7 @@ public Builder syncMode(Optional syncMode) { public StreamConfiguration build() { return new StreamConfiguration( cursorField, + mappers, name, primaryKey, selectedFields, diff --git a/src/main/java/com/airbyte/api/models/shared/StreamConfigurations.java b/src/main/java/com/airbyte/api/models/shared/StreamConfigurations.java index 010412bb9..1c2299104 100644 --- a/src/main/java/com/airbyte/api/models/shared/StreamConfigurations.java +++ b/src/main/java/com/airbyte/api/models/shared/StreamConfigurations.java @@ -1,22 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * StreamConfigurations - A list of configured stream options for a connection. */ @@ -25,11 +26,11 @@ public class StreamConfigurations { @JsonInclude(Include.NON_ABSENT) @JsonProperty("streams") - private Optional> streams; + private Optional> streams; @JsonCreator public StreamConfigurations( - @JsonProperty("streams") Optional> streams) { + @JsonProperty("streams") Optional> streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; } @@ -40,21 +41,21 @@ public StreamConfigurations() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional> streams() { - return (Optional>) streams; + public Optional> streams() { + return (Optional>) streams; } public final static Builder builder() { return new Builder(); } - public StreamConfigurations withStreams(java.util.List streams) { + public StreamConfigurations withStreams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = Optional.ofNullable(streams); return this; } - public StreamConfigurations withStreams(Optional> streams) { + public StreamConfigurations withStreams(Optional> streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; @@ -70,12 +71,12 @@ public boolean equals(java.lang.Object o) { } StreamConfigurations other = (StreamConfigurations) o; return - java.util.Objects.deepEquals(this.streams, other.streams); + Objects.deepEquals(this.streams, other.streams); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( streams); } @@ -87,19 +88,19 @@ public String toString() { public final static class Builder { - private Optional> streams = Optional.empty(); + private Optional> streams = Optional.empty(); private Builder() { // force use of static builder() method } - public Builder streams(java.util.List streams) { + public Builder streams(List streams) { Utils.checkNotNull(streams, "streams"); this.streams = Optional.ofNullable(streams); return this; } - public Builder streams(Optional> streams) { + public Builder streams(Optional> streams) { Utils.checkNotNull(streams, "streams"); this.streams = streams; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/StreamMapperType.java b/src/main/java/com/airbyte/api/models/shared/StreamMapperType.java new file mode 100644 index 000000000..df4857a5c --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/StreamMapperType.java @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum StreamMapperType { + HASHING("hashing"), + FIELD_RENAMING("field-renaming"), + ROW_FILTERING("row-filtering"), + ENCRYPTION("encryption"); + + @JsonValue + private final String value; + + private StreamMapperType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/StreamProperties.java b/src/main/java/com/airbyte/api/models/shared/StreamProperties.java index d3db3ff5c..e44a4fc03 100644 --- a/src/main/java/com/airbyte/api/models/shared/StreamProperties.java +++ b/src/main/java/com/airbyte/api/models/shared/StreamProperties.java @@ -1,22 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * StreamProperties - The stream properties associated with a connection. */ @@ -25,36 +27,36 @@ public class StreamProperties { @JsonInclude(Include.NON_ABSENT) @JsonProperty("defaultCursorField") - private Optional> defaultCursorField; + private Optional> defaultCursorField; @JsonInclude(Include.NON_ABSENT) @JsonProperty("propertyFields") - private Optional>> propertyFields; + private Optional>> propertyFields; @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceDefinedCursorField") - private Optional sourceDefinedCursorField; + private Optional sourceDefinedCursorField; @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceDefinedPrimaryKey") - private Optional>> sourceDefinedPrimaryKey; + private Optional>> sourceDefinedPrimaryKey; @JsonInclude(Include.NON_ABSENT) @JsonProperty("streamName") - private Optional streamName; + private Optional streamName; @JsonInclude(Include.NON_ABSENT) @JsonProperty("syncModes") - private Optional> syncModes; + private Optional> syncModes; @JsonCreator public StreamProperties( - @JsonProperty("defaultCursorField") Optional> defaultCursorField, - @JsonProperty("propertyFields") Optional>> propertyFields, - @JsonProperty("sourceDefinedCursorField") Optional sourceDefinedCursorField, - @JsonProperty("sourceDefinedPrimaryKey") Optional>> sourceDefinedPrimaryKey, - @JsonProperty("streamName") Optional streamName, - @JsonProperty("syncModes") Optional> syncModes) { + @JsonProperty("defaultCursorField") Optional> defaultCursorField, + @JsonProperty("propertyFields") Optional>> propertyFields, + @JsonProperty("sourceDefinedCursorField") Optional sourceDefinedCursorField, + @JsonProperty("sourceDefinedPrimaryKey") Optional>> sourceDefinedPrimaryKey, + @JsonProperty("streamName") Optional streamName, + @JsonProperty("syncModes") Optional> syncModes) { Utils.checkNotNull(defaultCursorField, "defaultCursorField"); Utils.checkNotNull(propertyFields, "propertyFields"); Utils.checkNotNull(sourceDefinedCursorField, "sourceDefinedCursorField"); @@ -75,63 +77,61 @@ public StreamProperties() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional> defaultCursorField() { - return (Optional>) defaultCursorField; + public Optional> defaultCursorField() { + return (Optional>) defaultCursorField; } @SuppressWarnings("unchecked") @JsonIgnore - public Optional>> propertyFields() { - return (Optional>>) propertyFields; + public Optional>> propertyFields() { + return (Optional>>) propertyFields; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional sourceDefinedCursorField() { - return (Optional) sourceDefinedCursorField; + return sourceDefinedCursorField; } @SuppressWarnings("unchecked") @JsonIgnore - public Optional>> sourceDefinedPrimaryKey() { - return (Optional>>) sourceDefinedPrimaryKey; + public Optional>> sourceDefinedPrimaryKey() { + return (Optional>>) sourceDefinedPrimaryKey; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional streamName() { - return (Optional) streamName; + return streamName; } @SuppressWarnings("unchecked") @JsonIgnore - public Optional> syncModes() { - return (Optional>) syncModes; + public Optional> syncModes() { + return (Optional>) syncModes; } public final static Builder builder() { return new Builder(); } - public StreamProperties withDefaultCursorField(java.util.List defaultCursorField) { + public StreamProperties withDefaultCursorField(List defaultCursorField) { Utils.checkNotNull(defaultCursorField, "defaultCursorField"); this.defaultCursorField = Optional.ofNullable(defaultCursorField); return this; } - public StreamProperties withDefaultCursorField(Optional> defaultCursorField) { + public StreamProperties withDefaultCursorField(Optional> defaultCursorField) { Utils.checkNotNull(defaultCursorField, "defaultCursorField"); this.defaultCursorField = defaultCursorField; return this; } - public StreamProperties withPropertyFields(java.util.List> propertyFields) { + public StreamProperties withPropertyFields(List> propertyFields) { Utils.checkNotNull(propertyFields, "propertyFields"); this.propertyFields = Optional.ofNullable(propertyFields); return this; } - public StreamProperties withPropertyFields(Optional>> propertyFields) { + public StreamProperties withPropertyFields(Optional>> propertyFields) { Utils.checkNotNull(propertyFields, "propertyFields"); this.propertyFields = propertyFields; return this; @@ -143,19 +143,19 @@ public StreamProperties withSourceDefinedCursorField(boolean sourceDefinedCursor return this; } - public StreamProperties withSourceDefinedCursorField(Optional sourceDefinedCursorField) { + public StreamProperties withSourceDefinedCursorField(Optional sourceDefinedCursorField) { Utils.checkNotNull(sourceDefinedCursorField, "sourceDefinedCursorField"); this.sourceDefinedCursorField = sourceDefinedCursorField; return this; } - public StreamProperties withSourceDefinedPrimaryKey(java.util.List> sourceDefinedPrimaryKey) { + public StreamProperties withSourceDefinedPrimaryKey(List> sourceDefinedPrimaryKey) { Utils.checkNotNull(sourceDefinedPrimaryKey, "sourceDefinedPrimaryKey"); this.sourceDefinedPrimaryKey = Optional.ofNullable(sourceDefinedPrimaryKey); return this; } - public StreamProperties withSourceDefinedPrimaryKey(Optional>> sourceDefinedPrimaryKey) { + public StreamProperties withSourceDefinedPrimaryKey(Optional>> sourceDefinedPrimaryKey) { Utils.checkNotNull(sourceDefinedPrimaryKey, "sourceDefinedPrimaryKey"); this.sourceDefinedPrimaryKey = sourceDefinedPrimaryKey; return this; @@ -167,19 +167,19 @@ public StreamProperties withStreamName(String streamName) { return this; } - public StreamProperties withStreamName(Optional streamName) { + public StreamProperties withStreamName(Optional streamName) { Utils.checkNotNull(streamName, "streamName"); this.streamName = streamName; return this; } - public StreamProperties withSyncModes(java.util.List syncModes) { + public StreamProperties withSyncModes(List syncModes) { Utils.checkNotNull(syncModes, "syncModes"); this.syncModes = Optional.ofNullable(syncModes); return this; } - public StreamProperties withSyncModes(Optional> syncModes) { + public StreamProperties withSyncModes(Optional> syncModes) { Utils.checkNotNull(syncModes, "syncModes"); this.syncModes = syncModes; return this; @@ -195,17 +195,17 @@ public boolean equals(java.lang.Object o) { } StreamProperties other = (StreamProperties) o; return - java.util.Objects.deepEquals(this.defaultCursorField, other.defaultCursorField) && - java.util.Objects.deepEquals(this.propertyFields, other.propertyFields) && - java.util.Objects.deepEquals(this.sourceDefinedCursorField, other.sourceDefinedCursorField) && - java.util.Objects.deepEquals(this.sourceDefinedPrimaryKey, other.sourceDefinedPrimaryKey) && - java.util.Objects.deepEquals(this.streamName, other.streamName) && - java.util.Objects.deepEquals(this.syncModes, other.syncModes); + Objects.deepEquals(this.defaultCursorField, other.defaultCursorField) && + Objects.deepEquals(this.propertyFields, other.propertyFields) && + Objects.deepEquals(this.sourceDefinedCursorField, other.sourceDefinedCursorField) && + Objects.deepEquals(this.sourceDefinedPrimaryKey, other.sourceDefinedPrimaryKey) && + Objects.deepEquals(this.streamName, other.streamName) && + Objects.deepEquals(this.syncModes, other.syncModes); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( defaultCursorField, propertyFields, sourceDefinedCursorField, @@ -227,41 +227,41 @@ public String toString() { public final static class Builder { - private Optional> defaultCursorField = Optional.empty(); + private Optional> defaultCursorField = Optional.empty(); - private Optional>> propertyFields = Optional.empty(); + private Optional>> propertyFields = Optional.empty(); - private Optional sourceDefinedCursorField = Optional.empty(); + private Optional sourceDefinedCursorField = Optional.empty(); - private Optional>> sourceDefinedPrimaryKey = Optional.empty(); + private Optional>> sourceDefinedPrimaryKey = Optional.empty(); - private Optional streamName = Optional.empty(); + private Optional streamName = Optional.empty(); - private Optional> syncModes = Optional.empty(); + private Optional> syncModes = Optional.empty(); private Builder() { // force use of static builder() method } - public Builder defaultCursorField(java.util.List defaultCursorField) { + public Builder defaultCursorField(List defaultCursorField) { Utils.checkNotNull(defaultCursorField, "defaultCursorField"); this.defaultCursorField = Optional.ofNullable(defaultCursorField); return this; } - public Builder defaultCursorField(Optional> defaultCursorField) { + public Builder defaultCursorField(Optional> defaultCursorField) { Utils.checkNotNull(defaultCursorField, "defaultCursorField"); this.defaultCursorField = defaultCursorField; return this; } - public Builder propertyFields(java.util.List> propertyFields) { + public Builder propertyFields(List> propertyFields) { Utils.checkNotNull(propertyFields, "propertyFields"); this.propertyFields = Optional.ofNullable(propertyFields); return this; } - public Builder propertyFields(Optional>> propertyFields) { + public Builder propertyFields(Optional>> propertyFields) { Utils.checkNotNull(propertyFields, "propertyFields"); this.propertyFields = propertyFields; return this; @@ -273,19 +273,19 @@ public Builder sourceDefinedCursorField(boolean sourceDefinedCursorField) { return this; } - public Builder sourceDefinedCursorField(Optional sourceDefinedCursorField) { + public Builder sourceDefinedCursorField(Optional sourceDefinedCursorField) { Utils.checkNotNull(sourceDefinedCursorField, "sourceDefinedCursorField"); this.sourceDefinedCursorField = sourceDefinedCursorField; return this; } - public Builder sourceDefinedPrimaryKey(java.util.List> sourceDefinedPrimaryKey) { + public Builder sourceDefinedPrimaryKey(List> sourceDefinedPrimaryKey) { Utils.checkNotNull(sourceDefinedPrimaryKey, "sourceDefinedPrimaryKey"); this.sourceDefinedPrimaryKey = Optional.ofNullable(sourceDefinedPrimaryKey); return this; } - public Builder sourceDefinedPrimaryKey(Optional>> sourceDefinedPrimaryKey) { + public Builder sourceDefinedPrimaryKey(Optional>> sourceDefinedPrimaryKey) { Utils.checkNotNull(sourceDefinedPrimaryKey, "sourceDefinedPrimaryKey"); this.sourceDefinedPrimaryKey = sourceDefinedPrimaryKey; return this; @@ -297,19 +297,19 @@ public Builder streamName(String streamName) { return this; } - public Builder streamName(Optional streamName) { + public Builder streamName(Optional streamName) { Utils.checkNotNull(streamName, "streamName"); this.streamName = streamName; return this; } - public Builder syncModes(java.util.List syncModes) { + public Builder syncModes(List syncModes) { Utils.checkNotNull(syncModes, "syncModes"); this.syncModes = Optional.ofNullable(syncModes); return this; } - public Builder syncModes(Optional> syncModes) { + public Builder syncModes(Optional> syncModes) { Utils.checkNotNull(syncModes, "syncModes"); this.syncModes = syncModes; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/StreamsCriteria.java b/src/main/java/com/airbyte/api/models/shared/StreamsCriteria.java index a3fd5c239..0bf08687a 100644 --- a/src/main/java/com/airbyte/api/models/shared/StreamsCriteria.java +++ b/src/main/java/com/airbyte/api/models/shared/StreamsCriteria.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class StreamsCriteria { @JsonInclude(Include.NON_ABSENT) @@ -86,13 +87,13 @@ public boolean equals(java.lang.Object o) { } StreamsCriteria other = (StreamsCriteria) o; return - java.util.Objects.deepEquals(this.criteria, other.criteria) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.criteria, other.criteria) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( criteria, value); } @@ -135,8 +136,7 @@ public Builder value(String value) { public StreamsCriteria build() { if (criteria == null) { criteria = _SINGLETON_VALUE_Criteria.value(); - } - return new StreamsCriteria( + } return new StreamsCriteria( criteria, value); } diff --git a/src/main/java/com/airbyte/api/models/shared/StringFilter.java b/src/main/java/com/airbyte/api/models/shared/StringFilter.java index 90560b9ba..b591d00ed 100644 --- a/src/main/java/com/airbyte/api/models/shared/StringFilter.java +++ b/src/main/java/com/airbyte/api/models/shared/StringFilter.java @@ -1,44 +1,47 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class StringFilter { @JsonInclude(Include.NON_ABSENT) @JsonProperty("caseSensitive") - private Optional caseSensitive; + private Optional caseSensitive; @JsonProperty("filter_name") private FilterName filterName; @JsonInclude(Include.NON_ABSENT) @JsonProperty("matchType") - private Optional> matchType; + private Optional> matchType; @JsonProperty("value") private String value; @JsonCreator public StringFilter( - @JsonProperty("caseSensitive") Optional caseSensitive, - @JsonProperty("matchType") Optional> matchType, + @JsonProperty("caseSensitive") Optional caseSensitive, + @JsonProperty("matchType") Optional> matchType, @JsonProperty("value") String value) { Utils.checkNotNull(caseSensitive, "caseSensitive"); Utils.checkNotNull(matchType, "matchType"); @@ -54,10 +57,9 @@ public StringFilter( this(Optional.empty(), Optional.empty(), value); } - @SuppressWarnings("unchecked") @JsonIgnore public Optional caseSensitive() { - return (Optional) caseSensitive; + return caseSensitive; } @JsonIgnore @@ -67,8 +69,8 @@ public FilterName filterName() { @SuppressWarnings("unchecked") @JsonIgnore - public Optional> matchType() { - return (Optional>) matchType; + public Optional> matchType() { + return (Optional>) matchType; } @JsonIgnore @@ -86,19 +88,19 @@ public StringFilter withCaseSensitive(boolean caseSensitive) { return this; } - public StringFilter withCaseSensitive(Optional caseSensitive) { + public StringFilter withCaseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public StringFilter withMatchType(java.util.List matchType) { + public StringFilter withMatchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public StringFilter withMatchType(Optional> matchType) { + public StringFilter withMatchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; @@ -120,15 +122,15 @@ public boolean equals(java.lang.Object o) { } StringFilter other = (StringFilter) o; return - java.util.Objects.deepEquals(this.caseSensitive, other.caseSensitive) && - java.util.Objects.deepEquals(this.filterName, other.filterName) && - java.util.Objects.deepEquals(this.matchType, other.matchType) && - java.util.Objects.deepEquals(this.value, other.value); + Objects.deepEquals(this.caseSensitive, other.caseSensitive) && + Objects.deepEquals(this.filterName, other.filterName) && + Objects.deepEquals(this.matchType, other.matchType) && + Objects.deepEquals(this.value, other.value); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caseSensitive, filterName, matchType, @@ -146,9 +148,9 @@ public String toString() { public final static class Builder { - private Optional caseSensitive = Optional.empty(); + private Optional caseSensitive = Optional.empty(); - private Optional> matchType = Optional.empty(); + private Optional> matchType = Optional.empty(); private String value; @@ -162,19 +164,19 @@ public Builder caseSensitive(boolean caseSensitive) { return this; } - public Builder caseSensitive(Optional caseSensitive) { + public Builder caseSensitive(Optional caseSensitive) { Utils.checkNotNull(caseSensitive, "caseSensitive"); this.caseSensitive = caseSensitive; return this; } - public Builder matchType(java.util.List matchType) { + public Builder matchType(List matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = Optional.ofNullable(matchType); return this; } - public Builder matchType(Optional> matchType) { + public Builder matchType(Optional> matchType) { Utils.checkNotNull(matchType, "matchType"); this.matchType = matchType; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Stripe.java b/src/main/java/com/airbyte/api/models/shared/Stripe.java index 2aff989cd..cb8800203 100644 --- a/src/main/java/com/airbyte/api/models/shared/Stripe.java +++ b/src/main/java/com/airbyte/api/models/shared/Stripe.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Stripe { STRIPE("stripe"); diff --git a/src/main/java/com/airbyte/api/models/shared/SurveyMonkeyAuthorizationMethod.java b/src/main/java/com/airbyte/api/models/shared/SurveyMonkeyAuthorizationMethod.java index a758c4af6..d80cdfacc 100644 --- a/src/main/java/com/airbyte/api/models/shared/SurveyMonkeyAuthorizationMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/SurveyMonkeyAuthorizationMethod.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * SurveyMonkeyAuthorizationMethod - The authorization method to use to retrieve data from SurveyMonkey */ @@ -38,20 +38,20 @@ public class SurveyMonkeyAuthorizationMethod { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of the SurveyMonkey developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public SurveyMonkeyAuthorizationMethod( @JsonProperty("access_token") String accessToken, - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(accessToken, "accessToken"); Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); @@ -82,19 +82,17 @@ public SourceSurveymonkeyAuthMethod authMethod() { /** * The Client ID of the SurveyMonkey developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of the SurveyMonkey developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -122,7 +120,7 @@ public SurveyMonkeyAuthorizationMethod withClientId(String clientId) { /** * The Client ID of the SurveyMonkey developer application. */ - public SurveyMonkeyAuthorizationMethod withClientId(Optional clientId) { + public SurveyMonkeyAuthorizationMethod withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -140,7 +138,7 @@ public SurveyMonkeyAuthorizationMethod withClientSecret(String clientSecret) { /** * The Client Secret of the SurveyMonkey developer application. */ - public SurveyMonkeyAuthorizationMethod withClientSecret(Optional clientSecret) { + public SurveyMonkeyAuthorizationMethod withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -156,15 +154,15 @@ public boolean equals(java.lang.Object o) { } SurveyMonkeyAuthorizationMethod other = (SurveyMonkeyAuthorizationMethod) o; return - java.util.Objects.deepEquals(this.accessToken, other.accessToken) && - java.util.Objects.deepEquals(this.authMethod, other.authMethod) && - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.accessToken, other.accessToken) && + Objects.deepEquals(this.authMethod, other.authMethod) && + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( accessToken, authMethod, clientId, @@ -184,9 +182,9 @@ public final static class Builder { private String accessToken; - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -213,7 +211,7 @@ public Builder clientId(String clientId) { /** * The Client ID of the SurveyMonkey developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -231,7 +229,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of the SurveyMonkey developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/SurveySparrow.java b/src/main/java/com/airbyte/api/models/shared/SurveySparrow.java index bdf1adbdd..15a1f0fd2 100644 --- a/src/main/java/com/airbyte/api/models/shared/SurveySparrow.java +++ b/src/main/java/com/airbyte/api/models/shared/SurveySparrow.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum SurveySparrow { SURVEY_SPARROW("survey-sparrow"); diff --git a/src/main/java/com/airbyte/api/models/shared/Surveymonkey.java b/src/main/java/com/airbyte/api/models/shared/Surveymonkey.java index 33c4b2eb9..e4c875c00 100644 --- a/src/main/java/com/airbyte/api/models/shared/Surveymonkey.java +++ b/src/main/java/com/airbyte/api/models/shared/Surveymonkey.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Surveymonkey { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Surveymonkey other = (Surveymonkey) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/SurveymonkeyCredentials.java b/src/main/java/com/airbyte/api/models/shared/SurveymonkeyCredentials.java index 6e119655e..18fa3ec38 100644 --- a/src/main/java/com/airbyte/api/models/shared/SurveymonkeyCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/SurveymonkeyCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class SurveymonkeyCredentials { /** @@ -25,19 +24,19 @@ public class SurveymonkeyCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of the SurveyMonkey developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public SurveymonkeyCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public SurveymonkeyCredentials() { /** * The Client ID of the SurveyMonkey developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of the SurveyMonkey developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public SurveymonkeyCredentials withClientId(String clientId) { /** * The Client ID of the SurveyMonkey developer application. */ - public SurveymonkeyCredentials withClientId(Optional clientId) { + public SurveymonkeyCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public SurveymonkeyCredentials withClientSecret(String clientSecret) { /** * The Client Secret of the SurveyMonkey developer application. */ - public SurveymonkeyCredentials withClientSecret(Optional clientSecret) { + public SurveymonkeyCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } SurveymonkeyCredentials other = (SurveymonkeyCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of the SurveyMonkey developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of the SurveyMonkey developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Survicate.java b/src/main/java/com/airbyte/api/models/shared/Survicate.java index fda6bb1af..35e7e50d5 100644 --- a/src/main/java/com/airbyte/api/models/shared/Survicate.java +++ b/src/main/java/com/airbyte/api/models/shared/Survicate.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Survicate { SURVICATE("survicate"); diff --git a/src/main/java/com/airbyte/api/models/shared/SwipeUpAttributionWindow.java b/src/main/java/com/airbyte/api/models/shared/SwipeUpAttributionWindow.java index f85b496c3..2287c653b 100644 --- a/src/main/java/com/airbyte/api/models/shared/SwipeUpAttributionWindow.java +++ b/src/main/java/com/airbyte/api/models/shared/SwipeUpAttributionWindow.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * SwipeUpAttributionWindow - Attribution window for swipe ups. diff --git a/src/main/java/com/airbyte/api/models/shared/SystemIDSID.java b/src/main/java/com/airbyte/api/models/shared/SystemIDSID.java index 2d82ee7f1..ca8c298e1 100644 --- a/src/main/java/com/airbyte/api/models/shared/SystemIDSID.java +++ b/src/main/java/com/airbyte/api/models/shared/SystemIDSID.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * SystemIDSID - Use SID (Oracle System Identifier) */ @@ -70,13 +71,13 @@ public boolean equals(java.lang.Object o) { } SystemIDSID other = (SystemIDSID) o; return - java.util.Objects.deepEquals(this.connectionType, other.connectionType) && - java.util.Objects.deepEquals(this.sid, other.sid); + Objects.deepEquals(this.connectionType, other.connectionType) && + Objects.deepEquals(this.sid, other.sid); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( connectionType, sid); } diff --git a/src/main/java/com/airbyte/api/models/shared/Systeme.java b/src/main/java/com/airbyte/api/models/shared/Systeme.java new file mode 100644 index 000000000..8c908cd38 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Systeme.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Systeme { + SYSTEME("systeme"); + + @JsonValue + private final String value; + + private Systeme(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/TLSEncryptedVerifyCertificate.java b/src/main/java/com/airbyte/api/models/shared/TLSEncryptedVerifyCertificate.java index e4dcd9b60..36c116e5f 100644 --- a/src/main/java/com/airbyte/api/models/shared/TLSEncryptedVerifyCertificate.java +++ b/src/main/java/com/airbyte/api/models/shared/TLSEncryptedVerifyCertificate.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * TLSEncryptedVerifyCertificate - Verify and use the certificate provided by the server. */ @@ -79,13 +80,13 @@ public boolean equals(java.lang.Object o) { } TLSEncryptedVerifyCertificate other = (TLSEncryptedVerifyCertificate) o; return - java.util.Objects.deepEquals(this.encryptionMethod, other.encryptionMethod) && - java.util.Objects.deepEquals(this.sslCertificate, other.sslCertificate); + Objects.deepEquals(this.encryptionMethod, other.encryptionMethod) && + Objects.deepEquals(this.sslCertificate, other.sslCertificate); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( encryptionMethod, sslCertificate); } diff --git a/src/main/java/com/airbyte/api/models/shared/Taboola.java b/src/main/java/com/airbyte/api/models/shared/Taboola.java new file mode 100644 index 000000000..96d01aea9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Taboola.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Taboola { + TABOOLA("taboola"); + + @JsonValue + private final String value; + + private Taboola(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/TargetsType.java b/src/main/java/com/airbyte/api/models/shared/TargetsType.java index d459ca7a7..72d2100fd 100644 --- a/src/main/java/com/airbyte/api/models/shared/TargetsType.java +++ b/src/main/java/com/airbyte/api/models/shared/TargetsType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum TargetsType { WSN_STATION_NUMBERS("WSN station numbers"), diff --git a/src/main/java/com/airbyte/api/models/shared/Teamtailor.java b/src/main/java/com/airbyte/api/models/shared/Teamtailor.java new file mode 100644 index 000000000..65b212ddb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Teamtailor.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Teamtailor { + TEAMTAILOR("teamtailor"); + + @JsonValue + private final String value; + + private Teamtailor(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Teamwork.java b/src/main/java/com/airbyte/api/models/shared/Teamwork.java index 55dbb7b8f..fa38f0c6c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Teamwork.java +++ b/src/main/java/com/airbyte/api/models/shared/Teamwork.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Teamwork { TEAMWORK("teamwork"); diff --git a/src/main/java/com/airbyte/api/models/shared/TechnicalIndicatorType.java b/src/main/java/com/airbyte/api/models/shared/TechnicalIndicatorType.java new file mode 100644 index 000000000..8d92285db --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/TechnicalIndicatorType.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * TechnicalIndicatorType - One of DEMA, EMA, SMA, WMA, RSI, TEMA, Williams, ADX + */ +public enum TechnicalIndicatorType { + DEMA("DEMA"), + EMA("EMA"), + SMA("SMA"), + WMA("WMA"), + RSI("RSI"), + TEMA("TEMA"), + WILLIAMS("Williams"), + ADX("ADX"); + + @JsonValue + private final String value; + + private TechnicalIndicatorType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Tempo.java b/src/main/java/com/airbyte/api/models/shared/Tempo.java index 20b7ae664..aeeb6f95d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Tempo.java +++ b/src/main/java/com/airbyte/api/models/shared/Tempo.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Tempo { TEMPO("tempo"); diff --git a/src/main/java/com/airbyte/api/models/shared/Teradata.java b/src/main/java/com/airbyte/api/models/shared/Teradata.java index 393168c90..74b42b96d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Teradata.java +++ b/src/main/java/com/airbyte/api/models/shared/Teradata.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Teradata { TERADATA("teradata"); diff --git a/src/main/java/com/airbyte/api/models/shared/TestDestination.java b/src/main/java/com/airbyte/api/models/shared/TestDestination.java new file mode 100644 index 000000000..afa8f4269 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/TestDestination.java @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.OneOfDeserializer; +import com.airbyte.api.utils.TypedObject; +import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; + +/** + * TestDestination - The type of destination to be used + */ + +@JsonDeserialize(using = TestDestination._Deserializer.class) +public class TestDestination { + + @JsonValue + private TypedObject value; + + private TestDestination(TypedObject value) { + this.value = value; + } + + public static TestDestination of(Logging value) { + Utils.checkNotNull(value, "value"); + return new TestDestination(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static TestDestination of(Silent value) { + Utils.checkNotNull(value, "value"); + return new TestDestination(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static TestDestination of(Throttled value) { + Utils.checkNotNull(value, "value"); + return new TestDestination(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static TestDestination of(Failing value) { + Utils.checkNotNull(value, "value"); + return new TestDestination(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

      + *
    • {@code com.airbyte.api.models.shared.Logging}
    • + *
    • {@code com.airbyte.api.models.shared.Silent}
    • + *
    • {@code com.airbyte.api.models.shared.Throttled}
    • + *
    • {@code com.airbyte.api.models.shared.Failing}
    • + *
    + * + *

    Use {@code instanceof} to determine what type is returned. For example: + * + *

    +     * if (obj.value() instanceof String) {
    +     *     String answer = (String) obj.value();
    +     *     System.out.println("answer=" + answer);
    +     * }
    +     * 
    + * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TestDestination other = (TestDestination) o; + return Objects.deepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Objects.hash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(TestDestination.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(TestDestination.class, + "value", value); + } + +} diff --git a/src/main/java/com/airbyte/api/models/shared/TestDestinationType.java b/src/main/java/com/airbyte/api/models/shared/TestDestinationType.java new file mode 100644 index 000000000..5bce42ef3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/TestDestinationType.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum TestDestinationType { + LOGGING("LOGGING"); + + @JsonValue + private final String value; + + private TestDestinationType(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Testrail.java b/src/main/java/com/airbyte/api/models/shared/Testrail.java new file mode 100644 index 000000000..3b54c7a23 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Testrail.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Testrail { + TESTRAIL("testrail"); + + @JsonValue + private final String value; + + private Testrail(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/TextSplitter.java b/src/main/java/com/airbyte/api/models/shared/TextSplitter.java index 89851fd87..46c60631d 100644 --- a/src/main/java/com/airbyte/api/models/shared/TextSplitter.java +++ b/src/main/java/com/airbyte/api/models/shared/TextSplitter.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * TextSplitter - Split text fields into chunks based on the specified method. @@ -28,7 +25,7 @@ @JsonDeserialize(using = TextSplitter._Deserializer.class) public class TextSplitter { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private TextSplitter(TypedObject value) { @@ -53,9 +50,9 @@ public static TextSplitter of(ByProgrammingLanguage value) { /** * Returns an instance of one of these types: *
      - *
    • {@code BySeparator}
    • - *
    • {@code ByMarkdownHeader}
    • - *
    • {@code ByProgrammingLanguage}
    • + *
    • {@code com.airbyte.api.models.shared.BySeparator}
    • + *
    • {@code com.airbyte.api.models.shared.ByMarkdownHeader}
    • + *
    • {@code com.airbyte.api.models.shared.ByProgrammingLanguage}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -82,22 +79,22 @@ public boolean equals(java.lang.Object o) { return false; } TextSplitter other = (TextSplitter) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(TextSplitter.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(TextSplitter.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/TheGuardianApi.java b/src/main/java/com/airbyte/api/models/shared/TheGuardianApi.java index 1bfc9bab6..88776c1f8 100644 --- a/src/main/java/com/airbyte/api/models/shared/TheGuardianApi.java +++ b/src/main/java/com/airbyte/api/models/shared/TheGuardianApi.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum TheGuardianApi { THE_GUARDIAN_API("the-guardian-api"); diff --git a/src/main/java/com/airbyte/api/models/shared/Thinkific.java b/src/main/java/com/airbyte/api/models/shared/Thinkific.java new file mode 100644 index 000000000..b886ac532 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Thinkific.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Thinkific { + THINKIFIC("thinkific"); + + @JsonValue + private final String value; + + private Thinkific(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Throttled.java b/src/main/java/com/airbyte/api/models/shared/Throttled.java new file mode 100644 index 000000000..09c03bebc --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Throttled.java @@ -0,0 +1,214 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + + +import com.airbyte.api.utils.LazySingletonValue; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.type.TypeReference; +import java.lang.Long; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + + +public class Throttled { + + @JsonIgnore + private Map additionalProperties; + + /** + * The number of milliseconds to wait between each record. + */ + @JsonProperty("millis_per_record") + private long millisPerRecord; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("test_destination_type") + private Optional testDestinationType; + + @JsonCreator + public Throttled( + @JsonProperty("millis_per_record") long millisPerRecord, + @JsonProperty("test_destination_type") Optional testDestinationType) { + Utils.checkNotNull(millisPerRecord, "millisPerRecord"); + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.additionalProperties = new HashMap<>(); + this.millisPerRecord = millisPerRecord; + this.testDestinationType = testDestinationType; + } + + public Throttled( + long millisPerRecord) { + this(millisPerRecord, Optional.empty()); + } + + @JsonAnyGetter + public Map additionalProperties() { + return additionalProperties; + } + + /** + * The number of milliseconds to wait between each record. + */ + @JsonIgnore + public long millisPerRecord() { + return millisPerRecord; + } + + @SuppressWarnings("unchecked") + @JsonIgnore + public Optional testDestinationType() { + return (Optional) testDestinationType; + } + + public final static Builder builder() { + return new Builder(); + } + + @JsonAnySetter + public Throttled withAdditionalProperty(String key, Object value) { + // note that value can be null because of the way JsonAnySetter works + Utils.checkNotNull(key, "key"); + additionalProperties.put(key, value); + return this; + } + + public Throttled withAdditionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The number of milliseconds to wait between each record. + */ + public Throttled withMillisPerRecord(long millisPerRecord) { + Utils.checkNotNull(millisPerRecord, "millisPerRecord"); + this.millisPerRecord = millisPerRecord; + return this; + } + + public Throttled withTestDestinationType(DestinationDevNullSchemasTestDestinationType testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = Optional.ofNullable(testDestinationType); + return this; + } + + public Throttled withTestDestinationType(Optional testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = testDestinationType; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Throttled other = (Throttled) o; + return + Objects.deepEquals(this.additionalProperties, other.additionalProperties) && + Objects.deepEquals(this.millisPerRecord, other.millisPerRecord) && + Objects.deepEquals(this.testDestinationType, other.testDestinationType); + } + + @Override + public int hashCode() { + return Objects.hash( + additionalProperties, + millisPerRecord, + testDestinationType); + } + + @Override + public String toString() { + return Utils.toString(Throttled.class, + "additionalProperties", additionalProperties, + "millisPerRecord", millisPerRecord, + "testDestinationType", testDestinationType); + } + + public final static class Builder { + + private Map additionalProperties = new HashMap<>(); + + private Long millisPerRecord; + + private Optional testDestinationType; + + private Builder() { + // force use of static builder() method + } + + public Builder additionalProperty(String key, Object value) { + Utils.checkNotNull(key, "key"); + // we could be strict about null values (force the user + // to pass `JsonNullable.of(null)`) but likely to be a bit + // annoying for additional properties building so we'll + // relax preconditions. + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + Utils.checkNotNull(additionalProperties, "additionalProperties"); + this.additionalProperties = additionalProperties; + return this; + } + + /** + * The number of milliseconds to wait between each record. + */ + public Builder millisPerRecord(long millisPerRecord) { + Utils.checkNotNull(millisPerRecord, "millisPerRecord"); + this.millisPerRecord = millisPerRecord; + return this; + } + + public Builder testDestinationType(DestinationDevNullSchemasTestDestinationType testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = Optional.ofNullable(testDestinationType); + return this; + } + + public Builder testDestinationType(Optional testDestinationType) { + Utils.checkNotNull(testDestinationType, "testDestinationType"); + this.testDestinationType = testDestinationType; + return this; + } + + public Throttled build() { + if (testDestinationType == null) { + testDestinationType = _SINGLETON_VALUE_TestDestinationType.value(); + } return new Throttled( + millisPerRecord, + testDestinationType) + .withAdditionalProperties(additionalProperties); + } + + private static final LazySingletonValue> _SINGLETON_VALUE_TestDestinationType = + new LazySingletonValue<>( + "test_destination_type", + "\"THROTTLED\"", + new TypeReference>() {}); + } +} + diff --git a/src/main/java/com/airbyte/api/models/shared/Ticketmaster.java b/src/main/java/com/airbyte/api/models/shared/Ticketmaster.java new file mode 100644 index 000000000..4c1d18fca --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Ticketmaster.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Ticketmaster { + TICKETMASTER("ticketmaster"); + + @JsonValue + private final String value; + + private Ticketmaster(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Tickettailor.java b/src/main/java/com/airbyte/api/models/shared/Tickettailor.java new file mode 100644 index 000000000..1962623e7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Tickettailor.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Tickettailor { + TICKETTAILOR("tickettailor"); + + @JsonValue + private final String value; + + private Tickettailor(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/TiktokMarketing.java b/src/main/java/com/airbyte/api/models/shared/TiktokMarketing.java index 755325d87..0c457a4dd 100644 --- a/src/main/java/com/airbyte/api/models/shared/TiktokMarketing.java +++ b/src/main/java/com/airbyte/api/models/shared/TiktokMarketing.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class TiktokMarketing { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } TiktokMarketing other = (TiktokMarketing) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/TiktokMarketingCredentials.java b/src/main/java/com/airbyte/api/models/shared/TiktokMarketingCredentials.java index 2d167953d..eaf30e0c1 100644 --- a/src/main/java/com/airbyte/api/models/shared/TiktokMarketingCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/TiktokMarketingCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class TiktokMarketingCredentials { /** @@ -25,19 +24,19 @@ public class TiktokMarketingCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("app_id") - private Optional appId; + private Optional appId; /** * The Developer Application Secret. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("secret") - private Optional secret; + private Optional secret; @JsonCreator public TiktokMarketingCredentials( - @JsonProperty("app_id") Optional appId, - @JsonProperty("secret") Optional secret) { + @JsonProperty("app_id") Optional appId, + @JsonProperty("secret") Optional secret) { Utils.checkNotNull(appId, "appId"); Utils.checkNotNull(secret, "secret"); this.appId = appId; @@ -51,19 +50,17 @@ public TiktokMarketingCredentials() { /** * The Developer Application App ID. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional appId() { - return (Optional) appId; + return appId; } /** * The Developer Application Secret. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional secret() { - return (Optional) secret; + return secret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public TiktokMarketingCredentials withAppId(String appId) { /** * The Developer Application App ID. */ - public TiktokMarketingCredentials withAppId(Optional appId) { + public TiktokMarketingCredentials withAppId(Optional appId) { Utils.checkNotNull(appId, "appId"); this.appId = appId; return this; @@ -100,7 +97,7 @@ public TiktokMarketingCredentials withSecret(String secret) { /** * The Developer Application Secret. */ - public TiktokMarketingCredentials withSecret(Optional secret) { + public TiktokMarketingCredentials withSecret(Optional secret) { Utils.checkNotNull(secret, "secret"); this.secret = secret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } TiktokMarketingCredentials other = (TiktokMarketingCredentials) o; return - java.util.Objects.deepEquals(this.appId, other.appId) && - java.util.Objects.deepEquals(this.secret, other.secret); + Objects.deepEquals(this.appId, other.appId) && + Objects.deepEquals(this.secret, other.secret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( appId, secret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional appId = Optional.empty(); + private Optional appId = Optional.empty(); - private Optional secret = Optional.empty(); + private Optional secret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder appId(String appId) { /** * The Developer Application App ID. */ - public Builder appId(Optional appId) { + public Builder appId(Optional appId) { Utils.checkNotNull(appId, "appId"); this.appId = appId; return this; @@ -174,7 +171,7 @@ public Builder secret(String secret) { /** * The Developer Application Secret. */ - public Builder secret(Optional secret) { + public Builder secret(Optional secret) { Utils.checkNotNull(secret, "secret"); this.secret = secret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/TimeAggregates.java b/src/main/java/com/airbyte/api/models/shared/TimeAggregates.java new file mode 100644 index 000000000..5f805d5d1 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/TimeAggregates.java @@ -0,0 +1,32 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * TimeAggregates - Size of the time + */ +public enum TimeAggregates { + MINUTE("minute"), + HOUR("hour"), + DAY("day"), + WEEK("week"), + MONTH("month"), + QUARTER("quarter"), + YEAR("year"); + + @JsonValue + private final String value; + + private TimeAggregates(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/TimeFrame.java b/src/main/java/com/airbyte/api/models/shared/TimeFrame.java new file mode 100644 index 000000000..5146f00c0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/TimeFrame.java @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * TimeFrame - For example 1min, 5min, 15min, 30min, 1hour, 4hour + */ +public enum TimeFrame { + ONEMIN("1min"), + FIVEMIN("5min"), + FIFTEENMIN("15min"), + THIRTYMIN("30min"), + ONEHOUR("1hour"), + FOURHOUR("4hour"); + + @JsonValue + private final String value; + + private TimeFrame(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/TimeGranularity.java b/src/main/java/com/airbyte/api/models/shared/TimeGranularity.java index 53bdf5afb..a38b6aa5c 100644 --- a/src/main/java/com/airbyte/api/models/shared/TimeGranularity.java +++ b/src/main/java/com/airbyte/api/models/shared/TimeGranularity.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * TimeGranularity - Choose how to group the data in your report by time. The options are:<br>- 'ALL': A single result summarizing the entire time range.<br>- 'DAILY': Group results by each day.<br>- 'MONTHLY': Group results by each month.<br>- 'YEARLY': Group results by each year.<br>Selecting a time grouping helps you analyze trends and patterns over different time periods. diff --git a/src/main/java/com/airbyte/api/models/shared/TimeGranularityType.java b/src/main/java/com/airbyte/api/models/shared/TimeGranularityType.java index 2f51975e5..24933d777 100644 --- a/src/main/java/com/airbyte/api/models/shared/TimeGranularityType.java +++ b/src/main/java/com/airbyte/api/models/shared/TimeGranularityType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * TimeGranularityType - Granularity of the statistics for metrics per time period. Must be either "DAY" or "MONTH" diff --git a/src/main/java/com/airbyte/api/models/shared/TimeInterval.java b/src/main/java/com/airbyte/api/models/shared/TimeInterval.java new file mode 100644 index 000000000..cc0afe89f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/TimeInterval.java @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum TimeInterval { + DAILY("daily"), + ONEMIN("1min"), + FIVEMIN("5min"), + FIFTEENMIN("15min"), + THIRTYMIN("30min"), + ONEHOUR("1hour"), + FOURHOUR("4hour"); + + @JsonValue + private final String value; + + private TimeInterval(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/TimePeriod.java b/src/main/java/com/airbyte/api/models/shared/TimePeriod.java new file mode 100644 index 000000000..bb1b26c26 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/TimePeriod.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * TimePeriod - Time Period for cash flow stmts + */ +public enum TimePeriod { + ANNUAL("annual"), + QUARTER("quarter"); + + @JsonValue + private final String value; + + private TimePeriod(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Timely.java b/src/main/java/com/airbyte/api/models/shared/Timely.java new file mode 100644 index 000000000..9e46062ca --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Timely.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Timely { + TIMELY("timely"); + + @JsonValue + private final String value; + + private Timely(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Timeplus.java b/src/main/java/com/airbyte/api/models/shared/Timeplus.java index 29bebf33f..80da8f2ad 100644 --- a/src/main/java/com/airbyte/api/models/shared/Timeplus.java +++ b/src/main/java/com/airbyte/api/models/shared/Timeplus.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Timeplus { TIMEPLUS("timeplus"); diff --git a/src/main/java/com/airbyte/api/models/shared/Tinyemail.java b/src/main/java/com/airbyte/api/models/shared/Tinyemail.java new file mode 100644 index 000000000..de4e37f57 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Tinyemail.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Tinyemail { + TINYEMAIL("tinyemail"); + + @JsonValue + private final String value; + + private Tinyemail(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ToValue.java b/src/main/java/com/airbyte/api/models/shared/ToValue.java index a91642332..d8781a621 100644 --- a/src/main/java/com/airbyte/api/models/shared/ToValue.java +++ b/src/main/java/com/airbyte/api/models/shared/ToValue.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = ToValue._Deserializer.class) public class ToValue { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private ToValue(TypedObject value) { @@ -45,8 +42,8 @@ public static ToValue of(SourceGoogleAnalyticsDataApiSchemasDoubleValue value) { /** * Returns an instance of one of these types: *

      - *
    • {@code SourceGoogleAnalyticsDataApiSchemasInt64Value}
    • - *
    • {@code SourceGoogleAnalyticsDataApiSchemasDoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasInt64Value}
    • + *
    • {@code com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiSchemasDoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } ToValue other = (ToValue) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(ToValue.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(ToValue.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Todoist.java b/src/main/java/com/airbyte/api/models/shared/Todoist.java new file mode 100644 index 000000000..4ab571783 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Todoist.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Todoist { + TODOIST("todoist"); + + @JsonValue + private final String value; + + private Todoist(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/TopHeadlinesTopic.java b/src/main/java/com/airbyte/api/models/shared/TopHeadlinesTopic.java index 020c210a4..d7998d23d 100644 --- a/src/main/java/com/airbyte/api/models/shared/TopHeadlinesTopic.java +++ b/src/main/java/com/airbyte/api/models/shared/TopHeadlinesTopic.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * TopHeadlinesTopic - This parameter allows you to change the category for the request. diff --git a/src/main/java/com/airbyte/api/models/shared/TrackPms.java b/src/main/java/com/airbyte/api/models/shared/TrackPms.java new file mode 100644 index 000000000..56721a1b6 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/TrackPms.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum TrackPms { + TRACK_PMS("track-pms"); + + @JsonValue + private final String value; + + private TrackPms(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/TransformationQueryRunType.java b/src/main/java/com/airbyte/api/models/shared/TransformationQueryRunType.java index 070d60304..f01ffda3e 100644 --- a/src/main/java/com/airbyte/api/models/shared/TransformationQueryRunType.java +++ b/src/main/java/com/airbyte/api/models/shared/TransformationQueryRunType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * TransformationQueryRunType - Interactive run type means that the query is executed as soon as possible, and these queries count towards concurrent rate limit and daily limit. Read more about interactive run type <a href="https://cloud.google.com/bigquery/docs/running-queries#queries">here</a>. Batch queries are queued and started as soon as idle resources are available in the BigQuery shared resource pool, which usually occurs within a few minutes. Batch queries don’t count towards your concurrent rate limit. Read more about batch queries <a href="https://cloud.google.com/bigquery/docs/running-queries#batch">here</a>. The default "interactive" value is used if not set explicitly. diff --git a/src/main/java/com/airbyte/api/models/shared/Trello.java b/src/main/java/com/airbyte/api/models/shared/Trello.java index 08d49a9e7..8ec9bade7 100644 --- a/src/main/java/com/airbyte/api/models/shared/Trello.java +++ b/src/main/java/com/airbyte/api/models/shared/Trello.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Trello { TRELLO("trello"); diff --git a/src/main/java/com/airbyte/api/models/shared/Tremendous.java b/src/main/java/com/airbyte/api/models/shared/Tremendous.java new file mode 100644 index 000000000..926309978 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Tremendous.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Tremendous { + TREMENDOUS("tremendous"); + + @JsonValue + private final String value; + + private Tremendous(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Trustpilot.java b/src/main/java/com/airbyte/api/models/shared/Trustpilot.java index b05809e13..09f00ed9c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Trustpilot.java +++ b/src/main/java/com/airbyte/api/models/shared/Trustpilot.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Trustpilot { TRUSTPILOT("trustpilot"); diff --git a/src/main/java/com/airbyte/api/models/shared/TunnelMethod.java b/src/main/java/com/airbyte/api/models/shared/TunnelMethod.java index 5796240e6..b9c4ce0a8 100644 --- a/src/main/java/com/airbyte/api/models/shared/TunnelMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/TunnelMethod.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * TunnelMethod - No ssh tunnel needed to connect to database diff --git a/src/main/java/com/airbyte/api/models/shared/TvmazeSchedule.java b/src/main/java/com/airbyte/api/models/shared/TvmazeSchedule.java index 003e745e1..82352dc62 100644 --- a/src/main/java/com/airbyte/api/models/shared/TvmazeSchedule.java +++ b/src/main/java/com/airbyte/api/models/shared/TvmazeSchedule.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum TvmazeSchedule { TVMAZE_SCHEDULE("tvmaze-schedule"); diff --git a/src/main/java/com/airbyte/api/models/shared/TwelveData.java b/src/main/java/com/airbyte/api/models/shared/TwelveData.java new file mode 100644 index 000000000..eefe0d3b9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/TwelveData.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum TwelveData { + TWELVE_DATA("twelve-data"); + + @JsonValue + private final String value; + + private TwelveData(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Twilio.java b/src/main/java/com/airbyte/api/models/shared/Twilio.java index 4819f4a52..de8162407 100644 --- a/src/main/java/com/airbyte/api/models/shared/Twilio.java +++ b/src/main/java/com/airbyte/api/models/shared/Twilio.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Twilio { TWILIO("twilio"); diff --git a/src/main/java/com/airbyte/api/models/shared/TwilioTaskrouter.java b/src/main/java/com/airbyte/api/models/shared/TwilioTaskrouter.java index ddd7af32a..df8c66867 100644 --- a/src/main/java/com/airbyte/api/models/shared/TwilioTaskrouter.java +++ b/src/main/java/com/airbyte/api/models/shared/TwilioTaskrouter.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum TwilioTaskrouter { TWILIO_TASKROUTER("twilio-taskrouter"); diff --git a/src/main/java/com/airbyte/api/models/shared/Twitter.java b/src/main/java/com/airbyte/api/models/shared/Twitter.java index 80cdf5b52..c59aa67e2 100644 --- a/src/main/java/com/airbyte/api/models/shared/Twitter.java +++ b/src/main/java/com/airbyte/api/models/shared/Twitter.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Twitter { TWITTER("twitter"); diff --git a/src/main/java/com/airbyte/api/models/shared/Typeform.java b/src/main/java/com/airbyte/api/models/shared/Typeform.java index 4c4a5c648..fdaaa673e 100644 --- a/src/main/java/com/airbyte/api/models/shared/Typeform.java +++ b/src/main/java/com/airbyte/api/models/shared/Typeform.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Typeform { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } Typeform other = (Typeform) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/TypeformCredentials.java b/src/main/java/com/airbyte/api/models/shared/TypeformCredentials.java index 905c006de..f2dc085e8 100644 --- a/src/main/java/com/airbyte/api/models/shared/TypeformCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/TypeformCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class TypeformCredentials { /** @@ -25,19 +24,19 @@ public class TypeformCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret the Typeform developer application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public TypeformCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public TypeformCredentials() { /** * The Client ID of the Typeform developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret the Typeform developer application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public TypeformCredentials withClientId(String clientId) { /** * The Client ID of the Typeform developer application. */ - public TypeformCredentials withClientId(Optional clientId) { + public TypeformCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public TypeformCredentials withClientSecret(String clientSecret) { /** * The Client Secret the Typeform developer application. */ - public TypeformCredentials withClientSecret(Optional clientSecret) { + public TypeformCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } TypeformCredentials other = (TypeformCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of the Typeform developer application. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret the Typeform developer application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Typesense.java b/src/main/java/com/airbyte/api/models/shared/Typesense.java index bde2e429c..b4d438c2f 100644 --- a/src/main/java/com/airbyte/api/models/shared/Typesense.java +++ b/src/main/java/com/airbyte/api/models/shared/Typesense.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Typesense { TYPESENSE("typesense"); diff --git a/src/main/java/com/airbyte/api/models/shared/URLRegion.java b/src/main/java/com/airbyte/api/models/shared/URLRegion.java new file mode 100644 index 000000000..ffee21422 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/URLRegion.java @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * URLRegion - The url region given at time of registration + */ +public enum URLRegion { + UK("uk"), + NL("nl"), + US("us"); + + @JsonValue + private final String value; + + private URLRegion(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Ubidots.java b/src/main/java/com/airbyte/api/models/shared/Ubidots.java new file mode 100644 index 000000000..3baf25d6e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Ubidots.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Ubidots { + UBIDOTS("ubidots"); + + @JsonValue + private final String value; + + private Ubidots(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Unencrypted.java b/src/main/java/com/airbyte/api/models/shared/Unencrypted.java index 17a029b76..133026ee7 100644 --- a/src/main/java/com/airbyte/api/models/shared/Unencrypted.java +++ b/src/main/java/com/airbyte/api/models/shared/Unencrypted.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * Unencrypted - The data transfer will not be encrypted. */ @@ -54,12 +55,12 @@ public boolean equals(java.lang.Object o) { } Unencrypted other = (Unencrypted) o; return - java.util.Objects.deepEquals(this.sslMethod, other.sslMethod); + Objects.deepEquals(this.sslMethod, other.sslMethod); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( sslMethod); } diff --git a/src/main/java/com/airbyte/api/models/shared/UnitOfMeasure.java b/src/main/java/com/airbyte/api/models/shared/UnitOfMeasure.java index 2b0130e22..2a0c1d8d0 100644 --- a/src/main/java/com/airbyte/api/models/shared/UnitOfMeasure.java +++ b/src/main/java/com/airbyte/api/models/shared/UnitOfMeasure.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum UnitOfMeasure { E("E"), diff --git a/src/main/java/com/airbyte/api/models/shared/Units.java b/src/main/java/com/airbyte/api/models/shared/Units.java new file mode 100644 index 000000000..eb8db40c7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Units.java @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +/** + * Units - Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. + */ +public enum Units { + STANDARD("standard"), + METRIC("metric"), + IMPERIAL("imperial"); + + @JsonValue + private final String value; + + private Units(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Unleash.java b/src/main/java/com/airbyte/api/models/shared/Unleash.java new file mode 100644 index 000000000..5741db0fe --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Unleash.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Unleash { + UNLEASH("unleash"); + + @JsonValue + private final String value; + + private Unleash(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/UnstructuredDocumentFormat.java b/src/main/java/com/airbyte/api/models/shared/UnstructuredDocumentFormat.java index c14dddfca..1a6ccaf85 100644 --- a/src/main/java/com/airbyte/api/models/shared/UnstructuredDocumentFormat.java +++ b/src/main/java/com/airbyte/api/models/shared/UnstructuredDocumentFormat.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * UnstructuredDocumentFormat - Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. */ @@ -40,7 +42,7 @@ public class UnstructuredDocumentFormat { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("skip_unprocessable_files") - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; /** * The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf @@ -52,7 +54,7 @@ public class UnstructuredDocumentFormat { @JsonCreator public UnstructuredDocumentFormat( @JsonProperty("processing") Optional processing, - @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, + @JsonProperty("skip_unprocessable_files") Optional skipUnprocessableFiles, @JsonProperty("strategy") Optional strategy) { Utils.checkNotNull(processing, "processing"); Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); @@ -85,10 +87,9 @@ public Optional processing() { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional skipUnprocessableFiles() { - return (Optional) skipUnprocessableFiles; + return skipUnprocessableFiles; } /** @@ -134,7 +135,7 @@ public UnstructuredDocumentFormat withSkipUnprocessableFiles(boolean skipUnproce /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public UnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { + public UnstructuredDocumentFormat withSkipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -168,15 +169,15 @@ public boolean equals(java.lang.Object o) { } UnstructuredDocumentFormat other = (UnstructuredDocumentFormat) o; return - java.util.Objects.deepEquals(this.filetype, other.filetype) && - java.util.Objects.deepEquals(this.processing, other.processing) && - java.util.Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && - java.util.Objects.deepEquals(this.strategy, other.strategy); + Objects.deepEquals(this.filetype, other.filetype) && + Objects.deepEquals(this.processing, other.processing) && + Objects.deepEquals(this.skipUnprocessableFiles, other.skipUnprocessableFiles) && + Objects.deepEquals(this.strategy, other.strategy); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( filetype, processing, skipUnprocessableFiles, @@ -196,7 +197,7 @@ public final static class Builder { private Optional processing = Optional.empty(); - private Optional skipUnprocessableFiles; + private Optional skipUnprocessableFiles; private Optional strategy; @@ -234,7 +235,7 @@ public Builder skipUnprocessableFiles(boolean skipUnprocessableFiles) { /** * If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. */ - public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { + public Builder skipUnprocessableFiles(Optional skipUnprocessableFiles) { Utils.checkNotNull(skipUnprocessableFiles, "skipUnprocessableFiles"); this.skipUnprocessableFiles = skipUnprocessableFiles; return this; @@ -264,8 +265,7 @@ public UnstructuredDocumentFormat build() { } if (strategy == null) { strategy = _SINGLETON_VALUE_Strategy.value(); - } - return new UnstructuredDocumentFormat( + } return new UnstructuredDocumentFormat( processing, skipUnprocessableFiles, strategy); @@ -277,11 +277,11 @@ public UnstructuredDocumentFormat build() { "\"unstructured\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = + private static final LazySingletonValue> _SINGLETON_VALUE_SkipUnprocessableFiles = new LazySingletonValue<>( "skip_unprocessable_files", "true", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Strategy = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/UpdateMethod.java b/src/main/java/com/airbyte/api/models/shared/UpdateMethod.java index d2ce4c368..ad19eb1aa 100644 --- a/src/main/java/com/airbyte/api/models/shared/UpdateMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/UpdateMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * UpdateMethod - Configures how data is extracted from the database. @@ -28,7 +25,7 @@ @JsonDeserialize(using = UpdateMethod._Deserializer.class) public class UpdateMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private UpdateMethod(TypedObject value) { @@ -48,8 +45,8 @@ public static UpdateMethod of(ScanChangesWithUserDefinedCursor value) { /** * Returns an instance of one of these types: *

      - *
    • {@code ReadChangesUsingChangeDataCaptureCDC}
    • - *
    • {@code ScanChangesWithUserDefinedCursor}
    • + *
    • {@code com.airbyte.api.models.shared.ReadChangesUsingChangeDataCaptureCDC}
    • + *
    • {@code com.airbyte.api.models.shared.ScanChangesWithUserDefinedCursor}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -76,21 +73,21 @@ public boolean equals(java.lang.Object o) { return false; } UpdateMethod other = (UpdateMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(UpdateMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(UpdateMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/UploadingMethod.java b/src/main/java/com/airbyte/api/models/shared/UploadingMethod.java index c8a3afaab..4dc30686f 100644 --- a/src/main/java/com/airbyte/api/models/shared/UploadingMethod.java +++ b/src/main/java/com/airbyte/api/models/shared/UploadingMethod.java @@ -1,25 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; /** * UploadingMethod - The way data will be uploaded to Redshift. @@ -28,7 +25,7 @@ @JsonDeserialize(using = UploadingMethod._Deserializer.class) public class UploadingMethod { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private UploadingMethod(TypedObject value) { @@ -43,7 +40,7 @@ public static UploadingMethod of(AWSS3Staging value) { /** * Returns an instance of one of these types: *

      - *
    • {@code AWSS3Staging}
    • + *
    • {@code com.airbyte.api.models.shared.AWSS3Staging}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -70,20 +67,20 @@ public boolean equals(java.lang.Object o) { return false; } UploadingMethod other = (UploadingMethod) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(UploadingMethod.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(UploadingMethod.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/Uppromote.java b/src/main/java/com/airbyte/api/models/shared/Uppromote.java new file mode 100644 index 000000000..e6dfc8b4d --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Uppromote.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Uppromote { + UPPROMOTE("uppromote"); + + @JsonValue + private final String value; + + private Uppromote(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/UrlBase.java b/src/main/java/com/airbyte/api/models/shared/UrlBase.java index 12088c7c6..b05114e39 100644 --- a/src/main/java/com/airbyte/api/models/shared/UrlBase.java +++ b/src/main/java/com/airbyte/api/models/shared/UrlBase.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum UrlBase { HTTPS_EU_API_SURVEYSPARROW_COM_V3("https://eu-api.surveysparrow.com/v3"); diff --git a/src/main/java/com/airbyte/api/models/shared/UsCensus.java b/src/main/java/com/airbyte/api/models/shared/UsCensus.java index dfadef29a..8a122cb28 100644 --- a/src/main/java/com/airbyte/api/models/shared/UsCensus.java +++ b/src/main/java/com/airbyte/api/models/shared/UsCensus.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum UsCensus { US_CENSUS("us-census"); diff --git a/src/main/java/com/airbyte/api/models/shared/UserProvided.java b/src/main/java/com/airbyte/api/models/shared/UserProvided.java index a47fade83..ee6347773 100644 --- a/src/main/java/com/airbyte/api/models/shared/UserProvided.java +++ b/src/main/java/com/airbyte/api/models/shared/UserProvided.java @@ -1,31 +1,33 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class UserProvided { /** * The column names that will be used while emitting the CSV records */ @JsonProperty("column_names") - private java.util.List columnNames; + private List columnNames; @JsonInclude(Include.NON_ABSENT) @JsonProperty("header_definition_type") @@ -33,7 +35,7 @@ public class UserProvided { @JsonCreator public UserProvided( - @JsonProperty("column_names") java.util.List columnNames) { + @JsonProperty("column_names") List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; this.headerDefinitionType = Builder._SINGLETON_VALUE_HeaderDefinitionType.value(); @@ -43,7 +45,7 @@ public UserProvided( * The column names that will be used while emitting the CSV records */ @JsonIgnore - public java.util.List columnNames() { + public List columnNames() { return columnNames; } @@ -60,7 +62,7 @@ public final static Builder builder() { /** * The column names that will be used while emitting the CSV records */ - public UserProvided withColumnNames(java.util.List columnNames) { + public UserProvided withColumnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; @@ -76,13 +78,13 @@ public boolean equals(java.lang.Object o) { } UserProvided other = (UserProvided) o; return - java.util.Objects.deepEquals(this.columnNames, other.columnNames) && - java.util.Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); + Objects.deepEquals(this.columnNames, other.columnNames) && + Objects.deepEquals(this.headerDefinitionType, other.headerDefinitionType); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( columnNames, headerDefinitionType); } @@ -96,7 +98,7 @@ public String toString() { public final static class Builder { - private java.util.List columnNames; + private List columnNames; private Builder() { // force use of static builder() method @@ -105,7 +107,7 @@ private Builder() { /** * The column names that will be used while emitting the CSV records */ - public Builder columnNames(java.util.List columnNames) { + public Builder columnNames(List columnNames) { Utils.checkNotNull(columnNames, "columnNames"); this.columnNames = columnNames; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/UserResponse.java b/src/main/java/com/airbyte/api/models/shared/UserResponse.java index 90f1bcdff..dff38328e 100644 --- a/src/main/java/com/airbyte/api/models/shared/UserResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/UserResponse.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * UserResponse - Provides details of a single user in an organization. */ @@ -107,14 +106,14 @@ public boolean equals(java.lang.Object o) { } UserResponse other = (UserResponse) o; return - java.util.Objects.deepEquals(this.email, other.email) && - java.util.Objects.deepEquals(this.id, other.id) && - java.util.Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.email, other.email) && + Objects.deepEquals(this.id, other.id) && + Objects.deepEquals(this.name, other.name); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( email, id, name); diff --git a/src/main/java/com/airbyte/api/models/shared/UsernameAndPassword.java b/src/main/java/com/airbyte/api/models/shared/UsernameAndPassword.java index 1f9d2e2f9..23684e649 100644 --- a/src/main/java/com/airbyte/api/models/shared/UsernameAndPassword.java +++ b/src/main/java/com/airbyte/api/models/shared/UsernameAndPassword.java @@ -1,24 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class UsernameAndPassword { @JsonInclude(Include.NON_ABSENT) @@ -76,13 +77,13 @@ public boolean equals(java.lang.Object o) { } UsernameAndPassword other = (UsernameAndPassword) o; return - java.util.Objects.deepEquals(this.authType, other.authType) && - java.util.Objects.deepEquals(this.password, other.password); + Objects.deepEquals(this.authType, other.authType) && + Objects.deepEquals(this.password, other.password); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( authType, password); } diff --git a/src/main/java/com/airbyte/api/models/shared/UsernamePassword.java b/src/main/java/com/airbyte/api/models/shared/UsernamePassword.java index ec745a66b..63e9dd466 100644 --- a/src/main/java/com/airbyte/api/models/shared/UsernamePassword.java +++ b/src/main/java/com/airbyte/api/models/shared/UsernamePassword.java @@ -1,20 +1,20 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * UsernamePassword - Basic auth header with a username and password */ @@ -100,14 +100,14 @@ public boolean equals(java.lang.Object o) { } UsernamePassword other = (UsernamePassword) o; return - java.util.Objects.deepEquals(this.method, other.method) && - java.util.Objects.deepEquals(this.password, other.password) && - java.util.Objects.deepEquals(this.username, other.username); + Objects.deepEquals(this.method, other.method) && + Objects.deepEquals(this.password, other.password) && + Objects.deepEquals(this.username, other.username); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( method, password, username); diff --git a/src/main/java/com/airbyte/api/models/shared/UsersResponse.java b/src/main/java/com/airbyte/api/models/shared/UsersResponse.java index 8541d3372..bbc62bb7b 100644 --- a/src/main/java/com/airbyte/api/models/shared/UsersResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/UsersResponse.java @@ -1,19 +1,19 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; + /** * UsersResponse - List/Array of multiple users in an organization */ @@ -21,17 +21,17 @@ public class UsersResponse { @JsonProperty("data") - private java.util.List data; + private List data; @JsonCreator public UsersResponse( - @JsonProperty("data") java.util.List data) { + @JsonProperty("data") List data) { Utils.checkNotNull(data, "data"); this.data = data; } @JsonIgnore - public java.util.List data() { + public List data() { return data; } @@ -39,7 +39,7 @@ public final static Builder builder() { return new Builder(); } - public UsersResponse withData(java.util.List data) { + public UsersResponse withData(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -55,12 +55,12 @@ public boolean equals(java.lang.Object o) { } UsersResponse other = (UsersResponse) o; return - java.util.Objects.deepEquals(this.data, other.data); + Objects.deepEquals(this.data, other.data); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( data); } @@ -72,13 +72,13 @@ public String toString() { public final static class Builder { - private java.util.List data; + private List data; private Builder() { // force use of static builder() method } - public Builder data(java.util.List data) { + public Builder data(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Uservoice.java b/src/main/java/com/airbyte/api/models/shared/Uservoice.java new file mode 100644 index 000000000..f1da34195 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Uservoice.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Uservoice { + USERVOICE("uservoice"); + + @JsonValue + private final String value; + + private Uservoice(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ValidActionBreakdowns.java b/src/main/java/com/airbyte/api/models/shared/ValidActionBreakdowns.java index c03b15fda..f54f8d15f 100644 --- a/src/main/java/com/airbyte/api/models/shared/ValidActionBreakdowns.java +++ b/src/main/java/com/airbyte/api/models/shared/ValidActionBreakdowns.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ValidActionBreakdowns - An enumeration. diff --git a/src/main/java/com/airbyte/api/models/shared/ValidAdSetStatuses.java b/src/main/java/com/airbyte/api/models/shared/ValidAdSetStatuses.java index a6c7218c1..388f230a1 100644 --- a/src/main/java/com/airbyte/api/models/shared/ValidAdSetStatuses.java +++ b/src/main/java/com/airbyte/api/models/shared/ValidAdSetStatuses.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ValidAdSetStatuses - An enumeration. diff --git a/src/main/java/com/airbyte/api/models/shared/ValidAdStatuses.java b/src/main/java/com/airbyte/api/models/shared/ValidAdStatuses.java index 11a897149..4a1fd2394 100644 --- a/src/main/java/com/airbyte/api/models/shared/ValidAdStatuses.java +++ b/src/main/java/com/airbyte/api/models/shared/ValidAdStatuses.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ValidAdStatuses - An enumeration. diff --git a/src/main/java/com/airbyte/api/models/shared/ValidBreakdowns.java b/src/main/java/com/airbyte/api/models/shared/ValidBreakdowns.java index 2b1bb08a0..59ec0f9fd 100644 --- a/src/main/java/com/airbyte/api/models/shared/ValidBreakdowns.java +++ b/src/main/java/com/airbyte/api/models/shared/ValidBreakdowns.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ValidBreakdowns - An enumeration. diff --git a/src/main/java/com/airbyte/api/models/shared/ValidCampaignStatuses.java b/src/main/java/com/airbyte/api/models/shared/ValidCampaignStatuses.java index 1a6f24155..21b8b0597 100644 --- a/src/main/java/com/airbyte/api/models/shared/ValidCampaignStatuses.java +++ b/src/main/java/com/airbyte/api/models/shared/ValidCampaignStatuses.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ValidCampaignStatuses - An enumeration. diff --git a/src/main/java/com/airbyte/api/models/shared/ValidationPolicy.java b/src/main/java/com/airbyte/api/models/shared/ValidationPolicy.java index 0a5da264b..c6817081c 100644 --- a/src/main/java/com/airbyte/api/models/shared/ValidationPolicy.java +++ b/src/main/java/com/airbyte/api/models/shared/ValidationPolicy.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ValidationPolicy - The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. diff --git a/src/main/java/com/airbyte/api/models/shared/Validenums.java b/src/main/java/com/airbyte/api/models/shared/Validenums.java index 2b8c7b144..c3cd5b170 100644 --- a/src/main/java/com/airbyte/api/models/shared/Validenums.java +++ b/src/main/java/com/airbyte/api/models/shared/Validenums.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Validenums { SHEETCREATED_AT("sheetcreatedAt"), diff --git a/src/main/java/com/airbyte/api/models/shared/Value.java b/src/main/java/com/airbyte/api/models/shared/Value.java index da5e27cdd..d0cfb065b 100644 --- a/src/main/java/com/airbyte/api/models/shared/Value.java +++ b/src/main/java/com/airbyte/api/models/shared/Value.java @@ -1,31 +1,28 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.time.OffsetDateTime; -import java.time.LocalDate; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.airbyte.api.utils.OneOfDeserializer; import com.airbyte.api.utils.TypedObject; import com.airbyte.api.utils.Utils.JsonShape; +import com.airbyte.api.utils.Utils.TypeReferenceWithShape; +import com.airbyte.api.utils.Utils; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; @JsonDeserialize(using = Value._Deserializer.class) public class Value { - @com.fasterxml.jackson.annotation.JsonValue + @JsonValue private TypedObject value; private Value(TypedObject value) { @@ -45,8 +42,8 @@ public static Value of(DoubleValue value) { /** * Returns an instance of one of these types: *

      - *
    • {@code Int64Value}
    • - *
    • {@code DoubleValue}
    • + *
    • {@code com.airbyte.api.models.shared.Int64Value}
    • + *
    • {@code com.airbyte.api.models.shared.DoubleValue}
    • *
    * *

    Use {@code instanceof} to determine what type is returned. For example: @@ -73,21 +70,21 @@ public boolean equals(java.lang.Object o) { return false; } Value other = (Value) o; - return java.util.Objects.deepEquals(this.value.value(), other.value.value()); + return Objects.deepEquals(this.value.value(), other.value.value()); } @Override public int hashCode() { - return java.util.Objects.hash(value.value()); + return Objects.hash(value.value()); } @SuppressWarnings("serial") - public static final class _Deserializer extends com.airbyte.api.utils.OneOfDeserializer { + public static final class _Deserializer extends OneOfDeserializer { public _Deserializer() { - super(Value.class, - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT), - Utils.TypeReferenceWithShape.of(new TypeReference() {}, Utils.JsonShape.DEFAULT)); + super(Value.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); } } diff --git a/src/main/java/com/airbyte/api/models/shared/ValueType.java b/src/main/java/com/airbyte/api/models/shared/ValueType.java index c77ccf6ca..82d07831b 100644 --- a/src/main/java/com/airbyte/api/models/shared/ValueType.java +++ b/src/main/java/com/airbyte/api/models/shared/ValueType.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ValueType { INT64_VALUE("int64Value"); diff --git a/src/main/java/com/airbyte/api/models/shared/Vantage.java b/src/main/java/com/airbyte/api/models/shared/Vantage.java index 5494a00f6..e06c4815a 100644 --- a/src/main/java/com/airbyte/api/models/shared/Vantage.java +++ b/src/main/java/com/airbyte/api/models/shared/Vantage.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Vantage { VANTAGE("vantage"); diff --git a/src/main/java/com/airbyte/api/models/shared/Vectara.java b/src/main/java/com/airbyte/api/models/shared/Vectara.java index 5523b4403..1fb2e10f2 100644 --- a/src/main/java/com/airbyte/api/models/shared/Vectara.java +++ b/src/main/java/com/airbyte/api/models/shared/Vectara.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Vectara { VECTARA("vectara"); diff --git a/src/main/java/com/airbyte/api/models/shared/Veeqo.java b/src/main/java/com/airbyte/api/models/shared/Veeqo.java new file mode 100644 index 000000000..c1e287787 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Veeqo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Veeqo { + VEEQO("veeqo"); + + @JsonValue + private final String value; + + private Veeqo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Vercel.java b/src/main/java/com/airbyte/api/models/shared/Vercel.java new file mode 100644 index 000000000..0c3a412f6 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Vercel.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Vercel { + VERCEL("vercel"); + + @JsonValue + private final String value; + + private Vercel(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/VerifyCa.java b/src/main/java/com/airbyte/api/models/shared/VerifyCa.java index 50a67097d..7bf798506 100644 --- a/src/main/java/com/airbyte/api/models/shared/VerifyCa.java +++ b/src/main/java/com/airbyte/api/models/shared/VerifyCa.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * VerifyCa - Verify-ca SSL mode. */ @@ -35,7 +36,7 @@ public class VerifyCa { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_key_password") - private Optional clientKeyPassword; + private Optional clientKeyPassword; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -44,7 +45,7 @@ public class VerifyCa { @JsonCreator public VerifyCa( @JsonProperty("ca_certificate") String caCertificate, - @JsonProperty("client_key_password") Optional clientKeyPassword) { + @JsonProperty("client_key_password") Optional clientKeyPassword) { Utils.checkNotNull(caCertificate, "caCertificate"); Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.caCertificate = caCertificate; @@ -68,10 +69,9 @@ public String caCertificate() { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientKeyPassword() { - return (Optional) clientKeyPassword; + return clientKeyPassword; } @SuppressWarnings("unchecked") @@ -105,7 +105,7 @@ public VerifyCa withClientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public VerifyCa withClientKeyPassword(Optional clientKeyPassword) { + public VerifyCa withClientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; @@ -121,14 +121,14 @@ public boolean equals(java.lang.Object o) { } VerifyCa other = (VerifyCa) o; return - java.util.Objects.deepEquals(this.caCertificate, other.caCertificate) && - java.util.Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caCertificate, clientKeyPassword, mode); @@ -146,7 +146,7 @@ public final static class Builder { private String caCertificate; - private Optional clientKeyPassword = Optional.empty(); + private Optional clientKeyPassword = Optional.empty(); private Builder() { // force use of static builder() method @@ -173,7 +173,7 @@ public Builder clientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public Builder clientKeyPassword(Optional clientKeyPassword) { + public Builder clientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/VerifyFull.java b/src/main/java/com/airbyte/api/models/shared/VerifyFull.java index 7d0244aeb..10b4171e0 100644 --- a/src/main/java/com/airbyte/api/models/shared/VerifyFull.java +++ b/src/main/java/com/airbyte/api/models/shared/VerifyFull.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * VerifyFull - Verify-full SSL mode. */ @@ -47,7 +48,7 @@ public class VerifyFull { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_key_password") - private Optional clientKeyPassword; + private Optional clientKeyPassword; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -58,7 +59,7 @@ public VerifyFull( @JsonProperty("ca_certificate") String caCertificate, @JsonProperty("client_certificate") String clientCertificate, @JsonProperty("client_key") String clientKey, - @JsonProperty("client_key_password") Optional clientKeyPassword) { + @JsonProperty("client_key_password") Optional clientKeyPassword) { Utils.checkNotNull(caCertificate, "caCertificate"); Utils.checkNotNull(clientCertificate, "clientCertificate"); Utils.checkNotNull(clientKey, "clientKey"); @@ -104,10 +105,9 @@ public String clientKey() { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientKeyPassword() { - return (Optional) clientKeyPassword; + return clientKeyPassword; } @SuppressWarnings("unchecked") @@ -159,7 +159,7 @@ public VerifyFull withClientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public VerifyFull withClientKeyPassword(Optional clientKeyPassword) { + public VerifyFull withClientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; @@ -175,16 +175,16 @@ public boolean equals(java.lang.Object o) { } VerifyFull other = (VerifyFull) o; return - java.util.Objects.deepEquals(this.caCertificate, other.caCertificate) && - java.util.Objects.deepEquals(this.clientCertificate, other.clientCertificate) && - java.util.Objects.deepEquals(this.clientKey, other.clientKey) && - java.util.Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.clientCertificate, other.clientCertificate) && + Objects.deepEquals(this.clientKey, other.clientKey) && + Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caCertificate, clientCertificate, clientKey, @@ -210,7 +210,7 @@ public final static class Builder { private String clientKey; - private Optional clientKeyPassword = Optional.empty(); + private Optional clientKeyPassword = Optional.empty(); private Builder() { // force use of static builder() method @@ -255,7 +255,7 @@ public Builder clientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public Builder clientKeyPassword(Optional clientKeyPassword) { + public Builder clientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/VerifyIdentity.java b/src/main/java/com/airbyte/api/models/shared/VerifyIdentity.java index 38893924c..b4d0762fa 100644 --- a/src/main/java/com/airbyte/api/models/shared/VerifyIdentity.java +++ b/src/main/java/com/airbyte/api/models/shared/VerifyIdentity.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + /** * VerifyIdentity - Always connect with SSL. Verify both CA and Hostname. */ @@ -35,21 +35,21 @@ public class VerifyIdentity { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_certificate") - private Optional clientCertificate; + private Optional clientCertificate; /** * Client key (this is not a required field, but if you want to use it, you will need to add the <b>Client certificate</b> as well) */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_key") - private Optional clientKey; + private Optional clientKey; /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_key_password") - private Optional clientKeyPassword; + private Optional clientKeyPassword; @JsonProperty("mode") private SourceMysqlSchemasSSLModeSSLModesMode mode; @@ -57,9 +57,9 @@ public class VerifyIdentity { @JsonCreator public VerifyIdentity( @JsonProperty("ca_certificate") String caCertificate, - @JsonProperty("client_certificate") Optional clientCertificate, - @JsonProperty("client_key") Optional clientKey, - @JsonProperty("client_key_password") Optional clientKeyPassword) { + @JsonProperty("client_certificate") Optional clientCertificate, + @JsonProperty("client_key") Optional clientKey, + @JsonProperty("client_key_password") Optional clientKeyPassword) { Utils.checkNotNull(caCertificate, "caCertificate"); Utils.checkNotNull(clientCertificate, "clientCertificate"); Utils.checkNotNull(clientKey, "clientKey"); @@ -87,28 +87,25 @@ public String caCertificate() { /** * Client certificate (this is not a required field, but if you want to use it, you will need to add the <b>Client key</b> as well) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientCertificate() { - return (Optional) clientCertificate; + return clientCertificate; } /** * Client key (this is not a required field, but if you want to use it, you will need to add the <b>Client certificate</b> as well) */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientKey() { - return (Optional) clientKey; + return clientKey; } /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientKeyPassword() { - return (Optional) clientKeyPassword; + return clientKeyPassword; } @JsonIgnore @@ -141,7 +138,7 @@ public VerifyIdentity withClientCertificate(String clientCertificate) { /** * Client certificate (this is not a required field, but if you want to use it, you will need to add the <b>Client key</b> as well) */ - public VerifyIdentity withClientCertificate(Optional clientCertificate) { + public VerifyIdentity withClientCertificate(Optional clientCertificate) { Utils.checkNotNull(clientCertificate, "clientCertificate"); this.clientCertificate = clientCertificate; return this; @@ -159,7 +156,7 @@ public VerifyIdentity withClientKey(String clientKey) { /** * Client key (this is not a required field, but if you want to use it, you will need to add the <b>Client certificate</b> as well) */ - public VerifyIdentity withClientKey(Optional clientKey) { + public VerifyIdentity withClientKey(Optional clientKey) { Utils.checkNotNull(clientKey, "clientKey"); this.clientKey = clientKey; return this; @@ -177,7 +174,7 @@ public VerifyIdentity withClientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public VerifyIdentity withClientKeyPassword(Optional clientKeyPassword) { + public VerifyIdentity withClientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; @@ -193,16 +190,16 @@ public boolean equals(java.lang.Object o) { } VerifyIdentity other = (VerifyIdentity) o; return - java.util.Objects.deepEquals(this.caCertificate, other.caCertificate) && - java.util.Objects.deepEquals(this.clientCertificate, other.clientCertificate) && - java.util.Objects.deepEquals(this.clientKey, other.clientKey) && - java.util.Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && - java.util.Objects.deepEquals(this.mode, other.mode); + Objects.deepEquals(this.caCertificate, other.caCertificate) && + Objects.deepEquals(this.clientCertificate, other.clientCertificate) && + Objects.deepEquals(this.clientKey, other.clientKey) && + Objects.deepEquals(this.clientKeyPassword, other.clientKeyPassword) && + Objects.deepEquals(this.mode, other.mode); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( caCertificate, clientCertificate, clientKey, @@ -224,11 +221,11 @@ public final static class Builder { private String caCertificate; - private Optional clientCertificate = Optional.empty(); + private Optional clientCertificate = Optional.empty(); - private Optional clientKey = Optional.empty(); + private Optional clientKey = Optional.empty(); - private Optional clientKeyPassword = Optional.empty(); + private Optional clientKeyPassword = Optional.empty(); private Builder() { // force use of static builder() method @@ -255,7 +252,7 @@ public Builder clientCertificate(String clientCertificate) { /** * Client certificate (this is not a required field, but if you want to use it, you will need to add the <b>Client key</b> as well) */ - public Builder clientCertificate(Optional clientCertificate) { + public Builder clientCertificate(Optional clientCertificate) { Utils.checkNotNull(clientCertificate, "clientCertificate"); this.clientCertificate = clientCertificate; return this; @@ -273,7 +270,7 @@ public Builder clientKey(String clientKey) { /** * Client key (this is not a required field, but if you want to use it, you will need to add the <b>Client certificate</b> as well) */ - public Builder clientKey(Optional clientKey) { + public Builder clientKey(Optional clientKey) { Utils.checkNotNull(clientKey, "clientKey"); this.clientKey = clientKey; return this; @@ -291,7 +288,7 @@ public Builder clientKeyPassword(String clientKeyPassword) { /** * Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. */ - public Builder clientKeyPassword(Optional clientKeyPassword) { + public Builder clientKeyPassword(Optional clientKeyPassword) { Utils.checkNotNull(clientKeyPassword, "clientKeyPassword"); this.clientKeyPassword = clientKeyPassword; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/ViaAPI.java b/src/main/java/com/airbyte/api/models/shared/ViaAPI.java index cace4e801..117b537a8 100644 --- a/src/main/java/com/airbyte/api/models/shared/ViaAPI.java +++ b/src/main/java/com/airbyte/api/models/shared/ViaAPI.java @@ -1,23 +1,25 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.List; +import java.util.Objects; import java.util.Optional; + /** * ViaAPI - Process files via an API, using the `hi_res` mode. This option is useful for increased performance and accuracy, but requires an API key and a hosted instance of unstructured. */ @@ -29,14 +31,14 @@ public class ViaAPI { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_key") - private Optional apiKey; + private Optional apiKey; /** * The URL of the unstructured API to use */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("api_url") - private Optional apiUrl; + private Optional apiUrl; @JsonInclude(Include.NON_ABSENT) @JsonProperty("mode") @@ -47,13 +49,13 @@ public class ViaAPI { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("parameters") - private Optional> parameters; + private Optional> parameters; @JsonCreator public ViaAPI( - @JsonProperty("api_key") Optional apiKey, - @JsonProperty("api_url") Optional apiUrl, - @JsonProperty("parameters") Optional> parameters) { + @JsonProperty("api_key") Optional apiKey, + @JsonProperty("api_url") Optional apiUrl, + @JsonProperty("parameters") Optional> parameters) { Utils.checkNotNull(apiKey, "apiKey"); Utils.checkNotNull(apiUrl, "apiUrl"); Utils.checkNotNull(parameters, "parameters"); @@ -70,19 +72,17 @@ public ViaAPI() { /** * The API key to use matching the environment */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiKey() { - return (Optional) apiKey; + return apiKey; } /** * The URL of the unstructured API to use */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional apiUrl() { - return (Optional) apiUrl; + return apiUrl; } @SuppressWarnings("unchecked") @@ -96,8 +96,8 @@ public Optional mode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional> parameters() { - return (Optional>) parameters; + public Optional> parameters() { + return (Optional>) parameters; } public final static Builder builder() { @@ -116,7 +116,7 @@ public ViaAPI withApiKey(String apiKey) { /** * The API key to use matching the environment */ - public ViaAPI withApiKey(Optional apiKey) { + public ViaAPI withApiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -134,7 +134,7 @@ public ViaAPI withApiUrl(String apiUrl) { /** * The URL of the unstructured API to use */ - public ViaAPI withApiUrl(Optional apiUrl) { + public ViaAPI withApiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -143,7 +143,7 @@ public ViaAPI withApiUrl(Optional apiUrl) { /** * List of parameters send to the API */ - public ViaAPI withParameters(java.util.List parameters) { + public ViaAPI withParameters(List parameters) { Utils.checkNotNull(parameters, "parameters"); this.parameters = Optional.ofNullable(parameters); return this; @@ -152,7 +152,7 @@ public ViaAPI withParameters(java.util.List parameters) /** * List of parameters send to the API */ - public ViaAPI withParameters(Optional> parameters) { + public ViaAPI withParameters(Optional> parameters) { Utils.checkNotNull(parameters, "parameters"); this.parameters = parameters; return this; @@ -168,15 +168,15 @@ public boolean equals(java.lang.Object o) { } ViaAPI other = (ViaAPI) o; return - java.util.Objects.deepEquals(this.apiKey, other.apiKey) && - java.util.Objects.deepEquals(this.apiUrl, other.apiUrl) && - java.util.Objects.deepEquals(this.mode, other.mode) && - java.util.Objects.deepEquals(this.parameters, other.parameters); + Objects.deepEquals(this.apiKey, other.apiKey) && + Objects.deepEquals(this.apiUrl, other.apiUrl) && + Objects.deepEquals(this.mode, other.mode) && + Objects.deepEquals(this.parameters, other.parameters); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( apiKey, apiUrl, mode, @@ -194,11 +194,11 @@ public String toString() { public final static class Builder { - private Optional apiKey; + private Optional apiKey; - private Optional apiUrl; + private Optional apiUrl; - private Optional> parameters = Optional.empty(); + private Optional> parameters = Optional.empty(); private Builder() { // force use of static builder() method @@ -216,7 +216,7 @@ public Builder apiKey(String apiKey) { /** * The API key to use matching the environment */ - public Builder apiKey(Optional apiKey) { + public Builder apiKey(Optional apiKey) { Utils.checkNotNull(apiKey, "apiKey"); this.apiKey = apiKey; return this; @@ -234,7 +234,7 @@ public Builder apiUrl(String apiUrl) { /** * The URL of the unstructured API to use */ - public Builder apiUrl(Optional apiUrl) { + public Builder apiUrl(Optional apiUrl) { Utils.checkNotNull(apiUrl, "apiUrl"); this.apiUrl = apiUrl; return this; @@ -243,7 +243,7 @@ public Builder apiUrl(Optional apiUrl) { /** * List of parameters send to the API */ - public Builder parameters(java.util.List parameters) { + public Builder parameters(List parameters) { Utils.checkNotNull(parameters, "parameters"); this.parameters = Optional.ofNullable(parameters); return this; @@ -252,7 +252,7 @@ public Builder parameters(java.util.List parameters) { /** * List of parameters send to the API */ - public Builder parameters(Optional> parameters) { + public Builder parameters(Optional> parameters) { Utils.checkNotNull(parameters, "parameters"); this.parameters = parameters; return this; @@ -264,24 +264,23 @@ public ViaAPI build() { } if (apiUrl == null) { apiUrl = _SINGLETON_VALUE_ApiUrl.value(); - } - return new ViaAPI( + } return new ViaAPI( apiKey, apiUrl, parameters); } - private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiKey = new LazySingletonValue<>( "api_key", "\"\"", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = + private static final LazySingletonValue> _SINGLETON_VALUE_ApiUrl = new LazySingletonValue<>( "api_url", "\"https://api.unstructured.io\"", - new TypeReference>() {}); + new TypeReference>() {}); private static final LazySingletonValue> _SINGLETON_VALUE_Mode = new LazySingletonValue<>( diff --git a/src/main/java/com/airbyte/api/models/shared/ViewAttributionWindow.java b/src/main/java/com/airbyte/api/models/shared/ViewAttributionWindow.java index 4084df547..cb382a987 100644 --- a/src/main/java/com/airbyte/api/models/shared/ViewAttributionWindow.java +++ b/src/main/java/com/airbyte/api/models/shared/ViewAttributionWindow.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ViewAttributionWindow - Attribution window for views. diff --git a/src/main/java/com/airbyte/api/models/shared/ViewWindowDays.java b/src/main/java/com/airbyte/api/models/shared/ViewWindowDays.java index 68752e840..57bb5e69d 100644 --- a/src/main/java/com/airbyte/api/models/shared/ViewWindowDays.java +++ b/src/main/java/com/airbyte/api/models/shared/ViewWindowDays.java @@ -1,19 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; /** * ViewWindowDays - Number of days to use as the conversion attribution window for a view action. diff --git a/src/main/java/com/airbyte/api/models/shared/VismaEconomic.java b/src/main/java/com/airbyte/api/models/shared/VismaEconomic.java new file mode 100644 index 000000000..ad590bea8 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/VismaEconomic.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum VismaEconomic { + VISMA_ECONOMIC("visma-economic"); + + @JsonValue + private final String value; + + private VismaEconomic(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Vitally.java b/src/main/java/com/airbyte/api/models/shared/Vitally.java new file mode 100644 index 000000000..8b32ff4fa --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Vitally.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Vitally { + VITALLY("vitally"); + + @JsonValue + private final String value; + + private Vitally(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Vwo.java b/src/main/java/com/airbyte/api/models/shared/Vwo.java new file mode 100644 index 000000000..3ffd67ac3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Vwo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Vwo { + VWO("vwo"); + + @JsonValue + private final String value; + + private Vwo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Waiteraid.java b/src/main/java/com/airbyte/api/models/shared/Waiteraid.java new file mode 100644 index 000000000..70adb1b5f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Waiteraid.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Waiteraid { + WAITERAID("waiteraid"); + + @JsonValue + private final String value; + + private Waiteraid(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/WasabiStatsApi.java b/src/main/java/com/airbyte/api/models/shared/WasabiStatsApi.java new file mode 100644 index 000000000..57db23428 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/WasabiStatsApi.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum WasabiStatsApi { + WASABI_STATS_API("wasabi-stats-api"); + + @JsonValue + private final String value; + + private WasabiStatsApi(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Weatherstack.java b/src/main/java/com/airbyte/api/models/shared/Weatherstack.java new file mode 100644 index 000000000..bcf801e4f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Weatherstack.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Weatherstack { + WEATHERSTACK("weatherstack"); + + @JsonValue + private final String value; + + private Weatherstack(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Weaviate.java b/src/main/java/com/airbyte/api/models/shared/Weaviate.java index 712481231..fa0142d05 100644 --- a/src/main/java/com/airbyte/api/models/shared/Weaviate.java +++ b/src/main/java/com/airbyte/api/models/shared/Weaviate.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Weaviate { WEAVIATE("weaviate"); diff --git a/src/main/java/com/airbyte/api/models/shared/WebScrapper.java b/src/main/java/com/airbyte/api/models/shared/WebScrapper.java new file mode 100644 index 000000000..e4cbb503a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/WebScrapper.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum WebScrapper { + WEB_SCRAPPER("web-scrapper"); + + @JsonValue + private final String value; + + private WebScrapper(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Webflow.java b/src/main/java/com/airbyte/api/models/shared/Webflow.java index 18bdac1fc..8590c923b 100644 --- a/src/main/java/com/airbyte/api/models/shared/Webflow.java +++ b/src/main/java/com/airbyte/api/models/shared/Webflow.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Webflow { WEBFLOW("webflow"); diff --git a/src/main/java/com/airbyte/api/models/shared/WhenIWork.java b/src/main/java/com/airbyte/api/models/shared/WhenIWork.java index d702d223d..04ad28ec5 100644 --- a/src/main/java/com/airbyte/api/models/shared/WhenIWork.java +++ b/src/main/java/com/airbyte/api/models/shared/WhenIWork.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum WhenIWork { WHEN_I_WORK("when-i-work"); diff --git a/src/main/java/com/airbyte/api/models/shared/WhiskyHunter.java b/src/main/java/com/airbyte/api/models/shared/WhiskyHunter.java index ef0e7d650..53dffbba1 100644 --- a/src/main/java/com/airbyte/api/models/shared/WhiskyHunter.java +++ b/src/main/java/com/airbyte/api/models/shared/WhiskyHunter.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum WhiskyHunter { WHISKY_HUNTER("whisky-hunter"); diff --git a/src/main/java/com/airbyte/api/models/shared/WikipediaPageviews.java b/src/main/java/com/airbyte/api/models/shared/WikipediaPageviews.java index 4172bd702..ce2285169 100644 --- a/src/main/java/com/airbyte/api/models/shared/WikipediaPageviews.java +++ b/src/main/java/com/airbyte/api/models/shared/WikipediaPageviews.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum WikipediaPageviews { WIKIPEDIA_PAGEVIEWS("wikipedia-pageviews"); diff --git a/src/main/java/com/airbyte/api/models/shared/Woocommerce.java b/src/main/java/com/airbyte/api/models/shared/Woocommerce.java index 957c5e47e..b5b5fa44c 100644 --- a/src/main/java/com/airbyte/api/models/shared/Woocommerce.java +++ b/src/main/java/com/airbyte/api/models/shared/Woocommerce.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Woocommerce { WOOCOMMERCE("woocommerce"); diff --git a/src/main/java/com/airbyte/api/models/shared/Wordpress.java b/src/main/java/com/airbyte/api/models/shared/Wordpress.java new file mode 100644 index 000000000..5dabc6a7a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Wordpress.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Wordpress { + WORDPRESS("wordpress"); + + @JsonValue + private final String value; + + private Wordpress(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Workable.java b/src/main/java/com/airbyte/api/models/shared/Workable.java new file mode 100644 index 000000000..49caf664e --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Workable.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Workable { + WORKABLE("workable"); + + @JsonValue + private final String value; + + private Workable(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Workflowmax.java b/src/main/java/com/airbyte/api/models/shared/Workflowmax.java new file mode 100644 index 000000000..cef6e6d4a --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Workflowmax.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Workflowmax { + WORKFLOWMAX("workflowmax"); + + @JsonValue + private final String value; + + private Workflowmax(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Workramp.java b/src/main/java/com/airbyte/api/models/shared/Workramp.java new file mode 100644 index 000000000..6019757b9 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Workramp.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Workramp { + WORKRAMP("workramp"); + + @JsonValue + private final String value; + + private Workramp(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/WorkspaceCreateRequest.java b/src/main/java/com/airbyte/api/models/shared/WorkspaceCreateRequest.java index 4f82d85cf..7ee295d98 100644 --- a/src/main/java/com/airbyte/api/models/shared/WorkspaceCreateRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/WorkspaceCreateRequest.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class WorkspaceCreateRequest { /** @@ -31,12 +30,12 @@ public class WorkspaceCreateRequest { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("organizationId") - private Optional organizationId; + private Optional organizationId; @JsonCreator public WorkspaceCreateRequest( @JsonProperty("name") String name, - @JsonProperty("organizationId") Optional organizationId) { + @JsonProperty("organizationId") Optional organizationId) { Utils.checkNotNull(name, "name"); Utils.checkNotNull(organizationId, "organizationId"); this.name = name; @@ -59,10 +58,9 @@ public String name() { /** * ID of organization to add workspace to. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional organizationId() { - return (Optional) organizationId; + return organizationId; } public final static Builder builder() { @@ -90,7 +88,7 @@ public WorkspaceCreateRequest withOrganizationId(String organizationId) { /** * ID of organization to add workspace to. */ - public WorkspaceCreateRequest withOrganizationId(Optional organizationId) { + public WorkspaceCreateRequest withOrganizationId(Optional organizationId) { Utils.checkNotNull(organizationId, "organizationId"); this.organizationId = organizationId; return this; @@ -106,13 +104,13 @@ public boolean equals(java.lang.Object o) { } WorkspaceCreateRequest other = (WorkspaceCreateRequest) o; return - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.organizationId, other.organizationId); + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.organizationId, other.organizationId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( name, organizationId); } @@ -128,7 +126,7 @@ public final static class Builder { private String name; - private Optional organizationId = Optional.empty(); + private Optional organizationId = Optional.empty(); private Builder() { // force use of static builder() method @@ -155,7 +153,7 @@ public Builder organizationId(String organizationId) { /** * ID of organization to add workspace to. */ - public Builder organizationId(Optional organizationId) { + public Builder organizationId(Optional organizationId) { Utils.checkNotNull(organizationId, "organizationId"); this.organizationId = organizationId; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java b/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java index 7705cd914..231ec585c 100644 --- a/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + /** * WorkspaceOAuthCredentialsRequest - POST body for creating/updating workspace level OAuth credentials */ @@ -107,14 +106,14 @@ public boolean equals(java.lang.Object o) { } WorkspaceOAuthCredentialsRequest other = (WorkspaceOAuthCredentialsRequest) o; return - java.util.Objects.deepEquals(this.actorType, other.actorType) && - java.util.Objects.deepEquals(this.configuration, other.configuration) && - java.util.Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.actorType, other.actorType) && + Objects.deepEquals(this.configuration, other.configuration) && + Objects.deepEquals(this.name, other.name); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( actorType, configuration, name); diff --git a/src/main/java/com/airbyte/api/models/shared/WorkspaceResponse.java b/src/main/java/com/airbyte/api/models/shared/WorkspaceResponse.java index 913c91b52..d7334490c 100644 --- a/src/main/java/com/airbyte/api/models/shared/WorkspaceResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/WorkspaceResponse.java @@ -1,23 +1,24 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + /** * WorkspaceResponse - Provides details of a single workspace. */ @@ -107,14 +108,14 @@ public boolean equals(java.lang.Object o) { } WorkspaceResponse other = (WorkspaceResponse) o; return - java.util.Objects.deepEquals(this.dataResidency, other.dataResidency) && - java.util.Objects.deepEquals(this.name, other.name) && - java.util.Objects.deepEquals(this.workspaceId, other.workspaceId); + Objects.deepEquals(this.dataResidency, other.dataResidency) && + Objects.deepEquals(this.name, other.name) && + Objects.deepEquals(this.workspaceId, other.workspaceId); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( dataResidency, name, workspaceId); @@ -167,8 +168,7 @@ public Builder workspaceId(String workspaceId) { public WorkspaceResponse build() { if (dataResidency == null) { dataResidency = _SINGLETON_VALUE_DataResidency.value(); - } - return new WorkspaceResponse( + } return new WorkspaceResponse( dataResidency, name, workspaceId); diff --git a/src/main/java/com/airbyte/api/models/shared/WorkspaceUpdateRequest.java b/src/main/java/com/airbyte/api/models/shared/WorkspaceUpdateRequest.java index 3dcf9c383..e54889702 100644 --- a/src/main/java/com/airbyte/api/models/shared/WorkspaceUpdateRequest.java +++ b/src/main/java/com/airbyte/api/models/shared/WorkspaceUpdateRequest.java @@ -1,19 +1,18 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; + public class WorkspaceUpdateRequest { @@ -61,12 +60,12 @@ public boolean equals(java.lang.Object o) { } WorkspaceUpdateRequest other = (WorkspaceUpdateRequest) o; return - java.util.Objects.deepEquals(this.name, other.name); + Objects.deepEquals(this.name, other.name); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( name); } diff --git a/src/main/java/com/airbyte/api/models/shared/WorkspacesResponse.java b/src/main/java/com/airbyte/api/models/shared/WorkspacesResponse.java index c7956b477..93fea2e1a 100644 --- a/src/main/java/com/airbyte/api/models/shared/WorkspacesResponse.java +++ b/src/main/java/com/airbyte/api/models/shared/WorkspacesResponse.java @@ -1,41 +1,41 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.List; +import java.util.Objects; import java.util.Optional; + public class WorkspacesResponse { @JsonProperty("data") - private java.util.List data; + private List data; @JsonInclude(Include.NON_ABSENT) @JsonProperty("next") - private Optional next; + private Optional next; @JsonInclude(Include.NON_ABSENT) @JsonProperty("previous") - private Optional previous; + private Optional previous; @JsonCreator public WorkspacesResponse( - @JsonProperty("data") java.util.List data, - @JsonProperty("next") Optional next, - @JsonProperty("previous") Optional previous) { + @JsonProperty("data") List data, + @JsonProperty("next") Optional next, + @JsonProperty("previous") Optional previous) { Utils.checkNotNull(data, "data"); Utils.checkNotNull(next, "next"); Utils.checkNotNull(previous, "previous"); @@ -45,32 +45,30 @@ public WorkspacesResponse( } public WorkspacesResponse( - java.util.List data) { + List data) { this(data, Optional.empty(), Optional.empty()); } @JsonIgnore - public java.util.List data() { + public List data() { return data; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional next() { - return (Optional) next; + return next; } - @SuppressWarnings("unchecked") @JsonIgnore public Optional previous() { - return (Optional) previous; + return previous; } public final static Builder builder() { return new Builder(); } - public WorkspacesResponse withData(java.util.List data) { + public WorkspacesResponse withData(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -82,7 +80,7 @@ public WorkspacesResponse withNext(String next) { return this; } - public WorkspacesResponse withNext(Optional next) { + public WorkspacesResponse withNext(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -94,7 +92,7 @@ public WorkspacesResponse withPrevious(String previous) { return this; } - public WorkspacesResponse withPrevious(Optional previous) { + public WorkspacesResponse withPrevious(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; @@ -110,14 +108,14 @@ public boolean equals(java.lang.Object o) { } WorkspacesResponse other = (WorkspacesResponse) o; return - java.util.Objects.deepEquals(this.data, other.data) && - java.util.Objects.deepEquals(this.next, other.next) && - java.util.Objects.deepEquals(this.previous, other.previous); + Objects.deepEquals(this.data, other.data) && + Objects.deepEquals(this.next, other.next) && + Objects.deepEquals(this.previous, other.previous); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( data, next, previous); @@ -133,17 +131,17 @@ public String toString() { public final static class Builder { - private java.util.List data; + private List data; - private Optional next = Optional.empty(); + private Optional next = Optional.empty(); - private Optional previous = Optional.empty(); + private Optional previous = Optional.empty(); private Builder() { // force use of static builder() method } - public Builder data(java.util.List data) { + public Builder data(List data) { Utils.checkNotNull(data, "data"); this.data = data; return this; @@ -155,7 +153,7 @@ public Builder next(String next) { return this; } - public Builder next(Optional next) { + public Builder next(Optional next) { Utils.checkNotNull(next, "next"); this.next = next; return this; @@ -167,7 +165,7 @@ public Builder previous(String previous) { return this; } - public Builder previous(Optional previous) { + public Builder previous(Optional previous) { Utils.checkNotNull(previous, "previous"); this.previous = previous; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Wrike.java b/src/main/java/com/airbyte/api/models/shared/Wrike.java new file mode 100644 index 000000000..823e56939 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Wrike.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Wrike { + WRIKE("wrike"); + + @JsonValue + private final String value; + + private Wrike(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Wufoo.java b/src/main/java/com/airbyte/api/models/shared/Wufoo.java new file mode 100644 index 000000000..682bcea6f --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Wufoo.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Wufoo { + WUFOO("wufoo"); + + @JsonValue + private final String value; + + private Wufoo(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Xkcd.java b/src/main/java/com/airbyte/api/models/shared/Xkcd.java index 2099e82aa..93cb4c72d 100644 --- a/src/main/java/com/airbyte/api/models/shared/Xkcd.java +++ b/src/main/java/com/airbyte/api/models/shared/Xkcd.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Xkcd { XKCD("xkcd"); diff --git a/src/main/java/com/airbyte/api/models/shared/Xsolla.java b/src/main/java/com/airbyte/api/models/shared/Xsolla.java new file mode 100644 index 000000000..4f43b4e93 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Xsolla.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Xsolla { + XSOLLA("xsolla"); + + @JsonValue + private final String value; + + private Xsolla(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Xz.java b/src/main/java/com/airbyte/api/models/shared/Xz.java index 020765d3c..bdfd4070f 100644 --- a/src/main/java/com/airbyte/api/models/shared/Xz.java +++ b/src/main/java/com/airbyte/api/models/shared/Xz.java @@ -1,24 +1,26 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Xz { @JsonInclude(Include.NON_ABSENT) @@ -30,12 +32,12 @@ public class Xz { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("compression_level") - private Optional compressionLevel; + private Optional compressionLevel; @JsonCreator public Xz( @JsonProperty("codec") Optional codec, - @JsonProperty("compression_level") Optional compressionLevel) { + @JsonProperty("compression_level") Optional compressionLevel) { Utils.checkNotNull(codec, "codec"); Utils.checkNotNull(compressionLevel, "compressionLevel"); this.codec = codec; @@ -55,10 +57,9 @@ public Optional codec() { /** * The presets 0-3 are fast presets with medium compression. The presets 4-6 are fairly slow presets with high compression. The default preset is 6. The presets 7-9 are like the preset 6 but use bigger dictionaries and have higher compressor and decompressor memory requirements. Unless the uncompressed size of the file exceeds 8 MiB, 16 MiB, or 32 MiB, it is waste of memory to use the presets 7, 8, or 9, respectively. Read more <a href="https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/compressors/xz/XZCompressorOutputStream.html#XZCompressorOutputStream-java.io.OutputStream-int-">here</a> for details. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional compressionLevel() { - return (Optional) compressionLevel; + return compressionLevel; } public final static Builder builder() { @@ -89,7 +90,7 @@ public Xz withCompressionLevel(long compressionLevel) { /** * The presets 0-3 are fast presets with medium compression. The presets 4-6 are fairly slow presets with high compression. The default preset is 6. The presets 7-9 are like the preset 6 but use bigger dictionaries and have higher compressor and decompressor memory requirements. Unless the uncompressed size of the file exceeds 8 MiB, 16 MiB, or 32 MiB, it is waste of memory to use the presets 7, 8, or 9, respectively. Read more <a href="https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/compressors/xz/XZCompressorOutputStream.html#XZCompressorOutputStream-java.io.OutputStream-int-">here</a> for details. */ - public Xz withCompressionLevel(Optional compressionLevel) { + public Xz withCompressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -105,13 +106,13 @@ public boolean equals(java.lang.Object o) { } Xz other = (Xz) o; return - java.util.Objects.deepEquals(this.codec, other.codec) && - java.util.Objects.deepEquals(this.compressionLevel, other.compressionLevel); + Objects.deepEquals(this.codec, other.codec) && + Objects.deepEquals(this.compressionLevel, other.compressionLevel); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec, compressionLevel); } @@ -127,7 +128,7 @@ public final static class Builder { private Optional codec; - private Optional compressionLevel; + private Optional compressionLevel; private Builder() { // force use of static builder() method @@ -157,7 +158,7 @@ public Builder compressionLevel(long compressionLevel) { /** * The presets 0-3 are fast presets with medium compression. The presets 4-6 are fairly slow presets with high compression. The default preset is 6. The presets 7-9 are like the preset 6 but use bigger dictionaries and have higher compressor and decompressor memory requirements. Unless the uncompressed size of the file exceeds 8 MiB, 16 MiB, or 32 MiB, it is waste of memory to use the presets 7, 8, or 9, respectively. Read more <a href="https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/compressors/xz/XZCompressorOutputStream.html#XZCompressorOutputStream-java.io.OutputStream-int-">here</a> for details. */ - public Builder compressionLevel(Optional compressionLevel) { + public Builder compressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -169,8 +170,7 @@ public Xz build() { } if (compressionLevel == null) { compressionLevel = _SINGLETON_VALUE_CompressionLevel.value(); - } - return new Xz( + } return new Xz( codec, compressionLevel); } @@ -181,11 +181,11 @@ public Xz build() { "\"xz\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = new LazySingletonValue<>( "compression_level", "6", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/models/shared/YahooFinancePrice.java b/src/main/java/com/airbyte/api/models/shared/YahooFinancePrice.java new file mode 100644 index 000000000..448afa300 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/YahooFinancePrice.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum YahooFinancePrice { + YAHOO_FINANCE_PRICE("yahoo-finance-price"); + + @JsonValue + private final String value; + + private YahooFinancePrice(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/YandexMetrica.java b/src/main/java/com/airbyte/api/models/shared/YandexMetrica.java index a4ba68b3b..b36f1f8c8 100644 --- a/src/main/java/com/airbyte/api/models/shared/YandexMetrica.java +++ b/src/main/java/com/airbyte/api/models/shared/YandexMetrica.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum YandexMetrica { YANDEX_METRICA("yandex-metrica"); diff --git a/src/main/java/com/airbyte/api/models/shared/Yellowbrick.java b/src/main/java/com/airbyte/api/models/shared/Yellowbrick.java index caceea20e..0770ad253 100644 --- a/src/main/java/com/airbyte/api/models/shared/Yellowbrick.java +++ b/src/main/java/com/airbyte/api/models/shared/Yellowbrick.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Yellowbrick { YELLOWBRICK("yellowbrick"); diff --git a/src/main/java/com/airbyte/api/models/shared/Yotpo.java b/src/main/java/com/airbyte/api/models/shared/Yotpo.java index 2bf8330f1..675339271 100644 --- a/src/main/java/com/airbyte/api/models/shared/Yotpo.java +++ b/src/main/java/com/airbyte/api/models/shared/Yotpo.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Yotpo { YOTPO("yotpo"); diff --git a/src/main/java/com/airbyte/api/models/shared/YouNeedABudgetYnab.java b/src/main/java/com/airbyte/api/models/shared/YouNeedABudgetYnab.java new file mode 100644 index 000000000..09b5028e0 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/YouNeedABudgetYnab.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum YouNeedABudgetYnab { + YOU_NEED_A_BUDGET_YNAB("you-need-a-budget-ynab"); + + @JsonValue + private final String value; + + private YouNeedABudgetYnab(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/YoutubeAnalytics.java b/src/main/java/com/airbyte/api/models/shared/YoutubeAnalytics.java index 799da4361..d5eb0e74a 100644 --- a/src/main/java/com/airbyte/api/models/shared/YoutubeAnalytics.java +++ b/src/main/java/com/airbyte/api/models/shared/YoutubeAnalytics.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class YoutubeAnalytics { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } YoutubeAnalytics other = (YoutubeAnalytics) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/YoutubeAnalyticsCredentials.java b/src/main/java/com/airbyte/api/models/shared/YoutubeAnalyticsCredentials.java index b80725417..8971df2b7 100644 --- a/src/main/java/com/airbyte/api/models/shared/YoutubeAnalyticsCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/YoutubeAnalyticsCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class YoutubeAnalyticsCredentials { /** @@ -25,19 +24,19 @@ public class YoutubeAnalyticsCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The client secret of your developer application */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public YoutubeAnalyticsCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public YoutubeAnalyticsCredentials() { /** * The Client ID of your developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The client secret of your developer application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public YoutubeAnalyticsCredentials withClientId(String clientId) { /** * The Client ID of your developer application */ - public YoutubeAnalyticsCredentials withClientId(Optional clientId) { + public YoutubeAnalyticsCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public YoutubeAnalyticsCredentials withClientSecret(String clientSecret) { /** * The client secret of your developer application */ - public YoutubeAnalyticsCredentials withClientSecret(Optional clientSecret) { + public YoutubeAnalyticsCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } YoutubeAnalyticsCredentials other = (YoutubeAnalyticsCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your developer application */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The client secret of your developer application */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/YoutubeData.java b/src/main/java/com/airbyte/api/models/shared/YoutubeData.java new file mode 100644 index 000000000..a913d69a3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/YoutubeData.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum YoutubeData { + YOUTUBE_DATA("youtube-data"); + + @JsonValue + private final String value; + + private YoutubeData(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZapierSupportedStorage.java b/src/main/java/com/airbyte/api/models/shared/ZapierSupportedStorage.java new file mode 100644 index 000000000..4314c43e3 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZapierSupportedStorage.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZapierSupportedStorage { + ZAPIER_SUPPORTED_STORAGE("zapier-supported-storage"); + + @JsonValue + private final String value; + + private ZapierSupportedStorage(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZendeskChat.java b/src/main/java/com/airbyte/api/models/shared/ZendeskChat.java index 7b92b1ec7..8caae442e 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZendeskChat.java +++ b/src/main/java/com/airbyte/api/models/shared/ZendeskChat.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ZendeskChat { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } ZendeskChat other = (ZendeskChat) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/ZendeskChatCredentials.java b/src/main/java/com/airbyte/api/models/shared/ZendeskChatCredentials.java index 0bd91b9cd..496231b55 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZendeskChatCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/ZendeskChatCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class ZendeskChatCredentials { /** @@ -25,19 +24,19 @@ public class ZendeskChatCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The Client Secret of your OAuth application. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public ZendeskChatCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public ZendeskChatCredentials() { /** * The Client ID of your OAuth application */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The Client Secret of your OAuth application. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public ZendeskChatCredentials withClientId(String clientId) { /** * The Client ID of your OAuth application */ - public ZendeskChatCredentials withClientId(Optional clientId) { + public ZendeskChatCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public ZendeskChatCredentials withClientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public ZendeskChatCredentials withClientSecret(Optional clientSecret) { + public ZendeskChatCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } ZendeskChatCredentials other = (ZendeskChatCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The Client ID of your OAuth application */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The Client Secret of your OAuth application. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/ZendeskSunshine.java b/src/main/java/com/airbyte/api/models/shared/ZendeskSunshine.java index 035f61f0b..08a9140a5 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZendeskSunshine.java +++ b/src/main/java/com/airbyte/api/models/shared/ZendeskSunshine.java @@ -1,111 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.util.Optional; +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; -public class ZendeskSunshine { +public enum ZendeskSunshine { + ZENDESK_SUNSHINE("zendesk-sunshine"); - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("credentials") - private Optional credentials; + @JsonValue + private final String value; - @JsonCreator - public ZendeskSunshine( - @JsonProperty("credentials") Optional credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = credentials; + private ZendeskSunshine(String value) { + this.value = value; } - public ZendeskSunshine() { - this(Optional.empty()); - } - - @SuppressWarnings("unchecked") - @JsonIgnore - public Optional credentials() { - return (Optional) credentials; - } - - public final static Builder builder() { - return new Builder(); - } - - public ZendeskSunshine withCredentials(ZendeskSunshineCredentials credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = Optional.ofNullable(credentials); - return this; - } - - public ZendeskSunshine withCredentials(Optional credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = credentials; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ZendeskSunshine other = (ZendeskSunshine) o; - return - java.util.Objects.deepEquals(this.credentials, other.credentials); - } - - @Override - public int hashCode() { - return java.util.Objects.hash( - credentials); - } - - @Override - public String toString() { - return Utils.toString(ZendeskSunshine.class, - "credentials", credentials); - } - - public final static class Builder { - - private Optional credentials = Optional.empty(); - - private Builder() { - // force use of static builder() method - } - - public Builder credentials(ZendeskSunshineCredentials credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = Optional.ofNullable(credentials); - return this; - } - - public Builder credentials(Optional credentials) { - Utils.checkNotNull(credentials, "credentials"); - this.credentials = credentials; - return this; - } - - public ZendeskSunshine build() { - return new ZendeskSunshine( - credentials); - } + public String value() { + return value; } } - diff --git a/src/main/java/com/airbyte/api/models/shared/ZendeskSupport.java b/src/main/java/com/airbyte/api/models/shared/ZendeskSupport.java index 84f03eab0..8b93fb410 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZendeskSupport.java +++ b/src/main/java/com/airbyte/api/models/shared/ZendeskSupport.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ZendeskSupport { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } ZendeskSupport other = (ZendeskSupport) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/ZendeskSupportCredentials.java b/src/main/java/com/airbyte/api/models/shared/ZendeskSupportCredentials.java index d75482825..b4de56423 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZendeskSupportCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/ZendeskSupportCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class ZendeskSupportCredentials { /** @@ -25,19 +24,19 @@ public class ZendeskSupportCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public ZendeskSupportCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public ZendeskSupportCredentials() { /** * The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public ZendeskSupportCredentials withClientId(String clientId) { /** * The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. */ - public ZendeskSupportCredentials withClientId(Optional clientId) { + public ZendeskSupportCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public ZendeskSupportCredentials withClientSecret(String clientSecret) { /** * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. */ - public ZendeskSupportCredentials withClientSecret(Optional clientSecret) { + public ZendeskSupportCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } ZendeskSupportCredentials other = (ZendeskSupportCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information. */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/ZendeskTalk.java b/src/main/java/com/airbyte/api/models/shared/ZendeskTalk.java index 453560a54..3a718469e 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZendeskTalk.java +++ b/src/main/java/com/airbyte/api/models/shared/ZendeskTalk.java @@ -1,23 +1,23 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class ZendeskTalk { @JsonInclude(Include.NON_ABSENT) @@ -67,12 +67,12 @@ public boolean equals(java.lang.Object o) { } ZendeskTalk other = (ZendeskTalk) o; return - java.util.Objects.deepEquals(this.credentials, other.credentials); + Objects.deepEquals(this.credentials, other.credentials); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( credentials); } diff --git a/src/main/java/com/airbyte/api/models/shared/ZendeskTalkCredentials.java b/src/main/java/com/airbyte/api/models/shared/ZendeskTalkCredentials.java index 08a3decc8..6609d9aa7 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZendeskTalkCredentials.java +++ b/src/main/java/com/airbyte/api/models/shared/ZendeskTalkCredentials.java @@ -1,23 +1,22 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Override; +import java.lang.String; +import java.util.Objects; import java.util.Optional; + public class ZendeskTalkCredentials { /** @@ -25,19 +24,19 @@ public class ZendeskTalkCredentials { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_id") - private Optional clientId; + private Optional clientId; /** * Client Secret */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("client_secret") - private Optional clientSecret; + private Optional clientSecret; @JsonCreator public ZendeskTalkCredentials( - @JsonProperty("client_id") Optional clientId, - @JsonProperty("client_secret") Optional clientSecret) { + @JsonProperty("client_id") Optional clientId, + @JsonProperty("client_secret") Optional clientSecret) { Utils.checkNotNull(clientId, "clientId"); Utils.checkNotNull(clientSecret, "clientSecret"); this.clientId = clientId; @@ -51,19 +50,17 @@ public ZendeskTalkCredentials() { /** * Client ID */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientId() { - return (Optional) clientId; + return clientId; } /** * Client Secret */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional clientSecret() { - return (Optional) clientSecret; + return clientSecret; } public final static Builder builder() { @@ -82,7 +79,7 @@ public ZendeskTalkCredentials withClientId(String clientId) { /** * Client ID */ - public ZendeskTalkCredentials withClientId(Optional clientId) { + public ZendeskTalkCredentials withClientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -100,7 +97,7 @@ public ZendeskTalkCredentials withClientSecret(String clientSecret) { /** * Client Secret */ - public ZendeskTalkCredentials withClientSecret(Optional clientSecret) { + public ZendeskTalkCredentials withClientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; @@ -116,13 +113,13 @@ public boolean equals(java.lang.Object o) { } ZendeskTalkCredentials other = (ZendeskTalkCredentials) o; return - java.util.Objects.deepEquals(this.clientId, other.clientId) && - java.util.Objects.deepEquals(this.clientSecret, other.clientSecret); + Objects.deepEquals(this.clientId, other.clientId) && + Objects.deepEquals(this.clientSecret, other.clientSecret); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( clientId, clientSecret); } @@ -136,9 +133,9 @@ public String toString() { public final static class Builder { - private Optional clientId = Optional.empty(); + private Optional clientId = Optional.empty(); - private Optional clientSecret = Optional.empty(); + private Optional clientSecret = Optional.empty(); private Builder() { // force use of static builder() method @@ -156,7 +153,7 @@ public Builder clientId(String clientId) { /** * Client ID */ - public Builder clientId(Optional clientId) { + public Builder clientId(Optional clientId) { Utils.checkNotNull(clientId, "clientId"); this.clientId = clientId; return this; @@ -174,7 +171,7 @@ public Builder clientSecret(String clientSecret) { /** * Client Secret */ - public Builder clientSecret(Optional clientSecret) { + public Builder clientSecret(Optional clientSecret) { Utils.checkNotNull(clientSecret, "clientSecret"); this.clientSecret = clientSecret; return this; diff --git a/src/main/java/com/airbyte/api/models/shared/Zenefits.java b/src/main/java/com/airbyte/api/models/shared/Zenefits.java new file mode 100644 index 000000000..279388479 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/Zenefits.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum Zenefits { + ZENEFITS("zenefits"); + + @JsonValue + private final String value; + + private Zenefits(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Zenloop.java b/src/main/java/com/airbyte/api/models/shared/Zenloop.java index 5cc721da4..d48548b41 100644 --- a/src/main/java/com/airbyte/api/models/shared/Zenloop.java +++ b/src/main/java/com/airbyte/api/models/shared/Zenloop.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Zenloop { ZENLOOP("zenloop"); diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoAnalyticsMetadataApi.java b/src/main/java/com/airbyte/api/models/shared/ZohoAnalyticsMetadataApi.java new file mode 100644 index 000000000..0e4f799cb --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZohoAnalyticsMetadataApi.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZohoAnalyticsMetadataApi { + ZOHO_ANALYTICS_METADATA_API("zoho-analytics-metadata-api"); + + @JsonValue + private final String value; + + private ZohoAnalyticsMetadataApi(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoBigin.java b/src/main/java/com/airbyte/api/models/shared/ZohoBigin.java new file mode 100644 index 000000000..fc52400a2 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZohoBigin.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZohoBigin { + ZOHO_BIGIN("zoho-bigin"); + + @JsonValue + private final String value; + + private ZohoBigin(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoBilling.java b/src/main/java/com/airbyte/api/models/shared/ZohoBilling.java new file mode 100644 index 000000000..7362f4986 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZohoBilling.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZohoBilling { + ZOHO_BILLING("zoho-billing"); + + @JsonValue + private final String value; + + private ZohoBilling(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoBooks.java b/src/main/java/com/airbyte/api/models/shared/ZohoBooks.java new file mode 100644 index 000000000..ecbf6be46 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZohoBooks.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZohoBooks { + ZOHO_BOOKS("zoho-books"); + + @JsonValue + private final String value; + + private ZohoBooks(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoCRMEdition.java b/src/main/java/com/airbyte/api/models/shared/ZohoCRMEdition.java index 2abfebb04..28ff26e45 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZohoCRMEdition.java +++ b/src/main/java/com/airbyte/api/models/shared/ZohoCRMEdition.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; /** * ZohoCRMEdition - Choose your Edition of Zoho CRM to determine API Concurrency Limits diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoCampaign.java b/src/main/java/com/airbyte/api/models/shared/ZohoCampaign.java new file mode 100644 index 000000000..3e8b58820 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZohoCampaign.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZohoCampaign { + ZOHO_CAMPAIGN("zoho-campaign"); + + @JsonValue + private final String value; + + private ZohoCampaign(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoCrm.java b/src/main/java/com/airbyte/api/models/shared/ZohoCrm.java index 5f66b5a4d..0e51fb9bf 100644 --- a/src/main/java/com/airbyte/api/models/shared/ZohoCrm.java +++ b/src/main/java/com/airbyte/api/models/shared/ZohoCrm.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum ZohoCrm { ZOHO_CRM("zoho-crm"); diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoDesk.java b/src/main/java/com/airbyte/api/models/shared/ZohoDesk.java new file mode 100644 index 000000000..d00f4e188 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZohoDesk.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZohoDesk { + ZOHO_DESK("zoho-desk"); + + @JsonValue + private final String value; + + private ZohoDesk(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoExpense.java b/src/main/java/com/airbyte/api/models/shared/ZohoExpense.java new file mode 100644 index 000000000..e14494311 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZohoExpense.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZohoExpense { + ZOHO_EXPENSE("zoho-expense"); + + @JsonValue + private final String value; + + private ZohoExpense(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoInventory.java b/src/main/java/com/airbyte/api/models/shared/ZohoInventory.java new file mode 100644 index 000000000..650b83efa --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZohoInventory.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZohoInventory { + ZOHO_INVENTORY("zoho-inventory"); + + @JsonValue + private final String value; + + private ZohoInventory(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZohoInvoice.java b/src/main/java/com/airbyte/api/models/shared/ZohoInvoice.java new file mode 100644 index 000000000..4c7dc7df7 --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZohoInvoice.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZohoInvoice { + ZOHO_INVOICE("zoho-invoice"); + + @JsonValue + private final String value; + + private ZohoInvoice(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/ZonkaFeedback.java b/src/main/java/com/airbyte/api/models/shared/ZonkaFeedback.java new file mode 100644 index 000000000..7fdfed8ac --- /dev/null +++ b/src/main/java/com/airbyte/api/models/shared/ZonkaFeedback.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; + +public enum ZonkaFeedback { + ZONKA_FEEDBACK("zonka-feedback"); + + @JsonValue + private final String value; + + private ZonkaFeedback(String value) { + this.value = value; + } + + public String value() { + return value; + } +} diff --git a/src/main/java/com/airbyte/api/models/shared/Zoom.java b/src/main/java/com/airbyte/api/models/shared/Zoom.java index a88f9d2aa..868d15a85 100644 --- a/src/main/java/com/airbyte/api/models/shared/Zoom.java +++ b/src/main/java/com/airbyte/api/models/shared/Zoom.java @@ -1,19 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; -import com.airbyte.api.utils.Utils; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonValue; -import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.String; public enum Zoom { ZOOM("zoom"); diff --git a/src/main/java/com/airbyte/api/models/shared/Zstandard.java b/src/main/java/com/airbyte/api/models/shared/Zstandard.java index a152bb273..030b682e9 100644 --- a/src/main/java/com/airbyte/api/models/shared/Zstandard.java +++ b/src/main/java/com/airbyte/api/models/shared/Zstandard.java @@ -1,24 +1,27 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.models.shared; + import com.airbyte.api.utils.LazySingletonValue; import com.airbyte.api.utils.Utils; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; -import java.io.InputStream; -import java.lang.Deprecated; -import java.math.BigDecimal; -import java.math.BigInteger; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.util.Objects; import java.util.Optional; + public class Zstandard { @JsonInclude(Include.NON_ABSENT) @@ -30,20 +33,20 @@ public class Zstandard { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("compression_level") - private Optional compressionLevel; + private Optional compressionLevel; /** * If true, include a checksum with each data block. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("include_checksum") - private Optional includeChecksum; + private Optional includeChecksum; @JsonCreator public Zstandard( @JsonProperty("codec") Optional codec, - @JsonProperty("compression_level") Optional compressionLevel, - @JsonProperty("include_checksum") Optional includeChecksum) { + @JsonProperty("compression_level") Optional compressionLevel, + @JsonProperty("include_checksum") Optional includeChecksum) { Utils.checkNotNull(codec, "codec"); Utils.checkNotNull(compressionLevel, "compressionLevel"); Utils.checkNotNull(includeChecksum, "includeChecksum"); @@ -65,19 +68,17 @@ public Optional codec() { /** * Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional compressionLevel() { - return (Optional) compressionLevel; + return compressionLevel; } /** * If true, include a checksum with each data block. */ - @SuppressWarnings("unchecked") @JsonIgnore public Optional includeChecksum() { - return (Optional) includeChecksum; + return includeChecksum; } public final static Builder builder() { @@ -108,7 +109,7 @@ public Zstandard withCompressionLevel(long compressionLevel) { /** * Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. */ - public Zstandard withCompressionLevel(Optional compressionLevel) { + public Zstandard withCompressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -126,7 +127,7 @@ public Zstandard withIncludeChecksum(boolean includeChecksum) { /** * If true, include a checksum with each data block. */ - public Zstandard withIncludeChecksum(Optional includeChecksum) { + public Zstandard withIncludeChecksum(Optional includeChecksum) { Utils.checkNotNull(includeChecksum, "includeChecksum"); this.includeChecksum = includeChecksum; return this; @@ -142,14 +143,14 @@ public boolean equals(java.lang.Object o) { } Zstandard other = (Zstandard) o; return - java.util.Objects.deepEquals(this.codec, other.codec) && - java.util.Objects.deepEquals(this.compressionLevel, other.compressionLevel) && - java.util.Objects.deepEquals(this.includeChecksum, other.includeChecksum); + Objects.deepEquals(this.codec, other.codec) && + Objects.deepEquals(this.compressionLevel, other.compressionLevel) && + Objects.deepEquals(this.includeChecksum, other.includeChecksum); } @Override public int hashCode() { - return java.util.Objects.hash( + return Objects.hash( codec, compressionLevel, includeChecksum); @@ -167,9 +168,9 @@ public final static class Builder { private Optional codec; - private Optional compressionLevel; + private Optional compressionLevel; - private Optional includeChecksum; + private Optional includeChecksum; private Builder() { // force use of static builder() method @@ -199,7 +200,7 @@ public Builder compressionLevel(long compressionLevel) { /** * Negative levels are 'fast' modes akin to lz4 or snappy, levels above 9 are generally for archival purposes, and levels above 18 use a lot of memory. */ - public Builder compressionLevel(Optional compressionLevel) { + public Builder compressionLevel(Optional compressionLevel) { Utils.checkNotNull(compressionLevel, "compressionLevel"); this.compressionLevel = compressionLevel; return this; @@ -217,7 +218,7 @@ public Builder includeChecksum(boolean includeChecksum) { /** * If true, include a checksum with each data block. */ - public Builder includeChecksum(Optional includeChecksum) { + public Builder includeChecksum(Optional includeChecksum) { Utils.checkNotNull(includeChecksum, "includeChecksum"); this.includeChecksum = includeChecksum; return this; @@ -232,8 +233,7 @@ public Zstandard build() { } if (includeChecksum == null) { includeChecksum = _SINGLETON_VALUE_IncludeChecksum.value(); - } - return new Zstandard( + } return new Zstandard( codec, compressionLevel, includeChecksum); @@ -245,17 +245,17 @@ public Zstandard build() { "\"zstandard\"", new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = + private static final LazySingletonValue> _SINGLETON_VALUE_CompressionLevel = new LazySingletonValue<>( "compression_level", "3", - new TypeReference>() {}); + new TypeReference>() {}); - private static final LazySingletonValue> _SINGLETON_VALUE_IncludeChecksum = + private static final LazySingletonValue> _SINGLETON_VALUE_IncludeChecksum = new LazySingletonValue<>( "include_checksum", "false", - new TypeReference>() {}); + new TypeReference>() {}); } } diff --git a/src/main/java/com/airbyte/api/utils/BackoffStrategy.java b/src/main/java/com/airbyte/api/utils/BackoffStrategy.java index a74b7b87d..f31bd75f9 100644 --- a/src/main/java/com/airbyte/api/utils/BackoffStrategy.java +++ b/src/main/java/com/airbyte/api/utils/BackoffStrategy.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/BigDecimalString.java b/src/main/java/com/airbyte/api/utils/BigDecimalString.java index 1efbb7ba9..6fb42c475 100644 --- a/src/main/java/com/airbyte/api/utils/BigDecimalString.java +++ b/src/main/java/com/airbyte/api/utils/BigDecimalString.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/BigIntegerString.java b/src/main/java/com/airbyte/api/utils/BigIntegerString.java index 8a8dfea19..9e519a4e7 100644 --- a/src/main/java/com/airbyte/api/utils/BigIntegerString.java +++ b/src/main/java/com/airbyte/api/utils/BigIntegerString.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/Deserializers.java b/src/main/java/com/airbyte/api/utils/Deserializers.java index 479b6cc0f..a4b704dce 100644 --- a/src/main/java/com/airbyte/api/utils/Deserializers.java +++ b/src/main/java/com/airbyte/api/utils/Deserializers.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/EventStream.java b/src/main/java/com/airbyte/api/utils/EventStream.java index a9462016c..371685377 100644 --- a/src/main/java/com/airbyte/api/utils/EventStream.java +++ b/src/main/java/com/airbyte/api/utils/EventStream.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; @@ -33,12 +33,14 @@ public final class EventStream implements AutoCloseable { private final EventStreamReader reader; private final TypeReference typeReference; private final ObjectMapper mapper; + private final Optional terminalMessage; // Internal use only - public EventStream(InputStream in, TypeReference typeReference, ObjectMapper mapper) { + public EventStream(InputStream in, TypeReference typeReference, ObjectMapper mapper, Optional terminalMessage) { this.reader = new EventStreamReader(in); this.typeReference = typeReference; this.mapper = mapper; + this.terminalMessage = terminalMessage; } /** @@ -50,6 +52,7 @@ public EventStream(InputStream in, TypeReference typeReference, ObjectMapper */ public Optional next() throws IOException { return reader.readMessage() // + .filter(x -> !terminalMessage.isPresent() || !terminalMessage.get().equals(x.data())) // .map(x -> Utils.asType(x, mapper, typeReference)); } @@ -124,3 +127,4 @@ public void close() throws Exception { } } + diff --git a/src/main/java/com/airbyte/api/utils/EventStreamLineReader.java b/src/main/java/com/airbyte/api/utils/EventStreamLineReader.java index 2c7a666eb..4ceec27f3 100644 --- a/src/main/java/com/airbyte/api/utils/EventStreamLineReader.java +++ b/src/main/java/com/airbyte/api/utils/EventStreamLineReader.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/EventStreamMessage.java b/src/main/java/com/airbyte/api/utils/EventStreamMessage.java index 109ca9d6c..70f963050 100644 --- a/src/main/java/com/airbyte/api/utils/EventStreamMessage.java +++ b/src/main/java/com/airbyte/api/utils/EventStreamMessage.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/EventStreamReader.java b/src/main/java/com/airbyte/api/utils/EventStreamReader.java index abbb21768..c1c974706 100644 --- a/src/main/java/com/airbyte/api/utils/EventStreamReader.java +++ b/src/main/java/com/airbyte/api/utils/EventStreamReader.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/FormMetadata.java b/src/main/java/com/airbyte/api/utils/FormMetadata.java index 3f7fe3bc9..384c90626 100644 --- a/src/main/java/com/airbyte/api/utils/FormMetadata.java +++ b/src/main/java/com/airbyte/api/utils/FormMetadata.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/HTTPClient.java b/src/main/java/com/airbyte/api/utils/HTTPClient.java index 523ca6e9c..16f3edbcf 100644 --- a/src/main/java/com/airbyte/api/utils/HTTPClient.java +++ b/src/main/java/com/airbyte/api/utils/HTTPClient.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/HTTPRequest.java b/src/main/java/com/airbyte/api/utils/HTTPRequest.java index 45671cab6..3228d3ee2 100644 --- a/src/main/java/com/airbyte/api/utils/HTTPRequest.java +++ b/src/main/java/com/airbyte/api/utils/HTTPRequest.java @@ -1,9 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; +import java.net.URI; import java.net.URISyntaxException; import java.net.http.HttpRequest; import java.net.http.HttpRequest.BodyPublisher; @@ -15,15 +16,15 @@ import java.util.Map; import java.util.Optional; -import org.apache.http.NameValuePair; -import org.apache.http.client.utils.URIBuilder; -import org.apache.http.message.BasicNameValuePair; - public class HTTPRequest { + private static final String FRAGMENT_SEGMENT_START = "#"; + private static final String QUERY_NAME_VALUE_DELIMITER = "="; + private static final String QUERY_PARAMETER_DELIMITER = "&"; + private static final String QUERY_SEGMENT_START = "?"; private final String baseURL; private final String method; - private final List queryParams = new ArrayList<>(); + private final List queryParams = new ArrayList<>(); private final Map> headers = new HashMap<>(); private Optional body = Optional.empty(); // mutable @@ -54,21 +55,21 @@ public HTTPRequest addHeaders(Map> map) { return this; } - public HTTPRequest addQueryParam(String name, String value) { - addQueryParam(new BasicNameValuePair(name, value)); + public HTTPRequest addQueryParam(QueryParameter param) { + this.queryParams.add(param); return this; } - - public HTTPRequest addQueryParam(NameValuePair param) { - this.queryParams.add(param); + + public HTTPRequest addQueryParam(String key, String value, boolean allowReserved) { + this.queryParams.add(QueryParameter.of(key, value, allowReserved)); return this; } - public HTTPRequest addQueryParams(Collection params) { + public HTTPRequest addQueryParams(Collection params) { params.forEach(p -> addQueryParam(p)); return this; } - + public HttpRequest build() { HttpRequest.Builder requestBuilder = HttpRequest.newBuilder(); @@ -81,14 +82,49 @@ public HttpRequest build() { } requestBuilder.method(method, bodyPublisher); try { - URIBuilder b = new URIBuilder(this.baseURL); - queryParams.forEach(pair -> b.addParameter(pair.getName(), pair.getValue())); - requestBuilder.uri(b.build()); + requestBuilder.uri(new URI(buildUrl(baseURL, queryParams))); } catch (URISyntaxException e) { throw new RuntimeException(e); } headers.forEach((k, list) -> list.forEach(v -> requestBuilder.header(k, v))); return requestBuilder.build(); } - + + // VisibleForTesting + public static String buildUrl(String baseURL, Collection queryParams) { + if (queryParams.isEmpty()) { + return baseURL; + } else { + final String base; + final String fragment; + int i = baseURL.indexOf(FRAGMENT_SEGMENT_START); + if (i == -1) { + base = baseURL; + fragment = ""; + } else { + base = baseURL.substring(0, i); + fragment = baseURL.substring(i); + } + StringBuilder b = new StringBuilder(base); + if (!base.contains(QUERY_SEGMENT_START)) { + b.append(QUERY_SEGMENT_START); + } else { + b.append(QUERY_PARAMETER_DELIMITER); + } + boolean first = true; + for (QueryParameter p : queryParams) { + if (!first) { + b.append(QUERY_PARAMETER_DELIMITER); + } + first = false; + // don't allow reserved characters to be unencoded in key (??) + b.append(Utf8UrlEncoder.DEFAULT.encode(p.name())); + b.append(QUERY_NAME_VALUE_DELIMITER); + b.append(Utf8UrlEncoder.allowReserved(p.allowReserved()).encode(p.value())); + } + b.append(fragment); + return b.toString(); + } + } + } \ No newline at end of file diff --git a/src/main/java/com/airbyte/api/utils/HeaderMetadata.java b/src/main/java/com/airbyte/api/utils/HeaderMetadata.java index d33870978..f3fbd7249 100644 --- a/src/main/java/com/airbyte/api/utils/HeaderMetadata.java +++ b/src/main/java/com/airbyte/api/utils/HeaderMetadata.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/Helpers.java b/src/main/java/com/airbyte/api/utils/Helpers.java index df34af16c..22fb4bd48 100644 --- a/src/main/java/com/airbyte/api/utils/Helpers.java +++ b/src/main/java/com/airbyte/api/utils/Helpers.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/Hook.java b/src/main/java/com/airbyte/api/utils/Hook.java index 23ae4d7e9..e350a44d8 100644 --- a/src/main/java/com/airbyte/api/utils/Hook.java +++ b/src/main/java/com/airbyte/api/utils/Hook.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/Hooks.java b/src/main/java/com/airbyte/api/utils/Hooks.java index 05a6f63b1..0e0fdcca1 100644 --- a/src/main/java/com/airbyte/api/utils/Hooks.java +++ b/src/main/java/com/airbyte/api/utils/Hooks.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/JSON.java b/src/main/java/com/airbyte/api/utils/JSON.java index 7ad47b792..cf9277574 100644 --- a/src/main/java/com/airbyte/api/utils/JSON.java +++ b/src/main/java/com/airbyte/api/utils/JSON.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/LazySingletonValue.java b/src/main/java/com/airbyte/api/utils/LazySingletonValue.java index 461b1ff00..8e8771a52 100644 --- a/src/main/java/com/airbyte/api/utils/LazySingletonValue.java +++ b/src/main/java/com/airbyte/api/utils/LazySingletonValue.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/Metadata.java b/src/main/java/com/airbyte/api/utils/Metadata.java index 2e4ea2919..d8054d07a 100644 --- a/src/main/java/com/airbyte/api/utils/Metadata.java +++ b/src/main/java/com/airbyte/api/utils/Metadata.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/MultipartFormMetadata.java b/src/main/java/com/airbyte/api/utils/MultipartFormMetadata.java index c8b9abd8e..8ea435996 100644 --- a/src/main/java/com/airbyte/api/utils/MultipartFormMetadata.java +++ b/src/main/java/com/airbyte/api/utils/MultipartFormMetadata.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/OneOfDeserializer.java b/src/main/java/com/airbyte/api/utils/OneOfDeserializer.java index c76ec5d68..ae9f47791 100644 --- a/src/main/java/com/airbyte/api/utils/OneOfDeserializer.java +++ b/src/main/java/com/airbyte/api/utils/OneOfDeserializer.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; @@ -35,33 +35,47 @@ public class OneOfDeserializer extends StdDeserializer { private static final long serialVersionUID = -1; - private final List typeReferences; // oneOf subschemas + private final transient List typeReferences; // oneOf subschemas private final Class cls; + private final boolean strict; private final ObjectMapper mapper; - protected OneOfDeserializer(Class cls, TypeReferenceWithShape... typeReferences) { + /** + * Constructor. + * + * @param cls oneOf type + * @param strict if true then when multiple matches encountered an + * exception is thrown. If false then when multiple + * matches encountered the first match from the + * typeReferences array is used as deserialization result. + * @param typeReferences the types of the oneOf subschemas. When strict is false + * the first matching member of this array will be the + * type of the deserialization result. + */ + protected OneOfDeserializer(Class cls, boolean strict, TypeReferenceWithShape... typeReferences) { super(cls); this.typeReferences= Arrays.asList(typeReferences); this.cls = cls; + this.strict = strict; this.mapper = JSON.getMapper(); } @Override public T deserialize(JsonParser p, DeserializationContext ctxt) throws IOException { - return deserializeOneOf(mapper, p, ctxt, typeReferences, cls); + return deserializeOneOf(mapper, p, ctxt, typeReferences, cls, strict); } private static T deserializeOneOf(ObjectMapper mapper, JsonParser p, DeserializationContext ctxt, - List typeReferences, Class cls) throws IOException { + List typeReferences, Class cls, boolean strict) throws IOException { TreeNode tree = p.getCodec().readTree(p); // TODO don't have to generate json because can use tree.traverse to get a // parser to read value, perf advantage and can stop plugging in ObjectMapper String json = mapper.writeValueAsString(tree); - return deserializeOneOf(mapper, json, typeReferences, cls, ctxt); + return deserializeOneOf(mapper, json, typeReferences, cls, ctxt, strict); } private static T deserializeOneOf(ObjectMapper mapper, String json, List typeReferences, Class cls, - DeserializationContext ctxt) throws JsonProcessingException { + DeserializationContext ctxt, boolean strict) throws JsonProcessingException { List> matches = new ArrayList<>(); for (TypeReferenceWithShape c : typeReferences) { // try to deserialize with each of the member classes @@ -84,8 +98,14 @@ private static T deserializeOneOf(ObjectMapper mapper, String json, List 1) { - throw JsonMappingException.from(ctxt, - "json matched more than one of the possible type references, matches are: " + typeNames(matches) + " - json=\n" + json); + if (strict) { + throw JsonMappingException.from(ctxt, + "json matched more than one of the possible type references, matches are: " + + typeNames(matches) + " - json=\n" + json); + } else { + // return first match + return matches.get(0).value; + } } else { throw JsonMappingException.from(ctxt, "json did not match any of the possible type references: " + typeReferenceNames(typeReferences) + ", json=\n" + json); diff --git a/src/main/java/com/airbyte/api/utils/Options.java b/src/main/java/com/airbyte/api/utils/Options.java index 51f85eeb5..32f7a7ff5 100644 --- a/src/main/java/com/airbyte/api/utils/Options.java +++ b/src/main/java/com/airbyte/api/utils/Options.java @@ -1,13 +1,11 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; import java.util.Optional; import java.util.List; -import com.airbyte.api.utils.Utils; - public class Options { @@ -15,14 +13,14 @@ public enum Option { RETRY_CONFIG; } - private Optional retryConfig = Optional.empty(); + private Optional retryConfig = Optional.empty(); - private Options(Optional retryConfig) { + private Options(Optional retryConfig) { Utils.checkNotNull(retryConfig, "retryConfig"); this.retryConfig = retryConfig; } - public Optional retryConfig() { + public Optional retryConfig() { return retryConfig; } @@ -38,17 +36,17 @@ public final static Builder builder() { public final static class Builder { - private Optional retryConfig = Optional.empty(); + private Optional retryConfig = Optional.empty(); private Builder() {} - public Builder retryConfig(com.airbyte.api.utils.RetryConfig retryConfig) throws IllegalArgumentException { + public Builder retryConfig(RetryConfig retryConfig) throws IllegalArgumentException { Utils.checkNotNull(retryConfig, "retryConfig"); this.retryConfig = Optional.of(retryConfig); return this; } - public Builder retryConfig(Optional retryConfig) throws IllegalArgumentException { + public Builder retryConfig(Optional retryConfig) throws IllegalArgumentException { Utils.checkNotNull(retryConfig, "retryConfig"); this.retryConfig = retryConfig; return this; diff --git a/src/main/java/com/airbyte/api/utils/PathParamsMetadata.java b/src/main/java/com/airbyte/api/utils/PathParamsMetadata.java index 115c74e4a..2781c4cb6 100644 --- a/src/main/java/com/airbyte/api/utils/PathParamsMetadata.java +++ b/src/main/java/com/airbyte/api/utils/PathParamsMetadata.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; @@ -8,15 +8,17 @@ class PathParamsMetadata { + // these fields set via reflection + String style = "simple"; boolean explode; String name; String serialization; + boolean allowReserved; private PathParamsMetadata() { } - // pathParam:style=simple,explode=false,name=apiID static PathParamsMetadata parse(Field field) throws IllegalArgumentException, IllegalAccessException { return Metadata.parse("pathParam", new PathParamsMetadata(), field); } diff --git a/src/main/java/com/airbyte/api/utils/QueryParameter.java b/src/main/java/com/airbyte/api/utils/QueryParameter.java new file mode 100644 index 000000000..424e3face --- /dev/null +++ b/src/main/java/com/airbyte/api/utils/QueryParameter.java @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.utils; + +import java.util.Objects; + +// internal class, not for public use +// TODO move to internal package +public final class QueryParameter { + + private final String name; + private final String value; + private final boolean allowReserved; + + private QueryParameter(String name, String value, boolean allowReserved) { + this.name = name; + this.value = value; + this.allowReserved = allowReserved; + } + + public static QueryParameter of(String name, String value, boolean allowReserved) { + return new QueryParameter(name, value, allowReserved); + } + + public String name() { + return name; + } + + public String value() { + return value; + } + + public boolean allowReserved() { + return allowReserved; + } + + @Override + public String toString() { + return "QueryParameter [name=" + name + ", value=" + value + ", allowReserved=" + allowReserved + "]"; + } + + @Override + public int hashCode() { + return Objects.hash(allowReserved, name, value); + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + QueryParameter other = (QueryParameter) obj; + return allowReserved == other.allowReserved && Objects.equals(name, other.name) + && Objects.equals(value, other.value); + } + +} diff --git a/src/main/java/com/airbyte/api/utils/QueryParameters.java b/src/main/java/com/airbyte/api/utils/QueryParameters.java index 15196a883..dcd610081 100644 --- a/src/main/java/com/airbyte/api/utils/QueryParameters.java +++ b/src/main/java/com/airbyte/api/utils/QueryParameters.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; @@ -11,19 +11,13 @@ import java.util.Map; import java.util.stream.Collectors; -import org.apache.http.NameValuePair; -import org.apache.http.message.BasicNameValuePair; - -import com.airbyte.api.utils.Utils.JsonShape; - import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; public class QueryParameters { - public static List parseQueryParams(Class type, T queryParams, + public static List parseQueryParams(Class type, T queryParams, Map>> globals) throws Exception { - List allParams = new ArrayList<>(); + List allParams = new ArrayList<>(); Field[] fields = type.getDeclaredFields(); @@ -48,22 +42,24 @@ public static List parseQueryParams(Class t } if (queryParamsMetadata.serialization != null && !queryParamsMetadata.serialization.isBlank()) { - List params = parseSerializedParams(queryParamsMetadata, value); + List params = parseSerializedParams(queryParamsMetadata, value); allParams.addAll(params); } else { switch (queryParamsMetadata.style) { case "form": - List formParams = parseDelimitedParams(queryParamsMetadata, value, ","); + List formParams = parseDelimitedParams(queryParamsMetadata, value, ","); allParams.addAll(formParams); break; case "deepObject": - List deepObjectParams = parseDeepObjectParams(queryParamsMetadata, value); + List deepObjectParams = parseDeepObjectParams(queryParamsMetadata, value); allParams.addAll(deepObjectParams); break; case "pipeDelimited": - List pipeDelimitedParams = parseDelimitedParams(queryParamsMetadata, value, "|"); + List pipeDelimitedParams = parseDelimitedParams(queryParamsMetadata, value, "|"); allParams.addAll(pipeDelimitedParams); break; + default: + break; } } } @@ -71,25 +67,24 @@ public static List parseQueryParams(Class t return allParams; } - private static List parseSerializedParams(QueryParamsMetadata queryParamsMetadata, Object value) + private static List parseSerializedParams(QueryParamsMetadata queryParamsMetadata, Object value) throws JsonProcessingException { - List params = new ArrayList<>(); - + List params = new ArrayList<>(); switch (queryParamsMetadata.serialization) { case "json": ObjectMapper mapper = JSON.getMapper(); String json = mapper.writeValueAsString(value); - - params.add(new BasicNameValuePair(queryParamsMetadata.name, json)); + params.add(QueryParameter.of(queryParamsMetadata.name, json, queryParamsMetadata.allowReserved)); + break; + default: break; } - return params; } - private static List parseDelimitedParams(QueryParamsMetadata queryParamsMetadata, Object value, String delimiter) + private static List parseDelimitedParams(QueryParamsMetadata queryParamsMetadata, Object value, String delimiter) throws IllegalArgumentException, IllegalAccessException { - List params = new ArrayList<>(); + List params = new ArrayList<>(); switch (Types.getType(value.getClass())) { case ARRAY: { @@ -109,7 +104,7 @@ private static List parseDelimitedParams(QueryParamsMetadata quer values.add(String.join(delimiter, items)); } - params.addAll(values.stream().map(v -> new BasicNameValuePair(queryParamsMetadata.name, v)) + params.addAll(values.stream().map(v -> QueryParameter.of(queryParamsMetadata.name, v, queryParamsMetadata.allowReserved)) .collect(Collectors.toList())); break; } @@ -123,20 +118,20 @@ private static List parseDelimitedParams(QueryParamsMetadata quer String val = Utils.valToString(entry.getValue()); if (queryParamsMetadata.explode) { - params.add(new BasicNameValuePair(key, val)); + params.add(QueryParameter.of(key, val, queryParamsMetadata.allowReserved)); } else { items.add(String.format("%s%s%s", key, delimiter, val)); } } if (items.size() > 0) { - params.add(new BasicNameValuePair(queryParamsMetadata.name, String.join(delimiter, items))); + params.add(QueryParameter.of(queryParamsMetadata.name, String.join(delimiter, items), queryParamsMetadata.allowReserved)); } break; } case OBJECT: { if (!Utils.allowIntrospection(value.getClass())) { - params.add(new BasicNameValuePair(queryParamsMetadata.name, Utils.valToString(value))); + params.add(QueryParameter.of(queryParamsMetadata.name, Utils.valToString(value), queryParamsMetadata.allowReserved)); break; } Field[] fields = value.getClass().getDeclaredFields(); @@ -157,29 +152,29 @@ private static List parseDelimitedParams(QueryParamsMetadata quer } if (queryParamsMetadata.explode) { - params.add(new BasicNameValuePair(metadata.name, Utils.valToString(val))); + params.add(QueryParameter.of(metadata.name, Utils.valToString(val), metadata.allowReserved)); } else { items.add(String.format("%s%s%s", metadata.name, delimiter, Utils.valToString(val))); } } if (items.size() > 0) { - params.add(new BasicNameValuePair(queryParamsMetadata.name, String.join(delimiter, items))); + params.add(QueryParameter.of(queryParamsMetadata.name, String.join(delimiter, items), queryParamsMetadata.allowReserved)); } break; } default: - params.add(new BasicNameValuePair(queryParamsMetadata.name, Utils.valToString(value))); + params.add(QueryParameter.of(queryParamsMetadata.name, Utils.valToString(value), queryParamsMetadata.allowReserved)); break; } return params; } - private static List parseDeepObjectParams(QueryParamsMetadata queryParamsMetadata, Object value) + private static List parseDeepObjectParams(QueryParamsMetadata queryParamsMetadata, Object value) throws Exception { - List params = new ArrayList<>(); + List params = new ArrayList<>(); switch (Types.getType(value.getClass())) { case MAP: { @@ -191,12 +186,12 @@ private static List parseDeepObjectParams(QueryParamsMetadata que if (val instanceof List || val.getClass().isArray()) { for (Object v : Utils.toList(val)) { - params.add(new BasicNameValuePair(String.format("%s[%s]", queryParamsMetadata.name, key), - Utils.valToString(v))); + params.add(QueryParameter.of(String.format("%s[%s]", queryParamsMetadata.name, key), + Utils.valToString(v), queryParamsMetadata.allowReserved)); } } else { - params.add(new BasicNameValuePair(String.format("%s[%s]", queryParamsMetadata.name, key), - Utils.valToString(val))); + params.add(QueryParameter.of(String.format("%s[%s]", queryParamsMetadata.name, key), + Utils.valToString(val), queryParamsMetadata.allowReserved)); } } @@ -223,14 +218,14 @@ private static List parseDeepObjectParams(QueryParamsMetadata que if (val instanceof List || val.getClass().isArray()) { for (Object v : Utils.toList(val)) { - params.add(new BasicNameValuePair( + params.add(QueryParameter.of( String.format("%s[%s]", queryParamsMetadata.name, metadata.name), - Utils.valToString(v))); + Utils.valToString(v), metadata.allowReserved)); } } else { params.add( - new BasicNameValuePair(String.format("%s[%s]", queryParamsMetadata.name, metadata.name), - Utils.valToString(val))); + QueryParameter.of(String.format("%s[%s]", queryParamsMetadata.name, metadata.name), + Utils.valToString(val), metadata.allowReserved)); } } diff --git a/src/main/java/com/airbyte/api/utils/QueryParamsMetadata.java b/src/main/java/com/airbyte/api/utils/QueryParamsMetadata.java index 4561af687..814933723 100644 --- a/src/main/java/com/airbyte/api/utils/QueryParamsMetadata.java +++ b/src/main/java/com/airbyte/api/utils/QueryParamsMetadata.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; @@ -8,12 +8,14 @@ class QueryParamsMetadata { + // these parameters set via reflection + String style = "form"; boolean explode = true; String name; String serialization; + boolean allowReserved; - // queryParam:style=simple,explode=false,name=apiID static QueryParamsMetadata parse(Field field) throws IllegalArgumentException, IllegalAccessException { return Metadata.parse("queryParam", new QueryParamsMetadata(), field); } diff --git a/src/main/java/com/airbyte/api/utils/RequestBody.java b/src/main/java/com/airbyte/api/utils/RequestBody.java index 2d2ba9687..c877c6641 100644 --- a/src/main/java/com/airbyte/api/utils/RequestBody.java +++ b/src/main/java/com/airbyte/api/utils/RequestBody.java @@ -1,11 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; import java.io.IOException; -import java.io.InputStream; import java.io.UncheckedIOException; import java.lang.reflect.Field; import java.lang.reflect.Modifier; diff --git a/src/main/java/com/airbyte/api/utils/RequestMetadata.java b/src/main/java/com/airbyte/api/utils/RequestMetadata.java index 46d96cf4f..1fb977946 100644 --- a/src/main/java/com/airbyte/api/utils/RequestMetadata.java +++ b/src/main/java/com/airbyte/api/utils/RequestMetadata.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/Response.java b/src/main/java/com/airbyte/api/utils/Response.java index b536e0e90..4a247a42d 100644 --- a/src/main/java/com/airbyte/api/utils/Response.java +++ b/src/main/java/com/airbyte/api/utils/Response.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/Retries.java b/src/main/java/com/airbyte/api/utils/Retries.java index 142a56cbb..7f12afdfc 100644 --- a/src/main/java/com/airbyte/api/utils/Retries.java +++ b/src/main/java/com/airbyte/api/utils/Retries.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; @@ -10,10 +10,7 @@ import java.net.ConnectException; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; -import java.util.ArrayList; import java.util.List; -import java.util.Optional; - public class Retries { diff --git a/src/main/java/com/airbyte/api/utils/RetryConfig.java b/src/main/java/com/airbyte/api/utils/RetryConfig.java index e228a1b0e..3aecc9baa 100644 --- a/src/main/java/com/airbyte/api/utils/RetryConfig.java +++ b/src/main/java/com/airbyte/api/utils/RetryConfig.java @@ -1,12 +1,10 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; import java.util.Optional; -import com.airbyte.api.utils.Utils; - public class RetryConfig { diff --git a/src/main/java/com/airbyte/api/utils/Security.java b/src/main/java/com/airbyte/api/utils/Security.java index c23d41491..3a0370fea 100644 --- a/src/main/java/com/airbyte/api/utils/Security.java +++ b/src/main/java/com/airbyte/api/utils/Security.java @@ -1,14 +1,16 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; - import java.lang.reflect.Field; +import java.nio.charset.StandardCharsets; +import java.util.Arrays; import java.util.Base64; - -import org.apache.http.message.BasicNameValuePair; +import java.util.Optional; +import java.util.regex.Pattern; +import java.util.stream.Stream; public final class Security { @@ -110,7 +112,7 @@ private static void parseSecuritySchemeValue(HTTPRequest request, SecurityMetada break; case "query": request.addQueryParam( - securityMetadata.name, Utils.valToString(value)); + securityMetadata.name, Utils.valToString(value), false); break; case "cookie": request.addHeader("Cookie", @@ -125,7 +127,9 @@ private static void parseSecuritySchemeValue(HTTPRequest request, SecurityMetada request.addHeader(securityMetadata.name, Utils.prefixBearer(Utils.valToString(value))); break; case "oauth2": - request.addHeader(securityMetadata.name, Utils.prefixBearer(Utils.valToString(value))); + if (!"client_credentials".equals(schemeMetadata.subtype)) { + request.addHeader(securityMetadata.name, Utils.prefixBearer(Utils.valToString(value))); + } break; case "http": switch (schemeMetadata.subtype) { @@ -174,6 +178,65 @@ private static void parseBasicAuthScheme(HTTPRequest requestBuilder, Object sche } requestBuilder.addHeader("Authorization", - "Basic " + Base64.getEncoder().encodeToString(String.format("%s:%s", username, password).getBytes())); + "Basic " + + Base64.getEncoder() + .encodeToString(String.format("%s:%s", username, password) + .getBytes(StandardCharsets.UTF_8))); + } + + public static Stream findFieldsWhereMetadataContainsRegexes(Object o, String... regexes) { + Field[] fields = o.getClass().getDeclaredFields(); + return Arrays.stream(fields) // + .filter(f -> { + SpeakeasyMetadata[] anns = f.getDeclaredAnnotationsByType(SpeakeasyMetadata.class); + if (anns == null) { + return false; + } + return Arrays // + .stream(regexes) // + .allMatch(regex -> matches(anns, regex)); + }); + } + + public static Optional findStringValueWhereMetadataContainsRegexes(Object o, String... regexes) { + return findValueWhereMetadataContainsRegexes(o, regexes).map(x -> (String) x); + } + + public static Optional findStringValueWhereMetadataNameIs(Object o, String name) { + return Security.findStringValueWhereMetadataContainsRegexes(o, "\\bname=" + name + "\\b"); + } + + public static Optional findValueWhereMetadataContainsRegexes(Object o, String... regexes) { + return findFieldsWhereMetadataContainsRegexes(o, regexes) + .flatMap(f -> { + f.setAccessible(true); + Object result; + try { + result = f.get(o); + } catch (IllegalArgumentException | IllegalAccessException e) { + throw new RuntimeException(e); + } + if (result instanceof Optional) { + @SuppressWarnings("unchecked") + Optional r = (Optional) result; + if (r.isEmpty()) { + return Stream.empty(); + } else { + return Stream.of(r.get()); + } + } else { + return Stream.of(result); + } + }).findAny(); + } + + private static boolean matches(SpeakeasyMetadata[] anns, String regex) { + Pattern pattern = Pattern.compile(regex); + for (SpeakeasyMetadata ann : anns) { + if (pattern.matcher(ann.value()).find()) { + return true; + } + } + return false; } } \ No newline at end of file diff --git a/src/main/java/com/airbyte/api/utils/SecurityMetadata.java b/src/main/java/com/airbyte/api/utils/SecurityMetadata.java index b380f8360..56a723ea2 100644 --- a/src/main/java/com/airbyte/api/utils/SecurityMetadata.java +++ b/src/main/java/com/airbyte/api/utils/SecurityMetadata.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/SerializedBody.java b/src/main/java/com/airbyte/api/utils/SerializedBody.java index f58b76224..6f2cc7197 100644 --- a/src/main/java/com/airbyte/api/utils/SerializedBody.java +++ b/src/main/java/com/airbyte/api/utils/SerializedBody.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/SessionManager.java b/src/main/java/com/airbyte/api/utils/SessionManager.java new file mode 100644 index 000000000..7d03752e3 --- /dev/null +++ b/src/main/java/com/airbyte/api/utils/SessionManager.java @@ -0,0 +1,178 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.utils; + +import java.io.IOException; +import java.io.InputStream; +import java.net.HttpURLConnection; +import java.net.URI; +import java.net.URISyntaxException; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.time.OffsetDateTime; +import java.time.temporal.ChronoUnit; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Function; +import java.util.stream.Collectors; + +import com.airbyte.api.models.errors.AuthException; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public final class SessionManager { + + // VisibleForTesting + public static final int REFRESH_BEFORE_EXPIRY_SECONDS = 60; + + private final Map> sessions = new HashMap<>(); + + public interface HasSessionKey { + String sessionKey(); + } + + public final static class Session { + private final T credentials; + private final Optional token; + private final List scopes; + private final Optional expiresAt; + + public Session(T credentials, Optional token, List scopes, Optional expiresAt) { + this.credentials = credentials; + this.token = token; + this.scopes = scopes; + this.expiresAt = expiresAt; + } + + public T credentials() { + return credentials; + } + + public Optional token() { + return token; + } + + public List scopes() { + return scopes; + } + + public Optional expiresAt() { + return expiresAt; + } + + } + + public Session getSession(T credentials, Optional> scopes, Function, Session> tokenProvider ) { + final String sessionKey = credentials.sessionKey(); + + Optional> currentSession = Optional.ofNullable(sessions.get(sessionKey)); + final Session session; + if (shouldCreateNewSession(currentSession, scopes)) { + // note that we accumulate scopes. For example if a session existed + // for scope 'read' and this request requires scope 'write' then we + // request a new token for `read, write`. + + // TODO it may be better to rather make `sessions` a Map> + // where the none of the Session scope lists fully contains another in the same + // map value. + // This would ensure that an operation is always called with a token with the + // minimum + // permissions required and also would ensure that a token request is not + // rejected + // because of disallowed scope combinations (yet to see that in the wild). + // For the example above with `read` and `write` scoped requests we would get a + // token + // for `read` scope, and then get a token for `write` scope and store both + // tokens in separate + // Session objects in the map value list for the credential pair. + + List accumulatedScopes = accumulateScopes(scopes, currentSession); + session = tokenProvider.apply(accumulatedScopes); + sessions.put(sessionKey, session); + } else { + session = currentSession.get(); + } + return session; + } + + // VisibleForTesting + public static boolean shouldCreateNewSession(Optional> currentSession, Optional> oauthScopes) { + return !currentSession.isPresent() // + || !hasRequiredScopes(currentSession.get().scopes, oauthScopes) // + || hasTokenExpired(currentSession.get().expiresAt, OffsetDateTime.now()); + } + + + private static < T extends HasSessionKey> List accumulateScopes(Optional> requiredScopes, Optional> session) { + if (session.isPresent()) { + List scopes = new ArrayList<>(requiredScopes.orElse(Collections.emptyList())); + scopes.addAll(session.get().scopes); + return scopes.stream() // + .distinct() // + .collect(Collectors.toList()); + } else { + return requiredScopes.orElse(Collections.emptyList()); + } + } + + // VisibleForTesting + public static boolean hasTokenExpired(Optional expiresAt, OffsetDateTime now) { + return expiresAt.isEmpty() // + || now.plusSeconds(REFRESH_BEFORE_EXPIRY_SECONDS).isAfter(expiresAt.get()); + } + + // VisibleForTesting + public static boolean hasRequiredScopes(List sessionScopes, Optional> requiredScopes) { + return sessionScopes.containsAll(requiredScopes.orElse(Collections.emptyList())); + } + + public void remove(String sessionKey) { + sessions.remove(sessionKey); + } + + public static Session requestOAuth2Token(HTTPClient client, T credentials, List scopes, + Map payload, URI tokenUri) { + try { + HttpRequest request = HttpRequest // + .newBuilder(tokenUri) // + .header("Content-Type", "application/x-www-form-urlencoded") // + .POST(RequestBody.serializeFormData(payload).body()) // + .build(); + HttpResponse response = client.send(request); + if (response.statusCode() != HttpURLConnection.HTTP_OK) { + String responseBody = Utils.toUtf8AndClose(response.body()); + throw new AuthException(response.statusCode(), + "Unexpected status code " + response.statusCode() + ": " + responseBody); + } + TokenResponse t = Utils.mapper().readValue(response.body(), TokenResponse.class); + if (!t.tokenType.orElse("").equals("Bearer")) { + throw new AuthException("Expected 'Bearer' token type but was '" + t.tokenType.orElse("") + "'"); + } + final Optional expiresAt = t.expiresInMs + .map(x -> OffsetDateTime.now().plus(x, ChronoUnit.MILLIS)); + return new Session(credentials, t.accessToken, scopes, expiresAt); + } catch (IOException | IllegalArgumentException | IllegalAccessException | InterruptedException | URISyntaxException e) { + throw new RuntimeException(e); + } + } + + final static class TokenResponse { + + @JsonProperty("access_token") + Optional accessToken; + + @JsonProperty("token_type") + Optional tokenType; + + @JsonProperty("expires_in") + Optional expiresInMs; + + } + +} diff --git a/src/main/java/com/airbyte/api/utils/SpeakeasyHTTPClient.java b/src/main/java/com/airbyte/api/utils/SpeakeasyHTTPClient.java index 141ccbd25..3e85e8169 100644 --- a/src/main/java/com/airbyte/api/utils/SpeakeasyHTTPClient.java +++ b/src/main/java/com/airbyte/api/utils/SpeakeasyHTTPClient.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/SpeakeasyMetadata.java b/src/main/java/com/airbyte/api/utils/SpeakeasyMetadata.java index a1fb837e2..c0c136025 100644 --- a/src/main/java/com/airbyte/api/utils/SpeakeasyMetadata.java +++ b/src/main/java/com/airbyte/api/utils/SpeakeasyMetadata.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/TypedObject.java b/src/main/java/com/airbyte/api/utils/TypedObject.java index 9010b7189..5457d6a9c 100644 --- a/src/main/java/com/airbyte/api/utils/TypedObject.java +++ b/src/main/java/com/airbyte/api/utils/TypedObject.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; @@ -37,7 +37,12 @@ public TypeReference typeReference() { public JsonShape shape() { return shape; } - + + @Override + public String toString() { + return String.valueOf(value); + } + public static TypedObject of(T value, JsonShape shape, TypeReference typeReference) { return new TypedObject(value, shape, typeReference); } diff --git a/src/main/java/com/airbyte/api/utils/Types.java b/src/main/java/com/airbyte/api/utils/Types.java index 7822ac36b..c1d8326f3 100644 --- a/src/main/java/com/airbyte/api/utils/Types.java +++ b/src/main/java/com/airbyte/api/utils/Types.java @@ -1,5 +1,5 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; diff --git a/src/main/java/com/airbyte/api/utils/Utf8UrlEncoder.java b/src/main/java/com/airbyte/api/utils/Utf8UrlEncoder.java new file mode 100644 index 000000000..7d3f22d26 --- /dev/null +++ b/src/main/java/com/airbyte/api/utils/Utf8UrlEncoder.java @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +package com.airbyte.api.utils; + +import java.io.CharArrayWriter; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.util.BitSet; +import java.util.Objects; + +// Internal use only +// TODO move to an internal package +public final class Utf8UrlEncoder { + + private static final BitSet DO_NOT_ENCODE_CHARS = createDoNotEncodeChars(); + private static final int CASE_DIFF = ('a' - 'A'); + + private final BitSet safeChars; + + public static final Utf8UrlEncoder ALLOW_RESERVED = new Utf8UrlEncoder(":/?#[]@!$&'()*+,;="); + public static final Utf8UrlEncoder DEFAULT = new Utf8UrlEncoder(""); + + public static Utf8UrlEncoder allowReserved(boolean allowReserved) { + return allowReserved ? ALLOW_RESERVED : DEFAULT; + } + + private Utf8UrlEncoder(String safeCharacters) { + Objects.requireNonNull(safeCharacters, "safeCharacters"); + int max = -1; + for (int i = 0; i < safeCharacters.length(); i++) { + char ch = safeCharacters.charAt(i); + max = Math.max(ch, max); + } + BitSet safeChars = new BitSet(max + 1); + for (int i = 0; i < safeCharacters.length(); i++) { + char ch = safeCharacters.charAt(i); + safeChars.set(ch); + } + this.safeChars = safeChars; + } + + public String encode(String s) { + return encode(s, StandardCharsets.UTF_8); + } + + private String encode(String s, Charset charset) { + boolean changed = false; + StringBuilder out = new StringBuilder(s.length()); + CharArrayWriter writer = new CharArrayWriter(); + + for (int i = 0; i < s.length();) { + int c = (int) s.charAt(i); + if (DO_NOT_ENCODE_CHARS.get(c) || safeChars.get(c)) { + out.append((char) c); + i++; + } else { + // convert to external encoding before hex conversion + do { + writer.write(c); + if (c >= 0xD800 && c <= 0xDBFF) { + if ((i + 1) < s.length()) { + int d = (int) s.charAt(i + 1); + if (d >= 0xDC00 && d <= 0xDFFF) { + writer.write(d); + i++; + } + } + } + i++; + } while (i < s.length() && !DO_NOT_ENCODE_CHARS.get((c = (int) s.charAt(i)))); + + writer.flush(); + String str = new String(writer.toCharArray()); + byte[] ba = str.getBytes(charset); + for (int j = 0; j < ba.length; j++) { + out.append('%'); + char ch = Character.forDigit((ba[j] >> 4) & 0xF, 16); + // converting to use uppercase letter as part of + // the hex value if ch is a letter. + if (Character.isLetter(ch)) { + ch -= CASE_DIFF; + } + out.append(ch); + ch = Character.forDigit(ba[j] & 0xF, 16); + if (Character.isLetter(ch)) { + ch -= CASE_DIFF; + } + out.append(ch); + } + writer.reset(); + changed = true; + } + } + + return (changed ? out.toString() : s); + } + + private static BitSet createDoNotEncodeChars() { + BitSet b = new BitSet(256); + for (int i = 'a'; i <= 'z'; i++) { + b.set(i); + } + for (int i = 'A'; i <= 'Z'; i++) { + b.set(i); + } + for (int i = '0'; i <= '9'; i++) { + b.set(i); + } + b.set('-'); + b.set('_'); + b.set('.'); + b.set('*'); + return b; + } +} diff --git a/src/main/java/com/airbyte/api/utils/Utils.java b/src/main/java/com/airbyte/api/utils/Utils.java index 211e381f7..042d6563b 100644 --- a/src/main/java/com/airbyte/api/utils/Utils.java +++ b/src/main/java/com/airbyte/api/utils/Utils.java @@ -1,37 +1,46 @@ /* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ package com.airbyte.api.utils; -import java.io.InputStream; import java.io.ByteArrayInputStream; +import java.io.File; import java.io.IOException; +import java.io.InputStream; +import java.io.UncheckedIOException; import java.lang.reflect.Field; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; import java.math.BigDecimal; import java.math.BigInteger; import java.net.URI; -import java.net.URLEncoder; import java.net.http.HttpClient.Version; import java.net.http.HttpHeaders; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.nio.file.StandardOpenOption; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; -import java.util.concurrent.Callable; -import java.util.function.BiPredicate; import java.util.HashMap; import java.util.Iterator; +import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Map.Entry; import java.util.NoSuchElementException; import java.util.Optional; +import java.util.concurrent.Callable; +import java.util.function.BiPredicate; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; @@ -41,8 +50,6 @@ import javax.net.ssl.SSLSession; import org.apache.commons.io.IOUtils; -import org.apache.http.NameValuePair; - import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.core.JsonProcessingException; @@ -135,7 +142,9 @@ public static String generateURL(Class type, String baseURL, String path, pathParams.put(pathParamsMetadata.name, String.join(",", - array.stream().map(v -> Utils.valToString(v)) + array.stream() + .map(v -> valToString(v)) + .map(v -> pathEncode(v, pathParamsMetadata.allowReserved)) .collect(Collectors.toList()))); break; case MAP: @@ -147,17 +156,17 @@ public static String generateURL(Class type, String baseURL, String path, pathParams.put(pathParamsMetadata.name, String.join(",", map.entrySet().stream().map(e -> { if (pathParamsMetadata.explode) { - return String.format("%s=%s", Utils.valToString(e.getKey()), - Utils.valToString(e.getValue())); + return String.format("%s=%s", pathEncode(valToString(e.getKey()), false), + pathEncode(valToString(e.getValue()), false)); } else { - return String.format("%s,%s", Utils.valToString(e.getKey()), - Utils.valToString(e.getValue())); + return String.format("%s,%s", pathEncode(valToString(e.getKey()), false), + pathEncode(valToString(e.getValue()), false)); } }).collect(Collectors.toList()))); break; case OBJECT: if (!allowIntrospection(value.getClass())) { - pathParams.put(pathParamsMetadata.name, Utils.valToString(value)); + pathParams.put(pathParamsMetadata.name, pathEncode(valToString(value), pathParamsMetadata.allowReserved)); break; } List values = new ArrayList<>(); @@ -178,17 +187,17 @@ public static String generateURL(Class type, String baseURL, String path, if (pathParamsMetadata.explode) { values.add(String.format("%s=%s", valuePathParamsMetadata.name, - Utils.valToString(val))); + pathEncode(valToString(val), valuePathParamsMetadata.allowReserved))); } else { values.add(String.format("%s,%s", valuePathParamsMetadata.name, - Utils.valToString(val))); + pathEncode(valToString(val), valuePathParamsMetadata.allowReserved))); } } pathParams.put(pathParamsMetadata.name, String.join(",", values)); break; default: - pathParams.put(pathParamsMetadata.name, Utils.valToString(value)); + pathParams.put(pathParamsMetadata.name, pathEncode(valToString(value), pathParamsMetadata.allowReserved)); break; } } @@ -197,6 +206,10 @@ public static String generateURL(Class type, String baseURL, String path, return baseURL + templateUrl(path, pathParams); } + + private static String pathEncode(String s, boolean allowReserved) { + return Utf8UrlEncoder.allowReserved(allowReserved).encode(s); + } public static boolean contentTypeMatches(String contentType, String pattern) { if (contentType == null || contentType.isBlank()) { @@ -247,7 +260,7 @@ public static SerializedBody serializeRequestBody(Object request, String request return RequestBody.serialize(request, requestField, serializationMethod, nullable); } - public static List getQueryParams(Class type, Optional params, + public static List getQueryParams(Class type, Optional params, Map>> globals) throws Exception { if (params.isEmpty()) { return Collections.emptyList(); @@ -256,7 +269,7 @@ public static List getQueryParams(Class typ } } - public static List getQueryParams(Class type, JsonNullable params, + public static List getQueryParams(Class type, JsonNullable params, Map>> globals) throws Exception { if (!params.isPresent() || params.get() == null) { return Collections.emptyList(); @@ -265,7 +278,7 @@ public static List getQueryParams(Class typ } } - public static List getQueryParams(Class type, T params, + public static List getQueryParams(Class type, T params, Map>> globals) throws Exception { return QueryParameters.parseQueryParams(type, params, globals); } @@ -273,6 +286,8 @@ public static List getQueryParams(Class typ public static HTTPRequest configureSecurity(HTTPRequest request, Object security) throws Exception { return Security.configureSecurity(request, security); } + + private static final String DOLLAR_MARKER = "D9qPtyhOYzkHGu3c"; public static String templateUrl(String url, Map params) { StringBuilder sb = new StringBuilder(); @@ -285,12 +300,16 @@ public static String templateUrl(String url, Map params) { String key = match.substring(1, match.length() - 1); String value = params.get(key); if (value != null) { - m.appendReplacement(sb, value); + // note that we replace $ characters in values with a marker + // and then replace the markers at the end with the $ characters + // because the presence of dollar signs can stuff up the next + // regex find + m.appendReplacement(sb, value.replace("$", DOLLAR_MARKER)); } } m.appendTail(sb); - return sb.toString(); + return sb.toString().replace(DOLLAR_MARKER, "$"); } public static Map> getHeadersFromMetadata(Object headers, Map>> globals) throws Exception { @@ -342,10 +361,10 @@ public static Map> getHeadersFromMetadata(Object headers, M if (headerMetadata.explode) { items.add( String.format("%s=%s", valueHeaderMetadata.name, - Utils.valToString(valueFieldValue))); + valToString(valueFieldValue))); } else { items.add(valueHeaderMetadata.name); - items.add(Utils.valToString(valueFieldValue)); + items.add(valToString(valueFieldValue)); } } @@ -368,11 +387,11 @@ public static Map> getHeadersFromMetadata(Object headers, M for (Map.Entry entry : map.entrySet()) { if (headerMetadata.explode) { - items.add(String.format("%s=%s", Utils.valToString(entry.getKey()), - Utils.valToString(entry.getValue()))); + items.add(String.format("%s=%s", valToString(entry.getKey()), + valToString(entry.getValue()))); } else { - items.add(Utils.valToString(entry.getKey())); - items.add(Utils.valToString(entry.getValue())); + items.add(valToString(entry.getKey())); + items.add(valToString(entry.getValue())); } } @@ -395,7 +414,7 @@ public static Map> getHeadersFromMetadata(Object headers, M List items = new ArrayList<>(); for (Object item : array) { - items.add(Utils.valToString(item)); + items.add(valToString(item)); } if (!result.containsKey(headerMetadata.name)) { @@ -413,7 +432,7 @@ public static Map> getHeadersFromMetadata(Object headers, M } List values = result.get(headerMetadata.name); - values.add(Utils.valToString(value)); + values.add(valToString(value)); break; } } @@ -423,17 +442,16 @@ public static Map> getHeadersFromMetadata(Object headers, M } public static String valToString(Object value) { - switch (Types.getType(value.getClass())) { - case ENUM: - try { - Field field = value.getClass().getDeclaredField("value"); - field.setAccessible(true); - return String.valueOf(field.get(value)); - } catch (Exception e) { - return "ERROR_UNKNOWN_VALUE"; - } - default: - return String.valueOf(resolveOptionals(value)); + if (value.getClass().isEnum()) { + try { + Field field = value.getClass().getDeclaredField("value"); + field.setAccessible(true); + return String.valueOf(field.get(value)); + } catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException e) { + return "ERROR_UNKNOWN_VALUE"; + } + } else { + return String.valueOf(resolveOptionals(value)); } } @@ -462,16 +480,15 @@ public static Object populateGlobal(Object value, String fieldName, String param private static Map parseSerializedParams(PathParamsMetadata pathParamsMetadata, Object value) throws JsonProcessingException { Map params = new HashMap<>(); - switch (pathParamsMetadata.serialization) { case "json": ObjectMapper mapper = JSON.getMapper(); String json = mapper.writeValueAsString(value); - - params.put(pathParamsMetadata.name, URLEncoder.encode(json, StandardCharsets.UTF_8)); + params.put(pathParamsMetadata.name, pathEncode(json, pathParamsMetadata.allowReserved)); + break; + default: break; } - return params; } @@ -549,6 +566,10 @@ private static T readValue(String json, TypeReference typeReference) thro return JSON.getMapper().readValue(json, typeReference); } + public static byte[] extractByteArrayFromBody(HttpResponse response) throws IOException { + return toByteArrayAndClose(response.body()); + } + public static byte[] toByteArrayAndClose(InputStream in) throws IOException { try { return IOUtils.toByteArray(in); @@ -955,7 +976,7 @@ public static final class HttpResponseCached implements HttpResponse response) throws IOException { this.response = response; - this.bytes = Utils.toByteArrayAndClose(response.body()); + this.bytes = toByteArrayAndClose(response.body()); } public String bodyAsUtf8() { @@ -1023,4 +1044,162 @@ public static String bytesToLowerCaseHex(byte[] bytes) { } return new String(hexChars); } + + @SuppressWarnings("unchecked") + public static String discriminatorToString(Object o) { + // expects o to be either an Optional, Enum (with a String value() method) + // or a String value + Class cls = o.getClass(); + if (cls.equals(Optional.class)) { + Optional a = (Optional) o; + return a.map(x -> discriminatorToString(x)).orElse(null); + } else if (cls.isEnum()) { + try { + Method m = cls.getMethod("value"); + return (String) m.invoke(o); + } catch (NoSuchMethodException | SecurityException | IllegalAccessException | IllegalArgumentException + | InvocationTargetException e) { + throw new RuntimeException(e); + } + } else { + return (String) o; + } + } + + public static void recordTest(String id) { + try { + new File("build").mkdir(); + Files.writeString(Paths.get("build/test-javav2-record.txt"), id + "\n", StandardOpenOption.CREATE, + StandardOpenOption.APPEND); + } catch (IOException e) { + throw new UncheckedIOException(e); + } + } + + /** + * Returns an equivalent url with query parameters sorted by name. Sort is + * stable in that parameters with the same name will not be reordered. + * + * @param url input + * @return url with query parameters sorted by name + */ + public static String sortQueryParameters(String url) { + if (url == null || url.isBlank()) { + return ""; + } + String[] parts = url.split("\\?"); + if (parts.length == 1) { + return url; + } + String query = parts[1]; + String[] params = query.split("&"); + sortByDelimitedKey(params, "="); + return parts[0] + "?" + Arrays.stream(params).collect(Collectors.joining("&")); + } + + public static Object sortSerializedMaps(Object input, String regex, String delim) { + if (input == null) { + return input; + } else if (input instanceof String) { + return sortMapString((String) input, regex, delim); + } else if (input.getClass().isArray()) { + Object[] a = (Object[]) input; + String[] b = new String[a.length]; + for (int i = 0; i < a.length; i++) { + if (!(a[i] instanceof String)) { + throw new IllegalArgumentException("expected array item type of String, found " + a[i]); + } + b[i] = sortMapString((String) a[i], regex, delim); + } + return b; + } else if (input instanceof Map) { + @SuppressWarnings("unchecked") + Map a = (Map) input; + Map b = new LinkedHashMap<>(); + for (Entry entry: a.entrySet()) { + if (!(entry.getKey() instanceof String)) { + throw new IllegalArgumentException("expected map key type of String, found " + entry.getKey()); + } + if (!(entry.getValue() instanceof String)) { + throw new IllegalArgumentException("expected map value type of String, found " + entry.getValue()); + } + b.put((String) entry.getKey(), sortMapString((String) entry.getValue(), regex, delim)); + } + return b; + } else { + throw new IllegalArgumentException("unexpected type: " + input.getClass()); + } + } + + private static String sortMapString(String input, String regex, String delim) { + return Pattern.compile(regex).matcher(input).replaceAll(m -> { + String escapedDelim = Pattern.quote(delim); + String result = m.group(); + for (int i = 1; i <= m.groupCount(); i++) { + final String match = m.group(i); + String[] pairs; + if (match.contains("=")) { + pairs = match.split(escapedDelim); + sortByDelimitedKey(pairs, "="); + } else { + String[] values = match.split(escapedDelim); + if (values.length == 1) { + pairs = values; + } else { + pairs = new String[values.length / 2]; + for (int j = 0; j < values.length; j += 2) { + pairs[j / 2] = values[j] + delim + values[j + 1]; + } + } + sortByDelimitedKey(pairs, delim); + } + String joined = Arrays.stream(pairs).collect(Collectors.joining(delim)); + result = result.replace(m.group(i), joined); + } + return result; + }); + } + + private static void sortByDelimitedKey(String[] array, String delim) { + Arrays.sort(array, (a, b) -> { + String escapedDelim = Pattern.quote(delim); + String aKey = a.split(escapedDelim)[0]; + String bKey = b.split(escapedDelim)[0]; + return aKey.compareTo(bKey); + }); + } + + public static boolean isPresentAndNotNull(Optional x) { + return x.isPresent(); + } + + public static boolean isPresentAndNotNull(JsonNullable x) { + return x.isPresent() && x.get() != null; + } + + public static void setSseSentinel(Object o, String value) { + if (o == null || value.isBlank()) { + return; + } else { + try { + Field field = o.getClass().getDeclaredField("_eventSentinel"); + field.setAccessible(true); + field.set(o, Optional.of(value)); + } catch (NoSuchFieldException | SecurityException | IllegalArgumentException | IllegalAccessException e) { + // ignore + } + } + } + + public static String sessionKey(String... items) { + try { + MessageDigest md = MessageDigest.getInstance("MD5"); + String input = Arrays.stream(items).collect(Collectors.joining(":")); + byte[] bytes = md.digest(input.getBytes(StandardCharsets.UTF_8)); + return Utils.bytesToLowerCaseHex(bytes); + } catch (NoSuchAlgorithmException e) { + // not expected, MD5 always available + throw new RuntimeException(e); + } + } }